Hostname: page-component-76d6cb85b7-92wsb Total loading time: 0 Render date: 2026-07-12T01:01:28.696Z Has data issue: false hasContentIssue false

Reinforcement learning for the design of mechanisms using available bars and pins

Published online by Cambridge University Press:  02 July 2026

Maxime Escande
Affiliation:
Engineering Design and Computing Laboratory, Department of Mechanical and Process Engineering, ETH Zurich, Switzerland
Kristina Shea
Affiliation:
Engineering Design and Computing Laboratory, Department of Mechanical and Process Engineering, ETH Zurich, Switzerland
Tino Stankovic*
Affiliation:
Engineering Design and Computing Laboratory, Department of Mechanical and Process Engineering, ETH Zurich, Switzerland

Abstract:

This work explores Reinforcement Learning (RL) for the circular design of planar truss linkages using available bars and pins. A bipartite graph representation and elementary action formulation enable agents to assemble mechanisms in a physics-based environment. Results for a force-inverter design problem show 98.5% success for fixed-stock training and 66.0% for shuffled stocks. The method demonstrates RL’s potential for inventory-constrained mechanism synthesis, with future work targeting scalable, indexing-invariant architectures and more flexible connection actions.

Information

Type
ARTIFICIAL INTELLIGENCE AND DATA-DRIVEN DESIGN
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - ND
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives licence (https://creativecommons.org/licenses/by-nc-nd/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original work is unaltered and is properly cited. The written permission of Cambridge University Press must be obtained for commercial re-use or in order to create a derivative work.
Copyright
The Author(s), 2026
Figure 0

Figure 1. Figure 1 long description.Overview of the computational method for the circular design of truss linkages built from available bars and pins using RL. Stock of available bars and pins, scene comprising placed bars and pins, and graph representation for different steps: a. initial conditions, b. first observation, c. policy, d. first action selected by the policy, e. environment after performing this action, f. environment after performing the last action, g. evaluation of the final state (success)

Figure 1

Figure 2. Success rate of the 720 permutations of a solution action sequence and resulting designs

Figure 2

Figure 3. Main results; the first row shows various metrics of the MLP agent training: episode length (a), episode reward (b), explained variance (c) and value loss (D); the second row shows reward distribution throughout the steps for: random action