Linear Relational Decoding of Morphology in Language Models

Eric Xia, Jugal Kalita
7/19/2025
cs.CL

No confident code implementation found for this paper.

Abstract

A two-part affine approximation has been found to be a good approximation for transformer computations over certain subject object relations. Adapting the Bigger Analogy Test Set, we show that the linear transformation Ws, where s is a middle layer representation of a subject token and W is derived from model derivatives, is also able to accurately reproduce final object states for many relations. This linear technique is able to achieve 90% faithfulness on morphological relations, and we show similar findings multi-lingually and across models. Our findings indicate that some conceptual relationships in language models, such as morphology, are readily interpretable from latent space, and are sparsely encoded by cross-layer linear transformations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xia2025linear,
  title  = {Linear Relational Decoding of Morphology in Language Models},
  author = {Eric Xia and Jugal Kalita},
  year   = {2025},
  eprint = {2507.14640},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.14640v1}
}

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/2507.14640.svg)](https://codeofpaper.com/paper/2507.14640)

Discussion