arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.09983cs.LGcs.AIcs.CLcs.IR
收藏

Farzi 数据:自回归数据蒸馏

Farzi Data: Autoregressive Data Distillation

University of California, San Diego(加州大学圣地亚哥分校);Google DeepMind(谷歌DeepMind)

Noveen Sachdeva, Zexue He, Wang-Cheng Kang, Jianmo Ni, Derek Zhiyuan Cheng, Julian McAuley

AI总结:

本文提出 Farzi 数据蒸馏方法,通过高效反向微分和潜在空间分解,将序列数据集压缩至 0.1%,在推荐和语言建模中保持 98-120% 性能,助力大型自回归模型扩展。

摘要:

我们研究了自回归机器学习任务中的数据蒸馏,其中输入和输出具有严格的从左到右的因果结构。更具体地说,我们提出了 Farzi,它将事件序列数据集总结为少量合成序列——Farzi 数据——这些序列经过优化,以保持(如果不提高)与在完整数据集上训练相比的模型性能。在内部,Farzi 通过以下方式实现内存高效的数据蒸馏:(i)利用 Hessian-向量乘积推导 Adam 优化器的有效反向模式微分;(ii)将高维离散事件空间分解为潜在空间,该空间可证明促进隐式正则化。实验上,对于序列推荐和语言建模任务,当在仅占原始数据集 0.1% 大小的 Farzi 数据上训练最先进的模型时,我们能够实现下游完整数据性能的 98-120%。值得注意的是,能够用显著更少的数据训练更好的模型,为未来大型自回归模型的设计提供了启示,并为进一步扩展模型和数据规模开辟了新的机会。

英文摘要:

We study data distillation for auto-regressive machine learning tasks, where the input and output have a strict left-to-right causal structure. More specifically, we propose Farzi, which summarizes an event sequence dataset into a small number of synthetic sequences -- Farzi Data -- which are optimized to maintain (if not improve) model performance compared to training on the full dataset. Under the hood, Farzi conducts memory-efficient data distillation by (i) deriving efficient reverse-mode differentiation of the Adam optimizer by leveraging Hessian-Vector Products; and (ii) factorizing the high-dimensional discrete event-space into a latent-space which provably promotes implicit regularization. Empirically, for sequential recommendation and language modeling tasks, we are able to achieve 98-120% of downstream full-data performance when training state-of-the-art models on Farzi Data of size as little as 0.1% of the original dataset. Notably, being able to train better models with significantly less data sheds light on the design of future large auto-regressive models, and opens up new opportunities to further scale up model and data sizes.

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

↑