Hierarchical Conditional Random Fields for Outlier Detection: An Application to Detecting Epileptogenic Cortical Malformations

Bilal Ahmed, Thomas Thesen, Karen E. Blackmon, Yijun Zhao, Orrin Devinsky, Ruben Kuzniecky, Carla E. BrodleyICML 2014

The Challenge of "MRI-Negative" Epilepsy

For patients suffering from medication-resistant epilepsy, the most viable path to a cure is the surgical removal of the "epileptogenic zone"—the specific brain region triggering the seizures. The most frequent culprit is a malformation known as Focal Cortical Dysplasia (FCD).

However, locating FCD presents a massive clinical hurdle. In 70-80% of cases, these lesions are "MRI-negative," meaning they are entirely invisible to even the most experienced radiologists on standard MRI scans. Without a clearly identified target, the success rate of surgical intervention drops drastically from 66% to just 29%. Furthermore, training standard supervised machine learning models to find these lesions is incredibly difficult due to a severe lack of precise, pixel-level "ground truth" labels.

To overcome this, researchers have developed an automated pipeline that shifts away from standard supervised classification. Instead, it frames lesion detection as an unsupervised outlier detection task across multiple scales of the brain's cortical surface.

A Multiscale, Hierarchical Approach

The proposed method combines sophisticated computer vision and statistical techniques to identify abnormalities that deviate from a "normal" brain model.

  • Surface-Based Morphometry (SBM): Rather than analyzing 3D voxels directly, the system extracts the 2D cortical surface. This allows different brains to be registered to a standard anatomical atlas, enabling direct comparisons of the same regions across different patients.
  • Multiscale Segmentation: The cortical surface is divided into distinct patches at three different scales using a Quick Shift algorithm. This ensures the model can capture both minute and relatively large lesions.
  • Hierarchical Conditional Random Field (HCRF): This is the core innovation. The researchers built a tree-structured HCRF where nodes represent the segmented patches at different scales.
Multiscale segmentation of the cortical surface, illustrating the hierarchical relationships used in the HCRF model.

Within this HCRF structure, Node Potentials use Local Outlier Probabilities (LoOP) to score how abnormal a patch is compared to a control group of 115 healthy individuals. Edge Potentials ensure spatial and scale consistency by using SIFT features to measure visual similarity between parent and child patches. If a larger patch and its smaller sub-patches all appear as outliers and share visual similarities, the model's confidence in a lesion's presence increases. Finally, belief propagation is used to calculate the final probability of a region being a lesion.

Key Insights and Clinical Results

Because FCD is rare and its appearance varies wildly between patients, it is far more effective to model what a "normal" brain looks like and flag deviations, rather than trying to learn a specific "lesion" class. By utilizing a hierarchical structure, the model successfully fuses evidence from coarse scales (capturing the general area) and fine scales (pinning down exact boundaries).

The HCRF approach was tested against a standard univariate z-score baseline, yielding impressive results:

  • MRI-Positive Detection: The model correctly identified lesions in 90% of patients where the lesion was already known and visible.
  • MRI-Negative Detection: Most notably, the model successfully detected lesions in 80% (12 out of 15) of the "invisible" cases—patients whose lesions were missed by radiologists but later confirmed via surgery. The baseline method only caught 60% of these cases.
Visualizing the detection of epileptogenic lesions on the cortical surface compared to standard MRI slices.

In a blind test with a senior neuroradiologist, the HCRF successfully found high-ranking clusters in the correct surgical resection zones for MRI-negative patients where the human expert had found nothing. The model outputs a ranked list of candidate regions, effectively serving as an automated "second opinion" that guides radiologists to the most suspicious areas.

Limitations and Future Directions

While highly promising, the study acknowledges a small sample size of 15 MRI-negative patients, though such cases with confirmed surgical outcomes are clinically rare. The model also occasionally flags "extra-lesional" abnormalities. However, chronic seizures can cause secondary thinning in other brain regions, meaning the model may be correctly identifying abnormal tissue even if it isn't the primary lesion.

Future work will focus on expanding the feature set—incorporating gray-white matter contrast or cortical curvature alongside cortical thickness—and using resected regions from surgical failures as "soft labels" to further refine the HCRF parameters.

Summary updated

BibTeX
@inproceedings{ahmed2014hierarchical,
  author = {Bilal Ahmed and Thomas Thesen and Karen E. Blackmon and Yijun Zhao and Orrin Devinsky and Ruben Kuzniecky and Carla E. Brodley},
  title = {{Hierarchical Conditional Random Fields for Outlier Detection: An Application to Detecting Epileptogenic Cortical Malformations}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
}
Figure