Maintaining Unit Variance via Time-Dependent Preconditioning

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 113 papers21 conceptsfrozen 2026-10-04

Neural networks are notoriously sensitive to the scale of their inputs. Most architectures, from Transformers to U-Nets, are designed under the implicit assumption that data arrives with a mean of zero and a variance of one. When this assumption is violated—either by the shifting statistics of a non-stationary time series or the varying noise levels in a diffusion process—the network's internal activations drift, leading to unstable training and poor generalization.

A growing body of research suggests that the solution is not just a single preprocessing step, but time-dependent preconditioning: dynamically scaling inputs and outputs to ensure the network always operates on a unit-variance signal.

The Problem of Signal Decay in Diffusion

In diffusion models, the data is gradually replaced by noise over a series of timesteps. As David McAllester notes in On the Mathematics of Diffusion Models, the variance of these noisy samples fluctuates significantly across the trajectory. If a network is trained to denoise a sample at $t=1$ (mostly noise) and $t=100$ (mostly data) using the same weights, it faces a moving target in terms of signal magnitude.

To solve this, McAllester argues for normalizing noisy inputs by their standard deviation at each specific time step. This ensures "scale invariance," preventing the model from becoming overly sensitive to the varying magnitudes of noise. By scaling the input by a factor related to the current noise level, the network perceives a stable numerical range regardless of how much noise has been added.

Preconditioning for Stable Convergence

This concept is pushed further in the context of speech and multivariate data. In Normalize Everything: A Preconditioned Magnitude-Preserving Architecture for Diffusion-Based Speech Enhancement, Julius Richter and colleagues apply time-dependent scaling factors to both the network's inputs and its outputs. This "preconditioning" forces the neural network to always process data with a standard deviation of exactly one.

The intuition here is that by keeping activations within a stable range, the gradients remain well-behaved. Similarly, Edgardo Solano Carrillo in TEDM: Time Series Forecasting with Elucidated Diffusion Models extends this to multivariate noise. By handling multivariate covariances such that the denoising network consistently receives unit-variance inputs, the model can effectively learn across diverse feature scales—a common pain point in complex time-series datasets.

Robustness Against Non-Stationarity

The need for dynamic normalization isn't limited to the artificial "time" of diffusion steps; it is equally critical for the real-world time of forecasting. Time series data is often non-stationary, meaning its mean and variance shift over the lookback window.

In the iTransformer architecture, Tengge Hu and Yong Liu propose applying layer normalization across the temporal dimension for each variable independently. While traditional Transformers might normalize across variables at a single timestamp, the iTransformer "inverts" this. By normalizing the statistical properties of each series over the lookback window, the model becomes robust to sudden shifts in magnitude. This ensures that the attention mechanism focuses on the patterns of the sequence rather than being distracted by absolute values that may have drifted over time.

Beyond Gaussian Noise

The principle of time-dependent normalization even extends to non-standard diffusion geometries. Andrey Okhotin and the team behind Star-Shaped Denoising Diffusion Probabilistic Models found that when moving away from Gaussian noise to distributions like Beta or Dirichlet, the aggregated statistics exhibit significant scale variance. They utilize time-dependent normalization to bridge the gap between these complex, manifold-constrained distributions and standard neural network layers, which expect stable, normalized inputs.

Summary of the Intuition

The core insight shared across these papers is that neural networks should not be responsible for learning the scale of the data. By using time-dependent preconditioning:

  1. The Input is Standardized: Whether it's a noisy image or a volatile stock price, the network sees a unit-variance signal.
  2. The Output is Scaled: The network's prediction is re-scaled to match the expected magnitude of the target at that specific moment.
  3. Training is Stabilized: Internal activations remain in the "sweet spot" of activation functions, preventing vanishing or exploding gradients.

By treating normalization as a dynamic, time-aware component of the architecture rather than a static preprocessing step, researchers like McAllester, Richter, and Liu have unlocked more robust performance in both generative modeling and predictive forecasting.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_maintaining_unit_variance_via_time_depen_2926d4cc,
  title = {Maintaining Unit Variance via Time-Dependent Preconditioning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/maintaining-unit-variance-via-time-dependent-preconditioning/rdr_2926d4ccc17a4a8fbe1588b8cdebfcf5},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-03},
}

This exact version (version 1, frozen text):

@misc{lacuna_maintaining_unit_variance_via_time_depen_2926d4cc_v1,
  title = {Maintaining Unit Variance via Time-Dependent Preconditioning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/maintaining-unit-variance-via-time-dependent-preconditioning/rdr_2926d4ccc17a4a8fbe1588b8cdebfcf5/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-03},
}