Flag manifolds encode hierarchical nested sequences of subspaces and serve as powerful structures for various computer vision and machine learning applications. Despite their utility in tasks such as dimensionality reduction, motion averaging, and subspace clustering, current applications are often restricted to extracting flags using common matrix decomposition methods like the singular value decomposition. Here, we address the need for a general algorithm to factorize and work with hierarchical datasets. In particular, we propose a novel, flag-based method that decomposes arbitrary hierarchical real-valued data into a hierarchy-preserving flag representation in Stiefel coordinates. Our work harnesses the potential of flag manifolds in applications including denoising, clustering, and few-shot learning.
@article{mankovich2025flag,
title={A Flag Decomposition for Hierarchical Datasets},
author={Mankovich, Nathan and Santamaria, Ignacio and Camps-Valls, Gustau and Birdal, Tolga},
journal={arXiv preprint arXiv:2502.07782},
year={2025}
}
-
Initialize conda environment
conda env create -f flag_decomp.yml conda activate flag_decomp
-
Visit getting_started.ipynb for an introduction to flag decompoisitions for flag recovery and denoising
Nathan Mankovich, Ignacio Santamaria, Gustau Camps-Valls, and Tolga Birdal