跳到正文
王侯

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
Three illustrated panels: timber wall components with tolerance and collision risks, a person in a mixed reality headset demonstrating a move in a digital twin, and a learned policy guiding a timber component into place under a cable robot.

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.

Three illustrated panels: timber wall components with tolerance and collision risks beside a sorting area; a person in a mixed reality headset demonstrating a move on a digital twin; demonstration data feeding BC, GAIL and PPO into a learned policy that guides a component to its target pose.
Overview of the research context and workflow: (a) reversible timber manipulation in circular construction involves component recovery under tolerance, uncertainty and collision risk; (b) MR-guided expert actions are captured in a digital twin as reusable demonstrations; (c) the demonstrations guide a hybrid BC+GAIL+PPO policy in Unity for cable-robot-oriented execution.

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.

Pipeline diagram in five stages: MR demonstration capture, expert dataset construction, Unity digital twin with BC initialisation, GAIL reward shaping and PPO refinement, policy deployment to a cable robot, and execution logging with circular material tracking.
The MR-to-IL/RL pipeline for CLT construction and deconstruction: MR demonstrations become segmented expert trajectories for BC initialisation, GAIL reward shaping and PPO refinement in a Unity-based digital twin; the trained policy is deployed to the cable robot, and 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.

Left, a CLT building model zoomed in twice to a target wall component. Right, six mixed reality views of a hand demonstrating approach, grasp, drag, place and virtual guidance, and the assembled result, exported as a demonstration file.
MR demonstration capture and expert data generation: (a) the CLT hierarchy and the target component for task decomposition; (b) the MR-guided demonstration of the primitive sequence (approach, grasp, drag, place, virtual guidance and the final assembly result), exported for imitation learning.

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.

Left, six views of a cable-driven frame in Unity for the stages find component, approach, grasp, align, insert, and release and verify. Right, a larger view of the simulated cable robot placing a timber component, with an execution control panel.
Demonstration-driven primitive training and the simulated execution environment: (a) the recorded demonstration decomposed into six motion stages for learning; (b) the Unity digital twin and runtime execution interface used for policy training and evaluation under cable-driven constraints.

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.

Six training charts over 400k steps comparing PPO, PPO+BC, PPO+GAIL and PPO+BC+GAIL: cumulative reward, episode length, extrinsic value estimate, entropy, policy loss and value loss, with insets enlarging part of each curve.
Training comparison of PPO, PPO+BC, PPO+GAIL and PPO+BC+GAIL for the single-component CLT assembly primitive over 400k steps: (a) cumulative reward, (b) episode length, (c) extrinsic value estimate, (d) entropy, (e) policy loss and (f) value loss.

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.

MethodSuccess rate (%)Mean time (s)Mean final position error (m)Wall-hit failures
PPO958.68090.17235
PPO+BC949.05890.17106
PPO+GAIL9611.14030.14234
PPO+BC+GAIL999.64780.06791
ONNX-based execution validation over 100 randomised component trials per method.

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.

Full Text