# MaLiang-Harness: A Programmable Path to Image and Video Generation

MaLiang-Harness: 이미지 및 비디오 생성을 위한 프로그래머블 경로

Haoyu Zhao, Zihao Zhang, Xudong Wang, Jiaxi Gu, Zuxuan Wu, Yu-Gang Jiang 외 1명 · arXiv · 2026년 9월 28일

- **연구 문제** 프로그램이 오류 없이 실행되어도 요청한 구성, 외형, 움직임을 만족하지 못하는 문제를 다룹니다. 이 논문은 그 차이를 Program-to-Visual 갭으로 정의하고 상태 유지 구조로 줄이려 합니다.
- **연구 방법** 실행 가능한 프로그램과 자산, 작업 맥락을 PEG 상태로 유지하고, 연산 기록은 TGP가 남기며, 현재 리비전의 검증은 REV가 담당합니다. 세 요소는 같은 수정 색인을 기준으로 맞물립니다.
- **주요 결과** MaLiang-IBench에서 GPT-6-Astra는 50개 모두 생성에 성공했고 48개 이미지가 모든 품질 기준을 충족했습니다. 생성 성공만으로는 시각 요구 충족을 보장하지 않으며, 일반 능력 지수와의 상관도 예측력이 제한적입니다.

## 프로그램이 실행되어도 시각 요구가 빠지는 문제

시각 생성을 실행 가능한 프로그램으로 바꾸면 그리기 순서, 좌표, 애니메이션 시간처럼 결과를 직접 지정할 수 있습니다. 그러나 프로그램이 오류 없이 실행되는 것만으로는 사용자가 요청한 구성, 외형, 움직임이 보장되지 않습니다. 이 논문은 이러한 차이를 프로그램 수준의 정확성과 시각 요구 충족 사이의 불일치로 정의하고 Program-to-Visual(P2V) 갭이라고 부릅니다. 물체가 엉뚱한 자리에 놓이거나 움직임 사건이 잘못된 시점에 일어나는 경우가 대표적인 예입니다.

이 간극을 줄이려면 모델이 코드가 만들 시각적 결과를 미리 추론하고, 렌더링된 결과를 증거로 삼아 프로그램과 계획을 함께 고쳐야 합니다. 수정 과정에서는 이전 버전을 잃지 않아야 하며, 새 수정이 이미 만족한 요구를 깨뜨리지 않았는지 다시 확인해야 합니다. 논문은 이런 요구를 다루기 위해 상태를 유지하는 하네스인 MaLiang-Harness를 제안합니다.

## PEG 상태, 기록, 검증이 같은 리비전을 공유하는 구조

MaLiang-Harness는 MLLM이 프롬프트 p와 출력 명세 ω로부터 실행 가능한 시각 프로그램을 만들고, 선택된 백엔드 b가 이를 이미지나 비디오로 렌더링하도록 연결합니다. 핵심은 세 구성요소가 같은 수정 색인 k를 기준으로 맞물리는 것입니다. PEG 상태 \\(S\_k\\)는 프로그램 Pk와 백엔드 식별자, 자산 Ak, 공간·시간 정의 Zk, 생성 맥락 Ck, 수정 색인 k를 묶습니다. 계획 갱신은 요구사항을 추가할 수 있지만 기존 요구사항을 제거하거나 약화할 수는 없습니다.

상태 전이는 \\( S\_{k+1} = E(S\_k, a\_k) \\)로 표현됩니다. 편집 \\(a\_k\\)는 입력을 검증하고 원천 리비전이 현재인지 확인한 뒤 커밋됩니다. 커밋마다 다음 미사용 리비전 번호를 받고 이전 스냅샷을 보존하므로, 과거 내용의 복원도 새 리비전으로 기록됩니다. 렌더링은 상태를 바꾸지 않으며 \\( I\_k(t) = R\_b(S\_k, t; \\omega) \\)로 표현됩니다. 이미지는 특정 시점에서 평가되고, 비디오는 같은 표현에 인코딩된 시간 변화를 샘플링해 얻습니다. 따라서 k는 생성 내용의 진행이 아니라 상태 수정의 이력을 추적합니다.

