Riemannian Manifold Learning for Stackelberg Games with Neural Flow Representations

Larkin Liu, Kashif Rasul, Yutong Chao, Jalal Etesami

TL;DR

This paper introduces a novel framework that uses neural normalizing flows to map the complex, non-convex action spaces of Stackelberg games onto a smooth, spherical Riemannian manifold. By transforming the game's topology, the authors turn a notoriously difficult bi-level optimization problem into a tractable linear bandit setup. This allows a leader agent to learn optimal strategies under parameter uncertainty using simple geodesic distance minimization, achieving sublinear regret.

What Problem Does This Paper Address?

In a Stackelberg game, two agents—a leader and a follower—interact sequentially. The leader moves first, anticipating that the follower will play their optimal "best response." These games model critical real-world scenarios like cybersecurity (defenders allocating resources against attackers) and economics (supply chain pricing).

However, solving these games online becomes incredibly difficult when the leader faces parameter uncertainty—meaning they don't perfectly know the follower's reward function or level of rationality. Traditionally, finding a Stackelberg equilibrium under these conditions requires solving nested, bi-level optimization problems. These methods are computationally brutal, highly sensitive to noise, and often fail if the underlying action spaces or reward functions are non-convex.

The authors tackle this challenge by asking: Can we use manifold learning to reshape the geometry of the action space, making equilibrium learning simple and efficient?

Methods

The core innovation is Geodesic Isoplanar Subspace Alignment (GISA), a framework that combines deep generative modeling with geometric optimization:

  1. Bipartite Normalizing Flows: The authors design a neural normalizing flow architecture that acts as a coordinate transformer (a diffeomorphism). It maps the native, messy joint action space of both players onto a smooth, $D$-dimensional unit sphere (the "Stackelberg manifold"). Crucially, the network uses a bipartite input structure so that the leader's and follower's actions independently control disjoint geometric subspaces (e.g., longitudinal vs. latitudinal lines).
  2. Linearity by Design: The authors prove theoretically (Lemma 2.1) that any smooth, invertible mapping can represent complex reward functions as a linear inner product on the learned manifold. This unlocks the use of classic, computationally efficient linear bandit algorithms (like Upper Confidence Bound setups) to handle exploration and exploitation.
  3. Geodesic Optimization: Instead of running expensive bi-level optimization loops, the leader uses the geometric properties of the sphere. Finding the follower's best response and the leader's optimal move simplifies to minimizing the geodesic distance between estimated reward vectors and the action subspaces on the sphere.
Figure 1: Bipartite & Bijective Neural Flow Architecture: We illustrate the bipartite structure of the normalizing flow architec- ture. Two players present joint actions (a, b), where each vector is mapped separately through a series of bijective transforms consist- ing of normalizing flow layers. Each player’s action independently controls one subspace of the spherical manifold. The sequence of bijective transformations retain a fully bijective network from the ambient joint action space to the manifold space Φ(a, b). The net- work is invertible by design, and features a bipartite input.

Datasets

The framework was evaluated using simulated environments representing three distinct, practical formulations of Stackelberg games:

  • $\mathbb{R}^1$ Stackelberg Game: A continuous game with non-linear rewards and penalties, mimicking problems like energy grid management where a utility company sets prices against fluctuating consumer demand.
  • Newsvendor Pricing Game (NPG): A classic supply chain optimization problem involving a supplier (leader) and a retailer (follower) facing stochastic market demand.
  • Stackelberg Security Game (SSG) in $\mathbb{R}^5$: A multi-dimensional resource allocation problem where a defender protects multiple targets against an strategic attacker under strict budget constraints.

Key Insights and Ideas

  • Geometry as a Simplifier: Normalizing flows are traditionally used for density estimation and generative modeling. Here, they are repurposed as an "enabling link" to flatten out non-convex strategic complexities into a clean, spherical topology.
  • Guaranteed Intersection: By enforcing a bipartite spherical map, the mathematical properties of compact Riemannian manifolds (specifically the Poincaré-Hopf theorem) guarantee that the leader's and follower's action subspaces will always intersect at a unique point. This ensures a stable, pure-strategy equilibrium for the leader.
  • Bypassing the Bi-level Trap: Shifting the problem from algebraic optimization to geodesic distance alignment means the leader can seamlessly calculate worst-case outcomes and bound their simple regret under quantifiable uncertainty.

Key Results

The GISA algorithm was benchmarked against standard multi-armed bandit baselines (like Dual-UCB) and problem-specific state-of-the-art algorithms (such as the Liu-Rong 2024 algorithm for the Newsvendor game).

Across all three game types, GISA demonstrated superior performance:

  • Sublinear Regret: It empirically validated the theoretical bounds, showing a dramatic reduction in cumulative regret over time.
  • Data Efficiency: GISA quickly narrowed down parameter uncertainty, entering a stable continuous learning phase much faster than baseline algorithms, which struggled with the non-convex constraints.
Cumulative regret performance across the three experimental game setups, demonstrating GISA's superior regret minimization.

Limitations and Future Work

While powerful, the framework currently has a few limitations:

  • Spherical Restriction: The theoretical guarantees and optimization mechanics are strictly tied to spherical manifolds. Extending this to other geometric topologies (like tori or arbitrary free-form manifolds) remains an open question.
  • Numerical Sensitivity: Normalizing flows can occasionally suffer from minor reconstruction errors due to floating-point rounding or numerical instability during the inverse mapping process.

Future work aims to generalize this framework to multi-player settings (beyond two-player games) and explore more complex multi-agent reinforcement learning environments.

Summary updated

Abstract

We present a novel framework for online learning in Stackelberg general-sum games, where two agents, the leader and follower, engage in sequential turn-based interactions. At the core of this approach is a learned diffeomorphism that maps the joint action space to a smooth spherical Riemannian manifold, referred to as the Stackelberg manifold. This mapping, facilitated by neural normalizing flows, ensures the formation of tractable isoplanar subspaces, enabling efficient techniques for online learning. Leveraging the linearity of the agents' reward functions on the Stackelberg manifold, our construct allows the application of linear bandit algorithms. We then provide a rigorous theoretical basis for regret minimization on the learned manifold and establish bounds on the simple regret for learning Stackelberg equilibrium. This integration of manifold learning into game theory uncovers a previously unrecognized potential for neural normalizing flows as an effective tool for multi-agent learning. We present empirical results demonstrating the effectiveness of our approach compared to standard baselines, with applications spanning domains such as cybersecurity and economic supply chain optimization.
BibTeX
@inproceedings{liu2026riemannian,
  author = {Larkin Liu and Kashif Rasul and Yutong Chao and Jalal Etesami},
  title = {{Riemannian Manifold Learning for Stackelberg Games with Neural Flow Representations}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i28.39552},
}
Figure