Canonical Autocorrelation Analysis.

Maria De-Arteaga, Artur Dubrawski, Peter HugginsarXiv 2015

TL;DR

Canonical Autocorrelation Analysis (CAA) is a new unsupervised method that discovers hidden "input-output" relationships within a single set of variables. By finding sparse, highly correlated subsets of features, it provides a powerful and highly interpretable tool for anomaly detection that rivals supervised methods in domains like medical diagnosis and radiation threat detection.

What Problem Does This Paper Address?

Standard Canonical Correlation Analysis (CCA) is great at finding relationships between two distinct sets of data—for example, how specific genes correlate with specific symptoms. But what if you only have one set of features and want to find internal structures?

Existing tools like Principal Component Analysis (PCA) focus on finding directions of maximum variance. However, in many real-world scenarios—like detecting a radioactive source in a cluttered city—the "normal" background variance is huge. A brick building might emit more total radiation than a small hidden threat. The key to detection isn't the total amount of signal, but the relationship between different parts of the signal (e.g., specific energy bins in a gamma-ray spectrum). The authors tackle the challenge of identifying these internal, multivariate correlations without needing pre-defined splits or labeled "threat" data.

Methods

The authors introduce Canonical Autocorrelation Analysis (CAA), an extension of sparse CCA.

  1. The Objective: Unlike standard CCA which looks at two matrices ($X$ and $Y$), CAA looks at one matrix ($X$) and tries to find two sparse linear combinations of its features that are highly correlated.
  2. The Constraint: To prevent the trivial solution where a variable simply correlates with itself, they add a Lagrangian penalty term ($\lambda u^T v$) that discourages the two feature subsets from overlapping.
  3. The Solution: They prove that this modified problem can be solved using standard sparse CCA algorithms by applying a specific factorization based on Singular Value Decomposition (SVD).
  4. Anomaly Detection: Once the "normal" correlation patterns are learned, the model maps new data points into these canonical spaces. If a data point deviates significantly from the expected correlation (measured via Mahalanobis distance to a bivariate Gaussian), it is flagged as an anomaly.
Figure 1: Comparison between synthetic correlation pattern (left) and correlation pattern retrieved by CAA (right). Equa- tions have the form kiX[, i] + kjX[, j], where X[, i], X[, j] are the ith and jth columns of X and ki, kj are the linear combination coefficients.

Datasets

  • Synthetic Data: A 200x20 matrix with known, manually imposed sparse correlations used to validate that the algorithm can actually find hidden structures.
  • Wisconsin Breast Cancer Dataset: A classic benchmark containing 683 tumor samples described by 9 numeric features (clump thickness, cell size, etc.).
  • Radiation Threat Detection: A high-dimensional dataset consisting of 128 energy bins from gamma-ray spectrometers. It includes 20,000 background records and 15 different types of simulated "injected" threats.

Key Insights and Ideas

  • Correlation > Variance: In noisy environments, looking for what "should" be correlated is often more robust than looking for what is "loudest."
  • Automatic Feature Splitting: CAA effectively discovers which features act as "inputs" and which act as "outputs" for a given underlying phenomenon without human intervention.
  • Interpretability by Design: Because CAA uses sparse linear combinations, it doesn't just say "this is an anomaly." It points to the specific features (e.g., specific energy bins) that broke the expected correlation, allowing experts to verify the results.
Heat graphs showing which energy bins were used to identify anomalies, providing clear interpretability for human experts.

Key Results

  • Breast Cancer: In a single-class (unsupervised) setting, CAA achieved 94.72% accuracy, significantly outperforming PCA (70.11%) and performing competitively with state-of-the-art supervised methods (which ranged from 94% to 98%).
  • Radiation Detection: CAA proved much more sensitive than standard PCA-based anomaly detection. For a specific threat type, CAA achieved an AUC of 0.995 compared to PCA's 0.821. Across all 15 threat types, a Student t-test confirmed CAA's significant superiority (p-value 0.00587).
Figure 3: ROC curve comparing CAA-based and PCA-based anomaly detection methods for analyzed threat. X-axis is in log-scale.

Limitations and Future Work

  • Parameter Sensitivity: The maximization problem is not convex with respect to the penalty parameter $\lambda$, requiring a grid search to find the optimal level of sparseness.
  • Linearity: The current model focuses on linear correlations. The authors suggest that future work could involve "kernelizing" the algorithm to discover non-linear relationships.
  • Supervised Extension: While powerful as an unsupervised tool, the authors plan to explore how CAA can be integrated into supervised learning frameworks.

Summary updated

Abstract

We present an extension of sparse Canonical Correlation Analysis (CCA) designed for finding multiple-to-multiple linear correlations within a single set of variables. Unlike CCA, which finds correlations between two sets of data where the rows are matched exactly but the columns represent separate sets of variables, the method proposed here, Canonical Autocorrelation Analysis (CAA), finds multivariate correlations within just one set of variables. This can be useful when we look for hidden parsimonious structures in data, each involving only a small subset of all features. In addition, the discovered correlations are highly interpretable as they are formed by pairs of sparse linear combinations of the original features. We show how CAA can be of use as a tool for anomaly detection when the expected structure of correlations is not followed by anomalous data. We illustrate the utility of CAA in two application domains where single-class and unsupervised learning of correlation structures are particularly relevant: breast cancer diagnosis and radiation threat detection. When applied to the Wisconsin Breast Cancer data, single-class CAA is competitive with supervised methods used in literature. On the radiation threat detection task, unsupervised CAA performs significantly better than an unsupervised alternative prevalent in the domain, while providing valuable additional insights for threat analysis.
BibTeX
@misc{dearteaga2015canonical,
  author = {Maria De-Arteaga and Artur Dubrawski and Peter Huggins},
  title = {{Canonical Autocorrelation Analysis.}},
  year = {2015},
  eprint = {1511.06419},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.06419},
}
Figure