논문 해설
How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models?
라그랑주 함수는 확산 모델을 통한 안전한 강화학습을 어떻게 안내하는가?
- 연구 문제 표준 라그랑주 함수를 확산 역과정의 에너지로 쓰면 에너지 지형의 비볼록성과 승수 진동 때문에 온라인 안전 강화학습의 정책 생성과 학습이 불안정해질 수 있습니다.
- 연구 방법 ALGD는 표준 라그랑주 대신 2차 페널티를 더한 증강 라그랑주를 확산 score 목표의 에너지로 사용하고, 비용 critic 앙상블과 몬테카를로 가중 추정으로 score 네트워크를 학습합니다.
- 주요 결과 원문은 Safety-Gym과 속도 제약 MuJoCo 비교에서 ALGD가 경쟁력 있는 보상과 낮은 비용을 보였고, 증강 라그랑주가 이중 변수의 진동을 줄였다고 보고합니다.
온라인 안전 강화학습에서 확산 정책이 겪는 문제
확산 정책은 가우시안보다 다양한 다중모드 행동 분포를 표현할 수 있어 강화학습의 정책 표현으로 주목받아 왔습니다. 그러나 기존 확산 기반 강화학습 연구는 주로 고정된 오프라인 데이터셋에서 보상을 최대화하는 설정에 머물러 있으며, 온라인 환경에서 안전 제약을 함께 다루는 연구는 제한적입니다. 이 논문은 이 공백을 대상으로, 제약 최적화에서 흔히 쓰는 라그랑주 함수를 확산 역과정의 에너지로 직접 사용할 때 무엇이 불안정해지는지를 문제로 삼습니다.
원문은 primal-dual 방법이 온라인 학습에서 비용 추정, 정책 최적화, 이중 변수 갱신이 강하게 얽혀 불안정해질 수 있다고 설명합니다. 여기에 확산 모델을 결합하면 표준 라그랑주 함수의 비볼록한 에너지 지형이 score 필드를 흔들고, 승수 λ의 진동이 Boltzmann 분포까지 흔든다는 것이 저자들의 핵심 진단입니다. 따라서 이 연구의 질문은 확산 정책의 표현력을 살리면서도 제약 최적화의 안정성을 얻을 수 있는지에 있습니다.
증강 라그랑주 함수로 에너지 지형을 국소적으로 볼록하게 만들기
ALGD의 핵심은 표준 라그랑주 함수 L 대신 증강 라그랑주 함수 LA를 확산 과정의 에너지로 사용하는 것입니다. 원문은 LA를 −Q(s,a)와 λ 및 비용 Q 추정치 Qc(s,a)에 대한 hinge 형태의 2차 페널티 항으로 정의합니다. 페널티 계수 ρ가 클수록 제약 경계 근처의 곡률이 커지며, 저자들은 이 항이 제약이 활성인 영역에서 ∇aQc ∇aQc의 양의 준정부호 곡률을 더한다고 설명합니다.

