Papers
Topics
Authors
Recent
Search
2000 character limit reached

In-Context Model Predictive Generation

Updated 5 July 2026
  • In-Context Model Predictive Generation (ICMPG) is a framework for text-driven human motion synthesis that reformulates motion generation as a receding-horizon control problem using discrete motion tokens.
  • It employs a two-module system where the Context-Aware Motion Generation (CAMG) module decomposes instructions and the Model Predictive Generation (MPG) module evaluates candidates via physical simulation and semantic scoring.
  • The framework achieves improved physical plausibility and semantic fidelity through a closed-loop, MPC-like iterative refinement process validated by extensive quantitative benchmarks.

Searching arXiv for the cited papers to ground the article. I’ll look up the arXiv entries for the main and related papers mentioned. In-Context Model Predictive Generation (ICMPG) is a framework for text-driven human motion synthesis that integrates language-model planning with inference-time physical feedback, introduced in 2026 as a method for addressing the persistent trade-off between semantic fidelity and physical realism in motion generation (Fu et al., 25 Jun 2026). It reformulates motion synthesis as a Model Predictive Control (MPC)-like process with two modules: Context-Aware Motion Generation (CAMG), which uses an LLM to decompose instructions and propose motion-token candidates, and Model Predictive Generation (MPG), which evaluates those candidates through physical simulation and semantic alignment before selecting the sequence that guides subsequent generation. In the formulation of the paper, this closed-loop refinement allows adaptation to both input semantics and the simulated physical environment without task-specific policy retraining (Fu et al., 25 Jun 2026).

1. Problem setting and conceptual motivation

ICMPG is motivated by a specific failure mode in text-to-motion generation: methods centered on LLMs can interpret diverse open-vocabulary instructions and compose high-level action plans, but they often generate motions that violate physical constraints, whereas physics-aware models improve realism through simulation or control but struggle with semantic complexity, fine-grained instructions, and novel concepts (Fu et al., 25 Jun 2026). The framework is presented as a direct response to that gap.

The central conceptual move is to treat motion generation not as a one-shot decoding problem but as a receding-horizon decision process over discrete motion tokens. CAMG proposes candidate continuations, and MPG evaluates them against two criteria that the paper treats jointly: physical plausibility and semantic faithfulness. This differs explicitly from open-loop generation. The paper states that unlike open-loop generation, the closed-loop refinement enables ICMPG to adapt motions to both the input semantics and the simulated physical environment, while remaining flexible enough to incorporate different LLM backbones (Fu et al., 25 Jun 2026).

A common misunderstanding is to regard ICMPG as a prompt-engineering variant of text-to-motion. In the formulation of the paper, that is too narrow. The LLM is frozen and used as a planner/generator, but the decisive selection step occurs through simulation-time feedback. The resulting system is therefore neither a purely linguistic planner nor a purely physics-based controller; it is an MPC-like synthesis loop over tokenized motion sequences.

2. System architecture: CAMG and MPG

The pipeline consists of two major modules, preceded by one-time offline preparation (Fu et al., 25 Jun 2026). The offline stage includes a VQ-VAE trained to encode 3D human motion clips into discrete motion tokens, a lightweight Transformer called SemAligner trained by contrastive loss to retrieve the top–K text–motion demonstration pairs, and a pre-trained physics policy π\pi such as PHC for later simulation.

Within CAMG, the online process begins with an LLM Planner. It is prompted with the raw text tt and a small set of atomic “CMU” motion examples AdemA_{dem}, and outputs a decomposition tpt_p into a sequence of simple motion-focused instructions of the form “he does X, he does Y …” (Fu et al., 25 Jun 2026). SemAligner then encodes tpt_p and retrieves SdemS_{dem}, the top–K semantically closest full motion–text pairs from the training set. Finally, the LLM Generator receives tpt_p, SdemS_{dem}, and any previously selected motion prefix oo, and samples NN candidate motion-token sequences, each of length tt0.

The notation given for candidate generation is

tt1

where each sampled sequence is a token block proposed at iteration tt2 (Fu et al., 25 Jun 2026). The architecture is therefore compositional in two senses: the text is decomposed into simpler action units, and the motion is built incrementally as a sequence of token blocks chosen under feedback.

The second module, MPG, performs the control-like evaluation. At each iteration it simulates each candidate under policy tt3 in Isaac Gym, computes a discounted physical return, renders key-frames as SMPL meshes for semantic scoring with ActionCLIP or CLIP, forms a composite reward, and selects the highest-scoring candidate to append to the current history (Fu et al., 25 Jun 2026). In the paper’s summary phrase, CAMG proposes, MPG evaluates and controls, in a receding-horizon MPC-like loop.

3. MPC-like formulation over motion tokens

