The advanced math helping Synthesia speed up AI video generation

Create AI videos with 240+ avatars in 140+ languages
Key Takeaways
- Researchers at Synthesia have developed a way to accelerate video diffusion models by using four-bit arithmetic while reducing the background drift and flicker that can accompany it.Β
- In their tests, using NVIDIAβs four-bit data type called NVFP4 together with a series of advanced mathematical operations made denoising 36% faster than an FP8-based approach while maintaining similar visual quality.
Researchers at Synthesia have developed a way to accelerate video diffusion models by using four-bit arithmetic while reducing the background drift and flicker that can accompany it. In their tests, using NVIDIAβs four-bit data type called NVFP4 together with a series of advanced mathematical operations made denoising 36% faster than an FP8-based approach while maintaining similar visual quality.
The work done by research engineers Atharva Dubey and James Briggs addresses a practical issue in AI video generation: reducing the time spent generating frames without introducing distracting visual errors. Diffusion models repeatedly remove noise to produce video, and much of their processing time goes into the attention and linear layers.
Lowering numerical precision makes those operations faster but squeezing numbers into fewer bits can erase information the model needs to avoid introducing visual artefacts in the video.
NVIDIAβs NVFP4 format is a data type that stores each value in four bits, with additional shared scaling factors. Groups of 16 values share an FP8 scale, while an FP32 scale applies to the whole tensor. These scales help represent a wider range of magnitudes. The problem appears when one number in a group is much larger than its neighbors. The scale accommodates that outlier, while smaller values can be rounded to zero.
Attention-based methods are particularly vulnerable to such errors because they determine which information the model draws on. The researchers illustrate the problem with an example in which exact attention gives one key 98% of the weight. After quantization using SageAttention3, an existing method for four-bit attention, that key receives only 24%, and another receives the largest share.
SageAttention3 already tackles outliers through mean smoothing, subtracting averages before quantization. This works when unusually large values recur consistently in the same channel. When their magnitude or sign changes between tokens, averaging fails to remove them adequately.
The researchers add a Hadamard rotation, a mathematical transformation that spreads a large value across multiple channels within each token. Think of redistributing a heavy load across a shelf: fewer individual positions bear a disproportionate share.
Applied consistently to the attention inputs, the rotation preserves the underlying attention calculation before quantization. The output is rotated back afterwards. Smoothing and rotation address different aspects of the problem, allowing them to work together.
In the researchersβ illustrative example, the combined approach restores 99% of the attention weight to the intended key.
Tests on captured activations from the first layer and first denoising step also showed closer agreement with a BF16 reference. Peak signal-to-noise ratio rose from 41.5 decibels with standard SageAttention3 to 44.0 with the rotation. As seen in the video examples below, our method achieved reduced movement in static backgrounds and less flicker in areas containing fine detail.
The team then extended the approach beyond attention. Using NVIDIAβs Model-Optimizer to assess sensitivity, they converted 55% of linear layers to NVFP4. Those layers accounted for 80% of the linear-layer computation; the remainder stayed in FP8. They also tested attention components individually to identify where four-bit precision was tolerable.
The resulting setup, targeting NVIDIA RTX PRO 6000 Blackwell Server Edition, denoised video 2.39 times as fast as the BF16 baseline and 1.36 times as fast as the FP8-based configuration. Across the full setup, agreement with BF16 fell from 34.8 decibels for the FP8-based baseline to 30.5 decibels for the FP4 recipe.
For Synthesia customers, the research points towards faster video generation with fewer distracting visual artefacts. Speeding up denoising offers a route to shorter waits as teams create and revise AI videos. Meanwhile, reducing background drift and flicker helps keep the finished video visually consistent, so viewers can focus on the message.
The potential benefit extends beyond an individual video: faster iteration can help organisations keep their content current as policies, products and processes change.
β

Alexandru Voica is Head of Corporate Affairs and Policy at Synthesia. He has experience across tech, social media, gaming, and retail, and an engineering background with a degree in Virtual Reality from SantβAnna School.
















