Skip to main content
QUICK REVIEW

[Paper Review] Interval timing in deep reinforcement learning agents

Ben Deverett, Ryan Faulkner|arXiv (Cornell University)|May 31, 2019
Neuroscience and Music PerceptionNeuroscience31 references7 citations
TL;DR

This paper investigates interval timing in deep reinforcement learning agents using a neuroscience-inspired task where agents must reproduce a sample time interval to receive a reward. Both recurrent (LSTM) and feedforward agents successfully learned the task, with recurrent agents using internal counters in LSTM units and feedforward agents developing stigmergy-like strategies resembling biological timing mechanisms.

ABSTRACT

The measurement of time is central to intelligent behavior. We know that both animals and artificial agents can successfully use temporal dependencies to select actions. In artificial agents, little work has directly addressed (1) which architectural components are necessary for successful development of this ability, (2) how this timing ability comes to be represented in the units and actions of the agent, and (3) whether the resulting behavior of the system converges on solutions similar to those of biology. Here we studied interval timing abilities in deep reinforcement learning agents trained end-to-end on an interval reproduction paradigm inspired by experimental literature on mechanisms of timing. We characterize the strategies developed by recurrent and feedforward agents, which both succeed at temporal reproduction using distinct mechanisms, some of which bear specific and intriguing similarities to biological systems. These findings advance our understanding of how agents come to represent time, and they highlight the value of experimentally inspired approaches to characterizing agent abilities.

Motivation & Objective

  • To study how deep reinforcement learning agents develop interval timing abilities in a controlled, experimentally inspired environment.
  • To determine which architectural components (recurrent vs. feedforward) are necessary for successful temporal reproduction.
  • To compare the emergent timing strategies of artificial agents to known biological mechanisms in animals.
  • To evaluate whether end-to-end trained agents converge on solutions similar to those observed in biological systems.
  • To explore the role of backpropagation through time and credit assignment in learning temporal dependencies.

Proposed method

  • Agents were trained end-to-end in a PsychLab environment on an interval reproduction task modeled after neuroscience experiments.
  • The task required agents to fixate on a central cross, wait for a sample interval after a 'Set' cue, then gaze at a 'Go' target to complete the trial.
  • Performance was evaluated based on whether the production interval (time from 'Set' to 'Go' gaze) matched the sample interval within a tolerance.
  • Recurrent agents used LSTM controllers with backpropagation through time; feedforward agents used non-recurrent networks relying on policy gradient updates.
  • Architectural ablations were performed, including frozen LSTM weights, truncated backpropagation (10-step RL), and replacements with vanilla RNN, GRU, and RMC.
  • Strategies were analyzed via hidden unit activations, action trajectories, and generalization across intervals.

Experimental results

Research questions

  • RQ1Do recurrent and feedforward deep reinforcement learning agents develop distinct strategies for interval timing?
  • RQ2How do architectural choices (e.g., recurrence, backpropagation through time) influence the emergence of temporal representations?
  • RQ3To what extent do the timing strategies of artificial agents resemble those observed in biological systems?
  • RQ4Can feedforward agents learn interval timing without explicit recurrent memory, relying instead on policy credit assignment?
  • RQ5How robust is interval timing performance to architectural modifications such as frozen weights or truncated learning updates?

Key findings

  • Both recurrent (LSTM) and feedforward deep reinforcement learning agents successfully solved the interval reproduction task in an end-to-end manner.
  • Recurrent agents developed internal timing mechanisms resembling counters, with distinct activation patterns in LSTM hidden units corresponding to elapsed time.
  • Feedforward agents adopted stigmergy-like strategies, where timing emerged from cumulative action patterns rather than explicit memory, resembling psychophysical findings in animals.
  • The frozen LSTM agent achieved performance comparable to the trainable LSTM, indicating that learning can occur even with non-trainable internal weights.
  • Recurrent agents maintained strong performance under truncated backpropagation (10-step RL), while feedforward agents were severely impaired, highlighting the role of temporal credit assignment in non-recurrent networks.
  • Performance was robust to architectural variations, including replacements with vanilla RNN, GRU, and RMC, though some exhibited performance biases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.