---
title: Real-Time Reasoning Training (RRT)
url: https://www.emergentmind.com/topics/real-time-reasoning-training-rrt
type: topic
---

# Real-Time Reasoning Training (RRT)

Real-Time Reasoning Training (RRT) is a class of training techniques for agents that must reason and act while the environment changes independently of computation. Unlike synchronous settings, in which the environment waits for the agent to finish reasoning, RRT treats computation time as part of the agent–environment interaction. The agent must therefore learn both which action is appropriate and when additional reasoning is no longer worth the cost of delay. The term is formalized in “Learning to Reason in Real-Time” [2611.33513], which introduces training with real-time trajectories, decoupled acting and observing, and curriculum learning in time. Related work studies inference-time architectures, training-free asynchronous reasoning, and interleaved speech generation [2511.04898; 2512.10931; 2605.20946].

## 1. Problem formulation

Let an environment be represented as

$$
\mathcal{E}=(\mathcal{S},\mathcal{A},\mathcal{T}),
$$

where $\mathcal{S}$ is the state space, $\mathcal{A}$ is the action space, and $\mathcal{T}$ is the state-transition function. A trajectory contains states, reasoning tokens, rewards, and actions:

$$
H_T=\langle s_0,r_0,a_0,\ldots,s_{T-1},r_{T-1},a_{T-1},s_T\rangle.
$$

The policy receives a context derived from the history and produces candidate reasoning and an action,

$$
(\hat r_t,\hat a_t)\sim\pi(\cdot\mid C_t).
$$

In a synchronous environment, the state remains fixed while the agent reasons:

$$
r_t,a_t\sim \operatorname{await}\,\pi(\cdot\mid \operatorname{Context}(H_t)),
$$

after which the environment transitions according to

$$
s_{t+1}=\mathcal{T}(s_t,a_t).
$$

Reasoning time is consequently free from the environment’s perspective. A long chain of thought cannot cause a moving hazard to advance, make an observation stale, or eliminate an opportunity.

In a real-time environment, the environment updates after a fixed interval $\Delta_{\mathcal{E}}$ regardless of whether the action is ready. If the action has been produced, it is applied; otherwise, a null action is applied:

$$
a_t=
\begin{cases}
\hat a_t, & \operatorname{IsReady}(\hat a_t),\\
[\mathrm{NULL}], & \text{otherwise}.
\end{cases}
$$

The next state is then

$$
s_{t+1}=\mathcal{T}(s_t,a_t).
$$

Smaller $\Delta_{\mathcal{E}}$ corresponds to greater time pressure. A null action is therefore a meaningful event rather than missing data: it records that computation continued after the environment had already advanced.

RRT distinguishes two failure modes:

- **Logic error**: the agent acts, but the action is incorrect for the current state.
- **Real-time error**: the agent fails through inaction because the environment changes before an action is produced.

The central RRT trade-off is state- and time-dependent. The agent should continue reasoning when the expected benefit of additional computation exceeds the cost of delay, and act when delay is at least as costly as further deliberation. RRT is therefore not equivalent to imposing a fixed reasoning-token budget.

## 2. Defining characteristics

RRT trains agents under the temporal conditions in which they are expected to operate. The defining characteristics are:

1. **Real-time trajectory generation**: trajectories contain state transitions that occur during reasoning, including null-action transitions.
2. **Decoupled acting and observing**: new observations can enter the context even when a previous reasoning process has not produced an action.
3. **Time curriculum**: training begins with relatively relaxed dynamics and progressively increases time pressure.

These mechanisms aim to teach adaptive computation rather than a universally fixed ratio of thinking to acting. The learned policy should preserve deliberation when it is useful while shortening or terminating reasoning when delay is dangerous.

RRT differs from approaches that merely truncate reasoning at a predetermined number of tokens. A fixed budget can be adequate in one state and excessive or insufficient in another. It also differs from systems that add a separate fast-action module without training the underlying policy under evolving-environment dynamics.

