# It Takes Two to Tangram: Multi-Agent Object Centric Reinforcement Learning for Assembly

Robotics.world

> When several rigid parts must be slid and rotated into a tight final shape on a flat surface, each part's motion can block another part's path, so the parts cannot be moved one at a time without…

**arXiv**: 2611.08814 · Preprint · not peer-reviewed

**Published**: 2026-11-06

**Authors**: Paul Knaußt, Kay Pompetzki, Nico Bohlinger, Niklas Funk, Cristiana de Farias, Rolf Findeisen, Jan Peters

## In plain words

When several rigid parts must be slid and rotated into a tight final shape on a flat surface, each part's motion can block another part's path, so the parts cannot be moved one at a time without considering everyone else.

## AI summary

## Overview

**Research area:** Robot manipulation and reinforcement learning, specifically multi-object geometric assembly, multi-agent RL, and graph neural network policies.

**Technical level:** Intermediate. The core ideas (treating each part as an agent, using a graph network to share information between parts) are intuitive, but the paper assumes familiarity with reinforcement learning basics such as PPO, value functions, and reward shaping.

**Scope (1 sentence):** The paper introduces GOMA, a graph-based multi-agent reinforcement learning method that learns a shared continuous-control policy for moving every puzzle piece to its assigned target pose at once, plus TangramBench, a procedurally generated Tangram assembly benchmark with simulation and physical counterparts.

## What This Paper Is About

When several rigid parts must be slid and rotated into a tight final shape on a flat surface, each part's motion can block another part's path, so the parts cannot be moved one at a time without considering everyone else. The paper asks whether treating each part as a cooperating agent, communicating through a graph neural network and trained with a shared policy, is an effective way to learn these coordinated motions. To study this, the authors build a Tangram-based benchmark where the target pose of every piece is given, deliberately removing shape-matching ambiguity so that only the coordination problem remains.

## Key Contributions

1. **An object-level multi-agent formulation of geometric assembly.** Each piece is an agent, all pieces act simultaneously, and a single shared feedback policy outputs translational and angular velocities per piece, coupling motion and temporal ordering rather than only selecting which step to do next.
2. **An empirical isolation of what actually enables coordination.** The authors ablate the graph representation, the per-agent optimization, and individual reward terms (shared team reward, contact cost), and compare against joint-action learning and against sampling-based planners (RRT-J, RRT-P) and a myopic artificial potential field baseline.
3. **TangramBench, a procedural benchmark suite.** It has three graded difficulty levels, roughly 1M / 1.1M / 955k training configurations for Trio, Cluster, and Puzzle, and 258 held-out configurations for each evaluation, all generated from fixed seeds so disjoint pools are reproducible. It ships with a MuJoCo implementation with mesh-based collision, a standard metric set, and 3D-printed physical pieces plus a square-peg insertion tool.
4. **A zero-shot sim-to-real demonstration.** The policy is deployed on a Franka FR3 without additional training or fine-tuning, running the same object-centric commands sequentially because the robot has only one arm.

## Main Findings

- **Structure matters progressively.** On TangramBench-Trio, single-agent PPO (no graph, no multi-agent decomposition, MLP over fixed-order concatenated state) fails to achieve meaningful task success and keeps large position and yaw errors. Adding the multi-agent formulation alone (MLP-MAPPO) brings almost 90% of pieces within 5 cm of their targets, but overall success plateaus at approximately 50%. Adding relational message passing (GOMA, GOMA-J) closes the gap, with both graph variants converging to approximately 90% success and substantially lower final position errors.
- **The graph is the essential ingredient, not the per-agent objective.** GOMA and GOMA-J perform very similarly across all metrics, which the authors read as the per-piece advantages of MAPPO giving a useful inductive bias while explicit relational modeling through the GNN is what is essential for success.
- **Collision avoidance is not where the methods differ.** All architecture variants maintain low contact rates, so differences arise from the ability to coordinate precise placement rather than simply avoid collisions.
- **Reward terms play different roles.** On TangramBench-Cluster, removing the inter-piece contact cost leads to frequent contact throughout training, whereas variants trained with the penalty reduce contacts to near zero. Removing the shared team reward (maximum-distance penalty and global completion bonus) has little effect on collision avoidance or coarse goal reaching but results in lower final assembly success — individual rewards drive pieces toward their own targets, shared terms convert that into whole-assembly completion.
- **Learned coordination beats myopic and per-piece planning but trails joint planning with replanning.** APF and per-piece RRT assemble at most 9% of clusters and none of the puzzles, with inter-piece contact during nearly every control step. Joint RRT with replanning every 5 s reaches 98% on TangramBench-Cluster and 88% on TangramBench-Puzzle, versus 75% and 41% for GOMA, but with higher contact rates (12% and 37%) compared with 4% for GOMA on both benchmarks.
- **GOMA is fast and low-contact.** It needs approximately 0.68 ms per inference and reaches median completion times of 8 s on TangramBench-Cluster and 24 s on TangramBench-Puzzle, compared with 21 s and 43 s for RRT-J with replanning. Final position errors are 1.0 cm (Cluster) and 1.7 cm (Puzzle).
- **Difficulty scales sharply with enclosure.** TangramBench-Cluster instances have the same 37 mm median inter-piece spacing as TangramBench-Puzzle but a median enclosure of only 9% versus 57%, and this corresponds to the large success drop for every method.
- **Zero-shot transfer was demonstrated qualitatively.** The paper reports a real-robot assembly sequence on a Franka FR3 using FoundationPose and HSV color segmentation, executed with a round-robin over unfinished pieces, but does not report a quantitative real-world success rate.

