Geometry-adaptive Meta-learning in Riemannian Manifolds
Lists
Only you see this
Abstract
Meta-learning aims to empower machines to quickly adapt to new tasks by learning prior knowledge from seen tasks [5]. In the adaptation process, the matching degree between the geometry of space and the geometric structure of data plays an important role. Real-world data exhibits various forms of non-Euclidean geometric structures [1, 2], such as hierarchical structures in natural language and cyclical structures in facial images, as shown in Figure 1. Previous research has shown that the non-Euclidean structure of real-world data is consistent with Riemannian manifold structures [6], providing theoretical feasibility for modeling data using Riemannian manifolds [3, 4]. This paper studies geometry-adaptive meta-learning methods in Riemannian manifolds, as shown in Figure 2. It explores how to quickly adapt the geometry of data space in Riemannian backbones and Riemannian classifiers to the non-Euclidean structure of data. In addition, the paper generates a large amount of training data and learns efficient Riemannian optimizers in the adaptation process, achieving better generalization for new tasks.This paper proposes a Riemannian feature augmentation method via distribution estimation and infinite sampling, which generates a large number of features faithful to the non-Euclidean structure of data, solving the overfitting problem caused by the lack of training data in the adaptation process. This method models the distribution estimation of non-Euclidean data as a continuous optimization process and trains a neural ordinary differential equation module to estimate distribution parameters, capable of accurately estimating the non-Euclidean data distribution in data scarcity. Then, this method derives an upper bound of the loss function that is used to train the model. Minimizing this upper bound is equivalent to using an infinite number of enhanced data, achieving efficient data augmentation.This paper proposes an adaptive geometry search method for Riemannian backbones, which quickly adjusts geometry of data space in backbones to match the non-Euclidean structure of data. This method constructs a geometry-adaptive backbone: a multi-mixed-curvature neural network. It uses mixed-curvature spaces to model data, and represents geometry of the data space as the curvature, quantity, and dimension of curvature spaces. In this case, the backbone can leverage the optimization process of gradient descent to achieve geometric adaptation to the non-Euclidean structure of data. This method learns a geometry initialization generation scheme and a geometry update scheme to speed up the gradient descent process. Through a few iterative steps, the neural network will find the matching geometry for the non-Euclidean structure of data.This paper proposes an adaptive curvature generation method for Riemannian classifiers, where the geometry of data space is capable of quickly adapting to the non-Euclidean structure of data. This method constructs a task-aware hyperbolic embedding space, obtains geometry-adaptive distance measures and prototypes, and finally uses a distance-based classifier for classification. Specifically, this method uses the second-order statistic representation of data to produce class-specific curvatures for distance measures in the hyperbolic embedding space. Based on the obtained distance measures, this method calculates intra-class and inter-class context information in the embedding space, trains an attention model to produce discriminative prototypes, and obtains the geometry-adaptive Riemannian classifier.This paper proposes a Riemannian meta-optimization method via implicit differentiation, to obtain Riemannian optimizers that match the non-Euclidean structure of data. This method uses a neural network as a Riemannian optimizer, and designs a recurrent neural network on Riemannian manifolds, namely the generalized matrix Long Short-Term Memory (gmLSTM), to maintain the Riemannian geometry of parameters during the optimization process. The Riemannian optimizer is trained in a data-driven manner by minimizing the loss of Riemannian parameters, exploring optimization trajectories for the non-Euclidean structure of data. To enable efficient training of the Riemannian optimizer, this method derivesa Riemannian implicit differentiation training strategy. Unlike conventional training strategies that differentiate through the entire optimization trajectory, the proposed training strategy only relies on the last two steps of the optimization trajectory. Thus, we avoid the exploding gradient problem and significantly reduce resource consumption.
BibTeX
@inproceedings{gao2024geometry,
author = {Zhi Gao},
title = {{Geometry-adaptive Meta-learning in Riemannian Manifolds}},
booktitle = {ACM TUR-C},
year = {2024},
doi = {10.1145/3674399.3674480},
}Loading related content...