TRANSMISSION // 2611.37703v1

CoT-Factory adds synthesized reasoning to agent data

Source published

CoT-Factory generates reasoning for recorded agent actions without replaying their environments. The authors report gains on several benchmarks, but declines on GAIA for both model sizes.

AI-generated conceptual illustration for CoT-Factory adds synthesized reasoning to agent data
AI-generated conceptual illustration; not documentary evidence.

Many agent records capture actions without accessible reasoning. CoT-Factory explores whether new reasoning can be generated from those records and used for training—while checking it against the recorded history.

Turning action records into training examples

A computer-use agent might inspect a file, run a command or click a button. Records of these interactions can be useful for training, but may lack the reasoning that connects observations to actions. The problem also arises in human interaction traces, which typically do not include explicit chain-of-thought (CoT), or step-by-step reasoning text. Proprietary-model trajectories can pose a different obstacle: their internal reasoning may not be accessible.

A new arXiv preprint introduces CoT-Factory, a framework for generating reasoning text from recorded interaction histories and target actions. The researchers ask whether this synthesized text can provide useful training supervision without rebuilding or replaying the original task environment.

The aim is not simply to produce an explanation that makes an action sound plausible. A model might predict an action well even when its accompanying reasoning contains factual or logical errors. CoT-Factory therefore combines action compatibility with checks against the recorded history.

Reusing histories and checking claims

The framework trains a specialized model to generate reasoning from the history before an action and the recorded action itself. It does not give the model later observations from the trajectory. The authors describe three main components.

Tree-SFT reduces repeated computation during training. Many examples along a long interaction share the same history prefix. Instead of processing that prefix independently for each example, Tree-SFT represents it as a shared trunk, with separate reasoning examples attached at different points. The authors report training on paths up to 262,144 tokens.

Action-conditioned guidance encourages generated reasoning to fit the recorded action. Structured quality control then checks the reasoning against the history. The system extracts problems and plans, and verifies claims for historical support and factual or arithmetic consistency. It also checks whether a plan describes an expected outcome as though it had already been observed.

Not every step receives verified reasoning. The paper says that unresolved steps retain their recorded observations and actions, while unverified reasoning is masked from the student model’s training loss. In other words, the action record can still contribute even when its synthesized explanation is not used as a reasoning target.

These checks do not establish that the generated text is the agent’s original reasoning. The paper notes that expressed reasoning need not faithfully reflect a model’s computation. CoT-Factory creates new text conditioned on the record; it does not retrieve a hidden thought process.

Benchmark gains, with a notable exception

The experiments used TerminalHorizon-3k trajectories. The researchers trained a Qwen3.5-4B reasoning-synthesis model on 70,724 valid steps sampled from 1,341 auxiliary trajectories, then used synthesized reasoning to train 4B and 9B agents. They evaluated the agents on Terminal-Bench 1.0 and 2.1, GAIA, VITA-Cross, AutomationBench and DeepPlanning.

For the 4B model, the authors report an 8.61-percentage-point increase over the untuned baseline on Terminal-Bench 2.1 avg@3. They also report 40.44% pass@3, matching the original-reasoning reference on that metric. Across eight reported metrics, their measure of recovered gains averaged 68.12% for the 4B model and 64.24% for the 9B model. This measure compares gains over the untuned baseline with gains from training on original reasoning; it does not mean the synthesized method matched the reference on every metric.

The results were not uniformly positive. GAIA performance declined for both model sizes. The authors’ inspection identified a bias in the synthesized data under the GAIA evaluation setup: models could fail to submit a final answer. They identify this mismatch as a direction for future work. This result is a reminder that training on reasoning that fits recorded actions does not guarantee that an agent will meet every benchmark’s requirements.

In other experiments, action-conditioned guidance increased the proportion of generated candidates that passed the authors’ checks. An ablation also found better downstream results with structured verification than with a general language model judging free-form reasoning directly. These findings apply to the study’s methods and evaluation setup; they do not show that the checks catch every error.

What remains uncertain

The results suggest that existing action records can be turned into useful reasoning supervision without replaying their environments. But benchmark performance is not proof that generated explanations are faithful accounts of how an agent reached a decision, or that the method will generalize to every task. The GAIA decline points to a specific limitation, while questions about explanation quality and broader generalization remain open.

This work is an arXiv preprint and may not have been peer reviewed. The reported results come from the authors’ experiments and comparisons, not independent validation. CoT-Factory is best viewed as a proposed data-generation method with reported gains on several measures and clear unresolved questions.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.