TGP는 연산 기록 τj를 남깁니다. 각 기록은 실행한 연산, 입력, 실행 결과와 오류, 원천 리비전과 결과 리비전을 담습니다. 렌더링과 점검은 커밋을 만들지 않으므로 실행된 수정과 시각적으로 검토된 리비전을 구분해 볼 수 있습니다. REV는 각 시각 요구마다 리비전 ki, 증거 Ei, 판정 vi로 이루어진 검토 qi를 유지합니다. 검토는 ki가 현재 리비전 k와 같을 때만 현재 상태에 적용되며, 계획만 바뀌어도 커밋 뒤에는 현재 리비전을 다시 검토해야 합니다. 전달 가능 여부는 다음 조건으로 정해집니다.

\\\[ \\mathrm{Ready}(S\_k) = \\mathrm{ExportOK}(S\_k)\\land \\mathrm{CheckpointOK}(k)\\land\\bigwedge\_{h\_i\\in H\_k}\[k\_i=k\\land E\_i\\neq\\emptyset\\land v\_i=\\mathrm{pass}\] \\\]

여기서 Hk는 완료에 필수인 요구의 집합입니다. 내보내기 검사와 체크포인트 검사가 통과하고, 필수 요구마다 현재 리비전에 대한 증거와 pass 판정이 있어야 합니다. 이 판정도 MLLM의 자기평가에 의존합니다.

## 구성 기록으로 요소의 출처와 미해결 요구를 보는 방식

이 구조는 최종 이미지 밖의 구성 과정도 확인하게 합니다. 연구 그림 사례에서 GPT-6-Astra는 레이아웃, 구조 도식, 레이블, 플롯을 사용자 제공 합성 데이터로 코드로 지정하고, 사진풍 조작 예시에는 생성 자산을 사용합니다. 기록에는 서로 다른 접촉 시트 배치로 자산 생성을 네 번 시도한 내용이 남아 있으며, 최종 구성은 세 번째 시도에서 잘라낸 부분을 사용합니다. 코드는 그 조각의 배치, 크기 조정, 레이블을 제어합니다.

이 기록은 요소의 출처를 구분하게 합니다. 명시된 데이터와 지시에서 그려진 요소와 생성 이미지로 조립된 요소가 나뉘므로, 최종 검토에서 수치 플롯과 배치는 통과하지만 사진풍 예시는 만족스럽지 않아 초안으로 남는 상황을 설명할 수 있습니다. 각 수정 리비전의 검토와 연결하면 어떤 요구가 아직 미해결인지 최종 이미지만으로는 보이지 않는 수준까지 드러납니다.

## MaLiang-IBench에서 생성 성공과 품질 충족의 차이

MaLiang-IBench는 50개의 텍스트-이미지 프롬프트로 구성되며, 11개 모델을 같은 하네스로 평가합니다. 성공은 디코딩 가능한 출력이 완료 검사를 통과한 경우이고, 품질은 GPT-6-Sol이 프롬프트 정렬, 미적 요소, 구성을 5점 척도로 채점한 결과에서 4점 이상을 기준으로 셉니다. 실패한 생성은 품질 기준 집계에서 제외되며, 성공률과 품질 충족 비율의 분모는 모두 전체 50개입니다.

