# CS-Pi: Constraint-Satisfying Flow Policy Sampling

CS-Pi: 제약 조건을 만족하는 플로우 정책 샘플링

Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · arXiv · 2026년 11월 5일

- **연구 문제** 배포 시점에 주어지는 안전 제약을 만족하면서도, 정책이 학습한 그럴듯한 행동을 버리지 않는 샘플링이 필요합니다.
- **연구 방법** CS-Pi는 정책 draw를 안전 집합에 투영해 앵커를 만들고, 투영 잔차에 따라 재노이즈한 뒤 수정되지 않은 정책을 다시 실행하는 반복 샘플러입니다.

## 배포 시 제약과 정책 분포 보존의 충돌

플로우 매칭 정책은 학습 데모에 없던 안전 제약을 배포 시점에 만날 수 있습니다. 재학습은 새 제약마다 현실적이지 않으므로 제약은 추론 시점에 강제되어야 합니다. 이때 제약을 강제하는 과정이 정책이 학습한 행동 분포를 버리면 안 됩니다. 원문은 정책이 거의 샘플하지 않는 행동이 장애물을 피하더라도 과제를 실패할 수 있다는 점을 들어, 안전성과 그럴듯함을 함께 요구합니다. 기존 gradient guidance는 노이즈 상태에서 깨끗한 행동의 proxy에 비용 기울기를 적용하며, 정책이 두 모드 사이에서 불확실할 때 proxy가 장애물을 관통하는 평균이 될 수 있습니다. 이 논문은 이 한계를 다루는 샘플러를 제안합니다.

## 투영과 재노이즈를 반복하는 CS-Pi

CS-Pi는 정책에서 깨끗한 행동 draw를 얻은 뒤, 그 draw를 안전 집합 C에 투영해 앵커를 만듭니다. 투영 잔차 δ는 현재 draw와 투영 사이의 거리이며, 원문은 n=k/(k+δ)로 재노이즈 시점을 정하고 σ=δ/k로 대응시킵니다. 앵커를 n 시점까지 재노이즈한 뒤 수정되지 않은 정책을 그 시점부터 다시 적분하여 다음 draw를 얻습니다. δ가 허용 오차 τ 이하가 되면 그 draw를 반환합니다. k가 작으면 재노이즈가 강해져 rejection에 가까워지고, k가 크면 투영에 가까워집니다. 연속 비용에서는 투영 대신 근접 연산자가 앵커를 제공하며, 하드 제약과 연속 비용은 같은 draw에 순서대로 적용됩니다.

한편 Proposition 1은 한 반복에 대한 조건부 분포를 정확한 사후 재디노이징 가정 아래에서 제시하며, 이는 반복 수렴 증명이나 정상 분포를 뜻하지 않습니다.

![Figure 2: Sampling a safe action from a flow-matching policy. Gradient guidancesteers each denoising step with a cost gradient evaluated at a proxy and can sti…](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667/figures/figure-9e6908338e92c7f36533e1e053999977.png?thumb=512)

**Figure 2** :Sampling a safe action from a flow-matching policy. Gradient guidancesteers each denoising step with a cost gradient evaluated at a proxy and can still violate the constraint.Projec- tionmoves the draw to the safe set, yielding an action the policy would rarely sample.Rejection samplingredraws from pure noise until a draw is safe.CS-Piprojects the draw, renoises the pro- jection to timen=k/(k+δ)set by the projection residualδ(largerδrenoises more), and re-runs the policy until a draw is safe and plausible.

