基于互信息最大化的文档哈希算法的BERT嵌入改进
Refining BERT Embeddings for Document Hashing via Mutual Information Maximization
摘要:
现有的无监督文档哈希方法大多建立在生成模型上。由于捕获长依赖结构的困难,这些方法很少直接对原始文档进行建模,而是对从中提取的特征(例如词袋(BOW),TFIDF)进行建模。在本文中,我们建议从BERT嵌入中学习哈希码,在观察了它们在下游任务上的巨大成功之后。作为第一次尝试,我们修改现有的生成哈希模型,以适应BERT嵌入。然而,与从旧的BOW或TFIDF特征中学习的代码相比,几乎没有观察到改进。我们将此归因于生成散列中的重建要求,这将强制执行在BERT嵌入中丰富的不相关信息,这些信息也被压缩到代码中。为了解决这个问题,一个新的无监督哈希范式进一步提出了基于互信息(MI)最大化原则。具体地说,该方法首先从文档中构造适当的全局和局部代码,然后寻求最大化它们的互信息。在三个基准数据集上的实验结果表明,该方法能够生成比现有的从BOW特征学习的哈希码性能更好的哈希码。
英文摘要:
Existing unsupervised document hashing methods are mostly established on generative models. Due to the difficulties of capturing long dependency structures, these methods rarely model the raw documents directly, but instead to model the features extracted from them (e.g. bag-of-words (BOW), TFIDF). In this paper, we propose to learn hash codes from BERT embeddings after observing their tremendous successes on downstream tasks. As a first try, we modify existing generative hashing models to accommodate the BERT embeddings. However, little improvement is observed over the codes learned from the old BOW or TFIDF features. We attribute this to the reconstruction requirement in the generative hashing, which will enforce irrelevant information that is abundant in the BERT embeddings also compressed into the codes. To remedy this issue, a new unsupervised hashing paradigm is further proposed based on the mutual information (MI) maximization principle. Specifically, the method first constructs appropriate global and local codes from the documents and then seeks to maximize their mutual information. Experimental results on three benchmark datasets demonstrate that the proposed method is able to generate hash codes that outperform existing ones learned from BOW features by a substantial margin.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。