scimeatlas

Research map / Architectures and efficiency / Attention and transformers

How do Transformer Embeddings Represent Compositions? A Functional Analysis

Aishik Nagar, Ishaan Rawal, Mansi Dhanania, Cheston Tan

ACL 2025Architectures and efficiency › Attention and transformersapproach: Attention head mechanismsopen problems in this approach2 citations (OpenAlex)

ASUS Intelligent Cloud Services · Texas A&M University · Technology and Research (A*STAR) · McGill University

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
4improved
3no clear effect
3hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Ridge Regression instead of Simple Addition as composition function (ablation)Google/Mistral/OpenAI Large embeddings · LADECcosine similarity: Mistral 0.854 -> 0.914; Google 0.852 -> 0.922; OpenAI 0.609 -> 0.767Improved
use element-wise Multiplication as composition function (ablation)all four embedding models · LADECcosine similarity: -0.038 (Google), -0.042 (Mistral), 0.001 (OpenAI), -0.610 (BERT)Hurt
replace Ridge Regression with a non-linear MLP (ablation)Google/Mistral/OpenAI Large embeddings · LADECcosine similarity: Mistral 0.914 -> 0.854; OpenAI 0.767 -> 0.673Hurt
use Weighted Addition or Dilation instead of Simple Addition (ablation)Google/Mistral/OpenAI Large embeddings · LADECcosine similarity: Mistral 0.854 -> 0.856; Google 0.852 -> 0.854No clear effect
switch from BERT (CLS, layer 12) to Google/Mistral/OpenAI embeddingsSimple Addition · LADECJS divergence: BERT 0.289 -> Mistral 0.829Improved
test on novel compounds (LADEC-NC) instead of existing compounds (ablation)Simple Addition, Mistral · LADEC-NCcosine similarity: 0.854 -> 0.862No clear effect
test novel compounds with Ridge Regression (ablation)Ridge Regression, Mistral · LADEC-NCcosine similarity: 0.914 -> 0.925No clear effect
test novel compounds with MLP (ablation)MLP, Mistral · LADEC-NCcosine similarity: 0.854 -> 0.827Hurt
tune Weighted Addition/Dilation parameters by gradient descent instead of grid search (ablation)Additive and Dilation models · LADECsimilarityImproved
use Simple Addition on adjective-noun compositions (SANC)Simple Addition · SANCcosine similarity: Google 0.921, Mistral 0.893, OpenAI Large 0.703, BERT 0.838Improved

Open problems in attention head mechanisms

Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy