Generic Machine Learning Pattern for Neuroimaging-Genetic Studies in the Cloud

Benoit Da Mota, Radu Tudoran, Alexandru Costan, Gaël Varoquaux, Goetz Brasche, Patricia J. Conrod, Hervé Lemaître, Tomás Paus, Marcella Rietschel, Vincent Frouin, Jean-Baptiste Poline, Gabriel Antoniu, Bertrand ThirionFrontiers Neuroinformatics 2014 · DOI

TL;DR

This paper introduces a scalable, cloud-based framework for analyzing complex neuroimaging and genetic data. By combining MapReduce with machine learning libraries, they enable researchers to efficiently explore the links between brain activity and genetic variations, overcoming computational bottlenecks that previously limited such studies.

What Problem Does This Paper Address?

Understanding the intricate relationship between our genes and brain function is a grand challenge in neuroscience. This connection is crucial for deciphering both normal brain development and the origins of neurological and psychiatric disorders. To investigate this, researchers collect massive datasets containing genetic information (like Single Nucleotide Polymorphisms or SNPs) and detailed brain imaging data (such as fMRI scans). However, analyzing these high-dimensional, heterogeneous datasets is computationally intensive, requiring sophisticated statistical methods and significant processing power. Traditional approaches struggle with the sheer volume of data and the complexity of the statistical models needed to find meaningful associations, especially when considering genome-wide genetic variations. This paper addresses the need for a scalable and accessible computational infrastructure that can handle these demanding analyses, making advanced neuroimaging-genetic research more feasible.

Methods

The core of this work is a framework that unifies the description and computation for neuroimaging-genetic studies, allowing them to scale from a personal computer to cloud infrastructure.

  • MapReduce and Scikit-learn Integration: The authors leverage the MapReduce paradigm, implemented through a system called TomusBLOB, to distribute computations across multiple machines. This is combined with the popular Scikit-learn Python library for machine learning algorithms.
  • JSON Configuration: To make the framework user-friendly, statistical inference procedures are described using JSON (JavaScript Object Notation) files. This allows users to define their analysis without requiring extensive programming skills.
  • Two-Layered Cross-Validation: The framework employs a nested cross-validation strategy. An outer loop assesses the prediction score (e.g., R-squared) for a given phenotype and permutation, while an inner loop (GridSearchCV) tunes hyperparameters for the machine learning model.
  • Permutation Testing for Significance: To assess the statistical significance of the findings, the framework incorporates permutation tests. This involves shuffling the genetic data labels and re-evaluating the model's performance to establish a null distribution.
  • Covariate Handling: The method specifically addresses the challenge of including covariates (confounding variables) in both the model fitting and permutation testing stages, ensuring robust statistical inference.
  • Hierarchical MapReduce: For large-scale cloud deployments, a hierarchical MapReduce approach is used, aggregating multiple deployments with dedicated "compute nodes" and a central "MetaReducer" to consolidate results.

Datasets

The primary dataset used for evaluation is the IMAGEN dataset.

  • IMAGEN Dataset: This is a large, multi-center European study that includes functional neuroimaging data (fMRI) from over 2000 adolescents, along with genetic data. The fMRI data used in this study specifically comes from the Stop Signal Task protocol, focusing on activation during "go wrong" events. The genetic data consists of approximately 600,000 SNPs, with a subset of 477,215 common SNPs being used after quality control.

Key Insights and Ideas

  • Democratizing Cloud-Based Neuroimaging-Genetics: The framework makes complex, computationally intensive analyses accessible to researchers without requiring them to manage their own high-performance computing clusters. The JSON configuration is a key enabler for this.
  • Scalability is Crucial: The paper demonstrates that for genome-wide genetic association studies with neuroimaging data, scaling computations to hundreds or thousands of virtual machines is not just beneficial but necessary to obtain statistically significant results within a reasonable timeframe.
  • Negative R² as a Signal: The study highlights that in high-dimensional settings with cross-validation, a negative R² (coefficient of determination) can paradoxically indicate a significant association. This occurs when a poorly fitting model performs worse than a null model, which is common when the true association is broken by permutation.
  • Heritability Proxy: The cross-validated prediction score (CV-R²) serves as a practical proxy for heritability, indicating how well genetic information can predict brain activation signals, a key step towards understanding the genetic basis of brain function.

Key Results

The paper successfully demonstrates the framework's capability by analyzing the IMAGEN dataset.

  • Significant Predictions: The study found that the functional signal in subcortical brain regions could be significantly predicted using genome-wide genotypes. Specifically, the left and right thalamus showed the best prediction accuracy.
  • Scalability and Reliability: The framework was deployed on hundreds of virtual machines across Microsoft Azure datacenters for two weeks, processing a substantial workload (approximately 210,000 hours of sequential computation). The system demonstrated fault tolerance, handling temporary service inaccessibility without losing progress.
  • Computational Cost: The experiment's effective cost was estimated at around $20,000 (including VM pricing, storage, and traffic), highlighting the economic feasibility of cloud-based analysis for large-scale studies.
  • Dimension Reduction Effectiveness: Prior dimension reduction of neuroimaging data to 14 regions of interest (ROIs) was crucial for making the analysis tractable, reducing the number of phenotypes from over 50,000 voxels to a manageable set.

Limitations and Future Work

  • Specific Problem Class: The framework is currently restricted to a specific class of problems, primarily involving pipeline structures, cross-validation, and permutation tests. More complex inference procedures might require modifications.
  • Data Access Latency: While cloud storage services are used, the paper acknowledges that high latency protocols can still be a challenge for geographically distributed computation.
  • Extension to Cortical Regions: The authors suggest that a natural extension of this work is to apply the framework to analyze cortical regions, which are known to be heritable.
  • Exploring Genetic Pathways: The current work focuses on predicting brain signals with genetic variants. Future work could aim to further localize the specific genetic regions, pathways, or genes that are most predictive of functional activation.

Summary updated

BibTeX
@article{mota2014generic,
  author = {Benoit Da Mota and Radu Tudoran and Alexandru Costan and Gaël Varoquaux and Goetz Brasche and Patricia J. Conrod and Hervé Lemaître and Tomás Paus and Marcella Rietschel and Vincent Frouin and Jean-Baptiste Poline and Gabriel Antoniu and Bertrand Thirion},
  title = {{Generic Machine Learning Pattern for Neuroimaging-Genetic Studies in the Cloud}},
  journal = {Frontiers Neuroinformatics},
  year = {2014},
  doi = {10.3389/fninf.2014.00031},
}
Figure