# EventGPT: Next-Event Pretraining on Banking Customer Histories

EventGPT predicts a bank customer's next event without labels or feature tables

Denis Burakov · arXiv · 2026-11-2

- **Problem** Banks must hand-build a feature table and collect new labels for every question and event source. Each institution also needs its own model, since released checkpoints use another company's event vocabulary.
- **Method** EventGPT is a hierarchical causal transformer that encodes each event, then predicts the next event token from the customer's history. Unlike feature tables, it uses one state per event, and its last hidden state serves as the customer embedding.
- **Results** Without any labels, its next-event probabilities reach ROC-AUC 0.79 to 0.92 on five event targets. Gradient boosting needs 10,000 to 300,000 labeled client-months to match it on four of them.

## Why feature tables and labels slow bank modeling

Building a feature table for a bank model takes business knowledge about which field holds the amount, which event types count and which windows matter. Each new event source repeats that work, because the table depends on the fields and event types of that source. Each new question also needs its own labels and its own model, so the cost grows with the number of questions.

Several financial institutions have described foundation models of this kind, including Nubank, Revolut and Visa. Even a released checkpoint would suit little other institution, because its vocabulary is one company's event nomenclature. So each institution pretrains its own backbone rather than reusing someone else's.

The authors designed it for pretraining on consumer-lender product histories.

## Predicting the next event as the pretraining task

The core idea is to train one model to predict each next event token in a customer's stream. The trained model can then answer questions about future events from its own predictions, without labels for those questions. Its last hidden state also gives one reusable vector per customer for supervised heads. A bank can therefore skip building a feature table for each new question, since the pretrained event model needs neither the table nor the labels for event questions.

The usual feature table counts, sums and recencies per customer and window, and building it takes business knowledge of which field is the amount. That work repeats for every new event source, and mixed histories such as a lender's applications, repayments and account charges often have no obvious table to build. EventGPT borrows a per-event encoder from PRAGMA and TransactionGPT, and the causal objective from nuFormer.

Over a window of n tokens, the history layers attend over about n/8 events, at cost O((n/8)^2) against O(n^2) over tokens.

Within an event, the token layers attend at linear cost O(n), and the event encoder is bidirectional because the fields of an event form a record. The history decoder then runs causally over the event vectors, and the token decoder predicts the next event from the hidden state of the previous one.

EventGPT factorizes a customer's event history into a within-event encoder, a causal history decoder over event vectors and a token decoder that predicts the next event. The last hidden state serves as the customer embedding and carries the time since the client's last activity. The same design yields zero-shot scores from the next-event distribution and embeddings that a classification head can reuse.

## Three stages that read one event at a time

The event encoder turns each event into one vector before any history is modeled. The event encoder has no separate loss, so it learns only through gradients from the next event's token-prediction loss.

