InferCept: Efficient Intercept Support for Augmented Large Language Model Inference

Abstract

Large language models are increasingly integrated with external environments, tools, and agents like ChatGPT plugins to extend their capability beyond language-centric tasks. However, today’s LLM inference systems are designed for standalone LLMs. They treat each external interaction as the end of LLM generation and form a new request when the interaction finishes, causing unnecessary recomputation of already computed contexts, which accounts for 37-40% of total model forwarding time. This paper presents InferCept, the first LLM inference framework targeting augmented LLMs and supporting the efficient interception of LLM generation. InferCept minimizes the GPU resource waste caused by LLM interceptions and dedicates saved memory for serving more requests.InferCept improves the overall serving throughput by 1.6x-2x and completes 2x more requests per second compared to the state-of-the-art LLM inference systems.

Cite

Text

Abhyankar et al. "InferCept: Efficient Intercept Support for Augmented Large Language Model Inference." International Conference on Machine Learning, 2024.

Markdown

[Abhyankar et al. "InferCept: Efficient Intercept Support for Augmented Large Language Model Inference." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/abhyankar2024icml-infercept/)

BibTeX

@inproceedings{abhyankar2024icml-infercept,
  title     = {{InferCept: Efficient Intercept Support for Augmented Large Language Model Inference}},
  author    = {Abhyankar, Reyna and He, Zijian and Srivatsa, Vikranth and Zhang, Hao and Zhang, Yiying},
  booktitle = {International Conference on Machine Learning},
  year      = {2024},
  pages     = {81-95},
  volume    = {235},
  url       = {https://mlanthology.org/icml/2024/abhyankar2024icml-infercept/}
}