paper-with-me

Papers

Cache & Distil: Optimising API Calls to Large Language Models

2023-10-20 · Guillem Ramírez, Matthias Lindemann, Alexandra Birch, Ivan Titov

Large-scale deployment of generative AI tools often depends on costly API calls to a Large Language Model (LLM) to fulfil user queries. To curtail the frequency of these calls, one can employ a smaller language model -- a student -- which is continuously trained on the responses of the LLM. This student gradually gains proficiency in independently handling an increasing number of user requests, a process we term neural caching. The crucial element in neural caching is a policy that decides which requests should be processed by the student alone and which should be redirected to the LLM, subsequently aiding the student's learning. In this study, we focus on classification tasks, and we consider a range of classic active learning-based selection criteria as the policy. Our experiments suggest that Margin Sampling and Query by Committee bring consistent benefits across tasks and budgets.

📄 PDF Abstract BibTeX arXiv:2310.13561

Code (0)

등록된 구현이 없습니다.

Tasks

Active LearningLanguage ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

AgenticCache: Cache-Driven Asynchronous Planning for Embodied AI Agents

2026-04-27 · Hojoon Kim, Yuheng Wu, Thierry Tambe arxiv

Embodied AI agents increasingly rely on large language models (LLMs) for planning, yet per-step LLM calls impose severe latency and cost. In this paper, we show that embodied tasks exhibit strong plan locality, where the…

GPT Semantic Cache: Reducing LLM Costs and Latency via Semantic Embedding Caching

2024-11-08 · Sajal Regmi, Chetan Phakami Pun

Large Language Models (LLMs), such as GPT, have revolutionized artificial intelligence by enabling nuanced understanding and generation of human-like text across a wide range of applications. However, the high computatio…

Natural Language UnderstandingRetrieval

LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Caching

2024-06-10 · Simranjit Singh, Michael Fore, Andreas Karatzas, Chaehong Lee 외

As Large Language Models (LLMs) broaden their capabilities to manage thousands of API calls, they are confronted with complex data operations across vast datasets with significant overhead to the underlying system. In th…

Fast Inference for Augmented Large Language Models

2024-10-23 · Rana Shahout, Cong Liang, Shiji Xin, Qianru Lao 외

Augmented Large Language Models (LLMs) enhance the capabilities of standalone LLMs by integrating external data sources through API calls. In interactive LLM applications, efficient scheduling is crucial for maintaining …

Scheduling

KaVa: Latent Reasoning via Compressed KV-Cache Distillation

2025-10-02 · Anna Kuzina, Maciej Pioro, Paul N. Whatmough, Babak Ehteshami Bejnordi arxiv

Large Language Models (LLMs) excel at multi-step reasoning problems with explicit chain-of-thought (CoT), but verbose traces incur significant computational costs and memory overhead, and often carry redundant, stylistic…