CARVE speeds up the first response token in retrieval-augmented generation
In an arXiv preprint, researchers introduced CARVE, a system that reuses previously computed prompt states for retrieval-augmented generation. It uses the current query to identify pairs of retrieved passages worth processing together and adjusts the influence of reused information during generation. Across three datasets and five models, the authors report that CARVE scored 4.1 F1 points higher than CacheBlend on average while recomputing a comparable share of the prompt. In the reported tests, it was 8.71 to 62.31 times faster to produce the first token than processing the full prompt from scratch.
Why it matters
The benchmarks show how a system can reuse work on retrieved passages while preserving interactions between the passages most relevant to a query.
Sources
- OpenAI expands ChatGPT dots to Plus users worldwide
- OpenAI adds Salesforce marketing and quoting workflows to ChatGPT beta
- GitHub adds per-model Copilot token counts to its billing API
- GitHub adds account IDs to AI usage and premium request reports
- Hugging Face adds Voice Code Bench to its speech recognition leaderboard