You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**What**: Scaling factor for the frequency-compensation weight derived from exposure bias.
699
+
-**Default**: 1.0.
700
+
-**Why**: Higher values up-weight regions with larger exposure bias during rollout for flow-matching models.
701
+
702
+
### `--scheduled_sampling_reflexflow_beta1`
703
+
704
+
-**What**: Weight for the ReflexFlow anti-drift (directional) regularizer.
705
+
-**Default**: 10.0.
706
+
-**Why**: Controls how strongly the model is encouraged to align its predicted direction with the target clean sample when using scheduled sampling on flow-matching models.
707
+
708
+
### `--scheduled_sampling_reflexflow_beta2`
709
+
710
+
-**What**: Weight for the ReflexFlow frequency-compensation (loss reweighting) term.
711
+
-**Default**: 1.0.
712
+
-**Why**: Scales the reweighted flow-matching loss, matching the β₂ knob described in the ReflexFlow paper.
Copy file name to clipboardExpand all lines: documentation/experimental/SCHEDULED_SAMPLING.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,17 @@ The solver used for the rollout generation steps.
61
61
***Choices:**`unipc` (recommended, fast & accurate), `euler`, `dpm`, `rk4`.
62
62
*`unipc` is generally the best trade-off between speed and accuracy for these short sampling bursts.
63
63
64
+
### Flow Matching + ReflexFlow
65
+
66
+
For flow-matching models (`--prediction_type flow_matching`), scheduled sampling now supports ReflexFlow-style exposure bias mitigation:
67
+
68
+
*`scheduled_sampling_reflexflow`: Enable ReflexFlow enhancements during rollout.
69
+
*`scheduled_sampling_reflexflow_alpha`: Scale the exposure-bias-based loss weight (frequency compensation).
70
+
*`scheduled_sampling_reflexflow_beta1`: Scale the directional anti-drift regularizer (default 10.0 to mirror the paper).
71
+
*`scheduled_sampling_reflexflow_beta2`: Scale the frequency-compensated loss (default 1.0).
72
+
73
+
These reuse the rollout predictions/latents you already compute, avoiding an extra gradient pass, and help keep biased rollouts aligned with the clean trajectory while emphasizing missing low-frequency components early in denoising.
74
+
64
75
### Performance Impact
65
76
66
77
> ⚠️ **Warning:** Enabling rollout requires running the model in inference mode *inside* the training loop.
0 commit comments