Prompt text classifications with transformer models! An exemplary introduction to prompt-based learning with large language models

被引:12
作者
Mayer, Christian W. F. [1 ]
Ludwig, Sabrina [1 ]
Brandt, Steffen [2 ]
机构
[1] Univ Mannheim, Area Econ & Business Educ, Mannheim, Germany
[2] Opencampus Sh, Kiel, Germany
关键词
Artificial intelligence in education; machine learning; natural language processing; transformer-based language models; prompt-based learning; classification; AGREEMENT; PRIVACY;
D O I
10.1080/15391523.2022.2142872
中图分类号
G40 [教育学];
学科分类号
040101 ; 120403 ;
摘要
This study investigates the potential of automated classification using prompt-based learning approaches with transformer models (large language models trained in an unsupervised manner) for a domain-specific classification task. Prompt-based learning with zero or few shots has the potential to (1) make use of artificial intelligence without sophisticated programming skills and (2) make use of artificial intelligence without fine-tuning models with large amounts of labeled training data. We apply this novel method to perform an experiment using so-called zero-shot classification as a baseline model and a few-shot approach for classification. For comparison, we also fine-tune a language model on the given classification task and conducted a second independent human rating to compare it with the given human ratings from the original study. The used dataset consists of 2,088 email responses to a domain-specific problem-solving task that were manually labeled for their professional communication style. With the novel prompt-based learning approach, we achieved a Cohen's kappa of .40, while the fine-tuning approach yields a kappa of .59, and the new human rating achieved a kappa of .58 with the original human ratings. However, the classifications from the machine learning models have the advantage that each prediction is provided with a reliability estimate allowing us to identify responses that are difficult to score. We, therefore, argue that response ratings should be based on a reciprocal workflow of machine raters and human raters, where the machine rates easy-to-classify responses and the human raters focus and agree on the responses that are difficult to classify. Further, we believe that this new, more intuitive, prompt-based learning approach will enable more people to use artificial intelligence.
引用
收藏
页码:125 / 141
页数:17
相关论文
共 81 条
  • [51] Raffel Colin, 2020, J. Mach. Learn. Res., V21, P5485, DOI DOI 10.48550/ARXIV.1910.10683
  • [52] Ramineni C., 2012, ETS RES REPORT SERIE, V2012, pi, DOI 10.1002/j.2333-8504.2012.tb02288.x
  • [53] Rausch A., 2016, Unterrichtswissenschaft, V44, P169
  • [54] Rausch A, 2016, EMPIR RES VOCAT EDUC, V8, DOI 10.1186/s40461-016-0035-y
  • [55] Ensemble-based classifiers
    Rokach, Lior
    [J]. ARTIFICIAL INTELLIGENCE REVIEW, 2010, 33 (1-2) : 1 - 39
  • [56] Romera-Paredes Bernardino, 2015, P 32 INT C MACH LEAR, V37, P2152
  • [57] Sainz Oscar, 2021, P 11 GLOBAL WORDNET, P44
  • [58] Sanh V, 2019, PREPRINT
  • [59] Says U., 2021, NVIDIA TECHNICA 1011
  • [60] Scao T.L., 2021, PREPRINT