## Methodology in Plain English

The task is a planar Tangram puzzle. Seven rigid pieces (two large triangles, one medium triangle, two small triangles, a square, a parallelogram) each have three planar degrees of freedom: x, y, and yaw. Every piece is given a known target pose, so the hard part is not deciding what the final shape should be, but deciding how the pieces should move so they do not trap or collide with one another on the way. Targets sit on a 70 × 36 cm support plane; starts are sampled in a 60 × 34 cm region with piece centers at least 18 cm apart; a piece counts as placed when its center is within 1 cm and its orientation error is below 0.1 rad.

Three benchmark levels vary the coupling: TangramBench-Trio uses just three pieces; TangramBench-Cluster uses all seven, generated by scattering pieces and pulling them toward a common center until contact stops them (rejecting overlapping layouts), producing irregular but relatively open assemblies; TangramBench-Puzzle joins pieces edge-to-edge at compatible orientations to make tight classical-style figures with enclosed slots and narrow corridors, so insertion order becomes consequential.

The method, GOMA, builds a graph per scene: nodes are pieces with their poses and target poses, edges encode spatial relationships, and a global feature summarizes the scene. Separate policy and critic graph networks do message passing (one round, latent dimension 256) with residual MLP update blocks, and the final per-piece embedding goes through a policy head shared across pieces to output a mean velocity command, passed through a scaled tanh, with a learned shared standard deviation. The critic head outputs a single scene value from the global embedding.

Training uses MAPPO: each piece has its own clipped likelihood ratio over its three command components and its own advantage from generalized advantage estimation, while the shared critic is trained toward the mean of per-piece return targets. The reward per piece combines a progress term that projects velocity onto the target direction, a heading/orientation term, a sparse bonus for being within both tolerances, a penalty on accumulated inter-piece contacts (contacts do not end episodes, so the policy can recover), and a workspace boundary penalty. Shared terms add a penalty on the maximum positional error across pieces and a bonus for completing all targets.

Experiments run in MuJoCo with mesh-based collision, each simulated piece directly actuated in its planar degrees of freedom through velocity actuators, 1024 parallel instances on GPU, a 10 ms physics step, and a 10 Hz policy. Comparisons cover architecture variants (single-agent PPO, MLP-MAPPO, GOMA-J) on Trio, reward ablations on Cluster, a piece-count sweep (3, 5, 6, 7 pieces) using a policy trained on seven objects, and planning baselines on 117 of the 258 held-out instances whose start arrangements pass the planners' collision check, with a 150 s episode so planning time does not decide the outcome.

For hardware, the authors 3D-print pieces matching the simulated footprints, each with a tapered insertion socket at its centroid engaged by a square peg tool with a chamfered tip, which abstracts away grasping and keeps interaction planar. Pose estimation uses a scene-mounted Intel RealSense D435i and a wrist-mounted D405, with FoundationPose and per-piece HSV color segmentation masks, a geometric consistency filter rejecting impossible overlaps, and the CRISP Cartesian impedance controller on a Franka FR3. Because only one piece can be moved at a time, the multi-agent policy is queried repeatedly and executed sequentially in round-robin order.

## Why This Matters

