Divergent large language model predictions from convergent representations in ambiguous word pairs

K. Jack Scott, Narun Pat, Veronica Liesaputra
8/3/2026
cs.CL

No confident code implementation found for this paper.

Abstract

In this work we investigate how decoder-only transformers resolve lexical ambiguity through layer-by-layer analysis of three models spanning three parameter sizes (GPT-2-Small-117M, Llama-3.2-3B, Qwen2.5-32B). For both homonyms and polysemes, we find that representations become maximally distinct in middle layers, then partially reconverge in late layers, while the KL divergence between their next-token predictions reaches its maximum in the final layers.

Show full abstract

The activation patching experiment provides causal evidence that late-layer representational differences directly determine outputs despite apparent increased similarity in embedding space. Our single-layer ablation experiment indicates that models achieve equivalent disambiguation despite qualitatively different layer-wise vulnerabilities. These findings offer a mechanism for recent observations where models' internal embedding similarities show low correlation with their behavioural outputs despite strong performance. The semantic distinctions therefore remain present but become increasingly invisible to similarity measures over the embeddings, with implications for embedding-based methods such as semantic search, retrieval, and clustering that rely on late-layer cosine similarity.

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{scott2026divergent,
  title  = {Divergent large language model predictions from convergent representations in ambiguous word pairs},
  author = {K. Jack Scott and Narun Pat and Veronica Liesaputra},
  year   = {2026},
  eprint = {2608.01816},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.01816v1}
}

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

Discussion