Introduction
Deep learning is increasingly moving beyond flat Euclidean space to curved geometries. Hyperbolic geometry, particularly the Poincaré ball model, has proven exceptional at representing hierarchical data—such as taxonomies or social graphs—with minimal distortion. However, as these models gain traction, a critical security gap has emerged: most adversarial attacks, like the Fast Gradient Method (FGM), are designed for Euclidean space.
Previous research suggested that hyperbolic networks are naturally more robust to these "flat" attacks. This paper investigates whether this robustness is a fundamental property of the geometry or merely a "geometric mismatch" where Euclidean attacks are simply the wrong tool for the job. By developing the first Riemannian generalizations of standard adversarial attacks, the researchers test the true resilience of hyperbolic neural networks.
Riemannian Adversarial Methods
To bridge the geometric gap, the authors propose Riemannian FGM and Riemannian PGD. In standard Euclidean space, an attack moves a data point $x$ by adding a gradient vector: $\tilde{x} = x + \alpha \nabla J$. In hyperbolic space, simple addition is not defined. Instead, the authors utilize specialized operations:
- The Exponential Map: This geometric operation acts as the equivalent of walking in a straight line (a geodesic) on a curved surface, "wrapping" the gradient onto the manifold.
- Möbius Addition: A specialized operation used to combine points in hyperbolic space while ensuring they remain within the boundaries of the Poincaré ball.
- Shortest Path Projection: For multi-step PGD attacks, the authors developed a method to project perturbed points back onto a "safety" boundary defined by hyperbolic distance.
Experimental Framework
The study evaluates these attacks across three main benchmarks: a synthetic 4-class dataset generated using wrapped normal distributions on a Poincaré disk, and the CIFAR-10 and CIFAR-100 image classification datasets. For the image tasks, the researchers employed Poincaré ResNets—fully hyperbolic versions of the classic Residual Network architecture.
Geometric Insights and Results
Directional Bias and the "Local Euclidean" Effect
On the synthetic disk, the authors discovered a distinct "directional bias." Hyperbolic attacks are significantly more potent when the gradient points inward toward the origin. Conversely, Euclidean attacks appear stronger when pointing outward toward the edge of the disk.
Interestingly, for high-dimensional image data like CIFAR, hyperbolic and Euclidean attacks performed almost identically. This is attributed to the "local Euclidean" effect: adversarial perturbations are typically so small that at that scale, the curvature of hyperbolic space is negligible, much like the Earth appears flat from a sidewalk.
Persistence of Robustness
Despite the introduction of geometry-aware attacks, the core finding is that Poincaré ResNets remain more robust than Euclidean ResNets. This gap is most pronounced in deeper models; for instance, Poincaré ResNet-32 showed significantly higher accuracy under attack compared to its Euclidean counterpart.
Furthermore, the models exhibit distinct failure modes. Hyperbolic models tend to confuse semantically related classes (e.g., mistaking a dog for a cat), whereas Euclidean models make more erratic errors (e.g., mistaking a truck for a ship). This suggests that hyperbolic geometries lead models to prioritize fundamentally different, and perhaps more resilient, data patterns.
Conclusion
This work demonstrates that while Riemannian attacks are more efficient at finding decision boundaries in hyperbolic space, they do not eliminate the inherent robustness of hyperbolic networks. Future research is needed to develop Hyperbolic Adversarial Training—a computationally intensive but potentially powerful defense—to further enhance the resilience of these non-Euclidean models.
Summary updated