POS-Signature Demonstration Retrieval for In-Context Dependency Parsing
Muhammad Azam Afridi, Rajab Ali, Marco Passarotti
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Verifiable but Not Predictable: What Sentence Embeddings Know About Propositional DecompositionarXiv · 2026
- Causal Syntax Circuits in CodeLMs: Budget and Probe Decide What Looks LocalisedarXiv · 2026
- From Copying to Composition: How Language Models Develop In-Context LearningarXiv · 2026
- Xing USP: A Cross-Family Semantic Contract for Information Extraction and Intent-Slot ParsingarXiv · 2026
- Paraphrase Consensus Is Not Self-Consistency: Instruction Reliance and Robustness in VLA PoliciesarXiv · 2026
- How Many Examples, and Which Ones? A Study of In-Context Learning for Natural Language InferencearXiv · 2026