![Table 2: Generation success and computational cost on MaLiang-IBench.“Token Limit” denotes the subset of failures in which a run exhausts its allocated token b…](https://refivu.com/papers/9c4d327e-58a3-485d-a950-0d31fbfa2638/figures/figure-812062273dd50cc038b36455c26a4dca.png?thumb=512)

**Table 2** :Generation success and computational cost on MaLiang-IBench.“Token Limit” denotes the subset of failures in which a run exhausts its allocated token budget, potentially due to reasoning stagnation and unbounded agentic loops. “Orange/blue” indicates “higher/lower” values relative to DeepSeek-V4.1-Flash, which do not imply “better/worse” performance given differing success rates.

[원문](https://arxiv.org/abs/2609.34309v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Haoyu Zhao, Zihao Zhang, Xudong Wang, Jiaxi Gu, Zuxuan Wu, Yu-Gang Jiang, Shuicheng Yan · MaLiang-Harness: A Programmable Path to Image and Video Generation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

성공률이 같아도 모든 품질 기준을 충족하는 수는 크게 달랐습니다. GPT-5.6-Luna는 50개 중 46개를 생성했지만 세 기준을 모두 충족한 이미지는 22개였습니다. GPT-5.6-Terra는 46개 생성에 24개 충족이었습니다. GPT-6-Astra는 50개 모두 생성해 48개가 모든 기준을 충족했고, GPT-6-Sol과 GPT-6-Luna는 각각 46개와 44개가 충족했습니다. 이 결과는 성공적 실행이 시각 요구 충족을 보장하지 않는다는 점을 보여 줍니다. 다만 DeepSeek와 Kimi 모델은 6개에서 20개 사이의 이미지만 생성해 평균 점수는 그 소수의 성공 사례만을 설명합니다.

![Table 3: Visual quality on MaLiang-IBench.Quality counts include samples scoring at least 4 on a five-point scale. Means cover successful samples only. Gray ce…](https://refivu.com/papers/9c4d327e-58a3-485d-a950-0d31fbfa2638/figures/figure-1b3280baf254ef55a7ab784ed48af6fd.png?thumb=512)

**Table 3** :Visual quality on MaLiang-IBench.Quality counts include samples scoring at least 4 on a five-point scale. Means cover successful samples only. Gray cells mark DeepSeek and Kimi results, whose low success rates limit the comparability of mean quality scores. Bold marks the best GPT results. “Blue/orange” denotes “higher/lower” values relative to GPT-5.6-Luna.

[원문](https://arxiv.org/abs/2609.34309v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Haoyu Zhao, Zihao Zhang, Xudong Wang, Jiaxi Gu, Zuxuan Wu, Yu-Gang Jiang, Shuicheng Yan · MaLiang-Harness: A Programmable Path to Image and Video Generation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

이 평가에서 품질 판정은 GPT-6-Sol이 수행한 MLLM 판정입니다. 따라서 위 충족 수는 정해진 판정 기준에 따른 결과이며, 독립적인 지각 품질 측정으로 해석하지 않아야 합니다.

## MaLiang-VBench에서 비디오 성공과 움직임 기준

MaLiang-VBench는 13개의 텍스트-비디오 프롬프트로 구성되며, 네 개 모델을 평가합니다. 성공한 비디오는 원래 프롬프트와 시간 순서의 12개 프레임을 함께 받아 정렬, 미적 요소, 구성, 움직임 일관성의 네 기준으로 검토되었습니다. 이 검토는 단일 검토자가 수행했고 블라인드 방식이 아니었습니다. 움직임 일관성은 샘플 프레임에서 보이는 진행을 나타내며, 프레임 단위의 부드러움이나 짧은 중간 결함을 배제하지 않습니다.

![Table 4: Generation success and computational cost on MaLiang-VBench.“Orange/blue” denotes “higher/lower” values relative to DeepSeek-V4.1-Flash, except “Time/…](https://refivu.com/papers/9c4d327e-58a3-485d-a950-0d31fbfa2638/figures/figure-caa021472619dc156e0868550361a4f7.png?thumb=512)

**Table 4** :Generation success and computational cost on MaLiang-VBench.“Orange/blue” denotes “higher/lower” values relative to DeepSeek-V4.1-Flash, except “Time/Success”, which uses Kimi- K2.6. “–” indicates an undefined ratio with no successful generations.

[원문](https://arxiv.org/abs/2609.34309v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Haoyu Zhao, Zihao Zhang, Xudong Wang, Jiaxi Gu, Zuxuan Wu, Yu-Gang Jiang, Shuicheng Yan · MaLiang-Harness: A Programmable Path to Image and Video Generation · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

GPT-6-Astra는 성공한 13개 비디오 중 10개에서 네 기준을 모두 충족했습니다. 13개 모두 미적 요소 기준을 충족했고, 10개만 움직임 일관성 기준을 충족해 Astra에서 움직임이 가장 제한적인 기준으로 나타났습니다. GPT-5.6-Sol은 성공한 7개 비디오 중 5개에서 모든 기준을 충족했습니다. Kimi-K2.6은 3개 과제를 완료했지만 어느 비디오도 모든 기준을 충족하지 못했고, DeepSeek-V4.1-Flash(64K)는 성공한 과제가 없었습니다. 이 결과는 네 기준을 모두 적용한 이 검토의 조건에서 얻은 것입니다.

![Table 5: Visual quality on MaLiang-VBench.Quality counts include samples scoring at least 4 on a five-point scale. Gray denotes reference results. Bold marks t…](https://refivu.com/papers/9c4d327e-58a3-485d-a950-0d31fbfa2638/figures/figure-13fae1eb490f11bf4924c85b8e8318db.png?thumb=512)

**Table 5** :Visual quality on MaLiang-VBench.Quality counts include samples scoring at least 4 on a five-point scale. Gray denotes reference results. Bold marks the best GPT results excluding evaluation coverage. “Blue/orange” denotes “higher/lower” counts than GPT-5.6-Sol.

[원문](https://arxiv.org/abs/2609.34309v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Haoyu Zhao, Zihao Zhang, Xudong Wang, Jiaxi Gu, Zuxuan Wu, Yu-Gang Jiang, Shuicheng Yan · MaLiang-Harness: A Programmable Path to Image and Video Generation · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 일반 능력 점수와 시각 생성 결과의 관계

이 분석은 공개된 Artificial Analysis Intelligence Index 점수를 MaLiang-IBench 결과와 비교합니다. 사용된 값은 버전 4.3.2의 표시 정수 점수이며, 지수는 지식, 추론, 코딩, 에이전트 과제의 평가를 종합합니다. 그림 품질 통과율은 전체 50개 과제 중 정렬, 미적 요소, 구성 기준을 모두 충족한 비율로 정의하며 실패한 생성도 분모에 포함됩니다.

11개 모델에서 두 측정 사이의 Spearman 상관계수는 0.65로 보고됩니다. DeepSeek-V4-Pro의 공개 점수는 체크포인트 0813에 해당하며 평가한 체크포인트와의 대응이 확인되지 않았으므로, 이를 제외하면 상관계수는 0.63입니다. 그러나 일반 능력 점수가 시각 성능을 충분히 예측하지는 못합니다. GPT-5.6-Luna와 GPT-6-Luna는 지수가 같은 37이지만 그림 품질 통과율은 각각 44%와 88%입니다. Kimi-K3는 지수가 44이지만 모든 시각 기준을 충족한 과제는 18%입니다.

이 상관은 공개 평가 설정과 본 하네스의 설정이 다를 수 있으므로 연관성으로만 해석해야 합니다. 일반 능력 점수가 측정하지 않는 공간 제약의 변환과 렌더링 피드백 기반 수정 능력이 별도로 필요함을 보여 주는 근거로 읽는 것이 적절합니다.

## 판정 방식, 사실적 표현, 정체 조건의 한계

첫째, 시각 품질 판정은 GPT-6-Sol을 평가자로 사용한 MLLM 판정입니다. 논문은 이 판정이 자기평가이며 독립적인 지각 품질 측정이 아니라고 밝힙니다. 둘째, 비디오 검토는 단일 검토자가 수행했고 블라인드가 아니었습니다. 따라서 비디오 기준의 충족 수는 이 검토 조건에서 얻은 결과로 읽어야 합니다.

셋째, 사실적 표현은 아직 충분하지 않습니다. 논문은 Canvas 기반 일러스트에 대해 REV를 통해 붓질을 더 정교하게 하도록 명시적 정밀화 프롬프트를 적용한 사례를 보입니다. 수정 후 이미지는 구성이 유지되었지만 여전히 양식화된 상태에 머물렀고, 풀밭 덮임이나 돌의 표식처럼 기존 세부가 일부 영역에서 줄었습니다. 저자들은 더 가는 획만으로는 형태, 음영, 질감을 조화롭게 회복하지 못한다고 해석합니다. 이 사례는 정량 지표 없이 시각적 비교로만 확인되었습니다.

넷째, 정제가 멈추는 조건도 남아 있습니다. 논문은 추론 정체, 의미적 교착, 무한 에이전트 루프를 실패 양식으로 제시합니다. 모델 호출, 도구 호출, 시간, 토큰 한도가 실행을 제한하며, 완료는 성공적 확정이 있을 때만 표시됩니다. PEG, TGP, REV는 검사와 복구를 돕지만 교정이 효과적임을 보장하지는 않습니다.

## 논문 정보

- **저자**: Haoyu Zhao, Zihao Zhang, Xudong Wang, Jiaxi Gu, Zuxuan Wu, Yu-Gang Jiang, Shuicheng Yan
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 9월 28일
- **등록일**: 2026년 10월 20일
- **수정일**: 2026년 9월 28일
- **버전**: v1
- **arXiv**: 2609.34309
- **분류**: cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2609.34309v1) · [원문 PDF ↗](https://arxiv.org/pdf/2609.34309v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Executable programs offer explicit control over how images and videos are constructed, but generating runnable code is only the beginning of visual creation. A program can execute correctly while violating the requested composition, appearance, or motion. We define this discrepancy as the Program-to-Visual (P2V) gap and introduce MaLiang-Harness, a unified framework for organizing MLLM-driven visual generation into a persistent process of construction, inspection, and revision. Its central design is to make the evolving visual program, its construction history, and its verification share a common revision reference. We define the Persistent Executable Generation (PEG) state as preserving programs and task context. Traceable Generation Process (TGP) connects edits to rendered evidence, and Revision-aware Editing and Verification (REV) supports restoration and checks the current revision before completion. Together, these mechanisms coordinate planning, execution, and visual feedback across rendering backends. We evaluate 11 powerful closed-source MLLMs on MaLiang-IBench and four on MaLiang-VBench, measuring generation success, visual quality, and computational cost. GPT-6-Astra achieves 100% generation success on both benchmarks, with 96.0% of image tasks and 76.9% of video tasks meeting all quality thresholds. The comparison also reveals a mismatch between general capability scores and visual generation performance, with similarly scored models differing substantially in their ability to satisfy visual requirements. MaLiang-Harness provides a systematic basis for studying how MLLMs translate executable code into visual outcomes, exposing both the potential of programmable generation and the limitations of general benchmarks as predictors of this ability. The project is available at https://github.com/gulucaptain/MaLiang-Harness.

## 원문 인용

Haoyu Zhao, Zihao Zhang, Xudong Wang, Jiaxi Gu, Zuxuan Wu, Yu-Gang Jiang, Shuicheng Yan (2026). MaLiang-Harness: A Programmable Path to Image and Video Generation. arXiv:2609.34309v1. https://arxiv.org/abs/2609.34309v1

**BibTeX**

```
@misc{zhao2026maliang,
  title = {{MaLiang-Harness: A Programmable Path to Image and Video Generation}},
  author = {Haoyu Zhao and Zihao Zhang and Xudong Wang and Jiaxi Gu and Zuxuan Wu and Yu-Gang Jiang and Shuicheng Yan},
  year = {2026},
  eprint = {2609.34309},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.34309v1}
}
```

## 이 논문의 용어

- [GPT-6-astra](https://refivu.com/terms/f811afb3ecfd-gpt-6-astra)
- [GPT-5.6-SOL](https://refivu.com/terms/e06bb7dc1996-gpt-5-6-sol)

## 다른 논문 해설

- [Rethinking the Inception Architecture for Computer Vision](https://refivu.com/papers/5a8c1d5f-a10c-4a76-a110-b62861a7dc8a-rethinking-the-inception-architecture-for-computer-vision.md)
- [Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification](https://refivu.com/papers/83083238-3fc6-4f4e-a3b1-6db4f84268de-delving-deep-into-rectifiers-surpassing-human-level.md)
- [Segment Anything](https://refivu.com/papers/da97e79e-c51b-4305-9514-76a2433c46a4-segment-anything.md)
- [Conditional Image Generation with PixelCNN Decoders](https://refivu.com/papers/d620de7d-0e07-454b-b445-aa0fcab72e1d-conditional-image-generation-with-pixelcnn-decoders.md)
- [Emerging Properties in Self-Supervised Vision Transformers](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256-emerging-properties-in-self-supervised-vision-transformers.md)
- [Masked Autoencoders Are Scalable Vision Learners](https://refivu.com/papers/d17cea4d-36fc-40d3-bc98-6bc3e98f24df-masked-autoencoders-are-scalable-vision-learners.md)
- [Neural Machine Translation of Rare Words with Subword Units](https://refivu.com/papers/0950e659-f6cc-4852-b244-bbb2742bf059-neural-machine-translation-of-rare-words-with-subword.md)
- [Fast Inference from Transformers via Speculative Decoding](https://refivu.com/papers/41a03564-b5d1-4b7f-8db4-502dbc43fbe0-fast-inference-from-transformers-via-speculative-decoding.md)
- [Constitutional AI: Harmlessness from AI Feedback](https://refivu.com/papers/91e9437c-36ce-49cd-965c-18d9ca4664d6-constitutional-ai-harmlessness-from-ai-feedback.md)
- [Scaling Instruction-Finetuned Language Models](https://refivu.com/papers/6f9b141d-190c-4397-9e41-4f796f4ef56e-scaling-instruction-finetuned-language-models.md)
- [Distilling the Knowledge in a Neural Network](https://refivu.com/papers/d39fc594-ec58-4492-b1f4-d2d3600a6455-distilling-the-knowledge-in-a-neural-network.md)
- [GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers](https://refivu.com/papers/46a31638-80a6-4626-a5e7-028ae5ccea93-gptq-accurate-post-training-quantization-for-generative-pre.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9c4d327e-58a3-485d-a950-0d31fbfa2638-maliang-harness-a-programmable-path-to-image-and)
