Source: Atto: Rethinking Compact Embedding Models (David Mezzetti, NeuML, Hugging Face community article, 2026-11-19). More than 30 models released.
What it is
A family of compact encoder models for retrieval in three styles: dense (one vector per text), sparse, and late interaction (ColBERT-style, one small vector per token, matched token to token at query time). Sizes run from an 840-parameter ColBERT model to 28 million parameter dense models. The question it asks: how much useful semantic retrieval survives at extreme parameter budgets?
Results reported (nDCG@10, average of ArguAna, NFCorpus, SciFact)
| Model | Params | Avg |
|---|---|---|
| colbert-atto-840-8d | 840 | 0.314 |
| colbert-atto-950k-128d | 950K | 0.482 |
| colbert-atto-4m-384d | 4M | 0.482 |
| atto-90k-2048d (dense) | 90K | 0.426 |
| atto-1m-4096d (dense) | 1M | 0.456 |
| atto-14m-384d (dense) | 14M | 0.489 |
| all-MiniLM-L6-v2 (reference) | 23M | 0.480 |
| atto-28m-8192d (dense) | 28M | 0.514 |
| DenseOn / LateOn teachers | 110M | 0.563 / 0.546 |
Two results stand out. An 840-parameter late-interaction model still scores 0.31, and a 950K ColBERT model matches the 4M one (it trades a 4K vocabulary for more layers). A 14M dense Atto model edges past the widely used 23M MiniLM on these three datasets.
Architecture
Not a plain Transformer. A GatedConvAttentionMixer combines depthwise convolution with global multi-head attention; a PhaseGatedMoE mixes a local and a dilated convolutional expert with parameter-free cross-scale modulation.
Vocabulary as the main lever. Vocabularies range from 250 to 30K tokens. Small vocabularies shrink the embedding table but fragment text into more tokens; hash embeddings project a larger vocabulary into fewer parameters.
Small context, wide output. The models separate contextual processing (kept compact) from the output embedding space, which can be large (up to 8,192 dimensions), with mean and max pooling. Max pooling selects salient dimensions per text, which the authors relate conceptually to late interaction.
Training. Masked language modelling on English Wikipedia, then distillation: dense and sparse from a 110M teacher on 500K MS MARCO triplets, ColBERT from a BGE-Gemma distillation set.
Tradeoffs
Parameters vs. vector size. Several of the strongest small models emit 2,048 to 8,192 dimensional vectors, so the index can cost more than the model saves.
Late interaction stores one vector per token: storage and query cost grow with document length.
English Wikipedia pretraining limits multilingual and domain coverage.
Failure modes to watch
Benchmark narrowness. Three BEIR datasets, two of them scientific; results may not carry to code, chat logs or enterprise documents.
Teacher ceiling. Distilled students inherit the teacher's blind spots.
Vocabulary fragmentation on jargon-heavy or non-English text at the smallest vocabularies.
Review checklist before adopting a tiny encoder
Evaluate on your own corpus and queries, not only BEIR.
Count total cost: model memory plus index size at your vector dimension.
For late interaction, estimate per-document storage at your average length.
Check language and domain coverage against the training data.
Keep a mid-size baseline for comparison.
Related entries
R106 txtai: vectors, SQL and a graph in one local index, from the same maintainer.
R160 AtlasKV: a very different answer to fitting knowledge into small budgets.
R166 Linger and PolyStrata: running larger models locally instead of shrinking them.