paper-with-me

홈 › Papers

CQIL: Inference Latency Optimization with Concurrent Computation of Quasi-Independent Layers

2024-04-10 · Longwei Zou, Qingyang Wang, Han Zhao, Jiangang Kong, Yi Yang, Yangdong Deng

The fast-growing large scale language models are delivering unprecedented performance on almost all natural language processing tasks. However, the effectiveness of large language models are reliant on an exponentially increasing number of parameters. The overwhelming computation complexity incurs a high inference latency that negatively affects user experience. Existing methods to improve inference efficiency, such as tensor parallelism and quantization, target to reduce per-layer computing latency, yet overlook the cumulative latency due to the number of layers. Recent works on reducing the cumulative latency through layer removing, however, lead to significant performance drop. Motivated by the similarity of inputs among adjacent layers, we propose to identify quasi-independent layers, which can be concurrently computed to significantly decrease inference latency. We also introduce a bypassing technique to mitigate the effect of information loss. Empirical experiments of the proposed approach on the LLaMA models confirm that Concurrent Computation of Quasi-Independent Layers (CQIL) can reduce latency by up to 48.3% on LLaMA-33B, while maintaining a close level of performance.

📄 PDF Abstract BibTeX arXiv:2404.06709

Code (1)

photooon/cqil 공식 구현 pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…

Similar Papers 제목 키워드 기반

Twill: Scheduling Compound AI Systems on Heterogeneous Mobile Edge Platforms

2025-07-01 · Zain Taufique, Aman Vyas, Antonio Miele, Pasi Liljeberg 외 arxiv

Compound AI (cAI) systems chain multiple AI models to solve complex problems. cAI systems are typically composed of deep neural networks (DNNs), transformers, and large language models (LLMs), exhibiting a high degree of…

Faster and Better LLMs via Latency-Aware Test-Time Scaling

2025-05-26 · Zili Wang, Tianyu Zhang, Haoli Bai, Lu Hou 외

Test-Time Scaling (TTS) has proven effective in improving the performance of Large Language Models (LLMs) during inference. However, existing research has overlooked the efficiency of TTS from a latency-sensitive perspec…

Math

Group Think: Multiple Concurrent Reasoning Agents Collaborating at Token Level Granularity

2025-05-16 · Chan-Jan Hsu, Davide Buffelli, Jamie McGowan, Feng-Ting Liao 외

Recent advances in large language models (LLMs) have demonstrated the power of reasoning through self-generated chains of thought. Multiple reasoning agents can collaborate to raise joint reasoning quality above individu…

GPU

The Solution for the AIGC Inference Performance Optimization Competition

2024-07-06 · Sishun Pan, Haonan Xu, Zhonghua Wan, Yang Yang

In recent years, the rapid advancement of large-scale pre-trained language models based on transformer architectures has revolutionized natural language processing tasks. Among these, ChatGPT has gained widespread popula…

Computational EfficiencyGPUMarketing

Performance Characterization of Expert Router for Scalable LLM Inference

2024-04-22 · Josef Pichlmeier, Philipp Ross, Andre Luckow

Large Language Models (LLMs) have experienced widespread adoption across scientific and industrial domains due to their versatility and utility for diverse tasks. Nevertheless, deploying and serving these models at scale…

Language Modelling