월~금 오전 7시, 일요일 오전 8시 — AI 뉴스와 용어를 보내드립니다메일로 받아보기

METAL LAB

영상 생성 AI에게 자연어 대신 '실행 가능한 블렌더 코드'로 물리 법칙을 미리 그려주게 한 연구

arXiv:2607.273802026-07-28

VideoCoCo: Code-as-CoT for Physically-Consistent Video Generation via an Agentic Dual-Engine System

영상 생성 AI에게 자연어 대신 '실행 가능한 블렌더 코드'로 물리 법칙을 미리 그려주게 한 연구

텍스트로 영상을 만드는 AI는 압축된 문장만으로 시간에 따른 물리적 변화를 추론해야 해서 얼음이 녹거나 물체가 떨어지는 과정을 자주 틀리게 만든다. VideoCoCo는 코딩 에이전트가 블렌더 프로그램을 작성해 저품질이지만 물리적으로 정확한 초안 영상을 먼저 렌더링하고, 이를 바탕으로 편집 모델이 사실적인 최종 영상을 만드는 이중 엔진 구조를 제안한다. PhyGenBench와 VBench-2.0 두 물리 일관성 벤치마크에서 기반 모델 OmniWeaving 대비 평균 점수를 각각 0.475에서 0.558로, 52.18%에서 77.88%로 끌어올렸다.

METAL LAB 해설 도표

VideoCoCo 이중 엔진 구조

증거 상태측정 결과가 보고됨

  1. 텍스트 프롬프트사용자가 입력하는 압축된 물리 이벤트 설명
  2. 코딩 에이전트 & 실행 시뮬레이션블렌더 파이썬 프로그램을 작성하고 샌드박스에서 실행해 흰색 점토 스타일의 시간적으로 촘촘한 저품질 초안 영상을 렌더링
  3. 지시 에이전트원 프롬프트와 초안 영상을 함께 읽어 피사체·재질·조명·스타일에 초점을 둔 편집 지시문을 작성
  4. 생성 영상 엔진(편집 모델)VideoCoCo-3K로 LoRA 적응된 편집 모델이 초안과 지시문을 조건으로 사실적인 최종 영상을 생성
  5. 벤치마크 검증PhyGenBench와 VBench-2.0에서 OmniWeaving 대비 평균 점수 상승 확인
METAL LAB이 원문을 바탕으로 재구성한 해설 도표이며, 논문 저자의 원문 figure가 아닙니다.

무엇을 했나

  1. 기존 chain-of-thought 방식(텍스트 계획, 키프레임, 후보 영상 탐색)은 실행 불가능하거나 시간적으로 듬성듬성해 전체 물리 과정을 통제하기 어렵다는 문제를 지적한다.
  2. 1단계 실행 시뮬레이션 엔진: 코딩 에이전트가 프롬프트를 받아 장면과 시간에 따른 변화를 명시하는 블렌더 파이썬 프로그램을 작성하고, 샌드박스에서 실행해 흰색 점토 스타일의 저품질이지만 매 프레임이 물리적으로 정합된 초안 영상을 렌더링한다.
  3. 2단계 생성 영상 엔진: 지시 에이전트가 원 프롬프트와 초안 영상을 함께 읽어 외형(피사체, 재질, 조명, 촬영 스타일)에 초점을 둔 편집 지시문을 만들고, 이를 초안과 함께 영상 편집 모델에 넣어 사실적인 최종 영상을 생성한다.
  4. 초안-지시-정답 삼중 데이터셋 VideoCoCo-3K를 자체 파이프라인과 고성능 교사 모델 Seedance 2.0으로 구축해 편집 모델이 흰색 점토 초안을 사실적 영상으로 바꾸는 법을 학습하도록 지도한다.
  5. 편집 모델 적응 방식을 비교한 결과 튜닝 없이 초안만 넣어도 개선되었고(0.475→0.506), 저랭크 미세조정(LoRA)이 전체 파라미터 미세조정보다 더 좋은 성능(0.558 vs 0.535)을 보여 가벼운 조정이 오히려 유리했다.
