Reproduce “Emergent Semantic Role Understanding in Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Carla Griffiths, Mirco Musolesi
The authors test whether next-token pre-training encodes semantic roles—who did what, to whom, when, or where—in four WikiText-103-trained transformers. A trained reader extracts roles from frozen representations, while token embeddings and its answer head are also trained. On QA-SRL, Tiny scores 36.4% versus 24.2% for random and 44.6% after fine-tuning: pre-training contributes partial information, and training improves performance.
Key insights
- Frozen probes achieve 36.4–44.7% F1 versus 24.2–26.1% for random baselines, showing that pre-training alone encodes usable role information, including in the smallest model; however, full fine-tuning reaches 44.6–65.8% F1 and supplies increasingly larger improvements with scale.
- Fine-tuning primarily reorganizes deeper layers, and the layer containing the strongest probe signal shifts later in the network as models grow, suggesting that semantic information is processed at progressively deeper stages.
- Role features are only partly localized: Agent representations cluster most clearly, while larger models distribute information across more components. Ablating Agent-selective neurons hurts small models but improves Agent F1 by up to 14.4 points in the Medium model, whereas Time-related ablations consistently reduce performance by 2.4–4.9 points.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.