Task2Morph: Differentiable Task-Inspired Framework for Contact-Aware Robot Design

Yishuai Cai, Shaowu Yang, Minglong Li, Xinglin Chen, Yunxin Mao, Xiaodong Yi, Wenjing YangIROS 2023 · DOI

Abstract

Optimizing the morphologies and the controllers that adapt to various tasks is a critical issue in the field of robot design, aka. embodied intelligence. Previous works typically model it as a joint optimization problem and use search-based methods to find the optimal solution in the morphology space. However, they ignore the implicit knowledge of task-to-morphology mapping which can directly inspire robot design. For example, flipping heavier boxes tends to require more muscular robot arms. This paper proposes a novel and general differentiable task-inspired framework for contact-aware robot design called Task2Morph. We abstract task features highly related to task performance and use them to build a task-to-morphology mapping. Further, we embed the mapping into a differentiable robot design process, where the gradient information is leveraged for both the mapping learning and the whole optimization. The experiments are conducted on three scenarios, and the results validate that Task2Morph outperforms DiffHand, which lacks a task-inspired morphology module, in terms of efficiency and effectiveness.

Introduction

In the field of embodied intelligence, a robot’s physical form—its morphology—is as critical as its control logic. Ideally, designers aim to optimize both simultaneously. However, traditional approaches often treat this as a computationally expensive "two-layer loop": an outer loop proposes a new morphology, and an inner loop iteratively learns a controller for it. This process is slow and typically starts from scratch for every new task, ignoring the fundamental intuition that task features should dictate design. For instance, flipping a heavy box necessitates a more robust arm than flipping a light one. Existing differentiable frameworks like DiffHand lack this "intuition," often beginning with generic shapes regardless of the specific task parameters.

Methodology

Task2Morph addresses these inefficiencies by integrating a task-to-morphology mapping directly into a fully differentiable design pipeline. The framework consists of four primary components:

  1. Task Abstraction: The system identifies performance-related task features, such as 3D target coordinates or object dimensions, rather than relying on raw sensory data.
  2. Neural Mapping: A neural network functions as a regression model, translating abstracted task features into initial morphology parameters. This utilizes Cage-Based Deformation to define the robot's physical shape.
  3. Differentiable Simulation: By employing a differentiable rigid-body simulator (RedMax), the framework allows gradient information to flow through the entire pipeline, enabling simultaneous fine-tuning of both morphology and control sequences.
  4. Experience Backpropagation: An experience buffer stores successful designs, which are then used to update the neural mapping. This allows the system to "learn how to design" more effectively for future, unseen tasks over time.
The Task2Morph framework architecture, integrating task-inspired morphology generation with joint optimization.

Experimental Evaluation

The framework was evaluated across three simulated contact-aware scenarios involving hundreds of task variations:

  • Finger Reach: Sequential contact with four designated spatial targets.
  • Flip Box: A fixed-height finger must flip boxes of varying sizes and positions by 90 degrees.
  • Rotate Plank: A finger must rotate a plank mounted on a stake by 90 degrees.

Results and Discussion

Experimental results demonstrate that Task2Morph significantly outperforms the baseline DiffHand in both efficiency and effectiveness. The task-inspired mapping provides a "warm-start" for the design process, often yielding initial morphologies so effective that further optimization becomes nearly redundant. In the "Flip Box" scenario, Task2Morph-generated designs outperformed fixed defaults in 75% of cases, often producing thicker, more capable joints necessary for handling larger objects.

Comparison of loss between Task2Morph and DiffHand in the Flip Box scenario, demonstrating superior performance in 75% of cases.

Key performance metrics include:

  • Faster Convergence: Task2Morph reaches lower loss values significantly earlier in the simulation episodes compared to baselines.
  • Performance Gain: The framework reduced objective loss by 194 to 536 units on average across scenarios, indicating more successful task completion with less control effort.

Conclusion and Future Work

Task2Morph demonstrates the power of embedding task-specific intuition into differentiable robot design. While successful, the framework currently relies on manual feature selection and maintains a fixed topology. Future research will explore automated feature extraction through computer vision, the optimization of robot topology (e.g., adding limbs), and the transition from simulation to physical, deformable robot platforms.

Summary updated

BibTeX
@inproceedings{cai2023task,
  author = {Yishuai Cai and Shaowu Yang and Minglong Li and Xinglin Chen and Yunxin Mao and Xiaodong Yi and Wenjing Yang},
  title = {{Task2Morph: Differentiable Task-Inspired Framework for Contact-Aware Robot Design}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10341360},
}
Figure