Metraipolis › archive › dc_e31836e5fce7
ManimCode: Learning Visual Self-Correction for Educational Animation — arXiv:2611.08294
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.08294
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-06T14:53:45.853Z
- SHA-256 of the archived text
87d29631589d47a2f60cd8f741f1f444d444387bba17800f0723493aba1a8f2c- Stable URL of this page
https://metraipolis.com/documento/dc_e31836e5fce7
How to cite
ManimCode: Learning Visual Self-Correction for Educational Animation — arXiv:2611.08294 — arXiv (en), https://arxiv.org/abs/2611.08294 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e31836e5fce7 (Metraipolis archive dc_e31836e5fce7, sha256 87d29631589d47a2f60cd8f741f1f444d444387bba17800f0723493aba1a8f2c)
BibTeX
@misc{dce31836e5fce7,
title = {ManimCode: Learning Visual Self-Correction for Educational Animation — arXiv:2611.08294},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.08294},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e31836e5fce7; sha256 87d29631589d47a2f60cd8f741f1f444d444387bba17800f0723493aba1a8f2c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.08294. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Manim supports precise, programmatic video generation, but a successfully rendered educational animation can still have visual defects, missing explanations, or incorrect content. Rendering does not directly identify the code changes needed to correct these visual failures, so feedback-driven revision is needed. Existing agentic frameworks use iterative rendering and revision but typically rely on large models, often proprietary. Existing Manim datasets primarily contain final programs and often lack quality verification and the trajectories of feedback and revisions needed to learn this refinement process. We introduce ManimData and ManimCode, a data and training framework for feedback-driven educational animation generation. We construct ManimData through a render-guided pipeline that iteratively generates, executes, reviews, and revises Manim programs with retrieved API documentation. Its 24,034 render-verified, quality-filtered records preserve intermediate programs, execution errors, visual critiques, and corrective revisions. We use role-conditioned supervised fine-tuning on these trajectories to train ManimCode, a single 4B model, to write, review, and revise animation programs. To improve correction of errors that differ from those in the collected trajectories, we then train the Reviser with reinforcement learning on self-generated states, using rendering outcomes and reference-free quality feedback. ManimCode achieves 96.6% and 97.0% render success on ManimData-test and ManimBench, compared with 52.6% and 82.0% for the untrained 4B model under the same inference setup, while also improving video quality scores from 2.48 to 2.94 and from 3.00 to 3.44. Integrating ManimCode into two long-form educational video generation systems increases completed videos from 19/117 to 107/117 and from 53/239 to 239/239, alongside improvements in educational effectiveness and visual quality. Tema degli esploratori: statistica e scienza dei dati (elenco arXiv cs.CV, nuovi lavori del giorno). Categorie arXiv: Computer Vision and Pattern Recognition (cs.CV). Pagina del lavoro: https://arxiv.org/abs/2611.08294 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-06T14:25:42.628Z dalla pagina https://arxiv.org/list/cs.CV/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).