Discriminative Locality Alignment

Tianhao Zhang, Dacheng Tao, Jie Yang

Introduction

In computer vision and pattern recognition, high-dimensional data—such as image pixels—presents significant computational challenges. Dimensionality Reduction (DR) is the standard approach to map this data into a lower-dimensional space while preserving essential information. For decades, Linear Discriminant Analysis (LDA) has been a cornerstone technique. However, LDA suffers from three critical flaws: it assumes a global Euclidean structure (failing on non-linear manifolds), treats all samples with equal importance regardless of their proximity to class boundaries, and frequently encounters the "Small Sample Size" (SSS) problem leading to matrix singularity.

The DLA Framework

Discriminative Locality Alignment (DLA) is proposed to address these shortcomings by focusing on local data structures and prioritizing samples that are most difficult to classify. The DLA algorithm operates through three primary stages:

1. Part Optimization (Patch Building)

Instead of a global optimization, DLA constructs a "local patch" for every sample. For each point $x_i$, the algorithm identifies $k_1$ neighbors from the same class to encourage intra-class compactness and $k_2$ neighbors from different classes to maximize inter-class separation. This local focus allows the linear projection to better approximate the underlying non-linear manifold of the data.

Local patch optimization: Same-class samples are pulled closer while different-class samples are pushed away to preserve local discriminative information.

2. Sample Weighting: The Margin Degree

A key innovation of DLA is the "margin degree" weighting system. Recognizing that samples near the decision boundary are more critical for classification accuracy, DLA assigns higher weights to these "marginal" samples. The weight is determined by the density of "enemy" samples in a point's immediate neighborhood.

3. Whole Alignment

The final stage involves stitching these individual local patches into a global coordinate system. By formulating the alignment as a standard eigen-decomposition problem ($XLX^Tu = \lambda u$), DLA avoids the matrix inversion required by LDA, thus solving the singularity problem inherent in high-dimensional, low-sample datasets.

Key Insights

The effectiveness of DLA stems from two core principles:

  • Locality as a Proxy for Non-linearity: By optimizing small patches, DLA captures the complex geometry of data manifolds that global methods miss.
  • Prioritizing the "Battlefield": Classification performance is determined at the margins. By focusing on samples where classes overlap, DLA creates a more robust separation than methods that prioritize the class centers.
The optimal separating hyperplane is primarily defined by marginal samples (like $x_1$), which DLA weights more heavily than interior samples ($x_2, x_3$).

Experimental Results

DLA was rigorously tested against PCA, LDA, and Marginal Fisher Analysis (MFA) on three major face recognition benchmarks: UMIST, YALE, and FERET.

  • Superior Accuracy: On the complex FERET dataset, DLA achieved a recognition rate of approximately 94.3%, vastly outperforming traditional LDA's 53.6%.
  • Impact of Weighting: Comparisons between the weighted (DLA2) and unweighted (DLA1) versions confirmed that margin-based weighting consistently improves recognition rates.
  • Semi-supervised Learning: The framework extends to Semi-supervised DLA (SDLA), which leverages unlabeled data to better map the data manifold, providing significant gains when labeled data is scarce.

Conclusion

Discriminative Locality Alignment represents a significant advancement over traditional LDA. By combining local patch optimization with margin-based weighting and a stable mathematical formulation, DLA provides a robust solution for high-dimensional classification tasks. Future work may explore its application in broader domains such as 3D modeling and emotion recognition.

Summary updated

BibTeX
@inproceedings{zhang2008discriminative,
  author = {Tianhao Zhang and Dacheng Tao and Jie Yang},
  title = {{Discriminative Locality Alignment}},
  booktitle = {European Conference on Computer Vision},
  year = {2008},
  doi = {10.1007/978-3-540-88682-2\_55},
}
Figure