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

Simranjit Singh, Michael Fore, Andreas Karatzas, Chaehong Lee, Yanan Jian +4 more
6/10/2024
cs.DCcs.CL

No confident code implementation found for this paper.

Abstract

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 this work, we introduce LLM-dCache to optimize data accesses by treating cache operations as callable API functions exposed to the tool-augmented agent. We grant LLMs the autonomy to manage cache decisions via prompting, seamlessly integrating with existing function-calling mechanisms. Tested on an industry-scale massively parallel platform that spans hundreds of GPT endpoints and terabytes of imagery, our method improves Copilot times by an average of 1.24x across various LLMs and prompting techniques.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{singh2024llmdcache,
  title  = {LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Caching},
  author = {Simranjit Singh and Michael Fore and Andreas Karatzas and Chaehong Lee and Yanan Jian and Longfei Shangguan and Fuxun Yu and Iraklis Anagnostopoulos and Dimitrios Stamoulis},
  year   = {2024},
  eprint = {2406.06799},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.06799v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.06799.svg)](https://codeofpaper.com/paper/2406.06799)

Discussion