MR-Guided Imitation Learning for Cable Robot Timber Construction in a CLT Scenario
- Venue
- CDRF 2026
- Authors
- Qi Wang, Maowei Jiang, Hou Wang, Mengqi Gao, Yusong Hu, Yuxin Ren, Zhiyong Dong, Haoda Zhao, Peter Búš
- Role
- Third author
- Format
- Paper, oral presentation

Abstract
Circular timber construction needs robotic workflows that support reversible manipulation, component recovery and robust execution under tolerance and collision constraints. This paper presents a mixed reality (MR)-guided imitation and reinforcement learning framework for cable-robot-oriented timber manipulation in a cross-laminated timber (CLT) scenario: expert actions captured through an MR interface in a Unity-based digital twin become reusable demonstrations that guide a three-stage learning pipeline. In the tested benchmark, the hybrid setting achieved 99% success over 100 randomised trials, with the lowest mean final position error and the fewest wall-hit failures.
Introduction
Circular timber construction increasingly emphasises reversible assembly, design for disassembly and component reuse, yet circularity also requires damage-free manipulation, and component-level manipulation for timber recovery remains limited. Mixed reality can connect human expertise, spatial context and digital task data, but it is rarely used as structured demonstration data for robot learning. Cable-driven robots suit building-scale manipulation because of their large workspace and low moving mass, but their policies must handle collisions, tension feasibility and payload variation.
The research gap is the limited integration of these three: circular timber construction, MR-based expertise capture and learning-based cable-robot control at the level of manipulating a single component.

Methods
The workflow runs in a Unity-based digital twin for CLT construction and deconstruction. MR-captured expert actions are segmented into reusable primitive clips and used to train a Unity ML-Agents policy through behaviour cloning (BC) initialisation, generative adversarial imitation learning (GAIL)-based reward shaping and proximal policy optimisation (PPO) refinement under cable-driven constraints. In deployment, the learned policy outputs task-space commands for the cable robot, while execution traces and component outcomes are logged for circular material tracking.

MR Demonstration Capture and Expert Dataset Construction
CLT construction and deconstruction are formulated as a constrained sequential decision process: at each step the agent observes the workspace, outputs a continuous task-space action and moves to the next state. The task is decomposed into component-level primitives, and the MR interface guides the approach, grasp, drag and placement actions. Each demonstration is recorded as a timestamped trajectory of states and actions, segmented into primitive-aligned clips at task events such as attachment, clearance, target arrival and stable release, and stored as the expert dataset.

Learning and Deployment
The policy is first initialised by BC on the expert dataset, which reduces the exploration burden and gives a feasible prior for manipulating a component. For training, the demonstrations are reorganised into six motion stages: find component, approach, grasp, align, insert, and release and verify. GAIL then refines the policy: a discriminator distinguishes expert samples from policy rollouts and provides an imitation reward, and the final reward also encourages primitive completion and terminal success while penalising collisions, workspace violations and tension anomalies. PPO optimises the policy under this combined reward.
After training, each task-space action is converted into cable-length or motor commands, filtered by a safety wrapper, and logged with component identifiers to support circular material tracking.

Experiment
Experiment Design
The experiment evaluates learning for a single-component CLT assembly primitive in Unity ML-Agents, rather than the full 38-component sequence. Each episode targets one component through six stages (approach, grasp, align, insert, release and verify), with previously assembled components as obstacles; a wall collision ends the episode as a failure, and success requires passing a final verification check, within 0.15 m and 5° during training.
From 100 successful demonstration trajectories, four settings were trained for 400k steps each under the same environment and reward: PPO, PPO+BC, PPO+GAIL and PPO+BC+GAIL. The trained policies were then exported as ONNX models and each tested on 100 randomised component trials in runtime execution, logging success, execution time, final position error and wall-hit failures.
Results
In training, demonstration-guided learning improved the tested primitive over PPO alone. The BC-based methods learned faster in the early and middle stages, while all four methods converged near 32–33 cumulative reward. At 400k steps, PPO+BC+GAIL had the lowest value loss (0.6236, against 1.8433 for PPO, 1.8142 for PPO+BC and 1.1373 for PPO+GAIL), suggesting a more stable critic fit.

All four policies transferred to runtime execution. PPO+BC+GAIL performed best among the evaluated settings, with 99 of 100 successful trials, the lowest mean final position error (0.0679 m) and one wall-hit failure; PPO+GAIL reached 96% success but was slower and less accurate, while PPO and PPO+BC reached 95% and 94% with larger errors and more wall-hit failures. These results suggest that combining BC and GAIL improves runtime stability over PPO alone within the tested single-component Unity benchmark, rather than demonstrating full multi-component automation.
| Method | Success rate (%) | Mean time (s) | Mean final position error (m) | Wall-hit failures |
|---|---|---|---|---|
| PPO | 95 | 8.6809 | 0.1723 | 5 |
| PPO+BC | 94 | 9.0589 | 0.1710 | 6 |
| PPO+GAIL | 96 | 11.1403 | 0.1423 | 4 |
| PPO+BC+GAIL | 99 | 9.6478 | 0.0679 | 1 |
Conclusion
This paper presented an MR-to-IL/RL workflow for reversible timber manipulation in a CLT scenario, where MR-captured expert actions are converted into demonstrations for BC initialisation, GAIL-based reward shaping, and PPO refinement. In the Unity-based benchmark, demonstration-guided learning improved performance over PPO alone, and PPO+BC+GAIL achieved the highest success rate, lowest mean final position error, and fewest wall-hit failures among the four tested conditions.





