paper-with-me

Papers

Interpreting token compositionality in LLMs: A robustness analysis

2024-10-16 · Nura Aljaafari, Danilo S. Carvalho, André Freitas

Understanding the internal mechanisms of large language models (LLMs) is integral to enhancing their reliability, interpretability, and inference processes. We present Constituent-Aware Pooling (CAP), a methodology designed to analyse how LLMs process compositional linguistic structures. Grounded in principles of compositionality, mechanistic interpretability, and information theory, CAP systematically intervenes in model activations through constituent-based pooling at various model levels. Our experiments on inverse definition modelling, hypernym and synonym prediction reveal critical insights into transformers' limitations in handling compositional abstractions. No specific layer integrates tokens into unified semantic representations based on their constituent parts. We observe fragmented information processing, which intensifies with model size, suggesting that larger models struggle more with these interventions and exhibit greater information dispersion. This fragmentation likely stems from transformers' training objectives and architectural design, preventing systematic and cohesive representations. Our findings highlight fundamental limitations in current transformer architectures regarding compositional semantics processing and model interpretability, underscoring the critical need for novel approaches in LLM design to address these challenges.

📄 PDF Abstract BibTeX arXiv:2410.12924

Code (0)

등록된 구현이 없습니다.

Tasks

Definition Modelling

Methods 이 논문이 사용한 방법론

Fragmentation Given a pattern $P,$ that is more complicated than the patterns, we fragment $P$ into simpler patterns such that their exact count is known. In the subgraph GNN proposed earlier,…

Similar Papers 제목 키워드 기반

Investigating More Explainable and Partition-Free Compositionality Estimation for LLMs: A Rule-Generation Perspective

2026-04-30 · Ziyao Xu, Cong Wang, Houfeng Wang arxiv

Compositional generalization tests are often used to estimate the compositionality of LLMs. However, such tests have the following limitations: (1) they only focus on the output results without considering LLMs' understa…

CARMA: Enhanced Compositionality in LLMs via Advanced Regularisation and Mutual Information Alignment

2025-02-16 · Nura Aljaafari, Danilo S. Carvalho, André Freitas

Large language models (LLMs) struggle with compositional generalisation, limiting their ability to systematically combine learned components to interpret novel inputs. While architectural modifications, fine-tuning, and …

Data AugmentationSentiment AnalysisSentiment Classification

Do Large Language Models Defend Inferentialist Semantics?: On the Logical Expressivism and Anti-Representationalism of LLMs

2024-12-19 · Yuzuki Arai, Sho Tsugawa

The philosophy of language, which has historically been developed through an anthropocentric lens, is now being forced to move towards post-anthropocentrism due to the advent of large language models (LLMs) like ChatGPT …

Philosophy

Assessing the Importance of Frequency versus Compositionality for Subword-based Tokenization in NMT

2023-06-02 · Benoist Wolleb, Romain Silvestri, Giorgos Vernikos, Ljiljana Dolamic 외

Subword tokenization is the de facto standard for tokenization in neural language models and machine translation systems. Three advantages are frequently cited in favor of subwords: shorter encoding of frequent tokens, c…

de-enMachine TranslationNMTTranslation

Evaluating Adjective-Noun Compositionality in LLMs: Functional vs Representational Perspectives

2026-02-14 · Ruchira Dhar, Qiwei Peng, Anders Søgaard arxiv

Compositionality is considered central to language abilities. As performant language systems, how do large language models (LLMs) do on compositional tasks? We evaluate adjective-noun compositionality in LLMs using two c…