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

基于等变性的幻觉理论

Theory of Hallucinations based on Equivariance

The University of Tokyo Hospital(东京大学医学部附属医院)

Hisaichi Shibata

AI总结:

本研究提出基于等变性的语言模型幻觉理论,开发交叉熵误差函数构建幻觉量表,并利用T5模型验证字符级等变性获取能力,发现相关缩放定律,为构建无幻觉超大规模语言模型提供方法。

摘要:

本研究旨在获取知识,以创建免疫于幻觉的超大规模语言模型。当代大型语言模型中的幻觉通常被归因于对现实世界社会关系的误解。因此,我假设能够彻底掌握所有这些关系的超大规模语言模型将免于幻觉。此外,我提出某些类型的等变语言模型擅长学习和理解这些关系。在此基础上,我开发了一种专门的交叉熵误差函数来创建语言模型的幻觉量表,用以衡量其等变性获取的程度。利用该量表,我测试了语言模型获取字符级等变性的能力。特别是,我引入并采用了一种基于T5(Text To Text Transfer Transformer)的新技术,该技术能够高效理解排列后的输入文本,而无需显式字典将token ID(整数)转换为文本(字符串)。该T5模型展示了获取字符级等变性的中等能力。此外,我发现了有助于在字符级别开发无幻觉语言模型的缩放定律。该方法可扩展用于评估词级别的等变性获取,为能够全面理解关系从而避免幻觉的超大规模语言模型铺平道路。

英文摘要:

This study aims to acquire knowledge for creating very large language models that are immune to hallucinations. Hallucinations in contemporary large language models are often attributed to a misunderstanding of real-world social relationships. Therefore, I hypothesize that very large language models capable of thoroughly grasping all these relationships will be free from hallucinations. Additionally, I propose that certain types of equivariant language models are adept at learning and understanding these relationships. Building on this, I have developed a specialized cross-entropy error function to create a hallucination scale for language models, which measures their extent of equivariance acquisition. Utilizing this scale, I tested language models for their ability to acquire character-level equivariance. In particular, I introduce and employ a novel technique based on T5 (Text To Text Transfer Transformer) that efficiently understands permuted input texts without the need for explicit dictionaries to convert token IDs (integers) to texts (strings). This T5 model demonstrated a moderate ability to acquire character-level equivariance. Additionally, I discovered scale laws that can aid in developing hallucination-free language models at the character level. This methodology can be extended to assess equivariance acquisition at the word level, paving the way for very large language models that can comprehensively understand relationships and, consequently, avoid hallucinations.

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

↑