arXiv:2610.36681cs.ROOct 2026

Manuscript Offprint

arXiv:2610.36681

From Biological Curves to Soft Modular Robots: Learning-Based Inverse Design with Uncertainty-Guided Refinement

Dixiang Wang, Minghao Zha, Arifur Rahman, Yinhong Qin, Yitao Jiang, Shiyang Lu, Zebing Mao, Muhao Chen, Luyang Zhao

Dixiang Wang, Minghao Zha, Arifur Rahman, Yinhong Qin, Yitao Jiang, Shiyang Lu, Zebing Mao, Muhao Chen, Luyang Zhao

Abstract—Animals exhibit diverse shape-changing behaviors, from the undulatory swimming of eels to the arching movements of inchworms. Reproducing these biological shapes with modular soft robots offers a promising approach to developing versatile bioinspired robotic systems. However, translating a desired shape into a feasible robotic configuration remains challenging. Existing cable-driven modular soft robots rely on computationally expensive physics-based modeling and combinatorial search for inverse design, making it difficult to efficiently reproduce diverse target shapes. To address this challenge, we present a learning-based real-to-sim-to-real framework that translates biological curves into robotic configurations through surrogate-assisted inverse design and uncertainty-guided refinement. The proposed method combines learned inverse prediction with targeted candidate exploration, using a fast forward surrogate to evaluate and select suitable designs. The learned forward surrogate reduces deformation prediction time from 1.53×1051.53 \times 10^5 ms to 0.0008 ms, achieving approximately a 1.9×1081.9 \times 10^8-fold speedup. At the same time, the proposed inverse design method reduces design time from 1.99×1061.99 \times 10^6 ms to 4.18 ms. On 5,000 test samples generated from previously unseen threading patterns, the method achieves a 93% shape reconstruction success rate under surrogate-based evaluation. Physical demonstrations with four bioinspired robots further illustrate the translation of biological curves into realizable robotic shapes.

I. INTRODUCTION

Nature exhibits a rich diversity of shape-changing behaviors, from the swimming motions of eels [1] to the slithering of snakes [2] and the arching movement of inchworms [3]. Despite their distinct biological mechanisms, many of these deformations can be represented as geometric curves, providing a common description of diverse biological shapes [4], [5]. This observation motivates a real-to-sim-to-real approach to bio-inspired robot design, in which shapes observed in nature are abstracted into target curves, translated into feasible robotic configurations through simulation, and reproduced by physical robots, as illustrated in Fig. 1. Soft robots are particularly suitable for this purpose, as their compliant structures enable flexible and adaptable deformations [6]–[9]. However, translating a desired geometric curve into a physically realizable robotic shape requires identifying appropriate structural configurations and actuation parameters [10]–[12].

SoftSnap, a previously developed cable-driven modular soft robotic platform, provides one possible approach to realizing such target curves [13]. Each untethered module integrates onboard actuation, control, and power, enabling different bending curves through variations in cable-threading patterns and cable lengths. Multiple modules can be assembled using customized snap-together connectors to construct more complex robotic shapes. To predict the resulting deformation, SoftSnap employs a physics-based quasi-static forward model that uses iterative numerical optimization to minimize bending energy under a cable-length constraint. Although this model captures the deformation behavior, repeated forward evaluations can be computationally expensive (152.75 s in average). The original platform also supports inverse design through a search-based approach that enumerates possible threading configurations, filters geometrically infeasible candidates, and evaluates the remaining configurations using the physics-based forward model. However, the number of possible threading configurations grows combinatorially with the number of ribs and available holes. Consequently, the inverse design process becomes computationally expensive due to both the large number of candidate configurations and the repeated numerical optimization required for forward evaluation. Restricting the number of evaluated candidates can reduce computational cost but may overlook configurations that better reproduce the target shape.

Learning-based methods offer a promising approach to reducing the computational cost of repeated physics-based evaluations. Previous studies have used neural networks to predict soft robot deformation [14]–[16], estimate cable tensions for desired tip positions in soft manipulators [17], and perform inverse design using learned forward surrogates [18]–[21]. However, inverse design for the SoftSnap platform presents additional challenges due to its mixed discrete-continuous design space and non-unique inverse mapping [22]. Specifically, different combinations of cable-threading patterns and cable lengths can produce identical or nearly identical shapes, represented by their bending-angle vectors. This one-to-many relationship makes direct inverse prediction challenging [23], [24]. Conventional regression methods, such as those using mean squared error, may average cable lengths associated with different valid solutions, while selecting the most probable hole at each rib may combine threading choices from different feasible configurations. As a result, the predicted threading pattern and cable length may fail to reproduce the target shape accurately. Exhaustively evaluating alternative configurations, however, would reintroduce substantial computational costs. These challenges motivate an approach that combines fast inverse prediction with targeted candidate exploration and efficient surrogate-based evaluation.

To enable efficient inverse design within this real-to-sim-

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

Figure

Fig. 1. Overview of the animal-inspired real-to-sim-to-real design framework. Left: Key frames are extracted from real videos, and the curve is projected onto our skeleton to obtain an angle sequence. Middle: Our trained inverse model, combined with the refinement filter, maps the angle sequence to a threading pattern and target string length. Right: The threading pattern and target string length are applied to the physical skeleton, which is controlled to imitate the creature's motion.

to-real workflow, we propose a surrogate-assisted approach that combines learning-based prediction with uncertainty-guided candidate refinement. First, a large-scale dataset is generated using the physics-based quasi-static model and curated to remove invalid and unstable samples. A forward surrogate is then trained to efficiently predict robot deformation given a cable-threading pattern and target cable length. Next, an inverse neural network is trained to jointly predict the cable-threading pattern and cable length from a target curve represented by a bending-angle vector. The inverse model is initially trained using supervised classification and regression losses, followed by end-to-end fine-tuning through a pretrained, frozen forward surrogate to minimize angular reconstruction error. Once trained, the inverse model generates an initial design, which is further improved through uncertainty-guided candidate refinement. Specifically, uncertain threading positions are identified using classification-logit margins, and alternative configurations are explored with adaptive search budgets. For more uncertain cases, local cable-length adjustments are also introduced. The forward surrogate then evaluates the resulting candidates and selects the configuration with the lowest predicted reconstruction error. Finally, physical demonstrations of biologically inspired soft robots illustrate the framework's potential for translating target geometric curves into realizable robotic shapes.

The main contributions of this work are summarized as follows: (a) A data-driven forward modeling framework that integrates physics-based data generation, data curation, and a learned forward surrogate to efficiently predict robot deformation without repeated numerical optimization during inference. (b) A surrogate-assisted inverse design approach that combines learning-based inverse prediction with uncertainty-guided candidate refinement to selectively explore alternative cable-threading patterns and cable lengths, improving target-shape reconstruction without exhaustive search.

References (24)