TL;DR
This paper demonstrates that trainable input embedding tables in language models can be replaced with fixed minimal binary token codes without significant loss in performance, reducing parameters.
Contribution
It introduces a method to replace trainable input embeddings with fixed binary codes, showing comparable performance in large language models.
Findings
Fixed minimal binary codes achieve similar perplexity to learned embeddings.
Removing trainable input tables reduces 67.1 million parameters.
Affine-recoded codes perform comparably with slightly shorter training.
Abstract
Trainable input embedding tables are a standard component of modern language models. We ask whether they are actually necessary at the input interface. For a vocabulary of size , exact token identity requires only bits. We replace the usual trainable input embedding matrix with fixed minimal binary token codes and a zero-parameter lift to model width. In our main setting, , so , and tokens are represented by fixed 16-dimensional binary codes tiled to . We also evaluate a fully table-free variant in which codes are generated from token IDs on the fly and randomly recoded by an invertible affine transform over . Across matched 32-layer decoder-only models trained on approximately 17B tokens and evaluated over three independent training seeds, fixed minimal codes achieve…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
