Mining Intrinsic Rewards from LLM Hidden States for Efficient Best-of-N Sampling
On the map: LLM alignment / RLHF / preference optimisation → Process reward models for reasoning
Abstract (arXiv)
Best-of-N sampling is a powerful method for improving Large Language Model (LLM) performance, but it is often limited by its dependence on massive, text-based reward models. These models are not only computationally expensive but also data-hungry, requiring extensive labeled datasets for training. This creates a significant data challenge, as they overlook a rich, readily available data source: the LLM's own internal hidden states. To address this data and efficiency gap, we introduce SWIFT (Simple Weighted Intrinsic Feedback Technique), a novel and lightweight method that learns a reward function directly from the rich information embedded in LLM hidden states. Operating at the token embedding level, SWIFT employs simple linear layers to effectively distinguish between preferred and dispreferred generations, eliminating the need for computationally intensive text-based modeling. Extensive experiments on standard benchmarks show that SWIFT outperforms existing baselines (12.7% higher accuracy than EurusRM-7B on MATH dataset) while using less than 0.005% of their parameters. Its robust scalability, compatibility with certain closed-source models via logit access, and ability to combine with traditional reward models for additional performance highlight SWIFT's practical value and contribution to more efficient data-driven LLM post-training. Our code is available at https://github.com/aster2024/SWIFT .
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Process reward models for reasoning, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 37 of its 76 references that are in the map. First posted on arXiv 18 May 2025.
Builds on
37 of 76 references.
Closest ancestors · 2
Same direction, newest first
- 2024Advancing LLM Reasoning Generalists with Preference Trees2 Apr
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations14 Dec
Other references · 35
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
23 more
- 2023The Internal State of an LLM Knows When It's Lyingcited by 659
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2023UltraFeedback: Boosting Language Models with Scaled AI Feedbackcited by 406
- 2024Skywork-Reward: Bag of Tricks for Reward Modeling in LLMscited by 327
- 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preferencecited by 261
- 2024From r to Q^*: Your Language Model is Secretly a Q-Functioncited by 242
- 2024AnyEdit: Mastering Unified High-Quality Image Editing for Any Ideacited by 241
- 2025Reasoning Models Know When They're Right: Probing Hidden States for Self-Verificationcited by 159
- 2025Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scalingcited by 136
- 2023WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferencescited by 100
- 2024Noise Contrastive Alignment of Language Models with Explicit Rewardscited by 85
- 2023Search-in-the-Chain: Interactively Enhancing Large Language Models with Search for Knowledge-intensive Taskscited by 73
- 2024Robust Preference Optimization through Reward Model Distillationcited by 67
- 2025Open Problems in Machine Unlearning for AI Safetycited by 51
- 2024Logits of API-Protected LLMs Leak Proprietary Informationcited by 40
- 2024Calibrating Reasoning in Language Models with Internal Consistencycited by 28
- 2023Learning to Relate to Previous Turns in Conversational Searchcited by 26
- 2024TRAD: Enhancing LLM Agents with Step-Wise Thought Retrieval and Aligned Decisioncited by 23
- 2022UnifieR: A Unified Retriever for Large-Scale Retrievalcited by 19
- 2023GLM-Dialog: Noise-tolerant Pre-training for Knowledge-grounded Dialogue Generationcited by 9
- 2024Would I Lie To You? Inference Time Alignment of Language Models using Direct Preference Headscited by 5
- 2024Exploring Domain Robust Lightweight Reward Models based on Router Mechanismcited by 1
Built on by
Citing papers per year: 2025: 3; 2026: 6.
9 papers.
- 2025CLUE: Non-parametric Verification from Experience via Hidden-State Clusteringcited by 12
- 2026Sparse Reward Subsystem in Large Language Modelscited by 4
- 2025TrajSelector: Harnessing Latent Representations for Efficient and Effective Best-of-N in Large Reasoning Modelcited by 3
- 2026Breaking the Solver Bottleneck: Training Task Generators at the Learnable Frontiercited by 3
- 2026A decodability criterion predicts when hidden-state selection beats majority voting in large language modelscited by 2
- 2025Graph-Regularized Sparse Autoencoders for LLM Safety Steeringcited by 1
- 2026Inverse RL Helps Align AI by Imitating Humanscited by 1
- 2026HSRM: Hidden-State Reward Models for Test-Time Verificationcited by 0
- 2026LatentSift: Policy-State Filtering for Token-Efficient Verification of Software Engineering Agentscited by 0
- 2026LatentSift: Policy-State Filtering for Token-Efficient Verification of Software Engineering Agents28 Sep 2026
- 2026HSRM: Hidden-State Reward Models for Test-Time Verification31 Aug 2026
- 2026A decodability criterion predicts when hidden-state selection beats majority voting in large language models17 Aug 2026
- 2026Inverse RL Helps Align AI by Imitating Humans27 Jul 2026
- 2026Breaking the Solver Bottleneck: Training Task Generators at the Learnable Frontier10 Jun 2026
- 2026Sparse Reward Subsystem in Large Language Models1 Feb 2026
- 2025Graph-Regularized Sparse Autoencoders for LLM Safety Steering7 Dec 2025
- 2025TrajSelector: Harnessing Latent Representations for Efficient and Effective Best-of-N in Large Reasoning Model18 Oct 2025
- 2025CLUE: Non-parametric Verification from Experience via Hidden-State Clustering2 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2024Automated Rewards via LLM-Generated Progress Functions
- 2026Scaling Reward Modeling without Human Supervision
- 2025Sailing by the Stars: A Survey on Reward Models and Learning Strategies for Learning from Rewards
- 2025Confidence as a Reward: Transforming LLMs into Reward Models
- 2026Consolidating Rewarded Perturbations for LLM Post-Training
- 2026PRISM: A Unified Framework for Post-Training LLMs Without Verifiable Rewards
- 2024LASeR: Learning to Adaptively Select Reward Models with Multi-Armed Bandits
- 2026WiSparse: Boosting LLM Inference Efficiency with Weight-Aware Mixed Activation Sparsity