ARC-Encoder: learning compressed text representations for large language models
Hippolyte Pilchen, Edouard Grave, Patrick Perez
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Efficient LLM Inference · Type: new method · Keywords: context compression, LLM inference efficiency, portable encoder, continuous representations, low-rank adaptation
Areas: Long Context › Long-context mechanisms › Context compression; Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Memory and Reasoning
Summary
ARC-Encoder is a portable encoder that compresses context into continuous representations, reducing token embeddings and improving computational efficiency for multiple decoder LLMs.
Explained to a 5-year-old
Big computer programs called language models need to read a lot of text to answer questions. When they read a lot, they become slow and use a lot of energy. Scientists made a new helper that turns the text into smaller, simpler pieces. These pieces are like tiny pictures that hold the meaning of the words. By using fewer pieces, the model can think quicker and needs less power.
Explained to a 5-year-old, longer
Big computer brain models need to read lots of words to understand things. When they read a lot, they become slow and use a lot of electricity. Researchers wanted to make these models faster without making them less smart. They created a device that takes the long text and changes it into fewer, simpler pieces. These pieces are like tiny pictures that hold the meaning of the words. By using fewer pieces, the model can think quicker and needs less power. The device works like a magic translator that shrinks the text while keeping the ideas. It can be used with many different language models, so one device can help many. This makes it easier to run the models on small computers or on the go. The new helper also helps when you want to ask a lot of questions at once. It lets the model remember more information without slowing down. Overall, it makes big language models more friendly and efficient for everyone.
For a technical reader
ARC-Encoder is a lightweight encoder that compresses input text into a reduced set of continuous representations, typically 4-8× fewer than the original token count. It replaces the standard token embeddings in decoder-style LLMs, enabling lower memory usage and faster inference without fine-tuning the decoder. The design is based on an extensive study of training strategies and architectural choices, resulting in a flexible model that can be adapted to multiple decoder families using only small MLPs. Evaluations across in-context learning, context-window extension, and other benchmarks show that the approach maintains strong performance while improving computational efficiency. This portability and efficiency make ARC-Encoder a practical solution for deploying LLMs in resource-constrained environments.
Problem
Large language models increasingly require long contexts, leading to high inference costs. Existing context compression methods often need fine-tuning or architecture changes to the target model, which can harm its general capabilities.
Method
The approach studies training strategies and architecture choices for an encoder that produces continuous representations replacing token embeddings. It outputs a reduced number of representations (typically 4-8× fewer) and can be adapted to multiple decoder LLMs using small MLPs.
Results
The approach demonstrates strong performance across benchmarks and tasks while improving computational efficiency at inference.
Contributions
It introduces a flexible encoder that compresses context into continuous representations, studies training strategies and architecture choices, and shows it can be adapted to multiple decoder LLMs.
Practical relevance
It enables efficient, portable context compression for diverse LLMs, reducing inference costs in real-world deployments.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction