WorksComputer Science
RetraQ: Manifold-Constrained Critic Guidance for Flow Policies in RL
Abstract
A learned critic can improve a pretrained flow-matching policy by steering sampled actions toward higher predicted value. However, even a critic that fits the behavior data well can provide misleading action gradients. Gradient components pointing away from the data-supported region are weakly constrained by behavior data and can lead guidance to exploit critic extrapolation errors. We introduce RetraQ (Retraction-based Q-guidance), which uses geometry encoded by the pretrained flow to constrain both the direction and the destination of critic guidance. A single velocity evaluation of the frozen flow defines a denoising map. RetraQ filters the critic gradient with the map's Jacobian and applies the map itself to correct the updated action. Our analysis characterizes when these operations approximate tangent filtering and retraction onto the behavior manifold. The same update guides actions at test time and provides targets for policy distillation and online reinforcement learning. In controlled studies, RetraQ improves true return while keeping refined actions close to the data-supported region, and its distillation targets remain more stable than those of raw critic ascent. In offline-to-online training on LIBERO and OGBench, RetraQ achieves higher mean final success than the evaluated critic-guidance baselines. On a real-world plug-insertion task, test-time RetraQ improves the success rate of a behavior-cloned policy from 55.0% to 76.7%. Online training further increases success to 98.3% in only 30 minutes and 100% within one hour. Project page: https://2027ICLR.github.io/retraq/
Project page: https://xuanzhuoliu.github.io/RetraQ/
Introduction
Generative policies can model complex, multimodal action distributions that arise in robot manipulation [8] (Shafiullah et al. 2022). Flow-matching policies, in particular, learn a velocity field that transports noise into actions and can generate action chunks with only a few deterministic integration steps [15, 17]. Their efficient sampling and simple regression objective make them well suited to behavioral cloning (BC). Recent vision-language-action policies have adopted flow matching as their core action-generation mechanism (Black et al., 2025b;a; NVIDIA et al., 2025).
However, behavioral cloning does not directly optimize task outcomes and can inherit suboptimal behavior from its training data. In precise manipulation, a policy may complete most of a task yet still fail at a critical stage, such as aligning a plug before insertion. Reinforcement learning (RL) provides a natural way to improve such behaviors using reward feedback [18] (Physical Intelligence et al. 2025). For a pretrained flow policy, this feedback can be incorporated through a learned critic: following its action gradient can steer sampled actions toward higher predicted return [22] (Silver et al. 2014; Wang et al. 2023; Psenka et al. 2024).
The difficulty is that a critic can predict returns well for actions in the training data, yet its gradients may still provide unreliable directions for policy improvement. [5]. Consider the idealized case in which behavior actions at a fixed context lie on a smooth, lowerdimensional manifold. Two differentiable critics that agree on a local patch of the manifold must have the same tangential derivatives, while their normal derivatives can differ arbitrarily. Thus, even exact critic values on the data support leave the normal component of the action gradient undetermined. Following such a component can move an action away from the data-supported region, where a high predicted value may reflect critic extrapolation error rather than true improvement [9]. Filtering the direction alone is not sufficient: a finite step along a tangent direction can still leave a curved manifold. Reliable critic guidance therefore requires constraining both the update direction and its destination.
We introduce RetraQ, which approximates both operations using geometry already encoded by a pretrained flow policy. At a chosen flow time, a frozen flow defines a denoising map from a noisy action to an estimate of its clean counterpart. RetraQ uses the Jacobian of this map to filter the critic gradient and applies the map after the ascent step to retract the updated action toward the data-supported manifold (Figure 1). Theoretically, we show that the denoising map approximates a retraction while its Jacobian approximates tangent-space projection, and we bound how errors of a learned velocity field enter both. Unlike denoising-based Riemannian optimization of a known objective (Khaterinko et al., 2026), RetraQ follows a learned critic with unidentified normal gradients and obtains both operators from a flow policy. RetraQ requires no additional geometry model, and the filtering step is implemented with a Jacobian–vector product rather than backpropagation through the full sampling trajectory. The same refinement update applies to test-time guidance, offline and online policy distillation.
Figure 1. RetraQ at a glance. Left: raw critic ascent can move actions away from the behavior manifold by following normal gradient components. RetraQ uses the Jacobian of a frozen flow’s denoising map to filter the gradient and uses to correct the updated action, constraining the update direction and destination. Right: for a policy, a frozen copy of the flow defines . The refined action is executed at test time or used as a stop-gradient training target, without backpropagating through the policy’s sampling trajectory.
We evaluate RetraQ in controlled problems, simulation benchmarks, and real-world plug insertion. In a controlled 16-dimensional problem with a known manifold, the learned flow’s Jacobian attenuates normal gradient components, and RetraQ keeps refined actions closest to the manifold among the compared critic-guided updates. In these controlled studies, RetraQ also attains higher true return and more stable distillation targets than raw critic ascent. In offline-to-online training on LIBERO and OGBench, RetraQ attains higher mean final success than the evaluated critic-guidance baselines. On real-world plug insertion, test-time RetraQ raises the success rate of a behavior-cloned policy [2] from 55.0% to 76.7%, without updating the policy parameters. With online training, success reaches 98.3% within 30 minutes and 100% after one hour.
Our contributions are:
Geometric analysis of critic-guidance. We analyze failure modes of critic guidance and establish conditions where flow denoising approximates tangent projection and retraction.
Gradient filtering with flow retraction. We introduce RetraQ, which uses a pretrained flow’s Jacobian to filter critic gradients and its denoising map to retract updated actions.
Sim and real-robot validation. We validate the geometric mechanism and distillation stability in controlled studies, and demonstrate policy improvement in simulation and on a real-world contact-rich manipulation task.
Section 6 discusses connections to denoising-based manifold optimization and related flow-policy improvement methods, and Appendix A extends the comparison.
Preliminaries
Flow-matching policies. Let denote the context, including the observation, robot state, and task instruction, and let be an action chunk that concatenates a sequence of control commands. Let denote the behavior action distribution. During training, flow matching samples and independent noise , and forms , . The velocity field is trained by squared-error regression to [15, 17]. The policy generates actions by numerically integrating from to . For , a single velocity evaluation defines the clean-action estimate
Since , under the population-optimal velocity , this map equals the posterior mean, .
Behavior manifold. For each fixed context , we locally model the data-supported action set as a smooth -dimensional embedded manifold , with . When is fixed, we write . At , the tangent space describes first-order variations along the manifold, while the normal space is its orthogonal complement. Let and denote the corresponding orthogonal projectors. We use the Euclidean metric in the flow’s normalized action coordinates. Let denote the point on closest to in Euclidean distance. We use this nearest-point projection locally where the closest point is unique.
Critic-guided refinement. Let be a learned estimate of expected return, differentiable in the action. Holding fixed, we write and . We study refinements of an action sampled from the pretrained flow policy:
where transforms the critic-gradient direction and corrects the resulting endpoint. Their dependence on is left implicit. Raw critic ascent corresponds to and . The refined action can be executed directly or used as a regression target for the flow policy.
Appendix A addresses existing critic-guided flow-policy improvement methods. Section 3 motivates tangent filtering and retraction, and Section 4 approximates both operations with the pretrained flow.
Geometric Constraints on Critic Guidance
Fix the context , write and , and consider an action . Suppose two continuously differentiable critics agree on a local patch of around . Because their values change identically along every curve within this patch, their tangential gradients at must agree. Their normal gradients, however, are unconstrained by these on-manifold values and can differ arbitrarily (Figure 2a). Thus, even exact critic values on the behavior manifold do not determine the full action gradient. Appendix B formalizes this observation and extends it to data concentrated in a thin neighborhood of the manifold.
Direction: filter the critic gradient. Let and decompose
The tangential component is determined by how the critic varies along the behavior manifold, whereas depends on how the critic extends away from it. Following can move the action into regions weakly supported by the behavior data, where high predicted value may reflect critic extrapolation error rather than true improvement [9]. We therefore retain only the tangential component, corresponding to in Eq. (2).
Destination: correct the endpoint. Filtering the direction alone is insufficient. Because the tangent space is only a local linear approximation, a finite step can leave a curved manifold even when is exactly tangent (Figure 2b). For a sufficiently small tangent displacement , nearest-point projection defines the local retraction

