SLERP-Based Quaternion Noise Scheduler
- The paper demonstrates that using SLERP interpolation along unit-quaternion geodesics preserves rotational integrity by maintaining the unit-norm constraint.
- It contrasts additive and exponential-map SLERP formulations, highlighting numerical stability near small and π angles to avoid drift and NaNs.
- The scheduler integrates into flow matching and diffusion models, achieving significant speedup and improved accuracy in protein generation and robotic manipulation.
Searching arXiv for the cited papers and closely related work on quaternion/rotation scheduling and rectified flow.
arXiv search query: id:([2502.14637](/papers/2502.14637)) OR id:([2509.19696](/papers/2509.19696)) OR "Rectified Quaternion Flow" OR "SLERP-based quaternion noise scheduler"
A SLERP-based quaternion noise scheduler is a mechanism for injecting, parameterizing, or integrating rotational uncertainty on by moving between unit quaternions along geodesics on rather than by additive perturbation in Euclidean coordinates. In the formulations reported for protein backbone generation and contact-rich manipulation, the scheduler uses spherical linear interpolation (SLERP) or its exponential-map form to preserve the unit-norm constraint, maintain valid rotations at intermediate times, and define time-indexed rotational noise or flow trajectories compatible with learned generative dynamics (Yue et al., 20 Feb 2025, Geiger et al., 24 Sep 2025). The term spans at least two closely related constructions: a flow-matching formulation in which quaternion trajectories are built by , and a diffusion formulation in which rotational corruption is defined by with a monotonically increasing schedule .
1. Geometric basis on and
A unit quaternion , , double-covers (Yue et al., 20 Feb 2025). This representation is central to SLERP-based scheduling because the interpolation is performed directly on the 3-sphere rather than in an ambient unconstrained vector space. In the protein-generation formulation, the exponential map is written as 0, where 1 is axis–angle, while the logarithm map retrieves 2 (Yue et al., 20 Feb 2025). Quaternion multiplication 3 implements group composition, and 4.
The geometric motivation is explicit in the manipulation setting: Gaussian perturbations in 5 do not respect the unit-norm constraint of quaternions and can easily push samples off the 3-sphere, breaking the group structure of 6 (Geiger et al., 24 Sep 2025). By contrast, SLERP between two unit quaternions moves along the great-circle geodesic on 7, preserving 8 at every step and ensuring that intermediate orientations remain valid rotations. This makes quaternion geodesics a natural substrate for forward corruption, reverse denoising, and continuous-time flow integration.
A plausible implication is that the scheduler is not merely a numerical convenience; it is the component that aligns the stochastic or deterministic time parameter with the intrinsic geometry of rotation space. Both reported systems treat rotational evolution as manifold-valued transport rather than coefficient-wise noise injection.
2. Canonical SLERP forms and their numerical properties
Two SLERP parameterizations appear in the source material. The manipulation paper gives the standard additive form
9
and uses it for forward diffusion from a clean quaternion 0 to a random noise quaternion 1 (Geiger et al., 24 Sep 2025). At 2, 3; at 4, 5.
The protein-generation paper presents the standard additive SLERP only “for reference”:
6
and identifies its numerical weakness: it is “numerically unstable when 7 or 8” (Yue et al., 20 Feb 2025).
The same paper therefore adopts an exponential-map SLERP:
9
Because 0 implies 1, this form exactly traces the great-circle geodesic at constant speed (Yue et al., 20 Feb 2025). The stated numerical properties are specific: it “never divides by 2, remains stable for small or near-3 angles, and automatically stays on 4.” In the reported ablations, “SLERP-Exp vs. matrix-geodesic or additive SLERP” is “more stable when 5 or 6 (no NaNs, no renormalization)” and yields “7 faster quaternion ops vs. 8 matrix exp + log” (Yue et al., 20 Feb 2025).
These two formulations are mathematically aligned but operationally distinct. One uses coefficient interpolation with explicit numerical safeguards and renormalization; the other rewrites the path in Lie-group form and treats numerical stability as a direct consequence of the parameterization.
3. Time scheduling and noise parameterization
The scheduler is the time-dependent rule that determines how far the quaternion has moved from signal toward noise, or from noise toward sample, at each step. In the diffusion-based manipulation formulation, a standard discrete variance schedule 9 is introduced with 0 and 1, and one “natural choice” is
2
Noise is then injected by geodesic interpolation:
3
The scheduler is therefore a monotonically increasing path from the clean quaternion to a fully random orientation (Geiger et al., 24 Sep 2025).
In ReQFlow, the time variable appears in both training and inference. During training, 4; during inference, a discrete grid 5, 6, is used (Yue et al., 20 Feb 2025). For rotations, the paper introduces an “exponential step–size scheduler” to concentrate sampling near 7:
8
and replaces
9
The instantaneous angular velocity becomes
0
The reported effect is explicit: the scheduler “concentrates ‘effort’ near 1, allowing designability 2 with 3 steps,” whereas “without it, 4 needed for similar quality” (Yue et al., 20 Feb 2025).
The two schedules reflect different generative semantics. In diffusion, 5 indexes corruption severity within a forward noising process. In quaternion flow matching, 6 warps traversal speed along a paired geodesic and thereby reshapes the effective distribution of integration effort over time. This suggests that “noise scheduler” in this domain names a broader class of time warps on manifold-valued rotational paths, not only forward-noise variances in the diffusion sense.
4. Role in flow matching and diffusion models
In ReQFlow, the scheduler is embedded in a deterministic flow-matching objective defined jointly over translations and rotations. The endpoints are sampled as 7 and 8, the empirical distribution of backbone rotations, and the paired path has constant angular velocity
9
The interpolation is
0
with derivative
1
A base 2-equivariant network 3 predicts endpoint 4 from 5, and the instantaneous velocity targets are
6
7
The loss is
8
The learned field is interpreted as an ODE,
9
integrated from 0 to 1 (Yue et al., 20 Feb 2025).
In the manipulation paper, the scheduler is part of a Transformer-based diffusion model with cross-attention to external wrenches (Geiger et al., 24 Sep 2025). At each forward step, the clean quaternion token is replaced with 2 produced by the SLERP scheduler, while the translation token is corrupted analogously with Gaussian noise. The combined 7D token 3 is embedded together with learned timestep embeddings; external wrenches are encoded as context tokens and attend via multi-head cross-attention into the trajectory tokens. During training, the network 4 predicts the quaternion “noise” element in a log-quaternion or axis-angle representation (3D) to avoid outputting raw 4D quaternions. At inference, the learned reverse-process updates quaternions via a small SLERP step, ensuring output remains on 5.
The common structural role is that the scheduler defines the admissible trajectory of quaternion states seen by the model. In one case it parameterizes supervised geodesic transport between coupled endpoints; in the other it parameterizes the corruption ladder that a denoiser must invert.
5. Numerical safeguards, implementation, and sampling conventions
Implementation details differ by formulation, but both are organized around preserving valid rotations throughout the computational graph. In the diffusion setting, the forward-noise pseudocode computes 6, uses a small-angle branch when 7, and renormalizes with 8 “to avoid drift” (Geiger et al., 24 Sep 2025). The paper explicitly identifies “clamping the dot-product into 9 before arccos and renormalizing after interpolation” as numerical safeguards. Quaternions are stored in robot-base frame with scalar-first convention 0 and are “renormalized after every attention block to mitigate drift.”
The random noise quaternion in that formulation is sampled uniformly on 1 by drawing a unit axis 2 uniformly, drawing an angle 3 with density proportional to 4—or “simply 5 and re-weight, or use a known unit-quaternion sampler”—and then setting
6
This sampling rule supplies the terminal orientation for the SLERP corruption path (Geiger et al., 24 Sep 2025).
ReQFlow’s implementation uses the same geometric primitives but avoids the additive SLERP denominator. Its training loop samples 7 and 8, forms
9
and computes endpoint-based velocity predictions (Yue et al., 20 Feb 2025). In the ODE Euler inference pseudocode, the update is
0
with 1. The paper states that the same discrete grid 2 and exponential scheduler are retained during rectification.
A common misconception is that quaternion scheduling automatically eliminates all numerical issues. The reported evidence is narrower. Standard additive SLERP still requires clamping, small-angle handling, and renormalization in the diffusion implementation (Geiger et al., 24 Sep 2025), whereas the exponential-map form in ReQFlow is specifically described as stable near 3 and 4 and as automatically staying on 5 (Yue et al., 20 Feb 2025). The stability claim therefore depends on the precise SLERP parameterization.
6. Rectification, empirical behavior, and domain-specific outcomes
In ReQFlow, the scheduler is coupled to a rectification procedure that fine-tunes the learned model on its own generated pairs. The stated motivation is that “in a vanilla flow, different training pairs yield crossing trajectories, raising transport cost and slowing mixing,” while rectified flow “refits the same model to its own generated pairs to enforce non-crossing/geodesic alignment and reduce overall cost” (Yue et al., 20 Feb 2025). The procedure is three-step: sample noisy 6, run the trained QFlow model for 7 inference steps to obtain 8, pair these endpoints as new training data, and fine-tune 9 with exactly the same quaternion flow matching loss. The source reports a “Theorem (Marginal Preservation)” and a “Theorem (Cost Reduction)” for the rectified coupling.
The empirical effects reported for this SLERP-based rotational scheduler are domain-specific but substantial. In protein backbone generation, “ReQFlow reaches the same designability with far fewer steps (e.g. 50 vs. 500), roughly 10× speedup” (Yue et al., 20 Feb 2025). Additional ablations state: “QFlow (no rectification) at 00: designable fraction 01,” “ReQFlow at 02: fraction increases to 03 (PDB),” and “At 04: ReQFlow 05 vs. QFlow 06.” For long-chain generation, “ReQFlow remains 07 designable up to 08, while baselines collapse.” Inference speed is reported as “09 on A100” for a 300-residue backbone, “37× faster than RFdiffusion (10), 62× faster than Genie2 (11).” The abstract states that ReQFlow is “37x faster than RFDiffusion and 63x faster than Genie2 when generating a backbone of length 300” (Yue et al., 20 Feb 2025).
In contact-rich manipulation, replacing naive additive Gaussian corruption of quaternion coefficients with the SLERP-based scheduler is reported to “maintain geometric consistency and avoid bias off the manifold” (Geiger et al., 24 Sep 2025). On the parkour dataset, the Transformer-Diffusion Model achieved “12 mean angular error 13 and 14 axis-deviation 15 (with 16 positional error).” A combined parkour + therapy dataset improved rotational error to “17 (18) and 19 (20).” Ablations replacing SLERP with unconstrained Gaussian noise on 21 “increased angular error by more than an order of magnitude and destabilized the learned reverse chain.” The broader system is reported to have achieved “30/30 success rates for cylindrical, square, and star peg insertions without any peg-specific demonstrations in the training data set,” together with sub-millimeter positional accuracy, sub-degree rotational accuracy, and real-time torque control on a KUKA LBR iiwa robot (Geiger et al., 24 Sep 2025).
Taken together, these results establish a consistent pattern: SLERP-based quaternion scheduling is used where rotational fidelity must be preserved under generative time evolution, and its practical value is tied to manifold consistency, stable interpolation near difficult angular regimes, and improved efficiency or accuracy when compared with unconstrained rotational noise models.