预算受限下的LLM?说HOLA
LLMs on a Budget? Say HOLA
AI总结:
HOLA是一个端到端优化框架,结合分层推测解码、自适应检索和LoBi剪枝量化,在边缘设备上实现LLM高效部署,提升推理速度并降低资源消耗。
摘要:
在边缘设备上运行大型语言模型(LLMs)受到高计算和内存需求的限制,这对医疗、教育和嵌入式系统等领域的实时应用构成了障碍。当前的解决方案如量化、剪枝和检索增强生成(RAG)仅提供部分优化,且常常在速度或准确性上有所妥协。我们引入了HOLA,一个用于高效LLM部署的端到端优化框架。在内部,它利用分层推测解码(HSD)实现无质量损失的更快推理。在外部,AdaComp-RAG根据上下文需求调整检索复杂度。与LoBi(融合了结构化剪枝(LoRA)和量化)相结合,HOLA带来了显著提升:在GSM8K上EMA提升17.6%,在ARC上MCA提升10.5%,并在Jetson Nano等边缘设备上降低了延迟和内存占用——证明了其可扩展性和生产就绪性。
英文摘要:
Running Large Language Models (LLMs) on edge devices is constrained by high compute and memory demands posing a barrier for real-time applications in sectors like healthcare, education, and embedded systems. Current solutions such as quantization, pruning, and retrieval-augmented generation (RAG) offer only partial optimizations and often compromise on speed or accuracy. We introduce HOLA, an end-to-end optimization framework for efficient LLM deployment. Internally, it leverages Hierarchical Speculative Decoding (HSD) for faster inference without quality loss. Externally, AdaComp-RAG adjusts retrieval complexity based on context needs. Together with LoBi, which blends structured pruning (LoRA) and quantization, HOLA delivers significant gains: 17.6% EMA on GSM8K, 10.5% MCA on ARC, and reduced latency and memory on edge devices like Jetson Nano--proving both scalable and production-ready.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。