Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "Zero-shot prompt-based classification".
Paper summary: Tom: So, to wrap up this paper, "Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets," we're talking about how you can label topics on tweets just by writing instructions to a large model without any training examples.
Jane: It really boils down to taking the power of these big language models and just using very specific text, instead of needing mountains of labeled data from humans to teach them what a topic is.
Lu: The authors are showing that this approach can get performance almost as good as a model you spend weeks fine-tuning, especially when they use a really detailed instruction set.
Meng: From my perspective at the startup level, this means if we have new data streams coming in and we can nail down the right prompt, we might be able to skip the massive cost of creating those training datasets entirely.
Lalam: The core finding is that how much detail you pack into that instruction set directly affects how well the AI performs on a task, and larger models really lean into that extra detail <ref:2406.18239#pg8>.
Tom: It’s interesting because they show this works even in a tough language like German, which usually makes these zero-shot methods struggle.
Jane: And they found that giving the model a condensed version of an entire annotation handbook actually helps performance more than just naming the tasks or giving a short description.
Lu: That correlation between prompt detail and performance is what really drives the research; it proves that you can guide these foundation models effectively through text alone.
Meng: So, if we're talking about real deployment, the point is that we don't need to build custom labeled datasets for every single new labeling job anymore.
Tom: Exactly. It’s moving toward a world where the bottleneck isn't data collection; it’s just getting the prompt engineering right.
Jane: And they also touched on some big challenges, like how these models can sometimes make things up when they don't know what to say or get confused by symbols.
Lu: They point out that while zero-shot works well, the black box nature of prompts makes it hard to see exactly why a model chose one answer over another.
Lalam: So, while the results are promising for scaling up annotation speed, we still have to watch out for those inconsistencies and when the model starts hallucinating topics.
Conclusion: Tom: So we're wrapping up this look at "Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets." It’s basically an assessment of whether you can get a big language model to label things just by giving it written instructions, without any pre-trained examples.
Jane: The authors are essentially testing if this text-to-text method can work for annotating German tweets about social and political crises, using guidelines instead of training data.
Lu: They compared this zero-shot method against a few things: a baseline Naive Bayes classifier, a BERT model that they fine-tuned, and instruction-tuned models based on T5.
Meng: The key comparison here is seeing if the prompt approach can match the performance of that fine-tuned BERT without needing any of that expensive labeled training data.
Lalam: The main finding is that the performance jumps significantly when you give the model a really detailed instruction set, and larger models really benefit from being given more information in those instructions.
Tom: They show a clear link between how much detail in the task description you include and how much better things get as you use a bigger model.
Jane: This suggests that prompt engineering itself is becoming a very important skill, almost replacing some of the traditional training work for these annotation tasks.
Lu: They also point out some new problems with these models, like they can start making up topics they weren't asked for, or get inconsistent when you ask them to do different things in the same prompt.
Meng: For us at the startup level, this means if we can nail down a good instruction set for a new data stream quickly, we might bypass a huge chunk of the work needed to build those training sets from scratch.
Tom: Exactly. The paper highlights that it's shifting the focus away from just finding more labeled data and toward crafting better instructions for these foundation models.
Jane: And while the zero-shot approach works well, they also make sure to mention that giving the model a few examples, something called few-shot learning, could even improve those results further.
Lu: That’s where the next step in this research lies; figuring out how adding specific examples into those prompts can boost performance even more on these complex labeling tasks.
University of Trier
cs.CL, cs.AI
Submitted: 2024-06-26
Updated: 2024-06-26
Comments: 10 pages, 2 tables, 1 figure
Journal ref: ACL SRW 2025
DOI: 10.18653/v1/2025.acl-srw.4
Project page: https://www
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 69/100
The gist: Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets is an assessment of whether text-to-text interfaces given written guidelines without providing…
Key concepts
- Zero-shot prompt-based classification
- This technique uses written instructions (prompts) to tell a large language model what task to perform, without providing any specific examples or training data for that task. It relies entirely on the model's existing knowledge and its ability to understand the provided text guidelines.
- Fine-tuned BERT
- BERT is a powerful pre-trained language model that can be adapted (fine-tuned) using specific, labeled data for a particular task. The study compared zero-shot prompting against this method to see if the instruction-based approach could match the performance of a model specifically trained on annotated examples.
- Prompt Engineering Levels
- This refers to varying the amount of detail in the written instructions given to the AI. The researchers tested four levels, ranging from very vague descriptions to including a condensed version of an entire annotation handbook, showing how much guidance helps the model perform better.
- Hallucinations and Inconsistencies
- These are problems where large language models generate incorrect or fabricated information (hallucinations) or produce answers that contradict the instructions given for specific samples. The study found that LLMs can sometimes fabricate topics not mentioned in the prompt and fail to adhere strictly to task descriptions.
Terminology
Summary
Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets is an assessment of whether text-to-text interfaces given written guidelines without providing training samples can automate annotation processes, showing that this approach is comparable to fine-tuned BERT without annotated training data. p. 0 Due to technical advancements
in Natural Language Processing, specifically
the success of large foundation models, a new
tool for automating such annotation processes
by using a text-to-text interface given written
guidelines without providing training samples
has become available. In this work, we assess these advancements inthe-wild by empirically testing them in an annotation task on German Twitter data about social
and political European crises.Where the paper says it
Research Questions
The work addresses two main research questions regarding the zero-shot prompt-based classification approach.<ref:2406.18239#pg2,RQ1 Can zero-shot prompt-based classification achieve comparable results to a fine-tuned classifier and align well to human annotations? p. 1 We specifically
assume an experimental setup that requires open local models for control and reproducibility reasons
with moderate hardware requirements. Accordingly, we address the following research
questions:
RQ1 Can zero-shot prompt-based classification
achieve comparable results to a fine-tuned
classifier and align well to human annotations? Accordingly, we address the following research
questions:
RQ1 Can zero-shot prompt-based classification
achieve comparable results to a fine-tuned
classifier and align well to human annotations? RQ2 How does the scope of information provided
to the model, i. RQ2 How does the scope of information provided
to the model, i. the extent of annotation
guideline impact the performance?Where the paper says it
Where the paper says it
Where the paper says it
Methodology Comparison
The study compares three candidate methods for automating the annotation task across different NLP eras.<ref:2406.18239#pg4> 1. A Naive Bayes classifier is used as a baseline. p. 2 A high degree of noise due to ambiguity, variation,
and uncertainty is a common property of real-world
data sets (Beck et al. 4 Methods
The candidate methods we picked for automating the annotation task, are taken from three eras
of modern NLP: A Naive Bayes classifier, representing the pre-deep learning era, is picked as the
baseline. 4 Methods
The candidate methods we picked for automating the annotation task, are taken from three eras
of modern NLP: A Naive Bayes classifier, representing the pre-deep learning era, is picked as the
baseline. Next, for the deep learning era, a pretraining and fine-tuning approach using a BERT
transformer (Kenton and Toutanova, 2019) is selected. Next, for the deep learning era, a pretraining and fine-tuning approach using a BERT
transformer (Kenton and Toutanova, 2019) is selected. Finally, for the era of foundation models,
we use instruction-tuned models based on the transformer T5 (Raffel et al.Where the paper says it
Where the paper says it
Where the paper says it
Prompt Engineering Details
The zero-shot prompting approach differs from traditional machine learning by utilizing a text input and text output paradigm.<ref:2406.18239#pg4>. The researchers tested four different prompt levels to analyze the impact of textual detail on performance. p. 3 For our experiments, we compare a monolingual
and a multilingual instruction-tuned model in four
different sizes. Regarding the prompts, we analyze
the performance of levels of textual detail, from
vague introductions to a reduced version of the
annotation guidelines. For our experiments, we compare a monolingual
and a multilingual instruction-tuned model in four
different sizes. Regarding the prompts, we analyze
the performance of levels of textual detail, from
vague introductions to a reduced version of the
annotation guidelines. It gives
us a third dimension of analysis. Prompts We provide a baseline prompt (Prompt
1) that is generic without a specific task description. To analyze
if and how the models benefit from an additional
explanation. In the first prompts, we introduce
prompt : s t r = f " " "
C a t e g o r i z e t h e f o l l o w i n g t w e e t
i n t o one o f t h e l i s t e d c l a s s e s
{ c l a s s e s } :
’ ’ ’ { t e x t } ’ ’ ’
" " "
c l a s s e s : L i s t [ s t r ]
t e x t : s t r
Prompt 1: base
the name of the respective tasks (Prompt 2). In the first prompts, we introduce
prompt : s t r = f " " "
C a t e g o r i z e t h e f o l l o w i n g t w e e t
i n t o one o f t h e l i s t e d c l a s s e s
{ c l a s s e s } :
’ ’ ’ { t e x t } ’ ’ ’
" " "
c l a s s e s : L i s t [ s t r ]
t e x t : s t r
Prompt 1: base
the name of the respective tasks (Prompt 2). As
both models are fine-tuned for various classification
tasks, we assume that they benefit from the task
names. As
both models are fine-tuned for various classification
tasks, we assume that they benefit from the task
names. prompt : s t r = f " " "
Your t a s k i s t o c l a s s i f y t h e
f o l l o w i n g t w e e t r e g a r d i n g i t s
( t o p i c | s e n t i m e n t ) i n t o one o f
t h e f o l l o w i n g c l a s s e s {
c l a s s e s } :
’ ’ ’ { t e x t } ’ ’ ’
" " "
Prompt 2: task-name
In the following two prompts, we give a short
description about the task. In addition to naming
the task explicitly, we provide additional synonyms
for task (Prompt 3. prompt : s t r = f " " "
Your t a s k i s t o a n a l y z e t h e t o p i c
o f t h e f o l l o w i n g t w e e t :
’ ’ ’ { t e x t } ’ ’ ’
Thus , i d e n t i f y t h e dominant
s u b j e c t o f t h e t w e e t c o n t e n t
and c l a s s i f y i t i n t o one o f
t h e f o l l o w i n g c l a s s e s : {
c l a s s e s }
" " "
Prompt 3: description, topic
The last prompt we tested contain a condensed
version of the annotation handbook (Prompt 4.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Performance Findings
The comparison between the baseline and fine-tuned transformer models reveals a substantial disparity in classification performance.<ref:2406.18239#pg5,While the baseline model achieves an approximate weighted average F1 score of 66%, the fine-tuned transformer model achieves approximately 86%, representing a significant difference of 20% (cmp. p. 5 average F1 score of 66%, the fine-tuned transformer model achieves approximately 86%, representing a significant difference of 20% (cmp. This contrast emphasizes that the topic possesses an underlying semantic meaning that cannot
be effectively captured using a simplistic countbased approach. Figure 1: Comparison across methods for topic task
Baseline
Naive Bayes fine-tuned
BERT
w/ pre-training
mT0
zero-shot
FLAN-T5
zero-shot
Demokratie 0. 6660
Energiewende 0. 91% for fine-tuned
transformer) demonstrate superior classification accuracy. We hypothesize that the topics with higher
F1 scores possess more distinct and well-defined
terminology, making the classification task easier,
particularly for the baseline model.Where the paper says it
Where the paper says it
Where the paper says it
Discussion of LLM Challenges
The discussion highlights new challenges inherent in LLMs, including hallucinations and inconsistencies.<ref:2406.18239#pg6,Hallucinations Independently from the sizes both model families fabricate topics not given in our prompts>. p. 5 These represent the typical pitfalls of
LLMs. Hallucinations Independently from the sizes
both model families fabricate topics not given in
our prompts. As we described in our results, the models generate responses that do not match our task
description, like translation and code snippets for
some prompt templates. However, we observe also
the occurrence of these phenomena for individual
samples while using prompts that provide mostly
sound responses. ”
(Millidge, 2023)
Inconsistencies Our results show a highly inconsistent behavior not only between prompt variations but also for different samples and the same
prompt. As we described in our results, the models generate responses that do not match our task
description, like translation and code snippets for
some prompt templates. Transferred
to our approach, the inconsistencies may be caused
by linguistic phenomena inside the Tweets which
alters the prompt meaning for the model. Blackbox With prompt-based approaches, we
overall move more in a direction, where the machine learning black box becomes even more
opaque in contrast to traditional ML methods, as
we cannot see the prediction scores for each possible class.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Future Directions
Future work suggests extending research by using larger and more capable LMs.<ref:2406.18239#pg7>. It is suggested that including examples (few-shot) in prompts could improve results. p. 7 ,
2023), (Touvron et al. We suggest including examples (few-shot) in prompts to improve the
results. This can be achieved
by adding personas to the prompt or conditioning
LLMs on individual human behavior. Considering
the domain of prompt engineering, the proposal
adapts the idea of role prompting, which shapes the
output style of the generated text resembling a certain person. , 2023), (Shanahan et al. In summary, the potential for mimicking human
behavior in text annotation tasks with LLMs seems
enormous.Where the paper says it
Where the paper says it
Where the paper says it
Conclusion
The prompt-based approach achieves nearly on-par performance with the fine-tuned baseline and surpasses the naive baseline when tested on a challenging nonEnglish task.<ref:2406.18239#pg7,Concerning RQ1, our results show that with a welldefined prompt, including a summarized annotation handbook, our prompt-based approach achieves nearly on-par performance with the fine-tuned baseline and surpasses the naive baseline>. p. 6 7686
Table 1: Comparison across methods for topic task
the issue that traditional metrics, which rely on the
confusion matrices, are inapplicable, a qualitative
analysis during the prompt optimization becomes
necessary. 7 Conclusion
Concerning RQ1, our results show that with a welldefined prompt, including a summarized annotation
handbook, our prompt-based approach achieves
nearly on-par performance with the fine-tuned baseline and surpasses the naive baseline. Thus, we
expect that prompt-based text classification will be
highly relevant for future use in academia when
empirical studies on large quantities of text are
conducted. Concerning RQ2, analyzing our prompts in detail along the predefined dimension, we found the
following: The difference in German and English
prompts in the smaller models is especially significant. Thus, we
expect that prompt-based text classification will be
highly relevant for future use in academia when
empirical studies on large quantities of text are
conducted. Concerning RQ2, analyzing our prompts in detail along the predefined dimension, we found the
following: The difference in German and English
prompts in the smaller models is especially significant. Thus, we
expect that prompt-based text classification will be
highly relevant for future use in academia when
empirical studies on large quantities of text are
conducted. Concerning RQ2, analyzing our prompts in detail along the predefined dimension, we found the
following: The difference in German and English
prompts in the smaller models is especially significant. Thus, we
expect that prompt-based text classification will be
highly relevant for future use in academia when
empirical studies on large quantities of text are
conducted. Concerning RQ2, analyzing our prompts in detail along the predefined dimension, we found the
following: The difference in German and English
prompts in the smaller models is especially significant. 3465
Table 2: Comparison in prompt detail for topic task
a correlation between the performance and the extent of information provided in the task description. Larger models benefit more from the detailed description. 3465
Table 2: Comparison in prompt detail for topic task
a correlation between the performance and the extent of information provided in the task description. Larger models benefit more from the detailed description. 3465
Table 2: Comparison in prompt detail for topic task
a correlation between the performance and the extent of information provided in the task description. Larger models benefit more from the detailed description. 3465
Table 2: Comparison in prompt detail for topic task
a correlation between the performance and the extent of information provided in the task description. Larger models benefit more from the detailed description. , 2023)(Logan IV et al. In summary,
our results support the current techniques for zeroshot prompting proposed in research (Liu et al. Despite
not understanding the German task description, the
models handled German tweets and classes without
any issues. That highlights the importance of the
prompt formulation and its closeness to tasks seen
during the fine-tuning process. Despite
not understanding the German task description, the
models handled German tweets and classes without
any issues. That highlights the importance of the
prompt formulation and its closeness to tasks seen
during the fine-tuning process. Thus, we assume multilingual knowledge is reduced significantly during
the parameter pruning. Also, we conclude that instruction training on mostly English tasks does not
lead to multilingual task generalization despite pretraining the model on multilingual corpora. Thus, we assume multilingual knowledge is reduced significantly during
the parameter pruning. Also, we conclude that instruction training on mostly English tasks does not
lead to multilingual task generalization despite pretraining the model on multilingual corpora. Inserting the full Tweet into the center of the prompt
reduces the quality of the results, which highlights
the importance of handling long-distance dependencies. Further, the separation between task and
content led to confusion due to the usage of symbols possibly resembling programming code. Inserting the full Tweet into the center of the prompt
reduces the quality of the results, which highlights
the importance of handling long-distance dependencies. Further, the separation between task and
content led to confusion due to the usage of symbols possibly resembling programming code. 1292
macro avg 0. 3465
Table 2: Comparison in prompt detail for topic task
a correlation between the performance and the extent of information provided in the task description. 1292
macro avg 0. 3465
Table 2: Comparison in prompt detail for topic task
a correlation between the performance and the extent of information provided in the task description.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Table 1 Comparison
Table 1 compares across methods for topic task.<ref:2406.18239#pg7>. The macro average F1 score for zero-shot is 0. p. 5 average F1 score of 66%, the fine-tuned transformer model achieves approximately 86%, representing a significant difference of 20% (cmp. This contrast emphasizes that the topic possesses an underlying semantic meaning that cannot
be effectively captured using a simplistic countbased approach.Where the paper says it
Table 2 Comparison
Table 2 compares in prompt detail for topic task.<ref:2406.18239#pg8>. Larger models benefit more from the detailed description.<ref:2406.18239#pg8,Larger models benefit more from the detailed description>. The difference in German and English prompts in smaller models is especially significant.<ref:2406.18239#pg7,The difference in German and English prompts in the smaller models is especially significant>. Only the XL version understands the German task formulation. p. 6 Concerning RQ2, analyzing our prompts in detail along the predefined dimension, we found the
following: The difference in German and English
prompts in the smaller models is especially significant. Only the XL version does understand the
German task formulation. Concerning RQ2, analyzing our prompts in detail along the predefined dimension, we found the
following: The difference in German and English
prompts in the smaller models is especially significant. Only the XL version does understand the
German task formulation. , 2023)(Logan IV et al. In summary,
our results support the current techniques for zeroshot prompting proposed in research (Liu et al.Where the paper says it
Where the paper says it
Where the paper says it
References
The paper cites numerous works to support its claims.<ref:2406.18239#pg9>. Christin Beck and Miriam Butt 2020. p. 7 Findings of the Association
for Computational Linguistics: ACL, 2023:10755–
10773. Christin Beck, Hannah Booth, Mennatallah El-Assady,
and Miriam Butt. Christin Beck, Hannah Booth, Mennatallah El-Assady,
and Miriam Butt. Representation problems in
linguistic annotations: Ambiguity, variation, uncertainty, error and bias. Association for
Computational Linguistics. David J Chalmers. David J Chalmers. Could a large language model
be conscious? Could a large language model
be conscious? arXiv preprint arXiv:2303. arXiv preprint arXiv:2303. Branden Chan, Stefan Schweter, and Timo Möller. Branden Chan, Stefan Schweter, and Timo Möller. German’s next language model. In Proceedings of
the 28th International Conference on Computational
Linguistics, pages 6788–6796. Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi
Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi
Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Scaling instruction-finetuned language models. Transactions of the Association for Computational Linguistics, 9:962–977. Ammar Ismael Kadhim. Ammar Ismael Kadhim. Survey on supervised
machine learning techniques for automatic text classification. Artificial Intelligence Review, 52(1):273–
292. Neel Kant, Raul Puri, Nikolai Yakovenko, and Bryan
Catanzaro. Neel Kant, Raul Puri, Nikolai Yakovenko, and Bryan
Catanzaro. Practical text classification with
large pre-trained language models. Artificial Intelligence Review, 52(1):273–
292. Neel Kant, Raul Puri, Nikolai Yakovenko, and Bryan
Catanzaro. arXiv preprint
arXiv:1812. Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina
Toutanova. Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina
Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint
arXiv:1812. Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina
Toutanova. In
Proceedings of NAACL-HLT, pages 4171–4186. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. In
Proceedings of NAACL-HLT, pages 4171–4186. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Advances in
neural information processing systems, 35:22199–
22213. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang,
Hiroaki Hayashi, and Graham Neubig. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang,
Hiroaki Hayashi, and Graham Neubig. Pretrain, prompt, and predict: A systematic survey of
prompting methods in natural language processing. Advances in
neural information processing systems, 35:22199–
22213. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang,
Hiroaki Hayashi, and Graham Neubig. ACM Computing Surveys, 55(9):1–35. Robert Logan IV, Ivana Balaževic, Eric Wallace, Fabio ´
Petroni, Sameer Singh, and Sebastian Riedel. Robert Logan IV, Ivana Balaževic, Eric Wallace, Fabio ´
Petroni, Sameer Singh, and Sebastian Riedel. Cutting down on prompts and parameters: Simple
few-shot learning with language models. ACM Computing Surveys, 55(9):1–35. Robert Logan IV, Ivana Balaževic, Eric Wallace, Fabio ´
Petroni, Sameer Singh, and Sebastian Riedel. In Findings of the Association for Computational Linguistics: ACL 2022, pages 2824–2835. Enrique Manjavacas and Lauren Fonteyn. Adapting vs. pre-training language models for historical
languages. In Findings of the Association for Computational Linguistics: ACL 2022, pages 2824–2835. Enrique Manjavacas and Lauren Fonteyn. Again, we tried to
setup a realistic ”in-the-wild” scenario by picking
freely available models, that can be run on moderate hardware requirements. 1 Baseline
In order to establish a baseline for the methods and
our prompt-based classification task, we employ
a Multinomial Naive Bayes Classifier (Manning,
2009). Christopher D Manning. An introduction to information retrieval. Cambridge university press. Beren Millidge. Beren Millidge. Llms confabulate not hallucinate. Llms confabulate not hallucinate. Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. Deep learning–based text classification: a comprehensive review. Llms confabulate not hallucinate. Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. It describes, in a psychiatric context, the behavior of people to invent plausible-sounding justifications that have no basis. These individuals appear to strongly believe in the story and do not intend to deceive with the information (Moscovitch,
1995). In
general, it describes the generation of false information when an LLM has no internal information
about a task or question asked. Interestingly, the
terminology concerning language models and behavior is criticized, and researchers propose the
usage of the word confabulation (Chalmers, 2023). Confabulation. Niklas Muennighoff, Thomas Wang, Lintang Sutawika,
Adam Roberts, Stella Biderman, Teven Le Scao,
M Saiful Bari, Sheng Shen, Zheng-Xin Yong, Hailey
Schoelkopf, et al. Niklas Muennighoff, Thomas Wang, Lintang Sutawika,
Adam Roberts, Stella Biderman, Teven Le Scao,
M Saiful Bari, Sheng Shen, Zheng-Xin Yong, Hailey
Schoelkopf, et al. Crosslingual generalization through multitask finetuning. Confabulation. Niklas Muennighoff, Thomas Wang, Lintang Sutawika,
Adam Roberts, Stella Biderman, Teven Le Scao,
M Saiful Bari, Sheng Shen, Zheng-Xin Yong, Hailey
Schoelkopf, et al. arXiv preprint
arXiv:2211. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida,
Carroll Wainwright, Pamela Mishkin, Chong Zhang,
Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida,
Carroll Wainwright, Pamela Mishkin, Chong Zhang,
Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. arXiv preprint
arXiv:2211. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida,
Carroll Wainwright, Pamela Mishkin, Chong Zhang,
Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Journal of Machine Learning Research,
12:2825–2830. Fynn Petersen-Frey, Tim Fischer, Florian Schneider,
Isabel Eiser, Gertraud Koch, and Chris Biemann. Fynn Petersen-Frey, Tim Fischer, Florian Schneider,
Isabel Eiser, Gertraud Koch, and Chris Biemann. From qualitative to quantitative research:
Semi-automatic annotation scaling in the digital humanities. Journal of Machine Learning Research,
12:2825–2830. Fynn Petersen-Frey, Tim Fischer, Florian Schneider,
Isabel Eiser, Gertraud Koch, and Chris Biemann. Association for
Computational Lingustics. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine
Lee, Sharan Narang, Michael Matena, Yanqi Zhou,
Wei Li, and Peter J Liu. Instruction Fine-tuning The success of LLMs
was followed by a paradigm shift triggered by a
proposal from Google in 2020 (Raffel et al. , 2020a),
(Sun et al. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine
Lee, Sharan Narang, Michael Matena, Yanqi Zhou,
Wei Li, and Peter J Liu. Exploring the limits
of transfer learning with a unified text-to-text transformer. Association for
Computational Lingustics. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine
Lee, Sharan Narang, Michael Matena, Yanqi Zhou,
Wei Li, and Peter J Liu. volume 21, pages 5485–5551. Alan Ramponi and Barbara Plank. Alan Ramponi and Barbara Plank. Neural unsupervised domain adaptation in nlp—a survey. volume 21, pages 5485–5551. Alan Ramponi and Barbara Plank. Association for Computational Linguistics. Murray Shanahan, Kyle McDonell, and Laria Reynolds. Murray Shanahan, Kyle McDonell, and Laria Reynolds. Role play with large language models. Association for Computational Linguistics. Murray Shanahan, Kyle McDonell, and Laria Reynolds. Nature,
pages 1–6. Tian-Xiang Sun, Xiang-Yang Liu, Xi-Peng Qiu, and
Xuan-Jing Huang. Tian-Xiang Sun, Xiang-Yang Liu, Xi-Peng Qiu, and
Xuan-Jing Huang. Paradigm shift in natural
language processing. Nature,
pages 1–6. Tian-Xiang Sun, Xiang-Yang Liu, Xi-Peng Qiu, and
Xuan-Jing Huang. Machine Intelligence Research,
19(3):169–183. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay
Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti
Bhosale, et al. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay
Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti
Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. Machine Intelligence Research,
19(3):169–183. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay
Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti
Bhosale, et al. arXiv preprint
arXiv:2307. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob
Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz
Kaiser, and Illia Polosukhin. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob
Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz
Kaiser, and Illia Polosukhin. Attention is all
you need. arXiv preprint
arXiv:2307. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob
Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz
Kaiser, and Illia Polosukhin.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
--- Page 1 ---
Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets.
Simon Münker krAil, University Trier muenker@uni-trier. p. 0 Zero-shot prompt-based classification: topic labeling in times of foundation
models in German Tweets
Simon Münker
krAil, University Trier
muenker@uni-trier. de
Kai Kugler
krAil, University Trier
kuglerk@uni-trier. Zero-shot prompt-based classification: topic labeling in times of foundation
models in German Tweets
Simon Münker
krAil, University Trier
muenker@uni-trier. de
Kai Kugler
krAil, University Trier
kuglerk@uni-trier. de
Kai Kugler
krAil, University Trier
kuglerk@uni-trier. de
Achim Rettinger
krAil, University Trier
rettinger@uni-trier. de
Achim Rettinger
krAil, University Trier
rettinger@uni-trier. de
Abstract
Filtering and annotating textual data are routine tasks in many areas, like social media or
news analytics. de
Abstract
Filtering and annotating textual data are routine tasks in many areas, like social media or
news analytics. Automating these tasks allows
to scale the analyses wrt. Automating these tasks allows
to scale the analyses wrt. speed and breadth
of content covered and decreases the manual
effort required. speed and breadth
of content covered and decreases the manual
effort required. Due to technical advancements
in Natural Language Processing, specifically
the success of large foundation models, a new
tool for automating such annotation processes
by using a text-to-text interface given written
guidelines without providing training samples
has become available. speed and breadth
of content covered and decreases the manual
effort required. Due to technical advancements
in Natural Language Processing, specifically
the success of large foundation models, a new
tool for automating such annotation processes
by using a text-to-text interface given written
guidelines without providing training samples
has become available. Due to technical advancements
in Natural Language Processing, specifically
the success of large foundation models, a new
tool for automating such annotation processes
by using a text-to-text interface given written
guidelines without providing training samples
has become available. In this work, we assess these advancements inthe-wild by empirically testing them in an annotation task on German Twitter data about social
and political European crises. Due to technical advancements
in Natural Language Processing, specifically
the success of large foundation models, a new
tool for automating such annotation processes
by using a text-to-text interface given written
guidelines without providing training samples
has become available. In this work, we assess these advancements inthe-wild by empirically testing them in an annotation task on German Twitter data about social
and political European crises. In this work, we assess these advancements inthe-wild by empirically testing them in an annotation task on German Twitter data about social
and political European crises. We compare the
prompt-based results with our human annotation and preceding classification approaches,
including Naive Bayes and a BERT-based finetuning/domain adaptation pipeline. In this work, we assess these advancements inthe-wild by empirically testing them in an annotation task on German Twitter data about social
and political European crises. We compare the
prompt-based results with our human annotation and preceding classification approaches,
including Naive Bayes and a BERT-based finetuning/domain adaptation pipeline. We compare the
prompt-based results with our human annotation and preceding classification approaches,
including Naive Bayes and a BERT-based finetuning/domain adaptation pipeline. Our results
show that the prompt-based approach – despite
being limited by local computation resources
during the model selection – is comparable with
the fine-tuned BERT but without any annotated
training data. We compare the
prompt-based results with our human annotation and preceding classification approaches,
including Naive Bayes and a BERT-based finetuning/domain adaptation pipeline. Our results
show that the prompt-based approach – despite
being limited by local computation resources
during the model selection – is comparable with
the fine-tuned BERT but without any annotated
training data. Our results
show that the prompt-based approach – despite
being limited by local computation resources
during the model selection – is comparable with
the fine-tuned BERT but without any annotated
training data. Our findings emphasize the ongoing paradigm shift in the NLP landscape, i. Our findings emphasize the ongoing paradigm shift in the NLP landscape, i. ,
the unification of downstream tasks and elimination of the need for pre-labeled training data. Our results
show that the prompt-based approach – despite
being limited by local computation resources
during the model selection – is comparable with
the fine-tuned BERT but without any annotated
training data. Our findings emphasize the ongoing paradigm shift in the NLP landscape, i.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Zero-shot prompt-based classification can be used to automate annotation processes by using a text-to-text interface given written guidelines without providing training samples, which allows systems to
only need to be provided with annotation guidelines as part of their prompts to replicate human annotation behavior.
-
The improved system can achieve comparable results to a fine-tuned classifier without any annotated training data, demonstrating the
ongoing paradigm shift in the NLP landscape, i.e., the unification of downstream tasks and elimination of the need for pre-labeled training data.
-
The prompt formulation can be progressively detailed from vague introductions to a condensed version of annotation guidelines, allowing researchers to
study the impact of textual formulation on our annotation goal
and align annotations by words rather than optimizing by parameters.
Abstract
Filtering and annotating textual data are routine tasks in many areas, like social media or news analytics. Automating these tasks allows to scale the analyses wrt. speed and breadth of content covered and decreases the manual effort required. Due to technical advancements in Natural Language Processing, specifically the success of large foundation models, a new tool for automating such annotation processes by using a text-to-text interface given written guidelines without providing training samples has become available. In this work, we assess these advancements in-the-wild by empirically testing them in an annotation task on German Twitter data about social and political European crises. We compare the prompt-based results with our human annotation and preceding classification approaches, including Naive Bayes and a BERT-based fine-tuning/domain adaptation pipeline. Our results show that the prompt-based approach - despite being limited by local computation resources during the model selection - is comparable with the fine-tuned BERT but without any annotated training data. Our findings emphasize the ongoing paradigm shift in the NLP landscape, i.e., the unification of downstream tasks and elimination of the need for pre-labeled training data.
Sources
- Could a Large Language Model be Conscious?
- Scaling Instruction-Finetuned Language Models
- Practical Text Classification With Large Pre-Trained Language Models
- Crosslingual Generalization through Multitask Finetuning
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT
- HuggingFace's Transformers: State-of-the-art Natural Language Processing
Related papers
- MedGame: Storytelling Gamification Empowered by Large Language Models for Medical Education
- SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference
- UniVer: A Unified Perspective for Multi-step and Multi-draft Speculative Decoding
- Grounding Text Embeddings in Stakeholder Associations
- Linguistic and Argument Diversity in Synthetic Data for Function-Calling Agents
- TRIM: Achieving Extreme Sparsity with Targeted Row-wise Iterative Metric-driven Pruning