A Constrained Bi-level Optimization Framework for Constrained Preference-Based Reinforcement Learning
Yue Mao, Siyuan Xu, Shicheng Liu, Minghui Zhu
NeurIPS 2026
Abstract. This paper studies the problem of jointly learning a reward function, a cost function, and a policy from an expert's preferences. We formulate the problem as a constrained bi-level optimization problem, where the upper level infers the reward and cost functions from preferences, while the lower level optimizes a policy to best align with those preferences. To solve this problem, we propose a double-loop algorithm, Constrained Bi-level Optimization for Preference-Based Reinforcement Learning (CB-PbRL), which solves the lower-level optimization problem in the inner loop and the upper-level optimization problem in the outer loop. We establish a theoretical guarantee that CB-PbRL converges at a rate of , and we demonstrate its effectiveness across multiple simulation environments.
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:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper frames preference learning as a bilevel optimization that learns both cost/reward and policy jointly from human preference feedback.
The reviewers had a number of questions that the authors should address if the paper is to be seriously considered for publication, particularly:
- JLxn's concerns about the correctness of the formal proofs,
- 4kM7's questions about whether the additional feedback signals used are realistic
- Empirical timings to indicate practicality of the method
- Relationship to the literature cited by zHPf
Committing to human subject studies is not in-scope for the rebuttal period and is not necessary for the paper to be considered.
Final justification
I have read the author responses and discussions with reviewers (especially reviewer JLxn). In my view the authors' responses have adequately addressed the concerns raised by the reviewers.
Learning to optimize against preferences that are not explicitly specified as a reward signal is an important step to applying RL to practical problems. This paper presents an approach and both demonstrates empirical improvements against baselines, and proves theoretical performance guarantees. Requiring richer feedback than some alternative approaches is a drawback, but I am satisfied by the author response that it is not fatal. I recommend acceptance.
Read meta-review
Meta-review
This paper frames preference learning as a bilevel optimization that learns both cost/reward and policy jointly from human preference feedback.
The reviewers had a number of questions that the authors should address if the paper is to be seriously considered for publication, particularly:
- JLxn's concerns about the correctness of the formal proofs,
- 4kM7's questions about whether the additional feedback signals used are realistic
- Empirical timings to indicate practicality of the method
- Relationship to the literature cited by zHPf
Committing to human subject studies is not in-scope for the rebuttal period and is not necessary for the paper to be considered.
Final justification
I have read the author responses and discussions with reviewers (especially reviewer JLxn). In my view the authors' responses have adequately addressed the concerns raised by the reviewers.
Learning to optimize against preferences that are not explicitly specified as a reward signal is an important step to applying RL to practical problems. This paper presents an approach and both demonstrates empirical improvements against baselines, and proves theoretical performance guarantees. Requiring richer feedback than some alternative approaches is a drawback, but I am satisfied by the author response that it is not fatal. I recommend acceptance.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies constrained preference-based reinforcement learning via a constrained bi-level optimization method that concurrently learns reward, cost functions, and the associated policy. The authors provided motivation, problem formulation, convergence analysis, and experiments. Overall, the paper presents an interesting extension of the preference-based reinforcement learning literature. Both the technical analysis and results are sound.
POST REBUTTAL: No change of rating.
Strengths and weaknesses
Strength: I like the fact that this paper contains technical convergence analysis, which is very insightful. The learning of both reward (including cost) and policy altogether is interesting since the classic preference-based reinforcement learning used a sequential formulation, which is typically slow in terms of converging.
Weakness: I think the key weakness is that the bi-level optimization and the dual optimization problem formulation are both quite standard technique. This paper hence sounds like a combination of some existing methods. In addition, human subject testing is missing.
Questions
Can the authors explain the unique challenges of applying bi-level optimization to preference-based reinforcement learning? Can you provide a small human study? Can you comment on the need for reward learning as the paper "Direct Preference-based Policy Optimization without Reward Modeling" shows the effectiveness of direct policy optimization?
Limitations
Yes.
Final justification
The authors answered the questions well. The novelty of the work is not outstanding. Hence I keep my original rating.
Formatting concerns
None.
2 comments
Rebuttal
Thank you for your detailed and insightful review. Discussing these points will help us improve and clarify our work.
W1, Q1:I think the key weakness is that the bi-level optimization and the dual optimization problem formulation are both quite standard technique. Can the authors explain the unique challenges of applying bi-level optimization to preference-based reinforcement learning?
Thank you for raising this point. We agree that bi-level optimization and dual optimization are standard techniques individually. The key challenges in applying them to constrained PbRL are the lower-level strong-convexity requirement and the non-differentiability caused by the dual constraint.
First, standard implicit-gradient methods for bi-level optimization typically require the lower-level objective to be strongly convex, ensuring that its optimal solution is unique and its Hessian is invertible. However, the original constrained RL problem in our lower level is generally non-convex and does not satisfy this requirement. By leveraging the entropy-regularized soft Bellman policy structure, we establish strong duality and reformulate the constrained policy optimization problem as a dual problem over the scalar multiplier , while preserving the resulting optimal policy. We further establish in Appendix H that the dual objective is strongly convex in . This guarantees a unique lower-level solution and a nonsingular lower-level Hessian, making implicit hypergradient computation applicable without differentiating through the policy-network parameters.
Second, strong convexity alone does not guarantee that the constrained solution mapping is differentiable because is subject to the boundary constraint . Standard smooth bi-level methods do not directly handle this non-differentiability. We therefore introduce the differentiability test in Proposition 4.2 and the two-gradient Clarke approximation in Eqs. (9) and (10), which provides a principled update when the solution mapping is non-differentiable.
Thus, the novelty lies in making bi-level optimization applicable to the non-convex and potentially non-smooth lower-level structure arising in constrained PbRL, rather than in the individual use of bi-level optimization or the dual formulation.
W2, Q2: Can you provide a small human study?
Thank you for this suggestion. As clarified by the Area Chair, conducting a human-subject study is outside the scope of the rebuttal period and is not required for the paper to be considered. The present work focuses on the formulation, algorithmic development, and controlled evaluation of constrained PbRL using synthetic feedback. We will consider such an evaluation as an important direction for future work.
Q3: Can you comment on the need for reward learning as the paper "Direct Preference-based Policy Optimization without Reward Modeling" shows the effectiveness of direct policy optimization?
Thank you for pointing out this relevant work. We agree that the cited DPPO method demonstrates that learning an explicit reward function is not necessary for every PbRL problem.
Our setting has a different objective and structure: we jointly learn reward and cost functions and optimize a constrained policy. In particular, the learned cost function defines the absolute constraint By contrast, DPPO's relative preference predictor determines which of two trajectories is preferred but does not directly specify an absolute constraint boundary. Moreover, within our framework, the learned reward and cost functions define the lower-level constrained policy optimization problem and are required for the corresponding dual formulation and hypergradient derivation.
Therefore, we do not claim that explicit reward learning is universally necessary for PbRL; rather, reward and cost learning are structural components of our constrained formulation. Extending direct preference-based policy optimization to our setting would require separate objectives for optimality and safety, an explicit constraint formulation, and new derivations of the resulting constrained optimization problem and gradients. We will cite this work and discuss constrained direct preference optimization as an interesting direction for future work.
Thanks to the authors for the detailed response. I am overall okay with the response, but still feel that the overall contribution is somehow not outstanding. I understand that human study is not possible during the rebuttal period. However, lacking it makes the paper weak. I am keeping my rating unchanged.
- Rating
- 4/6
- Confidence
- 2/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
The paper proposes a constrained bi-level optimization framework for preference-based reinforcement learning (PbRL), jointly learning reward, cost, and policy from expert feedback. The lower-level problem optimizes a constrained RL objective via dual reformulation, while the upper-level problem learns reward and cost models from preference signals.
The proposed CB-PbRL algorithm employs a double-loop optimization strategy and uses a Clarke-subdifferential approximation to handle non-differentiability in hypergradient computation. The paper provides convergence and performance guarantees, including an convergence rate. Experiments on MuJoCo and Meta-World benchmarks show improved rewards and lower constraint violations compared with existing baselines.
Strengths and weaknesses
This paper studies an important and timely problem in preference-based RL and RLHF. Existing PbRL methods often assume one-dimensional preference signals and generally fail to distinguish optimization objectives from constraints. The paper argues that such limitations lead to reward misalignment and unsafe behaviors. The proposed constrained bi-level perspective is conceptually interesting because it explicitly models reward and cost learning jointly while coupling policy learning with preference acquisition.
The paper has several strengths.
- From the quality perspective, the formulation is reasonably structured and the overall optimization framework is technically coherent. The dual reformulation of the constrained RL problem is interesting because it avoids direct differentiation through a constrained non-convex optimization problem. The use of Clarke subdifferentials to address non-differentiability is also potentially useful.
- The paper additionally provides convergence guarantees and suboptimality bounds. Such theoretical analysis strengthens the technical depth of the submission.
- Empirically, results across several benchmark tasks generally show consistent gains over baselines in cumulative reward while maintaining lower cost and violation rates.
However, I have several concerns regarding quality, significance, and originality.
- Although the paper claims to jointly solve misalignment and constraint inference, the decomposition into reward and cost signals relies on richer supervision than standard PbRL. Specifically, the method assumes access not only to trajectory preference labels but also classification labels . This additional supervision may significantly simplify the problem. The paper does not sufficiently discuss whether such labels are realistic or practical in human feedback settings. Consequently, comparisons against methods using weaker supervision may not be entirely fair.
- The empirical section lacks sufficiently detailed ablation studies. Since the method combines multiple ingredients (bi-level optimization, cost learning, Clarke approximation, dual reformulation), it is difficult to determine which components contribute most strongly to the observed improvements.
- Although the paper introduces a two-gradient approximation to reduce computational cost, empirical efficiency analysis is missing. Wall-clock training time and scalability comparisons would improve understanding of the practical cost of the proposed framework.
Questions
- The method appears to assume richer supervision than standard PbRL, including reward/cost preference labels and additional classification labels. Are the empirical comparisons fair given that some baselines may use weaker supervision? I suggest adding either baselines augmented with comparable cost/classification supervision, or an ablation of CB-PbRL using only standard preference labels. This would clarify whether the gains come from the proposed optimization framework or from the stronger feedback signal.
- The proposed framework combines several components: bi-level optimization, reward-cost decomposition, Clarke approximation, and dual reformulation. Could the authors provide a focused ablation study removing or replacing each component?
- The paper introduces a two-gradient approximation to reduce computational cost, but the empirical section does not report practical efficiency. Could the authors provide wall-clock training time, memory usage, number of gradient steps, or scalability comparisons against the main baselines? This would help assess whether the method is practical beyond small simulation settings.
Limitations
yes
Formatting concerns
No major formatting or anonymity concerns observed.
3 comments
Rebuttal
Thank you for your detailed and insightful review. Discussing these points will help us improve and clarify our work.
W1, Q1: The paper does not sufficiently discuss whether such labels are realistic or practical in human feedback settings. The method appears to assume richer supervision than standard PbRL, including reward/cost preference labels and additional classification labels. Are the empirical comparisons fair given that some baselines may use weaker supervision? I suggest adding either baselines augmented with comparable cost/classification supervision, or an ablation of CB-PbRL using only standard preference labels. This would clarify whether the gains come from the proposed optimization framework or from the stronger feedback signal.
Thank you for raising this concern. We acknowledge that CB-PbRL uses richer supervision than standard PbRL. Specifically, the expert provides optimality preferences, constraint-satisfaction preferences, and constraint-violation labels. However, all these labels are collected from the same trajectory pair, so they require additional binary judgments but no additional trajectory collection.
Closely related annotation schemes have been used in practical human feedback settings. [C1] and [C2] ask annotators to separately evaluate helpfulness and harmlessness and collect safety labels for individual responses. These examples demonstrate that collecting reward/cost preference labels and additional classification labels is practical in human-feedback settings.
As we briefly described in Lines 325-330, CB-PbRL and our implementation of the Safe RLHF baseline are provided with the same optimality-preference, constraint-preference, and constraint-classification labels. Safe RLHF therefore serves as a supervision-matched ablation of the proposed bi-level optimization framework. As shown in Table 1, CB-PbRL achieves higher cumulative rewards than Safe RLHF across all seven tasks while maintaining comparable constraint costs and violation rates. These results demonstrate that the improvement arises from the proposed bi-level optimization framework rather than from access to richer supervision.
[C1] Dai, Josef, et al. "Safe rlhf: Safe reinforcement learning from human feedback." arXiv preprint arXiv:2310.12773 (2023).
[C2] Ji, Jiaming, et al. "Pku-saferlhf: Towards multi-level safety alignment for llms with human preference." Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2025.
W2, Q2: The proposed framework combines several components: bi-level optimization, reward-cost decomposition, Clarke approximation, and dual reformulation. Could the authors provide a focused ablation study removing or replacing each component?
Thank you for this suggestion. As described in Lines 325-330, our existing comparisons provide ablations of the bi-level optimization and reward-cost decomposition components. As clarified in our response to W1, Safe RLHF uses the same optimality-preference, constraint-preference, and constraint-classification labels as CB-PbRL in our experiments, but does not include the proposed bi-level optimization framework. Therefore, Safe RLHF serves as a supervision-matched ablation of the bi-level optimization component. PARL, on the other hand, incorporates bi-level optimization but learns only a reward function from standard preference labels. It can therefore be viewed as an ablation of the reward-cost decomposition and the associated constraint-learning component. Compared with PARL, CB-PbRL achieves both higher cumulative rewards and consistently lower constraint costs and violation rates across all seven tasks, demonstrating the benefit of reward-cost decomposition and constraint learning.
We further conducted focused ablations of the Clarke approximation and adaptive dual optimization on the HalfCheetah task. To remove the Clarke approximation, we replaced the two-gradient convex-hull update with the following hard active-set selection: we set and when ; otherwise, we set and , where . This variant selects a single one-sided gradient instead of constructing the Clarke approximation.
Because the dual reformulation is equivalent to the original constrained problem under strong duality, removing it while solving both formulations exactly would not change the underlying primal optimum. As a practical ablation of the dual component, we therefore removed the adaptive lower-level optimization of and fixed throughout training. This fixed-multiplier variant evaluates the benefit of adaptively solving the lower-level dual problem. The following table reports the cumulative reward (CR), cumulative cost (CC), and constraint violation rate (CVR) at the final environment step.
Table: Comparison of CR, CC, and CVR for ablations of the Clarke approximation and dual optimization on HalfCheetah.
| Method | CR | CC | CVR |
|---|---|---|---|
| CB-PbRL | |||
| CB-PbRL w/o Clarke | |||
| CB-PbRL with fixed |
W3, Q3: The paper introduces a two-gradient approximation to reduce computational cost, but the empirical section does not report practical efficiency. Could the authors provide wall-clock training time, memory usage, number of gradient steps, or scalability comparisons against the main baselines? This would help assess whether the method is practical beyond small simulation settings.
Thank you for this suggestion. We conducted an additional ablation on HalfCheetah by replacing the proposed two-gradient Clarke approximation with a five-gradient Clarke approximation. This ablation samples five differentiable points from the neighborhood, computes their hypergradients, and selects the minimum-norm element of their convex hull. The five-gradient Clarke approximation achieves a CR of , a CC of , and a CVR of , yielding similar performance to the two-gradient approximation (, , and , respectively).
We further compared the practical efficiency of CB-PbRL, its five-gradient variant, and the three main baselines. All methods used the same CPU hardware (an Intel Core i7-13700KF), an environment-interaction budget of steps, and the same trajectory-pair feedback budget (10 pairs per hypergradient calculation). The corresponding network components also used the same architectures: the SAC actor and critics, while the reward and cost models had hidden-layer sizes of . The reward and cost models, when applicable, were updated every 2,000 environment steps. We report the end-to-end wall-clock training time, peak memory usage, and reward/cost-model update frequencies below.
Table: Comparison of wall-clock training time, peak memory usage, and reward/cost-model update frequencies among CB-PbRL, its five-gradient Clarke variant, and the main baselines on HalfCheetah.
| Method | Time (h) | Memory (GB) | Reward/Cost updates |
|---|---|---|---|
| PEBBLE | Every 2,000 env. steps | ||
| Safe RLHF | Every 2,000 env. steps | ||
| PARL | Every 2,000 env. steps | ||
| Five-gradient Clarke | Every 2,000 env. steps | ||
| CB-PbRL | Every 2,000 env. steps |
As shown by the wall-clock time and peak-memory results, the current implementation of CB-PbRL is less scalable than the main baselines. In particular, exact hypergradient computation involves second-order information, which can be computationally expensive for very large models. This limitation could be mitigated using first-order hypergradient estimators [D1, D2], which avoid explicit second-order computation. Moreover, recent work has demonstrated that bi-level optimization can scale to large models [D2, D3]. We discussed these efficiency-enhancing techniques in Appendix J.
[D1] Kwon, Jeongyeol, et al. “A Fully First-Order Method for Stochastic Bilevel Optimization.” International Conference on Machine Learning. PMLR, 2023.
[D2] Pan, Rui, et al. “ScaleBio: Scalable Bilevel Optimization for LLM Data Reweighting.” Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2025.
[D3] Yu, Yang, et al. “LLM Data Selection and Utilization via Dynamic Bi-level Optimization.” arXiv preprint arXiv:2507.16178, 2025.
We apologize for the typo. The efficiency-enhancing techniques for improving scalability are discussed in Appendix M.
Thank you for the detailed rebuttal. Overall, the rebuttal addresses my questions and improves the clarity of the paper. However, my overall assessment remains unchanged, as I still believe that the additional supervision assumption and the practical efficiency limitations are important considerations. Therefore, I have decided to maintain my original score.
- Rating
- 2/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies the problem of constrained bilevel reinforcement learning and provides an algorithm that learn reward function and cost function in the outer loop. The paper obtains an expression for reward and cost function parameter by using Lagrange dual formulation for the inner level optimization problem. Further, the paper uses Clarke subdifferential to handle the cases when optimal Lagrange coefficient as a function of reward and cost parameter might not be differentiable. The proposed algorithm is evaluated on continuous control task against multiple baselines and outperforms the baselines w.r.t. cumulative reward metric for all the tasks. Moreover, the proposed algorithm achieves competitive cumulative cost metric score only being outperformed by Safe RLHF algorithm. The paper also provides convergence rate of O(\frac{1}{\sqrt{K}}) for the proposed algorithm.
Strengths and weaknesses
Strengths:
- The proposed algorithm outperforms all the baselines in all the task w.r.t cumulative reward metric. Moreover, it achieves competitive scores for cumulative cost metric and constraint violation rate for all the tasks.
- Theoretical convergence guarantee for the proposed algorithm is provided.
- The paper makes use of Clarke subdifferential to handle the non-differentiability of Lagrange coefficient and provides a proposition to check for non-differentiability for the practical algorithm.
Weaknesses:
- In Eq. 1, the constraints over such as and are not mentioned.
- From, the notations used in the paper it appears that non-parametric formulation for RL problem is used. This is the reason dual-formulation for the lower level yielded strong duality and helped in obtaining hypergradient expression. However, practical algorithm requires parametric setup. Hence the hypergradient expression obtained being used for practical algorithm is not justified.
- The statement that denote the optimal solution of dual problem (2) is inaccurate. Convex problem can still admit multiple solutions. Hence, a solution set should have been used.
- The assumption of uniqueness of solution of dual problem (2) raises concern over the validity of hypergradient defined in Eq. 7 and Eq.8. The hypergradient expression should have considered set-valued solution of dual problem (2).
- The Proposition 4.2 uses a condition to prove differentiability. However, the proof of the proposition proves the opposite implication. It proves that if differentiability holds then the condition it satisfied. The proof in its current form is not correct.
- It is shown through Lemma 3.1 that strong duality holds for the problem formulation. If strong duality holds, then the dual of the dual is the primal formulation. In section 4.1, what is the reason for obtaining the dual of the dual formulation?
- In the proposed algorithm, the hypergradient selection depends on the condition given in Proposition 4.2, which requires access to the optimal Lagrange coefficient. In the practical algorithm, only a suboptimal estimate of the optimal Lagrange coefficient is obtained. Can you please highlight in the convergence proof where the error in hypergradient selection due to a suboptimal Lagrange coefficient is handled?
- In section 4.1, the approximate subdifferential is defined when is not differentiable. However, the approximate subdifferential depends on , which in turn depends on the gradient of . This would make the subdifferential invalid.
Questions
Please refer to weaknesses.
Limitations
yes
Final justification
In light of my discussion with the author, I recommend rejection for the following reasons:
- The authors initially mentioned that their formulation works for a parametric actor. Later, changed their position to a non-parametric actor in the discussion. This shows the problem formulation is not well defined. The difference between parametric and non-parametric analysis is substantial and should be clear from the problem formulation.
- The authors substantially change Proposition 4.2, which provides a differentiability test. The differentiability test is a fundamental part of the algorithm. Hence, the manuscript requires major revision.
- The authors claim that they are taking the convex hull even if \lambda* is not differentiable in the neighborhood, even though it is differentiable at the center of the neighborhood. Differentiability at the center eliminates the need for a differentiability check. Hence, the use of the convex hull is not justified.
Formatting concerns
None
8 comments
Rebuttal
Thank you for your detailed and insightful review. Discussing these points will help us improve and clarify our work.
W1: In Eq. 1, the constraints over such as and are not mentioned.
In this paper, we consider the policies are soft Bellman policy [A1] with the form and $ V^{soft}(s) = \ln \int_{a \in A} \exp (Q^{soft}(s ,a)) da$. Since the exponential functions and are positive, . Meanwhile, as $\int_{\mathcal A} \pi(a | s) da = \frac{ \int_{\mathcal A} \exp(Q^{\mathrm{soft}}(s,a))da }{ \exp(V^{\mathrm{soft}}(s)) }
1.$ Two constraints are satisfied. A detailed verification is provided in Appendix D. We will explicitly state these two conditions alongside Eq. (1) in the revised manuscript.
[A1] Haarnoja, Tuomas, et al. "Reinforcement learning with deep energy-based policies." International conference on machine learning. PMLR, 2017.
W2: From, the notations used in the paper it appears that non-parametric formulation for RL problem is used. However, practical algorithm requires parametric setup. Hence the hypergradient expression obtained being used for practical algorithm is not justified.
We would like to clarify that our formulation does not require the implemented policy to be non-parametric. The policy can be represented parametrically in practice, while our notation suppresses the actor parameters. For each fixed , our formulation requires the policy solver to return the corresponding optimal soft Bellman policy $ \pi_{\phi,\psi,\lambda} = \arg\max_{\pi} \left[ J_{r_\phi}(\pi)+\mathcal H(\pi) -\lambda J_{c_\psi}(\pi) \right]. $ In the practical implementation, the RL algorithm serves as a numerical solver that approximates this policy. Its actor parameters are internal to the solver rather than decision variables in the bi-level formulation. Accordingly, the actor updates remain internal to the RL solver: the upper-level hypergradients update , while the lower-level dual gradient updates . We therefore do not differentiate through the actor parameter.
W3: The statement that denote the optimal solution of dual problem (2) is inaccurate. Convex problem can still admit multiple solutions.
Thank you for pointing this out. We agree that convexity alone does not guarantee a unique solution. Our argument proceeds in two steps. First, Lemma 3.1 establishes strong duality, showing that the primal constrained RL problem and dual problem (2) have the same optimal value. Second, Appendix H establishes that the dual objective is strongly convex in , with $ \nabla_{\lambda\lambda}^{2}G(\lambda;\phi,\psi) \geq \mu_l>0. $ Therefore, dual problem (2) admits a unique optimal solution. In the revised manuscript, we will explicitly state this strong-convexity result and refer to Appendix H when introducing
W4: The assumption of uniqueness of solution of dual problem (2) raises concern over the validity of hypergradient defined in Eq. 7 and Eq.8. The hypergradient expression should have considered set-valued solution of dual problem (2).
As clarified in our response to W3, Appendix H establishes that the lower-level optimization problem is strongly convex in . Therefore, it admits a unique solution , and the hypergradients in Eqs. (7) and (8) are defined with respect to this unique solution.
W5: The Proposition 4.2 uses a condition to prove differentiability. However, the proof of the proposition proves the opposite implication. It proves that if differentiability holds then the condition it satisfied. The proof in its current form is not correct.
Thank you for pointing this out. There is also a typo in Proposition 4.2: and should be and , respectively.
We will revise the proof as follows. Under the smoothness and strong-convexity conditions in Appendices H and I, the KKT solution mapping is locally Lipschitz. Let and denote the local Lipschitz constants of and on , respectively. Hence, for every ,
We choose such that
and
Therefore, the condition $ \lambda^* (\phi ,\psi)> \bigl(||\nabla_\phi\lambda^* (\phi ,\psi)||+\delta\bigr)\epsilon $ guarantees that throughout the neighborhood and is continuously differentiable throughout the neighborhood.
Similarly, the condition $ \nu(\phi,\psi)> \bigl(||\nabla_\phi\nu(\phi,\psi)||+\delta\bigr)\epsilon $ guarantees that throughout the neighborhood. Complementary slackness consequently forces throughout the neighborhood. Thus, is locally constant and therefore continuously differentiable.
Proposition 4.2 therefore certifies differentiability when either
is maintained throughout the neighborhood. The potentially non-differentiable case is excluded by these sufficient conditions. The argument with respect to is analogous. This revised proof establishes the intended implication from the stated conditions to differentiability.
W6: In section 4.1, what is the reason for obtaining the dual of the dual formulation?
Thank you for raising this question. In Section 4.1, we introduce the Lagrangian associated with the constraint in problem (2), and the Lagrangian is introduced only to express the KKT conditions $ \lambda^* \geq0, \qquad \nu\geq0, \qquad \nu\lambda^* =0. $ These conditions allow us to distinguish between the regimes and , and thereby analyze whether the solution mapping is differentiable on the neighborhood.
W7: Can you please highlight in the convergence proof where the error in hypergradient selection due to a suboptimal Lagrange coefficient is handled?
Thank you for pointing this out. Our convergence analysis uses a uniform worst-case error bound at every outer iteration , regardless of whether the exact-hypergradient branch or the approximate-subdifferential branch is selected. In particular, the exact hypergradient corresponds to in $S_{\phi,k} =\lbrace \kappa H_{\phi,k} + (1-\kappa)\nabla_\phi F_k: \kappa\in[0,1] \rbrace$ at each outer iteration , and is therefore a special element of the same approximate set. Consequently, the proof treats every iteration as an approximate-subdifferential step and assigns the worst-case error , even when the exact hypergradient is selected.
The additional error caused by using the inexact lower-level solution is bounded by $C_\lambda ||\lambda_k-\lambda_k^* ||, $ using the Lipschitz continuity of the hypergradient with respect to . Hence, the total error used in Line 699 of Appendix J is $ E_k = C_s\epsilon + C_\lambda ||\lambda_k-\lambda_k^* ||.$
This bound applies to either branch and therefore also covers an incorrect branch selection caused by the inexact multiplier. Even if the hypergradient-selection error is included explicitly, it only changes the constant in and does not affect the resulting convergence rate. This is because the selection error is bounded by and can therefore be absorbed into . We will revise Appendix J to state this worst-case argument explicitly.
W8: In section 4.1, the approximate subdifferential is defined when is not differentiable.
Thank you for raising this concern. We clarify that the non-differentiability considered in Section 4.1 is defined over the neighborhood , rather than necessarily at the center point . Specifically, the conditions in Proposition 4.2 certify that is continuously differentiable at every point in . When these sufficient conditions are not satisfied, the neighborhood may contain a nondifferentiable point, but this does not imply that is nondifferentiable at the current point .
Accordingly, in Eq. (9) is evaluated at the current differentiable point and is used to approximate the convex hull of the hypergradients at differentiable points in . If the center point itself is non-differentiable, we sample a nearby differentiable point in for the calculation. Thus, uses only gradients evaluated at differentiable points, consistent with the definition of the Clarke subdifferential [B1]. Specifically, for a locally Lipschitz function $f(x): \mathbb{R}^n \to \mathbb{R} $, the Clarke subdifferential at a point is defined as .
[B1] Clarke, Frank H. "Generalized gradients and applications." Transactions of the American Mathematical Society 205 (1975): 247-262.
Thank you for response from the authors.
W1. If the soft Bellman policy is used, what are the parameters used for the policy ? Further, we never have access to true Q-value or value function. How will the relation between true Q-value and value function be enforced for the estimated Q-value and value function. Consequently, it will be difficult to enforce with estimated value functions.
W2. The policy being parametric or non-parametric makes a huge difference. For non-parametric policy the entropy regularized objective function has unique optimal solution. While for parametric policy the optimal solution may not be unique. The bilevel RL problem is specially sensitive to the uniqueness of lower-level solution. Non-unique lower-level solution set are not easy to handle and requires special condition to justify their continuity or stability. Hence, it is very crucial that problem formulation section and specially Eq. 1 specify the policy parameters.
W3. I am not sure why the initial part of the proof in Appendix H is relevant to the result. The main component seems to the Lemma 9 from [22]. However, It is not very clear from the proof why the conclusion of Lemma 9 from [22] would be applicable here. The objective function is different for [22]. Further, it appears that [22] has non-parametric policy. So their results will not be applicable for your parametric setup.
W5: Did you mean that you will replace the proof of proposition 4.2 or you will add the proof in the response to the existing proof of proposition 4.2 ? If it is the former then the jump from 1st step to 2nd is not explained. How did the gradient appear? If it is the latter, you are using mean-value theorem which assumed the function is differentiable. Therefore cannot be used to provide a condition that checks differentiability. Further, the condition provided in the proposition should be a test of differentiability in the region. However, as part of the condition we obtain gradient in the region and then certify differentiability. If we are already have access to the gradient in the region then there is no need for the condition.
W6: How does distinguishing between the regime help? The two regime appear because of strict complementarity assumption. Why would strict complementarity hold by default in your setting ?
W7: Exact hypergradient and approximate hypergradient are two different gradient directions. There are issues in the convergence proof of Theorem 5.3. L-smoothness property of F is used for convergence. However, L-smoothness of F is a formal assumption or there is a lemma mentioned to prove so. Further, notations are not properly defined. is not defined. If the first order convergence guarantee is on . Why in the line 701, second term on RHS not reflect that. Further, result on line 699 is very sudden and needs a prior lemma.
W8: First of all neighborhood around a point always includes the point. Even if that fact is excused, the function is differentiable at the point why are you even checking the neighborhood. Also, then there is no case considered where the is non-differentiable at .
There are still serious issues with the technical rigor of the paper, specially with respect to the problem formulation and convergence proof. I am still looking forward to clarification regarding the same.
W1: If the soft Bellman policy is used, what are the parameters used for the policy? Further, we never have access to true Q-value or value function. How will the relation between true Q-value and value function be enforced for the estimated Q-value and value function. Consequently, it will be difficult to enforce with estimated value functions.
Thank you for pointing this out. We clarify that the theoretical policy is non-parametric, whereas the experiments use a parametric SAC policy. The theoretical policy is characterized by$V^{\mathrm{soft}}(s)= \log \int_{\mathcal A} \exp(Q^{\mathrm{soft}}(s,a)),da,$ and $\pi(a\mid s)= \exp( Q^{\mathrm{soft}}(s,a)-V^{\mathrm{soft}}(s)).$
Thus, the theoretical policy is nonnegative and normalized by definition.
We agree that the true Q-value and value function are not accessible. For the current actor and twin critics and , the soft value is defined implicitly as \widehat V(s)=\mathbb{E}_{a \sim\pi_{\theta}(\cdot\mid s)}[\min_\{i=1,2}\widehat Q_{\omega_i}(s,a)- \log \pi_{\theta} (a\mid s)]. Thus, the relation between and follows directly from this definition, while minimizing the standard SAC temporal-difference loss makes the critics approximately satisfy the soft Bellman equation. As in standard SAC methods, this consistency is approximate under finite samples and function approximation.
In the implementation, denotes the SAC actor parameters, while and denote the parameters of the two critics. These parameters are distinct from . Importantly, the practical policy is not constructed as The SAC actor is itself a normalized probability distribution. Hence, holds by construction and does not depend on an estimated value function.
Using a parametric actor to approximate a theoretical non-parametric policy is standard in RL [A1-A3]. We will explicitly clarify this theory and implementation distinction in the revised manuscript.
[A1] Haarnoja, Tuomas, et al. “Reinforcement Learning with Deep Energy-Based Policies.” International Conference on Machine Learning. PMLR, 2017.
[A2] Schulman, John, et al. “Trust Region Policy Optimization.” International Conference on Machine Learning. PMLR, 2015.
[A3] Nachum, Ofir, et al. “Bridging the Gap Between Value and Policy Based Reinforcement Learning.” Advances in Neural Information Processing Systems 30, 2017.
W2: The policy being parametric or non-parametric makes a huge difference. For non-parametric policy the entropy regularized objective function has unique optimal solution. While for parametric policy the optimal solution may not be unique. The bilevel RL problem is specially sensitive to the uniqueness of lower-level solution. Non-unique lower-level solution set are not easy to handle and requires special condition to justify their continuity or stability. Hence, it is very crucial that problem formulation section and specially Eq. 1 specify the policy parameters.
Thank you for raising this important distinction. Our theoretical formulation is defined over the non-parametric policy space, whereas the experiments use a parametric SAC actor as a numerical approximation to the theoretical soft policy. The hypergradients are estimated from trajectories sampled from the current actor, and we do not differentiate through the actor parameters.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for summarizing the main concerns. We have responded to each of them in our detailed rebuttal to the reviewers.
Regarding JLxn's concerns about the proofs, we clarify that the uniqueness of λ∗(ϕ,ψ) follows from the strong convexity established in Appendix H, rather than from convexity or strong duality alone. We also correct Proposition 4.2 and its proof, clarify the role of the KKT formulation in Section 4.1, and explain that our existing convergence analysis already accounts for errors arising from the inexact lower-level solution and hypergradient selection. We will make this treatment more explicit in Appendix J.
Regarding 4kM7's concerns, we acknowledge that CB-PbRL requires additional judgments, although all labels are obtained from the same trajectory pairs. Similar multidimensional optimality/safety annotation protocols have been used in the literature. We also provide ablation studies of the bi-level optimization, reward-cost decomposition, Clarke approximation, and dual optimization components.
We further provide HalfCheetah results reporting wall-clock time, peak memory usage, and reward/cost-model update frequency, together with a comparison between the CB-PbRL and five-gradient Clarke approximations. These results clarify the performance-efficiency trade-off. We also discuss the scalability limitation in Appendix M.
Finally, in response to zHPf, we clarify that the specific challenges of applying bi-level optimization to constrained PbRL arise from the non-convexity of the original lower-level policy-optimization problem and the non-differentiability of the dual solution mapping caused by the constraint λ≥0. We also distinguish our constrained reward-cost formulation from direct preference optimization without reward modeling and discuss the relevant literature.
We will acknowledge the absence of a human-subject study as a limitation and consider it an important direction for future work.