Contrast encodes inductive bias: separating slow noise from dynamics in predictive representation learning

Paarth Gulati, Ilya NemenmanNeurIPS 2026

TL;DR

Self-supervised models designed to learn physical dynamics from video—like JEPA—often fall into a lazy trap: instead of learning how objects move, they memorize static background noise like lighting or dust on a camera lens. This paper reveals that the culprit isn't the neural architecture, but how we contrast data during training. By simply switching from comparing frames across different videos to comparing frames within the same video, the static noise cancels out, forcing the model to discover the true laws of motion underneath.

What Problem Does This Paper Address?

Suppose you want an AI to watch videos of a swinging pendulum and discover the concept of "angle" and "velocity" all on its own, without pixel-level reconstruction. Enter Joint Embedding Predictive Architectures (JEPAs) and similar self-supervised learning (SSL) methods, which compress high-dimensional video frames into compact "latent" representations and predict future states directly in that compressed space.

There’s just one catch: what is easiest to predict in a real-world video is rarely what we actually care about. Real recordings have "slow noise"—static backgrounds, room lighting, or smudges on the lens that stay nearly constant throughout a single video clip (trajectory), while varying from clip to clip. Because standard predictive objectives reward predictability, the encoder takes a shortcut: it memorizes the static noise to easily identify which video a frame came from, completely ignoring the harder-to-predict physics. Even giving the model longer or more numerous videos doesn't fix this "shortcut learning."

Methods

