The Flag Median and FlagIRLS
Nathan Mankovich, Emily J. King, Chris Peterson, Michael Kirby
Abstract
Finding prototypes (e.g., mean and median) for a dataset is central to a number of common machine learning algorithms. Subspaces have been shown to provide useful, robust representations for datasets of images, videos and more. Since subspaces correspond to points on a Grassmann manifold, one is led to consider the idea of a subspace prototype for a Grassmann-valued dataset. While a number of different subspace prototypes have been described, the calculation of some of these prototypes has proven to be computationally expensive while other prototypes are affected by outliers and produce highly imperfect clustering on noisy data. This work proposes a new subspace prototype, the flag median, and introduces the Fla-gIRLS algorithm for its calculation. We provide evidence that the flag median is robust to outliers and can be used effectively in algorithms like Linde-Buzo-Grey (LBG) to produce improved clusterings on Grassmannians. Numerical experiments include a synthetic dataset, the MNIST handwritten digits dataset, the Mind's Eye video dataset and the UCF YouTube action dataset. The flag median is compared the other leading algorithms for computing prototypes on the Grassmannian, namely, the ℓ 2 -median and to the flag mean. We find that using FlagIRLS to compute the flag median converges in 4 iterations on a synthetic dataset. We also see that Grassmannian LBG with a codebook size of 20 and using the flag median produces at least a 10% improvement in cluster purity over Grassmannian LBG using the flag mean or ℓ 2 -median on the Mind's Eye dataset.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- Chordal Averaging on Flag Manifolds and Its ApplicationsNathan Mankovich, Tolga BirdalICCV 2023 · 10 citations
- Deep Hierarchical Learning with Nested Subspace Networks for Large Language ModelsPaulius Rauba, Mihaela van der SchaarICLR 2026 · 3 citations
- Fun with Flags: Robust Principal Directions via Flag ManifoldsNathan Mankovich, Gustau Camps-Valls, Tolga BirdalCVPR 2024 · 3 citations
- A Flag Decomposition for Hierarchical DatasetsNathan Mankovich, Ignacio Santamaría, Gustau Camps-Valls, Tolga BirdalCVPR 2025
- Flag Aggregator: Scalable Distributed Training under Failures and Augmented Losses using Convex OptimizationHamidreza Almasi, Harsh Mishra, Balajee Vamanan, Sathya N. RaviICLR 2024
Related papers
- Multiple Kernel Clustering with Shifted Laplacian on Grassmann ManifoldXi Wu, Chuang Huang, Xinliu Liu, Fei Zhou et al.ACM MM 2024 · 4 citations
- Fitting Flats to FlatsGabriel Dogadov, Ugo Paavo Finnendahl, Marc AlexaCVPR 2024
- Learning Topology-Driven Multi-Subspace Fusion for Grassmannian Deep NetworksXuan Yu, Tianyang XuAAAI 2026
- Registration beyond Points: General Affine Subspace Alignment via Geodesic Distance on Grassmann ManifoldJaeho Shin, Hyeonjae Gil, Junwoo Jang, Maani Ghaffari et al.ICCV 2025
- Multi-view Graph Clustering via Efficient Global-Local Spectral Embedding FusionPenglei Wang, Danyang Wu, Rong Wang, Feiping NieACM MM 2023 · 19 citations
