LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Caching
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 paral-lel platform that spans hundreds of GPT endpoints and terabytes of imagery, our method improves Copilot times by an average of 1.24 x across various LLMs and prompting techniques.
Authors
- Yanan Jian
- Dimitrios Stamoulis (ORCID: https://orcid.org/0000-0003-1682-9350)
- Ανδρέας Καρατζάς (ORCID: https://orcid.org/0000-0001-6804-135X)
- Iraklis Anagnostopoulos (ORCID: https://orcid.org/0000-0003-0985-3045)
- Chaehong Lee (ORCID: https://orcid.org/0000-0003-2280-0116)
- Longfei Shangguan (ORCID: https://orcid.org/0000-0002-1153-7087)
- Michael Fore (ORCID: https://orcid.org/0009-0001-7721-3704)
- Simranjit Singh (ORCID: https://orcid.org/0009-0000-3318-0472)
- Fuxun Yu (ORCID: https://orcid.org/0000-0002-4880-6658)
Institutions
- Microsoft (United States) (US)
- University of Pittsburgh (US)
Publication Details
- Published
- 2024-11-18
- DOI
- https://doi.org/10.1109/icecs61496.2024.10848749
- Citations
- 3
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 1.05