Figure 1 .Visualization of energy landscapes for a differential-drive mobile robot (Contreras et al., 2017) after 100 training episodes based on our methods (see the two algorithms implementation in Appendix E).Top:The landscape of standard Lagrangian in- duces a highly irregular and non-convex energy surface with sharp curvature, reflecting unstable denoising dynamics.Bottom:The landscape of augmented Lagrangian yields a smoother and locally convexified energy landscape, effectively regularizing the score field. In both contour plots, thewhite circleindicates the safe policy region, within which policies satisfy the safety constraints.
원문 · CC BY 4.0 · Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu · How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models? · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.정리 3.2의 (b)는 최적 승수 λ*에서 제약 여유가 있는 행동에 대해 LA와 L이 일치하므로 최적 목적값과 최적 Boltzmann 정책 분포가 보존된다고 주장합니다. 이 결과는 증강 항이 에너지 지형을 재구성하지만 최적 정책 분포를 바꾸지 않는다는 주장의 근거입니다. 원문은 정리의 곡률 증가가 제약이 활성인 국소 영역에서만 일어나며, 제약이 비활성인 영역에서는 페널티 항이 사라진다고 명시합니다.
학습 측면에서는 score 목표를 몬테카를로 가중 평균으로 근사합니다. 가우시안 제안분포에서 샘플한 행동에 대해 exp(−LA/β)로 가중하고, 그 기울기로 score 네트워크를 학습합니다. 실행 시에는 학습된 score 네트워크가 역방향 확산 샘플링으로 행동을 생성하므로 몬테카를로 계산은 실행 경로에 들어가지 않습니다. 비용 Q 추정치는 M개의 비용 critic 앙상블을 평균한 값으로 사용됩니다.
안정성 이론과 근사 오차 분석
원문은 두 종류의 이론 결과를 제시합니다. 첫째, 정리 3.2는 증강 항이 제약 활성 영역의 곡률을 키워 에너지 지형을 국소적으로 볼록하게 만들고, 최적 정책 분포를 보존한다는 점을 보입니다. 둘째, 정리 3.3은 샘플링된 확산 정책 분포와 목표 Boltzmann 분포 사이의 KL 발산이 확률 1−2δ로 상한을 가진다고 주장합니다. 이 상한은 분포 차이 항과 N개 몬테카를로 샘플에서 발생하는 오차 항으로 구성됩니다.
원문은 몬테카를로 오차 항이 N이 커질수록 감소한다고 설명하며, 근사 오차가 0으로 갈 때 분포 차이가 O(ε²/β²+ε²/β³+ε²/β⁴) 형태로 줄어든다는 따름정리를 제시합니다. 이 분석은 주로 정상 상태의 근사 오차와 샘플링 오차를 다루며, 온라인 학습 전체의 표본 복잡도나 수렴 속도를 보장하지는 않습니다.
Safety-Gym과 MuJoCo 비교 결과
실험은 Safety-Gym 벤치마크와 속도 제약이 있는 MuJoCo 벤치마크에서 수행되었습니다. 비교군은 primal-dual 계열인 SAC+Lag, SAC+AugLag, PPO+Lag, CAL과 hard-constrained 계열인 HJ입니다. 원문은 ALGD가 경쟁력 있는 보상을 보이면서 비용을 더 낮게 유지하고, 테스트 시 제약 임계값을 대부분의 과제에서 만족한다고 보고합니다.

Figure 3 .Comparison of performance across Safety-Gym and MuJoCo benchmarks. For each benchmark, the first row reports the evolution of test reward versus environment steps, the second row shows the corresponding test safety cost (with the dashed line indicating the cost budget), and the third row presents box plots of the training cost distribution over four equal step intervals. Overall, ALGD achieves competitive rewards while exhibiting improved stability and safety compared to baselines.
원문 · CC BY 4.0 · Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu · How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models? · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Figure 5 .Task environments used in our experiments. Top row: Safe-Gym manipulation and navigation tasks, including Point Button, Car Button, and Point Push, which require the agent to accomplish goal-oriented behaviors while satisfying safety constraints such as obstacle avoidance and region constraints. Bottom row: Velocity-constrained MuJoCo locomotion tasks, including HalfCheetah, Hopper, Ant, and Humanoid, where agents must learn stable and efficient locomotion policies under explicit velocity limits and safety-related constraints.
원문 · CC BY 4.0 · Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu · How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models? · 원문 그림 인용 · 원본 PDF 27쪽에서 그림 영역을 추출했습니다.
Figure 6 .Comparisons with on-policy baselines on Safety-Gym (top half) and velocity-constrained MuJoCo (bottom half). In general, compared with the on-policy baselines, ALGD achieves competitive returns while demonstrating improved sample efficiency and stronger safety performance.
원문 · CC BY 4.0 · Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu · How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models? · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.안정성 분석에서는 표준 라그랑주와 증강 라그랑주의 학습 곡선을 비교합니다. 원문은 증강 라그랑주를 쓸 때 이중 변수 λ의 진동이 줄고, 정책이 안전 임계값에 더 빨리 도달했다고 보고합니다. 다만 SAC에 증강 라그랑주를 단순히 추가하는 것은 일관된 개선을 주지 않았다고 설명합니다. 이 결과는 원문이 제시한 특정 과제·비교군·앙상블 설정에 해당하며, 다른 모델이나 데이터에 그대로 일반화된 결과는 아닙니다.

