Saved in:
Bibliographic Details
Main Author: Schmitz, Tcharlies
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.25952
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917050080821248
author Schmitz, Tcharlies
author_facet Schmitz, Tcharlies
contents This paper introduces Modular Linear Tokenization (MLT), a reversible and deterministic technique for encoding high-cardinality categorical identifiers into compact numerical vectors. Unlike traditional hashing or one-hot encodings, MLT preserves bijective mappings by leveraging modular arithmetic over finite fields and invertible linear transformations. The method offers explicit control of dimensionality and computational scalability while maintaining full reversibility, even for millions of identifiers. Experimental results on the MovieLens 20M dataset show that MLT achieves comparable predictive performance to supervised embeddings while requiring significantly fewer parameters and lower training cost. An open-source implementation of MLT is available on PyPI (https://pypi.org/project/light-mlt/) and GitHub (https://github.com/tcharliesschmitz/light-mlt).
format Preprint
id arxiv_https___arxiv_org_abs_2510_25952
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Modular Linear Tokenization (MLT)
Schmitz, Tcharlies
Machine Learning
This paper introduces Modular Linear Tokenization (MLT), a reversible and deterministic technique for encoding high-cardinality categorical identifiers into compact numerical vectors. Unlike traditional hashing or one-hot encodings, MLT preserves bijective mappings by leveraging modular arithmetic over finite fields and invertible linear transformations. The method offers explicit control of dimensionality and computational scalability while maintaining full reversibility, even for millions of identifiers. Experimental results on the MovieLens 20M dataset show that MLT achieves comparable predictive performance to supervised embeddings while requiring significantly fewer parameters and lower training cost. An open-source implementation of MLT is available on PyPI (https://pypi.org/project/light-mlt/) and GitHub (https://github.com/tcharliesschmitz/light-mlt).
title Modular Linear Tokenization (MLT)
topic Machine Learning
url https://arxiv.org/abs/2510.25952