[원문](https://arxiv.org/abs/2611.08654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · CS-Pi: Constraint-Satisfying Flow Policy Sampling · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 반복 한계와 종료 투영

CS-Pi는 K\_max 반복 뒤에도 허용 오차 안의 draw를 보장하지 않습니다. 원문은 그 경우 마지막 draw의 안전성 문제와 종료 투영의 낮은 그럴듯함 사이에서 선택이 필요하다고 밝힙니다. 종료 투영을 쓰면 실행 행동은 C 안에 있지만, 원문은 그 행동의 정책 하 가능성이 낮을 수 있다고 설명합니다. 또한 CS-Pi는 투영과 근접 연산자를 정확히 계산할 수 있다는 가정을 요구하며, 하드웨어에서는 장면 추정 오류가 C를 부정확하게 만들 수 있습니다.

## 2D와 선반 과제의 비교 결과

원문은 CS-Pi와 projection이 같은 L-BFGS 근접 단계를 공유하므로 차이가 반복 루프에서 온다고 해석합니다. 이 결과는 해당 시뮬레이션 과제와 설정에서 얻은 것입니다.

![Figure 3: 2D AVOIDANCEtrajectory distributions, one scenario per method.20rollouts overlaid on the demonstration support (shaded); the obstacles are outlined.…](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667/figures/figure-dae433ce2c7277b7672d6b27ffa55dc9.png?thumb=512)

**Figure 3** :2D AVOIDANCEtrajectory distributions, one scenario per method.20rollouts overlaid on the demonstration support (shaded); the obstacles are outlined. Gradient guidance and Trust Sampling visibly leave the support to reach the goal or cut through the obstacle; rejection stays on-support but only a few draws survive;CS-Pikeeps every trajectory in-distribution while routing around the obstacle. The other five scenarios are in App. D.

[원문](https://arxiv.org/abs/2611.08654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · CS-Pi: Constraint-Satisfying Flow Policy Sampling · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Table 1: 2D AVOIDANCE, macro over six scenarios(200rollouts per cell; best hyperparameter per method).Safe-SR: rollouts reaching the goal collision-free.fully-…](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667/figures/figure-6f6fbf5801f548dcb1736da3ff453488.png?thumb=512)

**Table 1** :2D AVOIDANCE, macro over six scenarios(200rollouts per cell; best hyperparameter per method).Safe-SR: rollouts reaching the goal collision-free.fully-in-supp.: fraction of rollouts whoseeverywaypoint lies inside the demonstration support.logL: mean log-likelihood underπ θ.

[원문](https://arxiv.org/abs/2611.08654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · CS-Pi: Constraint-Satisfying Flow Policy Sampling · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Table 2: Shelf pick-and-place,5scenarios,150tasks (30/scenario).Safe-SR: collision-free roll- outs that pick and place the cube.logL: mean log-likelihood under…](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667/figures/figure-5870312db623b986eae7eef9681c0daa.png?thumb=512)

**Table 2** :Shelf pick-and-place,5scenarios,150tasks (30/scenario).Safe-SR: collision-free roll- outs that pick and place the cube.logL: mean log-likelihood underπ θ (nats/dim; the unconstrained policy scores15.02). NFE: flow-model calls per trajectory. †Median: a few diverged SafeDiffuser chunks make its mean uninformative.

[원문](https://arxiv.org/abs/2611.08654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · CS-Pi: Constraint-Satisfying Flow Policy Sampling · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 실제 Franka 배포 결과

실제 Franka FR3 실험은 π0.5 정책을 zero-shot으로 사용하여 사과를 집어 파란 접시에 놓는 과제에서 수행되었습니다. 장애물 경계상자는 ZED 2 RGB-D 파이프라인에서 얻었으며, 레이아웃당 10회 시도를 비교했습니다. 원문은 이 실험이 소표본이라고 밝히므로, 이 결과는 두 레이아웃의 작은 실행에서 얻은 것입니다.

![Figure 4: Hardware rollouts; frames run left-to-right within each strip.Green-bordered strips areCS-Pi, which enforces the deployment-time obstacle constraint…](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667/figures/figure-8fba4c4ba7eebed6a3272267d8cd0a29.png?thumb=512)

**Figure 4** :Hardware rollouts; frames run left-to-right within each strip.Green-bordered strips areCS-Pi, which enforces the deployment-time obstacle constraint and completes the pick-and- place; red-bordered strips are the sameπ 0.5 policy run unconstrained.Layout 1(first two):CS-Pi grasps the apple and places it, while the unconstrained policy clips the cup and loses the grasp. Layout 2(last two):CS-Pireaches down and lifts the apple cleanly, while the unconstrained policy collides with the obstacle.

[원문](https://arxiv.org/abs/2611.08654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · CS-Pi: Constraint-Satisfying Flow Policy Sampling · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 차단 모드 진단과 적용 범위

차단 모드 진단은 두 모드 가우시안 혼합 정책에서 왼쪽 모드를 막아 보정이 다른 모드로 샘플을 옮길 수 있는지 확인합니다. 이 실험에서 CS-Pi는 차단된 draw의 85.9%를 생존 모드로 옮겼고, 정확한 rejection의 92.5%와 비교됩니다. 투영, SafeDiffuser, SafeFlowMatcher(기본값)는 생존 모드로 옮기지 못했습니다. 이 진단은 안전성이 같더라도 샘플이 어느 모드로 이동하는지를 구분하는 데 쓰인 설계입니다.

![Table 21: Blocked-mode diagnostic, blocked subset(241draws).∆ logp: change in exact log- likelihood relative to the unconstrained policy. Every method returns…](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667/figures/figure-97fb12821ee55a1141be73a4dd79f76f.png?thumb=512)

**Table 21** :Blocked-mode diagnostic, blocked subset(241draws).∆ logp: change in exact log- likelihood relative to the unconstrained policy. Every method returns a safe action on all draws.

[원문](https://arxiv.org/abs/2611.08654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · CS-Pi: Constraint-Satisfying Flow Policy Sampling · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.

![Figure 12: Blocked-mode diagnostic, left mode blocked.Rejection andCS-Pimove blocked draws to the surviving mode; the other methods stay safe but land in low-l…](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667/figures/figure-44c016d61aceb879c518fcfd1c11d293.png?thumb=512)

**Figure 12** :Blocked-mode diagnostic, left mode blocked.Rejection andCS-Pimove blocked draws to the surviving mode; the other methods stay safe but land in low-likelihood regions of the policy.

[원문](https://arxiv.org/abs/2611.08654v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani · CS-Pi: Constraint-Satisfying Flow Policy Sampling · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 5일
- **등록일**: 2026년 11월 9일
- **수정일**: 2026년 11월 5일
- **버전**: v1
- **arXiv**: 2611.08654
- **분류**: cs.RO
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.08654v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.08654v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

A flow-matching policy deployed in the field must often satisfy a constraint that was absent from its demonstrations, such as avoiding an obstacle it has never seen. Retraining for every new constraint is impractical, so the constraint must be enforced at inference time. Enforcing it must not discard what the policy learned: an action the policy would rarely sample may avoid the obstacle yet fail the task. We therefore want actions that are both safe, satisfying the constraint, and plausible, remaining likely under the policy. Gradient guidance, the most common approach, steers noisy states, so it must evaluate its cost on the policy's running estimate of the clean action; when the policy is uncertain between passing left or right of an obstacle, this estimate is their average and can pass straight through it. We instead build on rejection and projection. Rejection redraws actions until one is safe: every output is plausible, but the wait is intractable when safe actions are rare. Projection moves an action to the nearest safe one: it is efficient, but the result need not be plausible. Our key insight is that flow-matching sampling lets us combine the two, keeping projection's efficiency and rejection's plausibility. CS-Pi, our draw-project-renoise sampler, projects each draw to the nearest safe action, adds noise back scaled to how far the projection moved it, and re-runs the unmodified policy until a draw is safe. Replacing only the projection step extends CS-Pi to continuous costs. Across a 2D diagnostic, a 7-DoF shelf pick-and-place, an orientation preference, and a zero-shot Franka deployment, CS-Pi reaches 81% safe success on the shelf and 55% on hardware, against 55% and 40% for projection, while staying plausible.

## 원문 인용

Soumojit Bhattacharya, Oliver Kroemer, Shubham Tulsiani (2026). CS-Pi: Constraint-Satisfying Flow Policy Sampling. arXiv:2611.08654v1. https://arxiv.org/abs/2611.08654v1

**BibTeX**

```
@misc{bhattacharya2026constraint,
  title = {{CS-Pi: Constraint-Satisfying Flow Policy Sampling}},
  author = {Soumojit Bhattacharya and Oliver Kroemer and Shubham Tulsiani},
  year = {2026},
  eprint = {2611.08654},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08654v1}
}
```

## 이 논문의 용어

- [L-BFGS](https://refivu.com/terms/433a40c1d5e1-l-bfgs)
- [Jensen gap](https://refivu.com/terms/43ba79b37edd-jensen-gap)
- [Hard constraint](https://refivu.com/terms/02b522e5fe44-hard-constraint)

## 다른 논문 해설

- [Aligning Policy Encoders with a Shape Teacher](https://refivu.com/papers/27903bf1-aaa4-4781-835c-90c559421138-aligning-policy-encoders-with-a-shape-teacher.md)
- [Detecting Silent Faults at the Environment-Trainer Boundary in Reinforcement Learning](https://refivu.com/papers/120934bf-3f39-44e6-8cb6-8532b7b3c1c5-detecting-silent-faults-at-the-environment-trainer-boundary.md)
- [The Blindfolded Controller: Decision Model-Guided Training for Reinforcement Learning](https://refivu.com/papers/8b0c1912-26f5-471f-b40d-89a647fb35f7-the-blindfolded-controller-decision-model-guided-training.md)
- [Test-Time Self-Play: Scaling without a Verifier](https://refivu.com/papers/d874b334-fefc-42a9-a731-60302efa34e0-test-time-self-play-scaling-without-a-verifier.md)
- [StreamLTT: Risk Certification for Policy Selection under Stream Dependence](https://refivu.com/papers/0de37a88-82da-4aaf-be15-ff25f342e2ee-streamltt-risk-certification-for-policy-selection-under.md)
- [Off-Policy Deep Reinforcement Learning without Exploration](https://refivu.com/papers/997f4405-73fe-49b5-a89f-243df2c90604-off-policy-deep-reinforcement-learning-without-exploration.md)
- [Remembering Is Not Enough: Evaluating Timing and Omission in Longitudinal AI Mental Health Support](https://refivu.com/papers/a0d9ea74-56d1-4a18-990f-da3c303618ad-remembering-is-not-enough-evaluating-timing-and-omission.md)
- [Pdb or Not to Be: Comparing Debugging Interfaces With Pass$\_{X}$@$k$](https://refivu.com/papers/0f80704e-6120-4778-ae4c-07fb45b0ea3b-pdb-or-not-to-be-comparing-debugging-interfaces.md)
- [ImageNet Classification with Deep Convolutional Neural Networks](https://refivu.com/papers/29bd195c-62ba-4850-a19b-8047984af37c-imagenet-classification-with-deep-convolutional-neural.md)
- [Steer, Don't Tell: Breaking Reasoning Plateaus with Reachability-Aligned Self-Distillation](https://refivu.com/papers/9a9bdea9-2b4f-4948-af12-9e4f09801fff-steer-don-t-tell-breaking-reasoning-plateaus-with.md)
- [Mutual Information Estimation via Triangular Transport Maps: Finite Sample Guarantees and Sample Allocation](https://refivu.com/papers/ecbc1c4d-e55f-44e9-a5cd-8b294d3ca9c9-mutual-information-estimation-via-triangular-transport-maps.md)
- [Do Orthogonality Constraints Help Language-Model Training Beyond Sphere Optimization?](https://refivu.com/papers/a8d5be60-2838-4ee7-ae07-084a4f6ef144-do-orthogonality-constraints-help-language-model-training.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/17a3a0d4-2f79-463a-b689-339f8435d667-cs-pi-constraint-satisfying-flow-policy-sampling)
