NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fiber Bundle Morphisms as a Framework for Modeling Many-to-Many Maps

Elizabeth Coda, Nico Courts, Colby Wight, Loc Truong, WoongJo Choi, Charles Godfrey, Tegan Emerson, Keerti Kappagantula, Henry Kvinge

Abstract

While it is not generally reflected in the 'nice' datasets used for benchmarking machine learning algorithms, the real-world is full of processes that would be best described as many-to-many. That is, a single input can potentially yield many different outputs (whether due to noise, imperfect measurement, or intrinsic stochasticity in the process) and many different inputs can yield the same output (that is, the map is not injective). For example, imagine a sentiment analysis task where, due to linguistic ambiguity, a single statement can have a range of different sentiment interpretations while at the same time many distinct statements can represent the same sentiment. When modeling such a multivalued function $f: X \rightarrow Y$, it is frequently useful to be able to model the distribution on $f(x)$ for specific input $x$ as well as the distribution on fiber $f^{-1}(y)$ for specific output $y$. Such an analysis helps the user (i) better understand the variance intrinsic to the process they are studying and (ii) understand the range of specific input $x$ that can be used to achieve output $y$. Following existing work which used a fiber bundle framework to better model many-to-one processes, we describe how morphisms of fiber bundles provide a template for building models which naturally capture the structure of many-to-many processes.

Introduction: The Challenge of Many-to-Many Maps

In ideal benchmarks, we often assume an input $x$ leads to a single "correct" output $y$. However, real-world processes—like manufacturing or language—are often "many-to-many." Consider two scenarios:

  1. One-to-Many: A single sentiment (output) can be expressed by many different sentences (inputs).
  2. Many-to-One: A single manufacturing setting (input) might produce a range of material properties (outputs) due to microscopic noise or intrinsic stochasticity.

When a process is many-to-many, a single input can yield a distribution of outputs, and a single output can be reached via a distribution of inputs. Standard regression or classification models fail to capture this "spread" or "variance" in both directions. Existing generative models like GANs or Normalizing Flows can help, but they often struggle to capture the underlying geometric structure of the data, especially the "fibers"—the set of all points that map to a specific value.

Methodology: Bundle Morphism Network (BMNet)

The authors turn to Fiber Bundles, a concept from topology. Intuitively, a fiber bundle is a space that looks like a product of two simpler spaces (a "base" and a "fiber") locally, but might have a global "twist" (like a Möbius band).

Commutative diagram of a fiber bundle morphism.

The core contribution is the Bundle Morphism Network (BMNet). Instead of mapping $X$ directly to $Y$, the model "lifts" the process to a map between two total spaces ($E_1 \to E_2$), as shown in the commutative diagram above.

Architecture of the Bundle Morphism Network (BMNet).

As illustrated in the architecture diagram, BMNet uses Invertible Neural Networks (specifically the FrEIA framework) to ensure the model can be run in both the forward and reverse directions. Because complex spaces aren't always simple products globally, the model uses conditioning vectors based on clusters of the training data. These clusters act as "local neighborhoods," allowing the model to learn the specific "twist" of the data in different regions. They also employ a symmetric version of the mean-squared minimum distance loss to ensure that the generated distribution covers the entire target distribution rather than collapsing to a single mean point.

Key Insights and Results

The "magic" of BMNet is that it offloads the intrinsic uncertainty of the many-to-many map into the "fibers" (represented by simple distributions like Gaussians or circles). By learning how to transform these simple fibers into the complex shapes of the real data, the model captures the variance naturally.

BMNet was benchmarked against several state-of-the-art models, including Augmented CycleGAN (AugCGAN), Latent Normalizing Flows (LNFMM), and Conditional Normalizing Flows (cNF), on synthetic datasets like Torus-to-circle and Möbius-to-circle.

  • Global Accuracy: BMNet achieved the lowest 1-Wasserstein distance on almost all global datasets. For example, on the Torus-to-circle II reverse task, BMNet scored 3.51, significantly outperforming cGAN (48.84) and LNFMM (20.54).
  • Local Fiber Capture: While models like AugCGAN performed well globally, they often failed to capture the local "shape" of the fibers. BMNet consistently recreated the local distributions more accurately.
  • Handling Discreteness: BMNet successfully modeled the "branching" behavior in the Torus-to-circle II dataset, whereas standard normalizing flows often struggled to represent the discrete jump between the two possible output points.

Conclusion and Future Work

While the synthetic results are promising, the next step is testing BMNet on high-dimensional, complex real-world scientific datasets. The current inference procedure requires finding $k$-nearest neighbors in the training set to determine conditioning vectors, which could become computationally expensive. Furthermore, the model's performance relies on the initial clustering of the data; optimizing this process is a potential area for improvement.

Summary updated

BibTeX
@inproceedings{coda2022fiber,
  author = {Elizabeth Coda and Nico Courts and Colby Wight and Loc Truong and WoongJo Choi and Charles Godfrey and Tegan Emerson and Keerti Kappagantula and Henry Kvinge},
  title = {{Fiber Bundle Morphisms as a Framework for Modeling Many-to-Many Maps}},
  booktitle = {GTRL @ ICLR},
  year = {2022},
  url = {https://openreview.net/forum?id=HcIgi4Zkpe9},
}
Figure