Manuscript Offprint

arXiv:2609.00377

FoldingAgent: Inferring Parametric Origami Procedures from Demonstration Videos

Maya Moriya, Sigal Raab, Yael Vinker, Tali Dekel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

MAYA MORIYA, Weizmann Institute of Science, Israel

SIGAL RAAB, Weizmann Institute of Science, Israel

YAEL VINKER, MIT, USA

TALI DEKEL, Weizmann Institute of Science, Israel

Figure

Fig. 1. Given a sequence of keyframes from an instructional origami video (top), our framework, FoldingAgent, infers the full folding procedure as a sequence of executable simulator actions. For each transition, we illustrate the current estimated paper geometry, the predicted simulator actions used to obtain the next paper state, and the accumulated crease pattern. The recovered program is parametric and structured, supporting re-rendering, editing, and analysis.

We present FoldingAgent, an agentic framework for inferring explicit parametric folding programs directly from Origami demonstration videos. Our framework leverages the reasoning power of a pre-trained Vision-Language Model (VLM) equipped with a suite of specialized tools that enable the agent to simulate geometric transitions, verify physical plausibility, retrieve and compare visual content, and evaluate its own predictions. To translate visual content into folding programs, we define a parametric space that consists of the paper's geometry and a set of parametric folding actions. Unlike models that predict static crease patterns, our agent operates sequentially and possesses the ability to re-plan its actions, effectively mitigating the compounding errors inherent in multi-step folding. Our approach takes a step toward closing the gap between human origami knowledge, which is primarily shared through unstructured visual demonstrations, and computational methods, which typically rely on structured, parametric representations such as a crease pattern or an executable parametric plan. We evaluate our approach on PurelandFold, a newly curated benchmark of diverse Pureland origami videos with ground-truth geometry and action labels. Our results demonstrate that by combining VLM reasoning with a set of specialized tools and physical simulation, we can successfully transform unstructured visual demonstrations into executable, physically plausible folding procedures. Project page: https://maya-moriya.github.io/origami-page.

1 Introduction

Origami is the art of transforming a flat sheet of paper into a sculpted form through folding. It combines simple materials with rich expressiveness, making it a widely practiced traditional art form. Beyond art, its unique interplay of geometry, structure, and transformation has made it a subject of study across mathematics [Demaine and O'Rourke 2007; Eppstein 2025], engineering [Filipov et al. 2017],

design [Dudte et al. 2021; Lang 1996], and robotics [Balkcom and Mason 2008; Namiki and Yokosawa 2021].

Despite its widespread multidisciplinary applications, a profound disconnect remains between the human practice of origami and its computational counterpart. Origami is fundamentally procedural: a final form emerges from an ordered sequence of folding actions. In practice, this procedure is typically communicated through intuitive visual instructions, such as step-by-step illustrations or video demonstrations. Conversely, computational approaches typically require structured, explicit forms such as a static crease pattern – a compact, order-independent representation of the unfolded paper annotated with all mountain and valley creases required to produce the model. This creates a significant semantic gap between the “language of folding” used by humans and the structured representations required for machine analysis. Addressing this gap is essential for unlocking the vast repository of human origami knowledge for computational use, for example, by enabling robots to learn complex paper-handling skills directly from the thousands of instructional videos available online or by developing origami generative models.

In this work, we take a step toward this goal by posing a new task: translating an origami demonstration video into procedural folding programs that capture the underlying sequence of human folding actions. Specifically, given a sequence of frames, our goal is to infer a parametric geometric representation of the paper that captures its shape and layered structure, together with the action that transforms each state into the next (see Fig. 1).

Inverting video frames into procedural folding programs poses several key challenges. First, the space of folding actions is diverse and highly complex: operations vary in their geometric effect and in

Authors' Contact Information: Maya Moriya, Weizmann Institute of Science, Rehovot, Israel; Sigal Raab, Weizmann Institute of Science, Rehovot, Israel; Yael Vinker, MIT, Boston, USA; Tali Dekel, Weizmann Institute of Science, Rehovot, Israel.

2 • Maya Moriya, Sigal Raab, Yael Vinker, and Tali Dekel

the number of layers they manipulate, ranging from simple “mountain folds” (a basic crease across the paper) to intricate “petal folds” that involve shifting multiple layers into new, complex arrangements. This diversity raises the question of parametrization: how to effectively map the intuitive action taken by humans into computational operations executed on the paper’s geometry? Even with a defined action space, inferring these actions from video remains challenging: the folder’s hands may often occlude the paper, and as the model progresses, self-occluding layers accumulate and produce a highly complex internal configuration that is not visible from the video alone. Folds also interact through long-range dependencies – a single action can reposition many layers at once and induce new internal creases far from the visible fold line. Thus, each step must be interpreted in light of the full accumulated state of the paper.

We address these challenges via a novel agentic framework that combines the reasoning capabilities of a pre-trained Visual-Language Model (VLM) with a suite of specialized tools that enable the agent to simulate geometric transitions, verify physical plausibility, retrieve and compare visual content, and self-evaluate its own predictions. Rather than attempting to predict the full procedure at once, the agent operates sequentially across a set of keyframes such that its decisions are made in light of the current paper state produced by previous operations.

The scope of our task encompasses Pureland Origami [Smith 1980], a well-studied subset in which every fold is a flat fold along a single crease. Pureland retains substantial expressive range while reducing complexity to a small set of primitive actions: fold, unfold, rotate, and flip. We expose these operations to the agent through a novel parameterized action space, paired with a simulator that executes each operation and maintains the current paper state – its geometry, layer structure, and crease pattern – at every step. This approach allows the agent to move beyond raw pixels and reason about the underlying physical rules of the paper. A key property of our design is allowing the agent to revert and re-plan a given step, thus mitigating the long-range error compounding that follows from the sequential nature of folding. Together, these components turn an unstructured origami video into an executable procedure, producing a sequence of actions, intermediate graphs, and a final crease pattern. Our evaluation over a diverse set of folding sequences demonstrates the power of our agentic approach and the dramatic gain over vanilla VLM inference.

To summarize, our contributions are as follows:

  • Introduced the task of inferring procedural folding programs directly from origami demonstration sequences.
  • Designed a new parametric action space and a simulator for procedural Pureland origami.
  • Developed a new agentic framework that combines a state-of-the-art VLM with a suite of specialized tools, enabling self-verification and replanning, as well as physical verification.
  • Curated PurelandFold, a dataset containing diverse Pureland origami videos with labeled geometry and folding actions.

References (37)