Skip to main content
QUICK REVIEW

[论文解读] Enhancing Text Classification through LLM-Driven Active Learning and Human Annotation

Hamidreza Rouzegar, Masoud Makrehchi|arXiv (Cornell University)|Jun 17, 2024
Mathematics, Computing, and Information ProcessingComputer Science被引用 3
一句话总结

本文提出了一种混合主动学习框架,根据模型不确定性动态选择 GPT-3.5 或人工标注者,显著降低了文本分类任务的标注成本,同时在三个基准数据集上保持或提升了分类准确率。该方法利用置信度阈值将低置信度预测路由至人工标注,实现了与纯人工标注相当的高效性能。

ABSTRACT

In the context of text classification, the financial burden of annotation exercises for creating training data is a critical issue. Active learning techniques, particularly those rooted in uncertainty sampling, offer a cost-effective solution by pinpointing the most instructive samples for manual annotation. Similarly, Large Language Models (LLMs) such as GPT-3.5 provide an alternative for automated annotation but come with concerns regarding their reliability. This study introduces a novel methodology that integrates human annotators and LLMs within an Active Learning framework. We conducted evaluations on three public datasets. IMDB for sentiment analysis, a Fake News dataset for authenticity discernment, and a Movie Genres dataset for multi-label classification.The proposed framework integrates human annotation with the output of LLMs, depending on the model uncertainty levels. This strategy achieves an optimal balance between cost efficiency and classification performance. The empirical results show a substantial decrease in the costs associated with data annotation while either maintaining or improving model accuracy.

研究动机与目标

  • 降低文本分类任务中人工标注训练数据的高昂成本。
  • 将 GPT-3.5 等大语言模型(LLMs)与人工标注者整合到主动学习流程中。
  • 开发一种基于不确定性评分的动态标注策略,以在 LLM 和人工标注者之间进行选择。
  • 在真实世界定价场景下评估成本效率与分类准确率之间的权衡。
  • 验证代理验证作为未标注数据池质量指标的可靠性。

提出的方法

  • 该框架基于 GPT-3.5 的置信度分数采用不确定性采样,以识别最具有信息量的待标注样本。
  • 将置信度低于阈值(IMDB 为 70%,Movie Genres 和 Fake News 为 80%)的样本路由至人工标注者;置信度较高的样本则由 GPT-3.5 标注。
  • 混合标注策略结合了 GPT-3.5 的预测结果与人工验证的标签,在基于池的主动学习设置中迭代更新模型。
  • 使用代理验证来通过评估一个小型代表性子集,估计剩余未标注数据池的质量。
  • 该方法采用真实世界定价模型,比较 GPT-3.5 纯标注、人工纯标注和混合标注策略的成本效率。
  • 针对不同数据集调整置信度阈值,以在不确定性、错误率和标注成本之间取得平衡,IMDB 和 Movie Genres 约有 10–15% 的数据被路由至人工标注。
Figure 1: F1 Score Progression from 2% to 52% Training Data Portions in the Fake News Dataset. This figure visualizes the evolution of F1 scores across different training data portions, ranging from 2% to 52%, for various annotation methods, including GPT-only, Hybrid models, Human-only, Few-shot le
Figure 1: F1 Score Progression from 2% to 52% Training Data Portions in the Fake News Dataset. This figure visualizes the evolution of F1 scores across different training data portions, ranging from 2% to 52%, for various annotation methods, including GPT-only, Hybrid models, Human-only, Few-shot le

实验结果

研究问题

  • RQ1通过基于不确定性的路由机制将 GPT-3.5 与人工标注者结合,如何影响文本分类的准确率和成本效率?
  • RQ2GPT-3.5 的置信度分数在多大程度上可作为主动学习中不确定性的可靠代理?
  • RQ3代理验证在估计未标注数据池质量方面的有效性如何?
  • RQ4在不同文本分类任务中,将样本在 LLM 和人工标注者之间路由的最优置信度阈值是什么?
  • RQ5该混合方法是否能在准确率-成本权衡上超越 GPT-3.5 纯标注和人工纯标注策略?

主要发现

  • 混合方法在 IMDB 数据集上实现了与人工纯标注相当的 F1 分数(例如,IMDB 上为 0.9796),同时将标注成本降低至人工纯标注基线的极小部分。
  • 在 IMDB 数据集上,GPT-3.5 纯标注在标注 50% 数据时达到 F1 分数 0.9629,成本为 2.3015;而人工纯标注在相同数据点的成本为 4.8915。
  • 对于低置信度预测(IMDB 上低于 70%),GPT-3.5 的错误率上升至近 50%,验证了置信度作为不确定性代理的可靠性。
  • 代理验证方法与实际数据池质量表现出强烈相关性,F1 分数差异极小,表明其在监控数据质量方面具有可靠性。
  • IMDB 上的 Hybrid 80 模型和 Movie Genres 上的 Hybrid 90 模型在显著更低的成本下实现了高准确率,展现出强大的成本效率。
  • 所有结构化标注策略(包括混合策略)在所有指标上均优于随机采样,尤其在训练数据从 2% 增加到 52% 时表现更优。
Figure 2: Cost per F1 Score Analysis During Iterative Training Data Increments in the Fake News Dataset. This figure illustrates the cost efficiency (cost per F1 score) for different annotation strategies as the training data portion increases from 2% to 52%. It compares the cost-effectiveness of GP
Figure 2: Cost per F1 Score Analysis During Iterative Training Data Increments in the Fake News Dataset. This figure illustrates the cost efficiency (cost per F1 score) for different annotation strategies as the training data portion increases from 2% to 52%. It compares the cost-effectiveness of GP

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。