HyperAIHyperAI

Command Palette

Search for a command to run...

Simulation multi-GPU évolutive de la croissance multicellulaire 3D avec équilibrage de charge par réseau de neurones récurrents

Matvey Moisseyev Huijing Du Dandan Zheng Chi Zhang Hongfeng Yu

Résumé

Les simulations détaillées de croissance multicellulaire fondées sur les modèles à éléments subcellulaires (SEM) peuvent capturer le développement tissulaire complexe, mais leurs interactions au niveau des éléments imposent un coût de calcul substantiel. Ce travail présente un cadre multi-GPU évolutif pour la simulation de croissance multicellulaire tridimensionnelle qui combine l'accélération GPU, le regroupement spatial, la décomposition de domaine et un partitionnement tenant compte de la charge de travail. Un défi central est que le mouvement, la croissance et la division des cellules remodèlent continuellement la distribution spatiale de la charge, rendant inefficaces au fil du temps des partitions initialement équilibrées. Pour résoudre ce problème, nous introduisons un contrôleur d'équilibrage de charge basé sur un réseau de neurones récurrents (RNN) qui observe les temps d'exécution récents par rang et les états des partitions, et apprend des corrections résiduelles à une règle réactive d'ajustement des frontières. Le contrôleur est entraîné hors ligne dans un substitut différentiable de la boucle d'équilibrage de charge avec des dynamiques de charge aléatoires, ne nécessitant aucune trace d'exécution mesurée pour l'entraînement. Nous évaluons le cadre en termes d'accélération sur GPU unique, de passage à l'échelle du calcul multi-GPU, de comportement d'équilibrage de charge au niveau du contrôleur et de performance de simulation de bout en bout, avec des comparaisons par rapport au partitionnement statique, à l'équilibrage de charge réactif et à des références classiques de prédiction de séries temporelles. Un cas d'utilisation représentatif du développement épidermique embryonnaire illustre en outre le type de charge de travail évoluant spatialement et temporellement ciblé par le cadre. Dans notre évaluation, l'accélération GPU avec regroupement spatial accélère le calcul des interactions d'environ trois ordres de grandeur par rapport à une référence CPU série. L'équilibrage de charge guidé par RNN réduit le déséquilibre global moyen de 11,3 % sous partitionnement statique à 3,5 %, diminue le temps d'exécution de bout en bout de 9,0 % par rapport au partitionnement statique, et réduit la migration des tranches d'un facteur 7,7× par rapport à la référence réactive, montrant qu'un contrôle tenant compte de l'historique peut améliorer l'équilibre de charge tout en évitant un repartitionnement inutile.

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%11.3\%11.3% under static partitioning to 3.5%3.5\%3.5%, lowers end-to-end runtime by 9.0%9.0\%9.0% relative to static partitioning, and reduces slice migration by 7.7×7.7\times7.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αiY_{\alpha_i}Yαi of an element αi\alpha_iαi in cell α\alphaα is updated based on forces from nearby elements and external structures:

dYαidt=αiβjIVele(YαiYβj)αiVext(Yαi)\frac{d Y_{\alpha_i}}{dt} = - \nabla_{\alpha_i} \sum_{\beta_j \in \mathcal{I}} V_{\mathrm{ele}} \left(| Y_{\alpha_i} - Y_{\beta_j} |\right) - \nabla_{\alpha_i} V_{\mathrm{ext}} (Y_{\alpha_i})dtdYαi=αiβjIVele(YαiYβj)αiVext(Yαi)

where I\mathcal{I}I is the set of neighboring elements, VeleV_{\mathrm{ele}}Vele includes intra-cellular and inter-cellular interactions, and VextV_{\mathrm{ext}}Vext models external adhesion. All interactions are evaluated within a prescribed cutoff radius. To avoid the O(n2)O(n^2)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 iii:

wi=ninN(i)w_i = n_i n_{\mathcal{N}(i)}wi=ninN(i)

where nin_ini is the number of subcellular elements in cell iii, and nN(i)n_{\mathcal{N}(i)}nN(i) is the number of elements in the surrounding 3×3×33 \times 3 \times 33×3×3 bin neighborhood. The domain is divided into thin slices, and the workload of slice sss is Ws=iswiW_s = \sum_{i \in s} w_iWs=iswi. 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 TtT_t^-Tt and Tt+T_t^+Tt+ of ranks adjacent to a partition boundary. A local imbalance It=(Tt+Tt)/((Tt++Tt)/2)I_t = (T_t^+ - T_t^-) / ((T_t^+ + T_t^-) / 2)It=(Tt+Tt)/((Tt++Tt)/2) triggers a boundary shift when It>τ|I_t| > \tauIt>τ. The reactive adjustment magnitude is:

Δstr=αNslowTt+Tt2Ttslow|\Delta s_t^{\mathrm{r}}| = \alpha N_{\mathrm{slow}} \frac{|T_t^+ - T_t^-|}{2 T_t^{\mathrm{slow}}}∣Δstr=αNslow2TtslowTt+Tt

where NslowN_{\mathrm{slow}}Nslow is the number of slices on the slower rank and α\alphaα 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 ttt, a feature vector xb,t\mathbf{x}_{b,t}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\mathbf{h}_{b,t}hb,t. The recurrent state is mapped to a scalar residual rb,tr_{b,t}rb,t, which corrects the reactive proposal in a bounded step space:

Δst=Δsmaxtanh(tanh1(ΔstrΔsmax)+rb,t)\Delta s_t = \Delta s_{\max} \tanh \left(\tanh^{-1} \left(\frac{\Delta s_t^{\mathrm{r}}}{\Delta s_{\max}}\right) + r_{b,t}\right)Δst=Δsmaxtanh(tanh1(Δ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 L1L_1L1 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.


Créer de l'IA avec l'IA

De l'idée au lancement — accélérez votre développement IA avec le co-codage IA gratuit, un environnement prêt à l'emploi et le meilleur prix pour les GPU.

Codage assisté par IA
GPU prêts à l’emploi
Tarifs les plus avantageux

HyperAI Newsletters

Abonnez-vous à nos dernières mises à jour
Nous vous enverrons les dernières mises à jour de la semaine dans votre boîte de réception à neuf heures chaque lundi matin
Propulsé par MailChimp