paper-with-me

홈 › Papers

Emergent effects of scaling on the functional hierarchies within large language models

2025-01-13 · Paul C. Bogdan

Large language model (LLM) architectures are often described as functionally hierarchical: Early layers process syntax, middle layers begin to parse semantics, and late layers integrate information. The present work revisits these ideas. This research submits simple texts to an LLM (e.g., "A church and organ") and extracts the resulting activations. Then, for each layer, support vector machines and ridge regressions are fit to predict a text's label and thus examine whether a given layer encodes some information. Analyses using a small model (Llama-3.2-3b; 28 layers) partly bolster the common hierarchical perspective: Item-level semantics are most strongly represented early (layers 2-7), then two-item relations (layers 8-12), and then four-item analogies (layers 10-15). Afterward, the representation of items and simple relations gradually decreases in deeper layers that focus on more global information. However, several findings run counter to a steady hierarchy view: First, although deep layers can represent document-wide abstractions, deep layers also compress information from early portions of the context window without meaningful abstraction. Second, when examining a larger model (Llama-3.3-70b-Instruct), stark fluctuations in abstraction level appear: As depth increases, two-item relations and four-item analogies initially increase in their representation, then markedly decrease, and afterward increase again momentarily. This peculiar pattern consistently emerges across several experiments. Third, another emergent effect of scaling is coordination between the attention mechanisms of adjacent layers. Across multiple experiments using the larger model, adjacent layers fluctuate between what information they each specialize in representing. In sum, an abstraction hierarchy often manifests across layers, but large models also deviate from this structure in curious ways.

📄 PDF Abstract BibTeX arXiv:2501.07359

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language Model

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Focus 설명 없음

Similar Papers 제목 키워드 기반

Broken Neural Scaling Laws

2022-10-26 · Ethan Caballero, Kshitij Gupta, Irina Rish, David Krueger

We present a smoothly broken power law functional form (referred to by us as a Broken Neural Scaling Law (BNSL)) that accurately models and extrapolates the scaling behaviors of deep neural networks (i.e. how the evaluat…

Adversarial RobustnessContinual LearningContrastive LearningForm+7

Can the Nexus of Scaling Laws Coupled with Constant or Variable Elasticity of Substitution Predict AI and Other Technology Adoption?

2025-02-02 · Rajesh P. Narayanan, R. Kelley Pace

Emergent technologies such as solar power, electric vehicles, and artificial intelligence (AI) often exhibit exponential or power function price declines and various ``S-curves'' of adoption. We show that under CES and V…

Emergence of Hierarchies in Multi-Agent Self-Organizing Systems Pursuing a Joint Objective

2025-08-13 · Gang Chen, Guoxin Wang, Anton van Beek, Zhenjun Ming 외 arxiv

Multi-agent self-organizing systems (MASOS) exhibit key characteristics including scalability, adaptability, flexibility, and robustness, which have contributed to their extensive application across various fields. Howev…

Multi-agent Reinforcement Learning

Memory retrieval dynamics and storage capacity of a modular network model of association cortex with featural decomposition

2021-04-23 · Carlo Fulvi Mari

The primate heteromodal cortex presents an evident functional modularity at a mesoscopic level, with physiological and anatomical evidence pointing to it as likely substrate of long-term memory. In order to investigate s…

Retrieval

Existence of Hierarchies and Human's Pursuit of Top Hierarchy Lead to Power Law

2016-09-24 · Shuiyuan Yu, Junying Liang, Haitao Liu

The power law is ubiquitous in natural and social phenomena, and is considered as a universal relationship between the frequency and its rank for diverse social systems. However, a general model is still lacking to inter…