The paper introducing the term reports that the combined RRT method improves reward over the strongest non-RRT baseline by an average of **33% on in-distribution tasks** and **55% on out-of-distribution tasks** in Frogger and Snake [2611.33513]. These results support the interpretation that timing competence must be learned rather than imposed solely at inference time.

## 3. Core training techniques

### Real-time trajectories

Synchronous training produces trajectories in which the agent always completes reasoning and action generation before the next state appears. Such data contain no examples in which a state changes during reasoning, an action is unavailable because it was produced too late, or inaction has an environmental consequence.

RRT collects trajectories directly from the real-time loop. A trajectory can therefore include

$$
a_i=[\mathrm{NULL}],
$$

indicating that the agent failed to produce an action before the environment update. The model learns that lengthy reasoning can cause collisions, missed opportunities, or other task failures.

The paper models time pressure in generated tokens rather than wall-clock seconds. The environment updates every $\Delta_{\mathcal{E}}$ tokens. This provides a controlled and hardware-independent approximation to inference time, although actual latency depends on hardware, batching, model implementation, and system load.

### Decoupled acting and observing

When acting and observing are coupled, a state generated after a null action may be discarded along with the null action. In the paper’s notation, if

$$
\mathcal{N}_t=\{i<t:a_i=[\mathrm{NULL}]\},
$$

the coupled context removes both the null actions and their subsequent states:

$$
C_t=H_t\setminus\{a_i,s_{i+1}:i\in\mathcal{N}_t\}.
$$

With decoupled observations, the null actions are removed but the new states are retained:

$$
C_t=H_t\setminus\{a_i:i\in\mathcal{N}_t\}.
$$

The distinction is consequential. Coupled observation causes the agent to continue from an obsolete state representation, whereas decoupled observation allows newly arrived environmental information to revise ongoing reasoning. In Frogger, this can allow the agent to detect that a car has entered a previously safe lane before committing to a move.

Decoupling is a training property of the policy–environment interaction. It is not identical to a predefined dual-thread architecture in which one process reasons and another produces rapid actions.

### Curriculum learning in time

Training exclusively under severe time pressure produces a poor final policy. RRT therefore begins with a relatively large environment-update interval and gradually decreases it. With initial interval $\Delta_{\mathcal{E}}^{\mathrm{start}}$, final interval $\Delta_{\mathcal{E}}^{\mathrm{end}}$, update period $\kappa$, and training step $n$, the schedule is

$$
\Delta_{\mathcal{E}}^n=
\Delta_{\mathcal{E}}^{\mathrm{start}}
\cdot
\rho^{\lfloor n/\kappa\rfloor},
$$

where

$$
\rho=
\left(
\frac{\Delta_{\mathcal{E}}^{\mathrm{end}}}
{\Delta_{\mathcal{E}}^{\mathrm{start}}}
\right)^{\kappa/N}.
$$

The reported implementation uses $N=640$, $\kappa=40$, and an initial interval of $1600$ tokens. The target interval depends on the training run.

The curriculum provides a progression from task learning under relatively low interruption risk to adaptive reasoning under severe pressure. The reported ablations attribute complementary functions to the three techniques: real-time trajectories teach the consequences of delayed action, decoupled observation prevents stale-state reasoning, and the time curriculum improves robustness as pressure increases.

## 4. Environments, models, and baselines

The principal evaluation uses two 2D environments, Frogger and Snake. Each environment has four seeded task variants: three in-distribution tasks used during training and one out-of-distribution task held out during training.

Frogger includes basic crossing, checkpoint crossing, rotated crossing, and an out-of-distribution round trip. Cars move continuously and wrap around the board. The agent must combine route planning with reactions to moving traffic.

Snake includes food collection, role reversal, lettered objects, and out-of-distribution ordered food. The tasks require planning over object identity and order while avoiding walls, boulders, the snake’s body, and unsafe objects.

The starting policy is Qwen3-4B. Training uses GRPO with 640 training steps, batch size 256, group size 8 rollouts, sampling temperature 1.0, no KL-divergence penalty, asymmetric PPO clipping with upper clipping 0.28 and lower clipping 0.20, bfloat16, and two H200 GPUs.

