LGMay 1

Budget Constraints as Riemannian Manifolds

arXiv:2605.0064952.9h-index: 42
Predicted impact top 46% in LG · last 90 daysOriginality Highly original
AI Analysis

This work addresses the recurring problem of exact budget-constrained optimization in machine learning, offering a principled gradient-based method that eliminates hyperparameter tuning and outperforms penalty methods.

The paper proposes Riemannian Constrained Optimization (RCO) for budget-constrained assignment problems, enabling first-order optimization of the true objective with exact budget enforcement. On synthetic knapsack problems, RCO recovers optimal solutions while penalty methods plateau at 83% of optimal; on LLM compression tasks, RCO matches or exceeds evolutionary search with 3x to 16x lower wall-clock cost.

Assigning one of K options to each of N groups under a total cost budget is a recurring problem in machine learning, appearing in mixed-precision quantization, non-uniform pruning, and expert selection. The objective (model loss) depends jointly on all assignments and does not decompose across groups, which prevents combinatorial solvers from optimizing the true objective directly and limits them to proxy objectives. Evolutionary search evaluates the actual loss but lacks gradient information, while penalty-based methods provide gradients but enforce the budget only approximately and require sensitive hyperparameter tuning. We observe that under softmax relaxation, the budget constraint defines a smooth Riemannian manifold in logit space with particularly simple geometry: the normal vector is available in closed form, shifting logits along the cost vector changes expected cost monotonically, allowing binary-search retraction, and vector transport reduces to a single inner product. Building on this structure, we propose Riemannian Constrained Optimization (RCO), which augments a standard Adam update with tangent projection, binary-search retraction, and momentum transport. Combined with Gumbel straight-through estimation and budget-constrained dynamic programming for discrete feasibility, RCO enables first-order optimization of the true objective under exact budget enforcement, without introducing constraint hyperparameters. On synthetic knapsack problems with known optima, the manifold-based constraint handling recovers optimal solutions, whereas penalty methods plateau at 83% of optimal. On LLM compression tasks, including mixed-precision quantization and MoE expert pruning, RCO matches or exceeds evolutionary search methods while requiring 3x to 16x lower wall-clock cost on the evaluated configurations.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes