Manuscript Offprint

arXiv:2611.03302

EventGPT: Next-Event Pretraining on Banking Customer Histories

Denis Burakov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A model pretrained to predict a customer's next event can estimate the probability of future events without training on their labels and provide a reusable representation for supervised downstream banking tasks. We pretrain EventGPT, a hierarchical causal transformer, by next-token maximum likelihood estimation on the public Multimodal Banking Dataset (MBD-mini: 100,224 clients, 38.8 million transactions and 66.3 million geolocation pings). Keeping one state per event, EventGPT trains in about two hours on one L4 GPU at windows up to 8,192 tokens. From its next-event distribution, with no labels, EventGPT scores five targets of the form "the client makes a transaction of a given kind for the first time next month" at ROC-AUC 0.79 to 0.92. Gradient boosting on 114 engineered features needs 10,000 to 300,000 labeled client-months to match it on four targets and stays below it on the fifth. For product prediction, frozen EventGPT embeddings score below the engineered features (mean ROC-AUC 0.787 against 0.808 over five test folds), and a rank-averaged ensemble of EventGPT, profile fields and token counts with the engineered features adds 0.014 to 0.017, of which 0.007 to 0.016 is EventGPT's own. The code and pretrained weights are released.

1 Introduction

A model pretrained to predict a customer's next event can be useful in two ways. It can answer questions about future events directly from its own predictions and give one representation per customer that supervised downstream banking tasks can reuse. EventGPT 1^{1}

1^{1}It is unrelated to EventGPT for event-camera streams [9] and to Event Stream GPT for medical records [11].

is trained by predicting each next event token of a customer's event stream. This paper describes the architecture, training recipe, and measures both uses on a public banking benchmark.

The usual starting point of modeling bank outcomes is a feature table including counts, sums and recencies computed per customer and window that is fed into a machine learning algorithm. Building the table requires business knowledge (which field is the amount, which event types to include, which windows), and that work is repeated for every new event source. Each new question also needs labels and a model of its own. When events of many kinds with different fields are combined, as in a lender's applications, repayments and account charges, there is often no obvious table to build. A pretrained event model needs neither the table nor (for questions about events) the labels.

Several financial institutions describe foundation models of this kind. Nubank's nuFormer is a flat causal decoder over customer transaction tokens [4], Revolut's PRAGMA is a masked model with separate encoders for profile state, single events and history [15], and Visa's TransactionGPT encodes the aspects of each transaction before modeling across transactions [6]. Starling Bank has announced a transactional foundation model trained on 15 billion of its transactions, to be deployed in 2027 [20]. None of these releases checkpoints or evaluates on publicly available data. Even if a checkpoint were released, however, it would be of little use to another institution: its vocabulary is the company's own event nomenclature, so each institution pretrains its own backbone (Section 8). EventGPT combines elements of existing approaches: a per-event encoder, as in PRAGMA and TransactionGPT, with the causal pretraining objective of nuFormer. It is designed for pretraining on consumer-lender product histories. Here, we train and evaluate it exclusively on publicly available data to make the results reproducible.

References (18)