# T-FREE: Tokenizer-Free Generative LLMs via Sparse Representations for Memory-Efficient Embeddings

- **ID:** 582
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2406.19223
- **Authors:** Björn Deiseroth, Manuel Brack, Patrick Schramowski, Kristian Kersting, Samuel Weinbach
- **Venue:** arXiv / Aleph Alpha / TU Darmstadt / hessian.AI / DFKI
- **Published:** 2024
- **License:** CC BY-NC-SA 4.0
- **License family:** Non-commercial (auto-classified)
- **Tags:** t-free, tokenizer-free, trigrams, embeddings, aleph-alpha, multilingual, fertility, hash-embeddings
- **Topics:** tokenization, embeddings, multilingual LLMs
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/582

## Summary

T-FREE splits on whitespace/digits/specials, represents each word as n×m hashed character triplets into a v-entry embedding (best v=8k, m=10 at 1B), and trains a multi-label BCE head. Cuts embedding+head params >85% vs a 64k Unigram baseline (1B: 0.84B vs 1.07B params) at competitive 18-benchmark scores. Duplicate-token rate 0% vs 15–35% for BPE/Unigram. Fertility closer to 1.0 across EN/DE/RU/VI/AR than English-centric tokenizers. 3B English→German continual pretrain gains ~5 pp on German HellaSwag/ARC while the Unigram baseline barely moves. Code https://github.com/Aleph-Alpha/trigrams.

## Attributes

- **Purpose:** Drop the subword vocabulary and embed whole words as sparse hashed character-trigram patterns so embedding/head matrices can shrink
- **Scale:** 1B ablations 50k steps, seq 2k, batch 1024. 3B: 90k SlimPajama then 20k German Occiglot (20% English replay), seq 4k. Dictionary ~80k English + 20k German words. Fertility on Wikipedia dumps.
- **Time period:** 2024-06-27 (arXiv 2406.19223 v1); last revised 2025-01-07 (v2). HF paper publishedAt 2024-06-27.

## From the source (fetched 2026-10-03)

- **Published:** Jun 27, 2024 (arXiv)
- **Last revised:** Jan 7, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.AI, cs.LG (arXiv)
- **Citations:** 11 (Semantic Scholar)
- **References:** 25 (Semantic Scholar)
- **Published in:** Conference on Empirical Methods in Natural Language Processing (Semantic Scholar)

## Abstract

Tokenizers are crucial for encoding information in Large Language Models, but their development has recently stagnated, and they contain inherent weaknesses. Major limitations include computational overhead, ineffective vocabulary use, and unnecessarily large embedding and head layers. Additionally, their performance is biased towards a reference corpus, leading to reduced effectiveness for underrepresented languages. To remedy these issues, we propose T-FREE, which directly embeds words through sparse activation patterns over character triplets, and does not require a reference corpus. T-FREE inherently exploits morphological similarities and allows for strong compression of embedding layers. In our exhaustive experimental evaluation, we achieve competitive downstream performance with a parameter reduction of more than 85% on these layers. Further, T-FREE shows significant improvements in cross-lingual transfer learning.

## Research notes

- Primary: arxiv abs (cs.CL; also cs.AI, cs.LG). License CC BY-NC-SA 4.0 on HTML at check. Deiseroth/Brack/Schramowski/Kersting Aleph Alpha @ IPAI / TU Darmstadt / hessian.AI / DFKI; Weinbach Aleph Alpha. Code on HTML https://github.com/Aleph-Alpha/trigrams (HF githubRepo; now Aleph-Alpha-Research/trigrams, 60 stars at check; GitHub license NOASSERTION). HF paper page 11 upvotes; unofficial linked model krystv/neurolex-creative-name-generator not copied into hf_* fields. Discord posted PDF. Trains on public SlimPajama/Occiglot Fineweb rather than a new hosted corpus, so no datasets_local row.

## Cites, within this collection

- [Charformer: Fast Character Transformers via Gradient-based Subword Tokenization](https://papers.projxon.ai/entries/569) (paper 2021, #569)

## Similar entries

- [Cohere Embed 5 (Pro and Fast embeddings family)](https://papers.projxon.ai/entries/816) (model, #816)
- [Combinatorial BPE Tokenizer (factored variation/prefix/core/suffix embeddings)](https://papers.projxon.ai/entries/1054) (code, #1054)
- [Tokenization: A Survey for Modern NLP](https://papers.projxon.ai/entries/818) (paper, #818)
- [The Embedder's Dilemma: LLMs Are Better, but at What Cost?](https://papers.projxon.ai/entries/892) (paper, #892)
- [deepswe-clm-train-embeddings-8k (DeepSWE CLM/PRM training embeddings)](https://papers.projxon.ai/entries/1023) (dataset, #1023)
- [topk-embed-v1 (TopK multimodal late-interaction retriever)](https://papers.projxon.ai/entries/809) (model, #809)
