Feasible Learning

Juan Ramirez, Ignacio Hounie, Juan Elenter, Jose Gallego-Posada, Meraj Hashemizadeh, Alejandro Ribeiro, Simon Lacoste-Julien

Introduction

Modern machine learning is largely built on the foundation of Empirical Risk Minimization (ERM). The objective of ERM is to minimize the average loss across a dataset. While this approach has led to significant breakthroughs, it possesses an inherent weakness: it optimizes for the "average" case, often at the expense of individual data points. In critical domains such as healthcare or autonomous systems, a model that is "good on average" but fails catastrophically on a small subset of "hard" samples is unacceptable.

Presented at AISTATS 2025, Feasible Learning (FL) proposes a fundamental shift. Instead of minimizing an average, FL treats training as a constraint satisfaction problem where every single sample must meet a minimum performance standard.

Methodology: From Averages to Constraints

The core principle of Feasible Learning is to find model parameters $\theta$ such that the loss for every training sample $i$, denoted as $g_i(\theta)$, is less than or equal to a predefined threshold $\epsilon$: $$g_i(\theta) \leq \epsilon, \quad \forall i \in \{1, \dots, n\}$$

To solve this constrained optimization problem, the authors employ a primal-dual approach using a Lagrangian formulation. This introduces Lagrange multipliers $\lambda_i$ for each sample, which act as dynamic "importance weights." During training, if a sample violates the constraint ($g_i(\theta) > \epsilon$), its corresponding $\lambda_i$ increases, forcing the model to prioritize that specific sample in subsequent updates. Conversely, if the constraint is satisfied, the weight decreases.

For real-world scenarios involving noisy data where a strict threshold might be impossible to satisfy, the authors introduce Resilient Feasible Learning (RFL). RFL incorporates "slack variables," allowing for controlled violations while still aggressively pushing the model toward satisfying as many constraints as possible.

Key Insights: Functional Regularization and Tail Behavior

One of the most significant advantages of FL is its natural inductive bias toward smoother solutions. In standard ERM, models often "over-optimize" on easy samples to drive the average loss as low as possible, leading to high-frequency oscillations or overfitting in high-capacity models.

Figure 1: Comparison of FL and ERM on polynomial curve fitting. As the degree of the polynomial increases, ERM (red) exhibits significant overfitting and oscillation between data points, while FL (blue) maintains a smooth, regularized fit by stopping optimization once the feasibility threshold is met.

FL introduces a form of functional regularization. Once the model achieves the desired performance $\epsilon$ on a sample, the corresponding multiplier $\lambda_i$ drops to zero, and the model stops trying to minimize that specific loss further. This prevents the model from fitting noise in "easy" regions of the input space.

Furthermore, FL effectively "squeezes the tail" of the loss distribution. By focusing on the hardest samples (those with the highest $\lambda_i$), FL ensures that the worst-case performance is significantly improved compared to ERM, even if the average performance remains similar.

Experimental Results

The authors evaluated FL and RFL across several benchmarks, demonstrating its robustness and utility in modern AI workflows.

Image Classification and Regression

On CIFAR-10, FL matched the ~93% accuracy of ERM but produced a much more concentrated loss distribution, indicating more consistent behavior across the test set. In the more challenging UTKFace age regression task—characterized by noisy labels—RFL outperformed ERM in both average Mean Squared Error (0.37 vs 0.42) and maximum error, proving its resilience to outliers.

Large Language Model Alignment

FL shows particular promise in the alignment of Large Language Models (LLMs). When fine-tuning models like Llama-3 using Direct Preference Optimization (DPO), RFL was able to reduce the maximum DPO loss by over 50%.

Figure 5: Loss distribution for LLM alignment. The Cumulative Distribution Function (CDF) and Conditional Value-at-Risk (CVaR) plots show that RFL (green) significantly reduces the "tail" of high-loss samples compared to ERM (red), leading to more consistent model behavior.

As shown in the loss distribution analysis, RFL ensures that the model's behavior is more tightly bounded, reducing the likelihood of extreme misalignments or "hallucinations" that often occur in the high-loss tail of standard ERM-trained models.

Conclusion

Feasible Learning offers a compelling alternative to the standard ERM paradigm. By shifting the focus from dataset averages to individual sample feasibility, it provides a robust framework for training models with better worst-case guarantees and natural resistance to overfitting. As models continue to scale, the ability to navigate the "abundance of solutions" with the precise inductive bias of FL will be crucial for developing reliable and safe AI systems.

Summary updated

BibTeX
@inproceedings{ramirez2025feasible,
  author = {Juan Ramirez and Ignacio Hounie and Juan Elenter and Jose Gallego-Posada and Meraj Hashemizadeh and Alejandro Ribeiro and Simon Lacoste-Julien},
  title = {{Feasible Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
}
Figure