Self-Supervised Scaling of Terminal Environments for Scientific Domains
Self-supervised reconstruction of scientific software yields verified terminal-agent data and lifts Qwen on Terminal-Bench 2.
The paper introduces software-in-the-loop reconstruction, a self-supervised method that obtains reference outputs and verification targets from existing executable scientific software instead of hand-authored solutions. The setup uses 500 workflows and 46 software families across six domains. Across three attempts per task, Qwen3.8-Max solves 838 tasks and produces 1,422 verified trajectories, oversampled to 3,000 reconstruction-only examples. Supervised fine-tuning of Qwen3.8-27B raises mean Terminal-Bench 2 from 47.94% to 53.56% across three seeds, the best of four matched-token corpus controls.
- SWR derives reference outputs and verifiers from existing executable scientific software.
- Setup covers 500 workflows and 46 software families across six domains.
- Qwen3.8-Max yields 1,422 verified trajectories, oversampled to 3,000 examples.
- Fine-tuned Qwen3.8-27B lifts Terminal-Bench 2 from 47.94% to 53.56%.
- AI models
- Qwen3.8-MaxQwen3.8-27B
From the original article
1 min read at huggingface.coTerminal agents are increasingly deployed beyond software engineering in science and other specialized domains. Constructing training environments requires executable reference behavior and a domain-specific verifier that distinguishes semantic correctness from superficially plausible artifacts. Authoring these components for each task requires repeated engineering and limits reuse.
By Zhongzhi Li, Yucheng Shi, Zongxia Li · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.