cs.CLOct 22, 2026

POS-Signature Demonstration Retrieval for In-Context Dependency Parsing

Authors: Muhammad Azam Afridi, Rajab Ali, Marco Passarotti

Organizations: Università Cattolica del Sacro Cuore, Milan, Italy · University of Zaragoza, Zaragoza, Spain · Universidade NOVA de Lisboa, Lisbon, Portugal · Université libre de Bruxelles, Brussels, Belgium

Abstract

Demonstrations for in-context learning are often retrieved by semantic similarity, which may be a poor proxy for relevance in structured prediction. We study demonstration selection for Universal Dependencies parsing with a POS-signature policy that represents sentences with weighted part-of-speech statistics and retrieves three length-compatible, gold-parsed examples from the labeled training split. We evaluate two open-weight language models without fine-tuning on all 2,077 sentences of the UD English Web Treebank test set, comparing the policy with shot- and format-matched fixed and semantic three-shot baselines, as well as zero-shot, chain-of-thought, and critique-refinement systems. POS-signature retrieval yields the highest labeled attachment score among the tested prompting systems for both models (72.4 and 73.2), outperforming semantic retrieval by 1.9 and 2.7 points; paired-bootstrap 95% confidence intervals exclude zero for both contrasts. Chain-of-thought and refinement comparisons vary across models. These exploratory results favor the tested POS-signature retrieval approach on English-EWT. We release the prompts, archived outputs, and evaluation code.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Multi-Task Learning by using Contextualized Word Representations for Syntactic Parsing of a Morphologically Rich Language

    Sep 24, 2026Toqeer Ehsan, Miriam Butt, Sarmad Hussain +2Multi-Task LearningLow-Resource Language Processing

  2. THIVLVC: Retrieval Augmented Dependency Parsing for Latin

    Apr 7, 2026Luc Pommeret, Thibault Wagret, Jules DeretDependency ParsingLow-Resource Language Processing

  3. RAG-RST: Retrieved Exemplars as In-Context Discourse Schema for RST Parsing

    Oct 15, 2026Mohammadreza Sediqin, Shlomo Engelson ArgamonRetrieval-Augmented ICL