Cache fusion accelerates generation process of LLMs equipped with RAG through KV caching and selective token recomputation, thereby reducing computational costs and improving efficiency. However, existing methods primarily rely on local perspectives for token selection and lack global awareness from the user query. Utilizing this global awareness is challenging due to the high cost of obtaining context-aware query representations and the strict pipeline constraints required for efficient attention analysis. Thus, this demonstration introduces QCFuse, an innovative KV cache fusion system centered on the user query. QCFuse leverages semantic summary anchors to enhance query representations and selectively recomputes query-related tokens to improve accuracy, updating tokens based on the attention distribution of the most critical Transformer layer to preserve the high efficiency of the pipeline structure. Evaluations on real-world datasets demonstrate that QCFuse significantly improves the response efficiency of LLMs by 40\% while maintaining equivalent accuracy compared to current methods. Additionally, in certain scenarios, QCFuse achieves an attention denoising effect that yields higher response accuracy, demonstrating substantial potential in the optimization of LLM inference.
QCFuse: Query-Aware Cache Fusion via Compressed View for Efficient RAG Serving
Zhejiang University(浙江大学);East China Normal University(华东师范大学);Ant Group(蚂蚁集团);The Hong Kong Polytechnic University(香港理工大学);Zhejiang Normal University(浙江师范大学);Tongji University(同济大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));The Hong Kong University of Science and Technology(香港科学与技术大学)
Accelerating Adaptive Retrieval Augmented Generation via Instruction-Driven Representation Reduction of Retrieval Overlaps
School of Information and Software Engineering, University of Electronic Science and Technology of China(电子科技大学信息与软件工程学院);Central South University(中南大学);Big data and artificial intelligent institute, China Telecom Research Institute(中国电信大数据与人工智能研究院)
ConCise: Training-Free Conclusion-Chain State Compression for Cost-Efficient Multi-Step RAG Services
National Natural Science Foundation of China(国家自然科学基金委员会);Guangdong Higher Education Association(广东省高等教育协会);Guangdong Provincial Higher Education Institutions(广东省高等教育机构);Beijing Normal University at Zhuhai Education Reform Project(珠海市北京师范大学教育改革项目)
Beyond Max Tokens: Stealthy Resource Amplification via Tool Calling Chains in LLM Agents
Nanyang Technological University, Singapore(南洋理工大学,新加坡);University of Illinois Urbana-Champaign, United States(伊利诺伊大学厄巴纳-香槟分校,美国);The Hong Kong University of Science and Technology, Hong Kong(香港科学与技术大学,香港);Shanghai Jiao Tong University, China(上海交通大学,中国)