Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Interpreting Long Short-Term Memory Autoencoders: A Study on Explainable AI Using LIME
Umeå University, Faculty of Science and Technology, Department of Mathematics and Mathematical Statistics.
Umeå University, Faculty of Science and Technology, Department of Mathematics and Mathematical Statistics.
2025 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

As machine learning models become increasingly prevalent in financial applications, the need for transparency and interpretability has grown. This thesis investigates the application of Explainable Artificial Intelligence (XAI) in the context of anomaly detection within transactional data at Handelsbanken. Specifically, Long Short-Term Memory (LSTM) autoencoders are used to detect anomalies in sequential trading data, followed by the application of the Local Interpretable Model-agnostic Explanations (LIME) method to interpret the models' behaviour. The study highlights the effectiveness of LSTM networks in capturing temporal dependencies and reconstructing legitimate transaction sequences. To bridge the gap between predictive performance and interpretability, reconstruction errors from the autoencoder are leveraged as labels for the LIME explanations. Through single instance analysis, aggregated importance measures, and heatmaps, the study demonstrates how LIME can provide valuable insights into feature contributions at local and global levels. The results indicate that LIME can be a practical tool for post hoc model interpretation in financial anomaly detection, offering potential benefits for improved transparency and model trustworthiness within the banking sector.

Abstract [sv]

I takt med att maskininlärningsmodeller blir allt vanligare inom finansiella tillämpningar, ökar behovet av förståelse. Detta examensarbete undersöker användningen av förklarbar AI i samband med avvikelseidentifiering i transaktionsdata hos Handelsbanken. Specifikt används Long Short-Term Memory (LSTM) autoencoders för att identifiera avvikelser i sekventiell transaktionsdata, följt av tillämpning av metoden Local Interpretable Model-agnostic Explanation (LIME) för att tolka modellernas beteende. Studien belyser LSTM-nätverks förmåga att fånga upp anomalier och rekonstruera transaktionssekvenser. För att minska klyftan mellan prediktiv prestanda och tolkningsbarhet används rekonstruktionsfel från autoencodern som annotation för LIME-förklaringarna. Genom analys av enskilda instanser, aggregerade mått och färgdiagram visar studien hur LIME ger upphov till värdefulla insikter hos variabler på både lokal och global nivå. Resultaten indikerar att LIME kan vara ett praktiskt verktyg till att förklara modeller inom finansiell avvikelseidentifiering, med potentiella fördelar för ökad transparens och tillit till modeller inom banksektorn.

Place, publisher, year, edition, pages
2025. , p. 51
Keywords [en]
LIME, explainable AI, LSTM, anomaly detection, transactional data, autoencoder, unsupervised learning
Keywords [sv]
LIME, förklarbar AI, LSTM, avvikelseidentifiering, transaktionsdata, autoencoder, unsupervised learning
National Category
Mathematical sciences
Identifiers
URN: urn:nbn:se:umu:diva-242172OAI: oai:DiVA.org:umu-242172DiVA, id: diva2:1983831
External cooperation
Handelsbanken
Educational program
Master of Science in Engineering and Management
Supervisors
Examiners
Available from: 2025-08-07 Created: 2025-07-13 Last updated: 2025-09-10Bibliographically approved

Open Access in DiVA

medgivande(88 kB)51 downloads
File information
File name ATTACHMENT01.pdfFile size 88 kBChecksum SHA-512
6fd1af7bf1547ac310cc483a7231a67e564e996b22697985c6c02d93e4f7abfcb9c2e305a411febbb3dc3db968523cc5e9084824e37d6ecf38f9075c273bfd98
Type attachmentMimetype application/pdf
fulltext(2626 kB)144 downloads
File information
File name FULLTEXT02.pdfFile size 2626 kBChecksum SHA-512
6a154186f91a7eb8f51cf2b7c97281f088324662e8fc642448999634e4ef9af00f942398a395644ce645f9b7263099f4ea4b50d995c1d2700738917a18642be5
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Gustafsson, LinusLarby, William
By organisation
Department of Mathematics and Mathematical Statistics
Mathematical sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 180 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 796 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf