TRANSMISSION // 2612.03736v1
A compact token system for huge payment datasets
Source published
A new tokenizer breaks high-cardinality payment fields into short, fixed-length token sequences. In reported tests, this sharply reduced vocabulary size and sped up encoder training, though results come from limited experiments.

Payment records contain fields such as merchant identifiers that can have millions of distinct values. Giving every value its own model token can make training unwieldy. This preprint proposes splitting such values into short sequences of smaller tokens, then tests the approach on transaction data.
Transformer models can learn patterns from tables of records, including sequences of payment transactions. But a practical obstacle appears when a field—such as a merchant identifier—has millions of possible values. If each value gets its own token, the model needs a very large vocabulary and associated embedding and output tables. Those tables can consume substantial memory.
A paper by Ngoc Minh Tran and colleagues proposes a tokenizer designed for this problem. Instead of assigning one token to every high-cardinality value, it maps each distinct value to a number and represents that number as a fixed-length sequence of smaller tokens. The sequence can then be decoded back to the original value. This matters for structured payment data: a generated merchant identifier should correspond to a real entity, not an arbitrary string.
How the researchers tested it
The authors describe a global tokenizer built from separate tokenizers for individual fields. Low-cardinality categorical fields can still use one token per value; numerical fields can be handled directly or through bins. For high-cardinality categorical fields, the new method uses multiple tokens drawn from smaller ranges. At decoding, those pieces are recombined into a value. Occasionally, however, a combination can fall outside the field’s known range and fail to represent a valid entity.
They compared this approach with a baseline that assigns one token to each unique value. Tests covered datasets of different sizes. For decoder experiments, a Transformer predicted a cardholder’s next transaction from earlier transactions. For encoder experiments, the researchers trained otherwise identical masked-language-model encoders with the two tokenization schemes, using transaction sequences. The reported encoder tests used one training epoch; some experiments used eight H100 GPUs.
What the paper reports
In the decoder experiments, the scaled tokenizer reduced vocabulary size by about 40% to 56% across three dataset sizes. Prediction results were broadly similar to the baseline, with the scaled version sometimes slightly ahead, according to the paper’s tables. The authors also report that the smaller vocabulary allowed larger batch sizes and reduced per-epoch training time in these tests.
The encoder experiments showed a larger difference at the tested scales. On the 2-million-cardholder dataset, the paper reports a 21.1-fold training speedup and a vocabulary reduction of 99.9%. The model footprint was reported as 394 times smaller than the baseline. At 100,000 cardholders, the reported speedup was 4.68-fold and the vocabulary reduction was 99.5%.
Accuracy depended on scale and task. At 100,000 cardholders, overall masked-field accuracy was slightly higher for the baseline. At 2 million, the scaled tokenizer scored higher overall, with the largest differences on high-cardinality fields. These are results from the authors’ specific models, datasets and training setup—not evidence that the new tokenizer will improve every payment model.
The method is designed to reconstruct entities from their sub-tokens, but the paper notes that a model can generate a combination corresponding to a number outside the field’s known range. The authors say they observed such invalid predictions rarely in their test sequences and counted them as failures. Thus, the approach does not guarantee that every model prediction is valid, even though its decoding scheme can reconstruct a value exactly when the sub-token combination maps to an in-range identifier.
What remains uncertain
The results are promising as a way to reduce vocabulary-related memory demands, but the evaluation is limited. The encoder comparisons ran for a single epoch, and the paper’s reported settings do not establish how accuracy or efficiency would change with longer training, other architectures, or different transaction datasets. Nor do the experiments show that these models improve fraud detection, payment authorization, or other real-world outcomes.
This is an arXiv preprint, so it should be treated as research that has not necessarily undergone peer review. The evidence available here is the paper text; retrieval results do not independently verify its claims. The work is also presented by authors affiliated with Mastercard, a relevant context when assessing research on payment data. Independent replication and testing on additional settings would help clarify how broadly the approach applies.
- payment data
- tokenization
- transformers
- tabular machine learning
- generative AI
- high-cardinality data
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
A quantum model aims to rethink Transformer design
Source published
Shared keywords: generative ai
IdealCache plans when image and video AI should reuse its calculations
Source published
Shared keywords: generative ai
Teaching Image and Video Generators to Forget Specific Concepts
Source published
Shared keywords: generative ai
QuadML aims to make tabular machine learning easier to run—and inspect
Source published
Shared keywords: tabular machine learning
Can One Tabular Model Predict and Generate?
Source published
Shared keywords: tabular machine learning