SGA: Plug&Play Geometric Verification for Educational Video Synthesis

Lopez Jhon, Hinojosa Carlos, Ghanem Bernard
7/20/2026
cs.AIcs.CVcs.GR

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Recent work leverages Large Language Models (LLMs) to generate executable code for pedagogical animations using libraries such as Manim. However, ensuring spatial correctness and visual legibility remains challenging, as existing frameworks emphasize pedagogical content while overlooking geometric occlusions.

Show full abstract

We propose the Symbolic Geometric Agent (SGA), a plug-and-play module for code-centric animation pipelines that intercepts LLM-generated code, performs partial execution to extract symbolic scene graphs, and applies targeted refinement when spatial conflicts are detected. We further introduce the Manim Visual Quality Score (MVQS), a deterministic rendering-free proxy for spatial integrity. Experiments on the MMMC-Code benchmark across four LLM backbones and two agentic pipelines show that SGA achieves a peak MVQS of 73.11 (Code2Video + GPT-5.1), corresponding to a 16.1% relative improvement over the raw baseline, and improves MVQS in 7 of 8 backbone x pipeline configurations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jhon2026sga,
  title  = {SGA: Plug&Play Geometric Verification for Educational Video Synthesis},
  author = {Lopez Jhon and Hinojosa Carlos and Ghanem Bernard},
  year   = {2026},
  eprint = {2607.18116},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.18116v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.18116.svg)](https://codeofpaper.com/paper/2607.18116)

Discussion