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

自回归模型中基于轨迹的意义表示

Meaning Representations from Trajectories in Autoregressive Models

Tian Yu Liu, Matthew Trager, Alessandro Achille, Pramuditha Perera, Luca Zancato, Stefano Soatto

AI总结:

本文提出从自回归模型所有可能轨迹的分布中提取意义表示,无需提示和微调,可建模非对称语义关系,在相似性及蕴含任务上优于零样本方法,并扩展至多模态数据。

摘要:

我们提出通过考虑扩展输入文本的所有可能轨迹的分布,从自回归语言模型中提取意义表示。该策略无需提示(prompt-free),不需要微调,并且适用于任何预训练的自回归模型。此外,与基于向量的表示不同,基于分布的表示还可以通过似然函数之间的代数运算来建模非对称关系(例如逻辑蕴含的方向、上位词/下位词关系)。这些思想植根于语义的分布视角,并与自动机理论中的标准构造相关联,但据我们所知,它们尚未被应用于现代语言模型。我们通过实验表明,从大型模型中获得的表示与人类标注高度一致,在语义相似性任务上优于其他零样本和无提示方法,并且可用于解决标准嵌入无法处理的更复杂的蕴含和包含任务。最后,我们将方法扩展到使用多模态自回归模型来表示来自不同模态(例如图像和文本)的数据。我们的代码可在以下地址获取:https://github.com/tianyu139/meaning-as-trajectories

英文摘要:

We propose to extract meaning representations from autoregressive language models by considering the distribution of all possible trajectories extending an input text. This strategy is prompt-free, does not require fine-tuning, and is applicable to any pre-trained autoregressive model. Moreover, unlike vector-based representations, distribution-based representations can also model asymmetric relations (e.g., direction of logical entailment, hypernym/hyponym relations) by using algebraic operations between likelihood functions. These ideas are grounded in distributional perspectives on semantics and are connected to standard constructions in automata theory, but to our knowledge they have not been applied to modern language models. We empirically show that the representations obtained from large models align well with human annotations, outperform other zero-shot and prompt-free methods on semantic similarity tasks, and can be used to solve more complex entailment and containment tasks that standard embeddings cannot handle. Finally, we extend our method to represent data from different modalities (e.g., image and text) using multimodal autoregressive models. Our code is available at: https://github.com/tianyu139/meaning-as-trajectories

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

↑