paper

State-Dependent Hybrid Computing for Robust and Efficient LLaMA 3.2-1B Inference Under Noisy Compute Models

arXiv:2611.40920

Abstract

Large language models (LLMs) rely on compute-intensive matrix operations, making efficient inference increasingly difficult as sequence length and model size grow. Analog computation can improve efficiency, but may also degrade model accuracy. This paper proposes a dynamic hybrid computing architecture that adaptively selects between a noisy analog and digital execution at runtime based on noise level, context length, token entropy, and activation statistics. Rather than using a fixed layer-wise execution strategy, the proposed method performs state-dependent routing that better balances output quality and compute cost. By using a Gaussian noise model to simulate compute-in-memory (CIM) hardware noise on WikiText-2 with LLaMA 3.2-1B, we observe that the proposed method reduces a normalized compute-cost proxy by 45\% relative to FP16 while limiting perplexity degradation to approximately 8.2\%. These results indicate that runtime-aware precision routing is a promising strategy for improving efficiency under noisy analog computation, although validation on hardware-calibrated analog CIM remains a future work.

arXiv commentAccepted for publication at the 2027 International Conference on Artificial Intelligence and Applied Intelligent Systems (AIAIS 2027), to be held in Hong Kong from 22 to 24 January 2027