[Paper Review] Towards Automating Text Annotation: A Case Study on Semantic Proximity Annotation using GPT-4
This paper investigates automating semantic proximity annotation using GPT-4 by reusing human annotation guidelines and gold data to generate automatic prompts. Despite careful prompt design and parameter tuning, automatic prompting with full guidelines yields only moderate performance (Krippendorff’s α = 0.06), indicating that direct reuse of human instructions is insufficient for high-quality automation, and highlighting the critical role of prompt engineering and model configuration.
This paper explores using GPT-3.5 and GPT-4 to automate the data annotation process with automatic prompting techniques. The main aim of this paper is to reuse human annotation guidelines along with some annotated data to design automatic prompts for LLMs, focusing on the semantic proximity annotation task. Automatic prompts are compared to customized prompts. We further implement the prompting strategies into an open-source text annotation tool, enabling easy online use via the OpenAI API. Our study reveals the crucial role of accurate prompt design and suggests that prompting GPT-4 with human-like instructions is not straightforwardly possible for the semantic proximity task. We show that small modifications to the human guidelines already improve the performance, suggesting possible ways for future research.
Motivation & Objective
- To explore the feasibility of automating text annotation using GPT-4 by reusing human annotation guidelines and gold data.
- To compare automatic prompting strategies—derived from guidelines—against manually crafted, customized prompts.
- To implement and evaluate these strategies in an open-source annotation tool (PhiTag) via the OpenAI API for practical online use.
- To assess the impact of prompt modifications, fine-tuning, and model parameters (e.g., temperature) on annotation quality.
- To identify challenges in reusing human-like instructions for LLM-based annotation and suggest directions for future work.
Proposed method
- Automatic prompts were generated by extracting and reformatting human annotation guidelines and tutorial content for use with GPT-4.
- The study compared four prompting strategies: customized prompts, guidelines-only prompts, guidelines-plus-tutorial prompts, and fine-tuned models.
- Model inference was conducted using the GPT-4 API with hyperparameters such as temperature (optimized at 0.9) and top-p.
- Performance was evaluated using Krippendorff’s alpha (α) and percentage agreement against gold-standard annotations.
- The PhiTag annotation tool was extended to support automatic prompting via the OpenAI API, enabling one-click online annotation.
- Label distribution analysis was performed to assess whether models preserved the overall class distribution of the gold data.
Experimental results
Research questions
- RQ1Can GPT-4 be effectively prompted using only human annotation guidelines to achieve high-quality semantic proximity annotations?
- RQ2How does automatic prompting based on guidelines compare to manually crafted, customized prompts in terms of annotation reliability?
- RQ3What impact do model hyperparameters like temperature and top-p have on the performance of GPT-4 in semantic proximity annotation?
- RQ4Does fine-tuning GPT-4 on annotated data improve its performance in this zero-shot prompting setup?
- RQ5To what extent do automatic prompts that include full guidelines or tutorials affect annotation quality and cost efficiency?
Key findings
- Automatic prompting using only human annotation guidelines yielded a mean Krippendorff’s alpha of 0.06 and 32% agreement, indicating only modest performance.
- Adding tutorial content to guidelines improved performance slightly, achieving a mean Krippendorff’s alpha of 0.06 and 32% agreement, but still fell short of acceptable standards.
- Customized prompts outperformed all automatic strategies, achieving a mean Krippendorff’s alpha of 0.25 and 28% agreement, suggesting that tailored instructions are more effective.
- Fine-tuning GPT-4 led to a significant performance drop, indicating that fine-tuning may not be beneficial when using the same data for both fine-tuning and inference in this setup.
- A temperature setting of 0.9 yielded optimal results, while lower values degraded performance, highlighting the sensitivity of GPT-4 to hyperparameter configuration.
- All models, including the zero-shot customized prompt model, preserved the overall label distribution of the gold data, suggesting robustness in class distribution recovery despite low absolute agreement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.