Structural Chain-of-Thought: Reasoning with Executable Computational Graphs
Petr Senatorov, Karim Vafin, Elena Tutubalina, Oleg Somov
Abstract
Chain-of-thought prompting enables reasoning in large language models but produces explanations that are difficult to verify, expensive to generate, and not always faithful. We introduce a Structural Chain-of-Thought framework where models generate executable computational graphs instead of free-form reasoning. The final answer is obtained by deterministically executing the graph. The model is trained using graph-based reinforcement learning that rewards structural validity, answer correctness, and node overlap with reference graphs. Experiments across five benchmarks and four model families show that our method consistently improves accuracy over supervised graph training and can reduce generation length by up to 5-6x compared with standard GRPO and chain-of-thought supervised training. Our faithfulness experiments reveal that models trained with our approach tend to rely on deriving their answers from the generated graphs rather than producing post-hoc rationalizations as usually in chain-of-thought reasoning.
Create a lesson
Related papers
Trust Hinders Bidirectional Human-AI Alignment
Michaela Benk, Kacper Sokol
GesBench: When and Where Do Multimodal Language Models Perceive Social Meaning?
Zonghuan Li, Hayley Hung, Chirag Raman
Self-Evolving Visual Agent via Margin Reward
Wenxi Yang, Yuzhong Zhao, Baochang Zhang et al.
Knowledge transfer between simple discrete worlds
Silvère Gangloff, Jan Hula
Exposing AI Inference as a Telco Network API over the 5G User Plane
Rodrigo Moreira, Larissa Ferreira Rodrigues Moreira, Joberto S. B. Martins et al.
Trace Evolution Bench: Measuring Whether Agents Improve from Their Own Environment Traces
Fangfei Li, Chenyang Zhao, Long Wang et al.