arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.02389cs.CLcs.AI
收藏

关于编码器-解码器语言模型中结构化数据线性化的研究:来自 Text-to-SQL 的洞察

On Linearizing Structured Data in Encoder-Decoder Language Models: Insights from Text-to-SQL

University of California, San Diego(加利福尼亚大学圣迭戈分校)

Yutong Shao, Ndapa Nakashole

AI总结:

本文以 Text-to-SQL 为背景分析 T5 对结构化数据的线性化处理,揭示其可学习模式链接与语法预测,并发现节点编码特性及模态融合冗余带来的压缩空间。

摘要:

结构化数据普遍存在于表格、数据库和知识图谱中,其表示方式构成了一项重大挑战。随着大型语言模型(LLM)的出现,基于线性化的方法开始兴起;这类方法将结构化数据作为连续的 token 流处理,不同于通常以图的形式对结构进行显式建模的方法。关键在于,我们对这些基于线性化的方法如何处理本质上非线性的结构化数据仍缺乏理解。本文研究编码器-解码器语言模型(具体为 T5)对结构化数据的线性处理。研究发现表明,该模型能够模仿人类设计的流程,例如 schema linking(模式链接)和语法预测,这说明其对结构进行了超越简单 token 排序的、深入且有意义的学习。我们还揭示了关于模型内部机制的洞察,包括结构节点编码的自我中心特性,以及由模态融合冗余带来的模型压缩潜力。总体而言,本文阐明了基于线性化方法的内部工作原理,并可能为未来研究提供指导。

英文摘要:

Structured data, prevalent in tables, databases, and knowledge graphs, poses a significant challenge in its representation. With the advent of large language models (LLMs), there has been a shift towards linearization-based methods, which process structured data as sequential token streams, diverging from approaches that explicitly model structure, often as a graph. Crucially, there remains a gap in our understanding of how these linearization-based methods handle structured data, which is inherently non-linear. This work investigates the linear handling of structured data in encoder-decoder language models, specifically T5. Our findings reveal the model's ability to mimic human-designed processes such as schema linking and syntax prediction, indicating a deep, meaningful learning of structure beyond simple token sequencing. We also uncover insights into the model's internal mechanisms, including the ego-centric nature of structure node encodings and the potential for model compression due to modality fusion redundancy. Overall, this work sheds light on the inner workings of linearization-based methods and could potentially provide guidance for future research.

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

↑