word2ket:受量子纠缠启发的空间高效词嵌入
word2ket: Space-efficient Word Embeddings inspired by Quantum Entanglement
摘要:
深度学习自然语言处理模型通常使用向量词嵌入(如word 2 vec或GloVe)来表示单词。如果将离散的单词序列表示为连续向量序列,则可以更容易地与下游神经层集成。此外,从文本语料库中学习的单词之间的语义关系可以被编码在嵌入向量的相对配置中。然而,存储和访问字典中所有单词的嵌入向量需要大量空间,并且可能会污染具有有限GPU内存的系统。在这里,我们使用受量子计算启发的方法来提出两种相关方法,{ \em word 2ket}和{ \em word 2ketXS},用于以高效的方式在训练和推理期间存储词嵌入矩阵。我们的方法实现了一百倍或更多的减少所需的空间来存储嵌入,几乎没有相对下降的准确性在实际的自然语言处理任务。
英文摘要:
Deep learning natural language processing models often use vector word embeddings, such as word2vec or GloVe, to represent words. A discrete sequence of words can be much more easily integrated with downstream neural layers if it is represented as a sequence of continuous vectors. Also, semantic relationships between words, learned from a text corpus, can be encoded in the relative configurations of the embedding vectors. However, storing and accessing embedding vectors for all words in a dictionary requires large amount of space, and may stain systems with limited GPU memory. Here, we used approaches inspired by quantum computing to propose two related methods, {\em word2ket} and {\em word2ketXS}, for storing word embedding matrix during training and inference in a highly efficient way. Our approach achieves a hundred-fold or more reduction in the space required to store the embeddings with almost no relative drop in accuracy in practical natural language processing tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。