pith. sign in

arxiv: 1808.08079 · v3 · pith:FK5RK5H7new · submitted 2018-08-24 · 💻 cs.CL · cs.AI

Under the Hood: Using Diagnostic Classifiers to Investigate and Improve how Language Models Track Agreement Information

classification 💻 cs.CL cs.AI
keywords informationlanguageagreementclassifiersdiagnosticmodelmodelsnumber
0
0 comments X
read the original abstract

How do neural language models keep track of number agreement between subject and verb? We show that `diagnostic classifiers', trained to predict number from the internal states of a language model, provide a detailed understanding of how, when, and where this information is represented. Moreover, they give us insight into when and where number information is corrupted in cases where the language model ends up making agreement errors. To demonstrate the causal role played by the representations we find, we then use agreement information to influence the course of the LSTM during the processing of difficult sentences. Results from such an intervention reveal a large increase in the language model's accuracy. Together, these results show that diagnostic classifiers give us an unrivalled detailed look into the representation of linguistic information in neural models, and demonstrate that this knowledge can be used to improve their performance.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention

    cs.CL 2026-05 unverdicted novelty 7.0

    FLAS learns a multi-step velocity field v_t(h,t,c) to steer activations, outperforming prompting with harmonic means of 1.015 and 1.113 on two Gemma models without per-concept tuning.

  2. Probing for Representation Manifolds in Superposition

    cs.LG 2026-05 unverdicted novelty 5.0

    Introduces the Manifold Probe to discover representation manifolds in superposition and demonstrates causal steering on time concepts in Llama 2-7b.