How do Transformer Embeddings Represent Compositions? A Functional Analysis

Compositionality is a key aspect of human intelligence, essential for reasoning and generalization.While transformer-based models have become the de facto standard for many language modeling tasks, little is known about how they represent compound words, and whether these representations are compositional.In this study, we test compositionality in Mistral, Ope-nAI Large, and Google embedding models, and compare them with BERT.First, we evaluate compositionality in the representations by examining six diverse models of compositionality (addition, multiplication, dilation, regression, etc.).We find that ridge regression, albeit linear, best accounts for compositionality.Surprisingly, we find that the classic vector addition model performs almost as well as any other model.Next, we verify that most embedding models are highly compositional, while BERT shows much poorer compositionality.We verify and visualize our findings with a synthetic dataset consisting of fully transparent adjectivenoun compositions.Overall, we present a thorough investigation of compositionality.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1104
Primary Topic
Advanced Research in Systems and Signal Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

How do Transformer Embeddings Represent Compositions? A Functional Analysis

Cheston Tan, Aishik Nagar, Ishaan Singh Rawal, Mansi Dhanania
Advanced Research in Systems and Signal Processing
article

How do Transformer Embeddings Represent Compositions? A Functional Analysis

Cheston Tan, Aishik Nagar, Ishaan Singh Rawal, Mansi Dhanania
article en

Abstract

Compositionality is a key aspect of human intelligence, essential for reasoning and generalization.While transformer-based models have become the de facto standard for many language modeling tasks, little is known about how they represent compound words, and whether these representations are compositional.In this study, we test compositionality in Mistral, Ope-nAI Large, and Google embedding models, and compare them with BERT.First, we evaluate compositionality in the representations by examining six diverse models of compositionality (addition, multiplication, dilation, regression, etc.).We find that ridge regression, albeit linear, best accounts for compositionality.Surprisingly, we find that the classic vector addition model performs almost as well as any other model.Next, we verify that most embedding models are highly compositional, while BERT shows much poorer compositionality.We verify and visualize our findings with a synthetic dataset consisting of fully transparent adjectivenoun compositions.Overall, we present a thorough investigation of compositionality.

Openalex Percentile: Top 78%
Advanced Research in Systems and Signal Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

How do Transformer Embeddings Represent Compositions? A Functional Analysis — Cheston Tan, Aishik Nagar, et al. · (2025) | TGRS Research Map | TGRS