![Figure 2: The three stages of EventGPT on three MBD events. Token layers read each event on its own and mean-pool it into one vector; causal event layers with…](https://refivu.com/papers/098311cf-1a7e-445a-ad5c-3e4a5e0d7c78/figures/figure-45e7ee8f316630a97ee4f87ed9d6ebb6.png?thumb=512)

**Figure 2** : The three stages of EventGPT on three MBD events. Token layers read each event on its own and mean-pool it into one vector; causal event layers with temporal RoPE model the event vectors; token layers decode the next event given the hidden state of the previous one.

[Original paper](https://arxiv.org/abs/2611.03302v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Denis Burakov · EventGPT: Next-Event Pretraining on Banking Customer Histories · Original paper figure · Extracted the figure area from page 6 of the original PDF.

The history decoder then runs six causal layers over the event vectors of one client. Its hidden state after event i reads the vectors of events 1 to i, one vector per event rather than all their tokens. It applies temporal RoPE to its queries and keys, so its positions come from elapsed time instead of event order. The history decoder therefore costs attention over roughly n/8 events, against n squared for attention over all tokens, which is why it stays cheap on long windows.

The token decoder predicts the tokens of the next event from the history decoder's hidden state. It adds the previous hidden state h\_{i-1} to each token embedding of the next event, and the first event in a window gets a zero state. Tokens of the new event never read earlier tokens directly, and reach them only through event vectors and the hidden state.

The whole model has 22.9 million parameters and a 12,828-token output vocabulary.

## Positions from elapsed time instead of event order

EventGPT sets each event's rotary position from elapsed time rather than from its index in the sequence. The history decoder reads one vector per event, and its six causal layers take positions from the time since the client's first event in the window. With Δt\_i the seconds from the client's first event in the window to event i, the rotary position is p\_i = 64 ln(1 + Δt\_i/60).

The authors take the natural logarithm because TMRoPE is linear in time, and rotary attention depends only on the difference between two positions. That difference becomes 64 ln of a ratio of elapsed times, so the spacing between events follows their time gaps.

Each time-gap bucket enters the calculation through its midpoint in seconds, derived from the dt tokens.

Temporal RoPE scores 0.781 on the official mean, compared to 0.778 for learned ordinal positions. The authors note that this gap is smaller than the difference between seeds, so they don't claim a clear advantage from it. With learned ordinal positions in place of temporal RoPE, churn falls to 0.927 and 0.928, against 0.933 with temporal RoPE.

Windows of 4,096 and 8,192 tokens don't raise EventGPT's official mean, while token counts gain 0.024 from 2,048 to 8,192 tokens.

## A customer vector that is safe to reuse

The customer embedding is the history decoder's hidden state at the as-of date, read over the events before that date. The last hidden state is the one used throughout the paper, and the authors compare it with a mean of the hidden states and a recency-weighted mean. The recency-weighted mean gives the event a events before the last weight exp(-a/32), and all three representations come from one forward pass.

That final gap is what lets the embedding reflect inactivity, so two clients with identical histories but different inactivity periods get different embeddings.

When a history is longer than the window, the window keeps the most recent events. It also keeps the \[USR\] token and the profile event at its beginning. Without this rule, the static attributes would be dropped for clients with the longest histories. The profile event goes through the same event encoder as every other event, and its four attributes also reach the classification head directly.

Late fusion appends the four field-token embeddings to the hidden state, while early fusion adds them during pretraining through a zero-initialized linear layer.

One stored embedding per client and as-of date serves ten labels, each through a small logistic regression on the frozen backbone. Reuse is safe only when the embedding at an as-of date depends only on events before that date. A future event in the embedding would inflate offline results for every task, because all task-specific heads share it.

The authors enforce this point-in-time property through the architecture and data construction.

Aligned windows also give the model each client's tenure through the gap token, which is one reason the last-month effect on churn appears.

## Scoring next events without labels

The token decoder gives the probability of the name token trx\_X at \[EVT\], and the probability of the subtype Y given that name and the time gap. The score is the product of these two probabilities, so it ranks clients without a classification head. The authors apply the same rule to the supervised scores when they compare the two.

Scored this way, the five event targets reach ROC-AUC 0.79 to 0.92 on both seeds, with the supervised head scoring 0.045 to 0.061 higher on 26/28 and 48/10. The flat decoder, scored the same way, reaches 0.78 to 0.92, so the authors read the zero-shot performance as coming from next-event training rather than the hierarchy. The Markov chain over event kinds scores 0.58 to 0.67 when it uses only the last event.

Averaging over the last ten events lifts it to 0.72 to 0.84, and multiplying by the 30-day event count gives 0.79 to 0.88. EventGPT is higher on 23/49 and 50/19, by 0.057 and 0.095, and within two standard errors on the other three targets.

For one test client, the one-step score places a first 50/19 in the top 1.1% of test rows. The client's actual next event was a 50/19, which the model ranked tenth, at 1.7%. Sampling 16 continuations per row, instead of reading one step, adds 0.010 to 0.036 to the ROC-AUC on all five targets.

![Figure 9: One test client at the as-of date 1 December 2022, drawn with a fixed seed among the 770 test rows positive for first 50/19. Top row: the client’s la…](https://refivu.com/papers/098311cf-1a7e-445a-ad5c-3e4a5e0d7c78/figures/figure-e9bf4876b9449f6369c38b91ee808462.png?thumb=512)

**Figure 9** : One test client at the as-of date 1 December 2022, drawn with a fixed seed among the 770 test rows positive for first 50/19. Top row: the client’s last ten events and its label month. Below: three of 64 months sampled from EventGPT (aligned windows, seed 42) from the same history. Right: the model’s distribution over the type of the next event, with the type that came next, and the probability of a first 50/19 in the month, from 64 sampled months and from one step, against the share of test rows that are positive.

[Original paper](https://arxiv.org/abs/2611.03302v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Across the 74 transaction kinds with at least 50 test positives, EventGPT on seed 43 is higher than Markov times events on 48 kinds. It is lower on 7 kinds and level on 19, with a median difference of 0.042. CatBoost on engineered features needs 10,000 to 300,000 labeled client-months to match the zero-shot scores on four targets. On the fifth target it stays below the zero-shot score even at 300,000 client-months.

## Product targets, the embedding and the ensemble

On the four product targets, a frozen EventGPT embedding with a logistic head scores below the engineered features. Mean ROC-AUC is 0.787 for the frozen embedding, against 0.808 for the engineered features over five test folds. Adding the profile fields and full-history token counts narrows the gap to 0.006 and 0.009 on the two seeds. Late fusion appends the input embeddings of the four profile field tokens to the hidden state and fits the head without retraining the backbone.

Early fusion instead adds the attributes during pretraining, projecting them to the model width with a zero-initialized linear layer.

The authors average the ranks of EventGPT with those of the engineered features, using equal weights fixed in advance. The ensemble scores 0.830 on both seeds, against 0.816 for the engineered features. The gain is 0.014 on each seed, and its 95% intervals exclude zero. Across five test folds, the ensemble adds 0.014 to 0.017 to the engineered features, with the largest gain on target\_2 and target\_4.

Any second model can lift a rank average, so the authors built the same ensemble without EventGPT. That ensemble, built from profile fields and token counts, adds 0.001 to 0.008 above the engineered features. The EventGPT ensemble adds 0.007 to 0.016 above it, so that remaining part is attributed to the embedding. Across the five test folds, the ensemble scores 0.824 on average, against 0.808 for the engineered features.

The authors also changed the ensemble weight, and any weight from 0.3 to 0.6 keeps the official mean within 0.002 of its peak.

CoLES, trained on the same pretraining folds, scores 0.771 and 0.772 on the official mean. EventGPT scores 0.786 on aligned windows with seed 42, with paired differences of 0.015 and 0.014 to CoLES. The authors fit the same logistic head to both models, so the comparison uses one readout for each.

## Limitations of the MBD-mini evaluation and the pretraining scope

MBD's product targets are external labels, so they need a classification head.

Zero-shot scoring predicts whether the next event is of a kind, whereas the label records whether that kind occurs at any point in the month.

Checkpoints don't transfer across banks, since token ids and amount bins are fitted to one issuer's schema. Serving a model at another institution starts with pretraining on that institution's own history, and the authors haven't tested the schema-hashing or shared-scale alternatives.

An out-of-time run pretrains on transactions before February 2022 only, using 54% of the tokens. At matched token exposure, the out-of-time model scores 0.787 against 0.793 for full-period pretraining. Churn excludes January 2023, because no client has a transaction in that month.

## Paper info

- **Authors**: Denis Burakov
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-2
- **Added**: 2026-11-4
- **Updated**: 2026-11-2
- **Version**: v1
- **arXiv**: 2611.03302
- **Category**: stat.ML · cs.LG · q-fin.ST
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.03302v1) · [PDF ↗](https://arxiv.org/pdf/2611.03302v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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.

## Quote from the paper

Denis Burakov (2026). EventGPT: Next-Event Pretraining on Banking Customer Histories. arXiv:2611.03302v1. https://arxiv.org/abs/2611.03302v1

**BibTeX**

```
@misc{burakov2026eventgpt,
  title = {{EventGPT: Next-Event Pretraining on Banking Customer Histories}},
  author = {Denis Burakov},
  year = {2026},
  eprint = {2611.03302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.03302v1}
}
```

## Other paper commentary

- [Poisson Super Learning For Survival And Competing Risks On A Discretized Time Scale](https://refivu.com/en/papers/a343ff19-63f7-4af1-a452-abd2378b8185-poisson-super-learning-for-survival-and-competing-risks.md)
- [Subpolynomial-Query Proximal Sampling Beyond Log-Concavity](https://refivu.com/en/papers/7249f1c7-6231-4bc2-9f72-7180f7d242c2-subpolynomial-query-proximal-sampling-beyond-log-concavity.md)
- [Grading the Unannotated: Insights from the WorkRB Skill Extraction Challenge at RecSys-HR 2026](https://refivu.com/en/papers/15e0e741-7545-455a-88c9-f59fb090be47-grading-the-unannotated-insights-from-the-workrb-skill.md)
- [The Look-Elsewhere Effect in Searches for New Physics: from Classical Methods to Machine Learning](https://refivu.com/en/papers/40749a33-958c-4352-8394-19db350aef80-the-look-elsewhere-effect-in-searches-for-new.md)
- [When to Trust a PFN: Detecting Harmful Shift in Tabular Foundation Models](https://refivu.com/en/papers/f72c16f8-edc3-4f30-bb5a-814b2eb7dc46-when-to-trust-a-pfn-detecting-harmful-shift.md)
- [TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination](https://refivu.com/en/papers/b18e954a-3014-44f6-b927-a1312ec35082-task-memory-beyond-text-only-memory-with-activation.md)
- [D&A: Decoupling Description and Assessment Enables VLMs as Zero-Shot Robotic Reward Models](https://refivu.com/en/papers/37e765b4-67a1-4599-9d94-84f2e4d6d3ac-d-a-decoupling-description-and-assessment-enables-vlms.md)
- [Sonar-MoE: In-Backward Expert Updates for Memory-Efficient Mixture-of-Experts Training](https://refivu.com/en/papers/850b3ff0-2f32-419d-b057-09630c278dd6-sonar-moe-in-backward-expert-updates-for-memory.md)
- [Online Class Posteriors for Interpretable and Controllable Discrete Diffusion](https://refivu.com/en/papers/773d1bb8-b53a-440f-8b38-7653a3ba5bee-online-class-posteriors-for-interpretable-and-controllable.md)
- [Seeing Through the Illusion: Test-Time Scaling for World Action Models](https://refivu.com/en/papers/acce6a4d-042b-4465-88b1-f168246c6849-seeing-through-the-illusion-test-time-scaling-for.md)
- [Safe-Ballbot: Tilt-Consistent MPC with Control Barrier Functions for Ballbot Navigation](https://refivu.com/en/papers/dd5b3378-644c-4e61-8f14-eff7412d7ce1-safe-ballbot-tilt-consistent-mpc-with-control-barrier.md)
- [VidDub: Replacement-Aware Distillation for Two-Step Video Dubbing](https://refivu.com/en/papers/55f170b8-ce30-460d-bc44-55ba4cc6eea6-viddub-replacement-aware-distillation-for-two-step-video.md)

## Terms in this paper

- [CatBoost](https://refivu.com/en/terms/3180a9554cd1-catboost)
- [ROC-AUC](https://refivu.com/en/terms/4a16e24a9f10-roc-auc)
- [Markov chain](https://refivu.com/en/terms/d4f97a999643-markov-chain)
- [PR-AUC](https://refivu.com/en/terms/e79102f9ab2c-pr-auc)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/098311cf-1a7e-445a-ad5c-3e4a5e0d7c78-eventgpt-next-event-pretraining-on-banking-customer)
