NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cycle-of-Science: Reliable Reasoning through Counterfactual Verification for Agent Decision Making

Ruojie Zhang, Wencheng Zhu, Peiyuan Jiang, dayong zhuICML 2026

Introduction

Current autonomous AI agents often fail because they mistake correlation for causation—akin to assuming a light switch works simply because you are standing near it, rather than because you flipped it. While Large Language Models (LLMs) have significantly advanced agent perception and execution, their reliance on passive learning leaves them vulnerable to spurious correlations. To address this, researchers introduce the Cycle-of-Science (CoS) framework, which equips agents with the scientific method—Hypothesis, Experiment, and Validation—to verify causal links before making decisions.

The Challenge of Passive Learning

LLMs excel at pattern matching based on historical data but frequently fail to grasp the underlying "why" of an environment. For example, in a scientific simulation, a standard agent might observe that "fertilizer" is often located near "growing plants" and conclude that applying fertilizer alone guarantees success. It ignores the causal prerequisite that fertilizer only works if the plant also receives water and light. This reliance on spurious correlations makes agents fragile when navigating novel scenarios or complex, multi-variable tasks. The CoS framework aims to shift the agent's internal dialogue from "What usually happens next?" to "Why does this action lead to success?"

The Cycle-of-Science (CoS) Framework

The CoS framework structures decision-making into an iterative, scientific loop designed to autonomously explore and verify causal pathways:

  1. Causal Hypothesis Generation: An "Intuitive Reasoner" (utilizing an LLM with high-temperature sampling to encourage diverse, creative ideas) generates several candidate actions and predicts their expected effects.
  2. Intervention Experiment: An "Intervention Planner" designs controlled experiments. For each hypothesis, it creates an "intervention arm" (executing the action) and a "baseline arm" (withholding the action) starting from the exact same state.
  3. Intervention Validation: An "Analytical Reasoner" (using low-temperature sampling for precision) evaluates the outcomes of these rollouts. It calculates an Empirical Intervention Score (EIS) to quantify the actual causal impact of the action, filtering out ineffective choices.

Training Pipeline

To make this framework practical for policy training, the authors introduce a two-stage pipeline:

  • Supervised Fine-Tuning (SFT): The model is initially trained on successful causal reasoning chains.
  • Counterfactual Preference Optimization (CPO): A novel training objective that uses the results of the intervention experiments as preference signals. Instead of relying on human labels, the model learns to prefer reasoning paths empirically validated by the environment itself.

Experimental Setup

The framework was evaluated across three diverse interactive benchmarks:

  • ScienceWorld: A text-based simulation of elementary science experiments covering physics, chemistry, and biology.
  • ALFWorld: A benchmark for household manipulation tasks (e.g., "put a clean sponge in the cabinet").
  • Crafter: A 2D open-ended survival game requiring long-term planning and resource management.

The training data consisted of 5,000 seed trajectories from human demonstrations, expanded to 50,000 via self-play, all augmented with CoS reasoning chains.

Key Insights

  • The "Scientist’s Mindset": By treating internal beliefs as testable conjectures rather than absolute truths, agents can prune ineffective actions before executing them in the actual trajectory.
  • Dual-Process Reasoning: Using high-temperature sampling for "brainstorming" and low-temperature sampling for "judging" effectively mimics human cognitive strategies for problem-solving.
  • Adaptive Thresholding: The framework adjusts the strictness of validation based on the agent's uncertainty (policy entropy). In unfamiliar states, the agent lowers its threshold to encourage exploration; in confident states, it maintains strict filtering.
  • Causal Signals Over Human Labels: Using the environment's own feedback (the EIS) to create preference pairs for CPO provides a more objective, scalable training signal than subjective human annotations.

Results and Performance

The CoS framework demonstrated significant improvements over existing methodologies:

  • Superior Performance: CoS consistently outperformed state-of-the-art baselines like ReAct and GLIDER. On ScienceWorld, it achieved a +12.69% improvement in success rate over the best baseline using a Mistral-7B backbone.
  • Robust Generalization: Performance gains were most pronounced on "unseen" tasks, proving the agent learned underlying causal logic rather than merely memorizing trajectories.
  • Step Efficiency: Despite the internal "thinking" and experimentation time, CoS agents completed tasks in 7.9%–9.7% fewer steps by avoiding wasteful trial-and-error.
  • Model Scaling: A smaller model (Llama-3B) trained with CoS outperformed a much larger model (Llama-8B) trained with standard methods, suggesting that causal structuring acts as a powerful "force multiplier" for model capacity.

Limitations and Future Directions

While highly effective, the CoS framework has notable limitations. The primary drawback is computational overhead; running multiple counterfactual rollouts for every decision step significantly increases LLM calls and environment interactions. Additionally, if the agent rejects all generated hypotheses, it may default to suboptimal actions, highlighting the need for better fallback mechanisms. Finally, in very long tasks, context window limitations can cause the agent to lose track of earlier causal discoveries.

Future research will likely focus on developing lower-cost validation methods and improving uncertainty calibration to make the Cycle-of-Science more computationally efficient for real-time applications.

Summary updated

BibTeX
@inproceedings{zhang2026cycle,
  author = {Ruojie Zhang and Wencheng Zhu and Peiyuan Jiang and dayong zhu},
  title = {{Cycle-of-Science: Reliable Reasoning through Counterfactual Verification for Agent Decision Making}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=NvTyyBFICP},
}
Figure