What Matters in Reinforcement Learning for Tractography

Antoine Théberge, Christian Desrosiers, Maxime Descoteaux, Pierre-Marc Jodoin

Introduction

Tractography is the essential process of reconstructing the brain's white matter pathways, known as streamlines, from diffusion MRI (dMRI) data. This task is fundamentally ill-posed because it attempts to recover global connectivity using only local directional information. Traditional supervised machine learning approaches have shown promise but are often limited by their reliance on "gold standard" reference streamlines. These references are frequently biased, manually curated, or derived from synthetic phantoms that do not fully capture the complexity of real human anatomy.

Reinforcement Learning (RL) presents a compelling alternative. By receiving rewards for following local diffusion signals, RL agents can learn to navigate the brain's architecture without requiring ground-truth examples. However, the complexity of RL frameworks has made it difficult to discern which components—algorithms, reward functions, or input signals—are truly responsible for performance. This paper presents a massive-scale empirical evaluation to identify the critical drivers of success in RL-based tractography.

The RL Framework for Tractography

The researchers utilized the Track-to-Learn framework to conduct an exhaustive ablation study. This framework treats the brain as an environment where an agent moves through voxels, making directional decisions based on local diffusion data. To ensure robust findings, the authors trained approximately 7,400 models, consuming nearly 41,000 GPU hours.

The reinforcement learning framework for tractography, illustrating the interaction between the agent and the brain environment.

The study's methodology covered several key dimensions: algorithm selection, seeding strategies (starting in white matter vs. the grey matter interface), state formulation (raw signals vs. processed features), and reward function design.

Algorithmic Benchmarking

A central focus of the study was comparing the performance of various model-free RL algorithms. The researchers categorized these into on-policy and off-policy methods to determine which paradigm better suits the high-stakes navigation required for tractography.

Taxonomy of reinforcement learning algorithms evaluated in the study, highlighting the distinction between on-policy and off-policy methods.

The results were clear: off-policy algorithms, specifically SAC Auto and TD3, significantly outperformed on-policy methods like PPO. The authors hypothesize that the Q-function, which evaluates specific actions, is superior at navigating the "risky" environment of the brain where a single incorrect step can prematurely terminate a streamline. SAC Auto emerged as the most robust and high-performing algorithm across all tested datasets.

Key Insights from Ablation

The extensive benchmarking revealed several counter-intuitive and critical insights into agent training:

  • Memory is Mandatory: Agents perform poorly if they lack knowledge of their previous heading. Including the last few directions in the agent's "state" is crucial because local diffusion signals alone do not indicate the agent's current orientation.
  • Feature Engineering is Optional: Surprisingly, agents trained on raw diffusion signals performed nearly as well as those using complex Fiber Orientation Distribution Functions (fODFs). This suggests that RL agents are capable of learning their own internal representations of the diffusion signal.
  • The Reward Proxy Gap: High rewards during training do not always correlate with anatomically plausible bundles. Current reward functions based on local alignment can lead to "reward hacking," where agents create loops to accumulate points rather than following true anatomical paths.

Results and Future Directions

In in-vivo tests using the TractoInferno dataset, RL agents matched or even surpassed the Dice scores of state-of-the-art supervised methods for several major brain bundles, such as the Optic Radiations. This is particularly impressive given that the agents were never exposed to real human brain data during training.

Despite these successes, challenges remain regarding anatomical plausibility. RL agents occasionally produce "broken" streamlines or overly thin bundles. Future work will focus on developing global reward functions that incentivize connecting specific anatomical regions and moving toward specialized 3D directional distributions (like von Mises-Fisher) to better represent the geometry of white matter pathways.

Summary updated

BibTeX
@article{theberge2024what,
  author = {Antoine Théberge and Christian Desrosiers and Maxime Descoteaux and Pierre-Marc Jodoin},
  title = {{What Matters in Reinforcement Learning for Tractography}},
  journal = {Medical Image Analysis},
  year = {2024},
  doi = {10.1016/j.media.2024.103085},
}
Figure