Sari la conținut
aiqbenchInformații despre AI & calcul cuantic
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre
...Se încarcă sesiunea
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre

Română · beta. Traducerea a fost făcută automat și este încă în curs de revizuire. Citește pagina în engleză

Înapoi la listă
perspectiva aiqbenchCercetare AI

analiza aiqbench

FlashBack addresses a critical bottleneck in Retrieval-Augmented Language Models (RALM) by optimizing KV cache utilization through context appending rather than prepending, achieving up to four times faster inference speeds on 7B LLMs. This modular approach maintains generation quality while significantly reducing computational costs via Low-Rank Adaption fine-tuning and specialized marking tokens. The research offers a practical pathway for deploying RALM systems in latency-sensitive applications without sacrificing accuracy.
1
Sursă care acoperăarXiv

FlashBack: Efficient Retrieval-Augmented Language Modeling for Fast Inference

arXiv·9 septembrie 2026·1 min de citit·Articolul și perspectiva sunt în engleză.

De la arXiv

Text integral

Retrieval-Augmented Language Modeling (RALM) by integrating large language models (LLM) with relevant documents from an external corpus is a proven method for enabling the LLM to generate information beyond the scope of its pre-training corpus. Previous work utilizing retrieved content by simply prepending it to the input poses a high runtime issue, which degrades the inference efficiency of the LLMs because they fail to use the Key-Value (KV) cache efficiently.

In this paper, we propose FlashBack, a modular RALM designed to improve the inference efficiency of RALM with appending context pattern while maintaining decent performance after fine-tuning by Low-Rank Adaption. FlashBack appends retrieved documents at the end of the context for efficiently utilizing the KV cache instead of prepending them. And we introduce Marking Token as two special prompt tokens for marking the boundary of the appending context during fine-tuning.

Our experiments on testing generation quality show that FlashBack can remain decent generation quality in perplexity. And the inference speed of FlashBack is up to 4×4\times faster than the prepending counterpart on a 7B LLM (Llama 2) in the runtime test. Via bypassing unnecessary re-computation, it demonstrates an advancement by achieving significantly faster inference speed, and this heightened efficiency will substantially reduce inferential cost.

Text integral sub licența deschisă a publicației · 204 cuvinte

Citește pe arXiv ↗Întreabă despre acest articol

Învață contextul

Retrieval & Prompt EngineeringLecția 3 din traseul gratuit AI Systems Architect.

Despre articol

Sursa

arXiv

Publicat

9 septembrie 2026

Timp de citire

1 min

Categorie

Cercetare AI
aiqbench
Informații despre AI & calcul cuantic© aiqbench. Toate drepturile rezervate.

Fluxuri:RSS·JSON Feed

LimbăEnglish·Românăbeta
ȘtiriAI & tehnologieCuanticAnalize
ExploreazăBenchmark-uriÎnvață
CompanieDespreÎncredereInformații legaleTermeni și condițiiPolitica de confidențialitateNotificări privind drepturile de autorȘtergerea datelorRaportează conținut

Perspectiva aiqbench, analizele, rezumatul zilnic și răspunsurile din Întreabă sunt scrise de modele AI din sursele afișate, fără revizuire editorială înainte de publicare. Pot conține erori — verifică sursa. Cum este folosit modelul →

  • Știri
  • Analize
  • Întreabă
  • Topuri
  • Cont