Bayesian sense of time in biological and artificial brains

Zafeirios Fountas, Alexey ZakharovarXiv 2022

Introduction

The subjective experience of time—how it "flies" during excitement or "drags" during boredom—remains a central mystery in neuroscience. Traditional "pacemaker-accumulator" models, which posit a literal internal clock, struggle to explain these variations. This paper explores the "Bayesian Brain" hypothesis, suggesting that time perception is not a direct measurement but a probabilistic inference. By integrating noisy sensory data with prior expectations, both biological organisms and artificial agents construct a subjective sense of duration.

Computational Frameworks for Temporal Inference

The authors review several models that move beyond rigid discrete-time steps ($t, t+1, t+2$) common in standard Reinforcement Learning (RL).

Bayesian Observer-Actor Models

These models treat duration as a magnitude to be estimated. They incorporate a likelihood (noisy sensory input) and a prior (memory of previous intervals). This framework explains common human biases, such as Vierordt’s Law, where estimates regress toward the mean of recently experienced intervals.

Bayesian Observer-Actor models for interval timing. Model (a) represents a standard estimation process, while (b) includes an additional transformation stage.

Perceptual Change and Subjective Timescales

Instead of counting internal ticks, some models count changes. Research using deep convolutional networks like AlexNet suggests that the distance between successive neural activations can serve as a proxy for time. In AI, Subjective-Timescale Models (STMs) use Bayesian Surprise (measured via KL divergence) to identify significant temporal markers, allowing agents to focus on moments of high unpredictability.

Variational Predictive Routing (VPR)

VPR is a hierarchical generative model that segments continuous experience into discrete "events." It utilizes nested timescales: lower levels handle rapid sensory flow, while higher levels represent abstract, slower-moving temporal features.

Key Insights: Time as an Emergent Property

  • Inference over Input: Time is not an external input but an inference derived from sensory flow. We perceive time because our internal models are constantly predicting the world's next state.
  • The Saliency-Time Link: Subjective duration is stretched by salient or surprising events. AI agents leveraging "Bayesian surprise" can ignore redundant information and focus computation on critical environment changes.
  • Hierarchical Segmentation: Temporal abstraction—processing time at multiple scales—is crucial for complex planning. This hierarchy allows the brain (and advanced AI) to manage everything from millisecond-level motor control to hour-long episodic tasks.

Results and Implications

  • Human-like Biases: Bayesian models successfully replicate human timing patterns, including Weber’s Law (higher error for longer intervals) and regression to the mean.
  • AI Efficiency: Agents using STMs outperform those on fixed physical clocks in planning tasks. By identifying "keyframes," they can project further into the future with reduced computational cost.
  • Zero-Shot Timing: Vision networks like AlexNet can estimate video duration with human-like error patterns without explicit training, suggesting that a temporal sense is an emergent property of robust perceptual systems.

Limitations and Future Directions

Despite progress, challenges remain. Human timing varies significantly between prospective (paying attention to time) and retrospective (remembering duration) modes, a distinction current AI models often fail to capture. Furthermore, most AI still relies on a "physical time" crutch to update Bayesian priors. Developing truly "clockless" AI that relies entirely on event-based subjective time and scaling hierarchical models to human-level temporal depth are key areas for future research.

Summary updated

BibTeX
@misc{fountas2022bayesian,
  author = {Zafeirios Fountas and Alexey Zakharov},
  title = {{Bayesian sense of time in biological and artificial brains}},
  year = {2022},
  eprint = {2201.05464},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.05464},
}
Figure