Skip to main content
QUICK REVIEW

[Paper Review] Can We Trust LLMs on Memristors? Diving into Reasoning Ability under Non-Ideality

Taiqiang Wu, Yuxin Cheng|arXiv (Cornell University)|Mar 14, 2026
Advanced Memory and Neural ComputingEngineering0 citations
TL;DR

The paper analyzes how memristor non-ideality in analog compute-in-memory affects LLM reasoning and evaluates training-free mitigation strategies, recommending shallow layer redundancy and mode-specific approaches.

ABSTRACT

Memristor-based analog compute-in-memory (CIM) architectures provide a promising substrate for the efficient deployment of Large Language Models (LLMs), owing to superior energy efficiency and computational density. However, these architectures suffer from precision issues caused by intrinsic non-idealities of memristors. In this paper, we first conduct a comprehensive investigation into the impact of such typical non-idealities on LLM reasoning. Empirical results indicate that reasoning capability decreases significantly but varies for distinct benchmarks. Subsequently, we systematically appraise three training-free strategies, including thinking mode, in-context learning, and module redundancy. We thus summarize valuable guidelines, i.e., shallow layer redundancy is particularly effective for improving robustness, thinking mode performs better under low noise levels but degrades at higher noise, and in-context learning reduces output length with a slight performance trade-off. Our findings offer new insights into LLM reasoning under non-ideality and practical strategies to improve robustness.

Motivation & Objective

  • Evaluate the impact of typical memristor non-idealities on LLM reasoning accuracy across benchmarks (IFEval, GPQA-Diamond, MATH-500).
  • Systematically assess training-free mitigation strategies (thinking mode, in-context learning, module redundancy) for robustness under non-ideality.
  • Provide practical guidelines for deploying LLMs on memristor-based CIM hardware.

Proposed method

  • Simulate memristor non-ideality as block-wise Gaussian noise and stuck-at faults on weight matrices during LLM inference.
  • Evaluate reasoning on three benchmarks (IFEval, GPQA-Diamond, MATH-500) under varying noise levels (σ ∈ {0.005,0.01,0.015,0.02}).
  • Test training-free strategies: thinking mode, in-context learning (ICL), and module redundancy (repeating modules/layers).
  • Analyze energy/area implications using CIM energy models and Opencompass framework across hardware scenarios.
  • Conduct ablation studies on stuck-at fault rate (p) and on which model layers/modules to redundantly duplicate.

Experimental results

Research questions

  • RQ1How does memristor non-ideality affect LLM reasoning performance across different benchmarks?
  • RQ2Can training-free strategies mitigate non-ideality-induced degradation, and under what conditions are they effective?
  • RQ3What practical guidelines emerge for deploying LLMs on memristor-based CIM about noise tolerance, energy, and architectural redundancy?

Key findings

  • Reasoning performance degrades as memristor noise increases, with greater instability at higher noise levels.
  • Mathematical reasoning (MATH-500) is particularly vulnerable to weight perturbations, showing substantial performance drops and longer outputs under higher noise.
  • Slight noise can occasionally improve some metrics (e.g., IFEval Pass@8 at σ=0.005), indicating a potential regularization effect at very low noise.
  • Thinking mode is robust at low to moderate noise (σ ≤ 0.01) but collapses at high noise (σ > 0.015) due to mode collapse and verbose, unstructured outputs.
  • In-context learning reduces output length but consistently underperforms vanilla baselines across noise levels, with energy benefits only at very high noise due to shorter outputs.
  • Module redundancy generally improves robustness; shallow layer redundancy (early layers) is especially effective, while deep-layer redundancy can incur energy/area penalties and degrade performance.
  • A practical shallow redundancy strategy (repeating the first 1/4 of layers four times, “Shallow (4 ×)”) achieves a favorable balance between performance and energy, even for larger LLMs (Qwen3 1.7B, Llama 3.2 1B).
  • For Qwen3 1.7B and Llama 3.2 1B, Shallow (4 ×) recovers significant MATH-500 and IFEval performance while greatly reducing energy (e.g., energy down to 0.3J for Qwen3 1.7B vs 7.2J baseline under σ=0.02).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.