# Concurrent two-scale topology optimization of printable bone scaffolds via rectified-flow generation and exact latent-space refinement

arXiv: https://arxiv.org/abs/2610.25565 · HTML: https://mlsanity.com/paper/2610.25565/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 24 of its 72 references that are in the map.
- Submitted 18 Oct 2026.

## Builds on (most cited first, 24 of 24)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [High-Resolution Image Synthesis with Latent Diffusion Models](https://mlsanity.com/paper/2112.10752/) (2021)
- [Diffusion Models Beat GANs on Image Synthesis](https://mlsanity.com/paper/2105.05233/) (2021)
- [Scalable Diffusion Models with Transformers](https://mlsanity.com/paper/2212.09748/) (2022)
- [Classifier-Free Diffusion Guidance](https://mlsanity.com/paper/2207.12598/) (2022)
- [RoFormer: Enhanced Transformer with Rotary Position Embedding](https://mlsanity.com/paper/2104.09864/) (2021)
- [Scaling Rectified Flow Transformers for High-Resolution Image Synthesis](https://mlsanity.com/paper/2403.03206/) (2024)
- [Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow](https://mlsanity.com/paper/2209.03003/) (2022)
- [All are Worth Words: A ViT Backbone for Diffusion Models](https://mlsanity.com/paper/2209.12152/) (2022)
- [Conservative Objective Models for Effective Offline Model-Based Optimization](https://mlsanity.com/paper/2107.06882/) (2021)
- [Deep Generative Modeling for Mechanistic-based Learning and Design of Metamaterial Systems](https://mlsanity.com/paper/2006.15274/) (2020)
- [Neural reparameterization improves structural optimization](https://mlsanity.com/paper/1909.04240/) (2019)
- [JAX-FEM: A differentiable GPU-accelerated 3D finite element solver for automatic inverse design and mechanistic data science](https://mlsanity.com/paper/2212.00964/) (2022)
- [Data-driven topology optimization of spinodoid metamaterials with seamlessly tunable anisotropy](https://mlsanity.com/paper/2012.15744/) (2020)
- [Unifying the design space and optimizing linear and nonlinear truss metamaterials by generative modeling](https://mlsanity.com/paper/2306.14773/) (2023)
- [Two-Scale Topology Optimization with Microstructures](https://mlsanity.com/paper/1706.03189/) (2017)
- [Data-Driven Multiscale Design of Cellular Composites with Multiclass Microstructures for Natural Frequency Maximization](https://mlsanity.com/paper/2106.06478/) (2021)
- [AuTO: A Framework for Automatic differentiation in Topology Optimization](https://mlsanity.com/paper/2104.01965/) (2021)
- [A Unified Generative-Predictive Framework for Deterministic Inverse Design](https://mlsanity.com/paper/2512.15746/) (2025)
- [Explainable Hierarchical Deep Learning Neural Networks (Ex-HiDeNN)](https://mlsanity.com/paper/2507.05498/) (2025)
- [Robust inverse material design with physical guarantees using the Voigt-Reuss Net](https://mlsanity.com/paper/2511.11388/) (2025)
- [Constructing Boundary-identical Microstructures via Guided Diffusion for Fast Multiscale Topology Optimization](https://mlsanity.com/paper/2406.16066/) (2024)
- [Separable neural architectures as a primitive for unified predictive and generative intelligence](https://mlsanity.com/paper/2603.12244/) (2026)
- [Physics-guided diffusion models for inverse design of disordered metamaterials](https://mlsanity.com/paper/2603.16209/) (2026)

## Abstract (arXiv)

Bone scaffolds must reconcile a macroscale mechanical response with microscale geometric feasibility, yet conventional approaches to their design restrict attainable constitutive properties. This work presents a concurrent two-scale topology optimization framework; a conditional rectified flow generates periodic lattice microstructures, which are then refined in latent space by exact finite-element homogenization sensitivities. The resulting unit-cell geometries and their spatial assignments are jointly optimized under mechanical and feature-size constraints. In a distal rabbit femur benchmark, all eight flow-started refinements produce printable cells with maximum relative errors under 1% across six prescribed engineering moduli. Constructing the implant from a single tiled cell reproduces intact whole-femur compliance within 0.1% and regional strain energy within 0.35% under four loading conditions. In human femoral reconstruction, multiscale concurrent optimization produces a cortical mid-shaft scaffold with porosity 63% while satisfying the compliance constraint within 2% under walking and stair-climbing loads. It achieves an 84% porosity on a proximal cancellous scaffold with strain-energy deviations below 0.25% under the same loads. Analysis of the learned representations reveals distinct architectural families in latent space. Further, the attention heads of the rectified-flow transformer specialize for spatial shifts -- learning the analogue of a finite-difference stencil -- and coordinate symmetries, with ablations showing their influence on generated topologies. These results establish a route to printable, mechanically constrained scaffold designs. The framework is general enough for extending to many other multiscale structural design applications including topology-microstructure co-design in metal additive manufacturing.
