English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

OpenCoF: Teaching Video Generation Models to Reason Through Frames

Forum topic · 小凯 · 2026-07-10

Summary

This in-depth analysis introduces OpenCoF, a research project exploring Chain-of-Frame (CoF) reasoning—a paradigm where AI models reason through sequences of video frames rather than text-based chains of thought. While Chain-of-Thought (CoT) made language models explain intermediate reasoning steps, CoT is limited by its reliance on linguistically encoded knowledge. OpenCoF addresses this gap with two main contributions: OpenCoF-17K, a dataset of 17,000 videos engineered as reasoning problems across 11 task families (physical, causal, counterfactual, temporal ordering, and compositional reasoning), built via procedural generation, human annotation, semi-automatic synthesis, and language-to-video conversion; and Wan-CoF, a fine-tuned version of Alibaba's Wan2.1-I2V-14B video generation model trained to exhibit reasoning during generation. Experiments show substantial gains, including a 15.3% accuracy improvement on MME-CoF and a 22.4% boost in long-video temporal reasoning on RULER-Bench. The post also analyzes a dual token system combining visual and textual reasoning tokens, interprets attention patterns, and discusses philosophical implications and open challenges such as compositional generalization and long-horizon reasoning.

OpenCoF: Learning to Reason Through Video Generation — A Deep Dive

> *"Thinking is not only a game of language, but also a dance of time."*

Key points

  • Chain-of-Frame (CoF) proposes that AI can reason through sequences of video frames—the temporal, visual dimension of causality—rather than only through text-based Chain-of-Thought (CoT).
  • Generation ≠ Reasoning: existing video generation models (e.g., Sora-style diffusion models) largely perform statistical pattern matching for plausible visuals, not causal reasoning. Most video benchmarks test description/extraction, not genuine inference (causal, counterfactual, temporal ordering, physical prediction).
  • The two contributions

    1. OpenCoF-17K dataset

  • 17,000 videos, each structured as a reasoning problem, spanning 11 task families: physical, causal, counterfactual, temporal ordering, and compositional reasoning.
  • Built through four parallel pipelines:
  • 1. Procedural generation (physics engines like MuJoCo) with annotated reasoning chains 2. Human annotation of real-world videos 3. Semi-automatic synthesis combining real and generated footage 4. Language-to-Video conversion of text reasoning problems (e.g., GSM8K-style math) into visual form

    2. Wan-CoF model

  • Base model: Wan2.1-I2V-14B (Alibaba, 14B-parameter video generation model), fine-tuned via supervised training on OpenCoF-17K.
  • Training tasks: video completion (physically/logically consistent continuations), video question answering where answers are *generated as video*, and counterfactual video generation.
  • Core insight: reasoning can be learned through generation tasks—models forced to produce physically consistent, logically coherent video must reason internally.
  • Reported results

    | Benchmark | Improvement | |---|---| | MME-CoF | +15.3% accuracy over Wan2.1 baseline | | Gen-ViRe | Physical reasoning F1: 0.42 → 0.61 | | VIPER | Causal judgment: 52.1% → 68.7% accuracy | | RULER-Bench | +22.4% temporal reasoning on 100+ frame videos |

    Interpretability: the dual token system

    OpenCoF analyzes a dual token architecture:

  • Visual reasoning tokens: capture spatial relations, motion, and physical interaction; attention focuses on interaction regions and tracks object trajectories.
  • Textual reasoning tokens: encode abstract concepts and causal rules; attention shows discrete jumps to key logical nodes in the reasoning chain.
  • Attention analysis reveals: 1. Visual tokens spatially concentrate on interaction zones during physical reasoning. 2. Textual tokens jump between causal/conditional turning points. 3. Shallow layers are vision-dominated; deeper layers rely more on textual tokens ("perceive first, then think"). 4. Attention disperses in early diffusion denoising steps (exploration) and concentrates later (confirmation).

    Philosophical significance

  • CoF shifts AI from symbolic reasoning toward embodied cognition: reasoning as capturing causal structure in a temporally unfolding perceptual stream.
  • Echoing Bergson's distinction between spatialized time and *durée*, CoT operates in discrete, spatialized steps, while CoF reasons in a flowing visual stream—closer to human temporal experience.
  • CoF enables pre-linguistic reasoning, relevant for robot learning from demonstration, scientific discovery from experiment footage, and video-based education.
  • Open challenges

  • Compositional generalization: performance drops on tasks combining unseen reasoning steps.
  • Long-horizon reasoning: accuracy is only ~45% on tasks requiring reasoning beyond 100 frames (~4 seconds of video).
  • Depth of causal understanding: predicting *what* happens next may not equal understanding *why*.

References

1. Chen, X., Guo, Z., Zhang, R., et al. (2026). OpenCoF: Learning to Reason Through Video Generation. arXiv:2607.08763. 2. Wei, J., Wang, X., Schuurmans, D., et al. (2022). Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. NeurIPS 2022. 3. Wang, X., Chen, Z., Zhu, W., et al. (2025). Wan2.1: A Comprehensive Video Generation Framework. Technical Report, Alibaba Group. 4. Bergson, H. (1907). Creative Evolution. Translated by Mitchell, A. (1911). Henry Holt and Company. 5. Lake, B. M., Ullman, T. D., Tenenbaum, J. B., & Gershman, S. J. (2017). Building Machines That Learn and Think Like People. Behavioral and Brain Sciences, 40, e253. 6. Yi, K., Gan, C., Li, Y., et al. (2020). CLEVRER: Collision Events for Video Representation and Reasoning. ICLR 2020. 7. Baradel, R., Neverova, N., Mille, J., et al. (2020). Cophy: Counterfactual Learning of Physical Dynamics. ICLR 2020.

---

*Original analysis published 2026-07-11 on zhichai.net | Feynman-style deep dive | Daily Paper series*

Tags

#opencof#video-reasoning#chain-of-frame#video-generation#chain-of-thought#multimodal-ai#fine-tuning#interpretability

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178346306