Large Language Model as Token Compressor and Decompressor
Not on the map. Why?
Abstract (arXiv)
In this paper, we study whether an off-the-shelf LLM can be adapted into a discrete, variable-length token compressor and decompressor for long-context processing. To this end, we design a self-expressive autoencoding framework that fine-tunes a pretrained LLM with lightweight LoRA adapters to map long texts into compact sequences of learned latent codes, termed Z-tokens, and to decode them back into natural language or task outputs. The resulting representation is content-adaptive: less predictable or information-dense segments can receive more Z-tokens, while redundant regions can be represented more compactly through a budget-aware length regularizer. Our method is evaluated on long-context datasets such as Wikipedia, CNN/DailyMail, HotpotQA, and QuALITY, showing that it preserves reconstruction quality and downstream performance while reducing effective context length, generation-stage memory usage, and end-to-end latency. This simple design supports both direct decoding from compressed contexts and autoregressive generation in the Z-token space, providing a practical interface for efficient long-context inference.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 48 of its 70 references that are in the map. First posted on arXiv 26 Mar 2026.
Builds on
48 of 70 references.
References · 48
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
36 more
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 185
- 2021Learned Token Pruning for Transformerscited by 138
- 2018Fast Decoding in Sequence Models using Discrete Latent Variablescited by 103
- 2024Long Context Compression with Activation Beaconcited by 101
- 2022Transformer Tracking with Cyclic Shifting Window Attentioncited by 75
- 2023Compact Transformer Tracker with Correlative Masked Modelingcited by 50
- 2024500xCompressor: Generalized Prompt Compression for Large Language Modelscited by 45
- 2024AIM: Adaptive Inference of Multi-Modal LLMs via Token Merging and Pruningcited by 43
- 2025OFFSET: Segmentation-based Focus Shift Revision for Composed Image Retrievalcited by 40
- 2021Cross-Modal Discrete Representation Learningcited by 35
- 2018Unsupervised Discrete Sentence Representation Learning for Interpretable Neural Dialog Generationcited by 34
- 2025Semantic-Aware Logical Reasoning via a Semiotic Frameworkcited by 32
- 2024Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMscited by 30
- 2024Coupled Mamba: Enhanced Multi-modal Fusion with Coupled State Space Modelcited by 30
- 2025SF2T: Self-supervised Fragment Finetuning of Video-LLMs for Fine-Grained Understandingcited by 25
- 2026Logical Phase Transitions: Understanding Collapse in LLM Logical Reasoningcited by 24
- 2018Discrete Autoencoders for Sequence Modelscited by 23
- 2025RewardMap: Tackling Sparse Rewards in Fine-grained Visual Reasoning via Multi-Stage Reinforcement Learningcited by 20
- 2024Autogenic Language Embedding for Coherent Point Trackingcited by 17
- 2025GA-S3: Comprehensive Social Network Simulation with Group Agentscited by 17
- 2025LoRA-Mixer: Coordinate Modular LoRA Experts Through Serial Attention Routingcited by 16
- 2025CATANet: Efficient Content-Aware Token Aggregation for Lightweight Image Super-Resolutioncited by 15
- 2025Detection of AI Deepfake and Fraud in Online Payments Using GAN-Based Modelscited by 14
- 2025MVP: Winning Solution to SMP Challenge 2025 Video Trackcited by 14
- 2020Discrete Latent Variable Representations for Low-Resource Text Classificationcited by 10
- 2023SciRE-Solver: Accelerating Diffusion Models Sampling by Score-integrand Solver with Recursive Differencecited by 10
- 2025EVODiff: Entropy-aware Variance Optimized Diffusion Inferencecited by 10
- 2024Discrete Semantic Tokenization for Deep CTR Predictioncited by 8
- 2022Tighter Bound Estimation for Efficient Biquadratic Optimization Over Unit Spherescited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Seeing Further and Wider: Joint Spatio-Temporal Enlargement for Micro-Video Popularity Predictioncited by 5
- 2026CurEvo: Curriculum-Guided Self-Evolution for Video Understandingcited by 3
- 2026Towards Disentangled Preference Optimization Dynamics: Suppress the Loser, Preserve the Winnercited by 1
- 2026OmniTrend: Content-Context Modeling for Scalable Social Popularity Predictioncited by 1
- 2026CurEvo: Curriculum-Guided Self-Evolution for Video Understanding29 Apr 2026
- 2026OmniTrend: Content-Context Modeling for Scalable Social Popularity Prediction29 Apr 2026
- 2026Seeing Further and Wider: Joint Spatio-Temporal Enlargement for Micro-Video Popularity Prediction22 Apr 2026
- 2026Towards Disentangled Preference Optimization Dynamics: Suppress the Loser, Preserve the Winner20 Apr 2026