The paper reframes assembly coordination as a multi-agent problem over parts rather than over robot arms, and shows empirically which piece of that reframing earns its keep: the relational graph representation, not the per-agent optimizer. It also gives the community a reproducible, procedurally generated benchmark with graded difficulty, standard metrics, and hardware that matches the simulation, which is rare for assembly work.

Real-world applications:

- **Manufacturing and kitting:** fitting components with tight clearances where insertion order determines feasibility.
- **Tabletop rearrangement and packing:** sliding objects into compact configurations in cluttered or confined spaces without collisions.
- **Warehouse and logistics automation:** dense palletizing or bin arrangements where objects constrain each other's paths.
- **Multi-robot and bimanual assembly:** the object-centric formulation is agnostic to which robot executes a command, so it could coordinate several arms concurrently.

Industry relevance: the low inference cost (approximately 0.68 ms per query) and low contact rates are attractive for real production cells, where a learned feedback policy could complement or warm-start a planner, and the sequential single-arm execution path shows the formulation degrades gracefully onto existing one-arm hardware.

## Future Directions

- **Inferring the assembly from a silhouette.** The benchmark provides target poses and piece-to-target assignments; recovering a Tangram decomposition and the assignment from a target silhouette is explicitly left as future work.
- **Concurrent physical execution.** Simulation allows all pieces to move at once, but the single-arm setup forces sequential execution; bimanual or multi-robot systems would let the learned concurrency be evaluated directly in the real world.
- **Richer physics and perception.** The insertion tool abstracts away nonprehensile pushing; relaxing this to include pushing, richer contact dynamics, partial observability, and perception uncertainty is proposed.
- **Beyond Tangram.** Extending procedural generation to general planar assemblies and eventually full 3D assembly problems, and investigating why joint planning with replanning remains more reliable on tightly constrained puzzles.

## Target Audience

Robotics and machine learning researchers working on manipulation, assembly, multi-agent reinforcement learning, and graph-based policies, plus benchmark developers. It is also useful for practitioners who want a realistic picture of where a learned assembly policy stands relative to sampling-based planning: faster and gentler on contacts, but currently less reliable on the most tightly enclosed configurations. Readers wanting a gentle entry point will find the benchmark and ablation structure more accessible than the equations.

## Authors’ abstract

Geometric assembly requires fine spatiotemporal coordination to place parts without causing collisions or deadlocks under tight clearances. To address this, we present an object-centric reinforcement learning framework that treats each part as an agent and learns a shared policy for continuous assembly control. A graph neural network represents the pieces, their target poses, and their spatial relationships, and predicts translational and angular velocities for each…

[The full abstract on arXiv](https://arxiv.org/abs/2611.08814)

[Read the original paper](https://arxiv.org/abs/2611.08814)

## Related papers

- [STRIDE: Learning Humanoid Locomotion in Minutes with Acceleration-Based Rewards](https://robotics.world/paper/stride-learning-humanoid-locomotion-in-minutes-with-acceleration-based-2611.08857) 2026-11-06 · cs.RO · Also by Jan Peters, Nico Bohlinger
- [XMimic and XSoma: Learning Humanoid Motion Tracking and Locomotion in Under a Minute](https://robotics.world/paper/xmimic-and-xsoma-learning-humanoid-motion-tracking-and-locomotion-in-2611.20452) 2026-11-16 · cs.RO · Also by Jan Peters, Nico Bohlinger
- [Residual Compliant Policy: Learning Compliant Policies from Few Demonstrations](https://robotics.world/paper/residual-compliant-policy-learning-compliant-policies-from-few-2610.14035) 2026-10-01 · cs.RO · Also by Cristiana de Farias, Jan Peters
- [CrossBFM: Distilling a Shared Latent Behavior Space Across Humanoid Embodiments](https://robotics.world/paper/crossbfm-distilling-a-shared-latent-behavior-space-across-humanoid-2609.38087) 2026-09-29 · cs.RO · Also by Jan Peters, Nico Bohlinger
- [Rapid Embodiment Adaptation for Quadrupedal Locomotion](https://robotics.world/paper/rapid-embodiment-adaptation-for-quadrupedal-locomotion-2608.01506) 2026-08-02 · cs.RO · Also by Jan Peters, Nico Bohlinger

---

Canonical: https://robotics.world/paper/it-takes-two-to-tangram-multi-agent-object-centric-reinforcement-2611.08814
