用可学习的稀疏相似度提升神经网络邻居回归性能
SoftStep: Learning Sparse Similarity Powers Deep Neighbor-Based Regression
- 提出SoftStep模块,自动学习每个样本的稀疏相似度
- 在多种任务和架构上均优于传统线性头
- 适合需要精准局部预测的回归场景
基于邻居的方法在输入与目标间存在非线性、周期性或异方差关系时,是表格数据中优于线性预测的自然选择。然而在非结构化数据的深度学习中,由于线性回归头能同时学习内部表示和参数,非参数型邻居方法很少被采用。为此,本文提出SoftStep,一种可学习的参数化模块,能直接从数据中学习稀疏的实例级相似度。将其集成到现有邻居方法中,可使回归模型在不同架构、领域和训练场景下持续超越线性头。我们理论证明,在均方误差目标下,基于邻居的预测等价于度量学习,能诱导出结构良好的嵌入空间。分析与实验证明,结合SoftStep引入的稀疏实例级相似度,能显著提升性能。SoftStep还具有广泛适用性,可用于注意力机制、度量学习、表示对齐等任务。
原文摘要 · Abstract (English)
Neighbor-based methods are a natural alternative to linear prediction for tabular data when relationships between inputs and targets exhibit complexity such as nonlinearity, periodicity, or heteroscedasticity. Yet in deep learning on unstructured data, nonparametric neighbor-based approaches are rarely implemented in lieu of simple linear heads. This is primarily due to the ability of systems equipped with linear regression heads to co-learn internal representations along with the linear head's parameters. To unlock the full potential of neighbor-based methods in neural networks we introduce SoftStep, a parametric module that learns sparse instance-wise similarity measures directly from data. When integrated with existing neighbor-based methods, SoftStep enables regression models that consistently outperform linear heads across diverse architectures, domains, and training scenarios. We focus on regression tasks, where we show theoretically that neighbor-based prediction with a mean squared error objective constitutes a metric learning algorithm that induces well-structured embedding spaces. We then demonstrate analytically and empirically that this representational structure translates into superior performance when combined with the sparse, instance-wise similarity measures introduced by SoftStep. Beyond regression, SoftStep is a general method for learning instance-wise similarity in deep neural networks, with broad applicability to attention mechanisms, metric learning, representational alignment, and related paradigms.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。