Do Large Language Models know who did what to whom?

Joseph M. Denning, Xiaohan Hannah Guo, Bryor Snefjella, Idan A. Blank
4/23/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) are commonly criticized for not understanding language. However, many critiques focus on cognitive abilities that, in humans, are distinct from language processing. Here, we instead study a kind of understanding tightly linked to language: inferring who did what to whom (thematic roles) in a sentence. Does the central training objective of LLMs-word prediction-result in sentence representations that capture thematic roles? In two experiments, we characterized sentence representations in four LLMs. In contrast to human similarity judgments, in LLMs the overall representational similarity of sentence pairs reflected syntactic similarity but not whether their agent and patient assignments were identical vs. reversed. Furthermore, we found little evidence that thematic role information was available in any subset of hidden units. However, some attention heads robustly captured thematic roles, independently of syntax. Therefore, LLMs can extract thematic roles but, relative to humans, this information influences their representations more weakly.

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!

Cite this paper

@article{denning2025large,
  title  = {Do Large Language Models know who did what to whom?},
  author = {Joseph M. Denning and Xiaohan Hannah Guo and Bryor Snefjella and Idan A. Blank},
  year   = {2025},
  eprint = {2504.16884},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.16884v2}
}

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

Discussion