Exploring Concept Depth: How Large Language Models Acquire Knowledge at Different Layers?

AmazUtah_NLP at SemEval-2024 Task 9: A MultiChoice Question Answering System for Commonsense Defying Reasoning


View a PDF of the paper titled Exploring Concept Depth: How Large Language Models Acquire Knowledge at Different Layers?, by Mingyu Jin and 12 other authors

View PDF
HTML (experimental)

Abstract:Large language models (LLMs) have shown remarkable performances across a wide range of tasks. However, the mechanisms by which these models encode tasks of varying complexities remain poorly understood. In this paper, we explore the hypothesis that LLMs process concepts of varying complexities in different layers, introducing the idea of “Concept Depth” to suggest that more complex concepts are typically acquired in deeper layers. Specifically, we categorize concepts based on their level of abstraction, defining them in the order of increasing complexity within factual, emotional, and inferential tasks. We conduct extensive probing experiments using layer-wise representations across various LLM families (Gemma, LLaMA, Qwen) on various datasets spanning the three domains of tasks. Our findings reveal that models could efficiently conduct probing for simpler tasks in shallow layers, and more complex tasks typically necessitate deeper layers for accurate understanding. Additionally, we examine how external factors, such as adding noise to the input and quantizing the model weights, might affect layer-wise representations. Our findings suggest that these factors can impede the development of a conceptual understanding of LLMs until deeper layers are explored. We hope that our proposed concept and experimental insights will enhance the understanding of the mechanisms underlying LLMs. Our codes are available at url{this https URL}.

Submission history

From: Qingcheng Zeng [view email]
[v1]
Wed, 10 Apr 2024 14:56:40 UTC (1,381 KB)
[v2]
Tue, 30 Apr 2024 18:53:56 UTC (1,425 KB)
[v3]
Mon, 16 Sep 2024 02:15:44 UTC (1,454 KB)
[v4]
Tue, 17 Sep 2024 01:37:18 UTC (1,454 KB)



Source link
lol

By stp2y

Leave a Reply

Your email address will not be published. Required fields are marked *

No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.