Bimanual manipulation requires two arms to divide roles over time, track task progress, and ground actions in a shared scene. Policies that map a joint observation to a joint action couple the two arms inside a single network, so neither agent can be perturbed or delayed on its own. We present CoDex, a bimanual diffusion policy under centralized training with decentralized execution. The two arms are separate diffusion policies acting on their own observations, coupled at execution through a communication channel. We introduce two modules that make this decomposition work: a semantic-kinematic affordance encoder that predicts where each arm and its partner should act, and a phase-based 3D trace that guides an arm's spatial motion. On selected RoboTwin 2.0 tasks and on real hardware, CoDex is competitive with fine-tuned monolithic vision-language-action baselines while remaining robust when one agent's sensing is corrupted or its motion is delayed. Ablations and a mutual-information analysis further characterize the contributions of the proposed components and communication channel.
Two arms cooperate to complete a task given as a language instruction, learning from expert demonstrations. Rather than a single policy that maps the joint observation to the joint action, CoDex learns a decentralized policy for each arm that acts on its own observation and a message received from its partner. Separating the agents keeps each arm's action generation independent of its partner's sensing and execution pipeline, so a sensor fault or an execution delay in one arm need not compromise the other. Both agents see the shared top camera and the instruction; each also sees its own hand camera and proprioception. At every step, agent \(i\) broadcasts a compact message holding its state, its gripper-closure bit, its predicted trace, and its agent-specific affordance (ASA) logit, and samples its action from its own policy:
Each arm runs its own diffusion transformer, which denoises an action chunk conditioned on the arm's visual-language features, state, and affordance latent, fused with its own and its partner's traces. One agent's policy can be retrained or replaced without affecting the other. Real-time chunking keeps consecutive chunks consistent during closed-loop execution.
The message enters the partner's computation in three places: the state and closure bit join its conditioning state, the ASA logit normalizes its ASA score, and the trace is fused with its own predicted trace. Without the channel, the arms are two independent actors that share only the top camera and instruction.
From frozen DINOv3 and SigLIP 2 features, the arm's state, and its partner's closure bit, an encoder predicts where this arm and its partner should act, and an agent-specific affordance (ASA) score for which arm the affordance belongs to. Targets mark the next contact, masked to the contacted part with SAM 2.
The affordance is semantic, read from visual-language features and supervised on the contacted object part, and kinematic, conditioned on the arm's state and its partner's closure bit and targeting each arm's next contact.
Each arm predicts \(K\) points \((u, v, d)\), a top-camera pixel plus depth, from its gripper to the target of its current motion phase. The predictor reads SKAE's affordance-supervised tokens and decoded affordance, so it inherits SKAE's robustness to unseen scenes.
Each agent predicts its own and its partner's affordance from its own observation, and a phase-based trace for its own gripper. The scenes below are held-out out-of-distribution scenes with unseen object placements, lighting, and backgrounds. Choose a task; click any panel to enlarge it.
Crosses mark phase points; the large cross marks the endpoint of the current phase.
We test on 15 bimanual tasks of RoboTwin 2.0. Each task trains on 550 demonstrations (50 clean and 500 randomized) and is evaluated on held-out OOD scenes with unseen object placements, lighting, and backgrounds: 30 rollouts per entry (15 clean and 15 randomized). We compare against five retrained architecture ablations, the decentralized diffusion policy LatentToM (LToM), and the fine-tuned monolithic vision-language-action models π0.5 and DM0.5.
With no fault injected, CoDex averages 79%, level with π0.5 (80%) and slightly behind DM0.5 (87%), while LToM reaches only 12% on these OOD scenes.
Removing communication costs only 5 points, since the shared top camera and SKAE's partner prediction still carry implicit coordination. Centralized execution reaches 75%, so factorizing the policy does not degrade performance. Without partner supervision SKAE assigns roles less reliably (66%), and removing the affordance or the trace drops success to 53% and 39%, mostly on precise placement tasks.
At serve time, one agent's proprioception receives Gaussian noise and its own hand camera is replaced by random pixels; the shared top camera and instruction are untouched. We report the intact arm's own subtask success.
CoDex keeps the intact arm at 64%, well above the monoliths DM0.5 (30%) and π0.5 (18%), whose joint conditioning passes the fault to both arms. The no-communication variant reaches 82%; the gap is the cost of the channel, which passes the corrupted state to the intact agent.
One arm's commanded action is held at its current pose for the first 40 environment steps. Both arms' states stay intact, so we report full-task success.
CoDex is the best method at 75%, losing only 4 points from its no-fault success, against 26 points for π0.5 and 34 points for DM0.5, whose joint chunks assume the arms move in lockstep.
How much does the received message inform an agent's own action, given its local inputs \(o^i\)? Keeping those inputs fixed, we sample actions with messages drawn uniformly from four recorded candidates and estimate the Barber–Agakov lower bound
CoDex averages 0.92 nats of a maximum \(\ln 4 \approx 1.39\), so each agent's action depends on the message it receives. Estimates saturate on grab roller and lift pot, where the arms hold one object together, and are lowest on hanging mug and dump bin bigbin, where they act mostly in turn. The no-communication variant receives no message, so its information is zero.
The same held-out scene, rolled out by CoDex, its no-communication variant, and the two monolithic VLA baselines. Pick a task and a condition; every video shows the head camera.
Clips differ in length because each policy finishes, or stalls, at its own pace; each loops on its own.
@misc{sun2026codex,
title = {CoDex: Coordinated Decentralized Diffusion Policies with Semantic-Kinematic Affordances for Bimanual Manipulation},
author = {Sun, Ningze and Firoozi, Roya},
year = {2026},
eprint = {2611.37396},
archivePrefix = {arXiv},
primaryClass = {cs.RO},
url = {https://arxiv.org/abs/2611.37396}
}