The paper explicitly casts motion synthesis as a discrete-time control problem over motion tokens (Fu et al., 25 Jun 2026). Let tt4 denote the current motion-token prefix and let tt5 denote the next block of tt6 tokens. The state transition is defined by concatenation: tt7

This formulation treats each candidate token block as a control action. The short-horizon optimization then amounts to selecting the block that maximizes a composite reward conditioned on the current prefix. The control law is written as

tt8

followed by the update tt9 (Fu et al., 25 Jun 2026).

The composite reward is presented in two closely related forms in the paper. In the high-level module description, MPG computes

AdemA_{dem}0

In the explicit MPC-like optimization section, the combined score is written as

AdemA_{dem}1

with typical choice AdemA_{dem}2 (Fu et al., 25 Jun 2026). The paper’s ablation statement that reward weight AdemA_{dem}3 trades off R-Precision versus Phys-Err, with AdemA_{dem}4 best overall, reinforces the interpretation that ICMPG is tuned as a hybrid semantic-physical objective rather than as a pure feasibility filter.

This MPC analogy should not be overstated. The “state” is a token prefix rather than a continuous physical state, and the “control” is a candidate token block. Nevertheless, the receding-horizon structure, iterative replanning, and reward-based candidate selection are all explicit parts of the formulation (Fu et al., 25 Jun 2026).

4. Prompting, retrieval, and inference-time feedback

ICMPG uses two distinct prompt templates (Fu et al., 25 Jun 2026). The planner prompt asks the model to re-phrase the raw user input into a JSON object with keys "CoT" and "Motions", using only verbs from the atomic actions set and illustrated with 3–5 short atomic examples AdemA_{dem}5. The generator prompt asks the model to map the decomposed prompt AdemA_{dem}6 plus the prefix tokens AdemA_{dem}7 into a list of candidate motion-token sequences, again in JSON format with "CoT" and "Candidate motion tokens" fields. Sampling is performed with temperature AdemA_{dem}8 and top-p AdemA_{dem}9 (Fu et al., 25 Jun 2026).

The retrieval component is semantically targeted. The few-shot context contains both atomic-action examples and retrieved semantic demonstrations. Specifically, the prompts interleave tpt_p0, the retrieved text–motion pairs tpt_p1, the current decomposition tpt_p2, and the already selected motion prefix tpt_p3 (Fu et al., 25 Jun 2026). This makes the in-context signal heterogeneous: part of it is symbolic decomposition guidance, and part of it is demonstration-based retrieval.

The physical evaluation loop is equally specific. The simulator is NVIDIA Isaac Gym at tpt_p4 Hz, and the policy tpt_p5 is a pre-trained PHC policy that can track any realistic human motion clip (Fu et al., 25 Jun 2026). The physical reward over horizon tpt_p6 is defined as

tpt_p7

where tpt_p8 is the normalized RL reward (Fu et al., 25 Jun 2026). The semantic reward is formed by rendering a subset of key-frames tpt_p9 as SMPL meshes, encoding the text with tpt_p0 and the images with tpt_p1, and computing a cosine-style alignment score: tpt_p2

The closed-loop refinement algorithm then proceeds by repeatedly generating candidates, simulating each one, computing tpt_p3, tpt_p4, and tpt_p5, selecting the best candidate tpt_p6, appending it to the prefix, and decoding the final token sequence through the VQ-VAE decoder into 3D motion (Fu et al., 25 Jun 2026). This is the operational core of ICMPG: inference is itself the control loop.

5. Experimental results and ablations

The paper reports extensive experiments across standard and zero-shot open-vocabulary settings, and states that ICMPG generalizes robustly to diverse commands while producing motions that are more physically plausible and semantically faithful than representative baselines on the evaluated benchmarks (Fu et al., 25 Jun 2026). The quantitative profile is divided across BABEL, HumanML3D, KIT-ML, and zero-shot generalization benchmarks.

On the zero-shot BABEL evaluation, with no BABEL training unless otherwise noted, the reported FID values are: AvatarCLIP tpt_p7, MotionCLIP tpt_p8, AnySkill tpt_p9, ICMPG (no LoRA) SdemS_{dem}0, and ICMPG (LoRA) SdemS_{dem}1, with the LoRA variant marked as best (Fu et al., 25 Jun 2026). For CLIP_Score, the reported values are AvatarCLIP SdemS_{dem}2, MotionCLIP SdemS_{dem}3, AnySkill SdemS_{dem}4, ICMPG SdemS_{dem}5, and ICMPG (LoRA) SdemS_{dem}6, again best for the LoRA variant. For R-Precision@1, MotionCLIP obtains SdemS_{dem}7, AnySkill SdemS_{dem}8, ICMPG SdemS_{dem}9, and ICMPG (LoRA) tpt_p0. On simulation success rate, AnySkill reaches tpt_p1, ICMPG tpt_p2, and ICMPG (LoRA) tpt_p3. For Phys-Err, the values are AnySkill tpt_p4, ICMPG tpt_p5, and ICMPG (LoRA) tpt_p6 (Fu et al., 25 Jun 2026).

