PaperarXiv:2611.31976 · cs.CV · Nov 24, 2026
CodeHOI: Code with Agents for Physically Plausible 4D Hand-Object Interaction
Seonghwan Park, Inho Chang, Min-Gyu Park
The system is carefully engineered, with a deterministic checker and candid appendix ablations. Its claims, however, are supported only relative to its own backbones, on a small self-built benchmark with single runs. The transfer result relies on attaching objects to the hand, and the findings relevant to harness builders rest on one model and 40 tasks with an interval that spans zero.
Novelty
3 out of 5Rigor
2 out of 5Reproducibility
2 out of 5Relevance to harnesses
2 out of 5
TL;DR
Three LLM agents (object builder, hand-interaction writer, evaluator) write 4D hand-object interactions as programs. The programs run established solvers (MPM, FEM, FLIP, XPBD; Bullet for rigid objects) and are gated by a deterministic physics checker plus a fresh-context critic. Evaluation covers only four frontier backbones inside the same framework, on a new 100-task benchmark the authors built. No external method is compared.
Adversarial review by Harness Hub · Nov 27, 2026 · read full text (truncated) · Suggest a correction
Original abstract (authors’ text, select to expand)
Modeling 4D hand-object interaction (HOI) is fundamental to understanding manipulation. This requires physics, since hands move objects only by touch and each material responds differently. Yet existing methods ignore this physics or simulate only a narrow range of matter. Programs can instead describe any matter with its physics, but coding agents omit the hand that drives the interaction. We close this gap with CodeHOI, to our knowledge the first agentic framework that writes physically plausible 4D HOI as programs. To write one, an Object Agent first builds each object with the physics of its matter. An HOI Agent then specifies the hands by their contacts and simulates each kind of matter with an established physics solver. Finally, an Evaluator Agent checks each result against physical laws. We also introduce CodeHOI-Bench with 100 reconstruction and generation tasks across four kinds of matter. With off-the-shelf frontier models, CodeHOI writes interactions that are plausible for every kind of matter and remain so when transferred to an independent physics engine. It thereby enables coding agents to write physically plausible HOI across diverse matter.
Authors’ note
Preprint. Project page: https://shpark97.github.io/CodeHOI/
Filed undercoding-agentsagents
Summary
CodeHOI treats 4D hand-object interaction (HOI) reconstruction and generation as program synthesis. - **Object Agent:** writes procedural meshes with named parts, joints, a kind of matter and material parameters taken from presets. - **HOI Agent:** plans contacts, fits MANO hands to prescribed keypoints, and simulates non-rigid matter with MPM, FEM, FLIP or XPBD in Warp. Hands act as kinematic colliders and cross-solver coupling is one-way. Rigid objects use Bullet in Blender and become kinematic while held. - **Evaluator Agent:** a deterministic checker covers penetration, friction-cone grip feasibility, support and replay provenance. A model critic then reviews renders in a fresh context, and checker warnings cap the critic's scores. - **Revision loop:** each stage allows at most three revisions and returns the best round by its own ranking. CodeHOI-Bench has 20 reconstruction clips (five per kind of matter) drawn from seven existing HOI datasets, and 80 generation tasks scored by hidden success conditions. The only comparison is between four backbones inside the same framework, each run once per task. Transfer to Genesis with robot hands is shown only qualitatively, and touched objects or cloth regions are attached to the hand during grasps. Two appendix items matter to harness builders: an ablation of revision with feedback against fresh retries, and a judge-swap test for model self-preference.
Key findings
- Generation SR after the full loop ranges from 51.3 (Sonnet 5.5) to 73.8 (GPT-6 Astra) over the 80 tasks (Table 4).
- Round 0, written with the checker but before any critique, already solves 45.0 to 60.0% of tasks. Revision adds +6.3 to +13.8 points (Table 4, Section 4.5).
- The revision gain is significant only for Opus 5.5 and GPT-6 Astra (McNemar p=0.001). Sonnet 5.5 and GPT-6.1 Sol have p=0.302, and each loses 5 tasks it had solved at round 0 (Table 4, Appendix C.1).
- On the 40 tasks whose round 0 was rejected and unsolved, Opus 5.5 with feedback reaches SR 27.5 after three revisions, against 22.5 for fresh attempts. Output tokens are 199.6K vs 279.9K. The paired Delta SR is +5.0 ± 17.1 (Table 5).
- Reconstruction contact is weak: rigid C-F1 is at most 0.45. Flowing-matter containment (In) is at most 21.4% (Table 1).
- Evaluator acceptance has 80.7 to 91.3% precision, yet 16.1 to 50.0% of rejected results are solved anyway (Table 4).
- In the judge swap on 20 tasks, every judge ranks both GPT backbones above both Claude backbones. The paper reports self-preference of up to about 50 Elo against a family gap of at least 86 Elo (Table 3, Section 4.5).
- Mean cost per run ranges from $4.79 (Sonnet 5.5) to $43.67 (GPT-6 Astra), although GPT-6 Astra writes the fewest output tokens (145.1K) (Table 4).
The paper at a glance
- Input (video, image, 3D scene or text) + instruction
- Object Agent: procedural meshes, parts, joints, matter, material presets; object critic loop
- HOI Agent: contact plan, MANO fit to keypoints, MPM/FEM/FLIP/XPBD in Warp, Bullet for rigid
- Evaluator: deterministic physics checker, then fresh-context render critic
- Revise up to 3 times; return best-ranked round
Data table
| Method | % |
|---|---|
| Revision with feedback (this paper) | 27.5% |
| Fresh attempts (no feedback) | 22.5% |
Why it matters
For most harness builders this is a domain paper about simulating 3D hand-object interaction, and its HOI results are not relevant to them. A few parts of the loop design do carry over to coding-agent harnesses. First, a deterministic checker gates acceptance and caps the LLM critic's scores, and most of the final success is already reached at round 0, when only the checker is available. Second, the critic sees only the submitted result in a fresh context, to avoid anchoring on earlier attempts. Third, each run's copy of the framework is hashed to detect tampering with tools or the checker. Fourth, and most useful, the appendix compares feedback-driven revision against fresh retries under matched loop settings. Feedback gives somewhat higher SR at fewer tokens, but on one model and 40 tasks, with an interval that spans zero. Fifth, a judge-swap check measures model-judge self-preference. None of these is a new technique, and the sample sizes are too small to settle any question. Treat the paper as a worked example, not as evidence.
Issues (9)
- High severityWhere in paper: Section 4.2 Baselines; Tables 1-2
There is no external baseline. Every comparison is between four backbones inside CodeHOI. The abstract's claim that CodeHOI 'writes interactions that are plausible for every kind of matter' is never measured against an alternative, such as prior HOI reconstruction methods on rigid clips, simulator-in-the-loop methods on deformable clips, or a single-agent or no-checker variant of CodeHOI. The only ablations are round 0 vs revision and feedback vs fresh retries. Nothing ablates the checker itself, the three-agent split, or contact-based hand specification.
- High severityWhere in paper: Section 4.2; Table 2; Table 4
Each backbone runs once per clip and task, with no repeated seeds. Each kind of matter has 20 generation tasks, so one task equals 5 SR points, and many differences in Table 2 are single-task differences (e.g. rigid SR 90.0 vs 85.0). Table 4 gives bootstrap intervals only for Delta SR (±7.6 to ±9.4). The per-matter SR and Elo in Table 2 carry no intervals in the text provided. Revision gains for two of the four backbones have p=0.302.
- High severityWhere in paper: Section 4.4; Figure 5; Appendix A.2
The transfer claim is qualitative and assisted. The abstract says results 'remain so when transferred to an independent physics engine', but Section 4.4 reports no quantitative transfer metric, only figures. Because position control cannot regulate grip force, any touched object or cloth region is attached to the robot hand until the reference releases it. That attachment bypasses the contact physics the transfer is supposed to validate. The paper itself concedes that 'transfer without them remains hard'.
- Medium severityWhere in paper: Section 3.2; Appendix B.2; Appendix B.4 grip check
'Physically plausible' is a set of necessary conditions, not a simulation of the hand-object physics. The hands are kinematic colliders, and forces pass one way, from hands to objects and between solvers. Rigid objects become kinematic while held, so carrying is validated only by a feasibility test: the minimal total normal force must be at most ten times the weight. Materials come from presets, and the paper itself calls the simulation 'plausible rather than predictive'.
- Medium severityWhere in paper: Appendix B.4, last paragraph; Section 3.3
The in-loop checker and the scorer share the same physical checks. During a run, the checker applies the hand, role and physical checks, with the plan standing in for the hidden conditions. Phys, and the physical-validity part of SR, therefore measure agreement with a test the agent already iterated against. All conditions and thresholds were designed by the authors.
- Medium severityWhere in paper: Table 1; Section 4.3; Appendix B.3
'Plausible for every kind of matter' overstates the flowing-matter and contact results. Containment is at most 21.4% in reconstruction. Flowing matter has no 3D ground truth and is scored only through containment and container metrics. Rigid C-F1 stays at or below 0.45.
- Medium severityWhere in paper: Appendix B.3; Appendix B.1; Appendix B.4 (IoU); Section 4.3
Ground truth and method inputs share tooling. GT MANO hands for PhysTwin and PhysCoRe were fitted by the authors from Sapiens2 keypoints [45], and the same estimator [45] initializes CodeHOI's hands in reconstruction. For clips without dataset masks, IoU_v uses SAM 3 masks that the agents also receive. Section 4.3 says rigid MJE differs little across backbones 'since every fit starts from the same detected hands'. Hand accuracy therefore largely reflects the off-the-shelf detector, and its raw output is not reported as a baseline.
- Low severityWhere in paper: Section 4.5 Judge consistency; Table 3
Elo comes from a single Opus 5.5 judge. The consistency check covers only 20 of the 80 tasks, and the paper notes that single pairwise judgments flip with presentation order and differ between judges. 'Up to about 50 Elo' of self-preference is the paper's own reading of Table 3, and no confidence intervals are given.
- Medium severityWhere in paper: Section 4.2 Implementation details; Table 4
Code is not released ('will be released upon publication'). Runs depend on proprietary backbone models and on each provider's agent framework, which limits reproducibility. One run per task at $4.79 to $43.67 also makes seed studies costly.
Questions for the authors
- How does CodeHOI compare with a prior HOI reconstruction method on the rigid clips, using the same metrics?
- How does CodeHOI's hand MJE compare with the raw output of the hand detector that initializes it?
- What is SR when round 0 is written without the deterministic checker?
- Can you report a quantitative transfer metric in Genesis without hand attachment, such as the fraction of tasks whose hidden conditions still hold?
- What share of SR and Phys comes from checks the in-loop checker also enforces, versus conditions it never sees?
- With multiple seeds per task, do the backbone rankings in Table 2 hold?
- Why does GPT-6 Astra cost $43.67 per run while writing the fewest tokens? Are reasoning tokens excluded from the token count?
Related papers
arXiv:2610.31841 · cs.RO · Oct 22, 2026
Coding agents can translate language instructions into robot programs. For contact-rich manipulation, a key challenge is to generate and refine control logic that responds to physical interaction. We present FORCA, a coding agent that takes visual observations and wrist force/torque (F/T) measurements as input to write Python programs for contact probing and force-responsive motion. Between executions, the agent inspects force records alongside visual outcomes to diagnose failures and revise both motion and force-feedback control logic. FORCA requires no demonstrations, task-specific training, or simulation. Across five real-robot tasks, we demonstrate its effectiveness in three forms of contact-rich manipulation: improving manipulation accuracy, adapting to changes in object or surface properties, and regulating contact under surface variation and object motion. Compared with a vision-only variant of the same agent, FORCA improves grasp accuracy and task success and reduces contact loss in wiping and peeling.
Xiao Tan, Yixuan Wang +2
arXiv:2611.34414 · cs.CV · Nov 25, 2026
Coding agents are increasingly capable of generating 3D models, yet enabling users to effectively control the modeling process remains challenging. Existing workflows rely primarily on text prompts and reference images, which often struggle to convey precise spatial intentions and require iterative corrections. We introduce SemProxy, a lightweight intermediate representation that bridges intuitive human interaction and agentic 3D modeling. Instantiated as labeled 3D bounding boxes, semantic 3D proxies allow users to directly specify object parts and spatial arrangements while leaving geometric details to coding agents. These proxies can be serialized into structured text and rendered as images, making them directly accessible to existing coding agents without additional training or modifications. We further develop ProxyStudio, a user interface that integrates text, image references, and interactive 3D proxy editing into agentic modeling workflows. We demonstrate the versatility of SemProxy across object- and scene-level modeling tasks with different coding agents, and evaluate its effectiveness in supporting controllable human-agent collaborative 3D modeling through a user study.
Shuyuan Zhang, Changjian Li
arXiv:2610.31651 · cs.CV · Oct 22, 2026
Frontier coding agents are becoming increasingly adept at 3D modeling. Yet, they still face challenges when building objects meant to be assembled in the physical world, often creating invalid assemblies with floating, colliding, or disconnected parts. We argue that providing agents with tools for assembling builds and verifying their physical feasibility is sufficient for them to produce physically valid assemblies that still adhere to input prompts. Focusing on the domain of LEGO brick builds, we present BrickWright, a framework for generating physically feasible brick builds from text or image prompts using pre-trained agents, where a build is physically feasible if it uses only real parts, has no colliding or floating parts, and forms a connected structure if possible. BrickWright guides agents to create builds by writing code with BrickLayer, a Python toolkit with two main components: an ergonomic brick assembly API that halves inference cost compared to working in raw LDraw, and a validator that provides feedback on physical feasibility. Whereas baseline agents achieve physical validity rates ranging from only 9% (GPT-6 Luna) to 69% (GPT-6 Astra), BrickWright-guided agents achieve 100% validity on a sample of 512 prompts, while improving prompt adherence for lightweight agents and maintaining it for stronger agents. Additionally, they outperform specialized models on the text-to-brick task. Code is available on our project page: https://avalovelace1.github.io/brickwright/
Ava Pun, Kevin Dai +8
arXiv:2610.30108 · cs.RO · Oct 21, 2026
Multimodal agents (MMAs) sustain interaction through reasoning, memory, tools, and feedback, most visibly as computer-use agents, while robotic systems (RSs) couple sensing and actuation under physical dynamics. We define multimodal embodied agents (MMEAs) as goal-directed systems that couple multimodal task reasoning with physical action and revise decisions from the resulting feedback. This raises a central question: what changes when a multimodal agent moves from computer-use to robot-use? We introduce PAPAV, a unified capability-centric framework of five recurring functions: Perceive the current state, Anticipate action effects, Plan a feasible course, Act through an interface or body, and Verify the outcome. Defined by function rather than architecture, these capabilities let PAPAV identify what all three share and then compare MMEAs with MMAs and with RSs. Five physical constraints, from partial observability to unverifiable outcomes, leave fewer choices fixed in advance and less room to reverse errors. Across 64 benchmarks, explicit evaluation centers on Act; only 5 assess Anticipate and 3 assess Verify, leaving both largely hidden behind task success. These constraints also frame the open challenges we identify. PAPAV therefore provides a common basis for designing reliable physical agents and measuring progress across all five capabilities rather than task success alone.
Yanzhe Chen, Ziyi Yang +11
arXiv:2610.35385 · cs.RO · Oct 26, 2026
Embodied agents are expected to accomplish real-world goals by deciding for themselves how and when to interact with their surroundings. For many such goals, changing the physical state of the world is the means rather than the end: the agent changes the state of a system through interaction, observes the feedback, and explores until it either achieves the goal itself (e.g., discovering physical laws) or learns what the goal requires; it acts to know. Manipulation benchmarks stop at acting to change, with the target state given; scientific discovery benchmarks evaluate knowing but replace physical experimentation with symbolic actions or numerical queries. We introduce EmbodiedLab, a benchmark in which a robot must act to know. Quantitative science experiments make this setting controllable: the parameters of the system are resampled for every instance, so the result cannot be known in advance, yet it can be scored exactly. Across 30 experiments in five disciplines on 14 apparatus platforms, the agent receives an objective and the apparatus, chooses its own procedure, and operates a physics-based simulated laboratory, reading the instruments through its cameras. Evaluation checks what the agent came to know, grounded in readings recorded during the episode, as well as the physical state the task requires; every experiment is verified to be solvable. We evaluate six frontier models in their developers' coding agents with native observation and control, with added perception and motion planning, and with manipulation skills distilled from the strongest agents. With native control, even the strongest agent succeeds less than half the time; for every agent, most failures arise in interacting with the apparatus, and manipulation skills help weaker agents more than perception and planning. The benchmark and its evaluation code are available at https://github.com/HexaFuture/EmbodiedLab.
Hongcheng Gao, Zelin Zheng +11
arXiv:2610.31834 · cs.RO · Oct 22, 2026
Existing approaches for robot learning in simulation often require substantial manual effort to construct scenes and specify tasks, limiting training scalability and data diversity. Meanwhile, in-the-wild robot demonstrations naturally provide diverse and realistic observations of real-world interactions. Leveraging these demonstrations for simulation requires both high-fidelity visual reconstruction and physically consistent interactions. General-purpose agents offer flexible adaptation to diverse scenarios and strong reasoning about 3D spatial relationships, while specialized generative models provide high-fidelity reconstruction of scene appearance and geometry. We introduce WorldMirror, an agentic real-to-sim framework that constructs interactive digital twins from in-the-wild robot demonstrations. Our central idea is to formulate real-to-sim construction as the iterative refinement of an executable world program. A coding agent decomposes the observed scene, plans reconstruction steps, and orchestrates specialized image and 3D generation tools, refining the program through verification feedback. A camera-pose-anchored scene representation organizes the world into static visual context, support geometry, and editable interactive assets while preserving spatial relationships among the scene, objects, and robot. The agent uses this representation to diagnose and correct reconstruction errors, enabling physically consistent interaction and trajectory replay. Experiments on DROID demonstrate that WorldMirror can reconstruct visually faithful and geometrically consistent interactive worlds while preserving the physical validity of recorded robot trajectories.
Tianling Xu, Weijie Wan +10