Leveraging Sparsity for Sample-Efficient Preference Learning: A Theoretical Perspective
Abstract
Modern preference learning, essential for aligning Large Language Models (LLMs) with human values, often faces a "curse of dimensionality" where the number of required samples scales linearly with the total number of features. This paper introduces a theoretical framework for "sparse preference learning," proving that if human choices are driven by only a few key features, we can achieve high accuracy with significantly less data. By establishing that the error rate depends on the number of relevant attributes ($k$) rather than the total dimensionality ($d$), the authors provide a significant boost in sample efficiency for Reinforcement Learning from Human Feedback (RLHF) and recommendation systems.
Introduction: The Challenge of High-Dimensional Preferences
In RLHF, the goal is to learn a reward function that predicts human preferences. However, as feature spaces grow to include thousands or millions of dimensions, traditional estimation methods require an impractical amount of expensive human-annotated data. Standard theory suggests that the number of samples ($n$) must scale linearly with the total dimensionality ($d$).
The authors address this by observing that human decisions are inherently sparse. When making a choice, individuals typically prioritize a small subset of features (e.g., price and battery life for a phone) while ignoring hundreds of others. By formalizing this intuition, the paper demonstrates how to bypass the linear dependence on $d$.
Theoretical Framework: Sparse Random Utility Models
The researchers utilize a Sparse Random Utility Model (RUM), where the probability of preference is determined by a reward function with only $k$ non-zero parameters out of $d$ total features. They analyze three primary estimators:
- Minimax Lower Bound: Establishing the fundamental limit of performance at $\Theta((k/n) \log(d/k))$.
- $\ell_0$-Constrained Estimator: A theoretical benchmark achieving the minimax rate, though computationally NP-hard.
- $\ell_1$-Regularized Estimator: A practical, convex approach (Lasso-style) that achieves a near-optimal rate of $O((k/n) \log d)$.
As shown in the figure above, the sparsity-aware estimator significantly outperforms standard maximum likelihood when the number of relevant features is small relative to the total dimension. Crucially, the error rate's dependence on $d$ is reduced from linear to logarithmic, allowing models to handle massive feature spaces efficiently.
Empirical Validation and LLM Alignment
The theory was tested using synthetic data and real-world LLM alignment datasets, including rm-static and SHP (Stanford Human Preferences), applied to models like Pythia-70M and Llama-3.2.
Key Insights
- Natural Sparsity in LLMs: Learned reward parameters in complex LLM tasks were found to be naturally sparse (e.g., 4.5% to 7.5% on
rm-static). - Optimal Regularization: The authors provide a theoretical guideline for the regularization parameter $\beta$, suggesting it should scale as $n^{-0.5}$ to maintain optimal performance as the dataset grows.
Experimental results, visualized in the heatmap above, perfectly match the theoretical "valley" for the optimal $\beta$, confirming the mathematical recipe for practitioners.
Results and Impact
The application of these techniques yielded tangible improvements:
- Accuracy Boost: Adding $\ell_1$ regularization to the final layer of LLMs improved test accuracy by approximately 0.9% during full fine-tuning and by over 3% during linear probing (training only the last layer).
- Sample Efficiency: The logarithmic dependence on dimension means that increasing the feature space from a thousand to a million dimensions has a negligible impact on the required sample size, provided the underlying preference remains sparse.
Conclusion and Future Directions
This work provides the first rigorous theoretical foundation for sparse preference learning. While currently focused on linear reward heads, the authors aim to extend this framework to Direct Preference Optimization (DPO) and investigate how these sparse reward models affect final policy performance in reinforcement learning loops. By leveraging the inherent sparsity of human decision-making, we can build more robust and sample-efficient alignment pipelines for the next generation of AI models.
Summary updated