Geodesic Tensor Diffusion:一种估计局部黎曼度量的可扩展算法
Geodesic Tensor Diffusion for Estimation of the Local Riemannian Metric in Machine Learning
做聚类、最近邻搜索或核方法的可以看看这篇。当数据落在折叠流形或采样不均匀时,欧氏距离会失真,GTD 在每个点上估计黎曼度量张量,修正测量方式。成本随维度线性增长、可并行,实现代码也公开了,拿来在折痕数据上试一下挺直接。
一篇 arXiv 论文提出 Geodesic Tensor Diffusion(GTD),用于估计数据集每个样本点上的黎曼度量张量,解决欧氏距离在弯曲、折叠或非均匀采样流形上失真的问题。
算法机制:GTD 从每个样本出发模拟随机游走的一小步并记录其二阶矩。三个设计保证其可靠性——步长沿 k 近邻图的最短路径测量以贴合数据几何;用 α=1 密度归一化校正步概率,避免稠密区域偏置;参考点不包含在自身邻域内。每个样本只需一次截断 Dijkstra 搜索和一次小型奇异值分解,成本随环境维度线性增长,且可完全并行。
理论层面,作者证明了估计量与采样密度无关,系统误差是 h² 量级的显式曲率项,收敛速率中环境维度仅以对数形式出现。实验覆盖合成流形、R^1024 中的图像流形和手写数字,验证了理论常数,并指出了算法的失效模式。参考实现已公开。
Geodesic Tensor Diffusion for Estimation of the Local Riemannian Metric in Machine Learning
Distances are the raw material of nearest-neighbour search, clustering, kernel methods and graph-based learning, yet the Euclidean distance between two data points can be badly misleading when the data lie on a curved, folded or non-uniformly sampled manifold. The object that tells us how to measure lengths and angles \emph{locally}, at each sample, is the Riemannian metric tensor. We present Geodesic Tensor Diffusion (GTD), a simple and scalable algorithm that estimates this tensor at every point of a dataset. GTD imagines a random walker that takes one short step from each sample and records the second moment of the step. Three design choices make this idea work on real data: steps are measured along shortest paths of a $k$-nearest-neighbour graph, so that they follow the data instead of cutting across folds; step probabilities are corrected by an $α=1$ density normalization, so that densely sampled regions do not bias the estimate; and the reference point is excluded from its own neighbourhood. The algorithm needs one truncated Dijkstra search and one small singular value decomposition per sample, is embarrassingly parallel, and its cost grows only linearly with the ambient dimension. We explain, with simple arguments, why it works: the estimate does not depend on the sampling density, its systematic error is an explicit curvature term of order $h^2$, and it converges at explicit rates in which the ambient dimension enters only logarithmically. Experiments on synthetic manifolds, image manifolds in $\mathbb{R}^{1024}$ and handwritten digits confirm the theory down to its constants, show the advantages of GTD on folded manifolds and under non-uniform sampling, and identify its failure modes. A reference implementation is publicly available.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Riemannian metric, manifold learning, clustering, arXiv.
Source attribution: curated from arXiv cs.LG (@Alexandre L. M. Levada).