FedRSPO+: A Heterogeneity-aware Algorithm for Decision-focused Federated Learning

Konstantinos Ziliaskopoulos, Alexander Vinel, Jiaqi WangNeurIPS 2026

TL;DR

Training machine learning models to make good downstream decisions (rather than just accurate predictions) usually requires pooling all your data in one place. When organizations try to collaborate privately via Federated Learning, slight differences in their local goals and constraints cause standard decision-focused algorithms to jitter wildly and fail. This paper introduces FedRSPO+, an algorithm that geometrically smooths the decision-making landscape so diverse clients can stably learn together without sharing raw data.

What Problem Does This Paper Address?

Imagine several energy companies forecasting hourly electricity prices to schedule battery usage. A standard machine learning pipeline minimizes prediction error (like Mean Squared Error), treating all errors equally. Decision-Focused Learning (DFL) is smarter: it trains the predictor directly on downstream regret—how much money a bad forecast actually costs after solving an optimization problem (like a Linear Program, or LP).

Because of privacy or competition, these companies might use Federated Learning (FL) to train a shared model while keeping data local. However, combining DFL and FL hits a geometric wall. In linear programming, the feasible region is a polyhedron, and optimal decisions live at sharp corners (vertices). If Client A and Client B have slightly different operational constraints or objectives, a tiny nudge to the shared model's predictions can cause the optimal decision to violently jump from one corner to another across the feasible set. Standard DFL losses (like the popular SPO+) become discontinuous across clients, making federated gradient aggregation brittle and unstable.

Figure 1: DFFL setting: a central server broadcasts a global model to heteroge- neous clients, each with its own objec- tive function and feasible region.

Methods

To tame "vertex jumping," the authors introduce a smoothed surrogate loss (RSPO+) and wrap it in a four-stage federated pipeline (FedRSPO+):

  • RSPO+ (Novel Loss): Standard SPO+ can be viewed mathematically through the support function of a feasible set. The authors replace this sharp support function with its Moreau envelope—equivalent to adding a quadratic penalty ($\frac{\lambda}{2}\|w\|^2$) to the downstream LP. Instead of snapping to sharp corners, optimal decisions become smooth, continuous Euclidean projections onto the feasible set.
  • Per-Client Calibration (Novel): Before training, each client automatically sets its initial smoothing parameter ($\lambda_j$) and learning rate ($\eta_j$) using the ratio of its average cost vector magnitude to the radius of its feasible set.
  • Federated Warm-Start (Standard + RSPO+): Clients train locally using RSPO+ and aggregate weights via standard FedAvg.
  • Co-Annealed Personalization & Freezing (Novel): Smoothing introduces bias relative to the true LP. During local personalization, clients gradually shrink $\lambda$ and $\eta$ together (inverse-time scheduling), slowly sharpening the problem back toward the true LP. A data-driven stopping rule "freezes" $\lambda$ once the gap between the smoothed and true LP objectives drops below a tolerance $\tau$, preserving stability.
Figure 2: FedRSPO+: A heterogeneity-aware federated decision-focused learning pipeline. The server broadcasts a global model, clients perform personalized calibration, local prediction, and projection-based smoothing (RSPO+), and updates are aggregated. During personalization, co-annealed regularization enables stable training under heterogeneous objectives and feasible sets.

Datasets

The authors evaluate FedRSPO+ across three distinct environments:

  • Synthetic Fractional Knapsack: A controlled benchmark ($50$ items, $8$ features) designed to independently dial up heterogeneity in client data, objectives, and constraints.
  • PJM Energy Pricing: A real-world case study combining 2025 hourly day-ahead electricity prices from PJM Interconnection with Open-Meteo weather data. Heterogeneous clients act as consumers trying to pick the cheapest $k$ hours to fulfill varying daily energy demands.
  • Warcraft Shortest Path: A standard DFL vision benchmark ($10,000$ $12\times12$ terrain maps). The authors create a heterogeneous federated version with $44$ clients, each assigned opposite border cells as start/destination pairs with local cost perturbations.

Key Insights and Ideas

  • A continuous bridge from MSE to DFL: When $\lambda$ is very large (assuming the origin is inside the feasible set), RSPO+ gradients mathematically reduce to scaled MSE gradients. Annealing $\lambda$ downward smoothly transitions training from simple prediction-focused learning to decision-focused learning.
  • Stability without strong convexity: Prior federated SPO+ theory suffered from an irreducible error penalty proportional to the feasible set's diameter—even as clients became identical—unless the sets were strongly convex. Because Euclidean projections are well-behaved, FedRSPO+ achieves cross-client loss bounds that scale gracefully with heterogeneity ($O(\sqrt{\delta})$ for set shifts) and vanish completely when clients are homogeneous, even on flat-sided polyhedra.
  • More clients amplify the advantage: While naive SPO+ federation degrades rapidly as more diverse clients join the network, smoothing allows the global model to find common ground, dramatically widening FedRSPO+'s lead at larger federation scales.
