HyperAIHyperAI

Command Palette

Search for a command to run...

كشف أسرار الاستدلال المرئي

الملخص

أظهرت التطورات الحديثة في توليد الفيديو ظاهرة غير متوقعة: حيث تمتاز نماذج الفيديو القائمة على الانتشار (Diffusion) بقدرات استدلالية غير تافهة. تُعزى الأعمال السابقة هذه الظاهرة إلى آلية تُعرف باسم "سلسلة الإطارات" (Chain-of-Frames, CoF)، يفترض فيها أن الاستدلال يتكشف تسلسلياً عبر إطارات الفيديو. في هذا العمل، نتحدى هذا الافتراض ونكشف عن آلية مختلفة جوهرياً. نُظهر أن الاستدلال في نماذج الفيديو ينشأ في المقام الأول على طول خطوات إزالة الضوضاء في عملية الانتشار (diffusion denoising steps). من خلال التحليل النوعي وتجارب الاستقصاء المستهدفة، وجدنا أن النماذج تستكشف حلولاً مرشحة متعددة في خطوات إزالة الضوضاء المبكرة، ثم تتقارب تدريجياً نحو إجابة نهائية؛ وهي عملية نسميها "سلسلة الخطوات" (Chain-of-Steps, CoS).بجانب هذه الآلية الأساسية، حددنا عدة سلوكيات استدلالية ناشئة تُعد حاسمة لأداء النموذج: (1) الذاكرة العاملة، التي تتيح الإشارة المستمرة إلى المعلومات السابقة؛ (2) التصحيح الذاتي والتحسين، مما يسمح بالتعافي من الحلول الوسيطة الخاطئة؛ و(3) الإدراك قبل الفعل، حيث تُرسّخ الخطوات المبكرة التأسيس الدلالي (semantic grounding)، بينما تُنفذ الخطوات اللاحقة التلاعب المنظم. خلال خطوة انتشار واحدة، كشفنا أيضاً عن تخصص وظيفي ذاتي التطور داخل محولات الانتشار (Diffusion Transformers)، حيث تقوم الطبقات المبكرة بترميز البنية الإدراكية الكثيفة، وتنفذ الطبقات الوسطية عملية الاستدلال، بينما تعمل الطبقات المتأخرة على توحيد التمثيلات الكامنة (latent representations).استلهاماً من هذه الرؤى، نقترح استراتيجية بسيطة خالية من التدريب كدليل على المفهوم (proof-of-concept)، تُظهر كيف يمكن تحسين الاستدلال من خلال تجميع مسارات التمثيلات الكامنة (latent trajectories) من نماذج متطابقة ذات بذور عشوائية مختلفة. بشكل عام، يقدم عملنا فهماً منهجياً لكيفية نشوء الاستدلال في نماذج توليد الفيديو، مقدماً أساساً لتوجيه الأبحاث المستقبلية نحو الاستفادة بشكل أفضل من ديناميكيات الاستدلال الفطرية في نماذج الفيديو كركيزة جديدة للذكاء.

One-sentence Summary

Researchers from SenseTime Research and Nanyang Technological University propose that video reasoning emerges via a Chain-of-Steps mechanism during diffusion denoising rather than across frames. This discovery reveals emergent behaviors like self-correction and enables a training-free strategy to enhance reasoning by ensembling latent trajectories.

Key Contributions

  • The paper introduces the Chain-of-Steps (CoS) mechanism, demonstrating that reasoning in diffusion-based video models unfolds along denoising steps rather than across frames, where models explore multiple candidate solutions early and progressively converge to a final answer.
  • This work identifies three emergent reasoning behaviors critical to performance: working memory for persistent reference, self-correction capabilities to recover from intermediate errors, and a perception-before-action dynamic where early steps establish semantic grounding before later steps perform manipulation.
  • A training-free inference strategy is presented that improves reasoning by ensembling latent trajectories from identical models with different random seeds, with experiments showing this approach retains diverse reasoning paths and increases the likelihood of converging to correct solutions.

Introduction

