Learning to Reason in Real-Time
Abstract
AI agents that operate in the real world must reason correctly and on-time, yet they currently do not account for how time should alter their reasoning.
Modern agents learn to do tasks in environments that are entirely synchronous: where the world waits for the agent to act before changing.
A real-time environment, by contrast, changes independent of the agent.
Existing approaches try to bridge this gap by imposing a ratio of thinking to acting.
However, for an agent to succeed in real-time it must learn to act quickly when delay is costly and to reason longer when the benefit outweighs the missed opportunities.
To this end, we introduce real-time reasoning training (RRT) as the class of training techniques for real-time reasoning agents.
We develop three standard RRT techniques: (1) using real-time data, (2) decoupling acting and observing, and (3) curriculum learning in time.
Together, these simple techniques substantially outperform strong baselines.
Across time pressures, we outperform the strongest non-RRT baseline by an average of 33% reward on in-distribution and 55% reward on out-of-distribution tasks in two real-time environments: Frogger and Snake.
These results demonstrate that we can teach agents to balance reasoning and responsiveness under real-time constraints, and that RRT opens a broad, new set of capabilities for real-time agents.