Figure 2. Constraints on the update direction and destination. (a) The critics and agree on the behavior manifold . Their tangential gradients agree, while their normal components have opposite signs. (b) A finite tangent step from leaves the circular manifold. Projecting the endpoint back onto the circle yields and locally defines a retraction.
which returns the stepped action to while preserving the tangent displacement to first order [4]. Choosing and therefore gives the geometric update
Because is determined entirely by the critic values on the local manifold patch, this update is unchanged by arbitrary differences in normal critic derivatives.
Local improvement guarantee. Let denote the true action-value function when the refined action chunk is followed by a fixed policy . If the learned critic agrees with on the local manifold patch, then their tangential gradients also agree there. Consequently, under the smoothness conditions of Proposition 2, the ideal update in Eq. (3) strictly increases for all sufficiently small positive step sizes whenever . Formal statements and proofs are given in Appendix § 11.
In practice, neither the behavior manifold nor the operators and are available explicitly. § 4 shows how the pretrained flow policy provides approximations to both.
RetraQ: Retraction-based Q-guidance
Section 3 motivates two operations for critic guidance: tangent filtering with and endpoint correction with . RetraQ approximates both using a frozen behavior-cloned (BC) flow. In Eq. (2), it sets and , where is a denoising map of the flow and its Jacobian (Figure 3).
Figure 3. One RetraQ update. ➊ At an action , the critic gradient may contain components normal to the behavior manifold. ➋ The Jacobian of the frozen flow’s denoising map keeps tangent directions and suppresses normal ones. ➌ After a step along the filtered direction , the same map moves the action back toward the behavior manifold, giving . Repeating the update gives the refined action , which is executed or distilled into the actor as a stop-gradient target.
The Flow's Denoising Map as Filter and Retraction
The denoising map. Let denote the frozen parameters of the pretrained BC flow. Dividing Eq. (2) by gives with . Thus, after rescaling, a flow state can be viewed as a clean action corrupted by Gaussian noise. At a fixed guidance level , let . We interpret an input action as the rescaled noisy observation and apply the clean-action estimate of Eq. (1), which takes one forward pass:
To see why and approximate these two operators, consider the population-optimal velocity, for which the clean-action map is the posterior mean of the clean action (§ 2). Let and be independent. Then [20]
Near the behavior manifold, this posterior concentrates around and varies primarily along tangent directions, suggesting and . Proposition 3 (Appendix § 11.§ 3) makes this precise. For a compact with smooth positive density and for points inside a tubular neighborhood of radius smaller than its reach,
and, for ,
For a learned flow, these approximations incur additional error from the velocity field and its input derivatives (Proposition 4). We use a fixed guidance level across all platforms. Appendix C.1 discusses this choice.
The RetraQ Update
Replacing by and by in the ideal update of Eq. (3) gives RetraQ. For a context , an action , and a differentiable critic ,
The update needs no manifold estimate or backpropagation through the sampling chain: step ➋ is one Jacobian–vector product through . Applying Eq. (7) times to an initial action gives the refined action (Algorithm 1); all experiments use . The step size is calibrated once so that the critic-induced displacement of the first step matches a target (Appendix C.1).
Critics and Policy Improvement
RetraQ needs only the action gradient of a critic. The refined action is a constant () that is either executed or used as a regression target, in three settings that share (Table 5).
| Setting | Initial action | Critic | Use of |
| Test-time guidance | at fork states | fork critic, Eq. (8) | executed |
| Offline distillation | current actor at dataset states | fixed during refinement | distilled |
| Offline-to-online | executed chunks in replay | replay critic, snapshot | distilled |
Table 5. The three RetraQ settings share the operator REFINE (Algorithm 1) and differ in its inputs and in how its output is used. Critics per platform are listed in Table 3.
Test-time guidance. All parameters stay fixed, and is executed. Standard rollouts record one action per state and so say little about how a slightly different action would fare, which is what must capture. We therefore collect forked rollouts: at a few task-critical fork states, we replay the same prefix, perturb the chunk that the frozen policy predicts there (the reference chunk
Algorithm 1 Offline-to-online RetraQ. REFINE (lines 1–8) is shared by all settings: test-time guidance runs only REFINE and executes $a^\star$, and offline distillation skips line 12. The full version is Algorithm 2.
Require: frozen BC flow $v_{\bar{\theta}}$; demonstrations $\mathcal{D}_{\mathrm{demo}}$; replay buffer $\mathcal{D}$; guidance level $t_g$; target displacement $d_{\mathrm{target}}$; refinement steps $M$; loss weights $\lambda_{\mathrm{imp}}, \lambda_{\mathrm{BC}}$
1: function REFINE($s, a^{(0)}$; $\hat{Q}, \eta$)
2: for $\ell = 0, \ldots, M - 1$ do
3: $g \leftarrow \nabla_a \hat{Q}(s, a^{(\ell)})$ ▷ ➊ critic ascent direction
4: $\tilde{g} \leftarrow J_R(s, a^{(\ell)})\,g$ ▷ ➋ damp normal part; one JVP
5: $a^{(\ell+1)} \leftarrow \operatorname{sg}[R(s, a^{(\ell)} + \eta \tilde{g})]$ ▷ ➌ step, then retract
6: end for
7: return $a^\star = a^{(M)}$
8: end function
9: $\theta \leftarrow \bar{\theta}$; $\eta \leftarrow$ unset ▷ actor starts at BC; $\bar{\theta}$ stays frozen
10: Warm up the critic on $\mathcal{D}_{\mathrm{demo}}$; actor fixed ▷ no targets from an untrained critic
11: while training budget remains do
12: Add labeled rollouts of $\pi_\theta$ to $\mathcal{D}$ ▷ new data from current actor
13: for each update cycle do
14: Update the critic on $\mathcal{D}$; freeze $\hat{Q} = \min_i Q_{\phi_i}$ ▷ fixed critic for this cycle
15: for each actor step of the cycle do
16: Sample $\{(s_j, a_j^{\mathrm{exec}})\}_j$ from $\mathcal{D}$ ▷ executed chunks
17: if $\eta$ is unset then calibrate $\eta$ on this batch ▷ then held fixed
18: $a_j^\star \leftarrow \operatorname{REFINE}(s_j, a_j^{\mathrm{exec}}; \hat{Q}, \eta)$; $a_j^{\mathrm{BC}} \sim \pi_{\bar{\theta}}(\cdot \mid s_j)$ ▷ target, anchor
19: Take a gradient step on $\mathcal{L}_{\mathrm{actor}}(\theta)$ ▷ {xref}`Eq. (9)`
20: end for
21: end for
22: end while
fork group c), and let the frozen policy finish the episode. Since branches share the state, outcome differences can be attributed to the action. The fork critic scores the deviation from the reference,
so its action gradient comes entirely from . Guidance is applied at detected fork states; elsewhere the BC policy runs unchanged (Appendix § 12.2.1).
Distillation. In the other two settings, an actor , initialized at , fits refined actions with the flow-matching loss and is anchored to the frozen BC policy:
Offline distillation refines the current actor’s actions on a fixed dataset. Offline-to-online learning (Algorithm 1) interleaves collecting rollouts into a replay buffer with critic and actor updates. Its twin TD critics (IQL [12] on the robot) are regressed only at executed chunks, so their values are supported by data while their normal gradients are not, exactly the situation of § 3; refinement therefore starts from executed chunks.
Experiments
We evaluate RetraQ at three levels. Controlled problems with a known manifold test the mechanism directly: whether the flow’s Jacobian filters normal directions, whether updates exploit the critic, and where the learned geometry begins to fail (Section 5.2). Simulation benchmarks with component ablations test whether the two constraints improve policies, and which one carries the gain (§ 5.3). A real-robot task tests the same update for test-time guidance, offline distillation, and offline-to-online learning (§ 5.4).
Experimental Setup
We use controlled problems with a known manifold; three simulation benchmarks, LIBERO (Liu et al., [16]) (ten Goal and ten Object tasks, and the six Spatial tasks with the lowest BC success, since the remaining Spatial tasks leave little room for improvement), RoboMimic Can (Mandlekar et al., [19]), and OGBench cube-single (Park et al., [22]); and a real-robot insertion task with a policy (Black et al., [2]). Baselines are our implementations of AWR (Peng et al., 2019), FlowDPG (Shi et al., 2026), Q-VGM (Wang et al., 2026), QAM (Li & Levine, [14]), and, on the robot, QGF (Zhou et al., 2026). Component ablations isolate the two constraints: raw ascent , filter-only , Raw+R , and RetraQ ; a self-distillation control refits the actor to its own actions. On LIBERO, we report the final checkpoint, averaged over three actor seeds and 30 episodes per task and seed. Appendix § 13 gives the full protocols.
Does the Flow Provide the Geometry, and Does It Prevent Exploitation?
A known manifold lets us measure what success rates cannot: whether filters normal directions, whether the critic is exploited, and whether refined actions stay on the manifold (Figure 4). The flow’s Jacobian acts as a tangent filter, with the trade-off predicted by the theory. For , the median normal gain stays below 0.1 at all but the highest guidance level, so removes over 90% of the normal component while keeping tangent directions (tangent error below 0.09). Raising lowers the tangent error but raises the normal gain toward 1, that is, , as Proposition 4 predicts. The effect is strong at , and at filtering is largely lost under the fixed training budget (normal gain 0.84–0.97), where the flow also fits worst. The retraction closes the gap between predicted and true improvement. The critic predicts an improvement for every update. Raw ascent, however, turns a predicted objective of 1.50 into a true objective of ; filtering narrows this gap, but filter-only still turns 0.68 into . For both retracted updates, predicted and true objectives differ by at most 0.07 (Figure 4c). RetraQ attains the highest true objective and stays closest to the manifold. Its refined actions are 2.6× closer to the manifold than those of Raw+ and 36× closer than those of raw ascent (Figure 4d), so with the retraction held fixed, the filter further reduces the distance to the manifold.
Figure 4. Controlled problems with a known manifold. (a, b) Median normal gain (0: ideal filter; 1: no filtering) and tangent error of the learned versus the guidance level, for flat manifolds of increasing dimension at a fixed flow-training budget. (c) problem: objective predicted by the critic (light) and true objective (solid) after refinement. (d) True objective versus the 95th-percentile distance to the manifold. Symmetric-log scales in (c, d); details in Appendix § 13.§ 2.
Policy Improvement in Simulation
On LIBERO, actors start from BC and train online with a frozen geometry reference (Table 1). RetraQ improves BC on every suite and attains the highest mean success, 11–15 points above BC and 5.5–7.8 points above the strongest baseline on each suite (Q-VGM on Spatial and Goal, QAM on Object), with three seeds per arm. The retraction carries most of the gain, and filtering adds to it. Without the retraction, filter-only trails RetraQ by 8.6–14.6 points; adding the retraction to raw ascent (Raw+) recovers 5.6–16.1 points, and filtering adds another 1.9–4.3 points on every suite, consistent in sign but within the variation across three seeds. Self-distillation falls below BC, so refitting the actor alone does not explain the improvement; Appendix § 13.§ 7 argues that behavior regularization does not explain it either.
| Method | Spatial (6 tasks) | Goal (10 tasks) | Object (10 tasks) |
| BC | 63.3 | 69.0 | 55.3 |
| AWR | 64.8 ± 0.6 | 71.9 ± 3.3 | 58.4 ± 0.7 |
| FlowDPG | 60.4 ± 3.6 | 68.1 ± 3.2 | 49.3 ± 8.0 |
| Q-VGM | 70.6 ± 0.6 | 73.6 ± 0.4 | 59.9 ± 2.0 |
| QAM | 61.5 ± 2.7 | 73.1 ± 0.7 | 60.9 ± 0.7 |
| Self-distillation | 35.7 ± 12.9 | 59.6 ± 11.9 | 42.2 ± 5.3 |
| Raw ascent | 59.3 ± 7.3 | 67.9 ± 5.8 | 56.6 ± 6.4 |
| Filter-only | 63.5 ± 10.1 | 70.9 ± 5.6 | 57.8 ± 6.0 |
| Raw+ | 75.4 ± 1.7 | 79.4 ± 1.4 | 62.1 ± 6.7 |
| RetraQ | 78.1 ± 4.2 | 81.3 ± 3.7 | 66.4 ± 5.2 |
Table 1. Final online success (%) on LIBERO, mean ± standard deviation over three actor seeds; actors train online from BC, and baselines are our implementations. Best in bold.
What the filter changes differs across tasks. On OGBench cube-single, the filtered gradient stays almost parallel to the raw one (median cosine 0.99 throughout training) at 0.42–0.48 of its norm. Since the step is calibrated to a fixed displacement, the filter then mainly rescales the step, and RetraQ and Raw+ both approach the ceiling (98.8% and 99.0%). On RoboMimic Can, the filter also rotates the gradient (cosine 0.67–0.71), and RetraQ reaches the highest held-out success, 70.3%, against 53.0% for BC, 69.0% for Q-VGM, and 67.0% for Raw+ (paired 95% interval for RetraQ minus Raw+: [−2.0, 8.7] points). An exploratory Can study that varies the critic’s training set, with rounds selected on the evaluation episodes, suggests that RetraQ benefits more from a stronger critic (Appendix § 13.§ 5).
Real-Robot Guidance and Online Improvement
We evaluate phone-charging plug insertion on an AgiBot G02 dual-arm robot with a behavior-cloned policy that succeeds in 55% of trials; every evaluation uses 60 trials (Appendix § 13.8).
Test-time guidance. Without any parameter update, RetraQ raises success to 76.7% and 73.3% with two fork critics, linear and nonlinear in the action deviation, each trained on 270 forked rollouts. All guidance methods take steps of the same median size, so they differ only in direction and destination; the best baseline, FlowDPG, reaches 63.3% and 66.7%, and Q-VGM falls to 0% with the linear critic (Figure 5b). With 60 trials per arm, RetraQ’s gain over BC is significant with Critic 1 (Fisher’s exact test, ; with Critic 2), whereas its margin over FlowDPG is not (). Appendix § 13.8 analyzes Q-VGM’s failure.
Figure 5. Real-robot plug insertion. (a) A successful rollout of the online RetraQ policy. (b) Without online interaction: offline distillation, and test-time guidance of the frozen BC policy with two fork critics (n/a: not applicable). (c) Offline-to-online learning from a shared BC policy and critic warm-up; means over three training runs. Numbers in Appendix § 13.8.
Offline distillation. Distilling a fixed set of refined targets under one shared, large displacement budget separates the methods further. Q-VGM targets drive success to 0%, with the policy repeatedly hitting the table, and FlowDPG targets to 28.3%, with frequent misaligned insertions, whereas the RetraQ-distilled policy reaches 60.0%, on par with BC ().
Offline-to-online learning. All methods start from the same BC policy and warmed-up IQL critic, and then train their own critics under the same interaction budget; results are means over three training runs per method, each checkpoint evaluated with 60 trials per run. RetraQ reaches the highest success at every checkpoint (Figure 5c): 98.3% after 30 minutes and 100% after one hour, against at most 95.0% and 93.3% for the baselines.
Related Work
Critic-guided improvement of generative policies. A learned critic can improve a diffusion or flow policy through its values alone [12] (Peng et al. 2019; Zhang et al. 2025), by backpropagating through the generation process [22, 14] (Wang et al. 2023), or by applying locally at one action without differentiating through sampling (Yang et al., 2023; Shi et al., 2026; Wang et al., 2026; Zhou et al., 2026). The local methods, closest to RetraQ, follow the gradient unfiltered and correct the endpoint at most by clipping or best-iterate selection, that is, and in Eq. (2). RetraQ instead uses the frozen flow’s denoising map as both operators, and , and so acts on exactly the normal gradient component that the data leave undetermined (§ 3). Offline RL counters the same extrapolation by constraining the policy or its values [9, 13]; RetraQ constrains each update geometrically, with the behavior model already at hand.
Riemannian optimization through denoising. The ideal update of Eq. (3) is Riemannian gradient ascent with the projection retraction [1, 4], and a denoiser’s Jacobian is a scaled posterior covariance [6, 20]. Landing with the Score [11] combines the two into denoising Riemannian gradient descent (DRGD) for a known objective and a pretrained diffusion denoiser. RetraQ shares this filter–step–denoise structure but differs in each ingredient: it follows a learned critic, for which filtering is motivated by the non-identifiability of normal gradients (§ 3); it obtains and from one velocity evaluation of a context-conditioned flow policy by rescaling flow states into Gaussian-corrupted actions (§ 4.1); it bounds how errors of a learned velocity and its input derivatives enter both operators (Proposition 4); and it uses refined actions as distillation and online-learning targets. Manifold-preserving diffusion guidance [10] and latent-noise steering (Wagenmaker et al., 2025) are compared in Appendix § 10.
Conclusion
Accurate critic values on behavior data leave gradients normal to the behavior manifold undetermined. RetraQ uses the pretrained flow to constrain both the direction and the destination of critic-guided updates: the Jacobian of its denoising map filters the critic gradient, and the map itself brings the updated action back toward the manifold, approximating tangent projection and retraction. In our experiments, RetraQ outperforms the evaluated baselines across tested LIBERO suites. On real plug insertion, it improves a policy at test time and reaches near-perfect success within an hour of online training. These results show that a pretrained generative policy provides not only an expressive action distribution, but also local geometry for reliable policy improvement.
Limitations and future work. Repeated offline distillation without new interaction is a limitation: on LIBERO, RetraQ degrades over three refinement rounds more than AWR or FlowDPG (Appendix § 13.§ 4), so its stability advantage holds against raw ascent but not in general. Separating errors in the refined targets from errors in fitting them could help stabilize offline improvement. The Jacobian–vector product through the frozen flow also adds GPU memory. Our geometric guarantees are local and asymptotic, and the learned filter weakens in high-dimensional action spaces; constraining velocity derivatives during training or adapting the guidance level may help. Refinement also remains tied to the support of the frozen reference flow; combining RetraQ with exploration or carefully updating the reference could broaden the behaviors it can learn.
AI Use Statement
In this work, we used generative AI tools (large language model assistants) to assist in creating the plotting code for the figures, formatting and checking references. We have not used generative AI tools to generate data sets, to collect or label real-robot data, or to translate text. We take responsibility for the final content of this work.
Reproducibility Statement
Appendix B states the assumptions of every theoretical result and gives complete proofs. Appendix C specifies the operator, step-size calibration, critics, and all three settings, including the full offline-to-online algorithm (Algorithm 2) and the hyperparameters on each platform (Table 6). Appendix D gives, for each benchmark, the task subsets, seeds, evaluation episodes, checkpoint selection, and all recorded arms, as well as the real-robot platform, policy, and trial protocol. Anonymized code for the algorithms will be released.
Extended Related Work
This appendix extends Section 6. We relate RetraQ to prior work through the template of Eq. (2), with : Appendix A.1 covers critic-guided improvement of diffusion and flow policies, and Appendix A.2 covers the Riemannian-optimization view of the direction transform and the endpoint correction .
Critic-Guided Improvement of Flow Policies
Other uses of the critic. Value-based methods use the critic only through its values, for example by advantage-weighted regression [12] (Peng et al. 2019) or by weighting the flow-matching loss with (Zhang et al., 2025); they never differentiate with respect to the action. Pathwise methods backpropagate through the policy’s generation process, either through the full sampling chain (Wang et al., 2023), a distilled one-step actor [22], or an adjoint of the behavior field [14]. Our experiments include AWR from the first group and QAM from the second. Latent-steering methods such as DSRL (Wagenmaker et al., 2025) leave the policy weights fixed and instead run RL over the input noise of the generative policy; they change which samples the policy produces rather than refining a given action with the critic gradient, and are complementary to RetraQ.
Local critic-gradient guidance. The methods closest to RetraQ apply at a single action without differentiating through the sampling process (Table 2). DIPO fits the policy to raw-ascent targets (Yang et al., 2023). FlowDPG and Q-VGM evaluate at the one-step clean-action estimate of Eq. (1) and regress the velocity toward the ascended action, with a step scaled to the velocity norm (Shi et al., 2026) or with several ascent steps that are clipped to the action range and keep the highest-valued iterate (Wang et al., 2026). QGF adds the gradient at to the velocity during test-time sampling, replacing the transposed Jacobian required by the chain rule with the identity, which it reports to outperform the full Jacobian (Zhou et al., 2026). In all of these, is the identity up to a scalar or clipping, and is at most coordinate clipping or a value-based acceptance rule; only locates where the critic is evaluated. RetraQ instead uses the frozen flow’s map as the operators themselves, and , which approximate tangent filtering and retraction onto the behavior manifold (§ 4.1). § 5 compares our implementations of FlowDPG, Q-VGM, and, on the robot, QGF; because the methods also differ in regularization and data collection, these comparisons evaluate complete procedures rather than the operators alone.
| Method | evaluated at | Direction | Endpoint |
| DIPO | replay action | id | |
| FlowDPG | , step scaled to velocity norm | id | |
| Q-VGM | , gradient clipped | action-range clip, best- iterate | |
| QGF | in place of | id | |
| Raw ascent | clean action | id | |
| Raw+ | clean action | ||
| RetraQ | clean action |
Table 2. Local critic-gradient methods in the template of Eq. (2), , as described in the cited papers. is the one-step clean-action estimate of Eq. (1) at the flow state ; id denotes no endpoint correction. The last three rows are the operator variants of § 5.1.
Riemannian Optimization through Denoising
Retraction and denoising. Eq. (3) is one step of Riemannian gradient ascent with the metric-projection retraction [1, 4]. On the manifold, the Jacobian of is [4 Sec. 5.12], so a single map can supply both and . The flow’s denoising map is such a map. By Tweedie’s formula and its second-order form [6, 20], it is a posterior mean whose Jacobian is the scaled posterior covariance (Eq. (5)); near a data manifold, these approach and its Jacobian [11], as stated in Eq. (6).
Manifold-preserving guidance. Training-free guidance of diffusion models also uses the manifold hypothesis: MPGD [10] applies the guidance gradient to the clean-sample estimate and keeps the guided sample on the data manifold, for example with a pretrained autoencoder. These methods steer the generation of a sample toward a known guidance objective. RetraQ instead refines a completed action with a learned critic, motivates filtering by the non-identifiability of the critic’s normal gradients, obtains both operators from the frozen policy itself without an auxiliary model, and uses the refined actions as policy-improvement targets.
Denoising Riemannian gradient descent. The closest predecessor of RetraQ’s update is Landing with the Score ([11]), whose Denoising Riemannian Gradient Descent (DRGD) minimizes a known objective over a data manifold by , with a pretrained diffusion denoiser. RetraQ’s update in Eq. (7) shares this filter–step–denoise structure, and we view DRGD as its closest algorithmic predecessor. The two methods, however, address different problems, and RetraQ changes how each ingredient is obtained and justified. First, DRGD minimizes a known objective , whose full gradient is meaningful everywhere, and uses the denoiser for feasibility. RetraQ follows a learned critic whose values are constrained only on behavior data; § 3 shows that its normal gradient is then not identified, which gives filtering a statistical rather than purely geometric role, and the local guarantee (Proposition 2) is stated for the true value under on-manifold agreement only. Second, RetraQ obtains both operators from a flow-matching policy rather than a score or diffusion denoiser. Rescaling the interpolant as turns an action into a Gaussian-corrupted observation at level , so one velocity evaluation of the context-conditioned flow gives and one JVP gives (see Eq. (4)), with no separate score network, noise-schedule conversion, or per-context geometry model. Third, DRGD’s guarantees assume a uniformly accurate denoiser and Jacobian. For a learned flow, Proposition 4 bounds how errors of the velocity field and of its input derivatives enter and , and Section 5.2 measures how the guidance level and action dimension trade tangent accuracy against normal suppression. Fourth, RetraQ embeds the update in policy improvement: refined actions are stop-gradient targets for anchored distillation and offline-to-online learning with a frozen geometry reference, the step is calibrated to a target displacement, and fork critics supply action-gradient supervision on the robot.
Theoretical Results
This appendix collects the results behind § 3 and § 4.1. Section B.1 shows what critic values on the behavior manifold determine; Section B.2 shows that the ideal geometric update improves the true action value; and Section B.3, the main result of this appendix, shows that the denoising map of a flow approximates the two ideal operators. Standard facts from Riemannian optimization are cited rather than re-derived ([4]).
Setting. Fix a context and an action on a smooth embedded manifold . We omit from the critics. All statements are local to and use the Euclidean metric in the normalized action coordinates of the flow. Let and be the tangent and normal orthogonal projectors. Choose a sufficiently small neighborhood of where the nearest-point projection is single-valued and smooth. Then ([4]). Here denotes the derivative of a map. Figure 2 illustrates the two geometric issues discussed below.
What Critic Values on the Manifold Determine
Proposition 1 (Tangential agreement and normal-gradient freedom). Let be continuously differentiable on .
(i) If a continuously differentiable critic agrees with on , then
(ii) For every , there exists a continuously differentiable on that agrees with on and satisfies
Moreover, it can be chosen so that, for every ,
Proof. For part (i), take any . There is a smooth curve on with and . For a sufficiently short segment, this curve lies in , where $Q_2(c(t)) - Q_1(c(t)) = 0. Differentiating at gives
The gradient difference is orthogonal to every tangent vector, proving Eq. (10).
For part (ii), define
On , , so . At ,
Finally, the Cauchy–Schwarz inequality and the nearest-point property give
These identities establish both the gradient change and the value bound.
The proposition assumes exact agreement throughout a local manifold patch. It identifies the tangential derivative of that shared restriction, without asserting that the shared values equal the true action value. Agreement on finitely many samples, or a small value-fitting error, does not by itself guarantee accurate tangential derivatives.
Data in a thin neighborhood. Let be a set of data actions satisfying for every , where . Let be an allowed discrepancy between the values predicted by two critics on these actions. For any with , the construction in Proposition 1(ii) gives
Thus, a normal-gradient change of size is compatible with a value discrepancy of at most on all these data. For a fixed value tolerance, this construction permits larger gradient changes as the data become more concentrated around the manifold.
Here measures the difference between two critics, rather than either critic’s error against a target. If fits target values with uniform error at most on , the triangle inequality gives
In particular, if fits these targets exactly, fits them to accuracy while allowing the stated normal-gradient change.
This is a constructive ambiguity result. It does not upper-bound all possible normal-gradient errors by ; such a bound would require additional assumptions controlling derivatives.
Local Improvement by the Geometric Update
Two standard facts connect the update of Eq. (3) to Riemannian optimization under the induced Euclidean metric [4]. First, is the Riemannian gradient of the restriction , so the normalized filtered gradient is the unit tangent direction of steepest initial increase of along . Second, is a local retraction: and for tangent , because . The following statement specifies when critic ascent along this retraction also improves the true action value.
Proposition 2 (Local action-value improvement). Let be a fixed continuation policy, and let denote its true action-value function at the fixed context. Suppose and are continuously differentiable near and agree on a local manifold patch containing . For and any local retraction at ,
If , then for all sufficiently small .
Proof. Proposition 1(i) gives . By the chain rule and the retraction property,
A positive derivative at zero implies the stated strict increase for all sufficiently small positive step sizes.
Proposition 2 assumes exact critic values on a manifold patch and exact geometric operators, and concerns one context under a fixed continuation policy. A learned filter can leave a residual normal component, so the stepped action need not lie in the domain of a retraction; its endpoint can still be corrected by as long as it stays in a tube where is single-valued. Section B.3 shows how the learned denoising map approximates both operators on such a tube.
Flow-Based Approximation of the Geometric Operators
This section states and proves the two results that § 4.1 uses to connect the denoising map of Eq. (4) to the ideal operators and of § 3. Proposition 3 concerns the map defined by the population-optimal velocity; Proposition 4 quantifies the additional error of a learned velocity. As above, the context is fixed and omitted, and . Norms of matrices are operator norms.
Assumptions.
(A1) is a compact -dimensional embedded submanifold without boundary, with positive reach ([7]).
(A2) is supported on and has a density with respect to the -dimensional volume measure of , and on .
Fix and the closed tube . On , the nearest-point projection is single-valued and ([7]), and its derivative at , with and a unit normal vector at , is
where is the identity on the tangent space at and is the shape operator in direction , the self-adjoint map on that space defined by , with the normal-valued second fundamental form; is invertible because . On , and ([4]).
The ideal map is a Gaussian posterior mean. As in § 4.1, write , and let and be independent. Then , and differentiating this Gaussian posterior mean in gives (second-order Tweedie identity ([6, 20])). The posterior of given the observation is the probability measure on
so and are the mean and covariance of .
Proposition 3 (Local geometry of the ideal denoising map). Under (A1)–(A2), there exist and , depending on , , and , such that for all and all ,
In particular, for , which is Eq. (6).
Proof. Fix , let , and write as above.
Step 1: localization. Let on . Because is the unique minimizer of and and are compact, for every there is , independent of , such that whenever . The mass that assigns to this region is therefore at most , since the normalizing constant of Eq. (16) is at least of order . The same bound, multiplied by , controls the contribution of this region to the mean and covariance. These terms are for every and can be neglected.
Step 2: chart. By compactness of , can be chosen, independently of , so that is a graph over the tangent space at . We parametrize near as , where is an orthonormal basis of the tangent space at , and . Then
with a cubic form; there is no linear term because is normal. is positive definite, uniformly over , because . The density of is proportional to , where is and positive, with the metric in the chart.
Step 3: Laplace expansion. Substitute . The density of is proportional to , where is an odd polynomial. Every term of order in the moments of is a Gaussian moment of odd total degree and vanishes. Hence , , and , uniformly over because the constants depend continuously on through , , and on a compact set.
Step 4: mean and covariance. Returning to , and , so
For the covariance, : the cross terms between and involve third moments of , which are , and the remaining terms are of fourth order in . Since ,
Finally, by Eq. (15). Both bounds are uniform over by Steps 1 and 3.
What the proposition does and does not provide. Proposition 3 is an asymptotic statement as for a behavior distribution supported exactly on a manifold with positive reach. Its constant grows with the curvature of , the variation of , and the proximity of to the reach; it gives no numerical error at the operating point . The result does not apply when two parts of the support lie within a distance comparable to , for example nearby action modes, because the reach is then small. The manifold is also assumed to have no boundary; near the boundary of a manifold patch, the posterior is truncated on one side, and its mean is shifted inward by rather than . Off the manifold, the Jacobian approximates , which rescales tangent directions by and annihilates normal ones; it equals only on .
Proposition 4 (Error of the learned denoising map). Let be any velocity field that is differentiable in , let be the population-optimal velocity of Section 2, and write . For every action ,
Consequently, under the assumptions of Proposition 3, for and ,
Moreover, if for all , then for every .
Proof. By Eq. (4), , and is the same expression with . Subtracting gives Eq. (18). Differentiating in , with the factor from the input scaling (Eq. (21)), gives Eq. (19). The bounds of Eq. (20) follow from the triangle inequality and Proposition 3. For the last statement, .
Consequences for the guidance level. Eq. (19) shows that the filter inherits the error in the input derivative of the velocity, not only the error in its value. Flow-matching regression controls the value error in mean square under the noisy marginal, but not its derivative, so a small regression loss does not by itself make an accurate tangent filter. The normal gain measured in Section 5.2 is a direct diagnostic of the combined error of Eq. (20) on normal inputs. The last statement of Proposition 4 formalizes the limit discussed in § 4.1: for any velocity with input derivatives bounded by , , the unfiltered direction of raw critic ascent, even though on by Proposition 3. The two propositions thus bound the two sides of the trade-off in the choice of (Appendix § 12.§ 1): the term favors large , whereas a bounded learned derivative forces toward as .
Implementation Details of RetraQ
This appendix gives the details that § 4 omits: how the operator is computed and calibrated (C.1), the critics (C.2), how the three settings use refined actions, including the full offline-to-online algorithm (C.3), and the hyperparameters (Table 6).
| Toy | LIBERO | RoboMimic | OGBench | Real robot | |
| Guidance level () | ‡ | ||||
| Target displacement | † | ||||
| Refinement steps | |||||
| Displacement cap | |||||
| Executed frames per chunk | – | ||||
| Flow integration steps | |||||
| Offline outer iterations | – | ||||
| Critic steps before improvement | – | / iter. | see§ | ||
| Critic steps per online block | – | – | / trans. | ||
| Actor batch size | – | ||||
| Loss weights / | – | / | / | / (offline) | / |
Table 6. RetraQ hyperparameters. Values shared by all methods on a platform (policy backbone, evaluation protocol) are in Appendix D; critics are listed in Table 3.
Conventions. Flow time follows § 2, with at the data. The code base uses the reversed time , so its configuration value is the same operating point as here (). Real robot refers to phone-charging plug insertion on an AgiBot G02 dual-arm robot with three cameras (head and both wrists; § 5.4). Displacements are Euclidean norms of whole action chunks in the flow’s normalized action coordinates.
The Operator in Practice
Cost. We never form the matrix . One Jacobian–vector product through at with tangent , computed by forward-mode automatic differentiation, returns both and at a small constant multiple of the cost of one forward pass. An update therefore costs one critic gradient, one JVP, and one further forward pass of at . We use refinement step on all platforms.
Guidance level. For write , so that in Eq. (4). Its action-input Jacobian is
The factor in the second term comes from the input scaling; the JVP includes it. The level trades two errors (Propositions 3 and 4): a large makes the terms small but drives a learned toward , and a small lets the posterior average across curvature and nearby action modes, which blurs both and . We use on all platforms. This point was fixed from operator diagnostics on OGBench and inherited by the other platforms; it was not tuned on task success, and we ran no sweep on the robot.
Step-size calibration. The scale of varies with the critic and the local geometry, so we fix the displacement rather than . On a calibration batch , with first-step filtered gradients , we solve
for by a log-scale grid search followed by bisection. The statistic is the batch mean in offline-to-online learning and the median in offline distillation and robot test-time guidance. is calibrated once and then held fixed: on the first actor batch in offline-to-online learning, on a held-out split of 2048 states in offline distillation, and on a bank of fork-state samples for robot test-time guidance (). A calibration that does not converge is flagged, never clipped, and excluded from displacement-matched comparisons.
Subtracting removes the map’s own offset , which is present even when , so measures only critic-induced movement. The offset is not small: on 135 robot fork states, has median 1.62, about 65 times the deployed . Multiplying by multiplies every by and the calibrated by , so the calibrated step does not depend on the critic’s scale. The controlled toy problem instead calibrates the total displacement .
Padded actions. For padded action representations (on the robot, 16 executable coordinates padded to 32, and 30 executed frames padded to the 50-frame horizon), the fixed orthogonal projector retains executable coordinates and zeroes padded ones. The effective critic is , and step ➊ of Eq. (7) uses its gradient. All other operations and norms use model action coordinates.
Guards. Numerical checks stop the run if a non-finite value appears in the critic value, its gradient, the JVP output, the proposal, the refined action, or , or if leaves ; values are never patched, since a patched target would train the actor toward an arbitrary action without a trace. A displacement check discards an update if the critic-induced displacement exceeds a cap (0.5 by default, 0.25 on the robot) rather than rescaling it, because rescaling would still train on a displacement at which neither the retraction nor the critic’s local linearization is trusted. The cap matters because matching a batch statistic does not bound each action: on 240 robot fork frames, has median 0.0155 and maximum 2.03, and 2.5% of the calibrated steps exceed the robot cap.
Critics
RetraQ uses only the action gradient of a critic. Table 3 lists the critic used in each setting.
| Platform and setting | Critic | Training data and targets |
| Real robot, TTG | fork critic: Critic 1 (linear), Critic 2 (nonlinear) | 270 forked rollouts; binary success |
| Real robot, offline distill. | fork critic (Critic 1) | same |
| Real robot, offline-to-online | IQL, twin- and , Eq. (27) | online replay; terminal success |
| LIBERO, offline | chunk critic, MC | forked BC rollouts; discounted success |
| LIBERO, online | FQL-style twin- TD, warm-started from MC | mixed replay; discounted success |
| RoboMimic Can, offline | chunk critic, MC | forked BC rollouts; discounted success |
| OGBench, offline and online | FQL-style twin- TD | offline data, then mixed replay; benchmark reward |
| Toy | analytic (no learned critic) | — |
Table 3. Critics used by RetraQ. TTG: test-time guidance; MC: Monte Carlo; TD: temporal difference. FQL-style twin- TD evaluates the bootstrap target at an action of the current actor.
Fork Critic for Test-Time Guidance
Collection. A fork group is collected as in Figure 6a. Seeded replay reproduces the same prefix and reaches the fork state . In each branch, the first action chunk after is replaced, the frozen policy finishes the episode, and the branch is labeled by its task outcome . The reference chunk is the chunk that the frozen policy predicts at the fork state. Because branches share the state and differ only in the replaced chunk, outcome differences within a group can be attributed to the action.
Figure 6. Forked rollouts provide local action comparisons. (a) Seeded replay from reset reproduces the same prefix times and reaches the fork state s. In each branch, one action chunk is swapped for a perturbed chunk, the frozen policy finishes the episode, and the branch is labeled by its Monte Carlo task outcome . (b) Ranked pairs (arrows) are formed only within a fork group and place a successful branch (filled) above a failed one (hollow). Branches from different fork states s and s are never paired, because their outcome difference would mix the effect of the state with that of the action.
Robot fork states and branches. The robot fork states are taken at two task-critical moments: the right arm has grasped the plug and is about to move it down toward the socket, and the plug is very close to the socket. Each collection run resets the robot to a fixed joint configuration at one of these moments. Runs are assigned to fork states by clustering their frame-0 joint proprioception; five collection runs yield four fork states. Scene variables that proprioception does not capture, such as the pose of the phone and cable, are not matched, so branches are not exact counterfactuals. A robot fork group contains three kinds of branches (Table 4). Injected-noise branches add a zero-mean Gaussian offset, constant over the chunk, to the coordinates , joints 1–3 of the right arm that performs the insertion, with standard deviation times the per-coordinate action standard deviation. Policy-resample branches execute a new sample of the frozen policy, and human-teleoperated branches an operator-provided first chunk. The first chunk has frames (1 s at 30 Hz). Of 300 collected rollouts, 270 are usable ( over the four fork states; overall success 34.1%): we exclude rollouts with an operator intervention at any frame, whose later actions are not generated by the policy, and two whose first chunk is incomplete (24 and 27 frames).
| Branch type | Success | Deviation, median | Deviation, max | Tier weight | |
| Injected noise | 135 | 0.348 | 0.107 | 0.320 | 1.0 |
| Human teleoperation | 32 | 0.469 | 0.035 | 0.084 | 0.5 |
| Policy resample | 103 | 0.291 | 0.024 | 0.094 | 0.25 |
Table 4. Robot fork corpus by branch type. Deviation is the Euclidean norm of the first-chunk deviation from the reference chunk on the perturbed joints , in radians. The tier weight enters the critic loss, Eq. (26).
Simulation forks. In simulation, forks are taken along replayed BC trajectories: every 12 environment steps on LIBERO, and at steps 48, 96, and 144 on RoboMimic Can. LIBERO branches perturb the chunk with independent Gaussian noise, and RoboMimic branches with temporally correlated AR(1) noise (coefficient 0.7, rescaled to unit standard deviation). Simulation labels are discounted Monte Carlo success , with the number of steps to success; robot labels are binary terminal success judged by the operator.
Action input and heads. Let be the deviation in Eq. (8), its -th control step, and the selector of the perturbed coordinates. The action term reads the deviation through its mean over the executed chunk,
which matches how the injected perturbation is applied. Because is fixed and linear, is zero on unperturbed and padded coordinates and beyond the executed chunk. The baseline is linear in the 16-dimensional joint proprioception, , and carries almost no outcome information: alone, its held-out AUROC on the four fork states is 0.511, 0.527, 0.578, and 0.410, whereas the action term reaches 0.727, 0.685, 0.814, and 0.508. The robot uses two action heads. Critic 1 is linear, :
Critic 2 is nonlinear in the deviation, , and is trained on the same data. Fork states whose action standard deviation on is below do not train the action head; this excludes state 3 (0.052).
Loss. The fork critic is trained with
The outcome loss fits the predictions to the labels. The ranking loss compares branches of the same fork group and asks the one with the better outcome to receive the higher action score; since both branches share , the baseline cancels and depends on alone. Pairs across fork groups are excluded (Figure 6b), because their outcome difference would also reflect the state. With logits , tier weights (Table 4), and ranked pairs with , which drops pairs with nearly equal labels,
where , , , and . For the linear head, the last term is . We train with learning rate for 2000 steps.
What the ablation shows. With four fork states and 270 rollouts, only a low-dimensional action direction can be resolved (Figure 7). Every richer action input or head raises in-sample AUROC but lowers the AUROC on held-out fork states: the linear head on the three-dimensional chunk mean reaches 0.741 in leave-one-state-out evaluation over states 0–2, whereas per-frame, all-coordinate, and state-dependent variants fall to 0.534–0.617, and the nonlinear head of Critic 2 reaches 0.694 despite the highest in-sample AUROC (0.884). This is why Critic 1 is the default. Critic 2 failed a gate fixed in advance (held-out AUROC above 0.667 when state 3 is also held out; it reaches 0.649), but it is evaluated as a second test-time critic (§ 5.4) because, unlike Critic 1, its gradient varies with the action. Objective and data choices barely change transfer; in particular, removing the ranking term leaves the held-out AUROC at 0.745, so the fork critic’s transfer does not depend on it. Across three training seeds, the cosine similarity of the linear head’s exceeds 0.9999.
Figure 7. Fit versus transfer of fork-critic variants. In-sample AUROC versus leave-one-state-out AUROC over fork states 0–2. Wider action inputs and richer heads move right (better fit) and down (worse transfer); objective and data choices leave the used linear head’s transfer nearly unchanged. “MLP in ” is Critic 2. Dotted line: .
What a linear head implies for RetraQ. With Eq. (24), the action gradient is . Its direction is the same at every action of a fork group, and increases monotonically along it with no interior maximum. The critic therefore says which way to move but not how far: the step length comes from the displacement calibration of Eq. (22), not from a critic maximum. The data support this direction only within the perturbation range, while a linear head extrapolates beyond it. The deployed step stays well inside that range: a median step changes each coordinate by at most , whereas the injected perturbations have standard deviation on each perturbed coordinate.
Replay Critics for Offline-to-Online Learning
Online rollouts are not forked, so no two samples share a state and the ranking term is unavailable. A replay transition stores a context , the executed part of a chunk ( frames, padded to the horizon with a frame mask ; Appendix § 12.§ 3), the per-frame rewards , the next context , and a terminal flag . On the robot, we train twin critics and a state value with implicit Q-learning (Kostrikov et al., [12]), with target critics :
where is the expectile loss. We use , per executed frame, and Polyak averaging with after every update. The reward is sparse: at the terminal frame of a success judged by the operator and 0 otherwise. The networks read frozen vision–language features of the BC model (masked mean pooling, concatenated with the normalized robot state; 2080 dimensions). additionally takes the executed actions and the 30-dimensional frame mask (2590 inputs in total); and are MLPs with two hidden layers of width 256, LayerNorm, and tanh, with no output activation, and share no trainable parameters. Each is trained with Adam, learning rate , and gradient-norm clipping at 1.0, in FP32. RetraQ reads the frozen snapshot . IQL evaluates the critics only at executed actions, so their values are supported by data while their normal gradients are unconstrained, which is the case step ➋ handles.
In simulation, LIBERO and OGBench use FQL-style twin- TD critics, whose bootstrap target evaluates the next action of the current actor. The LIBERO online critic is warm-started from the offline Monte Carlo chunk critic (8000 training steps); the OGBench critic is first trained for offline steps, frozen during offline RetraQ, and then trained online. Both mix offline and online data equally in critic batches.
The Three Settings
Table 5 summarizes how the settings of § 4.3 use the shared operator REFINE.
Test-time guidance on the robot. With all parameters fixed, RetraQ refines a sample of the BC policy before execution, only at detected fork states. The detector computes the Euclidean distance from the 16-dimensional joint proprioception to the four stored fork-state centroids and selects the nearest one if the distance is below 0.15 (within-state spread at most 0.007 rad; centroids at least 0.38 apart). Guidance is restricted to states 0–2, since state 3 lies below the action-standard-deviation floor and its held-out AUROC is 0.446. Otherwise, and if the critic logit saturates () or a guard fails, the BC chunk is executed unchanged. Critic 1 and Critic 2 use the same detector, operator, and step size.
Offline distillation. Offline distillation runs outer iterations on a fixed dataset without collection; the critic is not updated while targets are refined. In each iteration, the current actor samples an action at each dataset state (detached), REFINE improves it, and the actor is distilled toward the refined actions. Each iteration fits a new set of targets, so the actor’s Adam optimizer is re-initialized at its start. We run 30 iterations on the toy and 5 on LIBERO, RoboMimic, and OGBench, and report intermediate iterations where stated (LIBERO , RoboMimic ). On OGBench, offline RetraQ uses no anchor term (). On the robot, the offline-distillation arm instead fine-tunes continuously on refined targets from the Critic 1 fork critic, with the deployed guidance level ( in the convention) and a total-displacement target of 2.10 instead of the test-time .
Offline-to-online learning. Refinement starts from replayed actions. A replayed transition contains the executed part of a chunk, , with frames. We convert it to the normalized action coordinates of the BC flow (on the robot, absolute to delta actions, then normalization), zero-pad it to the horizon, , and mark the executed frames with . The critic takes the mask as input, and the improvement loss is restricted to the executed frames,
where multiplies each frame by its mask entry; the loss of § 4.3 is the case . The actor loss is , where is a freshly generated full-horizon chunk of the frozen BC policy on every platform. The improvement term supervises only the executed frames; the anchor term supplies targets for every frame. Gradients reach only , never target generation or the sampling chain. The BC flow stays frozen throughout. Algorithm 2 gives the robot version. Updates are triggered by new data: on the robot, every 20 new chunk transitions allow one actor update attempt and two critic updates, each drawing a fresh global batch of 128 chunk transitions (16 per GPU on 8 GPUs) entirely from online replay. An attempt whose guards fail is skipped, so the number of actor updates can be smaller than the number of attempts. No human interventions occurred in the reported online runs. In simulation, updates proceed in blocks (LIBERO: 1500 critic steps per 2500 environment steps; OGBench: 5000 critic steps per 5000 environment steps), with calibrated once as on the robot.
Hyperparameters
Table 6 lists the RetraQ hyperparameters on each platform.
Additional Experimental Details and Results
Operator Definitions and Calibration
We use the abbreviations , , and introduced in § 5.1. Table 7 specifies the target used by each component ablation. The unchanged-target control measures changes caused by repeated self-distillation. The map-only control measures the result of applying the frozen action map without a critic step. Neither control is displacement-matched to the critic-guided arms.
| Name | Target |
| Self-distillation | |
| Map-only | |
| Raw ascent | |
| Filter-only | |
| Raw+ | |
| RetraQ |
Table 7. Targets for component ablations. The step size is calibrated separately for each guided arm.
The controlled toy campaign calibrates the median total movement to its target displacement. The deployed calibration described in § 4 instead measures the movement induced by the critic relative to the mapped baseline, . These quantities differ whenever , so the controlled results evaluate the operator under the toy calibration. AWR is not displacement-calibrated in the evaluated implementation. QAM [14] fits the actor by adjoint matching, with the frozen BC flow as the base field; its temperature is matched to the same target displacement by bisection on the achieved actor drift and reverts to its default value when the target lies outside the achievable range.
Online component runs can acquire different replay data and critic parameters as training proceeds, so their differences measure the resulting learning procedures; the controlled problems of Section 5.2 isolate the immediate effect of each operator at fixed actions and a fixed critic.
Forward-Jacobian Diagnostics
Algorithm 2 Offline-to-online RetraQ on the robot, full version of Algorithm 1, with frame masks, guards, and the IQL critic update of Eq. (27). REFINE is defined in Algorithm 1; here also takes the mask .
Require: BC parameters ; demonstrations ; replay buffer ; horizon ; refinement steps ; guidance level ; target displacement ; IQL parameters , , ; loss weights , ; warm-up updates ; critic updates per cycle
( frozen); initialize , , ; ; unset
for do
IQLUPDATE(batch from ) ▷ actor fixed
end for
while training budget remains do
Collect rollouts of ; label success or failure; append transitions to
for each update cycle allowed by the replay schedule do
for do
IQLUPDATE(batch from )
end for
Freeze
Sample actor batch of from
; ▷ normalized coordinates
if is unset then solve Eq. (22) on ▷ then held fixed
; ▷ full horizon
Update with if the numerical and displacement guards pass
end for
Periodically synchronize actor weights to the rollout workers
end while
procedure IQLUPDATE()
Update on , then on (Eq. (27))
for
end procedure
Forward-Jacobian Diagnostics
Fix a context and a point on its known -dimensional manifold, with . Let and be the orthogonal tangent and normal projectors defined in § 2. We measure
where is the Frobenius norm, the square root of the sum of squared matrix entries. Equivalently, these are root-mean-square responses over an orthonormal normal or tangent basis. They also equal the root-mean-square responses to uniformly sampled unit directions in the respective subspaces. The implementation evaluates the basis responses with forward JVPs without forming the Jacobian. For , both diagnostics vanish. For , normal gain is one and tangent error is zero. Small tangent error alone therefore does not establish normal filtering. These diagnostics describe average directional responses, rather than worst-direction operator-norm bounds.
Table 8 reports the diagnostics. For sampled or perturbed points away from the manifold, the reference tangent and normal spaces are evaluated at their known manifold projections. Each row summarizes 512 query points for one frozen flow at .
For this flow, a separate same-input comparison between and reports a relative difference of approximately 0.9167, after the campaign’s aggregation over points and four probe directions. Because the learned Jacobian is far from symmetric, we report forward-Jacobian diagnostics, which match the JVP used by RetraQ.
The dimension sweep in Table 9 uses a different geometric family from the refinement campaign. Training budget was held fixed across dimensions, so fitting error also varies across configurations and the sweep does not isolate a causal effect of dimension. The problem is not part of this sweep.
| Geometry | Model check | ||||
| 2 | 1 | flat | 0.9844 | 0.0567 | accepted |
| 2 | 1 | curved | 0.9531 | 0.0343 | accepted |
| 8 | 2 | flat | 0.9844 | 0.0789 | accepted |
| 8 | 2 | curved | 0.9844 | 0.0958 | accepted |
| 32 | 2 | flat | 0.9844 | 0.2120 | accepted |
| 32 | 2 | curved | — | — | not accepted |
| 128 | 2 | flat | 0.9844 | 0.8642 | accepted |
| 128 | 2 | curved | — | — | not accepted |
| 512 | 2 | flat | 0.9844 | 0.9659 | accepted |
| 512 | 2 | curved | 0.9844 | 0.9661 | accepted |
Table 9. Separate dimension sweep. is the median normal gain at the evaluation time . Training budget is fixed across dimensions. Dashes mark two curved cells whose flows did not pass the fit check.
Guidance-level sweep. Figure 4a,Figure 4b repeats the diagnostics on flat manifolds with at five guidance levels , with one flow per dimension trained for 20,000 steps (512 on-manifold query points; 128 for ). The deployed level lies just below this grid. Across the grid, the tangent error falls from about 0.07–0.09 to about 0.01–0.02, whereas the normal gain rises, from 0.27 to 0.86 at and from 0.84 to 0.97 at ; for it stays below 0.1. Because the training budget is fixed, the flow fits the high-dimensional cells worst (normalized held-out loss 0.708 at $D=512 against
0.072–0.418 elsewhere), so the growth with is confounded with fitting quality. Curved cells at and 128, whose flows did not pass the fit check, are omitted.
Critic exploitation. On the problem, the critic’s predicted objective and the true objective of the refined actions are 1.498 and −16.794 for raw ascent, 0.679 and −0.582 for filter-only, 0.831 and 0.774 for Raw+, and 0.838 and 0.827 for RetraQ (Figure 4c).
Controlled Refinement Results
Table 10 uses the batch mean of the analytic task objective before taking the median over actor seeds. Using the batch median instead changes the filter-only result from −0.5822 to 0.1088. Both summarize the same campaign but answer different questions about its sample distribution. The batch mean is retained as the primary objective statistic so that the poor lower tail remains represented. The reported distance percentile describes proximity to the known manifold. It is not a lower bound or a measure of statistical uncertainty.
| Method | True objective ↑ | Distance, 95th pct. ↓ |
| BC reference | 0.3947 | 0.0149 |
| Self-distillation | 0.2656 | 0.0812 |
| Map-only | 0.2859 | — |
| Raw ascent | -16.7940 | 1.0160 |
| Filter-only | -0.5822 | 0.4300 |
| Raw+ | 0.7744 | 0.0726 |
| RetraQ | 0.8272 | 0.0284 |
Table 10. Controlled problem after 30 refinement–distillation rounds. The objective is averaged over 4096 samples within each actor seed. The distance statistic is the within-seed 95th percentile of Euclidean distance to the known manifold. Both columns report medians over eight actor seeds sharing one reference flow and critic. The map-only probe did not report this distance percentile.
We report continuous distances rather than threshold-based out-of-distribution fractions, whose radius would depend on a reference control that itself drifts.
LIBERO Evaluation and Offline Stability
Figure 9 shows that the two retracted arms produce actions near fixed points of the frozen map: more than 99% of their actions have a smaller residual than the median demonstration chunk, against 29–91% for the other arms. Actors trained without the retraction, including self-distillation, remain within the range of the demonstrations.
Figure 9. Retraction residual of the final online actors on LIBERO, at , pooled over tasks and seeds (boxes: quartiles; whiskers: 5th–95th percentiles). Grey band and dotted line: the same residual on held-out demonstration chunks. The residual is computed with the frozen map that RetraQ and Raw+R use to build their targets, so it measures consistency with the behavior model rather than a distance to the data.
Online LIBERO evaluation uses 30 test initializations per task and actor seed, indexed 0–29. The reported validation protocol uses five initializations starting at index 45. The comparison covers all ten Goal and all ten Object tasks. The online Spatial evaluation covers six tasks, with task indices . These are the Spatial tasks with the lowest BC success; on the remaining tasks, BC already leaves little room for improvement through offline or online fine-tuning. The offline Spatial campaign covers eight tasks, so the two Spatial averages are not directly comparable.
For each training seed, task success rates are averaged with equal task weights. Table 11 reports the mean and sample standard deviation of these seed-level averages.
| Method | Goal (10 tasks) | Object (10 tasks) | Spatial (6 tasks) |
| Self-distillation | 59.56 ± 11.91 | 42.22 ± 5.30 | 35.74 ± 12.94 |
| AWR | 71.89 ± 3.29 | 58.44 ± 0.69 | 64.81 ± 0.64 |
| FlowDPG | 68.11 ± 3.20 | 49.33 ± 7.97 | 60.37 ± 3.61 |
| Q-VGM | 73.56 ± 0.38 | 59.89 ± 1.95 | 70.56 ± 0.56 |
| QAM | 73.11 ± 0.69 | 60.89 ± 0.69 | 61.48 ± 2.74 |
| Raw ascent | 67.89 ± 5.82 | 56.56 ± 6.38 | 59.26 ± 7.34 |
| Filter-only | 70.89 ± 5.60 | 57.78 ± 6.00 | 63.52 ± 10.08 |
| Raw+ | 79.44 ± 1.39 | 62.11 ± 6.68 | 75.37 ± 1.70 |
| RetraQ | 81.34 ± 3.71 | 66.42 ± 5.18 | 78.10 ± 4.23 |
Table 11. All online LIBERO arms. Entries are success (%) as mean ± across-seed standard deviation. Goal and Object cover all ten tasks. Spatial covers six tasks.
Limits of repeated offline improvement. Repeated offline improvement behaves differently from online improvement. After three refinement–distillation rounds, RetraQ success falls from the BC reference rates of 69.58%, 69.00%, and 55.33% to 39.86%, 50.00%, and 21.67% on the evaluated Spatial, Goal, and Object task sets, respectively (Table 12 and Figure 10). AWR and FlowDPG do not exhibit the same across-suite deterioration under their evaluated configurations. The self-distillation control also changes over rounds, although its decline is smaller than RetraQ’s. These results limit claims of reliable repeated offline improvement. They motivate distinguishing errors in refined targets from errors introduced when fitting those targets, which the final policy scores alone cannot separate.
| Method | Spatial (8 tasks), | Spatial (8 tasks), | Spatial (8 tasks), | Goal (10 tasks), | Goal (10 tasks), | Goal (10 tasks), | Object (10 tasks), | Object (10 tasks), | Object (10 tasks), |
| Self-distillation | 64.86 | 61.11 | 62.22 | 66.67 | 66.11 | 66.11 | 50.22 | 51.44 | 51.00 |
| AWR | 65.56 | 70.28 | 69.86 | 72.00 | 73.00 | 76.11 | 55.44 | 57.67 | 58.78 |
| FlowDPG | 65.00 | 64.31 | 64.58 | 73.67 | 75.44 | 74.33 | 56.67 | 55.89 | 56.44 |
| Q-VGM | 19.86 | 23.89 | 21.94 | 34.22 | 35.33 | 32.44 | 19.89 | 18.56 | 17.56 |
| QAM | 40.83 | 38.06 | 37.92 | 36.67 | 34.44 | 34.22 | 24.11 | 22.89 | 20.33 |
| Raw ascent | 38.89 | 22.08 | 16.67 | 56.11 | 40.33 | 23.33 | 39.22 | 17.44 | 8.89 |
| RetraQ | 71.39 | 54.86 | 39.86 | 67.78 | 55.33 | 50.00 | 55.44 | 29.89 | 21.67 |
Table 12. Offline LIBERO success (%) at each fixed refinement round . Each value averages three actor seeds and 30 evaluation episodes per task and seed, with equal task weights. Shared BC reference rates are given in the text.
Figure 10. Repeated offline refinement on LIBERO (Table 12). Round “BC” is the shared BC reference (dashed line).
The offline curves in Table 12 evaluate fixed rounds and show the complete available suite aggregates. Round is denoted by to distinguish it from the intrinsic dimension used in the geometric analysis. The shared BC reference is measured once per task. Raw+ and map-only were not evaluated in this offline LIBERO campaign. On Spatial, AWR and QAM were evaluated after a simulator reinstallation that changed the outcomes of re-evaluated earlier cells, so their Spatial offline entries are not directly comparable with those of the other arms.
The offline BC reference means are 69.58% for the eight Spatial tasks, 69.00% for Goal, and 55.33% for Object. Restricting the Spatial BC evaluations to the six online task indices gives 63.33%. Figure 8 uses 63.33%, 69.00%, and 55.33% as the BC references for the online Spatial, Goal, and Object suites.
Figure 8. Final online LIBERO success (%), mean standard deviation over three actor seeds. Cool colors: baselines; hatched warm colors: component ablations of RetraQ; dashed lines: BC. All numbers are in Table 11.
RoboMimic Held-Out Comparison
The preferred Can comparison fixes the number of refinement rounds at two using evaluation seeds 90000–90039, then evaluates on held-out seeds 90100–90199. Each trained arm has three actor-training seeds and 100 held-out episodes per seed. The BC reference has one checkpoint evaluated on 100 episodes. The broader 90000–90199 evaluation band includes selection episodes and is not used as the primary held-out estimate.
For RetraQ minus Raw+, the paired 95% interval is [−2.00, 8.67] percentage points around a difference of 3.33 points. It was constructed by resampling episode pairs within each training seed and is conditional on those trained policies. The reported McNemar value is . The difference is therefore not statistically significant at this sample size.
Critic quality. Table 14 repeats the Can refinement with three critics trained on 588, 3,234, and 4,410 samples. Each entry is the best success over refinement rounds on the selection band (seeds 90000–90039, 40 episodes per actor seed), and the round is selected on the same episodes, so the entries are optimistic peaks rather than held-out estimates. The BC rate on this band is 57.5%. With the weakest critic, RetraQ does not exceed BC and ranks last; with the two stronger critics, it ranks first. At 4,410 samples, only Q-VGM has three actor seeds. For the RetraQ arm, the filtered and raw gradients have mean cosine 0.670, 0.697, and 0.712 for the three critics, with norm ratios of 0.400, 0.342, and 0.349 (first round, averaged over seeds).
| Critic samples | RetraQ | Q-VGM | FlowDPG |
| 588 | 57.5 | 59.2 | 62.5 |
| 3,234 | 73.3 | 56.7 | 71.7 |
| 4,410 | 87.5{sup}‡ | 79.2 | 80.0{sup}‡ |
Table 14. RoboMimic Can success (%) versus critic training-set size. Best round per method, selected on the same selection-band episodes; BC is 57.5%. {sup}‡One actor seed; all other cells have three.
| Method | Mean | Across-seed range |
| BC reference | 53.00 | one checkpoint |
| FlowDPG | 64.33 | 62.00–67.00 |
| Q-VGM | 69.00 | 68.00–71.00 |
| Raw+ | 67.00 | 65.00–69.00 |
| RetraQ | 70.33 | 64.00–77.00 |
Table 13. RoboMimic Can held-out success (%) after two refinement rounds. The final column is the range across the three actor seeds, not a confidence interval. The BC reference has one checkpoint.
OGBench Online Comparison
The cube-single campaign starts from an offline-refined actor. The reported initial success is 30.7% for that actor and 8.0% for the BC reference. Table 15 reports final policies with two training seeds and 200 evaluation episodes per seed.
| Method | Success |
| Continued BC | 3.50 ± 1.41 |
| Self-distillation | 19.75 ± 13.79 |
| Map-only | 0.25 ± 0.35 |
| Raw ascent | 97.00 ± 3.54 |
| Raw+ | 99.00 ± 0.71 |
| RetraQ | 98.75 ± 0.35 |
| Q-VGM | 95.00 ± 5.66 |
| FlowDPG | 4.50 ± 0.71 |
Table 15. Final OGBench cube-single success (%), mean ± standard deviation over two seeds.
The table’s standard deviations summarize two training seeds.
Filter diagnostics. During online training of the RetraQ arm, we record the cosine between the filtered and raw critic gradients and their norm ratio at 10k, 25k, 50k, and 100k steps for both seeds. The median cosine is 0.988–0.991 at every checkpoint, and the ratio of median norms is 0.42–0.48. On this task, the filter therefore changes mainly the length of the step, which the displacement calibration then sets, consistent with the near-equal final success of RetraQ and Raw+ in Table 15.
On the harder cube-double task, both evaluated methods remain near zero (RetraQ 2.50%, Q-VGM 1.25%; two seeds, 400 episodes each), so we do not draw conclusions from it.
Is RetraQ Behavior Regularization?
A natural concern is that, at , the map might act mainly as a pull toward the behavior policy and as an isotropic shrinkage, so that RetraQ would reduce to critic ascent plus behavior regularization. The evidence collected above bears on this question as follows.
An explicit behavior anchor does not reproduce the retraction. On LIBERO, the component ablations share the distillation objective of Eq. (9), including its BC anchor, and differ only in their targets (Table 7). With this anchor, raw ascent and filter-only remain within about two points of BC on average, whereas replacing the target by adds 5.6–16.1 points (Table 11). The retraction therefore contributes beyond the behavior regularization that the anchor already provides.
The map alone does not improve the policy. Map-only targets apply the same map without a critic step. They do not improve over the behavior policy: the true objective is 0.286 against 0.395 for BC on the problem (Table 10), and OGBench success is 0.25% against 3.50% for continued BC (Table 15). Self-distillation also falls below BC on LIBERO. The gains thus require the critic direction; contributes by correcting the critic step rather than by regularizing on its own.
RetraQ moves along the manifold, not back to BC. On the problem, where the manifold is known, a pull toward the behavior policy would move refined actions toward BC and their objective toward BC’s 0.395. RetraQ instead reaches a true objective of 0.827, while the 95th-percentile distance to the manifold changes only from 0.015 for BC to 0.028, against 0.073 for Raw+ (Table 10). The improvement therefore comes from motion along the manifold. On this problem, the learned has median normal gain 0.034 and tangent error 0.060 on the manifold (Table 8): it is close to , not to a scaled identity.
| Query set | , med. | , 95th | , med. | , 95th |
| On manifold | 0.0341 | 0.0446 | 0.0597 | 0.3979 |
| Actor samples | 0.0334 | 0.0424 | 0.0470 | 0.3483 |
| Perturbed points | 0.0342 | 0.0448 | 0.0604 | 0.3977 |
Table 8. Forward-Jacobian diagnostics for one flow. Each cell is a quantile over query points.
Real-Robot Setup and Records
Platform and policy. The task is phone-charging plug insertion on an AgiBot G02 dual-arm robot controlled at 30 Hz, with three cameras (head and both wrists). The policy is a flow behavior-cloned on task demonstrations for 80,000 steps (batch size 256). It predicts 50-frame chunks, of which the first 30 frames (1 s) are executed, and its flow is integrated with 10 steps.
Test-time guidance. RetraQ uses (), calibrated once offline and then frozen, , and a displacement cap of 0.25 (Appendix § 12.§ 1). Guidance is enabled only at detected fork states 0–2 (Appendix § 12.§ 3); elsewhere the BC chunk is executed unchanged. The baselines use the same frozen policy, the same critic, and the same gate: QGF updates the velocity as without a factor, FlowDPG takes a normalized velocity step with a factor, and Q-VGM follows its first version (Wang et al., 2026): it takes gradient-clipped ascent steps along from the one-step clean-action estimate, clips each iterate to the action range, and keeps the highest-valued iterate, with gating and a factor. Their step sizes are set by bisection so that their median guided displacement equals the median displacement of the deployed RetraQ arm.
| Method | Critic 1 | Critic 2 |
| Test-time guidance (policy parameters fixed) | ||
| BC | 55.00 | |
| QGF (Zhou et al., 2026) | 58.33 | 56.67 |
| Q-VGM | 0.00 | 58.33 |
| FlowDPG | 63.33 | 66.67 |
| RetraQ | 76.67 | 73.33 |
| Offline distillation (shared displacement budget) | ||
| Q-VGM | 0.00 | — |
| FlowDPG | 28.33 | — |
| RetraQ | 60.00 | — |
Table 16. Real-robot phone-charging success rates (%) without online interaction, as plotted in Figure 5b. Top: test-time guidance of the frozen BC policy; the BC reference is shared across the two critic columns, and all guidance methods are displacement-matched to RetraQ. Each entry is over 60 trials. Bottom: offline distillation with the deployed guidance level and a larger displacement budget shared by the three arms; the RetraQ arm uses the Critic 1 fork critic.
Critics and trials. Every real-robot evaluation consists of 60 trials. In offline-to-online learning, this holds for every checkpoint of each of the three training runs per method, so each reported online entry averages trials. Critic 1 and Critic 2 are the linear and the nonlinear fork critic of Appendix § 12.2.1, trained on the same data.
Why Q-VGM fails with the linear critic. With Critic 1, in Eq. (8) is linear in the action deviation, so points in the same direction at every action, and the critic value increases monotonically along it. Q-VGM takes several ascent steps along this direction, clips each iterate to the action range, and keeps the highest-valued iterate. Under a monotone critic, this rule always selects the last, farthest iterate, and neither the coordinate clip nor the value-based selection removes the normal component of the fixed direction. The executed chunks can therefore leave the region covered by the behavior data at the fork states, which is consistent with the observed failure of every trial. Because the step size is matched to RetraQ’s median displacement, this failure stems from the direction of the update rather than its size. With the nonlinear Critic 2, the gradient direction varies with the action and the value need not increase monotonically along the ascent path, and Q-VGM stays near BC (58.33%). RetraQ receives the same gradient but removes its normal component with and maps the endpoint back with .
Offline distillation. The offline-distillation arms are a separate experiment. They distill refined targets into the policy without online interaction, under one shared displacement budget: the total RetraQ displacement (2.10 at ) measured at this setting. The RetraQ arm uses the Critic 1 fork critic and the same guidance level as deployment, ( in the convention). The displacement budget, however, is much larger than that of test-time guidance (), far outside the perturbation range that supervises the fork critic, so it probes how each method’s targets behave when the critic is queried away from its training data. The Q-VGM-distilled policy reaches 0%: it repeatedly hits the table. The FlowDPG-distilled policy reaches 28.33%: it approaches the socket but frequently misaligns the plug at insertion. The RetraQ-distilled policy reaches 60.00%, on par with the BC rate of 55% (Fisher’s exact test, ). At this budget, unconstrained targets thus degrade the distilled policy, whereas RetraQ targets preserve it; a comparison that varies only would be needed to determine whether smaller displacements also let offline RetraQ improve substantially over BC.
Figure 11. Online IQL critic along fixed evaluation rollouts ( at the end of each 1 s action chunk). (a) Critic after 1.0 h of online training along three successful rollouts of the online RetraQ policy and two failed rollouts of the BC policy; markers show the last chunk. The value rises sharply only in the final seconds of successful insertions. The two groups come from different policies, so this panel is illustrative. (b) One successful rollout scored by the critic at successive checkpoints. After warm-up, the critic assigns high values early in the episode; with online training, it concentrates value at the insertion.
Online RetraQ. Averaged over three training runs, online RetraQ reaches 98.33% after 30 minutes and 100% after one hour of online training, the highest success of all methods at each checkpoint (Table 17). It uses the IQL critic and the update schedule of Appendix § 12.§ 3: every 20 new chunk transitions allow one actor update attempt and two critic updates, with batches drawn entirely from online replay. No human interventions occurred during training; episodes are labeled by the operator as successes or failures.
| Method | 0 h | 0.5 h | 1.0 h |
| QGF | 55.00 | 88.33 | 91.67 |
| FlowDPG | 55.00 | 88.33 | 86.67 |
| Q-VGM | 55.00 | 95.00 | 93.33 |
| RetraQ | 55.00 | 98.33 | 100.00 |
Table 17. Real-robot offline-to-online success (%) versus online training time, as plotted in Figure 5c. All methods start from the same BC policy and the same warmed-up IQL critic (0 h); each then trains its own critic on its own rollouts under the same total interaction budget. Each checkpoint of each training run is evaluated with 60 trials, and each entry is the mean over three training runs per method.
References
- [1]P.-A. Absil and Jérôme Malick. Projection-like retractions on matrix manifolds. SIAM Journal on Optimization, 22(1):135–158, 2012. doi: 10.1137/100802529.DOI
- [2]Kevin Black, Noah Brown, James Darpinian, Karan Dhabalia, Danny Driess, Adnan Esmail, Michael Robert Equi, Chelsea Finn, Niccolo Fusai, Manuel Y. Galliker, Dibya Ghosh, Lachy Groom, Karol Hausman, Brian Ichter, Szymon Jakubczak, Tim Jones, Liyiming Ke, Devin LeBlanc, Sergey Levine, Adrian Li-Bell, Mohith Mothukuri, Suraj Nair, Karl Pertsch, Allen Z. Ren, Lucy Xiaoyang Shi, Laura Smith, Jost Tobias Springenberg, Kyle Stachowicz, James Tanner, Quan Vuong, Homer Walker, Anna Walling, Haohuan Wang, Lili Yu, and Ury Zhilinsky. π₀.₅: A vision-language-action model with open-world generalization. In Proceedings of the 9th Conference on Robot Learning, volume 305 of Proceedings of Machine Learning Research, pp. 17–40. PMLR, 2025a.arxiv.org/abs/2504.16054
- [4]Nicolas Boumal. An Introduction to Optimization on Smooth Manifolds. Cambridge University Press, 2023. doi: 10.1017/9781009166164.DOI
- [5]Pierluca D’Oro and Wojciech Jaśkowski. How to learn a useful critic? Model-based action-gradient-estimator policy optimization. In Advances in Neural Information Processing Systems, volume 33, pp. 313–324. Curran Associates, Inc., 2020.
- [6]Bradley Efron. Tweedie’s formula and selection bias. Journal of the American Statistical Association, 106(496):1602–1614, 2011. doi: 10.1198/jasa.2011.tm11181.DOI
- [7]Herbert Federer. Curvature measures. Transactions of the American Mathematical Society, 93(3):418–491, 1959. doi: 10.1090/S0002-9947-1959-0110078-1. URL https://www.ams.org/tran/1959-093-03/S0002-9947-1959-0110078-1/.DOI
- [8]Pete Florence, Corey Lynch, Andy Zeng, Oscar A. Ramirez, Ayzaan Wahid, Laura Downs, Adrian Wong, Johnny Lee, Igor Mordatch, and Jonathan Thompson. Implicit behavioral cloning. In Proceedings of the 5th Conference on Robot Learning, volume 164 of Proceedings of Machine Learning Research, pp. 158–168. PMLR, 2022.arxiv.org/abs/2109.00137
- [9]Scott Fujimoto, David Meger, and Doina Precup. Off-policy deep reinforcement learning without exploration. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 2052–2062. PMLR, 2019.arxiv.org/abs/1812.02900
- [10]Yutong He, Naoki Murata, Chieh-Hsin Lai, Yuhta Takida, Toshimitsu Uesaka, Dongjun Kim, Wei-Hsiang Liao, Yuki Mitsufuji, J. Zico Kolter, Ruslan Salakhutdinov, and Stefano Ermon. Manifold preserving guided diffusion. In International Conference on Learning Representations, 2024.arxiv.org/abs/2311.16424
- [11]Andrey Kharitenko, Zebang Shen, Riccardo De Santi, Niao He, and Florian Dörfler. Landing with the score: Riemannian optimization through denoising. In International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=xZNoeX0z9f.arxiv.org/abs/2509.23357
- [12]Ilya Kostrikov, Ashvin Nair, and Sergey Levine. Offline reinforcement learning with implicit Q-learning. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=68n2s9ZJWF8.arxiv.org/abs/2110.06169
- [13]Aviral Kumar, Justin Fu, Matthew Soh, George Tucker, and Sergey Levine. Stabilizing off-policy Q-learning via bootstrapping error reduction. In Advances in Neural Information Processing Systems, volume 32, pp. 11761–11771. Curran Associates, Inc., 2019.
- [14]Qiyang Li and Sergey Levine. Q-learning with adjoint matching. In International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=vd4eNAtdO6.arxiv.org/abs/2601.14234
- [15]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=PQvPMdCRJT9t.arxiv.org/abs/2210.02747
- [16]Bo Liu, Yifeng Zhu, Chongkai Gao, Yihao Feng, Qiang Liu, Yuke Zhu, and Peter Stone. LIBERO: Benchmarking knowledge transfer for lifelong robot learning. In Advances in Neural Information Processing Systems, volume 36, pp. 44776–44791. Curran Associates, Inc., 2023a. doi: 10.52202/075280-1939.
- [17]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations, 2023b. URL https://openreview.net/forum?id=XVjT11nW5z.arxiv.org/abs/2209.03003
- [18]Jianlan Luo, Charles Xu, Jeffrey Wu, and Sergey Levine. Precise and dexterous robotic manipulation via human-in-the-loop reinforcement learning. Science Robotics, 10(105):eads5033, 2025. doi: 10.1126/scirobotics.ads5033.
- [19]Ajay Mandlekar, Danfei Xu, Josiah Wong, Soroush Nasiriany, Chen Wang, Rohan Kulkarni, Li Fei-Fei, Silvio Savarese, Yuke Zhu, and Roberto Martín-Martín. What matters in learning from offline human demonstrations for robot manipulation. In Proceedings of the 5th Conference on Robot Learning, volume 164 of Proceedings of Machine Learning Research, pp. 1678–1690. PMLR, 2022.
- [20]Hila Manor and Tomer Michaeli. On the posterior distribution in denoising: Application to uncertainty quantification. In International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=adSGeugiuj.arxiv.org/abs/2309.13598
- [22]Seohong Park, Kevin Frans, Benjamin Eysenbach, and Sergey Levine. OGBench: Benchmarking offline goal-conditioned RL. In International Conference on Learning Representations, 2025a. URL https://openreview.net/forum?id=M992mjGkzI.
AI tools statement
This work lists 1 AI tool.
generative AI tools (large language model assistants) · AI tool
- Roles
- SoftwareWriting — review & editing
- Verification
- self-declared at submission
Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.









