DiffVL: Scaling Up Soft Body Manipulation using Vision-Language Driven Differentiable Physics

Zhiao Huang, Feng Chen, Yewen Pu, Chunru Lin, Hao Su, Chuang Gan · DOI

Introduction

Manipulating soft bodies—such as kneading dough, folding laundry, or untangling cables—represents one of the most significant challenges in robotics. Unlike rigid objects, soft bodies possess nearly infinite degrees of freedom and exhibit complex, non-linear physical behaviors. While differentiable physics simulators have emerged as powerful tools for finding optimal trajectories through gradient-based optimization, they suffer from a significant usability bottleneck: they require mathematically precise objective functions (loss functions) to guide the solver.

Traditionally, crafting these functions requires expert knowledge in physics and robotics, limiting the scalability of task collection. Furthermore, gradient-based solvers frequently converge on local minima; for instance, a robot might attempt to push an object through an obstacle rather than lifting it over, simply because the mathematical objective lacks the "intuition" of the required path. To bridge this gap, the authors introduce DiffVL, a framework that leverages Large Language Models (LLMs) to translate natural language instructions into machine-executable optimization objectives.

The DiffVL Framework

DiffVL integrates task collection, language processing, and trajectory generation into a unified pipeline. The framework operates through four primary components:

  1. Vision-Language Task Representation: Tasks are defined not just by start and end states, but as a sequence of 3D "key frames" paired with natural language instructions (e.g., "Lift the dough above the black wall and then move it to the target").
  2. Domain-Specific Language (DSL): The authors developed a specialized language designed for physics solvers. This DSL includes primitives for object manipulation (get), temporal constraints (keep, require), and spatial relationships (similar, touch).
  3. LLM as a Compiler: DiffVL utilizes GPT-4 to act as a compiler, mapping fuzzy human language and scene descriptions into structured DSL programs. These programs serve as the formal optimization objectives for the physics solver.
  4. Two-Stage Solver: The system employs a hybrid approach to avoid local minima. It first uses a sampling-based planner (Rapidly-exploring Random Tree, or RRT) to identify a viable starting pose based on language hints. Subsequently, it uses a gradient-based optimizer (Adam) to refine the trajectory within the PlasticineLab differentiable simulator.

The SoftVL100 Dataset

To evaluate the framework, the researchers introduced SoftVL100, a new vision-language dataset specifically for soft-body manipulation. The dataset contains 100 diverse tasks inspired by real-world activities found in cooking and crafting videos. Tasks are categorized into five distinct types: Deform, Move, Wind, Fold, and Cut.

Notably, the dataset was annotated by non-expert students using a custom-built GUI. This demonstrates that DiffVL effectively democratizes the creation of complex robotics tasks, allowing individuals without robotics expertise to generate high-quality simulation objectives.

Key Insights

  • Language as Procedural Guidance: Unlike standard language-conditioned models that treat text as a simple goal (e.g., "make a circle"), DiffVL uses language to provide procedural hints (e.g., "lift first," "do not break the mat"). This guidance is critical for helping the optimizer navigate complex search spaces.
  • Strategic Decomposition: By breaking long-horizon tasks—such as winding a rope or making a dumpling—into stages via keyframes, the framework transforms nearly impossible optimization problems into a series of manageable, short-horizon steps.
  • LLMs for Physics Translation: A core finding is the efficacy of LLMs in mapping qualitative human concepts (like "above" or "keep together") into strict mathematical constraints when supported by a well-defined DSL.

Experimental Results

DiffVL demonstrates a substantial performance leap over existing reinforcement learning (RL) and heuristic baselines:

  • Success Rate: On single-stage tasks, DiffVL achieved an 88% success rate. In comparison, standard Reinforcement Learning (SAC) reached only 12%, and previous physics-based heuristics (CPDeform) achieved 35%.
  • Long-Horizon Complexity: DiffVL was the only method tested capable of solving multi-stage operations, such as winding a rope around multiple anchors or performing "cut and move" sequences.
  • Computational Efficiency: A single-stage task can be solved in approximately 10 minutes on a consumer-grade GPU (RTX 2080), making it a practical tool for generating large-scale demonstration data.

Limitations and Future Directions

While DiffVL marks a significant advancement, several challenges remain. The current workflow still requires a human-in-the-loop to set keyframes via a GUI; future iterations could utilize vision-language models to automate this extraction from video data. Additionally, while efficient for its class, differentiable physics rollouts remain computationally intensive. Finally, the research was conducted entirely in simulation. Transitioning these complex soft-body trajectories to real-world hardware—the "sim-to-real" gap—remains the ultimate goal. The authors suggest that the high-quality trajectories generated by DiffVL could serve as training data for general-purpose neural network policies that operate without a simulator at runtime.

Summary updated

BibTeX
@inproceedings{huang2023diffvl,
  author = {Zhiao Huang and Feng Chen and Yewen Pu and Chunru Lin and Hao Su and Chuang Gan},
  title = {{DiffVL: Scaling Up Soft Body Manipulation using Vision-Language Driven Differentiable Physics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=ecRaDicXxw},
}
Figure