Neural Architecture Search of SPD Manifold Networks

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

Abstract

In this paper, we propose a new neural architecture search (NAS) problem of Symmetric Positive Definite (SPD) manifold networks, aiming to automate the design of SPD neural architectures. To address this problem, we first introduce a geometrically rich and diverse SPD neural architecture search space for an efficient SPD cell design. Further, we model our new NAS problem with a one-shot training process of a single supernet. Based on the supernet modeling, we exploit a differentiable NAS algorithm on our relaxed continuous search space for SPD neural architecture search. Statistical evaluation of our method on drone, action, and emotion recognition tasks mostly provides better results than the state-of-the-art SPD networks and traditional NAS algorithms. Empirical results show that our algorithm excels in discovering better performing SPD network design and provides models that are more than three times lighter than searched by the state-of-the-art NAS algorithms.

Introduction

Symmetric Positive Definite (SPD) matrices, such as covariance matrices, are fundamental data representations in fields like medical imaging, radar signal processing, and computer vision. Unlike standard Euclidean data, SPD matrices reside on a curved Riemannian manifold. Applying standard neural network operations—like addition or multiplication—directly to this data can violate its geometric properties, such as positive definiteness.

While handcrafted SPD Networks (SPDNets) have been developed to respect this geometry, their design is labor-intensive and requires significant domain expertise. Existing Neural Architecture Search (NAS) frameworks, which automate network design, are almost exclusively tailored for Euclidean data. This research introduces SPDNetNAS, the first framework to bridge this gap by automating the design of specialized architectures for non-Euclidean SPD data.

Methodology

The SPD Cell and Search Space

The core of the framework is the SPD Cell, defined as a directed acyclic graph (DAG). In this graph, each node represents a latent SPD representation, and each edge represents a valid manifold-respecting operation. The search space includes traditional operations like BiMap (dimensionality reduction), ReEig (non-linearity), and LogEig/ExpEig, alongside novel operations such as "skip reduced" (using SVD for inter-dependency reduction) and manifold-based pooling.

The evolution of an SPD cell from a generic DAG (a) to a supernet mixture (b) and finally an optimized architecture (c).

Differentiable Search via Sparsemax

To make the search differentiable, candidate operations must be mixed. In Euclidean NAS, this is a simple weighted sum; here, the authors utilize the weighted Fréchet Mean (wFM) to ensure the mixture remains on the SPD manifold.

Crucially, the framework replaces the standard Softmax with Sparsemax for operation selection. Sparsemax encourages sparsity by assigning zero weight to less promising operations, which significantly reduces the discrepancy between the mixed supernet used during search and the final single-path architecture.

Experimental Evaluation

The framework was evaluated across three distinct benchmarks:

  • RADAR: Synthetic drone recognition using 20x20 covariance matrices.
  • HDM05: Skeletal action recognition using 93x93 joint covariance matrices.
  • AFEW: Facial expression recognition, used primarily to test the transferability of architectures discovered on other datasets.

Results and Key Insights

Performance and Efficiency

SPDNetNAS consistently outperformed state-of-the-art handcrafted SPDNets. For instance, on the HDM05 task, it achieved 69.87% accuracy, surpassing the best handcrafted baseline of 65.20%. Beyond accuracy, the discovered models are exceptionally compact. On the RADAR dataset, the searched model was only 0.0184 MB, compared to 2.6383 MB for a model found by standard Euclidean NAS (DARTS)—a reduction of over 140x.

Comparison of operation selection strategies (a) showing Sparsemax's superior sparsity, and the resulting learned cells (b) for the HDM05 and RADAR datasets.

Geometric Constraints

The results highlight that respecting Riemannian geometry is a necessity, not an option. Standard Euclidean NAS methods performed poorly when applied to flattened SPD data. Furthermore, the introduction of the "skip reduced" operation proved vital for maintaining stability in deeper SPD network architectures.

Conclusion

SPDNetNAS represents a major advancement in automated architecture design for non-Euclidean data. While the computational cost of manifold operations (like SVD) remains a challenge for current hardware, the framework's ability to discover highly accurate and extremely lightweight models is a significant step forward. Future work may involve extending this bi-level optimization approach to other manifolds, such as Grassmann or Stiefel spaces, and optimizing hardware acceleration for Riemannian operations.

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