Figure 1: Comparison of chain-of-thought paradigms for video generation. (1) Planning CoT externalizes reasoning as textual plans, keyframes, or layouts that condition a video generator. (2) Test-Time Search CoT samples multiple candidate videos and revises or selects among them at inference time. (3) Visual-State CoT reasons through a sequence of intermediate visual states within the generated video. In contrast, VideoCoCo (Ours) uses a code agent to synthesize executable code, renders a deterministic sandbox draft, and conditions the video generator on this draft, yielding a complete and inspectable process-level chain of thought rather than sparse or non-executable intermediates.
Figure 1: Comparison of chain-of-thought paradigms for video generation. (1) Planning CoT externalizes reasoning as textual plans, keyframes, or layouts that condition a video generator. (2) Test-Time Search CoT samples multiple candidate videos and revises or selects among them at inference time. (3) Visual-State CoT reasons through a sequence of intermediate visual states within the generated video. In contrast, VideoCoCo (Ours) uses a code agent to synthesize executable code, renders a deterministic sandbox draft, and conditions the video generator on this draft, yielding a complete and inspectable process-level chain of thought rather than sparse or non-executable intermediates.
Table 1: Physical-consistency comparison on PhyGenBench across closed- and open-source video generators. We report per-category consistency scores in [0,1] for mechanics, optics, thermal, and material dynamics, together with their average; higher is better. Adding VideoCoCo to the OmniWeaving base generator lifts every category and raises the average from 0.48 to 0.56, the best overall result, with the largest gains on material and thermal dynamics, where appearance-driven priors are weakest. Orange and Champagne cells denote the best (top-1) and second-best (top-2) results per column.
MethodMechanics (↑)Optics (↑)Thermal (↑)Material (↑)Average (↑)
ClosedPika [28]0.350.560.430.390.44
Gen-3 [29]0.450.570.490.510.51
Kling [15]0.450.580.500.400.49
OpenCogVideoX [48]0.390.550.400.420.45
Open-Sora V1.2 [54]0.430.500.440.370.44
LaVie [39]0.300.440.380.320.36
Vchitect-2.0 [6]0.410.560.440.370.45
HunyuanVideo [13]0.330.390.260.300.33
Wan2.2-TI2V-5B [34]0.550.580.530.500.54
Cosmos-Predict2.5 [25]0.300.330.410.390.35
LTX-Video-2B [7]0.510.580.480.450.51
OursOmniWeaving [27]0.480.560.430.390.48
+ VideoCoCo0.560.610.510.530.56
Figure 2: Overview of the VideoCoCo dual-engine framework. Stage 1 (Executable Simulation Engine): given a user prompt, a coding agent plans and writes a self-contained Blender program that specifies the scene and its temporal evolution; executing this program in a sandbox renders a low-fidelity spatiotemporal draft. Stage 2 (Generative Video Engine): conditioned on the stage-1 prompt and draft video, an instruction agent composes an editing instruction, which together with the draft is passed to a video editing model to produce the final high-fidelity, physically consistent video. The executable draft supplies the process-level dynamics, while the editing model supplies photorealistic appearance.
Figure 2: Overview of the VideoCoCo dual-engine framework. Stage 1 (Executable Simulation Engine): given a user prompt, a coding agent plans and writes a self-contained Blender program that specifies the scene and its temporal evolution; executing this program in a sandbox renders a low-fidelity spatiotemporal draft. Stage 2 (Generative Video Engine): conditioned on the stage-1 prompt and draft video, an instruction agent composes an editing instruction, which together with the draft is passed to a video editing model to produce the final high-fidelity, physically consistent video. The executable draft supplies the process-level dynamics, while the editing model supplies photorealistic appearance.
Table 2: Physical-plausibility comparison on VBench-2.0, reported as per-dimension plausibility percentages over mechanics, thermotics, and material, with their average; higher is better. Coupling VideoCoCo with OmniWeaving improves the average from 52.18% to 77.88% (a gain of 25.70 points) and attains the best mechanics and thermotics scores among all systems, trailing only CogVideoX-1.5 on material. Orange and Champagne cells denote the best (top-1) and second-best (top-2) results per column.
MethodMechanics (↑)Thermotics (↑)Material (↑)Average (↑)
ClosedSora [3]62.22%43.36%64.94%56.84%
Kling 1.6 [14]65.55%59.46%68.00%64.34%
OpenHunyuanVideo [13]76.09%56.52%64.37%65.66%
CogVideoX-1.5 [48]80.80%67.13%83.19%77.04%
OursOmniWeaving [27]62.79%52.08%41.67%52.18%
+ VideoCoCo92.31%72.92%68.42%77.88%
Figure 3: Qualitative comparison on representative physical processes. OmniWeaving often produces visually plausible videos that violate the requested dynamics, whereas VideoCoCo follows the executable spatiotemporal draft and better preserves the intended processes, including sublimation, vacuum-induced collapse, impact shattering, and buoyancy.
Figure 3: Qualitative comparison on representative physical processes. OmniWeaving often produces visually plausible videos that violate the requested dynamics, whereas VideoCoCo follows the executable spatiotemporal draft and better preserves the intended processes, including sublimation, vacuum-induced collapse, impact shattering, and buoyancy.
Table 3: Ablation of video-editor adaptation strategies on PhyGenBench. All variants share the same executable draft-generation pipeline and differ only in how the editor is adapted: Tuning-Free, Full-Tune, or LoRA-Tune. The Tuning-Free variant already surpasses OmniWeaving (0.48 → 0.51), isolating the contribution of executable drafting, while LoRA-Tune yields the best average (0.56), showing that drafting and editor adaptation are complementary. Bold and underline denote the best (top-1) and second-best (top-2) results per column.
MethodMech. (↑)Opt. (↑)Therm. (↑)Mat. (↑)Avg. (↑)
OmniWeaving [27]0.480.560.430.390.48
+ VideoCoCo (Tune-Free)0.500.530.480.510.51
+ VideoCoCo (Full-Tune)0.510.610.510.490.54
+ VideoCoCo (LoRA-Tune)0.560.610.510.530.56

