arXiv:2602.11506v4 cs.LG

RooflineBench: 루프라인 분석 기반 온디바이스 LLM 벤치마킹 프레임워크

RooflineBench: A Benchmarking Framework for On-Device LLMs via Roofline Analysis

Zhen Bi, Xueshu Chen, Luoyang Sun, Yuhang Yao, Qing Shen, Jungang Lou, Cheng Deng

제출 2026-02-12

한국어 초록

소형 언어 모델(SLM)을 통한 온디바이스 인공지능(localized intelligence)으로의 전환은 리소스가 제한된 엣지 하드웨어에서 엄밀한 성능 특성 분석의 필요성을 높였습니다. 그러나 이기종 플랫폼 전반에서 다양한 아키텍처의 이론적 성능 한계를 객관적으로 측정하는 것은 여전히 까다로운 과제입니다. 본 연구에서는 연산 집약도(operational intensity, OI) 관점에서 아키텍처 프리미티브와 하드웨어 제약 조건을 통합하는 루프라인(Roofline) 모델 기반의 체계적인 프레임워크를 제안합니다. 추론 잠재력 영역(inference-potential region)을 정의함으로써, 동일한 하드웨어 기판에서 대규모 언어 모델(LLM) 간의 효율성 차이를 비교하기 위한 새로운 지표인 상대적 추론 잠재력(Relative Inference Potential)을 도입합니다. 다양한 컴퓨팅 티어에 걸친 광범위한 실증 분석을 통해 성능과 OI의 변화가 시퀀스 길이에 상당한 영향을 받는다는 점을 밝혀냅니다. 나아가 모델 깊이가 증가함에 따라 OI가 급격히 저하되는 치명적인 문제를 규명합니다. 또한, 하드웨어 이기종성으로 인해 발생하는 효율성 함정을 강조하고, 다중 헤드 잠재 어텐션(Multi-head Latent Attention, MLA)과 같은 구조적 개선이 다양한 하드웨어 기판에서 잠재된 추론 가능성을 어떻게 효과적으로 실현하는지 입증합니다. 이러한 통찰은 온디바이스 인공지능에서 신경망 구조를 물리적 제약에 맞추기 위한 하드웨어-소프트웨어 통합 설계(co-design)에 실행 가능한 방향을 제시합니다. 공개된 코드는 부록 C에서 확인할 수 있습니다.

원문 초록

The transition toward localized intelligence through Small Language Models (SLMs) has intensified the need for rigorous performance characterization on resource-constrained edge hardware. However, objectively measuring the theoretical performance ceilings of diverse architectures across heterogeneous platforms remains a formidable challenge. In this work, we propose a systematic framework based on the Roofline model that unifies architectural primitives and hardware constraints through the lens of operational intensity (OI). By defining an inference-potential region, we introduce the Relative Inference Potential as a novel metric to compare efficiency differences between Large Language Models (LLMs) on the same hardware substrate. Extensive empirical analysis across diverse compute tiers reveals that variations in performance and OI are significantly influenced by sequence length. We further identify a critical regression in OI as model depth increases. Additionally, our findings highlight an efficiency trap induced by hardware heterogeneity and demonstrate how structural refinements, such as Multi-head Latent Attention (MLA), can effectively unlock latent inference potential across various hardware substrates. These insights provide actionable directions for hardware-software co-design to align neural structures with physical constraints in on-device intelligence. The released code is available in the Appendix C.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2602.11506v4제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.