Introduction
Offline reinforcement learning has to improve on a dataset without being able to test what it proposes. The danger is well known: a critic trained on the data is reliable only near the data, and a policy optimised against it drifts to actions where the critic is wrong in its own favour. The usual remedies keep the policy close to the data, with a behaviour-cloning term [1, 2], with advantage-weighted regression [3, 4], or by never evaluating the critic outside the dataset actions at all [5]. Expressive policies change the picture again: a flow or diffusion model can represent the multi-modal behaviour found in manipulation data, and a critic can then guide or select its samples [6, 7, 8]. Which of these extraction steps loses the most is itself an open question [9].
Manipulation from narrow data makes each part harder. Rewards are either shaped and positive or a non-positive count of unmet subgoals, and long tasks need many coordinated steps, which is why action chunking has become a common tool [10, 11]. And the task asks explicitly for a method that does not query unsupported actions.
Our answer is to make the policy the behaviour model plus a selection rule. Everything the critic is asked about is a sample of a flow model trained on the data, moved at most a small step and then projected back onto that model.
Method
DCSM (the name the method carries in the submission, "Decoupled Ceiling-Asymmetric Stratified Manifold Chunking") has four parts: a data-driven calibration, a rank-conditioned behaviour flow with a one-step distilled copy, an ensemble chunk critic trained with a propose, refine and project backup, and a test-time policy that applies the same operator and executes chunks in a receding horizon.
Calibration from the dataset
Before any training we read the structure of the data off the replay buffer. Episode boundaries are recovered from terminal flags and from breaks between consecutive states; from them we take the 95th percentile episode length , the lag-1 autocorrelation of actions , and the sign of the largest reward. When the reward never exceeds zero (up to ), we treat the data as goal-absorbing: zero is a ceiling reached only by solving the task. The discount follows the horizon, for positive rewards and for goal-absorbing data, where counts the distinct reward levels (at most 20). The chunk length is one when actions are not temporally coherent () and otherwise a small number capped so that a chunk has at most about 112 coordinates.
r_min = float(r.min())
r_max = float(r.max())
nonpos_subgoal = bool(r_max <= 1e-6)
if nonpos_subgoal:
n_sub = float(min(len(np.unique(np.round(r, 2))), 20))
h_eff = float(np.clip(100.0 * n_sub, 250.0, 1000.0))
gamma = float(1.0 - 1.0 / h_eff)
else:
n_sub = 1.0
gamma = float(1.0 - 1.0 / np.clip(t_p95, 100.0, 1000.0))
if ac1 < 0.72:
chunk_len_a = 1
elif nonpos_subgoal and t_p95 >= 500.0:
ha_target = 10 if n_sub >= 10.0 else 5
chunk_len_a = max(1, min(ha_target, int(round(112.0 / max(action_dim, 1)))))
else:
h_cap = 4 if t_p95 >= 150.0 else 3
chunk_len_a = max(1, min(h_cap, int(round(112.0 / max(action_dim, 1)))))The value support is taken from the discounted returns-to-go in the data, widened by a margin, and for positive rewards capped above at , so that the critic cannot represent values far beyond any observed return. A dataset-size factor (set to zero once it falls below ) strengthens the regularisers on small datasets: noise on the flow's inputs, the weight of an auxiliary dynamics head, weight decay, and the pessimism of the backup target. None of these branches reads the name of a setting.
A behaviour flow conditioned on rank
The behaviour model is a flow over action chunks of dimension , trained by conditional flow matching,
with chunks that cross an episode boundary masked out. The condition says where in the behaviour distribution of this state the chunk lies. Let be the lower confidence bound of the critic ensemble. For a dataset chunk we draw 8 chunks from the unconditional one-step behaviour generator at the same state and set
So is an empirical quantile of the chunk's value among what the behaviour policy itself would do at that state, which makes it free of the reward scale and of how values vary between states. With probability 0.25 the condition is dropped (), so the same network is also the unconditional behaviour model. On small datasets () the rank is coarsened to half its sign, (or 0 when ).
with torch.no_grad():
if use_rank_cond:
qm_d, qs_d = self.critic_target.q_stats(sf, af, self.centers)
q_data = qm_d - self.beta_sel * qs_d
m = self.m_rank
sf_rm = sf.unsqueeze(1).expand(-1, m, -1).reshape(-1, self.state_dim)
zm = torch.randn((bf * m, self.chunk_dim_a), dtype=sf.dtype, device=sf.device)
cm = torch.zeros((bf * m, 2), dtype=sf.dtype, device=sf.device)
af_beh = self.ema_onestep(sf_rm, zm, cm).clamp(-1.0, 1.0)
qm_b, qs_b = self.critic_target.q_stats(sf_rm, af_beh, self.centers)
q_beh = (qm_b - self.beta_sel * qs_b).view(bf, m)
greater = (q_data.unsqueeze(1) > q_beh).to(sf.dtype)
ties = (q_data.unsqueeze(1) == q_beh).to(sf.dtype)
u_hat = (greater + 0.5 * ties).mean(dim=1, keepdim=True)
u_rank = 2.0 * u_hat - 1.0
u_eff = 0.50 * torch.sign(u_rank) if self.coarsen_half else u_rank
keep = (torch.rand((bf, 1), dtype=sf.dtype, device=sf.device) >= 0.25).to(sf.dtype)
cond_f = torch.cat([keep, keep * u_eff], dim=-1)
else:
cond_f = torch.zeros((bf, 2), dtype=sf.dtype, device=sf.device)The condition enters the network through a 12-dimensional basis multiplied by the mask, so the unconditional input is exactly zero; besides Fourier features it contains hinges $4,\mathrm{relu}(u
- 0.5)8,\mathrm{relu}(u - 0.75)$ whose purpose, as the docstring states, is to let the upper quantiles be represented without interference from the lower ones. The basis is injected at the input and again in every residual block.
m = cond[:, :1]
u = cond[:, 1:2]
pi = 3.141592653589793
feats = torch.cat([
torch.ones_like(u),
u,
torch.sin((0.5 * pi) * u),
torch.cos((0.5 * pi) * u),
torch.sin(pi * u),
torch.cos(pi * u),
torch.sin((2.0 * pi) * u),
torch.cos((2.0 * pi) * u),
2.0 * F.relu(u),
4.0 * F.relu(u - 0.5),
8.0 * F.relu(u - 0.75),
2.0 * F.relu(-u),
], dim=-1)
return m * featsA second network is distilled from the exponential moving average of the flow: it regresses the result of a 4-step Euler integration of from the same noise , on a fixed mix of conditions weighted towards the upper ranks, with most of the rest unconditional. This one-step generator is what the backup and the rank computation sample from, which keeps both cheap, in the spirit of one-step flow policies [7].
Critic and backup
The critic is an ensemble of four distributional critics over chunks, each a residual network that outputs a categorical distribution over 121 bins on , trained by cross-entropy against a Gaussian-smoothed target with width of a bin. An auxiliary head predicts the change of state over the chunk. The target is the in-episode discounted sum of the chunk's rewards plus the discounted value at the state that follows, clipped to the support.
The value of that state is where the method differs from a max over dataset actions. We draw ten chunks from the one-step generator, pick the one with the largest , and refine it once: a normalised gradient step on the lower bound, followed by a projection onto the behaviour flow,
with and ( on small datasets with positive rewards), where is the proposal's rank condition on goal-absorbing data and the unconditional input otherwise. For a straight-line flow, is the model's estimate of the clean chunk given the noised one, so is the critic's preferred direction re-expressed as a sample the behaviour model finds plausible. The gradient itself is computed analytically through the batched ensemble rather than by autograd. The backed-up value is . On goal-absorbing data a guard keeps the unrefined chunk unless the refined one has a strictly larger lower bound.
s_rep = s_next.unsqueeze(1).expand(-1, k, -1).reshape(-1, self.state_dim)
cond_k = self._cond_backup_proto.unsqueeze(0).expand(bsz, -1, -1).reshape(-1, 2)
zk = torch.randn((bsz * k, c_dim), dtype=s_next.dtype, device=s_next.device)
c_cand = self.ema_onestep(s_rep, zk, cond_k).clamp(-1.0, 1.0)
qm_k, qs_k = self.critic_target.q_stats(s_rep, c_cand, self.centers)
qm_mat = qm_k.view(bsz, k)
qs_mat = qs_k.view(bsz, k)
best_k = (qm_mat - self.beta_sel * qs_mat).argmax(dim=1, keepdim=True)
vm = qm_mat.gather(1, best_k).squeeze(1)
vs = qs_mat.gather(1, best_k).squeeze(1)
if self.backup_step > 0.0:
gather_c = best_k.unsqueeze(-1).expand(bsz, 1, c_dim)
c_best = c_cand.view(bsz, k, c_dim).gather(1, gather_c).squeeze(1)
if self.use_backup_guard:
gather_2 = best_k.unsqueeze(-1).expand(bsz, 1, 2)
cond_proj = cond_k.view(bsz, k, 2).gather(1, gather_2).squeeze(1)
else:
cond_proj = torch.zeros((bsz, 2), dtype=s_next.dtype, device=s_next.device)
_, g_tgt = self.critic_target.lcb_and_grad(s_next, c_best, self.centers, self.beta_sel)
g_rms = torch.sqrt(g_tgt.pow(2).mean(dim=-1, keepdim=True) + 1e-12)
c_step = (c_best + self.backup_step * (g_tgt / g_rms)).clamp(-1.0, 1.0)
tau = self.tau_proj
one_m_tau = 1.0 - tau
zp = torch.randn_like(c_step)
x_tau = one_m_tau * zp + tau * c_step
t_proj = c_step[:, :1] * 0.0 + tau
c_ref = (x_tau + one_m_tau * self.ema_flow(s_next, x_tau, t_proj, cond_proj)).clamp(-1.0, 1.0)
vm_ref, vs_ref = self.critic_target.q_stats(s_next, c_ref, self.centers)
if self.use_backup_guard:
take_ref = (vm_ref - self.beta_sel * vs_ref) > (vm - self.beta_sel * vs)
vm = torch.where(take_ref, vm_ref, vm)
vs = torch.where(take_ref, vs_ref, vs)
else:
vm = vm_ref
vs = vs_ref
return vm - self.beta_tgt * vs, vm, vsPessimism is asymmetric by design. On goal-absorbing data ; with positive rewards and , which vanishes on large datasets. Our reasoning, described in Section 4, is that under a zero ceiling the rare chunks that make progress towards the goal are exactly the ones the ensemble disagrees on most, so subtracting disagreement penalises progress.
The deployed policy
At test time we sample 36 chunks per state from the moving-average flow with an 8-step midpoint integrator, from three strata: rank , rank , and unconditional (22, 2 and 12 by default; 30, 2 and 4 on goal-absorbing data; 18 at and 18 unconditional on small datasets). Each is refined twice by the same step-and-project operator, with step 0.028 (0.022, and , on small datasets with positive rewards), and the pool of 72 original and refined chunks is ranked by , with , or on goal-absorbing data.
z0 = torch.randn_like(s_rep[:, :1].expand(-1, c_dim))
cand_bc = self.ema_flow.sample_ode(s_rep, z0, cond_rep, self.ode_steps)
if self.refine_steps > 0:
cand_ref = cand_bc
tau = self.tau_proj
one_m_tau = 1.0 - tau
t_proj = cand_bc[:, :1] * 0.0 + tau
for _ in range(self.refine_steps):
_, g = self.critic.lcb_and_grad(s_rep, cand_ref, self.centers, self.beta_eval)
g_rms = torch.sqrt(g.pow(2).mean(dim=-1, keepdim=True) + 1e-12)
c_step = (cand_ref + self.step_size * (g / g_rms)).clamp(-1.0, 1.0)
zp = torch.randn_like(c_step)
x_tau = one_m_tau * zp + tau * c_step
cand_ref = (x_tau + one_m_tau * self.ema_flow(s_rep, x_tau, t_proj, cond_rep)).clamp(-1.0, 1.0)
pool = torch.cat([cand_bc.reshape(-1, n, c_dim), cand_ref.reshape(-1, n, c_dim)], dim=1)
n_pool = 2 * n
else:
pool = cand_bc.reshape(-1, n, c_dim)
n_pool = n
s_pool = s_clamped.unsqueeze(1).expand(-1, n_pool, -1).reshape(-1, state.shape[-1])
pool_flat = pool.reshape(-1, c_dim)
q_mean, q_std = self.critic.q_stats(s_pool, pool_flat, self.centers)
q_lcb = (q_mean - self.beta_eval * q_std).reshape(-1, n_pool)
best = q_lcb.argmax(dim=1)
idx = best.view(-1, 1, 1).expand(-1, 1, c_dim)
return pool.gather(1, idx).squeeze(1).reshape(-1, self.chunk_len_a, self.action_dim)When the chunk is executed in a receding horizon. The new plan's overlap with the remainder of the previous plan is blended with weight , where is their mean squared difference, so a plan that agrees with the last one is smoothed and a plan that has switched mode is taken as it is. On goal-absorbing data with highly coherent actions (, ) we re-plan every second step rather than every step.
prev_buf = carry[0]
best_chunk = self._select_best_chunk(state)
rem_ov = self.chunk_len_a - self.k_commit
has_prev = (t > 0).to(state.dtype).view(-1, 1, 1)
diff_sq = (best_chunk[:, :rem_ov, :] - prev_buf[:, :rem_ov, :]).pow(2).mean(
dim=(1, 2), keepdim=True
)
gate = has_prev * torch.exp(-diff_sq / (2.0 * (self.kernel_sigma ** 2)))
w_old = self.ens_blend * gate
blended_prefix = (1.0 - w_old) * best_chunk[:, :rem_ov, :] + w_old * prev_buf[:, :rem_ov, :]
new_plan = torch.cat([blended_prefix, best_chunk[:, rem_ov:, :]], dim=1)
if self.k_commit > 1:
is_replan = (torch.remainder(t, self.k_commit) == 0).view(-1, 1, 1)
plan = torch.where(is_replan, new_plan, prev_buf)
else:
plan = new_plan
act = self.max_action * plan[:, 0, :]
act = torch.nan_to_num(act, nan=0.0, posinf=0.0, neginf=0.0).clamp(
-self.max_action, self.max_action
)
next_buf = torch.cat([plan[:, 1:, :], plan[:, -1:, :]], dim=1)
return act, [next_buf]Results
| Method | ① | ② | ③ | ④ |
|---|---|---|---|---|
| Normalised score, or success gained in training ↑ | Normalised score, or success gained in training ↑ | Normalised score, or success gained in training ↑ | Normalised score, or success gained in training ↑ | |
| Gemini 4 Carbon | 68.21 | 97.63 | 2.750 | 24.00 |
| IQL | 80.80 | 77.92 | 0 | 1.000 |
| AWAC | 73.32 | 68.76 | 0 | 21.50 |
| ReBRAC | 72.59 | 80.43 | 4.750 | 8.000 |
| Behavior cloning | 62.84 | 63.37 | 0 | 0.250 |
| FQL | 51.24 | 76.77 | 27.50 | 9.000 |
| FAN | 65.54 | 91.61 | 53.00 | 13.25 |
| ReBRAC-v2 | 84.04 | 89.69 | 7.750 | 29.00 |
| QT | 68.67 | 57.77 | 0 | 6.000 |
| FAC | 62.27 | 89.57 | 34.75 | 24.25 |
| PARS | 42.24 | 97.84 | 0 | 0 |
| GFP | 59.82 | 83.13 | 63.50 | 17.25 |
| Value Flows | 77.31 | 70.92 | 71.00 | 19.00 |
| DriftQL | 46.36 | 51.44 | 13.00 | 11.00 |
| TD3+BC | -3.384 | 9.861 | 0 | 0.250 |
| MOBILE | 32.90 | 44.75 | 0 | 0 |
| MAC | 73.21 | 79.99 | 54.50 | 81.00 |
- ① Adroit pen-human · 25 demonstrations
- ② Adroit pen-cloned · demos + BC rollouts
- ③ OGBench cube-double · play data, task 2
- ④ OGBench puzzle-4x4 · play data, task 4
On Pen-cloned DCSM reaches 97.63, against 97.84 for the strongest published baseline there, PARS [17]; it is ahead of every other baseline, including ReBRAC-v2 at 89.69 and FAN at 91.61. On Puzzle-4x4 it reaches 24.00, behind MAC [11] at 81.00, ReBRAC-v2 at 29.00 and FAC at 24.25, and ahead of the other baselines.
On Pen-human DCSM reaches 68.21. That is above behaviour cloning (62.84) but below seven baselines, from QT at 68.67 to ReBRAC-v2 [14] at 84.04; IQL reaches 80.80. On Cube-double it reaches only 2.750, while Value Flows [8] reaches 71.00 and GFP 63.50; nine baselines are ahead of us there.
No published baseline is ahead of DCSM on every setting; each of the strongest ones is behind it on at least one, most often Pen-cloned.
How we got here
- Starting point. We began by reading the reference implementations and recent work on action chunking, including Q-chunking [10] and a decoupled variant of it, and built a first version with a distributional chunk critic, a sample-max backup over flow proposals and an advantage-weighted flow loss. Its chunked critic and sample-max backup survive in DCSM; the advantage weighting was later replaced by the rank condition.
- A nested max in the target fed on itself. A second version separated a long critic horizon from a short policy horizon and took maxima over several targets. Our diagnostic traced a positive bias in the critic to those nested maxima; on one development dataset the score fell from 13.15 to 0.06. Later versions use a single horizon.
- Pessimism hurts under a zero ceiling. Comparing the FQL, Value Flows and FAN baselines, we concluded that on data with non-positive rewards, goal-approaching chunks have higher ensemble disagreement than common failure states, so a lower confidence bound in the backup or the selection punishes progress. This is the origin of the asymmetric in the final method.
- Steering the noise instead of the action did not hold up. We tested steering the flow's initial noise on its Gaussian shell against refining in action space; the effect changed sign from one development task to another and we kept the action-space step.
- Rank instead of advantage weights. The sixth version introduced the rank-quantile condition; the seventh added the hinge basis and replaced the noise used in the projection by fresh noise, after a diagnostic showed that reusing the sampling noise let the gradient step leak off the behaviour manifold. In our development runs the seventh version improved markedly on one long-horizon task.
- How to execute a chunk. A controlled comparison of open-loop execution, closed-loop replanning and blended replanning gave closed-loop replanning with the 0.35 mode-gated blend the best mean, while committing to two steps helped where the policy chattered between two modes; the final policy uses both, the second only on goal-absorbing data with coherent actions.
- Removing pessimism from the target failed. An eighth version set also for positive rewards. On one development dataset the critic's rank correlation with the observed return-to-go turned negative (, against for an earlier version), a winner's-curse overestimation, and the run was stopped. The ninth version restored a positive target bound.
- The final step. The tenth version, submitted, gave the best mean in the agent's paired development comparison with the first and ninth versions. A diagnostic run on it found that distilling the one-step generator mostly on upper-rank conditions leaks high-value proposals into its unconditional output, which then serves as the reference for the rank; on one dataset the critic's same-state discrimination of the first action was 49.2%, against 74.9% for the first version's critic. An eleventh version distilled the generator unconditionally and restored that discrimination in a short ablation, but over the full development set it scored below the tenth, and the tenth remained the submission.
The development figures in this section are the agent's own measurements, made with its own evaluation scripts during the run.
Limitations
- Two of the settings are well short of the published methods. DCSM is behind nine baselines on Cube-double and seven on Pen-human. The contribution is supported on Pen-cloned and Puzzle-4x4 only, and on Puzzle-4x4 MAC is far ahead.
- Extraction is bounded by the proposals. The policy can only choose among chunks the behaviour flow proposes, moved by two small steps. Where the data contain few good chunks for a state, the rank condition has little to amplify and the selection little to choose from.
- A known flaw is in the submitted version. The one-step generator that defines the reference for the rank is distilled mostly on upper-rank conditions, and our own diagnostic found that this contaminates its unconditional proposals. The fix we built did not improve the development mean, so the flaw ships.
- Many constants are tuned, not derived. The thresholds of the calibration (autocorrelation 0.72 and 0.88, size 25,000, the 112-coordinate chunk cap), the pessimism coefficients, the step sizes and the proposal strata were set by development runs, and the branch on the sign of the reward is a strong assumption about how rewards are written.
- Pessimism vanishes on large positive-reward datasets. is zero once a dataset is large, so on those datasets the backed-up value of the refined sample-max carries no ensemble penalty (the choice among proposals still uses ), the same choice of coefficient with which the eighth version overestimated.
- The policy is expensive to run. Each decision integrates 36 flow samples with 16 network evaluations each, refines them, and evaluates the critic ensemble on 72 chunks.
References
- Scott Fujimoto, Shixiang Shane Gu (2021). A Minimalist Approach to Offline Reinforcement Learning. NeurIPS.
- Denis Tarasov, Vladislav Kurenkov, Alexander Nikulin et al. (2023). Revisiting the Minimalist Approach to Offline Reinforcement Learning. NeurIPS.
- Ashvin Nair, Abhishek Gupta, Murtaza Dalal et al. (2020). AWAC: Accelerating Online Reinforcement Learning with Offline Datasets.
- Ziyu Wang, Alexander Novikov, Konrad Zolna et al. (2020). Critic Regularized Regression. NeurIPS.
- Ilya Kostrikov, Ashvin Nair, Sergey Levine (2022). Offline Reinforcement Learning with Implicit Q-Learning. ICLR.
- Philippe Hansen-Estruch, Ilya Kostrikov, Michael Janner et al. (2023). IDQL: Implicit Q-Learning as an Actor-Critic Method with Diffusion Policies.
- Seohong Park, Qiyang Li, Sergey Levine (2025). Flow Q-Learning. ICML.
- Perry Dong, Chongyi Zheng, Chelsea Finn et al. (2026). Value Flows. ICLR.
- Seohong Park, Kevin Frans, Sergey Levine et al. (2024). Is Value Learning Really the Main Bottleneck in Offline RL?. NeurIPS.
- Qiyang Li, Zhiyuan Zhou, Sergey Levine (2025). Reinforcement Learning with Action Chunking. NeurIPS.
- Kwanyoung Park, Seohong Park, Youngwoon Lee et al. (2026). Scalable Offline Model-Based RL with Action Chunks. ICLR.
- Denis Tarasov, Alexander Nikulin, Dmitry Akimov et al. (2023). CORL: Research-oriented Deep Offline Reinforcement Learning Library. NeurIPS.
- Sungyoung Lee, Dohyeong Kim, Eshan Balachandar et al. (2026). Towards Efficient and Expressive Offline RL via Flow-Anchored Noise-conditioned Q-Learning. ICML.
- Denis Tarasov, Robert K. Katzschmann (2026). ReBRAC-v2: The Return of the King.
- Shengchao Hu, Ziqing Fan, Chaoqin Huang et al. (2024). Q-value Regularized Transformer for Offline Reinforcement Learning. ICML.
- Jongseong Chae, Jongeui Park, Yongjae Shin et al. (2026). Flow Actor-Critic for Offline Reinforcement Learning. ICLR.
- Jeonghye Kim, Yongjae Shin, Whiyoung Jung et al. (2025). Penalizing Infeasible Actions and Reward Scaling in Reinforcement Learning with Offline Data. ICML.
- Franki Nguimatsia Tiofack, Théotime Le Hellard, Fabian Schramm et al. (2026). Guided Flow Policy: Learning from High-Value Actions in Offline Reinforcement Learning. ICLR.
- Anas Houssaini, Mohamad H. Danesh, Amin Abyaneh et al. (2026). Drift Q-Learning.