MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformers
Not on the map. Why?
Abstract (arXiv)
Autoregressive transformers are spectacular models for short sequences but scale poorly to long sequences such as high-resolution images, podcasts, code, or books. We proposed Megabyte, a multi-scale decoder architecture that enables end-to-end differentiable modeling of sequences of over one million bytes. Megabyte segments sequences into patches and uses a local submodel within patches and a global model between patches. This enables sub-quadratic self-attention, much larger feedforward layers for the same compute, and improved parallelism during decoding -- unlocking better performance at reduced cost for both training and generation. Extensive experiments show that Megabyte allows byte-level models to perform competitively with subword models on long context language modeling, achieve state-of-the-art density estimation on ImageNet, and model audio from raw files. Together, these results establish the viability of tokenization-free autoregressive sequence modeling at scale.
Key facts. Cited by 164 papers in the map (data through 7 Oct 2026). Builds on 44 of its 47 references that are in the map. First posted on arXiv 12 May 2023.
Builds on
44 of 47 references.
References · 44
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
32 more
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2021HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Unitscited by 2,301
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2017Mixed Precision Trainingcited by 1,135
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2016Pixel Recurrent Neural Networkscited by 814
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 415
- 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 229
- 2018A Simple Method for Commonsense Reasoningcited by 223
- 2018Efficient Neural Audio Synthesiscited by 218
- 2017Parallel WaveNet: Fast High-Fidelity Speech Synthesiscited by 214
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2022Block-Recurrent Transformerscited by 107
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2020Shortformer: Better Language Modeling using Shorter Inputscited by 76
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
- 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
- 2022Temporal Latent Bottleneck: Synthesis of Fast and Slow Processing Mechanisms in Sequence Learningcited by 13
- 2022Subword-Delimited Downsampling for Better Character-Level Translationcited by 7
- 2023A Systematic Analysis of Vocabulary and BPE Settings for Optimal Fine-tuning of NMT: A Case Study of In-domain Translationcited by 3
Built on by
Citing papers per year: 2023: 20; 2024: 49; 2025: 47; 2026: 48.
164 papers.
Sort:
By area:
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Moshi: a speech-text foundation model for real-time dialoguecited by 536
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
- 2025On The Landscape of Spoken Language Models: A Comprehensive Surveycited by 116
- 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 113
- 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 112
- 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 105
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
38 more
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024MambaByte: Token-free Selective State Space Modelcited by 58
- 2025SuperBPE: Space Travel for Language Modelscited by 58
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
- 2024Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Modelscited by 45
- 2025Fractal Generative Modelscited by 44
- 2024SynerGen-VL: Towards Synergistic Image Understanding and Generation with Vision Experts and Token Foldingcited by 42
- 2025Over-Tokenized Transformer: Vocabulary is Generally Worth Scalingcited by 42
- 2024MYTE: Morphology-Driven Byte Encoding for Better and Fairer Multilingual Language Modelingcited by 40
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matchingcited by 40
- 2024Logits of API-Protected LLMs Leak Proprietary Informationcited by 38
- 2024VALL-E R: Robust and Efficient Zero-Shot Text-to-Speech Synthesis via Monotonic Alignmentcited by 37
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 35
- 2023AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Riskscited by 34
- 2024MusicRL: Aligning Music Generation to Human Preferencescited by 32
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
- 2024SpaceByte: Towards Deleting Tokenization from Large Language Modelingcited by 31
- 2024MAGNET: Improving the Multilingual Fairness of Language Models with Adaptive Gradient-Based Tokenizationcited by 31
- 2024Zero-Shot Tokenizer Transfercited by 30
- 2024MaLA-500: Massive Language Adaptation of Large Language Modelscited by 28
- 2025Cognitive Memory in Large Language Modelscited by 28
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 27
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
- 2024B'MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memorycited by 26
- 2023TransFace++: Rethinking the Face Recognition Paradigm with a Focus on Accuracy, Efficiency, and Securitycited by 22
- 2024Beyond Language Models: Byte Models are Digital World Simulatorscited by 21
- 2024Where is the signal in tokenization space?cited by 21
- 2024Graph-Based Retriever Captures the Long Tail of Biomedical Knowledgecited by 20
- 2024Genomic Language Models: Opportunities and Challengescited by 20
- 2024Egalitarian Language Representation in Language Models: It All Begins with Tokenizerscited by 20
- 2023Generative Models as a Complex Systems Science: How can we make sense of large language model behavior?cited by 19
- 2025Scaling Embedding Layers in Language Modelscited by 19
- 2024Understanding and Mitigating Tokenization Bias in Language Modelscited by 18
- 2025FARMER: Flow AutoRegressive Transformer over Pixelscited by 17
- 2023FIT: Far-reaching Interleaved Transformerscited by 16
- 2023Bytes Are All You Need: Transformers Operating Directly On File Bytescited by 16
- 2024PIXAR: Auto-Regressive Language Modeling in Pixel Spacecited by 16
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 16
50 most cited of 164 All 164 (JSON)
- 2026Scaling Zero-Order Pretraining through Model Sharding29 Sep 2026
- 2026ER-JEPA: Experience Replay Improves Joint-Embedding Predictive Learning in Language Models29 Sep 2026
- 2026The Price of Token Boundaries: Compression Certificates and Prediction26 Sep 2026
- 2026Structure-Guided Masked Autoencoders for Ultra-High Resolution Scientific Image Understanding25 Sep 2026
- 2026NCP-ArchPreview Technical Report: Moving towards Latent Space Language Models through Next Concept Prediction9 Sep 2026
- 2026Bitstream Action Recognition is Byte Modeling16 Aug 2026
- 2026Dynamic Multi-Byte Prediction With Hierarchical Language Models16 Aug 2026
- 2026p-Spin Glass Network Efficient Single-Batch Continual Learning14 Aug 2026
- 2026ReconSpan: Reconstruction-Guided Adaptive Latent Tokenization13 Aug 2026
- 2026Hierarchical Latent Prediction for Language Models6 Aug 2026
- 2026Kathleen Writes: Autoregressive Generation and Data Scaling Without Attention5 Aug 2026
- 2026EntropyMoE: Entropy-Aware Sparse Expert Routing for Tokenizer-Free LLMs31 Jul 2026
38 more
- 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization24 Jul 2026
- 2026Rate-Utility Frontiers for Language Encodings: Comparing Tokens, Bytes, and Pixels Under Controlled Linguistic Content17 Jul 2026
- 2026The Functionalizer: Lossless Functional Decomposition for Subword Tokenization7 Jul 2026
- 2026SUNTA: Hierarchical Video Prediction with Surprise-based Chunking2 Jul 2026
- 2026Phonemes to the Rescue: Multilingual Tokenization Based on International Phonetic Alphabet18 Jun 2026
- 2026Emergent retokenization symmetry in large language models: phenomenology and applications14 Jun 2026
- 2026TLDR: Compressing Audio Tokens for Efficient Autoregressive Text-to-Speech8 Jun 2026
- 2026Large Byte Model: Teaching Language Models About Compiled Code1 Jun 2026
- 2026Post-Boundary Bridge: Must Local Attention Go Global Between Global Layers?1 Jun 2026
- 2026Adaptive Targeted Dynamic Chunking for Tokenization-Free Hierarchical Model28 May 2026
- 2026Kronecker Embeddings: Byte-Level Structured Token Representations for Parameter-Efficient Language Models28 May 2026
- 2026Effective Context in Transformers: An Analysis of Fragmentation and Tokenization13 May 2026
- 2026The Efficiency Gap in Byte Modeling13 May 2026
- 2026BitLM: Unlocking Multi-Token Language Generation with Bitwise Continuous Diffusion12 May 2026
- 2026Language Models Without a Trainable Input Embedding Table: Learning from Fixed Minimal Binary Token Codes10 May 2026
- 2026Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models10 May 2026
- 2026Fast Byte Latent Transformer8 May 2026
- 2026Kathleen: Oscillator-Based Byte-Level Text Classification Without Tokenization or Attention9 Apr 2026
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interface8 Apr 2026
- 2026KazByte: Adapting Qwen models to Kazakh via Byte-level Adapter29 Mar 2026
- 2026DASH: Dynamic Audio-Driven Semantic Chunking for Efficient Omnimodal Token Compression15 Mar 2026
- 2026Patient-Level Multimodal Question Answering from Multi-Site Auscultation Recordings9 Mar 2026
- 2026Benchmarking Language Modeling for Lossless Compression of Full-Fidelity Audio9 Mar 2026
- 2026ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizer3 Mar 2026
- 2026GeneZip: Region-Aware Compression for Long Context DNA Modeling19 Feb 2026
- 2026Image Generation with a Sphere Encoder16 Feb 2026
- 2026Position Encoding with Random Float Sampling Enhances Length Generalization of Transformers15 Feb 2026
- 2026You Can Learn Tokenization End-to-End with Reinforcement Learning15 Feb 2026
- 2026SpiralFormer: Looped Transformers Can Learn Hierarchical Dependencies via Multi-Resolution Recursion12 Feb 2026
- 2026Next Concept Prediction in Discrete Latent Space Leads to Stronger Language Models9 Feb 2026
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2026Rethinking Genomic Modeling Through Optical Character Recognition2 Feb 2026
- 2026Distilling Token-Trained Models into Byte-Level Models1 Feb 2026
- 2026FBS: Modeling Native Parallel Reading inside a Transformer29 Jan 2026
- 2026ConceptMoE: Adaptive Token-to-Concept Compression for Implicit Compute Allocation29 Jan 2026
- 2026Spelling Bee Embeddings for Language Modeling25 Jan 2026
- 2025GQ-VAE: A gated quantized VAE for learning variable length tokens26 Dec 2025
- 2025PHOTON: Hierarchical Autoregressive Modeling for Lightspeed and Memory-Efficient Language Generation22 Dec 2025
50 newest of 164 All 164 (JSON)
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 27
- 2026DASH: Dynamic Audio-Driven Semantic Chunking for Efficient Omnimodal Token Compressioncited by 6
- 2025MergeDNA: Context-aware Genome Modeling with Dynamic Tokenization through Token Mergingcited by 2
- 2026Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Modelscited by 1
- 2025Modality Agnostic Efficient Long Range Encodercited by 0
- 2025PHOTON: Hierarchical Autoregressive Modeling for Lightspeed and Memory-Efficient Language Generationcited by 0
- 2026Post-Boundary Bridge: Must Local Attention Go Global Between Global Layers?cited by 0
- 2026TLDR: Compressing Audio Tokens for Efficient Autoregressive Text-to-Speechcited by 0
- 2026TLDR: Compressing Audio Tokens for Efficient Autoregressive Text-to-Speech8 Jun 2026
- 2026Post-Boundary Bridge: Must Local Attention Go Global Between Global Layers?1 Jun 2026
- 2026Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models10 May 2026
- 2026DASH: Dynamic Audio-Driven Semantic Chunking for Efficient Omnimodal Token Compression15 Mar 2026
- 2025PHOTON: Hierarchical Autoregressive Modeling for Lightspeed and Memory-Efficient Language Generation22 Dec 2025
- 2025MergeDNA: Context-aware Genome Modeling with Dynamic Tokenization through Token Merging17 Nov 2025
- 2025Modality Agnostic Efficient Long Range Encoder25 Jul 2025
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Models28 Oct 2024
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inference4 Jun 2024
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024MambaByte: Token-free Selective State Space Modelcited by 58
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insightscited by 13
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insights6 Oct 2025
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024MambaByte: Token-free Selective State Space Model24 Jan 2024
- 2024MusicRL: Aligning Music Generation to Human Preferencescited by 32
- 2024MusicRL: Aligning Music Generation to Human Preferences6 Feb 2024
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Code Llama: Open Foundation Models for Code24 Aug 2023
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2024Moshi: a speech-text foundation model for real-time dialoguecited by 536
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
- 2025On The Landscape of Spoken Language Models: A Comprehensive Surveycited by 116
- 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 113
- 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 112
- 2023Tokenizer Choice For LLM Training: Negligible or Crucial?cited by 105
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
- 2025SuperBPE: Space Travel for Language Modelscited by 58
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
12 most cited of 142 All 142 (JSON)
- 2026Scaling Zero-Order Pretraining through Model Sharding29 Sep 2026
- 2026ER-JEPA: Experience Replay Improves Joint-Embedding Predictive Learning in Language Models29 Sep 2026
- 2026The Price of Token Boundaries: Compression Certificates and Prediction26 Sep 2026
- 2026Structure-Guided Masked Autoencoders for Ultra-High Resolution Scientific Image Understanding25 Sep 2026
- 2026NCP-ArchPreview Technical Report: Moving towards Latent Space Language Models through Next Concept Prediction9 Sep 2026
- 2026Bitstream Action Recognition is Byte Modeling16 Aug 2026
- 2026Dynamic Multi-Byte Prediction With Hierarchical Language Models16 Aug 2026
- 2026p-Spin Glass Network Efficient Single-Batch Continual Learning14 Aug 2026
- 2026ReconSpan: Reconstruction-Guided Adaptive Latent Tokenization13 Aug 2026
- 2026Hierarchical Latent Prediction for Language Models6 Aug 2026
- 2026Kathleen Writes: Autoregressive Generation and Data Scaling Without Attention5 Aug 2026
- 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization24 Jul 2026
12 newest of 142 All 142 (JSON)