MultiHashFormer: Hash-based Generative Language Models

10d ago · Global · primary source: export.arxiv.org

A new framework called MultiHashFormer enables hash-based autoregressive language generation, outperforming standard Transformer models at multiple scales while keeping the parameter cost of vocabulary expansion constant, according to a paper posted to arXiv on June 26, 2026 [1][2]. Standard language models use embedding matrices whose size grows linearly with the vocabulary, a design that inflates the parameter count as models scale [2]. Prior efforts to apply hashing for parameter efficiency were limited to encoder-only architectures because many-to-one hash collisions broke the causal chain required for autoregressive generation [2]. MultiHashFormer addresses that constraint by assigning each token a unique hash signature — a short sequence of discrete hash IDs produced by multiple independent hash functions — and then compressing that signature into a single latent vector via a Hash Encoder before passing it to a Transformer decoder [1][2]. A Hash Decoder subsequently generates the hash signature of the next token, which is mapped back to text [1][2]. The authors evaluated MultiHashFormer at the 100-million, 1-billion, and 3-billion parameter scales and report that it consistently outperforms standard Transformer language models across multiple benchmarks [1][2]. The architecture also handles multilingual vocabulary expansion without any modifications, maintaining a constant parameter footprint as new languages are added [1][2]. Transformers, first proposed in the 2017 paper “Attention Is All You Need,” have become the dominant architecture for large language models, with variants grouped into encoder-only, decoder-only, and encoder-decoder designs [5]. The decoder-only configuration underpins many of the largest generative models, including Google’s PaLM, a 540-billion-parameter dense model, and the Gemini family of multimodal models that succeeded LaMDA and PaLM 2 [3][6]. Google DeepMind’s Gemma series, which shares technology with Gemini, has progressed through several iterations, with the open-source Gemma 4 released in April 2026 [4]. The MultiHashFormer paper appeared on arXiv, the open-access e-print repository that hosts preprints across physics, computer science, mathematics, and related fields [10]. As of November 2024, arXiv was receiving roughly 24,000 new articles per month and had surpassed two million total articles by the end of 2021 [10]. The repository is moderated but does not conduct peer review [10].

research-papertool-release

Background sources we checked (10)
  • arxiv.org ↗ Language models (LMs) represent tokens using embedding matrices that scale linearly with the vocabulary size. To constrain the parameter footprint, prior work proposes hashing many tokens into a single vector within encoder-only models. While this offers parameter efficiency, man…
  • en.wikipedia.org ↗ Gemini is a family of multimodal large language models (LLMs) developed by Google DeepMind, and the successor to LaMDA and PaLM 2. Comprising Gemini Pro, Gemini Deep Think, Gemini Flash, and Gemini Flash Lite, it was announced on December 6, 2023. It powers the chatbot of the sam…
  • en.wikipedia.org ↗ Gemma is a series of source-available large language models developed by Google DeepMind. It is based on similar technologies as Gemini. The first version was released in February 2024, followed by Gemma 2 in June 2024, Gemma 3 in March 2025, and the free and open-source Gemma 4 …
  • en.wikipedia.org ↗ In deep learning, the transformer is a family of artificial neural network architectures based on the multi-head attention mechanism, in which text is converted to numerical representations called tokens, and each token is converted into a vector via lookup from a word embedding …
  • en.wikipedia.org ↗ PaLM (Pathways Language Model) is a 540 billion-parameter dense decoder-only transformer-based large language model (LLM) developed by Google AI. Researchers also trained smaller versions of PaLM (with 8 and 62 billion parameters) to test the effects of model scale.…
  • info.arxiv.org ↗ arXiv Labs - arXiv info | arXiv e-print repository Skip to content # arXiv Labs Attention arXiv Users: arXiv Labs is pausing new proposals ## What are arXiv Labs? arXiv Labs are a way for the community to contribute new, useful features to arXiv. These integrations are avail…
  • info.arxiv.org ↗ arXivLabs: Showcase - arXiv info | arXiv e-print repository ... # arXivLabs: Showcase ... arXiv is surrounded by a community of researchers and developers working at the cutting edge of information science and technology. ... While the arXiv team is focused on our core mission—pr…
  • blog.arxiv.org ↗ arXivLabs: a space for community innovation – arXiv blog arXiv has launched a new, formalized framework enabling innovative collaborations with individuals and organizations. “Members of our community want to contribute tools that enhance the arXiv experience, and we val…
  • en.wikipedia.org ↗ arXiv (pronounced as "archive"—the X represents the Greek letter chi ⟨χ⟩) is an open-access repository of electronic preprints and postprints (known as e-prints) approved for posting after moderation, but not peer reviewed. It consists of scientific papers in the fields of mathem…
  • en.wikipedia.org ↗ 14 (fourteen) is the natural number following 13 and preceding 15.…

Sources

Spot something wrong? Report an issue