
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.
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.
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.
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 →
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.
For example, today's edition would include:
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 anything about this article. Q&As are published on this page for other readers too.
Google DeepMind chief Koray Kavukcuoglu said being at the frontier of AI is the only thing that matters to the…

John Deere is testing an AI assistant called “JD” that answers farmers' questions on topics like equipment set…

Google has launched Google Pics, a new suite of creative design tools for Workspace users, built around Gemini…

OpenAI said today that it is integrating ChatGPT Health with Epic's electronic health record (EHR) system, whi…

Google is launching Google Pics, an AI-powered image creation and editing tool that will be part of Google Wor…

Google DeepMind launched agentic video understanding across Gemini 3.7 Flash, 3.6 Flash, and 3.5 Flash-Lite
