HyperAIHyperAI

Command Palette

Search for a command to run...

محاكاة قابلة للتوسع متعددة وحدات معالجة الرسوميات للنمو الخلوي ثلاثي الأبعاد مع موازنة حمل العمل القائمة على الشبكات العصبية المتكررة

Matvey Moisseyev Huijing Du Dandan Zheng Chi Zhang Hongfeng Yu

الملخص

يمكن لمحاكاة النمو الخلوي التفصيلية القائمة على نماذج العناصر تحت الخلوية (SEMs) التقاط تطور الأنسجة المعقد، لكن تفاعلاتها على مستوى العناصر تفرض تكلفة حسابية كبيرة. يقدم هذا العمل إطار عمل قابل للتوسع متعدد وحدات معالجة الرسوميات (GPU) لمحاكاة النمو الخلوي ثلاثي الأبعاد يجمع بين تسريع وحدة معالجة الرسوميات، والتجميع المكاني، وتجزئة النطاق، والتقسيم المدرك لحمل العمل. يتمثل التحدي المركزي في أن حركة الخلايا ونموها وانقسامها تعيد تشكيل توزيع حمل العمل المكاني باستمرار، مما يتسبب في أن تصبح الأقسام المتوازنة مبدئيًا غير فعالة بمرور الوقت. لمعالجة هذه المشكلة، نقدم وحدة تحكم لموازنة الحمل قائمة على الشبكات العصبية المتكررة (RNN) تراقب أزمنة التنفيذ الأخيرة لكل رتبة وحالات الأقسام وتتعلم تصحيحات متبقية لقاعدة تعديل حدود تفاعلية. يتم تدريب وحدة التحكم دون اتصال في بديل قابل للاشتقاق لحلقة موازنة الحمل مع ديناميكيات حمل عمل عشوائية، دون الحاجة إلى أي آثار تنفيذ مُقاسة للتدريب. نقيم إطار العمل من حيث تسريع وحدة معالجة الرسوميات المفردة، وتوسع الحوسبة متعددة وحدات معالجة الرسوميات، وسلوك موازنة الحمل على مستوى وحدة التحكم، وأداء المحاكاة الشامل، مع مقارنات مقابل التقسيم الثابت، وموازنة الحمل التفاعلية، وخطوط الأساس التقليدية للتنبؤ بالسلاسل الزمنية. توضح حالة استخدام تمثيلية لتطور البشرة الجنينية كذلك نوع حمل العمل المتطور مكانيًا وزمانيًا الذي يستهدفه إطار العمل. في تقييمنا، يؤدي التسريع باستخدام وحدة معالجة الرسوميات مع التجميع المكاني إلى تسريع حساب التفاعل بنحو ثلاثة أضعاف أسية مقارنة بخط أساس تسلسلي على وحدة المعالجة المركزية (CPU). تقلل موازنة الحمل الموجهة بالشبكات العصبية المتكررة متوسط عدم التوازن العالمي من 11.3% تحت التقسيم الثابت إلى 3.5%، وتخفض زمن التشغيل الشامل بنسبة 9.0% مقارنة بالتقسيم الثابت، وتقلل هجرة الشرائح بمقدار 7.7 مرة مقارنة بخط الأساس التفاعلي، مما يظهر أن التحكم المدرك للتاريخ يمكن أن يحسن توازن حمل العمل مع تجنب إعادة التقسيم غير الضرورية.

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.


بناء الذكاء الاصطناعي بالذكاء الاصطناعي

من الفكرة إلى الإطلاق — سرّع تطوير الذكاء الاصطناعي الخاص بك مع المساعدة البرمجية المجانية بالذكاء الاصطناعي، وبيئة جاهزة للاستخدام، وأفضل أسعار لوحدات معالجة الرسومات.

البرمجة التعاونية باستخدام الذكاء الاصطناعي
وحدات GPU جاهزة للعمل
أفضل الأسعار

HyperAI Newsletters

اشترك في آخر تحديثاتنا
سنرسل لك أحدث التحديثات الأسبوعية إلى بريدك الإلكتروني في الساعة التاسعة من صباح كل يوم اثنين
مدعوم بواسطة MailChimp