atlas

Research map / Architectures and efficiency / Attention and transformers

The Structure of Relation Decoding Linear Operators in Large Language Models

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Efficient language transformers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that collections of linear relation decoders in GPT-J and other LLMs can be compressed by order-3 tensor networks and that they organize into shared coarse-grained property extractors rather than relation-specific maps.

Problem

Linear relational embedding (LRE) decoders for individual relations are known to work, but their collective structure, redundancy, and generalization to new relations in transformer LLMs are not understood.

Approach

Stack many relation decoder matrices as an order-3 tensor and compress them with small tensor networks trained end-to-end on the LM task loss; introduce a cross-evaluation protocol (applying each relation's decoder to other relations' subjects) as an empirical semantic similarity measure, revealing property-based rather than relation-specific organization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use an order-3 tensor network to represent the relation decoders collectivelyGPT-J relation decoders · Dataset of [cite], compression experimentmean faithfulnessHelped
Omit the additional relation embedder (ablation)Order-3 tensor network · Dataset of [cite], compression experimentmean faithfulnessHelped
Add an additional relation embedder (ablation)Tensor network · Extended dataset, relation-wise generalizationfaithfulnessNo clear effect
Replace semantic relation embeddings with randomized relation representations (ablation)Tensor network · Mathematical dataset, held-out subject-object pairsfaithfulnessHurt
Replace semantic relation embeddings with randomized relation representations (ablation)Tensor network · Mathematical dataset, training examplesfaithfulnessNo clear effect
Replace subject and object embeddings with fixed random vectors (ablation)Tensor network · Mathematical dataset, training and held-out pairsfaithfulnessHurt
Train on mathematical relations with a tensor networkGPT-J relation decoders · Mathematical dataset, test setfaithfulnessHelped
Use tensor-network relation decoders for sample-wise generalizationGPT-J relation decoders · Extended dataset, sample-wise testmean faithfulness: 0.30 -> 0.42Helped
Generalize to held-out relations using the tensor networkGPT-J relation decoders · Extended dataset, relation-wise testfaithfulnessMixed
Use tensor-network decoders across semantically related relationsGPT-J relation decoders · Extended dataset, cross-evaluationfaithfulnessHelped

Surprising findings

Limitations

Experimental setup

Datasets: Dataset of Hernandez et al. 2023 (47 relations) Extended dataset (79 relations) Mathematical dataset (50 arithmetic relations)

Benchmarks: Dataset of Hernandez et al. 2023 (47 relations) Extended dataset (79 relations) Mathematical dataset

Metrics: faithfulness (top-1 object token accuracy) parameter count

Baselines: Individually trained low-rank LRE matrices Jacobian-based LRE decoder (Hernandez et al. 2023) Majority-guess baseline

Builds on: Linear Relational Embedding (Hernandez et al. 2023) Jacobian-based LRE approximation

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