Abstract
Automating the design of lightweight, structurally sound trusses remains a significant challenge in structural engineering due to the massive, non-convex search space and the "sparse reward" problem. This paper presents AutoTruss, a two-stage framework that integrates Monte Carlo Tree Search (MCTS) with Reinforcement Learning (RL). By first identifying a diverse set of valid topologies through MCTS and subsequently refining them using a Soft Actor-Critic (SAC) agent, AutoTruss achieves state-of-the-art results in weight minimization across 2D and 3D benchmarks, significantly outperforming traditional heuristic and single-stage search methods.
1. Introduction
Truss design—the strategic arrangement of nodes and bars to support specific loads—is fundamental to civil and aerospace engineering. The primary objective is to minimize structural mass while adhering to strict constraints regarding stress, buckling, and displacement. Historically, this NP-hard problem has been addressed through human expertise or heuristic methods like genetic algorithms, which are prone to local optima.
While Reinforcement Learning (RL) offers a promising alternative for navigating complex design spaces, it typically struggles with the "sparse reward" wall. In truss design, the vast majority of randomly generated structures are physically invalid (e.g., unstable or over-stressed), providing no gradient or signal for an RL agent to learn from. AutoTruss overcomes this by decoupling the discovery of valid structures from the optimization of their geometry.
2. The AutoTruss Framework
AutoTruss utilizes a two-stage pipeline designed to transition from global topology exploration to local geometric refinement.
2.1 Stage 1: Global Search via MCTS
The first stage employs a variant of Monte Carlo Tree Search known as Upper Confidence bounds applied to Trees (UCT). The goal is to explore the discrete design space to discover a diverse library of "valid" trusses—those that satisfy all physical constraints. To navigate the continuous nature of node positioning during this search, the framework employs kernel regression to approximate the value of actions in unsampled regions of the search space.
2.2 Stage 2: Local Refinement via Reinforcement Learning
Once a foundation of valid designs is established, a Soft Actor-Critic (SAC) agent takes over. The agent is trained to "nudge" node coordinates and optimize the cross-sectional areas of individual bars to shave off excess weight.
The RL policy is powered by a Transformer-inspired self-attention encoder. By representing the truss as a graph, the model captures complex spatial dependencies, allowing the agent to understand how structural changes in one region influence stress distributions across the entire assembly.
3. Experimental Evaluation
The performance of AutoTruss was evaluated on three standard benchmarks of increasing complexity:
- 2D 10-Bar Cantilever Truss: A foundational test case in structural optimization.
- 2D 17-Bar Cantilever Truss: A more complex planar design involving a higher density of nodes and bars.
- 3D Cantilever Sundial: A high-dimensional spatial test based on a real-world architectural structure in London, serving as a rigorous test for 3D scalability.
4. Key Results and Insights
AutoTruss established new state-of-the-art (SOTA) benchmarks in the truss optimization literature:
- Weight Efficiency: In 2D scenarios, the framework outperformed existing baselines (such as AlphaTruss and SEOIGE) by an average of 6.8%. In the 3D Sundial case, it produced layouts that were 25.1% lighter than the best-reported results from previous methods.
- The Power of Refinement: The RL-based refinement stage proved highly effective, reducing the mass of MCTS-generated designs by an additional 28% on average through precise geometric adjustments.
- Diversity as a Catalyst: A crucial insight was that the search stage should prioritize a diverse set of top-performing topologies rather than a single "best" design. Providing the RL agent with multiple structural foundations led to higher robustness and better final optimization outcomes.
- Graph vs. Voxel Representations: Unlike voxel-based methods that suffer from discretization errors, the graph-based approach of AutoTruss allows for continuous variations in topology, leading to more precise engineering solutions.
5. Conclusion and Future Work
AutoTruss demonstrates that combining tree search with reinforcement learning effectively bypasses the sparse reward problem in complex engineering tasks. While the system excels in 3D spatial structures, future research will focus on scaling the framework to massive assemblies (e.g., stadium roofs) and incorporating real-world constraints such as manufacturing costs, material availability, and ease of assembly.
Summary updated