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

分布式文档表示的可压缩性

Compressibility of Distributed Document Representations

Jožef Stefan Institute(约热夫·斯泰凡研究所);Jožef Stefan International Postgraduate School(约热夫·斯泰凡国际研究生学院)

Blaž Škrlj, Matej Petkovič

摘要:

当代自然语言处理(NLP)围绕着从潜在文档表示中学习,这些文档表示由神经语言模型隐式生成,或由doc2vec等方法显式生成。所获得的表示的关键属性之一是它们的维数。虽然普遍采用的256和768维度在许多任务上提供了足够的性能,但很多时候不清楚默认维度是否是后续下游学习任务的最合适选择。此外,由于计算约束,表示维度很少受到超参数调整。本文的目的是证明,一个令人惊讶的简单和高效的递归压缩过程可以是足够的显着压缩的初始表示,但也有可能提高其性能时,考虑到文本分类的任务。在部署过程中,具有更小和更少噪声的表示是所需的属性,因为数量级更小的模型可以显着降低计算过载,从而降低部署成本。我们提出了Core,一个简单的,表示学习者不可知的框架,适用于表示压缩。核心的表现是展示和研究的17个现实生活中的语料库,从生物医学,新闻,社交媒体和文学领域的集合。我们探讨了Core在考虑上下文和非上下文文档表示、不同压缩级别和9种不同压缩算法时的行为。基于超过100,000个压缩实验的当前结果表明,递归奇异值分解在压缩效率和性能之间提供了非常好的权衡,使得CoRe在许多现有的表示依赖的NLP管道中非常有用。

英文摘要:

Contemporary natural language processing (NLP) revolves around learning from latent document representations, generated either implicitly by neural language models or explicitly by methods such as doc2vec or similar. One of the key properties of the obtained representations is their dimension. Whilst the commonly adopted dimensions of 256 and 768 offer sufficient performance on many tasks, it is many times unclear whether the default dimension is the most suitable choice for the subsequent downstream learning tasks. Furthermore, representation dimensions are seldom subject to hyperparameter tuning due to computational constraints. The purpose of this paper is to demonstrate that a surprisingly simple and efficient recursive compression procedure can be sufficient to both significantly compress the initial representation, but also potentially improve its performance when considering the task of text classification. Having smaller and less noisy representations is the desired property during deployment, as orders of magnitude smaller models can significantly reduce the computational overload and with it the deployment costs. We propose CoRe, a straightforward, representation learner-agnostic framework suitable for representation compression. The CoRe's performance is showcased and studied on a collection of 17 real-life corpora from biomedical, news, social media, and literary domains. We explored CoRe's behavior when considering contextual and non-contextual document representations, different compression levels, and 9 different compression algorithms. Current results based on more than 100,000 compression experiments indicate that recursive Singular Value Decomposition offers a very good trade-off between the compression efficiency and performance, making CoRe useful in many existing, representation-dependent NLP pipelines.

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

↑