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.
翻译:暂无翻译