실제로 확인된 결과

  • PhyGenBench에서 VideoCoCo를 OmniWeaving에 추가하면 평균 물리 일관성 점수가 0.475에서 0.558로 올라 표에 실린 모든 시스템 중 최고치를 기록했고, 특히 재료(+0.133)와 열(+0.078) 부문에서 개선폭이 컸다.
  • VBench-2.0에서는 OmniWeaving 단독 52.18%에서 VideoCoCo 적용 후 77.88%로 25.70포인트 상승했으며, 역학(92.31%)과 열역학(72.92%) 부문 최고 점수를, 재료 부문은 CogVideoX-1.5(83.19%)에 이어 2위를 기록했다.
  • 편집 모델 적응 방식 소거 실험에서 튜닝 없이 초안만 사용해도 평균이 0.475에서 0.506으로 올랐고, 전체 미세조정은 0.535, LoRA 미세조정이 가장 높은 0.558을 기록했다.

어디에 쓸 수 있나

  • 열역학적 변화(승화, 증발, 응고), 충돌·파손, 부력처럼 명시적 물리 과정을 요구하는 영상 콘텐츠 제작 파이프라인
  • 프롬프트만으로 물리적으로 그럴듯한 시뮬레이션 초안을 먼저 만들고 검증한 뒤 사실적 영상으로 변환하는 워크플로 설계
  • 교육·시각화 목적으로 물리 현상을 단계별로 재현하면서 중간 과정을 코드로 점검·수정할 필요가 있는 상황

한계와 남은 검증

  • 난류 유체처럼 매우 복잡한 현상은 블렌더 시뮬레이터의 표현력 한계로 제로샷 합성이 어렵다고 저자들이 밝혔다.
  • 초안 렌더링과 편집이라는 두 단계를 거치므로 기존 단일 단계 생성보다 추론 지연 시간이 늘어난다.
  • 저자들은 향후 Taichi 같은 전문 물리 엔진 통합과, 실행 시점 시뮬레이션 없이도 물리 지식을 내재화하는 지식 증류 연구를 예정하고 있다고 밝혔다.

왜 중요한가

영상 생성 AI가 물리적으로 말이 되는 장면을 만들지 못하는 문제는 세계 모델이나 시뮬레이션 활용 콘텐츠 제작에 걸림돌이 되는데, 이 연구는 코드로 과정을 먼저 확정하고 나서 외형만 입히는 방식이 이를 상당히 완화할 수 있음을 보여준다. 코드, 초안 영상, 지시문이 모두 사람이 읽고 고칠 수 있는 형태라 결과를 검증하거나 재현하기도 쉽다.

이 논문의 용어

  • Chain-of-Thought(CoT) · 결과를 한 번에 내지 않고 중간 추론 단계를 거치게 하는 방식
  • Blender · 3D 장면과 물리 시뮬레이션을 만들 수 있는 오픈소스 프로그램
  • 샌드박스(sandbox) · 프로그램을 안전하게 격리해서 실행하는 환경
  • LoRA · 모델 전체가 아닌 일부 저랭크 파라미터만 학습시키는 경량 미세조정 기법
  • OmniWeaving · 이 연구가 성능 비교의 기준으로 삼은 기존 영상 생성 모델

저자 · Haodong Li

arXiv에서 원문 보기

최신 논문

논문 전체 보기 →

METAL LAB 최신 기사

그림 출처: Haodong Li et al., arXiv:2607.27380, CC BY 4.0