cs.CLApr 8, 2026

Agent-Driven Corpus Linguistics: A Framework for Autonomous Linguistic Discovery

Authors: Jia Yu, Weiwei Yu, Pengfei Xiao, Fukun Xing

Organizations: Zhejiang International Studies University, Hangzhou, China · Tianjin University, Tianjin, China

Abstract

Corpus linguistics has traditionally relied on human researchers to formulate hypotheses, construct queries, and interpret results - a process demanding specialized technical skills and considerable time. We propose Agent-Driven Corpus Linguistics, an approach in which a large language model (LLM), connected to a corpus query engine via a structured tool-use interface, takes over the investigative cycle: generating hypotheses, querying the corpus, interpreting results, and refining analysis across multiple rounds. The human researcher sets direction and evaluates final output. Unlike unconstrained LLM generation, every finding is anchored in verifiable corpus evidence. We treat this not as a replacement for the corpus-based/corpus-driven distinction but as a complementary dimension: it concerns who conducts the inquiry, not the epistemological relationship between theory and data. We demonstrate the framework by linking an LLM agent to a CQP-indexed Gutenberg corpus (5 million tokens) via the Model Context Protocol (MCP). Given only "investigate English intensifiers," the agent identified a diachronic relay chain (so+ADJ > very > really), three pathways of semantic change (delexicalization, polarity fixation, metaphorical constraint), and register-sensitive distributions. A controlled baseline experiment shows that corpus grounding contributes quantification and falsifiability that the model cannot produce from training data alone. To test external validity, the agent replicated two published studies on the CLMET corpus (40 million tokens) - Claridge (2025) and De Smet (2013) - with close quantitative agreement. Agent-driven corpus research can thus produce empirically grounded findings at machine speed, lowering the technical barrier for a broader range of researchers.

Figures & tables

Explore similar work

CardsList
  1. GrepSeek: Training Search Agents for Direct Corpus Interaction

    May 28, 2026Alireza Salemi, Chang Zeng, Atharva Nijasure +4Tool-Augmented Language Model AgentsAgentic Search

  2. LLM Agents as Computational Typologists

    Sep 7, 2026Changbing Yang, Christopher Hammerly, Freda Shi +1LLM AgentsLinguistic Typology

  3. A large-scale pipeline for LLM-assisted corpus annotation: variation and change in the English consider construction

    Oct 14, 2025Cameron Morin, Matti Marttinen LarssonLLM-Assisted Annotation