Diffusion-based video models have recently demonstrated unexpected reasoning capabilities in spatiotemporally consistent environments, offering a new substrate for machine intelligence beyond static images and text. Prior research incorrectly attributed this ability to a Chain-of-Frames mechanism where reasoning unfolds sequentially across video frames, leaving the true internal dynamics largely unexplored. The authors challenge this assumption by revealing that reasoning primarily emerges along the diffusion denoising steps, a process they term Chain-of-Steps. They identify critical emergent behaviors such as working memory, self-correction, and functional layer specialization within the model architecture. Leveraging these insights, the team introduces a simple training-free strategy that ensembles latent trajectories from multiple model runs to improve reasoning performance by preserving diverse candidate solutions during generation.

Method

The proposed framework is built upon VBVR-Wan2.2, a video reasoning model finetuned from the Wan2.2-I2V-A14B architecture using flow matching. The core mechanism treats the diffusion denoising process as a primary axis for reasoning. The model learns a velocity field vθ(xs,s,c)v_{\theta}(x_{s}, s, c)vθ(xs,s,c) conditioned on a prompt ccc, guiding the latent xsx_sxs along a continuous transport path defined by xs=(1s)x0+sx1x_s = (1 - s) x_0 + s x_1xs=(1s)x0+sx1, where x0x_0x0 is the clean latent and x1x_1x1 is noise. By estimating the clean latent at each step via x^0=xsσsvθ(xs,s,c)\hat{x}_0 = x_s - \sigma_s \cdot v_{\theta}(x_s, s, c)x^0=xsσsvθ(xs,s,c), the system visualizes the evolution of semantic decisions. This analysis reveals that early diffusion steps function as a high-level heuristic search where the model populates the latent workspace with multiple hypotheses, while later steps prune suboptimal trajectories to converge on a solution.

Refer to the framework diagram for a visualization of this multi-path exploration and subsequent pruning in a maze-solving task.

The study further analyzes the impact of noise injection strategies on the reasoning trajectory, comparing noise at specific diffusion steps versus frames.

Two distinct modes of step-wise reasoning are identified: Multi-path Exploration, where parallel possibilities are spawned, and Superposition-based Exploration, where patterns are completed through overlapping states.

The architecture exhibits emergent reasoning behaviors critical for complex tasks, including working memory to retain essential information and self-correction to refine intermediate hypotheses.

To stabilize these reasoning trajectories, a training-free ensemble strategy is implemented. This method exploits the shared probabilistic bias in the reasoning manifold by executing multiple independent forward passes with different initial noise seeds. During the critical early diffusion steps, hidden representations from the mid-layers (specifically layers 20 to 29) are extracted and spatially-temporally averaged. This latent-space ensemble filters out seed-specific noise and steers the probability distribution toward a more stable state.

Experiment

  • Chain-of-Steps analysis validates that video reasoning occurs across diffusion denoising steps rather than frame-by-frame, with models exploring multiple solution paths in parallel before converging to a final outcome.
  • Noise perturbation experiments confirm that disrupting specific diffusion steps severely degrades performance, whereas corrupting individual frames is more easily recovered, proving that the reasoning trajectory is highly sensitive to step-wise information flow.
  • Layer-wise mechanistic analysis reveals a hierarchical processing structure where early transformer layers focus on global background context, while middle and later layers concentrate on foreground objects and execute critical logical reasoning.
  • Latent swapping experiments demonstrate that middle layers encode semantically decisive information, as altering representations at these specific depths directly reverses the final inference results.
  • Investigations into frame counts and model distillation show that while reasoning is not strictly frame-dependent, maintaining a minimum number of frames is essential for spatiotemporal coherence, and aggressive step compression in distilled models can collapse the latent exploration phase required for effective reasoning.
  • Qualitative observations identify emergent behaviors such as working memory for preserving object states, self-correction mechanisms that refine incorrect initial hypotheses, and a "perception before action" transition where static grounding precedes dynamic motion planning.

بناء الذكاء الاصطناعي بالذكاء الاصطناعي

من الفكرة إلى الإطلاق — سرّع تطوير الذكاء الاصطناعي الخاص بك مع المساعدة البرمجية المجانية بالذكاء الاصطناعي، وبيئة جاهزة للاستخدام، وأفضل أسعار لوحدات معالجة الرسومات.

البرمجة التعاونية باستخدام الذكاء الاصطناعي
وحدات GPU جاهزة للعمل
أفضل الأسعار

HyperAI Newsletters

اشترك في آخر تحديثاتنا
سنرسل لك أحدث التحديثات الأسبوعية إلى بريدك الإلكتروني في الساعة التاسعة من صباح كل يوم اثنين
مدعوم بواسطة MailChimp