Command Palette
Search for a command to run...
Skalierbare Multi-GPU-Simulation dreidimensionalen multizellulären Wachstums mit RNN-basierter Lastverteilung
Skalierbare Multi-GPU-Simulation dreidimensionalen multizellulären Wachstums mit RNN-basierter Lastverteilung
Matvey Moisseyev Huijing Du Dandan Zheng Chi Zhang Hongfeng Yu
Zusammenfassung
Detaillierte Simulationen multizellulären Wachstums auf Basis von subzellulären Elementmodellen (SEMs) können komplexe Gewebeentwicklung erfassen, doch ihre Wechselwirkungen auf Elementebene verursachen erheblichen Rechenaufwand. Diese Arbeit stellt ein skalierbares Multi-GPU-Framework für die dreidimensionale Simulation multizellulären Wachstums vor, das GPU-Beschleunigung, räumliches Binning, Gebietszerlegung und lastbewusste Partitionierung kombiniert. Eine zentrale Herausforderung besteht darin, dass Zellbewegung, -wachstum und -teilung die räumliche Lastverteilung kontinuierlich verändern, sodass anfänglich ausgewogene Partitionen mit der Zeit ineffizient werden. Um dieses Problem zu adressieren, führen wir einen RNN-basierten Lastausgleichsregler ein, der die jüngsten Ausführungszeiten pro Rang und Partitionszustände beobachtet und residuale Korrekturen zu einer reaktiven Grenzanpassungsregel lernt. Der Regler wird offline in einem differenzierbaren Surrogat des Lastausgleichskreislaufs mit randomisierter Lastdynamik trainiert und benötigt keine gemessenen Ausführungsprotokolle für das Training. Wir evaluieren das Framework hinsichtlich der Einzel-GPU-Beschleunigung, der Multi-GPU-Rechenskalierung, des Lastausgleichsverhaltens auf Reglerebene und der Ende-zu-Ende-Simulationsleistung, mit Vergleichen zu statischer Partitionierung, reaktivem Lastausgleich und konventionellen Zeitreihenvorhersage-Baselines. Ein repräsentativer Anwendungsfall der embryonalen Epidermisentwicklung demonstriert zudem die Art der räumlich und zeitlich veränderlichen Last, auf die das Framework abzielt. In unserer Evaluation beschleunigt die GPU-Beschleunigung mit räumlichem Binning die Interaktionsberechnung um etwa drei Größenordnungen gegenüber einer seriellen CPU-Baseline. Der RNN-gesteuerte Lastausgleich reduziert das mittlere globale Ungleichgewicht von 11,3 % unter statischer Partitionierung auf 3,5 %, senkt die Ende-zu-Ende-Laufzeit um 9,0 % im Vergleich zur statischen Partitionierung und verringert die Slice-Migration um das 7,7-Fache gegenüber der reaktiven Baseline, was zeigt, dass eine verlaufsbewusste Steuerung die Lastbalance verbessern und gleichzeitig unnötige Neupartitionierung vermeiden kann.
One-sentence Summary
Researchers from the University of Nebraska–Lincoln, the University of Rochester Medical Center, and the Holland Computing Center present a scalable multi-GPU framework for three-dimensional multicellular growth simulation that combines GPU acceleration, spatial binning, domain decomposition, and workload-aware partitioning with an RNN-based load-balancing controller, which observes recent per-rank execution times and partition states, learns residual corrections to a reactive boundary-adjustment rule, and is trained offline in a differentiable surrogate with randomized workload dynamics and no execution traces; the controller reduces mean global imbalance from 11.3% under static partitioning to 3.5%, lowers end-to-end runtime by 9.0% relative to static partitioning, and reduces slice migration by 7.7× compared with the reactive baseline.
Key Contributions
- A scalable multi-GPU framework for three-dimensional multicellular growth simulation combines GPU acceleration, spatial binning, domain decomposition, and workload-aware partitioning; GPU acceleration with spatial binning reduces element-interaction time by roughly three orders of magnitude over a serial CPU baseline, with binning providing a further 9.2× speedup over a GPU all-pairs implementation at 6.3 million elements.
- An RNN-guided load-balancing controller learns residual corrections to a reactive boundary-adjustment rule from recent per-rank execution times and partition states, and it is trained offline in a differentiable surrogate of the load-balancing loop without measured execution traces. In end-to-end 435K-cell simulations on 8 GPUs, it reduces mean global imbalance from 11.3% under static partitioning to 3.5%, compared with 3.8% for the reactive rule, lowers total runtime by 9.0% relative to static partitioning, and migrates 7.7× fewer slices than the reactive baseline with comparable runtime.
- A representative embryonic epidermal development use case involving proliferation, differentiation, and tissue reorganization demonstrates support for spatially and temporally evolving workloads and a substantially improved balance-migration tradeoff.
Introduction
Multicellular tissue development emerges from local cell behaviors such as growth, division, migration, and adhesion, and three-dimensional cell-based models make these mechanisms explicit and controllable. Subcellular element models provide finer mechanical detail by representing each cell with multiple interacting elements, but this increases force-evaluation cost significantly, and the workload becomes spatially nonuniform and time-varying as cells grow, divide, and move. Single-GPU implementations remain constrained by compute capacity and memory, while prior reactive load-balancing approaches adjust partition boundaries only after imbalance is observed and do not exploit temporal trends in the workload. The authors develop a scalable multi-GPU framework for epidermal subcellular element tissue growth that combines GPU-parallel force evaluation, spatial binning, domain decomposition, workload-aware initial partitioning, and an RNN-guided load-balancing controller that learns residual corrections to a reactive boundary-adjustment rule.
Method
The authors propose a multi-GPU framework for accelerating epidermal tissue formation simulations based on a subcellular element model (SEM). The overall workflow encompasses workload-aware initialization, GPU-parallel element updates, ghost-region exchange, and RNN-guided runtime repartitioning.
In the SEM, each biological cell is represented by multiple interacting subcellular elements. The position Yαi of an element αi in cell α is updated based on forces from nearby elements and external structures:
dtdYαi=−∇αiβj∈I∑Vele(∣Yαi−Yβj∣)−∇αiVext(Yαi)where I is the set of neighboring elements, Vele includes intra-cellular and inter-cellular interactions, and Vext models external adhesion. All interactions are evaluated within a prescribed cutoff radius. To avoid the O(n2) cost of all-pairs comparisons, the 3D domain is organized into a regular grid of cubic bins sized by the cutoff distance. Each element only checks its own bin and the 26 neighboring bins, scaling the interaction calculation linearly. For multi-GPU execution, the spatial domain is divided into contiguous slices along one dimension and assigned to individual GPU ranks. Each rank maintains a ghost region containing elements within the cutoff distance of adjacent partitions to handle boundary interactions.
Because cell density and interaction counts vary spatially, a uniform geometric decomposition often leads to load imbalance. The authors compute a workload score for each cell i:
wi=ninN(i)where ni is the number of subcellular elements in cell i, and nN(i) is the number of elements in the surrounding 3×3×3 bin neighborhood. The domain is divided into thin slices, and the workload of slice s is Ws=∑i∈swi. Contiguous slices are then grouped so that the accumulated workload for each GPU rank is approximately equal.
As cells grow and divide, the workload distribution changes dynamically. To address this, the authors introduce an RNN-guided dynamic load-balancing strategy that uses recent workload history and partition-state information to adapt the spatial decomposition.
The method starts with a reactive baseline that monitors computation times Tt− and Tt+ of ranks adjacent to a partition boundary. A local imbalance It=(Tt+−Tt−)/((Tt++Tt−)/2) triggers a boundary shift when ∣It∣>τ. The reactive adjustment magnitude is:
∣Δstr∣=αNslow2Ttslow∣Tt+−Tt−∣where Nslow is the number of slices on the slower rank and α limits the adjustment.
To improve upon this reactive rule, a shared recurrent neural network (RNN) acts as a controller on partition boundaries. At each rebalancing step t, a feature vector xb,t (including timing imbalance, partition widths, growth-cycle phase, and the reactive proposal) is fed into a gated recurrent unit (GRU) to update a hidden state hb,t. The recurrent state is mapped to a scalar residual rb,t, which corrects the reactive proposal in a bounded step space:
Δst=Δsmaxtanh(tanh−1(ΔsmaxΔstr)+rb,t)This residual formulation allows the learned controller to refine the reactive rule while preserving a bounded adjustment magnitude. The corrected adjustments are applied jointly to all interior boundaries, shifting them toward the slower rank while respecting minimum partition width constraints.
The RNN controller is trained in a differentiable simulator of the load-balancing loop using synthetic workload traces. This allows the controller to learn the structure of the boundary-adjustment policy rather than specific biological dynamics. The input features are dimensionless local quantities, enabling generalization across different problem geometries and rank counts. The network is trained by backpropagation through time over rollouts of 50 rebalancing events. The training loss averages the relative imbalance of per-rank times and their normalized spread, with an L1 migration penalty added to discourage unnecessary boundary movement. The optimizer uses Adam with cosine annealing, and a soft relaxation is applied during training to keep the integer boundary assignment differentiable.
Experiment
The evaluation uses an epidermal subcellular element model on a GPU cluster to assess single-GPU acceleration, multi-GPU scalability, dynamic load balancing, and an RNN-based controller. GPU acceleration with spatial binning achieves near-linear scaling for large element counts, and multi-GPU execution benefits larger workloads. The RNN-guided load balancing reduces global timing imbalance with far fewer slice migrations than reactive or forecast-based methods, improving the balance–migration tradeoff. A developmental tissue growth simulation demonstrates the framework's capability for spatially evolving multicellular workloads.