Neural Architecture Search of SPD Manifold Networks

Rhea Sanjay Sukthanker, Zhiwu Huang, Suryansh Kumar, Erik Goron Endsjo, Yan Wu, Luc Van Gool

Introduction

In specialized domains such as medical imaging (MRI), drone radar analysis, and human action recognition, data is frequently represented as Symmetric Positive Definite (SPD) matrices—for instance, covariance matrices. Unlike standard vision data that resides in flat Euclidean space, SPD data exists on a curved Riemannian manifold. While Symmetric Positive Definite Networks (SPDNets) have been developed to handle this geometry, their architectures have historically been handcrafted through tedious trial and error by experts.

This paper introduces SPDNetNAS, the first Neural Architecture Search (NAS) framework specifically designed for SPD manifold networks. By integrating Riemannian geometry with a differentiable one-shot search strategy and a novel optimization technique, the authors automate the design of high-performance, ultra-lightweight models for non-Euclidean data.

Methodology: The SPDNetNAS Framework

The authors frame the architecture search as a "one-shot" optimization problem using a supernet—a comprehensive graph containing all potential operations.

The SPD Cell and Continuous Relaxation

The fundamental building block is the SPD Cell, modeled as a Directed Acyclic Graph (DAG). Each node represents a latent SPD representation, and each edge represents a candidate operation (such as BiMap, ReEig, or Batch Normalization) that preserves the SPD property.

To make the search space differentiable, the output of an edge is treated as a weighted mixture of all possible operations. While standard NAS often uses Softmax for this weighting, the authors employ Sparsemax. This choice is critical: Softmax tends to produce "mushy" architectures where many operations have small weights, leading to a significant "discrepancy gap" when the model is finally pruned. Sparsemax forces the optimization to converge on a few clear winners, facilitating a smoother transition to the final discrete architecture.

Evolution of the SPD Cell: (a) Initial cell structure, (b) Mixture of operations during search, and (c) The final optimized architecture.

Geometric Constraints and Optimization

A key challenge in manifold NAS is ensuring that operations respect geometric constraints. The framework utilizes Karcher flow to compute weighted Fréchet means, the manifold equivalent of averaging multiple inputs. Furthermore, the authors implement a bi-level optimization strategy to simultaneously learn network weights ($w$) and architecture parameters ($\alpha$). Updates for $w$ are performed using Riemannian gradient descent, ensuring that filters remain valid on the SPD manifold throughout training.

Experimental Results and Datasets

The effectiveness of SPDNetNAS was evaluated across three distinct tasks:

  1. RADAR: Synthetic drone signals represented as $20 \times 20$ covariance matrices.
  2. HDM05: Skeletal action recognition where movements are modeled as $93 \times 93$ joint covariance matrices.
  3. AFEW (Acting Facial Expressions in the Wild): A video-based emotion recognition dataset used to test the transferability of searched architectures.

Performance and Efficiency

The results demonstrate that respecting manifold geometry yields significantly better results than "flattening" data for standard Euclidean NAS. On the HDM05 task, SPDNetNAS achieved 69.87% accuracy, outperforming handcrafted SPDNets (~65%) and Euclidean NAS methods (~58%).

The most striking result is the model's efficiency. On the RADAR dataset, the searched model achieved 97.75% accuracy with a footprint of only 0.018 MB. In contrast, a standard DARTS-based Euclidean model required 2.63 MB to achieve similar accuracy—making the SPD-native architecture over 140 times more parameter-efficient in that specific case.

Comparison of optimization techniques (a) showing Sparsemax's ability to produce decisive edge selections, and (b) the resulting normal and reduced cells learned on different datasets.

Key Insights

  • The Sparsemax Advantage: As shown in the heatmaps, Sparsemax naturally encourages the search to converge on a single best operation per edge. This reduces the performance drop typically seen when moving from the search phase to the evaluation phase.
  • Generalization through Transferability: Architectures discovered on one dataset (like RADAR) performed exceptionally well when transferred to the AFEW dataset. This suggests that the learned SPD Cells capture fundamental geometric patterns inherent in manifold-valued data, rather than just over-fitting to a specific task.

Conclusion and Future Directions

SPDNetNAS represents a significant advancement in automating the design of geometric deep learning models. By moving away from handcrafted architectures, researchers can now deploy highly efficient models for complex non-Euclidean data.

However, challenges remain. The computational cost of calculating Fréchet means via Karcher flow is higher than Euclidean averaging. Future work could explore extending this NAS approach to other non-Euclidean spaces, such as Grassmann or Stiefel manifolds, and developing more sophisticated manifold-valued pooling layers to further enhance performance on complex spatial data.

Summary updated

BibTeX
@inproceedings{sukthanker2021neural,
  author = {Rhea Sanjay Sukthanker and Zhiwu Huang and Suryansh Kumar and Erik Goron Endsjo and Yan Wu and Luc Van Gool},
  title = {{Neural Architecture Search of SPD Manifold Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/413},
}
Figure