The evaluation compares RRT with four baselines:

- **Synchronous**: trained in environments that wait for the agent to finish reasoning.
- **S1**: uses fixed-budget reasoning and forces an action when the budget reaches $\Delta_{\mathcal{E}}$.
- **Reactive**: outputs actions without reasoning.
- **AgileThinker**: uses a dual-thread scaffold in which one thread reasons continuously and another produces rapid actions from the reasoning trace.

These baselines isolate distinct alternatives. S1 imposes a fixed computation limit, Reactive removes deliberation, and AgileThinker introduces a predefined division of labor. RRT instead trains one policy under the actual interaction between computation and environmental evolution.

## 5. Empirical findings

Across time pressures, the combined RRT method improves reward over the strongest non-RRT baseline by an average of 33% on in-distribution tasks and 55% on out-of-distribution tasks [2611.33513].

At $\Delta_{\mathcal{E}}=400$, RRT is approximately on par with S1. When pressure increases to $\Delta_{\mathcal{E}}=50$, average reward decreases by 43% on in-distribution tasks and 54% on out-of-distribution tasks for S1, compared with decreases of 18% and 31% for RRT.

The Synchronous baseline degrades most severely, losing at least 97% of its reward at high pressure on all tasks. Its long reasoning processes are not adapted to environments that transition before action generation finishes. AgileThinker improves on Synchronous at high pressure but loses 60% of its reward on in-distribution tasks and 52% on out-of-distribution tasks as pressure increases. Reactive is comparatively insensitive to $\Delta_{\mathcal{E}}$ because it produces no reasoning, but its overall reward is low.

On out-of-distribution tasks, RRT averages 83% reward, compared with 61% for S1 and 18% for both AgileThinker and Synchronous. On in-distribution tasks, RRT exceeds Reactive by an average of 33%, while S1 exceeds Reactive by 15%.

The additive Snake ablation reports the following rewards:

| Method | In-distribution at $\Delta_{\mathcal{E}}=200,100,50$ | Out-of-distribution at $\Delta_{\mathcal{E}}=200,100,50$ |
|---|---|---|
| Synchronous | 0.16, 0.03, 0.02 | 0.17, 0.02, 0.01 |
| + real-time trajectories | 0.56, 0.54, 0.55 | 0.57, 0.56, 0.52 |
| + decoupled observation | 0.94, 0.57, 0.60 | 0.67, 0.56, 0.57 |
| + time curriculum | 0.94, 0.90, 0.85 | 0.89, 0.73, 0.60 |

Adding real-time trajectories yields an average gain of 48 reward points, decoupled observation adds an average of 10 points, and the time curriculum adds an average of 17 points. The combined improvement relative to Synchronous is approximately 75 points overall.

Failure analysis further distinguishes the methods. Synchronous produces few logic errors but many real-time errors because it reasons too long. S1 avoids real-time errors by forcing an action but produces many logic errors because its fixed budget is insufficient. RRT reduces both categories during training and balances them during deployment.

On the Frogger out-of-distribution task at $\Delta_{\mathcal{E}}=50$, RRT wins 69.3% of episodes, compared with 24.2% for S1. Its real-time-error rate is 19.0%, its logic-error rate is 11.7%, and its win rate is 69.3%. These results illustrate the central RRT objective: preserving analytical competence without allowing computation to prevent timely action.

## 6. Relationship to adjacent approaches

RRT is related to, but distinct from, several approaches that address latency, asynchronous reasoning, or real-time planning.

### Real-time reasoning agents

“Real-Time Reasoning Agents in Evolving Environments” defines a benchmark setting in which the environment evolves during inference and introduces Real-Time Reasoning Gym with Freeway, Snake, and Overcooked [2511.04898]. It compares reactive agents with bounded computation and planning agents with extended reasoning. Its AgileThinker architecture runs reactive and planning processes concurrently, allowing the reactive process to access a partial planning trace.

