cs.CVMar 31, 2026

Self-Consistency for LLM-Based Motion Trajectory Generation and Verification

Authors: Jiaju Ma, R. Kenny Jones, Jiajun Wu, Maneesh Agrawala

Organizations: Stanford University

Abstract

Self-consistency has proven to be an effective technique for improving LLM performance on natural language reasoning tasks in a lightweight, unsupervised manner. In this work, we study how to adapt self-consistency to visual domains. Specifically, we consider the generation and verification of LLM-produced motion graphics trajectories. Given a prompt (e.g., "Move the circle in a spiral path"), we first sample diverse motion trajectories from an LLM, and then identify groups of consistent trajectories via clustering. Our key insight is to model the family of shapes associated with a prompt as a prototype trajectory paired with a group of geometric transformations (e.g., rigid, similarity, and affine). Two trajectories can then be considered consistent if one can be transformed into the other under the warps allowable by the transformation group. We propose an algorithm that automatically recovers a shape family, using hierarchical relationships between a set of candidate transformation groups. Our approach improves the accuracy of LLM-based trajectory generation by 4-6%. We further extend our method to support verification, observing 11% precision gains over VLM baselines. Our code and dataset are available at https://majiaju.io/trajectory-self-consistency .

Figures & tables

Appendix figures & tables18 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. LAMP: Language-Assisted Motion Planning for Controllable Video Generation

    Dec 3, 2025Muhammed Burak Kizil, Enes Sanli, Niloy J. Mitra +3Camera-Controlled Video GenerationTrajectory Generation

  2. IRG-MotionLLM: Interleaving Motion Generation, Assessment and Refinement for Text-to-Motion Generation

    Dec 11, 2025Yuan-Ming Li, Qize Yang, Nan Lei +5Text-to-Motion Generation

  3. Re2^2MoGen: Open-Vocabulary Motion Generation via LLM Reasoning and Physics-Aware Refinement

    Apr 20, 2026Jiakun Zheng, Ting Xiao, Shiqin Cao +3Text-to-Motion GenerationHuman Motion Generation