Towards Corpus-Grounded Agentic LLMs for Multilingual Grammatical Analysis

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Klemen, Matej, Arčon, Tjaša, Terčon, Luka, Robnik-Šikonja, Marko, Dobrovoljc, Kaja
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909933651361792
author Klemen, Matej
Arčon, Tjaša
Terčon, Luka
Robnik-Šikonja, Marko
Dobrovoljc, Kaja
author_facet Klemen, Matej
Arčon, Tjaša
Terčon, Luka
Robnik-Šikonja, Marko
Dobrovoljc, Kaja
contents Empirical grammar research has become increasingly data-driven, but the systematic analysis of annotated corpora still requires substantial methodological and technical effort. We explore how agentic large language models (LLMs) can streamline this process by reasoning over annotated corpora and producing interpretable, data-grounded answers to linguistic questions. We introduce an agentic framework for corpus-grounded grammatical analysis that integrates concepts such as natural-language task interpretation, code generation, and data-driven reasoning. As a proof of concept, we apply it to Universal Dependencies (UD) corpora, testing it on multilingual grammatical tasks inspired by the World Atlas of Language Structures (WALS). The evaluation spans 13 word-order features and over 170 languages, assessing system performance across three complementary dimensions - dominant-order accuracy, order-coverage completeness, and distributional fidelity - which reflect how well the system generalizes, identifies, and quantifies word-order variations. The results demonstrate the feasibility of combining LLM reasoning with structured linguistic data, offering a first step toward interpretable, scalable automation of corpus-based grammatical inquiry.
format Preprint
id arxiv_https___arxiv_org_abs_2512_00214
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Towards Corpus-Grounded Agentic LLMs for Multilingual Grammatical Analysis
Klemen, Matej
Arčon, Tjaša
Terčon, Luka
Robnik-Šikonja, Marko
Dobrovoljc, Kaja
Computation and Language
Empirical grammar research has become increasingly data-driven, but the systematic analysis of annotated corpora still requires substantial methodological and technical effort. We explore how agentic large language models (LLMs) can streamline this process by reasoning over annotated corpora and producing interpretable, data-grounded answers to linguistic questions. We introduce an agentic framework for corpus-grounded grammatical analysis that integrates concepts such as natural-language task interpretation, code generation, and data-driven reasoning. As a proof of concept, we apply it to Universal Dependencies (UD) corpora, testing it on multilingual grammatical tasks inspired by the World Atlas of Language Structures (WALS). The evaluation spans 13 word-order features and over 170 languages, assessing system performance across three complementary dimensions - dominant-order accuracy, order-coverage completeness, and distributional fidelity - which reflect how well the system generalizes, identifies, and quantifies word-order variations. The results demonstrate the feasibility of combining LLM reasoning with structured linguistic data, offering a first step toward interpretable, scalable automation of corpus-based grammatical inquiry.
title Towards Corpus-Grounded Agentic LLMs for Multilingual Grammatical Analysis
topic Computation and Language
url https://arxiv.org/abs/2512.00214