Realistic voxel sizes and reduced signal variation in Monte-Carlo simulation for diffusion MR data synthesis

Matt G. Hall, Gemma Nedjati‐Gilani, Daniel C. AlexanderarXiv 2017 · DOI

Abstract

Monte-Carlo (MC) simulations are essential for validating microstructural models in diffusion MRI (dMRI). However, traditional simulations are often limited to substrates significantly smaller than a clinical MRI voxel, introducing statistical bias and high variance. This paper presents a localized intersection checking algorithm using uniform spatial subdivision to scale substrates to realistic voxel sizes. By applying this method to both substrate construction and dynamical simulation, we enable the modeling of millions of objects without a proportional increase in computational cost. Our results demonstrate that larger substrates significantly reduce signal variance and improve the accuracy of parameter estimation, providing a more robust framework for dMRI data synthesis.

Introduction

Diffusion MRI (dMRI) provides a non-invasive window into tissue microstructure by measuring the displacement of water molecules. To interpret these measurements, researchers rely on mathematical models that relate the dMRI signal to specific tissue features, such as axon diameter or packing density. Validating these models requires a "ground truth," typically generated via Monte-Carlo simulations where thousands of virtual spins diffuse within a digital representation of tissue (a substrate).

A persistent challenge in MC simulation is the scale mismatch between digital models and physical reality. A typical MRI voxel is approximately $1\text{--}2\text{ mm}^3$, containing millions of axons. Conversely, standard simulations often utilize substrates containing only a few hundred cylinders. This discrepancy leads to two primary issues: bias, where small samples fail to represent the true geometric distribution of the tissue, and variance, where the stochastic arrangement of a few objects causes the simulated signal to fluctuate unpredictably. This paper introduces a method to bridge this gap by enabling voxel-sized simulations containing up to $10^6$ cylinders.

Methods

Uniform Spatial Subdivision

The computational bottleneck in large-scale simulations occurs during two phases: substrate construction (ensuring objects do not overlap) and simulation dynamics (detecting collisions between moving spins and objects). In a "brute-force" approach, these operations scale at $O(M)$, where $M$ is the number of objects. As $M$ reaches the millions, the simulation becomes computationally prohibitive.

To address this, we employ Uniform Spatial Subdivision. The substrate is divided into a 3D grid of "sub-voxels."

  1. Substrate Construction: When a new geometric primitive (e.g., a cylinder) is placed, the algorithm only checks for intersections with objects located in the immediate neighboring sub-voxels. This transforms the construction into a localized task.
  2. Simulation Dynamics: As a spin moves through the substrate, the algorithm uses a 3D adaptation of Bresenham’s line algorithm to trace the spin's path through the grid. Collision detection is only performed for objects mapped to the specific grid cells the spin traverses.

Optimization

The efficiency of this approach depends on the sub-voxel size. We found that setting the grid size to approximately the mode diameter of the cylinders minimizes execution time across various packing densities. This optimization ensures that the computational cost is dictated by the local density of objects rather than the total count, effectively decoupling complexity from the substrate's total size.

Experimental Design

We evaluated the algorithm using synthetic substrates of randomly packed, non-overlapping cylinders. Cylinder radii were drawn from a Gamma distribution ($\Gamma(k, \theta)$) with parameters chosen to reflect human white matter (mean radii ranging from 0.6μm to 5.3μm). We compared performance and signal quality across substrates ranging from $10^2$ (standard) to $10^6$ (voxel-sized) cylinders. Simulations were implemented in Java and executed on standard desktop hardware (16GB RAM).

Key Results

Scaling and Efficiency

The localized intersection algorithm successfully simulated substrates with 1,000,000 cylinders, representing a 100-fold increase in area over previous standard implementations. Despite the massive increase in complexity, the simulations remained accessible on consumer-grade hardware, proving that memory (RAM) is the only significant limiting factor.

Reduction in Noise and Bias

Increasing the substrate size yielded immediate improvements in signal quality:

  • Variance: The standard deviation of the synthesized MRI signal decreased by a factor of approximately 2.1 when moving from $10^2$ to $10^6$ cylinders.
  • Accuracy: In parameter estimation tasks (e.g., estimating fiber size from the simulated signal), small substrates exhibited a bias of ~3%. This bias dropped to less than 0.1% once the substrate size exceeded 1,000 cylinders.

These findings confirm that small-scale models are inherently limited by "simulation-based bias," which can be mitigated by scaling to more realistic dimensions.

Discussion and Conclusion

The ability to simulate voxel-sized substrates represents a significant step forward for dMRI validation. By reducing the statistical noise inherent in small-scale models, researchers can more accurately distinguish between the limitations of a mathematical model and the artifacts of the simulation itself.

While the current work focuses on uniform grids and cylindrical primitives, the underlying logic is extensible. Future work will explore hierarchical schemes (such as Octrees) to handle non-uniform tissue densities and adapt the algorithm for more complex geometries, including spherical cell bodies and intricate triangle meshes representing realistic cell membranes. This methodology provides the necessary framework for generating high-fidelity synthetic data that truly reflects the complexity of living tissue.

Summary updated

BibTeX
@misc{hall2017realistic,
  author = {Matt G. Hall and Gemma Nedjati‐Gilani and Daniel C. Alexander},
  title = {{Realistic voxel sizes and reduced signal variation in Monte-Carlo simulation for diffusion MR data synthesis}},
  year = {2017},
  eprint = {1701.03634},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.03634},
}
Figure