Relative regret across varying learning rate scales, client counts, and active client fractions, showing FedRSPO+ scaling gracefully as client numbers grow.

Key Results

  • Fractional Knapsack: FedRSPO+ achieved the lowest relative regret across all heterogeneity settings. At $50$ clients, it beat federated SPO+ by 12.5 percentage points. An OptNet-style baseline using the same quadratic program performed much worse ($9.4\%\text{--}11.3\%$ regret vs. FedRSPO+'s $1.9\%\text{--}3.4\%$), proving the gains come from the RSPO+ surrogate rather than quadratic regularization alone.
  • PJM Energy Pricing: Full FedRSPO+ reduced mean absolute regret to \$60.7**, a **65% reduction** over MSE (\$175.5) and a 26% reduction** over naive SPO+ (\$81.7), while also outperforming perturbation baselines (PFYL at \$67.8) and Interp-DFFL (\$69.6).
  • Warcraft Shortest Path: Tested deliberately as a "stress test" where quadratic regularization breaks the graph's discrete structure (allowing fractional path flows), FedRSPO+ still beat MSE ($7.24\%$) and PFYL ($11.45\%$), landing at a 2.57% optimality gap—just behind unregularized SPO+ ($1.85\%$), with personalization annealing cutting error by ~66%.

Limitations and Future Work

  • Computational Overhead: Solving quadratically regularized programs (QPs) is heavier than solving LPs or running graph search. On Warcraft, end-to-end training time per round doubled compared to SPO+ ($133\text{s}$ vs. $67\text{s}$), though specialized QP solvers, warm-starting, and parallelization could narrow this gap.
  • Structural Mismatch & Convexity: Assumptions require convex, compact feasible sets (excluding mixed-integer programs). As seen in Warcraft, problems relying on strict discrete properties like total unimodularity can suffer slightly from quadratic smoothing. Extending FedRSPO+ via relaxations is a key next step.
  • Theory vs. Practice Gaps: Convergence rate proofs assume linear predictors (though experiments use neural networks), and regret bounds apply strictly to the regularized decision unless $\lambda$ anneals past an exact threshold not enforced by the stopping rule.
  • Personalization Conflicts: Combining FedRSPO+ with FL methods like Ditto—which pulls personalized models back toward the global model—clashes with $\lambda$-annealing, pointing to a need for coordinated scheduling in personalized FL.

Summary updated

Abstract

Decision-focused learning (DFL) trains predictive models for downstream optimization, but existing methods largely assume centralized data. In cross-silo settings, federated learning is a natural alternative, yet standard federated pipelines optimize prediction quality rather than decision quality and do not account for client heterogeneity in downstream objectives or feasible sets. Heterogeneity is especially problematic for DFL methods: under heterogeneous polyhedral decision problems, small perturbations can cause discontinuous changes in optimal decisions, leading to unstable client updates and aggregation. We propose FedRSPO+, a heterogeneity-aware framework for decision-focused federated learning. Our approach is built on RSPO+, a regularized predict-then-optimize surrogate that smooths the decision map through projection, enabling stable optimization even when clients face different objectives and constraints. We show that RSPO+ upper bounds downstream decision error and regret of the regularized decision and, under exact regularization and consistent LP solution selection, the original LP decision. We also demonstrate that FedRSPO+ has cross-client heterogeneity bounds that (i) scale with both objective and feasible-set heterogeneity, (ii) vanish at homogeneity, and (iii) do not require strong convexity. We develop an annealed and modular training procedure that is compatible with standard federated personalization and aggregation methods. We evaluate FedRSPO+ on three experimental settings: controlled synthetic knapsack instances that isolate multiple axes of heterogeneity, a shortest path DFL benchmark, and an energy pricing case study based on real data. Across these experiments, we compare against prediction-only federated learning and DFL frameworks under varying heterogeneity and communication budgets. Together, our results suggest that smoothing is a useful ingredient for stable collaborative decision learning and provide a heterogeneity-aware foundation for federated DFL.
BibTeX
@inproceedings{ziliaskopoulos2026fedrspo,
  author = {Konstantinos Ziliaskopoulos and Alexander Vinel and Jiaqi Wang},
  title = {{FedRSPO+: A Heterogeneity-aware Algorithm for Decision-focused Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=zbsbqMhkWi},
}
Figure