Abstract
This paper presents the first provably convergent algorithms for computing the mean and median of points on a flag manifold using the chordal metric. By treating these complex geometric spaces as nested sequences of subspaces, the authors provide a robust framework for averaging data that outperforms traditional methods in tasks such as motion averaging, Principal Component Analysis (PCA), and image representation. The proposed Flag-Mean and Flag-Median algorithms leverage Riemannian optimization and Iteratively Reweighted Least Squares (IRLS) to achieve superior stability and robustness against outliers.
Introduction
In machine learning and computer vision, data is frequently represented as points on a manifold. A common choice for subspace-based data is the Grassmannian, which represents a single subspace (e.g., a plane in 3D). However, many real-world phenomena exhibit hierarchical or multi-scale structures where a single subspace is insufficient.
The flag manifold offers a more expressive alternative, representing a sequence of nested subspaces (e.g., a line inside a plane inside a volume). Despite their potential, computing basic statistics like the mean or median on flag manifolds has historically been mathematically challenging. Existing methods often lacked convergence proofs or were highly susceptible to outliers. This research addresses these gaps by providing stable, robust algorithms for first-order flag statistics using the chordal metric.
Methodology
The Chordal Metric
The authors utilize the chordal metric rather than the standard geodesic distance. The chordal metric simplifies the optimization landscape, making the computation of averages more numerically manageable and efficient while maintaining the geometric integrity of the flag manifold.
Flag-Mean
The problem of finding a mean on a flag manifold is transformed into an optimization problem on the Stiefel manifold (the space of orthonormal frames). The authors solve this using Riemannian Trust-Region (RTR) optimizers. This approach is numerically stable and demonstrates rapid convergence, typically requiring only two iterations to reach a solution.
Flag-Median
To address the presence of outliers, the authors introduce a Flag-Median algorithm based on an Iteratively Reweighted Least Squares (IRLS) scheme. This algorithm repeatedly computes a weighted flag-mean, where points further from the current estimate are assigned lower weights. Crucially, the authors provide a formal proof that this iterative process converges to the flag-median, ensuring reliability in noisy environments.
Motion Averaging
A significant application of this framework is in motion averaging. By "contracting" 3D rigid motions ($SE(3)$) into the flag manifold, the authors can average rotations and translations simultaneously. This unified geometric framework avoids the common pitfall of averaging rotations and translations separately, which often leads to inconsistent or physically impossible results.
Experimental Evaluation
The proposed methods were evaluated across several diverse domains:
- Synthetic Data: Tests confirmed that the Flag-Median remains stable even when nearly 40% of the data consists of outliers, significantly outperforming Euclidean and Grassmannian baselines.
- MNIST and Yale Face Database: In image representation tasks, the flag-mean captured more nuanced directional information (such as specific illumination patterns) that Grassmannian methods failed to preserve.
- UCF YouTube Action Dataset: For clustering video clips of human actions, the flag manifold approach (via the Linde-Buzo-Gray algorithm) yielded higher cluster purity than Grassmannian methods, even when using only 1% of the original image pixels.
- Distributed PCA: On the Cats and Dogs dataset, the flag-mean achieved lower reconstruction errors compared to traditional averaging when data was partitioned into multiple groups.
Key Insights
- Structural Nuance: The nested structure of flags captures hierarchical data relationships that single-subspace models ignore.
- Robustness: The IRLS-based median provides a mathematically grounded way to handle high-outlier regimes in manifold-valued data.
- Efficiency: The use of RTR optimizers and the chordal metric allows for extremely fast convergence, making these methods practical for real-world applications.
Conclusion and Future Work
This work establishes a rigorous foundation for first-order statistics on flag manifolds. While the current implementation can be computationally intensive for extremely high-dimensional data, it provides a robust and provably convergent alternative to existing heuristic methods. Future research will explore the application of these "flag prototypes" to hierarchical clustering and deep learning inference, particularly for data with inherent multi-scale structures.
Reference: Mankovich, N., & Birdal, T. (2023). Chordal Averaging on Flag Manifolds and Its Applications. arXiv:2303.13501v2.
Summary updated