cs.AIMar 19, 2026

Cross-Domain Demo-to-Code via Neurosymbolic Counterfactual Reasoning

Authors: Jooyoung Kim, Wonje Choi, Younguk Song, Honguk Woo

Organizations: Department of Computer Science and Engineering, Sungkyunkwan University

Abstract

Recent advances in Vision-Language Models (VLMs) have enabled video-instructed robotic programming, allowing agents to interpret video demonstrations and generate executable control code. We formulate video-instructed robotic programming as a cross-domain adaptation problem, where perceptual and physical differences between demonstration and deployment induce procedural mismatches. However, current VLMs lack the procedural understanding needed to reformulate causal dependencies and achieve task-compatible behavior under such domain shifts. We introduce NeSyCR, a neurosymbolic counterfactual reasoning framework that enables verifiable adaptation of task procedures, providing a reliable synthesis of code policies. NeSyCR abstracts video demonstrations into symbolic trajectories that capture the underlying task procedure. Given deployment observations, it derives counterfactual states that reveal cross-domain incompatibilities. By exploring the symbolic state space with verifiable checks, NeSyCR proposes procedural revisions that restore compatibility with the demonstrated procedure. NeSyCR achieves a 31.14% improvement in task success over the strongest baseline Statler, showing robust cross-domain adaptation across both simulated and real-world manipulation tasks.

Figures & tables

Appendix figures & tables29 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. One-shot Human Video-Guided Adaptation for Vision-Language-Action Models

    Oct 14, 2026Qi Chen, Yuwei Wu, Quan Chen +5VLA Model AdaptationVision-Language-Action Models

  2. Build on Priors: Vision--Language--Guided Neuro-Symbolic Imitation Learning for Data-Efficient Real-World Robot Manipulation

    Apr 4, 2026Pierrick Lorang, Johannes Huemer, Timothy Duggan +3Robot Imitation LearningRobotic Manipulation

  3. SeeTraceAct: Visibility-Aware Latent Planning from Cross-Embodiment Demonstration Videos

    Jun 1, 2026Jaehyeon Son, Junhyun Kim, Kyle Kam +7Robot Skill LearningGeneralization in Robotic Manipulation