Constrained Classification on Structured Data

Chi-Hoon Lee, Matthew R. G. Brown, Russell Greiner, Shaojun Wang, Albert MurthaAAAI 2008

Abstract

Most standard learning algorithms, such as Logistic Regression (LR) and the Support Vector Machine (SVM), are designed to deal with i.i.d. (independent and identically distributed) data. They therefore do not work effectively for tasks that involve non-i.i.d. data, such as "region segmentation". (Eg, the "tumor vs non-tumor" labels in a medical image are correlated, in that adjacent pixels typically have the same label.) This has motivated the work in random fields, which has produced classifiers for such non-i.i.d. data that are significantly better than standard i.i.d.-based classifiers. However, these random field methods are often too slow to be trained for the tasks they were designed to solve. This paper presents a novel variant, Pseudo Conditional Random Fields (PCRFs), that is also based on i.i.d. learners, to allow efficient training but also incorporates correlations, like random fields. We demonstrate that this system is as accurate as other random fields variants, but significantly faster to train.

Introduction

Standard machine learning workhorses, like Logistic Regression (LR) or Support Vector Machines (SVMs), rely on the "i.i.d. assumption"—the idea that each data point is independent and identically distributed. In the world of image processing, this assumption is fundamentally broken. If a pixel in an MRI scan is labeled as "tumor," there is a very high probability that its immediate neighbors are also "tumor." To capture these spatial correlations, researchers often use Conditional Random Fields (CRFs). While CRFs are accurate, they are notoriously difficult to train because they try to learn local features and global spatial dependencies simultaneously. This leads to intractable computations and long training times that hinder their use in time-sensitive clinical settings, such as radiation therapy planning.

Methodology: Pseudo Conditional Random Fields (PCRFs)

The authors introduce Pseudo Conditional Random Fields (PCRFs), which decouple the learning and inference steps to achieve efficiency without sacrificing accuracy:

  1. Efficient Learning: Instead of training a complex joint model, the authors train a simple Logistic Regression (LR) classifier to predict labels based solely on local pixel features. This ignores spatial context during training, making the process extremely fast.
  2. Hand-Defined Potentials: Rather than learning the "rules" of spatial consistency from scratch, the authors use hand-defined potential functions. One function measures the similarity between neighboring pixel features, while another acts as a "continuity" weight, penalizing adjacent pixels if they are assigned different labels.
  3. Constrained Inference: During the testing phase, the system treats classification as an energy minimization problem. It uses a graph cuts algorithm (specifically max-flow/min-cut) to find a global labeling that balances the local LR predictions with the spatial consistency rules.

Experimental Results

The researchers evaluated PCRF using two primary sources: synthetic data consisting of 18 binary images corrupted by Gaussian noise, and real-world MRI scans from 11 patients with brain tumors using three different imaging modalities (T1, T2, and T1-contrast).

Performance comparison of LR vs PCRF on synthetic and MR image datasets.

Key Findings

  • Massive Speedup: The PCRF was over 40 times faster to train than Discriminative Random Fields (DRFs). Specifically, PCRF took an average of 38 seconds to learn from the patient data, compared to 1,697 seconds for the DRF.
  • Comparable Accuracy: Despite the speedup, there was no "accuracy tax." On the brain tumor segmentation task, PCRF achieved a Jaccard score of 73.69%, slightly outperforming the much slower DRF (73.03%).
  • Superiority over i.i.d.: Both the synthetic and MRI tests showed that PCRF significantly outperformed standard Logistic Regression, proving that modeling spatial constraints is essential for image data.

Conclusion

PCRFs demonstrate that spatial consistency can be effectively treated as a constraint applied during inference rather than a parameter learned during training. By bypassing the most computationally expensive part of random fields, PCRFs achieve state-of-the-art accuracy in medical image segmentation while training significantly faster than traditional methods. Future work includes extending this framework to 3D volumetric data and multi-class tissue segmentation.

Summary updated

BibTeX
@inproceedings{lee2008constrained,
  author = {Chi-Hoon Lee and Matthew R. G. Brown and Russell Greiner and Shaojun Wang and Albert Murtha},
  title = {{Constrained Classification on Structured Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2008},
  url = {https://openreview.net/forum?id=SkW1A6gOWS},
}
Figure