Chameleon:面向检索增强语言模型的异构与解聚加速器系统
Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models
AI总结:
针对检索增强语言模型,提出异构解聚加速器系统Chameleon,集成LLM与向量搜索加速器,实现延迟降低2.16倍、吞吐量提升3.18倍。
摘要:
检索增强语言模型(RALM)将大型语言模型(LLM)与向量数据库相结合,在文本生成过程中检索上下文相关的知识。该策略即使使用较小的模型也能实现出色的生成质量,从而将计算需求降低数个数量级。为了高效且灵活地服务RALM,我们提出了Chameleon,一种在解聚架构中集成LLM和向量搜索加速器的异构加速器系统。异构性确保了推理和检索的高效服务,而解聚则允许LLM和向量搜索加速器独立扩展,以满足多样化的RALM需求。我们的Chameleon原型在FPGA上实现了向量搜索加速器,并将LLM推理分配给GPU,以CPU作为集群协调器。在多种RALM上的评估中,与混合CPU-GPU架构相比,Chameleon的延迟降低了高达2.16倍,吞吐量提升了3.18倍。这些有前景的结果为未来RALM系统中不仅采用异构加速器进行LLM推理,还用于向量搜索铺平了道路。
英文摘要:
A Retrieval-Augmented Language Model (RALM) combines a large language model (LLM) with a vector database to retrieve context-specific knowledge during text generation. This strategy facilitates impressive generation quality even with smaller models, thus reducing computational demands by orders of magnitude. To serve RALMs efficiently and flexibly, we propose Chameleon, a heterogeneous accelerator system integrating both LLM and vector search accelerators in a disaggregated architecture. The heterogeneity ensures efficient serving for both inference and retrieval, while the disaggregation allows independent scaling of LLM and vector search accelerators to fulfill diverse RALM requirements. Our Chameleon prototype implements vector search accelerators on FPGAs and assigns LLM inference to GPUs, with CPUs as cluster coordinators. Evaluated on various RALMs, Chameleon exhibits up to 2.16$\times$ reduction in latency and 3.18x speedup in throughput compared to the hybrid CPU-GPU architecture. The promising results pave the way for adopting heterogeneous accelerators for not only LLM inference but also vector search in future RALM systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。