本研究旨在获取知识,以创建免疫于幻觉的超大规模语言模型。当代大型语言模型中的幻觉通常被归因于对现实世界社会关系的误解。因此,我假设能够彻底掌握所有这些关系的超大规模语言模型将免于幻觉。此外,我提出某些类型的等变语言模型擅长学习和理解这些关系。在此基础上,我开发了一种专门的交叉熵误差函数来创建语言模型的幻觉量表,用以衡量其等变性获取的程度。利用该量表,我测试了语言模型获取字符级等变性的能力。特别是,我引入并采用了一种基于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.
Why Fine-Tuning Encourages Hallucinations and How to Fix It
Hebrew University of Jerusalem(海法大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Technion – Israel Institute of Technology(技术学院 – 以色列理工学院);University of Southern California(南加州大学)
Image Textualization: An Automatic Framework for Creating Accurate and Detailed Image Descriptions
The Hong Kong University of Science and Technology(香港科技大学);Wuhan University(武汉大学);Zhejiang University(浙江大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)