arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.03706cs.CLcs.AIcs.LG
收藏

上下文语言模型潜在空间的局部拓扑测度及其在对话术语抽取中的应用

Local Topology Measures of Contextual Language Model Latent Spaces With Applications to Dialogue Term Extraction

Heinrich Heine University Düsseldorf(杜塞尔多夫海因里希·海涅大学)

Benjamin Matthias Ruppik, Michael Heck, Carel van Niekerk, Renato Vukovic, Hsien-chin Lin, Shutong Feng, Marcus Zibrowius, Milica Gašić

AI总结:

本文提出基于数据存储的上下文语言模型潜在空间局部拓扑复杂度测度,以刻画嵌入向量间关系,并在对话术语抽取任务中验证其有效性,延续了词嵌入流形假设研究。

摘要:

基于上下文词表示进行序列标注任务的一种常见方法是直接在这些嵌入向量上训练机器学习分类器。这种方法存在两个缺点。首先,这类方法孤立地考虑单个输入序列,无法将单个嵌入向量与当前局部使用语境之外的向量联系起来。其次,这些模型的高性能依赖于将嵌入模型与分类器联合微调,但由于底层特征生成模型的规模或不可访问性,这并不总是可行的。因此,给定一个语料库的嵌入向量集合(即数据存储),期望找到每个向量的特征,以描述其与数据存储中其他相似向量的关系。基于这一想法,我们引入上下文语言模型潜在空间相对于给定数据存储的局部拓扑复杂度测度。我们通过将这些特征应用于对话术语抽取来证明其有效性。我们的工作延续了探索词嵌入流形假设的研究路线,表明可以利用词嵌入所刻画空间中的局部结构来推断语义属性。

英文摘要:

A common approach for sequence tagging tasks based on contextual word representations is to train a machine learning classifier directly on these embedding vectors. This approach has two shortcomings. First, such methods consider single input sequences in isolation and are unable to put an individual embedding vector in relation to vectors outside the current local context of use. Second, the high performance of these models relies on fine-tuning the embedding model in conjunction with the classifier, which may not always be feasible due to the size or inaccessibility of the underlying feature-generation model. It is thus desirable, given a collection of embedding vectors of a corpus, i.e., a datastore, to find features of each vector that describe its relation to other, similar vectors in the datastore. With this in mind, we introduce complexity measures of the local topology of the latent space of a contextual language model with respect to a given datastore. The effectiveness of our features is demonstrated through their application to dialogue term extraction. Our work continues a line of research that explores the manifold hypothesis for word embeddings, demonstrating that local structure in the space carved out by word embeddings can be exploited to infer semantic properties.

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

↑