Human visual perception is dynamically shaped by the recent past, a phenomenon known as serial dependence. Mechanistic models show that a residual memory trace can generate this dependency, yet its functional purpose (why the visual system should carry information forward in time at all) remains debated. We tested the hypothesis that serial dependence emerges as a normative consequence of optimizing vision for robustness against sensory noise. We trained recurrent autoencoders (a CNN encoder, a ConvGRU memory module, and a CNN decoder) to reconstruct natural videos corrupted by Gaussian noise, with no objective referring to perceptual history. Models that used their temporal memory achieved lower reconstruction error than memory-free counterparts, and this advantage widened as training noise increased, indicating that integrating past context is an adaptive denoising strategy. Probing the trained models with Gabor and dot sequences, we found that memory gave rise to serial dependence spontaneously: an attractive bias toward previous orientations and a spatial "continuity field" toward recently seen locations, both strengthening with training noise. Across temporal delays, the model's serial dependence was strongest for the immediately preceding stimulus and decayed monotonically. This profile quantitatively matched human orientation judgments, including an independent public dataset, once a known response-autocorrelation confound was controlled: an apparent non-monotonicity in one dataset reflected this measurement artifact rather than a genuine model-human mismatch. These findings suggest that serial dependence need not be an idiosyncratic quirk but can arise as a byproduct of optimizing for noise robustness, offering a normative account of perceptual history-dependence that complements existing mechanistic explanations and links behavior to an underlying computational objective.
Figures & tables
Figure 1: Overview of the model and the experimental paradigm. (Top) Training. A recurrent autoencoder (a CNN encoder E , a ConvGRU memory module that maintains a temporal state ht , and a CNN decoder D ) is trained on natural video sequences (Charades-Ego) to reconstruct each clean frame xt(clean) (ground truth) from an input xt(noisy) corrupted by additive Gaussian noise. The network is optimized end-to-end to minimize the reconstruction loss ∥x^t−xt(clean)∥22 between its output x^t and the clean ground truth, with no objective referring to perceptual history. The encoder E (Conv 3×3 ; three stride-2 ResBlocks, 64/128/128 channels), the ConvGRU memory ( 3×3 kernel, 128 hidden channels; recurrent state ht ), and the decoder D (three ResBlock+upsample stages, 128/64/32 channels; final Conv 3×3 ) together form the recurrent pathway. (Bottom) Evaluation. The trained weights are then frozen and the model is probed with sequences of Gabor patches. Because the memory carries information forward from the preceding frame ( N−1 ), the reconstruction of the current frame ( N ) is attracted toward the previous orientation: here a 5∘ stimulus preceded by a 0∘ stimulus is reconstructed at 4∘ , revealing an emergent attractive serial dependence.
Figure 2: Video reconstruction by the model trained with σ=0.3 . Columns show successive frames from N−4 to N . Rows: ground-truth clean frames xt(clean) , noisy input xt(noisy) (clean frame corrupted by additive Gaussian noise, xt(noisy)=clip(xt(clean)+ϵt,0,1) ), and reconstructed output x^t .
Figure 3: Comparison of reconstruction error (MSE). Asterisks indicate significant differences between the Memory and No-memory models at each noise level ( p<0.05 , paired t -test).
Figure 4: Emergent serial dependence. (a) Adjustment errors as a function of the relative orientation between the current and preceding stimuli for models trained at varying noise levels. Dots represent individual model means, and solid lines represent the fitted DoG curves. (b) SD amplitude as a function of training noise. Red dots denote SD amplitudes significantly greater than chance ( p<0.05 , permutation test). (c) SD peak position (Delta) as a function of training noise. Only models with significant serial dependence are plotted.
Figure 5: Reconstruction of Gabor stimuli by the model trained with σ=0.3 . Columns show successive frames from N−4 to N . Top row: Ground truth stimuli. Bottom row: Reconstructed outputs. True and estimated orientations are indicated at the bottom.
Figure 6: Temporal decay of serial dependence in model predictions ( N=100 models trained with σ=0.3 ), computed with the response-autocorrelation-corrected pipeline later applied to the human data. Left: combined adjustment error curves as a function of relative orientation between the current and 1-, 2-, and 3-back stimuli. Dots represent binned model means; solid lines are the group-level DoG fits. Right: peak SD amplitude across n -back conditions (mean ± SEM), showing a monotonic temporal decay.
n -back
Model ( ∘ )
Model p
In-house ( ∘ )
In-house p
Pascucci ( ∘ )
Pascucci p
1-back
1.807±0.018
<0.001∗
2.728±1.255
0.016∗
1.751±0.362
<0.001∗
2-back
0.408±0.020
<0.001∗
2.123±1.162
0.036∗
0.247±0.592
0.340
3-back
0.183±0.027
<0.001∗
0.469±0.923
0.306
0.163±0.595
0.394
Table 1: Response-autocorrelation-corrected serial dependence DoG amplitudes (mean ± SEM) across temporal delays ( n -back), computed with an identical trial-level pipeline for model predictions ( N=100 models, σ=0.3 ), our in-house human data ( N=83 ), and an independent public dataset [ 20 ] ( N=20 ). Following Esposito et al. [ 19 ] , the 1-back amplitude is left uncorrected and the correction for response autocorrelation is applied at lags ≥2 . Asterisks denote statistical significance ( p<0.05 , one-sided one-sample t -test against zero).
Figure 7: Response-autocorrelation-corrected serial dependence in human orientation judgments. Combined adjustment-error curves as a function of the relative orientation between the current and 1-, 2-, and 3-back stimuli; dots are binned participant means and solid lines the group-level DoG fits. (a) In-house dataset ( N=83 ): a dominant 1-back attraction with a smaller residual 2-back component. (b) Independent public dataset (Pascucci et al. 2019, N=20 ): a monotonic, 1-back-dominant profile.
Figure 8: Model–human comparison of corrected n -back serial dependence. Peak SD amplitude (mean ± SEM) for the model ( σ=0.3 , N=100 ), the in-house human data ( N=83 ), and the independent public dataset (Pascucci et al. 2019, N=20 ), all computed with the identical response-autocorrelation-corrected pipeline. Model and public data are strongly 1-back-dominant, decay monotonically, and are statistically indistinguishable at 1-back; the in-house data show a larger residual 2-back component (see text).
Figure 9: Spatial serial dependence (Continuity Field). Positional bias toward the inducer is plotted as a function of the spatial distance ∣P1−P2∣ between the inducer position P1 (previous stimulus) and the target position P2 (current stimulus); positive values indicate attraction. Filled dots mark biases significantly different from zero ( p<0.01 , one-sample t -test); open dots are non-significant. Models trained with noise exhibit an attractive continuity field that is strongest at short distances and decays with separation, growing in magnitude with training noise, whereas the noise-free model ( σ=0.0 ) shows no bias at any distance.
Figure 10: Visualization of spatial serial dependence. Columns from left to right: inducer, target, and reconstructed target with the true target center (blue + ), the estimated centroid (red × ), and the inducer location (green dot). The top row shows a near arrangement of the inducer and target, and the bottom row a far arrangement. (a) The model trained without noise ( σ=0.0 ) shows no bias toward the inducer in either arrangement. (b) The model trained under noise ( σ=0.3 ) exhibits a robust attractive bias toward the inducer when the two stimuli are close (top), whereas the bias diminishes when they are far apart (bottom).
Humans have been shown to use a "straightened" encoding to represent the natural visual world as it evolves in time (Hénaff et al. 2019). In the context of discrete video sequences, "straightened" means that changes between frames follow a more linear path in representation space at progressively deeper levels of processing. While deep convolutional networks are often proposed as models of human visual processing, many do not straighten natural videos. In this paper, we explore the relationship between network architecture, differing types of robustness, biologically-inspired filtering mechanisms, and representational straightness in response to time-varying input; we identify strengths and limitations of straightness as a useful way of evaluating neural network representations. We find that (1) adversarial training leads to straighter representations in both CNN and transformer-based architectures but (2) this effect is task-dependent, not generalizing to tasks such as segmentation and frame-prediction, where straight representations are not favorable for predictions; and nor to other types of robustness. In addition, (3) straighter representations impart temporal stability to class predictions, even for out-of-distribution data. Finally, (4) biologically-inspired elements increase straightness in the early stages of a network, but do not guarantee increased straightness in downstream layers of CNNs. We show that straightness is an easily computed measure of representational robustness and stability, as well as a hallmark of human representations with benefits for computer vision models.
Anne Harrington, Vasha DuTell, Ayush Tewari +4
MIT CSAIL · MIT Brain and Cognitive Sciences · Woven Planet
What kind of internal organization would allow an artificial agent not only to adapt its behavior, but to sustain a history-sensitive perspective on its world? I present a minimal architecture in which a slow perspective latent g feeds back into perception and is itself updated through perceptual processing. This allows identical observations to be encoded differently depending on the agent's accumulated stance. The model is evaluated in a minimal gridworld with a fixed spatial scaffold and sensory perturbations. Across analyses, three results emerge. First, the perspective latent reorganizes perceptual encoding: identical observations are represented differently depending on prior experience, and this reorganization of salience gating replicates across runs, with five of 16 gating dimensions changing direction consistently across 30 independent runs after correction for multiple comparisons. Second, only adaptive self-modulation yields the characteristic growth-then-stabilization dynamic of the perspective latent, unlike rigid or always-open update regimes. Third, perturbation history is followed by reduced adaptive plasticity after nominal conditions are restored, showing a directionally consistent trend across seeds. Gross behavior remains stable throughout the analysis, suggesting that the dominant reorganization is perceptual rather than behavioral. Together, these findings identify a minimal mechanism for history-dependent perspectival organization in artificial agents.
Hongju Pae
Active Inference Institute, Crescent City, CA, USA
Navigation in the natural world is a feat of adaptive inference, where biological organisms maintain goal-directed behaviour despite noisy and incomplete sensory streams. Central to this ability is the Free Energy Principle (FEP), which posits that perception is a generative process where the brain minimises Variational Free Energy (VFE) to maintain accurate internal models of the world. While Deep Neural Networks (DNNs) have served as powerful analogues for biological brains, they typically lack the real-time plasticity required to handle abrupt sensory shifts. We introduce FEP-Nav, a biologically inspired framework for real-time perceptual adaptation in robust visual navigation. Motivated by the decomposition of VFE into prediction error and Bayesian surprise, FEP-Nav combines a Top-down Decoder, which provides an internal expectation of uncorrupted sensory input, with Adaptive Normalisation, which adjusts shifted feature distributions toward prior statistics. We interpret reconstruction and normalisation as approximate mechanisms for reducing the corresponding VFE-related terms during inference without gradient-based updates. Experiments across simulated and real-world visual corruptions show that FEP-Nav restores performance lost under visual corruption, outperforming non-adaptive baselines and strong adaptive methods. These results suggest that variational principles can provide a useful design perspective for robust autonomous behaviour under degraded sensory conditions.
Maytus Piriyajitakonkij, Rishabh Dev Yadav, Mingfei Sun +2
Department of Computer Science, The University of Manchester, United Kingdom · College of Computing and Data Science, Nanyang Technological University, Singapore · Institute of Advanced Intelligence and Computing (IAIC), Agency for Science, Technology and Research (A*STAR), Singapore