AgileThinker is primarily an inference-time coordination architecture. It does not train a new real-time reasoning model, introduce an urgency-aware loss, or learn interruption and routing policies. Its significance for RRT is as a strong architectural baseline that demonstrates the complementarity of rapid current-state reaction and longer-horizon planning.

### Training-free asynchronous reasoning

“AsyncReasoning” uses RoPE-based cache rearrangement and custom inference scheduling to let an LLM think, listen, and generate output concurrently without modifying model weights [2512.10931]. It uses separate logical views of shared prompt, thinking, and writing blocks, together with synchronization prompts that determine whether writing should continue or pause.

The method reduces time to the first non-thinking token to at most five seconds in the reported abstract and reduces overall real-time delays by 6–11 times. It is nevertheless a training-free inference baseline rather than RRT in the training sense. Premature writing, stale reasoning, synchronization errors, safety races, and untested interruption behavior remain limitations.

### Interleaved speech reasoning

“Thinking-while-speaking” introduces InterRS, which trains a speech model to alternate internal reasoning segments $T_i$ and spoken answer segments $A_i$ [2605.20946]. Its training combines interleaved supervised fine-tuning with GRPO and two principal rewards: TA-Balance Reward and Linguistic Quality Reward.

InterRS controls the placement and length of reasoning relative to speech, using a reported 4:1 thinking-to-answer length ratio. It evaluates Qwen2.5-Omni-3B on logical and spoken-language tasks and reports an aggregate score of 49.33 while retaining instant-response status, compared with 51.10 for the full thinking SFT+RL system and 36.92 for the fast-CoT SFT+RL baseline. Its focus is speech latency and fluency rather than environment-state transitions, null actions, or adaptive action timing.

### Learned geometric planning

Neural Informed RRT* combines informed sampling, point-cloud guidance, Neural Focus, and Neural Connect for path planning [2309.14595]. Its learned components accelerate sampling, while an Informed RRT* fallback preserves probabilistic completeness and asymptotic optimality under classical assumptions.

This work concerns real-time robotic planning in the broader operational sense, including demonstrations on a TurtleBot 2i around static obstacles and dynamic humans. It is not RRT as defined for language-model agents: collision checking, tree expansion, rewiring, and solution validation remain rule-based, and the learned system does not train a policy to decide when to stop reasoning and act.

## 7. Limitations and research directions

The reported RRT evidence is limited to two 2D games, one Qwen3-4B model, discrete actions, controlled update intervals, and token-based timing. Out-of-distribution evaluation consists of held-out task variants within the same environments rather than radically different domains. The 33% and 55% improvements therefore establish performance in the reported setting rather than universal gains for physical-world agents.

Token-based time is a controllable proxy but not wall-clock time. Actual latency depends on hardware, batching, model implementation, and system load. Physical environments generally do not permit direct control of $\Delta_{\mathcal{E}}$, and continuous control, robotics, computer use, and other asynchronous settings may introduce timing and action-duration complications absent from the experiments.

The method also does not introduce a separate formal latency penalty or a general optimal-stopping objective. The time trade-off is learned indirectly because delayed and null actions affect ordinary task rewards. Future work must address reliable wall-clock modeling, environments with uncontrollable timing, larger models, continuous action spaces, and broader transfer.

Other relevant approaches identify additional unresolved issues. AgileThinker relies on a fixed or manually selected division of labor; AsyncReasoning relies on prompts and synchronization heuristics; InterRS uses fixed segment-ratio controls whose relationship to hardware-specific latency is indirect. These limitations suggest that future RRT systems may need learned interruption policies, adaptive computation allocation, state-expiration modeling, plan revision, explicit deadline-aware rewards, and safety mechanisms that prevent stale or incomplete reasoning from producing irreversible actions.

RRT’s principal contribution is to make computation an explicit component of the agent–environment loop. Its objective is neither maximal deliberation nor unconditional immediacy, but adaptive reasoning: longer when reasoning is valuable, shorter when delay is costly, and continuously responsive to observations that arrive while inference is still underway.

Source: https://www.emergentmind.com/topics/real-time-reasoning-training-rrt