Hadamard Rotation
A data-independent fixed orthogonal transform based on the Hadamard matrix. It is computationally simple and requires no calibration data, but is insensitive to the activation distribution of a specific model; it is a special case within the SpectrumQuant spectral alignment framework.
Timeline (last 90 days)
MXFP4 benefits significantly from Hadamard rotation, while the gain from rotation for NVFP4 is noticeably smaller, because NVFP4's fine-grained block scaling already mitigates the outlier problem.
Hadamard rotation (random Hadamard transform) is an orthogonal transform that multiplies weight or activation vectors by a Hadamard matrix to redistribute the values of each element without changing the vector norm, thereby spreading out outliers.
BitDecoding-FP4 combines three techniques—static smoothing, Hadamard rotation, and scale search—to effectively suppress the impact of key outliers.
Hadamard rotation is an orthogonal transform with O(d log d) computational complexity and is invertible; after being applied to Keys in attention, a corresponding transform must be applied on the query side to keep the dot product unchanged.
Existing orthogonal transform methods fall roughly into two categories: data-independent fixed transforms (such as the Hadamard rotation) and rotation matrices learned during the calibration stage (such as SpinQuant and DartQuant).
All Facts (5)
MXFP4 benefits significantly from Hadamard rotation, while the gain from rotation for NVFP4 is noticeably smaller, because NVFP4's fine-grained block scaling already mitigates the outlier problem.
50%UnverifiedHadamard rotation (random Hadamard transform) is an orthogonal transform that multiplies weight or activation vectors by a Hadamard matrix to redistribute the values of each element without changing the vector norm, thereby spreading out outliers.
50%UnverifiedBitDecoding-FP4 combines three techniques—static smoothing, Hadamard rotation, and scale search—to effectively suppress the impact of key outliers.
50%UnverifiedHadamard rotation is an orthogonal transform with O(d log d) computational complexity and is invertible; after being applied to Keys in attention, a corresponding transform must be applied on the query side to keep the dot product unchanged.
50%UnverifiedExisting orthogonal transform methods fall roughly into two categories: data-independent fixed transforms (such as the Hadamard rotation) and rotation matrices learned during the calibration stage (such as SpinQuant and DartQuant).
50%