The Structure of Relation Decoding Linear Operators in Large Language Models

Miranda Anna Christ, Adrián Csiszárik, Gergely Becsó, Dániel Varga
10/30/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: renyi-ai/structrels (2 stars, MIT, last commit 2026-01-02).

Abstract

This paper investigates the structure of linear operators introduced in Hernandez et al. [2023] that decode specific relational facts in transformer language models. We extend their single-relation findings to a collection of relations and systematically chart their organization. We show that such collections of relation decoders can be highly compressed by simple order-3 tensor networks without significant loss in decoding accuracy. To explain this surprising redundancy, we develop a cross-evaluation protocol, in which we apply each linear decoder operator to the subjects of every other relation. Our results reveal that these linear maps do not encode distinct relations, but extract recurring, coarse-grained semantic properties (e.g., country of capital city and country of food are both in the country-of-X property). This property-centric structure clarifies both the operators' compressibility and highlights why they generalize only to new relations that are semantically close. Our findings thus interpret linear relational decoding in transformer language models as primarily property-based, rather than relation-specific.

View on arXivView PDF

Code Implementations(1)

MIT

The Structure of Relation Decoding Linear Operators in Large Language Models

21Shell, PythonJan 2, 20269 months agoMIT

Similar Papers

Cite this paper

@article{christ2025structure,
  title  = {The Structure of Relation Decoding Linear Operators in Large Language Models},
  author = {Miranda Anna Christ and Adrián Csiszárik and Gergely Becsó and Dániel Varga},
  year   = {2025},
  eprint = {2510.26543},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.26543v1},
  journal = {NEURIPS 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.26543.svg)](https://codeofpaper.com/paper/2510.26543)

Discussion