P-SIF:使用分区平均的文档嵌入
P-SIF: Document Embeddings Using Partition Averaging
摘要:
词向量的简单加权平均通常会产生有效的句子表示,在许多任务中优于复杂的seq 2seq神经模型。虽然也希望使用相同的方法来表示文档,但不幸的是,当表示涉及多个句子的长文档时,效果会丢失。其中一个关键原因是,较长的文档可能包含来自许多不同主题的单词;因此,创建单个向量而忽略所有主题结构不太可能产生有效的文档表示。这个问题在单个句子和其他简短的文本片段中不那么严重,其中最有可能存在单个主题。为了缓解这个问题,我们提出了P-SIF,一个分区字平均模型来表示长文档。P-SIF保留了简单加权平均的简单性,同时考虑了文档的主题结构。特别是,P-SIF从文档中学习特定于主题的向量,并最终将它们连接起来以表示整个文档。我们提供了理论上的P-SIF的正确性的理由。通过一组全面的实验,我们证明了P-SIF的有效性相比,简单的加权平均和许多其他基线。
英文摘要:
Simple weighted averaging of word vectors often yields effective representations for sentences which outperform sophisticated seq2seq neural models in many tasks. While it is desirable to use the same method to represent documents as well, unfortunately, the effectiveness is lost when representing long documents involving multiple sentences. One of the key reasons is that a longer document is likely to contain words from many different topics; hence, creating a single vector while ignoring all the topical structure is unlikely to yield an effective document representation. This problem is less acute in single sentences and other short text fragments where the presence of a single topic is most likely. To alleviate this problem, we present P-SIF, a partitioned word averaging model to represent long documents. P-SIF retains the simplicity of simple weighted word averaging while taking a document's topical structure into account. In particular, P-SIF learns topic-specific vectors from a document and finally concatenates them all to represent the overall document. We provide theoretical justifications on the correctness of P-SIF. Through a comprehensive set of experiments, we demonstrate P-SIF's effectiveness compared to simple weighted averaging and many other baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。