AIToday
Large Language ModelsApple Machine LearningPublished: Jul 16, 2026, 06:00 JST2 min read

Apple researchers propose CLaRa framework to compress documents for AI systems

Apple researchers propose CLaRa framework to compress documents for AI systems

Key takeaway

  • Apple researchers have developed CLaRa, a framework that compresses documents into dense vectors to improve how language models retrieve and use external knowledge.

  • By training retrieval and generation components together in a unified system, CLaRa reduces the amount of text models need to process while maintaining answer quality—a significant step toward making retrieval-augmented systems more practical for deployment.

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.

Ask the AI about this article →

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

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • DeepMind chief: frontier AI leadership is all that mattersTHE DECODER · 21m ago
  • John Deere launches AI chatbot for farmersThe Verge AI · 21m ago
  • Google Pics launches with AI image editing for WorkspaceThe Verge AI · 21m ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleAI optics stocks tumble as trade cools; AOI down 12%