Encoding and Propagation of Grammatical Number in Large Language Models
Researchers used sparse autoencoders to examine how Pythia-70M represents grammatical number and influences verb agreement. They found that manipulating features linked to plural subjects could switch verb forms, with similar results in Gemma-2-2b and Llama-3.1-8b.
AI-generated summary based on the headline and feed excerpt.
Researchers used sparse autoencoders to study how language models represent number agreement, according to arXiv cs.AI. The work examines Pythia-70M, a model with 70 million parameters, and identifies features associated with plural nouns, plural subjects, and producing plural verbs. The authors report that modifying these features in the model’s hidden states can alter whether it generates plural or singular verb forms.
The effect was uneven: removing plural-related features could lead the model to produce singular verbs, while corresponding singular features were less effective at prompting plural forms. The researchers say similar patterns appeared in tests with Gemma-2-2b and Llama-3.1-8b. They present the work as a method for using sparse autoencoders to investigate how models encode grammatical structure. Why it matters: mapping internal language features can help researchers study how SI systems represent and process grammar.
Written by SINN with AI assistance from arXiv cs.AI's reporting.
Originally reported by arXiv cs.AI
Read the full story at arXiv cs.AI