NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Inference-time Alignment via Sparse Junction Steering

Runyi Hu, Jie Zhang, Shiqian Zhao, Jiale Meng, Jiwei Li, Jason Zeng, Ming Wu, Michael Heinrich, Yonggang Wen, Tianwei Zhang

TL;DR

Sparse Inference-time Alignment (SIA) challenges the assumption that Large Language Models (LLMs) need constant supervision during generation. By intervening only at high-entropy "junctions"—critical decision points where the model is uncertain—SIA achieves superior alignment with up to 6x less computational overhead, often allowing base models to match or outperform their heavily post-trained "Instruct" counterparts.

What Problem Does This Paper Address?

Aligning LLMs with human preferences typically involves expensive training phases like RLHF or DPO. As a lightweight alternative, inference-time alignment (or "steering") modulates the model's output distribution on the fly using a reward signal.

However, existing steering methods are "dense," meaning they intervene at every single decoding step. This approach has two major flaws:

  1. Efficiency: Evaluating reward signals for every token is computationally expensive.
  2. Quality: Constant manipulation can drift too far from the model's natural distribution, hurting fluency. It treats a "the" or a comma with the same importance as a pivotal word that determines the safety or helpfulness of a response.

Methods

The authors introduce Sparse Inference-time Alignment (SIA), which uses a gating mechanism to decide when to steer.

  1. Token-level Value Model: To provide precise guidance, the authors distill trajectory-level rewards (scores for a whole response) into a fine-grained value model. This model predicts the expected future reward for any given partial sequence, providing a more stable signal than previous methods that applied reward models directly to incomplete text.
  2. Entropy-based Gating: The core innovation is identifying "alignment-critical junctions." The authors found that information-theoretic entropy is the best predictor of these points. When a model's output distribution has high entropy, it is at a crossroads; steering at these specific moments yields the highest impact.
  3. Sparse Steering Policy: The value model only modulates the base model's logits when the entropy exceeds a certain threshold. Otherwise, the base model generates tokens normally, preserving its intrinsic fluency.
Figure 1. Comparison of different gating strategies for critical junction identification.

Datasets

The value model was trained on a combined corpus of ~157k instruction-response pairs from:

  • WildGuardMix: A safety-centric dataset for harmlessness.
  • UltraFeedback: Specifically the ShareGPT and UltraChat subsets, focusing on helpfulness and honesty.

Evaluation was conducted across three primary alignment pillars using:

  • HEx-PHI: For harmlessness/safety.
  • AlpacaEval: For general helpfulness and instruction following.
  • TruthfulQA: For honesty and factual reliability.

Key Insights and Ideas

  • The 80/20 Rule of Alignment: The authors demonstrate that steering only 20% to 80% of tokens is not just more efficient—it’s often more effective than steering 100% of them.
  • Sparsity as Regularization: Dense steering often introduces noise from the reward model into tokens where the base model was already "correct" and confident. Sparse steering acts as a regularizer, filtering out this noise and only intervening when the model is truly undecided.
  • Weak-to-Strong Generalization: A smaller, efficient value model (e.g., 3B or 4B parameters) can successfully steer much larger target models (e.g., 14B parameters), making this practical for real-world deployment.
Figure 3. Performance of SIA across different intervention ratios under the weak-to-strong generation setting.

Key Results

  • Base vs. Instruct: For the Qwen3 family, base models equipped with SIA (steering only 20-40% of tokens) matched or exceeded the performance of officially released Instruct models.
  • Efficiency Gains: SIA achieves parity with search-based methods like Best-of-N while reducing computational costs by 3x to 6x.
  • Superior Value Signals: The distilled token-level value model significantly outperformed trajectory-level baselines like ARGS and lookahead methods like Transfer Q*.
Figure 2. Performance of SIA across different intervention ratios compared with multiple baselines under the normal setting. Dashed horizontal lines denote static baselines, while solid curves show performance under increasing sparse intervention.

Limitations and Future Work

  • Base Model Floor: The gains from SIA are bounded by the base model's inherent capabilities. If a base model lacks fundamental text fluency (as noted with some Llama-3 1B results), steering cannot fully bridge the gap to an Instruct model.
  • Gating Sophistication: While absolute entropy is a strong heuristic, the authors suggest that "semantic entropy" or multi-dimensional gating criteria could further refine intervention precision.
  • Multi-Modality: The current work is limited to text. Extending sparse alignment to Vision Language Models (VLMs) by identifying critical junctions in cross-modal attention layers is a promising next step.

Summary updated

BibTeX
@inproceedings{hu2026inference,
  author = {Runyi Hu and Jie Zhang and Shiqian Zhao and Jiale Meng and Jiwei Li and Jason Zeng and Ming Wu and Michael Heinrich and Yonggang Wen and Tianwei Zhang},
  title = {{Inference-time Alignment via Sparse Junction Steering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=2zZdeKdoc6},
}
Figure