Introduction
Hyperbolic space, particularly the Poincaré disk model, has emerged as a powerful framework for embedding hierarchical data due to its ability to naturally represent tree-like structures. However, standard optimization techniques often struggle with the non-Euclidean geometry of these manifolds. This paper introduces a numerically stable geodesic update rule that significantly improves the training of Poincaré embeddings by respecting the underlying curvature of the space.
The Problem: Euclidean Bias in Curved Space
Most existing hyperbolic optimization methods rely on the natural gradient method. While this approach adjusts the gradient to account for the manifold's metric, it typically performs the actual parameter update using a straight Euclidean line. In a curved manifold like the Poincaré disk, the shortest path between two points is a geodesic, not a straight line.
This discrepancy leads to two primary issues:
- Outward Bias: At higher learning rates, straight-line updates tend to "overshoot" toward the boundary of the disk, creating a systematic bias that hinders convergence to the true optimum.
- Numerical Instability: Euclidean updates can inadvertently push points outside the valid boundary ($|p| < 1$), requiring artificial clipping or projection steps that can further degrade performance.
The Proposed Geodesic Update
The authors propose replacing the standard update with the exponential map, which ensures that the update moves exactly along the hyperbolic geodesic:
$$p_{t+1} = \text{Exp}_{p_t}(-\eta \mathbf{d}^{(t)})$$
where $\mathbf{d}^{(t)}$ is the natural gradient. This approach aligns the optimization step with the manifold's intrinsic geometry.
To make this practical, the authors derived a specific, numerically stable formula using the sinc (cardinal sine) function, which prevents "division by zero" errors when points are near the origin. Furthermore, they theoretically demonstrated that the hyperbolic distance function is "smoother" under Riemannian geometry than Euclidean geometry, a property that generally leads to faster convergence in optimization.
Experimental Results
The geodesic update was evaluated against standard methods using both synthetic binary trees and real-world WordNet hypernymy data. The results highlight the method's robustness and efficiency.
Key findings include:
- Robustness to High Learning Rates: In the "Barycenter Problem," while natural gradient methods failed to converge at learning rates of 0.1 or 0.2, the geodesic update remained perfectly stable.
- Superior Hierarchy Preservation: On WordNet datasets, the geodesic update achieved higher Kendall’s rank correlation compared to standard implementations, indicating a better preservation of the original graph's hierarchical structure.
- Computational Efficiency: Despite the mathematical sophistication of the exponential map, the update remains $O(d)$ in terms of computational complexity, making it just as fast per iteration as simpler, less accurate methods.
Conclusion
By aligning the optimization path with the manifold's geometry, the geodesic update provides a more stable and efficient alternative to traditional natural gradient methods. This approach allows for larger learning rates and more accurate embeddings of complex hierarchical structures, paving the way for more robust hyperbolic machine learning models.
Summary updated