NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Creative Synthesis of Kinematic Mechanisms

Jiong Lin, Jialong Ning, Judah Goldfeder, Hod Lipson

TL;DR

This paper introduces a novel approach to designing mechanical linkages by framing kinematic synthesis as an image-to-image translation problem. They developed a shared-latent variational autoencoder (VAE) that can generate realistic mechanical designs from motion trajectories and vice-versa, paving the way for more intuitive and powerful generative design tools.

What Problem Does This Paper Address?

Kinematic synthesis, the art of designing mechanical linkages to achieve a specific motion, has been a long-standing challenge in mechanical engineering. Traditional methods often rely on complex analytical or optimization techniques, which can be difficult to scale to more intricate mechanisms or to intuitively explore the vast design space. The goal is to bridge the gap between desired motion paths and the physical mechanisms that can produce them, a task that has historically been computationally intensive and required specialized expertise.

Methods

The core of this work is a shared-latent variational autoencoder (VAE). This model is trained on paired images of mechanical linkages and their corresponding motion trajectories. The key innovation lies in how information is encoded:

  • Motion Trajectories: Represented as RGB images where color gradients encode the speed of the trajectory points.
  • Mechanisms: Also represented as RGB images, with predefined colors for different components (base link, input link, other links, joints).

This image-based representation allows the VAE to learn a shared latent space that bridges the gap between motion and structure. During training, the model learns to:

  1. Reconstruct both the input mechanism and trajectory images.
  2. Predict the corresponding mechanism from a trajectory image (synthesis).
  3. Predict the corresponding trajectory from a mechanism image (analysis).

The authors employ an asymmetric ViT encoder-decoder design, inspired by Masked Autoencoders (MAE), which is known for its effectiveness in image generation tasks.

Datasets

The authors introduce a new dataset of paired RGB images of planar mechanisms and their corresponding motion trajectories. This dataset is constructed by recursively applying triangle-based operators, starting from simple four-bar linkages and extending to more complex multi-loop mechanisms like Jansen's linkage. They detail a filtering process to ensure structural variety and adherence to specific properties (e.g., single drawing node, two fixed nodes).

Three specific datasets were used for validation:

  • Dataset 1 (T2): 100K four-bar mechanisms (crank-rocker and double-crank).
  • Dataset 2 (T2ST2): 200K mixed four-bar and crank-slider mechanisms.
  • Dataset 3 (T4): A subset of their complete collection, comprising 55 distinct graphs up to T4, with 10K samples per graph.

Key Insights and Ideas

  • Image-based representation is powerful: Representing complex mechanical structures and their motions as images provides a unified and scalable format that can be handled by modern generative models. This bypasses the need for specialized graph or coordinate-list representations.
  • Shared latent space is key: By learning a common latent representation for both mechanisms and trajectories, the model can fluidly translate between these domains. This enables both generating mechanisms from desired motions and predicting motions from existing mechanisms.
  • Encoding speed matters: Incorporating trajectory speed information via color gradients in the image representation proved beneficial for kinematic synthesis, allowing for more precise control over the generated motion.
  • Cross-domain synthesis is feasible: The VAE architecture successfully demonstrates end-to-end synthesis, generating mechanisms that accurately produce the input trajectories, and vice-versa.

Key Results

  • Qualitative Results: The paper shows impressive qualitative results, with generated mechanisms closely matching ground truth for both synthesis (curve-to-mechanism) and analysis (mechanism-to-curve) tasks across various datasets and model sizes (ViT-tiny and ViT-base). The "curve-to-mechanism-to-curve" experiments also show high fidelity.
  • Quantitative Results: Using PSNR as the evaluation metric, the ViT-base model achieved the highest scores across datasets for synthesis, analysis, and the two-stage C2M2C task, outperforming baseline models like ResNet. For example, on Dataset 2, ViT-base achieved a PSNR of 30.83 ± 4.54 for synthesis and 28.43 ± 3.07 for analysis.
  • Ablation Studies: Removing synthesis or cross-domain losses significantly reduced accuracy, highlighting the importance of the proposed framework. Using color input also outperformed black-and-white input.

Limitations and Future Work

  • Sampling Quality: The authors acknowledge that the current sampling quality from the latent space is limited, resulting in blurred outputs and less sharp edges. This suggests that the VAE might not have learned a perfectly structured normal distribution.
  • Occlusion and Ambiguity: Image-based representations can suffer from occlusion and ambiguity, especially for complex mechanisms.
  • Future Directions:
    • Larger Datasets and Advanced Models: Exploring larger datasets and more sophisticated generative models (e.g., diffusion models) is suggested.
  • Beyond Images: Incorporating optional recordings of joint coordinates and videos of mechanism motion could enable future exploration of image-to-graph and image-to-video generation, potentially providing richer temporal and structural information.
  • Extending to 3D: The current work focuses on planar linkages, but extending to 3D mechanisms is a natural next step.
  • Potential for Cams and Gears: The framework shows promise for representing and synthesizing mechanisms with revolute and prismatic joints, and potentially cams and gears.

Summary updated

BibTeX
@inproceedings{lin2025creative,
  author = {Jiong Lin and Jialong Ning and Judah Goldfeder and Hod Lipson},
  title = {{Creative Synthesis of Kinematic Mechanisms}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=EZkJtXJbtZ},
}

Loading related content...

Figure