Co-intelligent Assembly
State Hijacking for Human-in-the-Loop Discrete Construction in Mixed Reality
- Venue
- ACADIA 2026
- Authors
- Hou Wang, Qi Wang, Peter Búš
- Role
- First author
- Format
- Paper, oral presentation

Abstract
This project lets a designer intervene in an assembly while a learning agent is building it. The agent assembles discrete interlocking components; working in mixed reality, the designer can pause it at any point, move a component and let it continue, and the agent plans its next steps from the edited assembly.
Introduction
Automated assembly of discrete structures still relies largely on fixed, pre-programmed logic. Learning agents can now work out non-standard assembly sequences through trial and error in simulation, but once training ends, the learned policy runs as static instructions, with little room to absorb a designer’s changing judgement on site. The designer is left to watch, without a way to intervene or respond as construction unfolds.
Mixed reality has made it easier for builders to follow machine instructions on site, yet the information still flows one way, from machine to person. What the designer sees and judges during construction does not reach the machine’s decisions.
How can a designer change an ongoing assembly, and have the agent continue from that change?
Methods
Offline, the agent learns an assembly policy from a designer’s demonstration. Online, the trained policy assembles while the designer watches through a mixed reality headset and steps in when needed.

Discrete Assembly System and Environment Setup
The agent builds with a kit of eight Deep-Slot Interlocking component types, joined by male–female and mortise–tenon connections. The components have defined geometric tolerances, and only a complementary, unoccupied socket can become the agent’s next target.

Phase 1: Hybrid Learning Generation
A designer assembles one complete configuration in the mixed reality interface, which shows real-time system logs and updates the agent’s memory matrix as components are moved. The session is recorded as a single trajectory of 1,326 decision steps. Behavioural cloning (BC) and Generative Adversarial Imitation Learning (GAIL) extract the designer’s implicit assembly intentions from it. Proximal Policy Optimization (PPO) then refines the policy through self-exploration, rewarding the agent for reaching guide points, entering magnetic tolerance zones and completing assemblies, and penalising timeouts, geometric interpenetrations and violations of physical laws.

Phase 2: Mixed Reality Intervention and State Hijacking
The policy stays fixed during assembly; what the designer changes is the state it reads. The agent keeps a local memory matrix, a registry of the components it has placed and of which sockets on them are occupied, and computes every target from it.
A holographic pause command freezes the agent’s decisions and all rigid-body motion. When the designer grabs a component, its entry is erased from the registry and its sockets return to the free pool, while a Virtual Ghost mode turns off collisions so it can pass through the structure. On release, a one-frame delay lets the motion settle before the component snaps into its new socket. A forced inference then makes the agent read the edited state and plan from there.
Results and Discussion
- Final reward, hybrid
- 2.01
- Final reward, PPO alone
- 1.10
- Interventions in the pilot
- 18
Quantitative Evaluation of Hybrid Learning
With the demonstration, the hybrid framework (PPO + BC + GAIL) nearly doubled the final cumulative reward of the standard PPO baseline, and policy and value loss settled at lower levels. Training was not repeated over multiple seeds, but the two approaches separated consistently across all four monitored metrics.

Qualitative Impact of State Hijacking
The authors compared the final forms of autonomous and co-intelligent assembly. In every test scenario, runs with State Hijacking avoided the dead ends that appeared under autonomous operation and produced a wider range of branching forms, a comparison that rests on the authors’ own design judgement.
Pausing, editing and resuming alone would not be enough. If the detached component stayed in the registry, its sockets would remain occupied and the agent would keep planning around a component that is no longer where it believes it is; without the forced inference, the resumed agent would keep heading for its old target for several decision cycles. Coupling the edit to a rewrite of the agent’s state lets planning resume from the assembly as it is, not as it was.




Preliminary Pilot Study
A pilot study took the evaluation beyond the development team. Four graduate researchers in computational design, none involved in training the agent, each used the system in a session of at most ten minutes, including a two-minute briefing and a short questionnaire. All four connected the assembly to the target zone, with 20 to 30 components. They intervened 18 times in total, mostly to redirect the form or to fix arrangements that would not hold under real gravity, and the agent resumed after every edit.
Conclusion
The study confirms that embedding real-time human-machine negotiation into discrete automated construction is both workable and productive. By integrating hybrid reinforcement learning with spatial computing, the study proposes and actualises a ‘State Hijacking’ workflow in which human intervention operates not at the level of physical adjustment but at the level of algorithmic state rewriting.








