Soft-Radial Projection for Constrained End-to-End Learning
Philipp J. Schneider, Daniel Kuhn
NeurIPS 2026
Abstract. Constrained end-to-end learning trains neural networks whose outputs must satisfy feasibility constraints, such as resource, budget, or operational limits. While projection and optimization layers guarantee constraint satisfaction, boundary-based projections can introduce unfavorable optimization geometry: regions of the unconstrained output space are mapped to the same active face of the feasible set. This makes the resulting map locally rank-deficient, suppressing gradients in constrained directions and potentially impairing optimization—a bottleneck known as gradient saturation. We propose Soft-Radial Projection (SRP), a differentiable reparameterization layer that maps unconstrained network outputs into the relative interior of a convex feasible set by smoothly rescaling rays from a strictly feasible anchor point. Unlike hard radial or orthogonal projections, the resulting map is one-to-one and has a full-rank Jacobian almost everywhere, while guaranteeing strict feasibility. We prove that constrained networks equipped with SRP retain universal approximation guarantees. For polytopes and balls, the layer admits a closed-form forward pass, while for general convex sets, the ray–boundary intersection reduces to a one-dimensional search. Experiments on decision-focused learning benchmarks demonstrate strong solution quality at low computational cost, with particularly favorable results in portfolio optimization and substantially lower inference latency than differentiable optimization layers in the evaluated settings.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper proposes Soft-Radial Projection (SRP), a lightweight layer for enforcing convex output constraints in end-to-end learning. Starting from a strictly feasible anchor, SRP maps unconstrained outputs homeomorphically into the relative interior of the feasible set, avoiding the exact many-to-one collapse of boundary-valued projections. The paper develops geometric, optimization, and universal-approximation results and evaluates the method on portfolio optimization, ride-sharing dispatch, min-cost flow, and DC-OPF benchmarks.
The reviewers consistently recognize the method as simple, elegant, and practically relevant. Reviewers 1dkK, sEGx, and ZZLB highlight the reasonably complete theoretical treatment, including strict feasibility, the homeomorphism to the feasible interior, almost-everywhere invertibility of the Jacobian, and constrained universal approximation. The closed-form or one-dimensional forward computation is also attractive relative to iterative optimization layers, and the experiments establish SRP as a fast and competitive constraint-enforcement mechanism, with particularly strong results in portfolio optimization.
The main concerns concern the precise scope of the gradient and optimization claims rather than the validity of the core construction. As Reviewers 1dkK and sEGx emphasize, an almost-everywhere full-rank Jacobian prevents exact projection-induced rank collapse but does not eliminate numerical gradient saturation: for the proposed radial functions, the radial derivative still approaches zero as the latent output moves toward infinity. This is closely related to the boundary-optimum trade-off: when the true solution lies on , SRP can only approach it asymptotically, potentially requiring large latent norms and creating a tension between boundary bias and gradient preservation. The authors should therefore state the gradient advantage more precisely, clarify that full rank is interpreted in intrinsic affine-hull coordinates for simplex-like sets, and directly analyze how the contraction function, latent norm, and distance of the optimum from the boundary affect training and solution quality. The need for a known strictly feasible anchor is another important limitation, particularly for generic input-dependent feasible sets where computing the anchor and affine hull may itself require nontrivial optimization.
The empirical results are encouraging but should be positioned as demonstrating competitive rather than uniformly superior performance. All reviewers note that SRP is strongest in the portfolio experiments, while several methods tie in ride-sharing and DC-OPF, and orthogonal projection achieves better objective gaps in min-cost flow at a substantially higher computational cost. Reviewer sEGx also raises important fairness concerns regarding the implementation of orthogonal projection and the adapted DC3 and HardNet baselines, while Reviewers 1dkK and ZZLB request broader validation on higher-dimensional and more general convex sets. It would be particularly useful to compare against optimized projection implementations and recent hard-constraint layers, report the cost of anchor and affine-hull construction, and include controlled experiments isolating full-rank geometry from simply shrinking hard radial outputs into the interior.
Overall, I find the central construction theoretically sound, conceptually clean, provided that the claims are carefully scoped. The authors should directly answer all questions raised by the reviewers, including those concerning boundary optima, radial-function sensitivity, affine-hull rank, anchor computation, post-processing versus end-to-end use, baseline fairness, recent related methods, and applicability to general or input-dependent convex sets.
After rebuttal:
The rebuttal directly addressed the main concerns regarding the scope of the gradient claims, boundary-active optima, radial-function and latent-range sensitivity, the affine-hull interpretation, anchor and setup costs, post-processing use, pretraining, and baseline fairness. The new controlled experiments and additional comparisons substantially strengthen the empirical evidence, while appropriately clarifying that SRP avoids exact projection-induced rank collapse but does not eliminate far-field gradient decay, and that it is fast and competitive rather than uniformly superior. Important limitations remain for generic input-dependent constraint sets and boundary optima, but these are now clearly characterized and do not undermine the soundness of the central construction. Overall, the rebuttal substantially improved the paper and addressed the reviewers’ principal concerns.
Final justification
The reviewers were positive after the rebuttal: two reviewers increased their ratings from 3 to 4, while the third gave a final rating of 5 and found their concerns effectively addressed. The reviewers agreed that the core construction is technically sound, theoretically well developed, and practically relevant, and that the rebuttal substantially improved the scope, empirical evaluation, and baseline comparisons. Although some limitations remain, they do not invalidate the paper’s main contribution. I therefore recommend acceptance.
Read meta-review
Meta-review
The paper proposes Soft-Radial Projection (SRP), a lightweight layer for enforcing convex output constraints in end-to-end learning. Starting from a strictly feasible anchor, SRP maps unconstrained outputs homeomorphically into the relative interior of the feasible set, avoiding the exact many-to-one collapse of boundary-valued projections. The paper develops geometric, optimization, and universal-approximation results and evaluates the method on portfolio optimization, ride-sharing dispatch, min-cost flow, and DC-OPF benchmarks.
The reviewers consistently recognize the method as simple, elegant, and practically relevant. Reviewers 1dkK, sEGx, and ZZLB highlight the reasonably complete theoretical treatment, including strict feasibility, the homeomorphism to the feasible interior, almost-everywhere invertibility of the Jacobian, and constrained universal approximation. The closed-form or one-dimensional forward computation is also attractive relative to iterative optimization layers, and the experiments establish SRP as a fast and competitive constraint-enforcement mechanism, with particularly strong results in portfolio optimization.
The main concerns concern the precise scope of the gradient and optimization claims rather than the validity of the core construction. As Reviewers 1dkK and sEGx emphasize, an almost-everywhere full-rank Jacobian prevents exact projection-induced rank collapse but does not eliminate numerical gradient saturation: for the proposed radial functions, the radial derivative still approaches zero as the latent output moves toward infinity. This is closely related to the boundary-optimum trade-off: when the true solution lies on , SRP can only approach it asymptotically, potentially requiring large latent norms and creating a tension between boundary bias and gradient preservation. The authors should therefore state the gradient advantage more precisely, clarify that full rank is interpreted in intrinsic affine-hull coordinates for simplex-like sets, and directly analyze how the contraction function, latent norm, and distance of the optimum from the boundary affect training and solution quality. The need for a known strictly feasible anchor is another important limitation, particularly for generic input-dependent feasible sets where computing the anchor and affine hull may itself require nontrivial optimization.
The empirical results are encouraging but should be positioned as demonstrating competitive rather than uniformly superior performance. All reviewers note that SRP is strongest in the portfolio experiments, while several methods tie in ride-sharing and DC-OPF, and orthogonal projection achieves better objective gaps in min-cost flow at a substantially higher computational cost. Reviewer sEGx also raises important fairness concerns regarding the implementation of orthogonal projection and the adapted DC3 and HardNet baselines, while Reviewers 1dkK and ZZLB request broader validation on higher-dimensional and more general convex sets. It would be particularly useful to compare against optimized projection implementations and recent hard-constraint layers, report the cost of anchor and affine-hull construction, and include controlled experiments isolating full-rank geometry from simply shrinking hard radial outputs into the interior.
Overall, I find the central construction theoretically sound, conceptually clean, provided that the claims are carefully scoped. The authors should directly answer all questions raised by the reviewers, including those concerning boundary optima, radial-function sensitivity, affine-hull rank, anchor computation, post-processing versus end-to-end use, baseline fairness, recent related methods, and applicability to general or input-dependent convex sets.
After rebuttal:
The rebuttal directly addressed the main concerns regarding the scope of the gradient claims, boundary-active optima, radial-function and latent-range sensitivity, the affine-hull interpretation, anchor and setup costs, post-processing use, pretraining, and baseline fairness. The new controlled experiments and additional comparisons substantially strengthen the empirical evidence, while appropriately clarifying that SRP avoids exact projection-induced rank collapse but does not eliminate far-field gradient decay, and that it is fast and competitive rather than uniformly superior. Important limitations remain for generic input-dependent constraint sets and boundary optima, but these are now clearly characterized and do not undermine the soundness of the central construction. Overall, the rebuttal substantially improved the paper and addressed the reviewers’ principal concerns.
Final justification
The reviewers were positive after the rebuttal: two reviewers increased their ratings from 3 to 4, while the third gave a final rating of 5 and found their concerns effectively addressed. The reviewers agreed that the core construction is technically sound, theoretically well developed, and practically relevant, and that the rebuttal substantially improved the scope, empirical evaluation, and baseline comparisons. Although some limitations remain, they do not invalidate the paper’s main contribution. I therefore recommend acceptance.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses the issues of "gradient saturation" and "local rank deficiency of the Jacobian matrix" caused by projection layers (e.g., orthogonal projection, hard radial projection) in end-to-end constrained learning, and proposes an extremely lightweight soft radial projection. Starting from a strictly feasible anchor point inside the feasible region, this method employs a smooth ray scaling mechanism to injectively map the unconstrained network output into the relative interior of a convex feasible set. It thereby guarantees a Jacobian that is full rank everywhere and completely avoids gradient saturation. The paper provides theoretical analyses of differentiability, an almost everywhere full-rank Jacobian, and universal approximation. It also demonstrates improved optimization stability and efficiency on portfolio investment and ride-hailing dispatching tasks.
Strengths and weaknesses
The strengths are that the problem motivation is clear, the method is simple and elegant, it has efficient closed-form implementations for sets such as polyhedra and spheres, and the theoretical analysis is relatively complete. Experiments show that it outperforms baselines such as orthogonal projection, RAYEN, and DC3 under constraints like the capped simplex. The main weakness is that the experimental scope is relatively narrow; both tasks are quite close to the simplex or capped simplex, which is insufficient to demonstrate generalizability to general convex sets or more complex decision-making tasks. Moreover, the scale is small, lacking validation on higher-dimensional and more complex feasible sets (e.g., intersections of general polyhedra, SOCP constraints). Additionally, the impact of the strictly interior mapping on boundary optimal solutions, anchor point selection, and radial function hyperparameters requires more systematic analysis.
Questions
- When the true optimal solution lies on the boundary, how much performance loss does the interior bias of SRP cause?
- Could more systematic sensitivity experiments be conducted on the anchor point and radial function parameters?
- Is it possible to supplement results on more general convex sets or high-dimensional constrained tasks, rather than only simplex-like tasks?
- For general convex sets that require one-dimensional ray search, what are the forward/backward time costs and scalability? Does SRP still outperform optimization layers under higher-dimensional and more complex constraints?
- How was the implicit norm budget M set in the experiments?
If these questions can be answered more thoroughly, I would consider raising my score.
Limitations
It is recommended to discuss more specifically the numerical stability of boundary optima, anchor selection, and one-dimensional search on general convex sets.
Final justification
The authors' response has effectively addressed my concerns. Overall, I find that this work makes sufficient contributions. Although it has some limitations, I believe its technical novelty should be recognized. If the paper is accepted, I hope the authors will fully take the reviewers' comments into account during revision and provide a more thorough discussion of the methodological limitations.
Formatting concerns
I don't see any issues.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this work, the authors propose a layer for constraint enforcement on the output of a neural network, or generally a model. The main idea is to “project” infeasible points onto the interior of the constraints using rays from an anchor point and appropriate scaling. One of the main advantages of the proposed method is that it ensures non-zero gradients through the projection mapping, thus easing incorporation into training pipelines. Additionally, during inference the soft-radial projection incurs little computational overhead due to simple projection formulas (sometimes closed form).
Strengths and weaknesses
Strengths:
- The paper is very well-written and clear to understand and follow. I think the authors did a very good job at explaining and visualizing the main ideas of their work.
- The theoretical exposition is elegant and extensive. It clearly investigates many relevant theoretical properties of the proposed algorithm and establishes solid results.
- The topic is relevant and has enjoyed significant attention from the community recently.
Weaknesses:
- W1: Although SRP avoids zero gradients on the boundary, it still inevitably suffers from vanishing gradients as the projected point approaches the boundary. This is especially relevant when the “ground truth” lies on the boundary, as is the case for amortized optimization solvers. Additionally, as the authors acknowledge, for the SRP projection to lie on the boundary, the NN output needs to diverge which raises practical concerns like training stability, numerical issues, and so on.
- W2: One practical weakness of the method is that it needs to operate on the affine hull of the constraints and requires an anchor. Therefore, the set has to, mostly, remain fixed or change in convenient ways (as shown in the experiments). Otherwise, a varying generic incurs a non-trivial computational cost, e.g., solving an optimization problem per sample to compute the anchor point.
- W3: The numerical experiments only seem to partially support the advantage of SRP against methods that incur zero gradients. In some benchmarks, in terms of relative gap, SRP dominates, in others it is tied, and in others it is inferior (e.g., C.7.1).
- W4: Further, I think the comparison with other methods could be made more fair:
- The authors do not specify in the paper how is orthogonal projection implemented. This is especially relevant for benchmarks involving generic polytopes, which are solved with Dykstra’s algorithm (based on the code) which might be very inefficient in this case. A number of efficient, mature, differentiable, and even GPU-compatible solvers exist for QPs. For example, cvxpylayers and qpth for torch implementations.
- For the capped simplex constrained problems, the authors adapt DC3 and HardNet with an additional projection only during evaluation, hence are not trained end-to-end which could possibly explain their inferior performance. The authors should include experiments without this additional projection step as a fair comparison to these methods. (This might introduce constraint violations which could be additionally reported.)
- W5: More of a minor weakness: The benchmarks are the only part of the paper that is not explained well, especially in the main text. I find that the descriptions of the problems are rather rushed and somewhat hard to follow if someone is not already familiar with the application. Further, some more details about problem sizes (number of decision variables, constraints, and so on) could be provided, especially for the problems in the appendix (e.g., C.3, C.7.1, C.7.2).
Questions
I start with some general comments, followed by questions afterwards:
- Regarding the Softmax in 5.2: Softmax enforces which is a superset of , therefore one would expect that its performance in terms of objective (net SR) to be superior to any other method, if capped part part of the simplex is relevant/active.
- In Table 6, what does “HardNet Steps” refer to? My understanding is that HardNet does not involve any iterative algorithm for their projection layer.
- “For standard convex sets such as simplices and balls, the layer admits a closed-form forward pass, avoiding the iterative solvers required by optimization-based layers.”: This is not a good example as the orthogonal projection onto balls is generally closed-form, and onto simplices there is an almost closed-form expression.
My questions essentially pertain to addressing the weaknesses. Some actionable items that could positively impact my assessment are as follows:
- W1: The authors could do some ablations studies on the effect of on SRP’s performance.
- W2: It would be interesting to show the computation time required for the anchor and the affine hull, in cases where there is no analytic formula.
- W3: Providing some insights on when (for which problem classes, properties, etc.) SRP is expected to be superior than other methods would be useful for practitioners.
- W4: The authors could include the benchmarks suggested. Further, it would be important to include some comparisons with classical solvers against the proposed amortized solvers (where applicable).
- W5: Clearer explanations of benchmark problems, problem sizes, etc.
Limitations
- The authors discuss some of the limitations of their method. Nonetheless, I believe that one rather relevant limitation is missing. Specifically, the method is not immediately applicable to the very important scenario of (generic convex) constraints that vary with the input, see W2. I think the authors should mention this.
Final justification
The authors’ response addressed some of my concerns. They discussed the effect of the parameter on performance, the computational cost of SRP’s setup (finding the null space and anchor), they provided more detailed comparisons to projection methods and classical solvers, and descriptions of the benchmark setups.
That said, some limitations of the method remain such as the difficulty in addressing varying constraint sets . Further, the comparison to other methods and, especially, to classical solvers does not strongly favour SPR.
For these reasons I have increased my rating from 3 to 4.
Formatting concerns
None
3 comments
Rebuttal
Thank you for the careful assessment and for identifying concrete ways to strengthen the evidence on boundary behavior, anchor construction, scalability, and baseline fairness. We agree that the original evidence supports SRP as fast and competitive, not uniformly superior, and have added targeted studies addressing these concerns. Full results and commands.
Q1. Effect of a finite latent range . We added an active-boundary experiment in which the raw output is smoothly mapped to by
with at . Increasing reduces interior bias but moves further into saturation. We use quadratic instances over a fixed polytope in (intrinsic dimension , four equalities, and inequalities); every optimum activates a designated facet. For instance ,
where , , and are its objective, optimum, and anchor; at the optimum and at the anchor. If the optimal ray is known and the raw norm tends to infinity, then . The limiting target-ray regret is
It contains no predictor or training error, only the loss from finite- contraction in the correct direction. For the actual trained output , the learned SRP regret is
It also includes errors in the learned direction and radius. Both columns average over instances; for learned SRP we report mean and standard deviation across seeds. At boundary pressure , with rational , , and :
| Limiting target-ray regret | Learned SRP regret | Mean | ||
|---|---|---|---|---|
| 1 | 0.4750 | 0.4189 | 0.2607 | |
| 2 | 0.1900 | 0.1554 | 0.1200 | |
| 4 | 0.0559 | 0.0440 | 0.0577 | |
| 8 | 0.0146 | 0.0114 | 0.0397 | |
| 16 | 0.0037 | 0.0029 | 0.0341 |
The target-ray value is exact on the unit ball. On the polytope it is the limit of feasible outputs and therefore upper-bounds the infimum representational regret under the budget. Larger lowers boundary bias while weakening the radial signal. At , target-ray regret is versus learned regret , so finite- contraction along the correct ray is a small part of the total gap.
We also evaluated exact unit-ball configurations over three radial families, three , four , three boundary pressures , and six . Exponential and hyperbolic maps approach the boundary faster but may round to with zero radial derivative in float32; the rational tail retains the signal longer. In unbudgeted runs, the mean latent norm is , the maximum is , and no run is non-finite. This supports the tested setting, not a general guarantee. We now claim only avoidance of exact many-to-one collapse and projection-induced null directions.
Q2. Cost and construction of the anchor and affine hull. For and , we compute a null-space basis once and use . The anchor LP maximizes common inequality slack. The table gives median timings over ten repetitions:
| Problem | Full setup | Anchor LP | Null space |
|---|---|---|---|
| MCF8 | 1.823 ms | 1.441 ms | 0.053 ms |
| MCF12 | 2.039 ms | 1.561 ms | 0.073 ms |
| PGLib14 | 1.863 ms | 1.107 ms | 0.032 ms |
For dynamic PGLib14, a four-point anchor grid costs ms offline and ms interpolation at runtime. Because both right-hand sides vary affinely with load, interpolation preserves equality and positive slack. Other sets may require a feasibility solve per sample.
Q3. When should SRP help? SRP is most useful for fixed or cheaply parameterized sets requiring strict feasibility and batched decisions, especially when boundary-projection null directions harm learning. When outputs are already near the feasible set, active-face collapse is unimportant, or instances are small and isolated, hard radial methods or mature solvers may be preferable. For a complementary mechanism test, see our response to Reviewer 1dkK, Q2.
With direct facet intersections at batch , SRP forward latency changes from to ms as intrinsic dimension grows from to , versus to ms for qpth. With bisection, -step forward-plus-backward latency is about ms; at dimension , increasing the steps from to raises it from to ms. General-set cost depends on search depth and oracle cost.
Q4. Projection baselines and classical solvers. We retain Dykstra and add qpth and CVXPYLayers as independent projection backends. Neural experiments use one A100 and the task-specific batch sizes; the repository gives exact warm-up, precision, tolerances, and setup exclusions.
| Task | Method | Relative gap | Inference [ms/batch] |
|---|---|---|---|
| MCF8 | O-Proj (Dykstra) | ||
| MCF8 | O-Proj (qpth) | ||
| MCF8 | SRP | ||
| MCF12 | O-Proj (Dykstra) | ||
| MCF12 | O-Proj (qpth) | ||
| MCF12 | SRP |
Consistent with the reviewer's observation for C.7.1, qpth is much more accurate than SRP on MCF, at roughly two orders of magnitude more inference cost. The feasibility measurements provide complementary context: its maximum inequality residuals are and on MCF8/12, versus zero for SRP at the reported precision. On fixed PGLib14:
| Method | Relative gap | Inference [ms/batch] |
|---|---|---|
| O-Proj (Dykstra) | ||
| O-Proj (CVXPYLayers) | ||
| O-Proj (qpth) | ||
| RAYEN | ||
| SRP |
The Dykstra row is retained at its originally reported precision, so we do not infer a fine-grained accuracy ordering from . At three-decimal precision, SRP, RAYEN, and CVXPYLayers tie. The different qpth result illustrates the importance of solver choice and protocol, so we report both backends.
We also provide a CPU wall-clock reference against warm OSQP, whose approximately ms one-time setup is excluded:
| Task | Warm OSQP | Feasible at | SRP, | SRP, , per sample |
|---|---|---|---|---|
| MCF8 | 0.121 ms | 79.5% | 0.273 ms | 0.0089 ms |
| MCF12 | 0.137 ms | 79.2% | 0.273 ms | 0.0091 ms |
| PGLib14 | 0.125 ms | 100% | 0.266 ms | 0.0061 ms |
OSQP reports a solved status for every instance with absolute and relative tolerances set to ; the table separately gives the fraction meeting our residual threshold. A mature solver is faster on these small single instances, while SRP benefits from batching; we do not claim SRP replaces classical solvers.
We also reran the repository-specific capped-simplex adaptations without evaluation-time repair:
| Output | Net Sharpe | Budget error max | Cap violation max |
|---|---|---|---|
| HardNet-style LS, unrepaired | |||
| HardNet-style LS + repair | 0 | 0 | |
| DC3-style, unrepaired | 0 | 0.737 | |
| DC3-style + repair | 0 | 0 |
HardNet-style changes little after repair ( vs ), whereas DC3-style violates the cap by without it. These are adaptations, not unmodified upstream methods. “HardNet Steps” referred to repeated least-squares corrections in our composition, not an iterative HardNet projection. We will rename it and separate repaired and unrepaired rows.
Q5. Benchmark descriptions and sizes. MCF (C.7.1) predicts edge flows under conservation and capacity constraints; PGLib14 (DC-OPF, C.7.2) predicts generator dispatch under balance, generation, and line-flow constraints:
| Task | Decisions | Equality rank | Intrinsic dim. | Inequalities | Instances |
|---|---|---|---|---|---|
| MCF8 | 28 | 7 | 21 | 56 | 512 |
| MCF12 | 40 | 11 | 29 | 80 | 640 |
| PGLib14 | 2 | 1 | 1 | 44 | 512 |
PGLib14 is useful for end-to-end and setup comparisons but is not high-dimensional evidence. Portfolio and ride-sharing allocate over assets and zones.
Softmax and projection wording. Thank you for highlighting that Softmax is feasible only for the simplex superset, not the capped simplex. In the rerun, Softmax obtains Net Sharpe , turnover , and maximum cap violation ; SRP obtains , , and zero. The Sharpe difference lies within the seed spread and we do not claim it. Set inclusion orders exact optima, but not finite-trained out-of-sample policies with transaction costs; the cap also changes the learned inductive bias: turnover falls from to and a violation is removed. We present Softmax only as a cap-infeasible reference. We also clarify that orthogonal projection onto a ball is closed form and simplex projection has an efficient sorting solution. SRP's computational distinction concerns intersections and generic polytopes requiring a QP or iterative procedure.
We will narrow the abstract and conclusions, report all solver protocols, and state the generic input-dependent-set limitation explicitly.
I would like to thank the authors for their careful and extensive rebuttal. I will increase my score accordingly.
Thank you very much again for your suggestions, your time, and the score increase. We truly appreciate it.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes Soft-Radial Projection (SRP), a layer for enforcing convex output constraints in end-to-end learning. Given an interior anchor , the layer first finds the hard radial projection along the ray from to the raw network output , and then returns , where . The output is therefore strictly feasible and stays in the relative interior of the constraint set. The main motivation is to avoid the many-to-one collapse of hard boundary projections, which can suppress gradients. The paper proves that the map is almost everywhere differentiable with an almost everywhere invertible Jacobian, and it gives universal approximation and optimization-related guarantees. Experiments are shown on portfolio optimization, ride-sharing dispatch, and additional operational benchmarks.
Strengths and weaknesses
Strengths
- The paper targets an important problem: enforcing hard feasibility while keeping end-to-end training usable. Replacing hard boundary clipping with an interior radial map is simple and practically appealing.
- The theory is reasonably complete. The paper proves strict feasibility, a homeomorphism to the feasible interior, almost everywhere invertibility of the Jacobian, and a constrained universal approximation result.
- The method avoids the exact rank collapse or many-to-one collapse of boundary-valued radial projections. For common sets such as simplices, capped simplices, balls, and polytopes, the forward pass is also cheap compared with optimization-based projection layers.
Weaknesses
- Boundary optima are common in real constrained problems. SRP only reaches the boundary asymptotically, so a boundary solution may require a very large latent output . Along a ray with boundary distance , the boundary gap is . For the rational choice, , so the gap decays only polynomially. Exponential and hyperbolic choices get closer to the boundary faster, but their derivatives decay exponentially. This trade-off could hurt training when the true optimum has active constraints, and it deserves a more direct experiment.
- The claim that SRP avoids gradient saturation is too strong as written. It avoids exact radial collapse and rank deficiency, but for the proposed functions the far-field radial gradient still goes to zero. I would prefer the paper to state this as avoiding projection-induced rank collapse, not eliminating gradient vanishing altogether.
- SRP modifies even already feasible raw outputs. If , the layer still returns rather than . This makes it less suitable as a post-processing layer for a network that has already been trained without SRP; the network likely needs to be trained or at least fine-tuned with the layer in place.
- The method requires a known interior anchor . This is easy for simple constraints, but can be nontrivial for complex or input-dependent feasible sets. Dynamic constraints may require solving a feasibility problem or learning a safe anchor for each input, which is not fully addressed.
- The experimental conclusions are somewhat stronger than the tables support. Portfolio results are favorable to SRP, but in ride-sharing several methods reach the same served rate. In the tighter ride-sharing setting, DC3, HardNet, RAYEN, and SRP all reach 0.69. In min-cost flow, orthogonal projection gives much better relative gaps but is slower. In DC-OPF, SRP and RAYEN are very similar (RAYEN is even faster during inference). The current evidence supports SRP as fast and competitive, but not as uniformly giving better solution quality than optimization-based methods.
- For constrained sets with linear equalities, the paper should be clearer about where the full-rank Jacobian claim lives. In simplex-like experiments the feasible set lies in an affine hull. If the raw output is still -dimensional and is then centered, there is an all-ones null direction. The full-rank statement should be interpreted in intrinsic affine-hull coordinates, not necessarily as a full-rank map from the original raw output space.
- It is unclear whether some of the gradient issues could be reduced by pretraining the upstream network without the constraint layer, then adding the constraint layer and fine-tuning. A comparison between from-scratch training and such pretraining would help isolate how much benefit SRP adds over better initialization.
- Although the paper discusses several recent hard-constraint methods, the empirical comparison does not include some closely related or recent baselines such as PiNet, GLinSAT, T-SKM-Net, and Decision Rule. This makes it harder to judge whether the proposed layer improves over the latest alternatives, rather than only over RAYEN, DC3, HardNet, and orthogonal projection.
Questions
- Can the authors add an ablation over , , and on the main tasks, especially when the optimum is on or near the boundary? This would clarify the boundary-bias versus gradient-preservation trade-off.
- Can the authors compare SRP with a hard radial method plus a matched interior-shrinkage or regularization baseline? This would test whether the gains come from the full-rank geometry or from simply staying away from the boundary.
- Can the authors clarify whether SRP is meant to be used only during end-to-end training, or also as post-processing for an already trained network?
- Can the authors try pretraining the upstream predictor without the constraint layer, then fine-tuning with SRP or RAYEN? This would test whether better initialization already mitigates the hard-projection gradient issue.
- Can the authors add comparisons with recent or closely related hard-constraint layers such as PiNet, GLinSAT, T-SKM-Net, and Decision Rule, or clearly explain why these methods are not applicable to the tested settings?
Limitations
Partially addressed. The paper mentions convexity and the need for an interior anchor, but it does not fully discuss boundary-optimum bias, far-field gradient decay for the proposed functions, the lack of idempotence or post-processing issue, or the affine-hull interpretation of full rank. I would like these limitations to be stated more explicitly.
Final justification
The response addresses most of my concerns. The authors now clearly distinguish between avoiding exact many-to-one collapse and rank deficiency, and eliminating far-field gradient decay. They also added studies on the choice of , boundary optima, Matched HR, pretraining and fine-tuning, anchor and affine-hull construction costs, and additional baselines such as GLinSAT and T-SKM-Net. The authors further clarified that the full-rank result applies in intrinsic affine-hull coordinates. The empirical claims have also been appropriately narrowed.
However, some limitations remain, especially for generic input-dependent constraints, boundary optima, and post-processing use. Some baselines such as T-SKM-Net are much worse than the results in original papers.
Overall, based on the rebuttal and the limitations, I raise my overall score from 3 to 4. But I will not champion the paper.
Formatting concerns
NO
3 comments
Rebuttal
Thank you for the precise and constructive comments. We agree the submission did not distinguish clearly enough between avoiding exact projection-induced rank collapse and eliminating far-field gradient decay. We narrowed this claim, clarified the affine-hull interpretation, and added the requested boundary, matched-control, pretraining, and baseline studies. Full results, discussion, and reproduction commands.
Q1. Rational, exponential, and hyperbolic contractions. The analysis separates the approximation effect of from stochastic training error. On the unit ball, with :
The constrained optimum is , and the boundary-pressure parameter measures how strongly the objective favors the active boundary. For , SRP gives , so its boundary gap, exact excess loss, and radial derivative are
At boundary pressure , , ; normalized excess loss divides by the anchor-to-optimum gap:
| Gap | Norm. excess loss | Radial derivative | ||
|---|---|---|---|---|
| Rational | 0.25 | |||
| Rational | 1 | |||
| Rational | 4 | |||
| Exponential | 0.25 | |||
| Exponential | 1 | |||
| Exponential | 4 | |||
| Hyperbolic | 0.25 | |||
| Hyperbolic | 1 | |||
| Hyperbolic | 4 |
Faster saturation reduces finite- bias but also removes the radial signal. At , the exponential map reduces the gap from to , while its radial derivative falls from to ; the hyperbolic derivative rounds to zero in float32. Thus and should be chosen against the required boundary tolerance rather than by minimizing the gap alone; the rational map is preferable when preserving the far-field signal matters. We evaluated exact configurations over . The original protocol selected and by validation; the new calculation isolates their geometric effect, while the trained study below varies . We now state that SRP prevents exact many-to-one collapse and projection-induced null directions, not gradient decay as .
Q2. Hard radial projection with a matched limiting margin. We give both methods the same smooth latent budget
with at . If is hard radial projection (the identity on , clipping infeasible points to ), the control is
We call this control Matched HR (matched hard radial). The polytope lies in the unit ball around , so every can reach its boundary on each ray. Matched HR therefore has the same limiting interior margin as budgeted SRP as , though it is not pointwise identical: it removes SRP's encoding of latent radius while retaining the many-to-one collapse of . The comparison tests injective distance encoding against a hard radial map with the same maximum attainable shrinkage.
We train on quadratic instances over a polytope in with intrinsic dimension , four equalities, and inequalities; every optimum activates a designated facet. Both methods use the same MLP, optimizer, epochs, and five seeds, with rational , , , and .
| Limiting target-ray regret | Matched HR | SRP | Mean | ||
|---|---|---|---|---|---|
| 1 | 0.4750 | 0.4189 | 0.2607 | ||
| 2 | 0.1900 | 0.1554 | 0.1200 | ||
| 4 | 0.0559 | 0.0440 | 0.0577 | ||
| 8 | 0.0146 | 0.0114 | 0.0397 | ||
| 16 | 0.0037 | 0.0029 | 0.0341 |
Regret is normalized by the anchor-to-optimum gap. The target-ray column is the limiting value as the bounded latent norm approaches along the known optimal ray; it is exact on the unit ball and upper-bounds the infimum budgeted regret on the polytope. At , direct finite-budget bias is at most , whereas trained SRP regret is , so most of the remaining gap is training/approximation error. Matched HR is similar and slightly better for large : staying in the interior explains an important part of the result. Without the auxiliary budget, SRP obtains and native RAYEN . Invertibility prevents exact collapse but does not guarantee better finite-training performance at a boundary optimum.
We include this control to make the limitation explicit. Every optimum sits exactly on a facet, making this a deliberately stringent case for an interior map. Injectivity supports a mechanism claim — no infeasible region collapses onto an active face — and we no longer present it as implying lower regret.
Q3. End-to-end use versus post-processing. SRP is primarily intended for end-to-end training. Unlike orthogonal projection, it is not idempotent: it moves feasible raw outputs too, so it is not a repair map. It guarantees feasibility when attached to a pretrained predictor but should then be fine-tuned, as the zero-shot column in Q4 shows.
Q4. Pretraining and fine-tuning. On a separate fixed-polytope boundary benchmark, we report relative objective gaps for scratch epochs, a diagnostic zero-shot attachment after unconstrained epochs, and equal-total-compute -epoch pretraining plus constrained fine-tuning epochs:
| Method | Scratch | Zero-shot | Pretrain + fine-tune |
|---|---|---|---|
| SRP | |||
| RAYEN |
Fine-tuning recovers most of the zero-shot loss, but scratch training stays better for both layers. Fine-tuned minus scratch is for SRP (paired 95% CI ) and for RAYEN; we do not claim these differ. So better initialization does not preferentially rescue the hard-projection layer, and does not remove the need for layer-aware training in either case. Pretraining remains possible when feasibility during pretraining is unnecessary.
Q5. PiNet, GLinSAT, T-SKM-Net, and Decision Rule. We added upstream GLinSAT and T-SKM-Net to the capped-simplex portfolio task under the same data split, architecture, five seeds, and A100 environment (batch ); exact protocols and commands are in the repository linked above:
| Method | Net Sharpe | Train [s] | Inference [ms/batch] |
|---|---|---|---|
| RAYEN | |||
| GLinSAT | |||
| T-SKM-Net | |||
| SRP |
GLinSAT is competitive in quality but much slower; the Sharpe difference from SRP is within the seed spread and we do not claim it. PiNet accelerates the same orthogonal projection operator. At exact solver convergence, it implements the same projection map, so under otherwise matched training we would expect the same Net Sharpe; the relevant difference is runtime. Because its public pipeline is JAX and ours is PyTorch, a controlled integration was not feasible during rebuttal; we therefore add independent qpth and CVXPYLayers backends. Decision Rule jointly learns task and safety models for input-dependent constraints and is not a like-for-like fixed-set output layer.
W5. Strength of the empirical conclusions. We agree that the tables support a more qualified conclusion: ride-sharing is a four-way tie at ; SRP and RAYEN tie on DC-OPF, with RAYEN faster at inference; and orthogonal projection attains clearly better min-cost-flow gaps at far higher cost. We have therefore revised the claim: SRP is fast and competitive, with a solution-quality advantage demonstrated on portfolio optimization, but does not uniformly improve quality over optimization-based methods.
Further clarifications. For equality-constrained sets, all rank statements are intrinsic: writing , invertibility concerns the dimensional reduced map, not redundant ambient simplex coordinates. Fixed-set anchors are analytic or computed once; arbitrary input-dependent sets may require a per-instance feasibility solve and remain a limitation. Exact setup timings are in our response to Reviewer sEGx. We will revise the abstract, Fig. 1 caption, conclusions, and limitations to describe SRP as fast and competitive, not uniformly superior or free of gradient vanishing.
Thank you for the detailed rebuttal and the additional experiments. The response addresses most of my concerns. The authors now clearly distinguish between avoiding exact many-to-one collapse and rank deficiency, and eliminating far-field gradient decay. They also added studies on the choice of , boundary optima, Matched HR, pretraining and fine-tuning, anchor and affine-hull construction costs, and additional baselines such as GLinSAT and T-SKM-Net. The authors further clarified that the full-rank result applies in intrinsic affine-hull coordinates. The empirical claims have also been appropriately narrowed.
I particularly appreciate the Matched HR experiment. It shows that interior shrinkage may explain part of the observed gains. It also shows that Jacobian invertibility alone does not guarantee better finite-training performance when the optimum lies on the boundary. Some limitations remain, especially for generic input-dependent constraints, boundary optima, and post-processing use. Some baselines such as T-SKM-Net are much worse than the results in original papers.
Overall, based on the rebuttal and the additional results, I will consider raising my overall score from 3 to 4.
Thank you for your thorough and critical review. We are glad our rebuttal and additional experiments addressed most of your concerns, and we truly appreciate you considering the score raise.
Comments on the paper
1 comment
Dear Reviewers,
If you have not yet responded to the authors' rebuttal, please review their submission on OpenReview. We encourage you to engage in the discussion and update your review if your points were adequately addressed.
Thank you for your dedication to the review process.
Warmly, Your AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Thank you for identifying the empirical questions that most directly determine when SRP is useful. We agree that the original main-text applications emphasized simplex-like sets and did not isolate the boundary-bias/gradient trade-off sufficiently. We added controlled boundary and scaling studies, extended the existing anchor analysis, and narrowed the claims. Full results, discussion, and reproduction commands.
Q1. Performance loss when the optimum lies on the boundary. For an unbounded latent space, the relevant statement concerns an infimum: for a continuous loss, the infimum over SRP's relative-interior image equals the optimum over the closed feasible set, but a boundary minimizer is not attained at any finite latent norm. A finite latent range can create an approximation gap. We separate this direct gap from neural-network training error.
On the unit ball, let u0=0 and consider
The constrained optimum is x⋆=v, and the boundary-pressure parameter β measures how strongly the objective favors the active boundary. For u=Mv, SRP gives p(u)=r(M2)v. With δM=1−r(M2),
We then train on 1,024 quadratic instances over a fixed polytope in R12 with intrinsic dimension 8, four equalities, and 32 inequalities. Every optimum activates a designated facet. We smoothly restrict the latent norm to be below M, fix β=1, and use rational r, λ=1, and ε=0.05. Regret is normalized by the anchor-to-optimum loss gap.
Since the smooth budget approaches but does not attain norm M, the target-ray column is the limiting value as the bounded norm approaches M along the known optimal ray. It is exact on the unit ball and upper-bounds the infimum budgeted regret on the polytope. At M=16, direct finite-range bias is therefore at most 0.0029, while learned regret is 0.0654; most of the remaining gap is training/approximation error. Without an imposed budget, SRP obtains 0.0636±0.0046, versus 0.0529±0.0061 for RAYEN. We therefore state explicitly that injectivity avoids exact projection-induced collapse but need not outperform a boundary-valued method when the optimum is active.
Every optimum lies exactly on a facet, making this a deliberately stringent benchmark for an interior map. Thus the experiment identifies a small but nonzero finite-M approximation effect without conflating it with the larger learned-performance gap.
Q2. Sensitivity to the anchor and radial parameters. We evaluated 648 exact unit-ball configurations over the three radial families, λ∈{0.25,1,4}, ε∈{0.001,0.01,0.05,0.1}, boundary pressures β∈{0.1,1,10}, and M∈{1,2,4,8,16,32}. For β=1, M=4, λ=1, and ε=0.05:
Exponential and hyperbolic contractions reduce finite-M bias much faster, but their radial derivatives also decay much faster; the hyperbolic derivative in this setting rounds to zero in float32. Decreasing λ or increasing M moves the output closer to the boundary and deeper into saturation. Increasing ε scales both the deficit and radial derivative by 1−ε. The rational map therefore preserves a larger far-field signal at the price of a slower polynomial approach to the boundary.
We also keep the feasible polytope C, the dataset, and the corresponding optimal solutions fixed, and move only the interior anchor toward the boundary. Here δ is the configured anchor-slack parameter, distinct from the boundary deficit δM above:
These values answer a different question from Q1: here the optima are unchanged and only anchor conditioning varies. Regret rises moderately and systematically from 0.0358 to 0.0543, without instability, as the anchor loses two orders of magnitude of slack. This supports a high-slack anchor: a simplex barycenter, a max-slack center for a polytope, or an analytic/barrier center when available. For arbitrary input-dependent sets, computing such an anchor per sample may itself require optimization; we now state this limitation prominently.
Q3. General and higher-dimensional convex sets. The original min-cost-flow tasks are non-simplex affine polytopes with intrinsic dimensions 21 and 29. We additionally benchmark random affine polytopes formed by an affine hull and general halfspaces up to intrinsic dimension 96. The table gives batch-one median forward/forward-plus-backward latency in ms:
At batch size 64, SRP forward latency changes from 0.824 to 0.833 ms between the endpoints, while qpth grows from 90.754 to 365.528 ms. At intrinsic dimension 24, increasing facet normals from 48 to 384 leaves SRP near 0.79 ms but increases qpth from 78.645 to 368.766 ms and CVXPYLayers from 76.154 to 194.974 ms. The nearly flat SRP timing over this tested range reflects GPU launch overhead, not dimension-independent asymptotic complexity. All successful affine runs have maximum equality or inequality residual below 4.77×10−7.
These results establish layer-level scaling beyond simplex geometry; they are not a new high-dimensional end-to-end application. We distinguish this evidence from the end-to-end min-cost-flow results and do not claim empirical validation on large conic sets.
Q4. Cost of one-dimensional ray search. For a generic convex set, cost depends on search depth and on the cost of evaluating its constraint oracle, not on dimension alone. We benchmark a smooth rounded-polytope sublevel set whose ray endpoint is bracketed by bisection; the backward pass uses the implicit derivative of the scalar root. For batch size 64, median forward/forward-plus-backward latency in ms is:
The measured cost is approximately linear in the number of bisection steps and varies mildly with dimension over this range. At 20 steps and dimensions 8/24, CVXPYLayers requires 82.0/118.4 ms forward and 549.8/1235.2 ms forward plus backward, versus 7.6/7.4 and 9.1/8.5 ms for SRP. Given its cost, we limit CVXPYLayers to dimension 24, so the comparison supports an advantage only at the tested dimensions. This is a layer microbenchmark, not an end-to-end quality comparison. All timings use the paper's single-A100 environment; exact protocols and commands are in the repository linked above.
Q5. How was the implicit norm budget M set? M was neither set nor tuned in the original application experiments. It is an analysis quantity describing a finite range of network outputs, consistent with the bounded-latent value-gap result (Proposition 3.3); SRP itself has no required norm-budget hyperparameter. We introduce the smooth budget only in the controlled study and vary M∈{1,2,4,8,16}.
Removing the auxiliary map, the β=1 runs produce mean latent norm 6.57±0.42, maximum observed norm 9.52, and no non-finite run. This does not establish a universal stability guarantee. A practitioner who imposes a budget for regularization or numerical control should select M on validation data by jointly checking task regret and the radial-gradient scale; our experiments do not identify a universal value.
We will revise the manuscript accordingly: SRP gives a fast, strictly feasible, injective parameterization of relint(C). Each forward pass computes the boundary distance along the predicted ray and applies a smooth radial contraction. This distance is closed form in our main applications; for a general convex constraint with an evaluable oracle, it reduces to one-dimensional root search, which remains substantially faster than CVXPYLayers in our nonlinear benchmark. Boundary-active optima can require large latent norms, low-slack anchors can worsen conditioning, and arbitrary input-dependent sets may require per-instance anchor construction and prevent reuse of fixed-set preprocessing.