The authors investigate two distinct contrastive predictive architectures: a deterministic SimCLR-style JEPA and DySIB (Dynamical Symmetric Information Bottleneck), a variational information-bottleneck encoder designed for physical interpretability. Both rely on an InfoNCE contrastive loss, which pulls a predicted future state close to its true future state (the "positive" sample) while pushing it away from unrelated states ("negative" samples).

  • What is standard: Across-Trajectory Negatives (ATN). To learn what happens at time $t$, the model contrasts the true frame from Video A against frames at time $t$ from Videos B, C, and D.
  • What is new: Within-Trajectory Negatives (WTN). The authors leave the architectures and inputs untouched, changing only the negative sampling pool. Now, the frame at time $t$ in Video A is contrasted only against other timestamps ($t' \neq t$) from Video A.

To test the limits of both setups, they inject synthetic Ornstein–Uhlenbeck noise into every pixel, sweeping across noise amplitude ($\sigma$) and temporal correlation time ($\tau$)—smoothly interpolating between frame-by-frame static ($\tau \to 0$) and frozen, video-specific background patterns ($\tau \to \infty$). After training, they freeze the models and use simple "probers" to see if true physical variables (like position or angle) can be read out from the learned representations.

Datasets

Rather than introducing new benchmarks, the authors modify two existing datasets by injecting controllable, temporally correlated pixel noise:

  1. Synthetic Moving-Dot Dataset: Introduced by Sobal et al. (2022), featuring trajectories of a single dot taking a random walk, paired with the SimCLR-predictor.
  2. Rigid Pendulum Videos: A public experimental video dataset (Chen et al., 2022) of a physical pendulum swinging under gravity, paired with DySIB.

Key Insights and Ideas

  • Contrast design is an inductive bias: In image SSL, we use data augmentations (like cropping or color-jittering) to tell the model what to ignore. In dynamics SSL, choosing your negative samples plays that exact role. Anything shared between positives and negatives (like fixed background noise in WTN) provides zero discriminative signal and is automatically discarded.
  • "Slowness" isn't always your friend: Classic representation learning assumes slow-changing features are the most meaningful signal. Under ATN, the model dutifully learns the slowest feature available—which happens to be frozen trajectory noise!
  • Contrast acts like a temporal Wiener filter: WTN filters out both ultra-fast static and ultra-slow background features, zeroing in on timescales that vary during a video. Consequently, when the noise's correlation time matches the video length ($\tau \approx T$), signal and noise share the same autocorrelation timescale, creating a temporary blind spot.
  • Computational bonus: For batch size $N$ and video length $T$, ATN scales as $\mathcal{O}(TN^2)$ while WTN scales as $\mathcal{O}(T^2N)$, making WTN cheaper when training on large batches of short-to-medium clips.

Key Results

Under fixed trajectory noise ($\alpha = 1$), standard ATN fails catastrophically on both architectures: as noise strength grows ($\sigma_U$ up to $3.0$ on the dot; $\sigma_G$ up to $0.5$ on the pendulum), probe RMSE climbs all the way to random guessing (~$0.3$ position RMSE and ~$90^\circ$ angle error). Under WTN, the error hugs the fully supervised baseline across all noise strengths.

Figure 2: ATN but not WTN predictive objectives fail under fixed noise. (A) Stochastic moving- dot dataset with the SimCLR-predictor objective. (B) Pendulum videos with the DySIB objective at kz = 8 (chosen following the original DySIB study to reduce sensitivity to local optima during training; Appendix B). We add temporally correlated noise to the observations and report the probe RMSE on the true dynamical variables as a function of noise strength σ. Changing noise is sampled independently per frame. Fixed noise is sampled once per trajectory and held constant within. Dotted lines show supervised baselines (one per noise regime, with the two coinciding on the moving dot). Thin dashed lines indicate performance under random guessing. Under ATN, the changing- noise probe error tracks its supervised baseline, while the fixed-noise probe error grows with σ toward random guessing performance. Under WTN, both the changing- and the fixed-noise probe errors follow their respective supervised baseline curves. Training details are in Appendix B. See Appendix A.2 for stability across hyperparameters and seeds.

Visualizing DySIB’s 2D latent space on the pendulum makes the failure—and the fix—strikingly clear. Without noise, embeddings form a clean ring tracking the pendulum's $360^\circ$ angle. With fixed noise ($\sigma_G = 0.2$), ATN shatters this ring into isolated islands organized by video identity. Switching to WTN completely restores the smooth angular ring.

Figure 3: Fixed noise breaks ATN but not WTN angular embeddings. DySIB embeddings of the pendulum dataset with a two-dimensional bottleneck (kz = 2), colored by the true pendulum angle. Each point is a sample from the variational posterior q(zt | xt−nF +1:t) for every nF -frame block in the training data. Rows: ATN (top), WTN (bottom). Columns: no added noise, changing noise, fixed noise (σG = 0.2 for both). Without added noise and with changing noise, both objectives produce latent spaces smoothly organized by angle. With fixed noise, the ATN representation organizes by trajectory-specific nuisances, breaking the global angular structure. WTN suppresses this predictive noise cue within the trajectory, and the fixed-noise embedding again organizes smoothly by angle.

When sweeping correlation time $\tau$, WTN eliminates error at both extremes ($\tau \to 0$ and $\tau \to \infty$), leaving only a finite error peak around $\tau \approx T$. Crucially, feeding the model longer trajectories ($T$ up to $140$) causes this worst-case WTN peak error to decay toward the supervised baseline following a clean power law ($\propto T^{-0.42}$), whereas ATN remains stuck near random chance regardless of video length.

Limitations and Future Work

  • Phase-space coverage & periodicity: WTN requires each individual video to explore enough states to make internal comparisons meaningful—a video of a stationary object teaches nothing. Conversely, if a system is periodic (like a pendulum) and $T$ spans multiple periods, WTN might mistakenly push identical physical states apart.
  • Low-dimensional scope & loss types: Experiments focused on low-dimensional physics (2D states) and InfoNCE losses. How WTN translates to high-dimensional, chaotic systems or non-contrastive JEPAs remains open.
  • The $\tau \approx T$ bump: While longer videos shrink the intermediate-noise error peak, it never vanishes completely, and a theoretical derivation for its power-law decay is still needed. Future work could explore mixing ATN and WTN schedules, contrasting multi-step delay embeddings to separate matched timescales, or using attention mechanisms to learn which frames to contrast.

Summary updated

BibTeX
@inproceedings{gulati2026contrast,
  author = {Paarth Gulati and Ilya Nemenman},
  title = {{Contrast encodes inductive bias: separating slow noise from dynamics in predictive representation learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=qhXEAOv8zQ},
}
Figure