AIToday
Large Language ModelsApple Machine LearningPublished: Jul 16, 2026, 06:00 JST

Apple researchers propose CLaRa framework to compress documents for AI systems

Apple researchers propose CLaRa framework to compress documents for AI systems

3 Key Points

  1. What happened

    Apple researchers introduced CLaRa (Continuous Latent Reasoning), a framework that compresses documents into dense vectors before feeding them to language models, reducing the length of text the model must process. The system uses a data synthesis method called SCP and trains the retrieval and generation components together using a shared language modeling loss.

  2. Why it matters

    Retrieval-augmented generation (RAG) helps language models access external knowledge, but long documents slow down processing and make it hard to optimize retrieval and generation together. CLaRa's unified approach addresses this by compressing documents while maintaining semantic richness, potentially making RAG systems more efficient for on-device deployment and practical applications.

  3. What to watch

    CLaRa achieved state-of-the-art compression and reranking performance across multiple question-answering benchmarks, even at a text compression rate of 16, outperforming existing fine-tuned baselines. The paper was accepted at the UncertaiNLP workshop at EACL 2024.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

Retrieval-augmented generation has become a standard technique for enhancing language models with external knowledge, but the approach carries two significant limitations: the need to process long document contexts slows inference, and the retrieval step and generation step are typically optimized separately rather than as a unified system. Apple's CLaRa framework addresses both constraints by compressing documents into dense vectors before they reach the language model, thereby reducing computational overhead, while also training retrieval and generation components end-to-end with shared gradients. The key innovation is the SCP data synthesis method, which creates compressed vectors that remain semantically rich enough to support high-quality question-answering—a balance that prior approaches struggled to maintain at high compression rates. By demonstrating state-of-the-art results even at a compression rate of 16, CLaRa suggests that the unified optimization approach can recover performance while significantly shrinking the effective context length, which is relevant for practitioners deploying models on-device or in resource-constrained environments where inference speed and memory footprint are critical.

FAQ
How does CLaRa compress documents?
CLaRa uses embedding-based compression and a key-preserving data synthesis framework called SCP, which is based on question-answering and paraphrase supervision, to create semantically rich and retrievable compressed vectors from longer documents.
What makes CLaRa different from other retrieval-augmented generation systems?
CLaRa performs joint end-to-end training of the reranker and generator via a single language modeling loss with gradients flowing through both modules, and theoretically aligns retrieval relevance with answer quality in a unified continuous space, addressing the disjoint optimization problem in traditional RAG.
What performance did CLaRa achieve?
CLaRa achieved state-of-the-art compression and reranking performance across multiple question-answering benchmarks, even at a text compression rate of 16, outperforming text-based fine-tuned baselines.
Apple Machine LearningRead Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleBNP Paribas picks Arista, Seagate, Astera as top AI supply-chain bets through 2027