Taming Rectified Flow for Inversion and Editing
ELVIA analysis
Independent review pending
The fixed finite-difference step in the manuscript does not support its claimed local error order. The acquired code instead implements a valid midpoint method. Empirical comparisons and feature sharing are examined with explicit limits on causal attribution and historical-version linkage.
P1 — Fixed derivative probe does not yield claimed cubic local error — Counterevidence: Released FLUX/Hunyuan code uses delta=h/2, reducing exactly to midpoint and restoring second order; no historical failure inference.
Problem 1. Fixed derivative probe does not yield claimed cubic local error
MajorEvidence and reasoning
Problem statement
The fixed derivative probe yields the claimed local defect. The check uses a smooth velocity field, signed step and the stated Euler finite-difference probe. Any local-to-global claim also requires appropriate smoothness, stability and bounded derivatives.
Proof
Section 3.2, page 4, specifies for estimating the first derivative and then claims reduction of each step’s error from to The derivative approximation introduces an additional term. It cannot be discarded when is fixed as
Write and allowing either sign. Along the exact ODE solution, the total derivative is The Euler probe gives, for smooth Substitution in () therefore gives a local defect The integral identity (), Taylor integration with exact total derivatives, and the signed term are valid; it is the replacement of the exact derivative by a fixed finite difference that changes the argument.
An exact scalar witness is From any the numerical increment is whereas the exact increment is Their difference is For rather than zero, and is unbounded. The scalar network field need not be exotic for the issue to occur. As a specifically rectified-flow example, independently draw Conditional regression of on gives Independent integration to with confirms that the fixed- scheme approaches first-order global convergence (last observed order ). Setting is at least second order; this particular RF field exhibits additional cancellation and an observed order near which is not a general guarantee. For the polynomial field on the exact midpoint global error is confirming its general second-order behavior. Both exact polynomial calculations and the smooth population-RF check are saved; no author code was executed. As usual, local-to-global order statements require appropriate smoothness, stability and bounded derivatives over the interval.
Dependency and repair. The improved local order is the central mathematical justification for RF-Solver and its inversion form (), so this is more than a cosmetic remainder typo. Taking with a suitable signed probe, repairs the missing order condition. The paper should state that condition, reconcile the experimental step specification, and distinguish a formal order result from guaranteed improvement at a fixed coarse NFE. A higher-order method can have a larger error constant or stability restriction on a particular coarse grid. Also, the fixed positive probe evaluates at the first denoising point beyond the stated training-time interval; whether a trained model behaves well there is not established.
The acquired commit is `7ac380143379b656eca5398157f41f97ef1ef2f9`, dated May In the FLUX implementation, `src/flux/sampling.py` lines – set evaluate and and use This is exactly the explicit midpoint Runge–Kutta formula in exact arithmetic; the derivative correction is an algebraic rewriting. The HunyuanVideo scheduler’s midpoint and final updates (lines – and –) use the same construction, with the pipeline evaluating the midpoint at lines – The signed midpoint remains inside each integration interval and satisfies the order condition identified above. Floating-point cancellation in the expanded form is a separate issue not quantified here; the simpler expression avoids that subtraction/division.
The implementation is thus evidence for a plausible repair, not evidence that the paper’s fixed- version has the asserted order. Which version generated each table needs paper-matched configuration or commit evidence. Calling the release a second-order solver is justified under the usual smooth-ODE assumptions. Its relationship to the midpoint formula should be explicit when describing the solver contribution; this algebraic observation alone is not a literature-priority judgment.
Reversing the sign of gives an approximation to the inverse flow, not an exact discrete inverse. For midpoint has multiplier a forward/backward pair multiplies by which is at This agrees with the paper’s small-step qualification and does not contradict reduced reconstruction error. In addition, identical forward/reverse vector fields and conditioning are necessary to isolate integration error. The editing entry point uses guidance for inversion and a configurable target guidance for denoising (edit.py –), as is reasonable for editing, but that path alone cannot establish a pure inversion-error experiment.
Possible revision
Not available
Problem 2. Cross-backbone baseline does not isolate numerical sampler advantage
Needs EvidenceEvidence and reasoning
Problem statement
Inspection subject recorded in the report
A numerical-sampler comparison should isolate the sampler from changes in the diffusion backbone and other modeling components.
Verification
The FLUX value replacement in `src/flux/modules/layers.py` – implements the key idea of (): retain current queries and keys while substituting stored inversion values. Figure 3’s distinction between FLUX single blocks and OpenSora spatial attention was checked visually. The inspected entry point and sampler also confirm two network calls per integration step, supporting the stated equal-NFE comparison with Euler: two-stage steps correspond to calls for generation and correspond to for one reconstruction direction. Memory and feature-transfer overhead are not captured by NFE. The published OpenSora experiment implementation was not in the acquired source-only release, so its historical details cannot be inferred from the HunyuanVideo extension.
Needs Evidence: attribution of the sampler comparison. Appendix B.1 explicitly states that DPM-Solver is run on Stable Diffusion, whereas RF, Heun and RF-Solver use FLUX. Table 1’s DPM-Solver++ comparison therefore changes model, training and default generation settings as well as numerical integrator. It is a whole-system comparison, not evidence that the proposed sampler outperforms DPM-Solver on a common vector field. The FLUX-versus-FLUX comparisons remain relevant. FID changes from for Heun to for RF-Solver and CLIP score from to paired seeds, schedule/guidance details and uncertainty are needed to assess how stable these smaller differences are. No arithmetic contradiction in those reported values was found.
Possible revision
Not available
Problem 3. Video quality metrics do not independently establish semantic editing success
Needs EvidenceEvidence and reasoning
Problem statement
Inspection subject recorded in the report
The reported video-quality metrics are used to support semantic editing success. That interpretation requires evidence connecting those metrics to the requested edit, rather than quality alone.
Verification
Table 5 controls the feature-sharing mechanism across its solver ablation and holds NFE fixed, which is useful. Its third-order variant has slightly lower FID ( versus ) and equal displayed CLIP score, so the prose that higher order gives no enhancement should be read as no consistent overall advantage. Reconstruction and editing metrics favor the second-order choice. The higher-derivative construction and its independent order verification are not supplied in sufficient detail here for a complete audit.
Needs Evidence: editing success versus appearance preservation. Table 3 correctly acknowledges that low source-to-edit LPIPS can reward failure to edit. Table 4’s subject consistency, motion smoothness, aesthetic quality and imaging quality do not directly measure target-prompt edit success or preservation specifically outside edited regions. A source-video identity output can score well on temporal and appearance dimensions while not making the requested edit. Figures 5–9 supply useful examples but do not establish dataset-wide semantic success. Target-aware metrics or blinded judgments with exact prompts and selection rules would resolve this. Appendix B also allows manually refined prompts and tuned sharing steps; a held-out tuning protocol and raw item list are needed before attributing aggregate gains solely to the method. This is an unresolved evaluation limitation, not a claim of manipulated data.
Possible revision
Not available
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
We adjust the hyper-parameter of feature-sharing steps to achieve better results for both image and video editing.
PMLR volume 267 published original; retrieved exact supplied PDF URL; PDF p. 13
Actual review scope
The recorded inspection concerns these source locations: Section 3.2, p. 4, Eqs. (8)–(9); Algorithm 1, p. 13; p. 6 Table 1 p. 13 B.1; p. 7 Table 4 p. 13 B.2 p. 8 Fig7.