注意力图表的贝蒂数是你真正需要的
Betti numbers of attention graphs is all you really need
摘要:
我们将拓扑分析的方法应用于注意图,该注意图是在BERT模型(arXiv:1810.04805v2)的注意头上计算的。我们的研究表明,建立在基本的持久性拓扑特征(即贝蒂数)的训练神经网络的分类器可以达到与传统的分类方法的分类结果。我们展示了三个文本分类基准上的这种拓扑文本表示的相关性。据我们所知,这是第一次尝试分析广泛用于自然语言处理的基于注意力的神经网络的拓扑结构。
英文摘要:
We apply methods of topological analysis to the attention graphs, calculated on the attention heads of the BERT model ( arXiv:1810.04805v2 ). Our research shows that the classifier built upon basic persistent topological features (namely, Betti numbers) of the trained neural network can achieve classification results on par with the conventional classification method. We show the relevance of such topological text representation on three text classification benchmarks. For the best of our knowledge, it is the first attempt to analyze the topology of an attention-based neural network, widely used for Natural Language Processing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。