On standard text-to-motion benchmarks, the paper reports for HumanML3D that R-Precision@1 is tpt_p7 for T2M-GPT, tpt_p8 for MotionDiffuse, tpt_p9 for ICMPG, and SdemS_{dem}0 for ICMPG(LoRA), while Phys-Err is SdemS_{dem}1 for MotionDiffuse, SdemS_{dem}2 for T2M-GPT, SdemS_{dem}3 for ICMPG, and SdemS_{dem}4 for ICMPG(LoRA) (Fu et al., 25 Jun 2026). For KIT-ML, the listed R-Precision@1 values are MDM SdemS_{dem}5, T2M-GPT SdemS_{dem}6, ICMPG SdemS_{dem}7, and ICMPG(LoRA) SdemS_{dem}8, while Phys-Err is MDM SdemS_{dem}9, T2M-GPT oo0, ICMPG oo1, and ICMPG(LoRA) oo2 (Fu et al., 25 Jun 2026).

On zero-shot generalization with MotionMillion and PP-Motion, semantic performance measured by MM-Hit@1 is oo3 for MotionGPT, oo4 for MotionCraft, and oo5 for ICMPG, marked as best (Fu et al., 25 Jun 2026). For physical metrics, UniPhys attains Mod-Cost oo6 and Penetration oo7, identified as best physics, MotionCraft gives oo8, and ICMPG gives oo9, described as a strong hybrid (Fu et al., 25 Jun 2026).

The ablations are structurally important. The paper states that reward weight NN0 trades off R-Precision and Phys-Err, with NN1 best overall; larger LLM backbones, specifically LLaMA-3.1 and Phi-4, improve semantic scores; and inclusion of the LLM Planner module drastically improves FID and success on long, complex prompts (Fu et al., 25 Jun 2026). This suggests that the planner is not merely an auxiliary prompt formatter, but a major determinant of long-horizon compositional behavior.

6. Broader usage of the term and relation to adjacent work

Within the motion-synthesis literature, ICMPG refers specifically to the CAMG–MPG framework of (Fu et al., 25 Jun 2026). At the same time, several related papers and expository mappings use “In-Context Model Predictive Generation” as a broader label for systems that combine in-context inference with receding-horizon prediction, feedback, or control. This suggests that the acronym is functioning both as a proper name for a specific framework and as a more general design pattern.

In dynamic manipulation, Van der Merwe and Jha describe an in-context iterative policy-improvement loop that can be rendered in MPC-style ICMPG form: a parametric policy NN2 is rolled out, a task-specific error NN3 is computed, the NN4 nearest examples are retrieved from an offline dataset, an LLM predicts NN5, and the update NN6 is applied for NN7 iterations; the reported retrieval size is NN8, the model is gpt-4o with temperature NN9 and top_p tt00, and the final best-policy cost after 20 iterations reaches tt01 on slide and tt02 on roll-gc-real (Merwe et al., 20 Aug 2025). In that usage, ICMPG denotes LLM-mediated receding-horizon policy adjustment rather than token-level motion synthesis.

In power-grid control, InstructMPC presents a closed-loop framework in which an LLM-guided Contextual Disturbances Predictor produces disturbance forecasts for finite-horizon MPC, and only the decoder’s last layer is fine-tuned online; for linear systems optimized via the tailored loss, the paper gives a regret bound of tt03 (Wu et al., 5 Dec 2025). In prompt optimization, self-instructed derived-prompt generation is explicitly interpreted as a special case of a more general ICMPG paradigm in which a planner proposes a derived prompt, a frozen response model and reward model evaluate it, and the resulting pair tt04 is re-used as an in-context demonstration (Li et al., 2024). In language-model pretraining, ContextLM is described as realizing ICMPG by predicting next-context embeddings and feeding them back into token decoding; for GPT2-XL the average perplexity is reported as approximately tt05 (Dai et al., 23 Oct 2025).

These broader usages matter because they clarify what is distinctive about the 2026 motion-synthesis framework and what is more generic. The specific contribution of (Fu et al., 25 Jun 2026) is not simply that it is “closed-loop” or “in-context,” since related work uses similar descriptors in other domains. Its specificity lies in the coupling of open-vocabulary motion planning, discrete motion tokens, simulation-based physical evaluation, semantic scoring from rendered SMPL key-frames, and iterative selection under an MPC-like loop. A plausible implication is that ICMPG names both a concrete architecture for text-driven human motion synthesis and an emerging cross-domain pattern for combining LLM proposals with predictive feedback.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to In-Context Model Predictive Generation (ICMPG).