[Paper Review] Reinforcement Learning with Convex Constraints
We introduce APPROPO, a framework that enables reinforcement learning under arbitrary convex constraints by casting constraint satisfaction as a Blackwell-style approachability game and solving it with Online Convex Optimization. The method modularly combines any RL algorithm that optimizes scalar rewards with a no-regret learner over constraint measures to achieve feasibility and, when feasible, minimize distance to the constraint set.
In standard reinforcement learning (RL), a learning agent seeks to optimize the overall reward. However, many key aspects of a desired behavior are more naturally expressed as constraints. For instance, the designer may want to limit the use of unsafe actions, increase the diversity of trajectories to enable exploration, or approximate expert trajectories when rewards are sparse. In this paper, we propose an algorithmic scheme that can handle a wide class of constraints in RL tasks: specifically, any constraints that require expected values of some vector measurements (such as the use of an action) to lie in a convex set. This captures previously studied constraints (such as safety and proximity to an expert), but also enables new classes of constraints (such as diversity). Our approach comes with rigorous theoretical guarantees and only relies on the ability to approximately solve standard RL tasks. As a result, it can be easily adapted to work with any model-free or model-based RL. In our experiments, we show that it matches previous algorithms that enforce safety via constraints, but can also enforce new properties that these algorithms do not incorporate, such as diversity.
Motivation & Objective
- Motivate learning goals that are better expressed as vector-valued measurements rather than a single scalar reward (e.g., safety, exploration diversity).
- Develop a general algorithmic framework that handles arbitrary convex constraints on long-term measurements in RL tasks.
- Provide theoretical guarantees (sublinear regret and distance-to-set convergence) and practical guidance for implementation.
Proposed method
- Formulate the problem as finding a mixed policy whose long-term measurement vector lies in a convex constraint set C (feasibility problem).
- Cast dist(z(µ), C) as max over a dual cone to obtain a zero-sum game between a policy-player and a constraint-player.
- Use a no-regret online learner (OGD) for the constraint-player and a best-response oracle that solves standard RL with scalar reward r = −λ · z for the policy-player.
- Implement APPROPO by iteratively selecting λ, solving for πt via BESTRESPONSE, estimating z(πt) with EST, and updating λ with online gradient descent projected onto the polar cone of C.
- Handle general convex (not just orthant) constraints by using the polar cone Λ = C◦ ∩ B and a projection-based update.
- Provide extensions to non-cone convex sets by lifting to a cone via conic hull constructions and show corresponding guarantees.
Experimental results
Research questions
- RQ1Can RL with arbitrary convex constraints be solved by a game-theoretic reduction to approachability?
- RQ2How can a no-regret learner be combined with standard RL solvers to enforce vector-valued constraint satisfaction?
- RQ3What theoretical guarantees (regret bounds, convergence to the constraint set) can be established for APPROPO?
Key findings
- APPROPO yields a mixed policy whose long-term measurements approximate the target convex constraint set up to a sublinear regret term.
- For feasible problems, APPROPO ensures dist(z(¯µ), C) converges to zero with a rate governed by the regret of the online learner and estimation errors.
- Experiments on a Mars rover grid-world show APPROPO matches RCPO on orthant constraints and can enforce a diversity constraint not possible with RCPO.
- The framework is compatible with common RL methods (e.g., actor-critic) and can exploit a positive-response oracle to solve the feasibility problem.
- When extending to general convex sets, conic lifting provides guarantees that approximate minimization of distance to C remains achievable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.