arXiv:2610.12241cs.ROOct 2026

Manuscript Offprint

arXiv:2610.12241

From Language to Motion: Task-Conditioned Focal-Stack Trajectory Integration for Microscopic Robots

Junjie Xie, Chuxuan He, Junkai Huang, Heng Zhang, Angen Ye, Yujia Song, Yuqing Li, Pengsong Zhang, Dapeng Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Junjie Xie 1,†^{1,\dagger}, Chuxuan He 2,†^{2,\dagger}, Junkai Huang 1,†^{1,\dagger}, Heng Zhang 3,†^{3,\dagger}, Angen Ye 1^{1}, Yujia Song 1^{1}, Yuqing Li 1^{1}, Pengsong Zhang 4^{4}, and Dapeng Zhang 1,∗^{1,*}

1^{1}Institute of Automation, Chinese Academy of Sciences

2^{2}Zhejiang Gongshang University

3^{3}Safe AI Lab, Carnegie Mellon University

4^{4}Department of Mechanical and Industrial Engineering, University of Toronto, Toronto, Ontario, M5S 3G8, Canada (pengsong.zhang@mail.utoronto.ca)

†^{\dagger}These authors contributed equally to this work.

∗^{*}Corresponding author: Dapeng Zhang.

Abstract—Microscopic robots require accurate task geometry despite changes in language, parts, and focus. We present a semantic-to-physical framework that maps instructions to constrained geometric operators, reuses frozen open-vocabulary perception, and integrates locally reliable focal-plane trajectories by confidence weighting and dynamic programming. Calibrated multi-view geometry connects 2-D paths to physical execution. Prompt, unseen-part, and geometry reconfiguration tests yield 6.30–6.59-pixel RMSE. Relative to part-specific U-Net training with 20–100 labels, the proposed zero-new-label configuration takes 15 rather than 72–165 min. Across nine part-illumination conditions, trajectory-space integration reduces RMSE from 14.41 to 6.28 pixels (56.4%) and P95 error from 20.07 to 8.13 pixels (59.5%) compared with image-first multi-focus fusion. An ablation isolates the roles of confidence and path-wise selection. In representative robot experiments, target-region coverage improves from 83.5% to 92.9%. Dispensing provides a measurable physical trace, not a task-specific limitation of the method.

Index Terms—Microrobotics, visual servoing, computer vision for automation, open-vocabulary perception, multi-focus imaging.

I. INTRODUCTION

Microscopic robot tasks such as probing, contour following, and local material deposition require an ordered geometric path, not only an object category. The relevant edge, centreline, or offset contour must be localized under shallow depth of field and ultimately transformed into the robot frame. A practical microscopic vision system should therefore address two distinct bottlenecks: task reconfiguration when the part or requested geometry changes, and geometric accuracy when different path segments are in focus in different images. Figure 1 outlines our language-to-physical-trace pipeline.

Part-specific systems can achieve high accuracy by collecting images, annotating masks, and training specialized networks such as U-Net and nnU-Net [1], [2]. In high-mix, low-volume manipulation, however, that development loop incurs repeated annotation and training cost [3]. Open-vocabulary detection and promptable segmentation [4]–[6] offer reusable visual components. Rather than treating these backbones as novel, we connect them to a constrained task specification: language specifies which object, region, and geometric primitive to measure, while visual measurements and geometric operators specify its image coordinates. This separation allows reconfiguration by editing the instruction and operator settings instead of retraining a dedicated detector. We test the resulting accuracy and adaptation-time trade-off against supervised baselines.

Shallow depth of field creates a different limitation. Focus varies along a three-dimensional contour, so no single plane necessarily reveals the complete path. Shape-from-focus exploits focal variation [7], [8]; multi-focus image fusion (MFIF) combines focal evidence into an all-in-focus image [9], [10]. Yet a visually acceptable composite can shift or obscure the very edge that defines the robotic trajectory. We therefore invert the processing order: extract local trajectories from the individual focal planes, associate geometrically consistent hypotheses, and integrate them directly in ordered path space. Confidence weighting exploits locally reliable evidence, while dynamic programming promotes continuity and discourages arbitrary focal-source switching, with an explicit null option when evidence is inadequate.

For execution, we associate the separately recovered 2-D paths across calibrated views and reconstruct a 3-D task trajectory using standard multi-view geometry. Approximately orthogonal views are a platform-specific configuration, not a requirement of the algorithm. A trace-preserving dispensing experiment provides a physical measurement of the outcome after geometry recovery, calibration, and robot motion; dispensing is a validation instrument rather than the target application.

Our contributions are threefold:

• Language-to-geometry reconfiguration. A constrained specification and reusable perception front end support new wordings, unseen parts, and different trajectory operators; accuracy and adaptation time are compared with part-specific supervised training.

Figure

Fig. 1. System overview. (A) CAD-rendered examples illustrate task-level geometric reconfiguration through language prompts. (B) Trajectory candidates and local evidence are extracted at individual focal planes before integration in path space. (C) Calibrated multi-view geometry bridges the recovered 2-D paths to physical execution on the microscopic robot.

• Confidence-weighted focal-stack trajectory integration. Local path hypotheses are combined without requiring all-in-focus synthesis. Nine matched conditions quantify trajectory error, and component ablations measure the effects of confidence and dynamic programming.

• Perception-to-physical evaluation. We separately quantify 2-D geometry and downstream physical-trace outcomes, using calibrated multi-view reconstruction and robot execution as the bridge rather than claiming a new 3-D reconstruction algorithm.

The framework targets geometric requests expressible by the available operators and supported by sufficient image evidence. It does not assume arbitrary language instructions can be executed without task configuration.

References (26)