PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoning
Qiran Zhang, Yuheng Wang, Runde Yang, Lin Wu, Jingru Fan, Shu Yao, Jie Zhang, Tianle Zhou, Huatao Li, Ruijie Shi, Yihan Li, Chen Qian
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Multimodal, Audio & Medical Reasoning › Video World Reasoning Benchmarks · Type: benchmark or dataset · Keywords: programmatic video generation, benchmark, spatial reasoning, code reliability, LLM evaluation
Areas: Evaluation & Benchmarks › Multimodal System Benchmarks › Physical Consistency Evaluation; Benchmarks for LLMs & Agents › Embodied Agent Benchmarks › Spatial Reasoning; Benchmarks for Vision, Video & Multimodal › Multimodal Capability Benchmarks › Video Generation Benchmarks
Summary
PRISM is a large-scale benchmark of 10,372 instruction-code pairs for evaluating programmatic video generation, revealing a significant execution-spatial gap in mainstream LLMs.
Explained to a 5-year-old
PRISM is a big collection of drawing instructions that teach things like math and science. It checks if the drawings look right and make sense over time. The system looks at whether the code runs and whether the pictures are spatially correct. It found that many models can run code but often produce wrong pictures. This helps make better animated teaching tools.
Explained to a 5-year-old, longer
Imagine you have a set of step-by-step drawing commands that should create a short animation, like a bouncing ball or a rotating planet. PRISM is a huge list of these commands that people have written for teaching different subjects. The system tests two things: first, does the code run without errors? second, does the animation look correct and match the intended layout? It also measures how complex the animation looks and how many actions happen over time. When researchers ran this test on several big language models, they discovered a big gap: many models could generate code that ran, but the resulting animations were often wrong. Some models were good at running code but produced many mistakes in the pictures, while others made fewer picture errors but sometimes failed to run the code. This tells us that we need to check both the code and the visual output when building animated teaching tools. PRISM gives us a way to do that, helping us improve future models so they can create accurate and helpful educational animations.
For a technical reader
The paper presents a benchmark that evaluates programmatic video generation by measuring code reliability, spatial correctness, visual complexity, and temporal density. It shows that most LLMs have a large drop between code execution success and spatial accuracy, indicating a need for better training or post-processing. The framework can be used to compare models and guide improvements in code-based animation generation.
Problem
Evaluating whether language models can generate spatially correct animated output through programmatic video generation remains challenging, as existing benchmarks focus only on code executability and ignore spatial correctness.
Method
The approach introduces a funnel-style evaluation framework with four metrics: code-level reliability, spatial reasoning, prompt-aware dynamic visual complexity, and temporal density, applied to a large collection of instruction-code pairs.
Results
Evaluation of seven mainstream LLMs shows an average Execution-Spatial Gap of about 41%, with no single model excelling across all metrics; the highest execution model has the largest gap, while the most spatially robust model does not lead on code reliability.
Contributions
The paper introduces a large-scale benchmark and a multi-metric evaluation framework for programmatic video generation, highlighting the importance of spatial reasoning beyond mere code executability.
Practical relevance
It enables developers and researchers to build more reliable programmatic video generation systems for educational content.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction