# CellMigrationGym: a data-driven framework utilizing deep reinforcement learning to unravel mechanisms of cell migration

**Authors:** Dali Wang, Jiawei Yang, Zi Wang, Yichi Xu, Zhirong Bao

PMC · DOI: 10.1186/s12919-026-00365-5 · 2026-02-20

## TL;DR

CellMigrationGym is a new framework using deep reinforcement learning to study how cells migrate, revealing new biological mechanisms without needing prior knowledge.

## Contribution

CellMigrationGym introduces a standardized, open framework for applying deep reinforcement learning to study cell migration mechanisms.

## Key findings

- The framework successfully uncovered a novel cell migration mechanism in C. elegans embryogenesis.
- CellMigrationGym enables reward formulation and DRL model configuration based on hypotheses of migration mechanisms.
- The framework allows evaluation of neighboring cell influence on migration.

## Abstract

Cell migration is a fundamental phenomenon in biology that underlies normal development as well as cancer. Recently, a data-driven approach was introduced that uses deep reinforcement learning(DRL) and 3-D live images to study cell migration. This approach formulates the cell migration process as a sequential Markov decision process (MDP), so that hypotheses of the underlying mechanism of the observed migration can easily be incorporated as high-level regulatory rules and constraints for DRL. The application of the approach successfully uncovered a novel mechanism of cell migration in C. elegans embryogenesis that involves a modular organization of cells by using ubiquitous labels of cell nuclei and simple rules based on empirical statistics of the images. This success demonstrates new opportunities to use DRL to infer the biology of cell migration without prior knowledge. This paper presents an open framework, CellMigrationGym, to standardize the DRL approach to study cell migration. Built upon common packages (OpenAI Gym, PyBullet, and DRL libraries), CellMigrationGym provides powerful and flexible functions to investigate cell migration behavior. Through a case study, we demonstrate the critical functions of CellMigrationGym with technical details, such as 1) preparation and standardization of multiple observational data, 2) reward formulation and DRL model configuration appertaining to the hypotheses of migration mechanism (such as gradient-driven and collective cell behavior-driven mechanisms), 3) exploration of migration scenarios under hypothesized mechanisms, and 4) evaluation of neighboring cell’s influence on the cell migration.

## Full-text entities

- **Diseases:** cancer (MESH:D009369)
- **Chemicals:** DRL (-)
- **Species:** C. elegans [taxon 328850], Mus musculus (house mouse, species) [taxon 10090], Drosophila melanogaster (fruit fly, species) [taxon 7227], Danio rerio (leopard danio, species) [taxon 7955]

## Figures

10 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12924247/full.md

---
Source: https://tomesphere.com/paper/PMC12924247