Goldsmith: Gold-Loss-Guided Definition Optimization with an Agentic Annotation Harness

Yihan Li, Hanyi Zhang, Xiaoxi Jiang, Man Guo


Abstract
Many annotation projects begin before experts have a stable guideline or enough labels to train a task-specific model. We present Goldsmith, an agentic pipeline that turns a small gold set—expert-annotated calibration examples representing the intended task boundaries—into a reusable structured annotation definition. Goldsmith treats this definition as a trainable textual object. Candidate definitions are run on the same gold examples and scored with an executable structured loss, while the output schema, formatting, retrieval, repair, judging, and human review remain in an external harness. An LLM editor converts the highest-loss failures into textual-gradient revisions, which are accepted only when the measured loss decreases. In prompt-optimization comparisons, Goldsmith improves over direct rewriting, OPRO, APE, and PromptBreeder under matched evaluation protocols. The resulting definition also improves downstream annotation when combined with retrieval, score-based routing, and human review across typed span, pair-level relation, and fixed-trigger event-argument tasks. These results show that scarce expert supervision can support both task-definition learning and scalable annotation.
Anthology ID:
2026.emnlp-main.1961
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
44658–44677
Language:
URL:
https://aclanthology.org/2026.emnlp-main.1961/
DOI:
Bibkey:
Cite (ACL):
Yihan Li, Hanyi Zhang, Xiaoxi Jiang, and Man Guo. 2026. Goldsmith: Gold-Loss-Guided Definition Optimization with an Agentic Annotation Harness. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 44658–44677, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Goldsmith: Gold-Loss-Guided Definition Optimization with an Agentic Annotation Harness (Li et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.1961.pdf