Verb-ICL: Rethinking In-Context Learning for Structured Prediction

Fan Bai, Hengshuo Miao, Sanjit Singh Batra, Hamid Hassanzadeh, Ardavan Saeedi, Mark DredzeCOLM 2026

TL;DR

VERB-ICL (Verbalized In-Context Learning) significantly boosts Large Language Model (LLM) performance on structured prediction tasks by rethinking both which examples to annotate and what those annotations should contain. By combining a token-level coverage strategy for example selection with natural language error feedback, the method helps models navigate complex task schemas and human-defined conventions with far fewer labeled examples.

What Problem Does This Paper Address?

Structured prediction tasks—like extracting specific entities from medical text or parsing natural language into database queries—are notoriously difficult for few-shot In-Context Learning (ICL). These tasks suffer from two main hurdles:

  1. Fine-grained Context: Unlike simple classification, structured prediction happens at the sub-sentence level. Standard example selection methods often use sentence-level embeddings, which are too "blurry" to capture the specific local patterns (like entity boundaries) that the model needs to learn.
  2. Arbitrary Conventions: Tasks often follow specific human-defined rules (e.g., "should this adjective be part of the entity span?") that aren't easily inferred from just a few input-output pairs.

Current selective annotation methods treat LLMs as statistical predictors, missing out on their greatest strength: the ability to follow natural language instructions and learn from explanations.

Methods

The authors propose VERB-ICL, a two-stage pipeline designed to maximize the utility of a fixed annotation budget:

  1. Coverage-driven Selection: Instead of looking at global sentence similarity, VERB-ICL uses a token-level coverage strategy. It selects a subset of examples from an unlabeled pool that collectively provides the best "coverage" of the contextual token embeddings found in the entire pool. This ensures the model sees a diverse range of local semantic patterns.
  2. Error Feedback Generation: This is the "Verbalized" component. The authors use a "leave-one-out" strategy on the selected examples. They prompt the LLM to predict the output for one selected example using the others as demonstrations. If the model makes a mistake, a stronger LLM (like GPT-4) is prompted to generate a "Note"—a natural language explanation of the error and an actionable rule to avoid it in the future.

During test-time inference, these notes are included alongside their corresponding demonstrations in an "Input-Notes-Output" format, providing the model with explicit guidance on tricky task conventions.

Overview of VERB-ICL: Step 1 selects representative examples via token coverage; Step 2 generates textual feedback from model errors to guide future predictions.

Datasets

The method was evaluated across six diverse datasets spanning two major task types:

  • Information Extraction (IE): NCBI (Disease NER), TweetNER7 (Twitter NER), and PHEE (Medical Event Argument Extraction).
  • Semantic Parsing (SP): GeoQuery (US Geography queries), ATIS (Airline travel queries), and MTOP (Task-oriented semantic frames).

The experiments utilized both proprietary models (GPT-4o-mini) and open-source models (Qwen2.5-7B).

Key Insights and Ideas

  • Unit of Selection Matters: The unit of prediction in these tasks is sub-sentence. By shifting selection to the token level, the authors found they could capture compositional patterns that sentence-level embeddings miss.
  • Feedback as a "Style Guide": The generated feedback acts like a mini-instruction manual. For example, a note might say: "Only include the core disease term... exclude preceding descriptive adjectives." This codifies conventions that are otherwise invisible in raw data.
  • Fixing Logic, Not Just Labels: In semantic parsing, the authors found that most errors were "structural" (invalid logic or syntax). VERB-ICL was particularly effective at reducing these structural violations compared to standard baselines.
  • Orthogonality: The benefits of error feedback were found to be orthogonal to the selection strategy; adding feedback improved performance even when using simpler selection methods like Random or K-Means.

Key Results

  • Consistent Superiority: VERB-ICL consistently outperformed seven strong selective annotation baselines (including vote-k and IDEAL) across all datasets and annotation budgets (from 16 to 512 examples).
  • Efficiency: On the NCBI dataset, VERB-ICL achieved an F1 score of 75.1 using only 512 labeled instances, coming remarkably close to the 77.7 F1 achieved by using the full training set of over 5,000 examples.
  • Human-Verified Utility: A manual audit of the generated feedback revealed that 87–100% of the notes were considered "useful" (either concrete actionable rules or helpful general guidelines).
  • Cost-Effectiveness: Despite requiring extra LLM calls to generate feedback, VERB-ICL is often cheaper than graph-based selection methods because it only performs inference on the small selected subset rather than the entire unlabeled pool.

Limitations and Future Work

  • Feedback Filtering: The current implementation incorporates all generated feedback without filtering. The authors noted that a small percentage of feedback can be "vague" or "misdiagnosed." Developing automated filters to prune these could further improve results.
  • Knowledge Cutoffs: While the authors tested for data contamination and found the method robust, the reliance on a "teacher" model to generate feedback means the system's ceiling is somewhat tied to the teacher's reasoning capabilities.
  • Task Scope: The study focused on sub-sentence structured prediction. Future work could explore how this "verbalized" approach scales to long-form document extraction or more open-ended generative tasks.

Summary updated

BibTeX
@inproceedings{bai2026verb,
  author = {Fan Bai and Hengshuo Miao and Sanjit Singh Batra and Hamid Hassanzadeh and Ardavan Saeedi and Mark Dredze},
  title = {{Verb-ICL: Rethinking In-Context Learning for Structured Prediction}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=tFzy1rYHAH},
}
Figure