Figure 10 .Full comparative analysis of training stability between the standard Lagrangian (yellow) and the augmented Lagrangian (blue). (Top) Evaluation rewards; (Middle) Dual variableλ updates; (Bottom) Average constraint violation (calculated asmax(0, c(s)−h)). The augmented formulation directly addresses the oscillation of dual variables (L2) and the instability of the induced Boltzmann distribution (L3) by regularizing the local curvature of the energy landscape. This results in more stable denoising dynamics and dual updating, allowing the policy to reach the safety threshold significantly faster and with zero dual variables.
원문 · CC BY 4.0 · Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu · How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models? · 원문 그림 인용 · 원본 PDF 32쪽에서 그림 영역을 추출했습니다.절제 실험에서 원문은 몬테카를로 샘플 수 N을 바꾸면 학습이 더 안정되고 성능이 개선된다고 보고하며, 비용 critic 앙상블 크기 M에 대해서도 M=1에서도 안정성을 보인다고 설명합니다. 또한 ρ는 0.5에서 2 범위가 안정적이라고 보고하며, 너무 작거나 큰 ρ가 각각 불안정성과 탐색 붕괴를 낳는다는 결과도 제시합니다.

Figure 4 .Ablation Studies of Monte Carlo sample size N. Due to the space limitation, see full results in Figure 7 in Appendix F.5.
원문 · CC BY 4.0 · Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu · How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models? · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.적용 범위와 남은 한계
원문은 ALGD에 대해 정식 샘플 복잡도나 유한 표본 수렴 보장을 제공하지 않는다고 명시합니다. 이중 변수 갱신, 함수 근사, 확산 과정의 결합 동역학을 함께 다루는 엄밀한 이론은 향후 과제로 남아 있습니다. 또한 실험 평가는 시뮬레이션 환경으로 제한되어 있으며, 부분 관측, 모델 불일치, 시스템 지연이 있는 실제 안전 중요 응용은 이 논문의 검증 범위 밖입니다.
정리 3.2와 3.3은 가정과 조건을 명시한 결과입니다. 예를 들어 실현 가능한 제약 문제, 최적 승수, 근사 오차 ε 등의 조건 아래에서만 성립합니다. 이 결과를 임의의 안전 강화학습 문제나 모든 확산 정책에 그대로 적용하는 것은 원문이 보장하는 범위를 넘어섭니다.
논문 정보
- 저자
- Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 2월 2일
- 등록일
- 2026년 10월 29일
- 수정일
- 2026년 5월 5일
- 버전
- v2
- arXiv
- 2602.02924
- 분류
- cs.LG · eess.SY
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Diffusion policy sampling enables reinforcement learning (RL) to represent multimodal action distributions beyond suboptimal unimodal Gaussian policies. However, existing diffusion-based RL methods primarily focus on offline settings for reward maximization, with limited consideration of safety in online settings. To address this gap, we propose Augmented Lagrangian-Guided Diffusion (ALGD), a novel algorithm for off-policy safe RL. By revisiting optimization theory and energy-based model, we show that the instability of primal-dual methods arises from the non-convex Lagrangian landscape. In diffusion-based safe RL, the Lagrangian can be interpreted as an energy function guiding the denoising dynamics. Counterintuitively, direct usage destabilizes both policy generation and training. ALGD resolves this issue by introducing an augmented Lagrangian that locally convexifies the energy landscape, yielding a stabilized policy generation and training process without altering the distribution of the optimal policy. Theoretical analysis and extensive experiments demonstrate that ALGD is both theoretically grounded and empirically effective, achieving strong and stable performance across diverse environments.
원문 인용
Xiaoyuan Cheng, Wenxuan Yuan, Boyang Li, Yuanchao Xu, Yiming Yang, Hao Liang, Bei Peng, Robert Loftin, Zhuo Sun, Yukun Hu (2026). How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models?. arXiv:2602.02924v2. https://arxiv.org/abs/2602.02924v2
BibTeX
@misc{cheng2026does,
title = {{How Does the Lagrangian Guide Safe Reinforcement Learning through Diffusion Models?}},
author = {Xiaoyuan Cheng and Wenxuan Yuan and Boyang Li and Yuanchao Xu and Yiming Yang and Hao Liang and Bei Peng and Robert Loftin and Zhuo Sun and Yukun Hu},
year = {2026},
eprint = {2602.02924},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2602.02924v2}
}