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

更大更深总是更好吗?跨规模和层级探究 LLaMA

Is Bigger and Deeper Always Better? Probing LLaMA Across Scales and Layers

Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Hong Kong University of Science and Technology(香港科技大学);Microsoft(微软)

Nuo Chen, Ning Wu, Shining Liang, Ming Gong, Linjun Shou, Dongmei Zhang, Jia Li

AI总结:

本文通过多项选择任务探究 LLaMA 在不同规模和层级的内在理解能力,发现扩大规模仅在超阈值时增强推理并减少幻觉,而计算与现实知识主要集中于较高层。

摘要:

本文对大型语言模型(LLMs)进行了深入分析,重点关注 LLaMA,这是自然语言处理中一个突出的开源基础模型。我们没有通过生成输出来评估 LLaMA,而是设计了多项选择任务,以探究其在推理和计算等高阶任务中的内在理解能力。我们横向比较不同规模,纵向评估不同层级。基于设计的探测任务,我们揭示了几个关键且不常见的发现:(1)横向来看,扩大模型规模几乎不能自动赋予额外知识或计算能力。相反,它能增强推理能力,尤其是在数学问题求解中,并有助于减少幻觉,但仅在超过特定规模阈值时有效;(2)纵向分析中,LLaMA 的较低层缺乏实质性的算术和事实知识,展现出逻辑思维、多语言和识别能力,而较高层容纳了大部分计算能力和现实世界知识。

英文摘要:

This paper presents an in-depth analysis of Large Language Models (LLMs), focusing on LLaMA, a prominent open-source foundational model in natural language processing. Instead of assessing LLaMA through its generative output, we design multiple-choice tasks to probe its intrinsic understanding in high-order tasks such as reasoning and computation. We examine the model horizontally, comparing different sizes, and vertically, assessing different layers. We unveil several key and uncommon findings based on the designed probing tasks: (1) Horizontally, enlarging model sizes almost could not automatically impart additional knowledge or computational prowess. Instead, it can enhance reasoning abilities, especially in math problem solving, and helps reduce hallucinations, but only beyond certain size thresholds; (2) In vertical analysis, the lower layers of LLaMA lack substantial arithmetic and factual knowledge, showcasing logical thinking, multilingual and recognitive abilities, with top layers housing most computational power and real-world knowledge.

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

↑