ABDN-NLP at CoMeDi Shared Task: Predicting the Aggregated Human Judgment via Weighted Few-Shot Prompting

Ying Xuan Loke, Dominik Schlechtweg, Wei ZhaoCOLING 2025

TL;DR

This paper tackles the challenge of automatically predicting human judgments on the semantic similarity of word meanings in different contexts. The authors propose a "weighted few-shot prompting" technique for large language models (LLMs) that prioritizes learning from more important or difficult examples, leading to better predictions than standard prompting methods. This work is crucial for improving the efficiency and reliability of creating high-quality datasets for NLP tasks.

What Problem Does This Paper Address?

Creating high-quality datasets for Natural Language Processing (NLP) often relies on human annotators to label word meanings and their relationships. However, human judgment is inherently subjective, leading to disagreements and inconsistencies. This makes it difficult to create reliable "gold-standard" labels, which can then impact the performance of machine learning models trained on them. While aggregating multiple human judgments can mitigate some of these issues, understanding why disagreements occur and how to predict these aggregated judgments more effectively is still a challenge.

The CoMeDi shared task specifically aims to address this by focusing on predicting two aspects of human annotation for semantic proximity between word uses: (1) the aggregated judgment (e.g., the median rating) and (2) the variation in judgments (i.e., the level of disagreement). This paper focuses on the first subtask: predicting the aggregated human judgment.

Methods

The core of this paper's contribution lies in its novel prompting strategy for LLMs, specifically GPT-4o-mini. They build upon existing "zero-shot" prompting (where the LLM is given instructions but no examples) and "standard few-shot" prompting (where the LLM is given a small number of diverse examples).

Their proposed method is weighted few-shot prompting. The key idea is that not all proximity classes (e.g., "unrelated," "distantly related," "closely related," "identical") are equally important or easy for the LLM to learn. Based on observations from development data, they found that some classes are more frequent, while others are more difficult for the model to predict accurately.

The weighted few-shot approach addresses this by:

  1. Computing Class Importance: They estimate the importance of each judgment class in two ways:
  2. Frequency: Based on how often each class appears in the development data.
  3. Difficulty: Based on the model's performance (inverted F1 score) on each class in the development data.
  4. Weighted Sampling: They then sample examples for fine-tuning the LLM from the development set, giving more weight to examples from classes deemed more important. This ensures the LLM pays greater attention to learning these crucial distinctions.

Datasets

The experiments were conducted on datasets from the CoMeDi shared task, which comprises data for seven languages: Chinese, English, German, Norwegian, Russian, Spanish, and Swedish. These datasets were compiled from various publicly available sources and supplemented with unpublished data. Each dataset is split into training, development, and test sets. The paper notes that these datasets exhibit class imbalance, meaning some judgment classes are more represented than others.

Key Insights and Ideas

  • LLMs are powerful for annotation: Even a zero-shot approach using LLMs can achieve competitive results compared to baseline methods that rely on traditional models and training data.
  • Not all examples are created equal: The distribution of classes in the training data matters. Simply providing a balanced set of examples in few-shot learning might not be optimal if some classes are inherently more difficult or more important for accurate prediction.
  • Prioritizing learning: The "weighted few-shot" approach, by intelligently selecting examples based on class importance (frequency or difficulty), significantly improves performance. This highlights the value of incorporating insights from development data into the prompting strategy.
  • Language-specific challenges: The model struggles more with certain languages (e.g., Norwegian and Chinese), suggesting that language-specific nuances or data characteristics can impact LLM performance.

Key Results

The paper reports that their weighted few-shot approach (using frequency weighting) achieved the best performance on average across the tested setups, outperforming both zero-shot and standard few-shot methods. Specifically, the weighted few-shot approach using frequency achieved an average Krippendorff's $\alpha$ score of 0.499, compared to 0.388 for zero-shot and 0.403 for standard few-shot. The weighted approach using difficulty also showed improvement over standard few-shot but was slightly less effective than frequency weighting.

While their approach is competitive, it still lags behind a "deep-change" system that was fine-tuned on a much larger dataset (300-500 times larger than the few-shot examples provided).

Limitations and Future Work

The authors acknowledge several limitations:

  • Reliance on development sets: The weighted approach relies on development sets to determine class importance. If the distribution of class importance differs significantly in real-world scenarios or test sets, the performance gains might diminish.
  • Class rarity: While prioritizing difficult classes can be beneficial, it might not be useful if those classes are very rare in the test set.
  • LLM variability: The findings are based on GPT-4o-mini and might differ with other LLMs.
  • Suboptimal performance: The system is described as suboptimal because it doesn't fine-tune on the full training data and uses a relatively smaller model.

Future work could explore:

  • Alternative difficulty estimation methods: Investigating other entropy-based measures for class difficulty.
  • Combining factors: Developing a more sophisticated approach that combines both class frequency and difficulty.
  • Stronger LLMs and more data: Utilizing more advanced LLMs and fine-tuning on larger datasets.
  • Cleaning datasets: Improving the quality of the input data.

Summary updated

BibTeX
@inproceedings{loke2025abdn,
  author = {Ying Xuan Loke and Dominik Schlechtweg and Wei Zhao},
  title = {{ABDN-NLP at CoMeDi Shared Task: Predicting the Aggregated Human Judgment via Weighted Few-Shot Prompting}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
}

Loading related content...

Figure