Pith. sign in

REVIEW 1 cited by

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

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1808.08079 v3 pith:FK5RK5H7 submitted 2018-08-24 cs.CL cs.AI

classification cs.CLcs.AI
keywords informationlanguageagreementclassifiersdiagnosticmodelmodelsnumber
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

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

  1. StructFormer: Document Structure-based Masked Attention and its Impact on Language Model Pre-Training

    cs.CL 2024-11 conditional novelty 4.0 of 10

    Using section headers as global attention tokens during masked-language-model pretraining improves downstream document-structure tasks such as SciREX salient clustering, with no clear drop on GLUE.

Pith tools