arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.07027cs.LG
收藏

学习查询历史:通过学习检索实现非平稳分类

Learning to Query History: Nonstationary Classification via Learned Retrieval

Jimmy Gammell, Bishal Thapaliya, Yoon Jung, Riyasat Ohib, Bilel Fehri, Deepayan Chakrabarti

AI总结:

本文通过学习检索机制将非平稳分类问题转化为时间序列预测,利用历史标注示例提升模型鲁棒性,在合成数据和Amazon评论数据集上验证了方法的有效性。

摘要:

非平稳性在实际分类任务中普遍存在,导致部署模型即使在训练时能泛化到测试集也表现不佳。本文通过将非平稳分类重新定义为时间序列预测:而非仅基于当前输入预测,而是将分类器条件于一系列历史标注示例,这些示例超出训练截止点。为扩展到长序列,我们引入了学习的离散检索机制,通过输入依赖的查询采样相关的历史示例,与分类器端到端训练使用基于分数的梯度估计器。这使整个历史数据集可以在任意文件系统上保持训练和部署。在合成基准和Amazon Reviews '23(电子产品类别)上的实验显示,与标准分类器相比,方法在对抗性分布偏移方面更加稳健,随着历史数据序列长度的增加,VRAM规模可预测地增加。

英文摘要:

Nonstationarity is ubiquitous in practical classification settings, leading deployed models to perform poorly even when they generalize well to holdout sets available at training time. We address this by reframing nonstationary classification as time series prediction: rather than predicting from the current input alone, we condition the classifier on a sequence of historical labeled examples that extends beyond the training cutoff. To scale to large sequences, we introduce a learned discrete retrieval mechanism that samples relevant historical examples via input-dependent queries, trained end-to-end with the classifier using a score-based gradient estimator. This enables the full corpus of historical data to remain on an arbitrary filesystem during training and deployment. Experiments on synthetic benchmarks and Amazon Reviews '23 (electronics category) show improved robustness to distribution shift compared to standard classifiers, with VRAM scaling predictably as the length of the historical data sequence increases.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