TensorX
返回文献探索

Paper · arXiv 2312.04333

Beyond Surface: Probing LLaMA Across Scales and Layers

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

19 upvotesDecember 7, 2023arXiv 预印本
AI 摘要

An analysis of LLaMA focusing on reasoning and computation through multiple-choice tasks reveals layer-specific knowledge and computational capabilities without significant enhancement from larger model sizes.

Large Language Models (LLMs)LLaMAmultiple-choice tasksreasoningcomputationlayersknowledgecomputational prowesshallucinationslogical thinkingmultilingualrecognitive abilities

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号