Hardware-Aware Optimization of Large Language Models for Enhanced Throughput on Arm CPUs

Large Language Models (LLMs) have recently demonstrated versatile capabilities, approaching artificial general intelligence (AGI). The increasing scale of model parameters necessitates high-performance computing power, posing a challenge for efficient deployment within hardware limitations. For mainstream edge AI operation, it mainly involves using Arm CPUs to perform LLM inference. Thus, this work concentrates on enhancing the throughput of the prefill and decode phase by proposing a novel comprehensive optimization framework. A mixed-precision quantization technique compresses non-critical weights to low precision for parallel processing, while keeping critical weights high for accuracy. Additionally, integrating the computational process in the attention mechanism reduces the computational load. The proposed work is verified by optimizing the Qwen 1.8B model on the YiTian Arm CPU platform. Compared to the original model, this optimization achieves excellent throughput performance with 3.62 times higher for the prefill phase and 13.38 times higher for the decode phase. The PIQA test maintains an accuracy rate of 72.52%.

Institutions

Publication Details

Published
2025-04-28
DOI
https://doi.org/10.1109/aicas64808.2025.11173152
Primary Topic
Plant nutrient uptake and metabolism
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hardware-Aware Optimization of Large Language Models for Enhanced Throughput on Arm CPUs

Plant nutrient uptake and metabolism
article

Hardware-Aware Optimization of Large Language Models for Enhanced Throughput on Arm CPUs

article en

Abstract

Large Language Models (LLMs) have recently demonstrated versatile capabilities, approaching artificial general intelligence (AGI). The increasing scale of model parameters necessitates high-performance computing power, posing a challenge for efficient deployment within hardware limitations. For mainstream edge AI operation, it mainly involves using Arm CPUs to perform LLM inference. Thus, this work concentrates on enhancing the throughput of the prefill and decode phase by proposing a novel comprehensive optimization framework. A mixed-precision quantization technique compresses non-critical weights to low precision for parallel processing, while keeping critical weights high for accuracy. Additionally, integrating the computational process in the attention mechanism reduces the computational load. The proposed work is verified by optimizing the Qwen 1.8B model on the YiTian Arm CPU platform. Compared to the original model, this optimization achieves excellent throughput performance with 3.62 times higher for the prefill phase and 13.38 times higher for the decode phase. The PIQA test maintains an accuracy rate of 72.52%.

Xidian University (CN), Taiwan Semiconductor Manufacturing Company (China) (CN), American Rock Mechanics Association (US), Hangzhou Dianzi University (CN)
Affordable and clean energy
Openalex Percentile: Top 33%
Plant nutrient uptake and metabolism
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.