Your Spending Needs Attention: Modeling Financial Habits with Transformers
Not on the map. Why?
Abstract (arXiv)
Predictive models play a crucial role in the financial industry, enabling risk prediction, fraud detection, and personalized recommendations, where slight changes in core model performance can result in billions of dollars in revenue or losses. While financial institutions have access to enormous amounts of user data (e.g., bank transactions, in-app events, and customer support logs), leveraging this data effectively remains challenging due to its complexity and scale. Thus, in many financial institutions, most production models follow traditional machine learning (ML) approaches by converting unstructured data into manually engineered tabular features. Conversely, other domains (e.g., natural language processing) have effectively utilized self-supervised learning (SSL) to learn rich representations from raw data, removing the need for manual feature extraction. In this paper, we investigate using transformer-based representation learning models for transaction data, hypothesizing that these models, trained on massive data, can provide a novel and powerful approach to understanding customer behavior. We propose a new method enabling the use of SSL with transaction data by adapting transformer-based models to handle both textual and structured attributes. Our approach, denoted nuFormer, includes an end-to-end fine-tuning method that integrates user embeddings with existing tabular features. Our experiments demonstrate improvements for large-scale recommendation problems at Nubank. Notably, these gains are achieved solely through enhanced representation learning rather than incorporating new data sources.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 31 Jul 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026PRAGMA: Revolut Foundation Modelcited by 0
- 2026A Foundation Model for Multimodal Event Sequences in Financial Applicationscited by 0
- 2026MINT: A Universal Zero-Shot Predictor for Transaction Datacited by 0
- 2026SAGA: Structure-Attended Generative Action Embedding Model that encodes Multi-Surface User Action Sequencescited by 0
- 2026SAGA: Structure-Attended Generative Action Embedding Model that encodes Multi-Surface User Action Sequences15 Aug 2026
- 2026MINT: A Universal Zero-Shot Predictor for Transaction Data14 Aug 2026
- 2026A Foundation Model for Multimodal Event Sequences in Financial Applications10 Jul 2026
- 2026PRAGMA: Revolut Foundation Model9 Apr 2026