Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets

arXiv:2406.18239 · cs.CL, cs.AI · Submitted 2024-06-26 · Read on arXiv

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

Where the paper says it

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.

<ref:2406.18239#pg1,filtering and annotating textual data are routine tasks in many areas, like social media or news analytics>

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

Where the paper says it

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?

> and.<ref:2406.18239#pg2,RQ2 How does the scope of information provided to the model, i. p. 1
Where the paper says it

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.

e. the extent of annotation guideline impact the performance? p. 1
Where the paper says it

RQ2 How does the scope of information provided to the model, i. the extent of annotation guideline impact the performance?

>

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

Where the paper says it

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.

<ref:2406.18239#pg4> 2. A pretraining and fine-tuning approach using a BERT transformer is selected for the deep learning era. p. 2
Where the paper says it

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.

<ref:2406.18239#pg4> 3. Instruction-tuned models based on the transformer T5 are used for the foundation model era. p. 2
Where the paper says it

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.

<ref:2406.18239#pg4>

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

Where the paper says it

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.

<ref:2406.18239#pg4,Regarding the prompts, we analyze the performance of levels of textual detail, from vague introductions to a reduced version of the annotation guidelines> 1. p. 3
Where the paper says it

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.

Prompt 1 is generic without a specific task description. p. 3
Where the paper says it

It gives us a third dimension of analysis. Prompts We provide a baseline prompt (Prompt 1) that is generic without a specific task description.

<ref:2406.18239#pg4,Prompt 1: base the name of the respective tasks (Prompt 1)> 2. p. 3
Where the paper says it

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).

Prompt 2 includes task names. p. 3
Where the paper says it

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.

<ref:2406.18239#pg4> 3. Prompt 3 provides a short description about the task. p. 3
Where the paper says it

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.

<ref:2406.18239#pg4> 4. Prompt 4 contains a condensed version of the annotation handbook. p. 3
Where the paper says it

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.

<ref:2406.18239#pg5>

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

Where the paper says it

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)>. p. 6
Where the paper says it

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.

The topics with higher F1 scores such as “Energiewende” and “Ukraineunterstützung” demonstrate superior classification accuracy. p. 5
Where the paper says it

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.

<ref:2406.18239#pg7>

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

Where the paper says it

These represent the typical pitfalls of LLMs. Hallucinations Independently from the sizes both model families fabricate topics not given in our prompts.

Inconsistencies show that models generate responses that do not match the task description for individual samples while using prompts that provide mostly sound responses. p. 5
Where the paper says it

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.

<ref:2406.18239#pg6,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>. p. 5
Where the paper says it

” (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.

The blackbox nature of prompt-based approaches makes it difficult to see prediction scores for each possible class. p. 5
Where the paper says it

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.

<ref:2406.18239#pg6,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>

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

Where the paper says it

, 2023), (Touvron et al. We suggest including examples (few-shot) in prompts to improve the results.

<ref:2406.18239#pg7>. Furthermore, adapting role prompting can shape the output style of generated text resembling a certain person. p. 7
Where the paper says it

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.

<ref:2406.18239#pg7>. The potential for mimicking human behavior in text annotation tasks with LLMs seems enormous. p. 7
Where the paper says it

, 2023), (Shanahan et al. In summary, the potential for mimicking human behavior in text annotation tasks with LLMs seems enormous.

<ref:2406.18239#pg7>

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

Where the paper says it

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.

The difference in German and English prompts in smaller models is especially significant. p. 6
Where the paper says it

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.

p. 6
Where the paper says it

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.

<ref:2406.18239#pg7,The difference in German and English prompts in the smaller models is especially significant>. p. 6
Where the paper says it

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.

p. 6
Where the paper says it

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.

Larger models benefit more from the detailed description. p. 7
Where the paper says it

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.

p. 7
Where the paper says it

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.

<ref:2406.18239#pg8,Larger models benefit more from the detailed description>. p. 7
Where the paper says it

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.

p. 7
Where the paper says it

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.

The results support current techniques for zero-shot prompting proposed in research. p. 7
Where the paper says it

, 2023)(Logan IV et al. In summary, our results support the current techniques for zeroshot prompting proposed in research (Liu et al.

<ref:2406.18239#pg7>. The importance of prompt formulation and its closeness to tasks seen during fine-tuning is highlighted. p. 6
Where the paper says it

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.

p. 6
Where the paper says it

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.

<ref:2406.18239#pg7,We conclude that instruction training on mostly English tasks does not lead to multilingual task generalization despite pretraining the model on multilingual corpora>. p. 6
Where the paper says it

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.

p. 6
Where the paper says it

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.

The separation between task and content led to confusion due to the usage of symbols possibly resembling programming code. p. 6
Where the paper says it

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.

<ref:2406.18239#pg7,Further, the separation between task and content led to confusion due to the usage of symbols possibly resembling programming code>. p. 6
Where the paper says it

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.

The scope of detail shows a correlation between performance and the extent of information provided in the task description. p. 7
Where the paper says it

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.

p. 7
Where the paper says it

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.

<ref:2406.18239#pg8,Our results show a correlation between the performance and the extent of information provided in the task description>

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

Where the paper says it

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.

6430.<ref:2406.18239#pg7>

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

Where the paper says it

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.

<ref:2406.18239#pg7,Only the XL version does understand the German task formulation>. p. 6
Where the paper says it

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.

The results support current techniques for zeroshot prompting proposed in research. p. 7
Where the paper says it

, 2023)(Logan IV et al. In summary, our results support the current techniques for zeroshot prompting proposed in research (Liu et al.

<ref:2406.18239#pg7>. The importance of prompt formulation and its closeness to tasks seen during fine-tuning is highlighted.<ref:2406.18239#pg7,We conclude that instruction training on mostly English tasks does not lead to multilingual task generalization despite pretraining the model on multilingual corpora>. The scope of detail shows a correlation between performance and the extent of information provided in the task description.<ref:2406.18239#pg8,Our results show a correlation between the performance and the extent of information provided in the task description>

References

The paper cites numerous works to support its claims.<ref:2406.18239#pg9>. Christin Beck and Miriam Butt 2020. p. 7

Where the paper says it

Findings of the Association for Computational Linguistics: ACL, 2023:10755– 10773. Christin Beck, Hannah Booth, Mennatallah El-Assady, and Miriam Butt.

Representation problems in linguistic annotations: Ambiguity variation uncertainty error and bias. p. 7
Where the paper says it

Christin Beck, Hannah Booth, Mennatallah El-Assady, and Miriam Butt. Representation problems in linguistic annotations: Ambiguity, variation, uncertainty, error and bias.

<ref:2406.18239#pg9>. David J Chalmers 2023. p. 7
Where the paper says it

Association for Computational Linguistics. David J Chalmers.

Could a large language model be conscious? p. 7
Where the paper says it

David J Chalmers. Could a large language model be conscious?

arXiv preprint arXiv:2303. p. 7
Where the paper says it

Could a large language model be conscious? arXiv preprint arXiv:2303.

07103.<ref:2406.18239#pg9>. Branden Chan, Stefan Schweter, and Timo Möller 2020. p. 7
Where the paper says it

arXiv preprint arXiv:2303. Branden Chan, Stefan Schweter, and Timo Möller.

German’s next language model. p. 7
Where the paper says it

Branden Chan, Stefan Schweter, and Timo Möller. German’s next language model.

<ref:2406.18239#pg9>. Hyung Won Chung et al. p. 7
Where the paper says it

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.

2022. Scaling instruction-finetuned language models. p. 7
Where the paper says it

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.

<ref:2406.18239#pg9>. Ammar Ismael Kadhim 2019. p. 8
Where the paper says it

Transactions of the Association for Computational Linguistics, 9:962–977. Ammar Ismael Kadhim.

Survey on supervised machine learning techniques for automatic text classification. p. 8
Where the paper says it

Ammar Ismael Kadhim. Survey on supervised machine learning techniques for automatic text classification.

<ref:2406.18239#pg9>. Neel Kant et al. p. 8
Where the paper says it

Artificial Intelligence Review, 52(1):273– 292. Neel Kant, Raul Puri, Nikolai Yakovenko, and Bryan Catanzaro.

2018. Practical text classification with large pre-trained language models. p. 8
Where the paper says it

Neel Kant, Raul Puri, Nikolai Yakovenko, and Bryan Catanzaro. Practical text classification with large pre-trained language models.

<ref:2406.18239#pg9,Neel Kant, Raul Puri, Nikolai Yakovenko, and Bryan Catanzaro. p. 8
Where the paper says it

Artificial Intelligence Review, 52(1):273– 292. Neel Kant, Raul Puri, Nikolai Yakovenko, and Bryan Catanzaro.

2018>. Jacob Devlin et al. p. 8
Where the paper says it

arXiv preprint arXiv:1812. Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova.

2019. Bert: Pre-training of deep bidirectional transformers for language understanding. p. 8
Where the paper says it

Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding.

<ref:2406.18239#pg9,Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. p. 8
Where the paper says it

arXiv preprint arXiv:1812. Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova.

2019>. Takeshi Kojima et al. p. 8
Where the paper says it

In Proceedings of NAACL-HLT, pages 4171–4186. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa.

2022. Large language models are zero-shot reasoners. p. 8
Where the paper says it

Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners.

<ref:2406.18239#pg9,Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. p. 8
Where the paper says it

In Proceedings of NAACL-HLT, pages 4171–4186. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa.

2022>. Pengfei Liu et al. p. 8
Where the paper says it

Advances in neural information processing systems, 35:22199– 22213. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig.

2023. Pretrain prompt and predict: A systematic survey of prompting methods in natural language processing. p. 8
Where the paper says it

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.

<ref:2406.18239#pg9,Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang et al. p. 8
Where the paper says it

Advances in neural information processing systems, 35:22199– 22213. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig.

2023>. Robert Logan IV et al. p. 8
Where the paper says it

ACM Computing Surveys, 55(9):1–35. Robert Logan IV, Ivana Balaževic, Eric Wallace, Fabio ´ Petroni, Sameer Singh, and Sebastian Riedel.

2022. Cutting down on prompts and parameters: Simple few-shot learning with language models. p. 8
Where the paper says it

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.

<ref:2406.18239#pg9,Robert Logan IV, Ivana Balaževic, Eric Wallace, Fabio Petroni et al. p. 8
Where the paper says it

ACM Computing Surveys, 55(9):1–35. Robert Logan IV, Ivana Balaževic, Eric Wallace, Fabio ´ Petroni, Sameer Singh, and Sebastian Riedel.

2022>. Enrique Manjavacas and Lauren Fonteyn 2022. p. 8
Where the paper says it

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. p. 8
Where the paper says it

Adapting vs. pre-training language models for historical languages.

<ref:2406.18239#pg9,Enrique Manjavacas and Lauren Fonteyn. p. 8
Where the paper says it

In Findings of the Association for Computational Linguistics: ACL 2022, pages 2824–2835. Enrique Manjavacas and Lauren Fonteyn.

2021>. Christopher D Manning 2009. p. 2
Where the paper says it

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).

An introduction to information retrieval. p. 8
Where the paper says it

Christopher D Manning. An introduction to information retrieval.

<ref:2406.18239#pg9>. Beren Millidge 2023. p. 8
Where the paper says it

Cambridge university press. Beren Millidge.

Llms confabulate not hallucinate. p. 8
Where the paper says it

Beren Millidge. Llms confabulate not hallucinate.

<ref:2406.18239#pg9>. Shervin Minaee et al. p. 8
Where the paper says it

Llms confabulate not hallucinate. Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao.

2021. Deep learning–based text classification: a comprehensive review. p. 8
Where the paper says it

Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao. Deep learning–based text classification: a comprehensive review.

<ref:2406.18239#pg9,Shervin Minaee, Nal Kalchbrenner, Erik Cambria et al. p. 8
Where the paper says it

Llms confabulate not hallucinate. Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, and Jianfeng Gao.

2021>. Morris Moscovitch 1995. p. 5
Where the paper says it

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).

Confabulation. p. 5
Where the paper says it

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).

<ref:2406.18239#pg9>. Niklas Muennighoff et al. p. 8
Where the paper says it

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.

2022. Crosslingual generalization through multitask finetuning. p. 8
Where the paper says it

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.

<ref:2406.18239#pg9,Niklas Muennighoff, Thomas Wang, Lintang Sutawika, Adam Roberts et al. p. 8
Where the paper says it

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.

2022>. Long Ouyang et al. p. 8
Where the paper says it

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.

2022. Training language models to follow instructions with human feedback. p. 8
Where the paper says it

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.

<ref:2406.18239#pg9,Long Ouyang, Jeffrey Wu, Xu Jiang et al. p. 8
Where the paper says it

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.

2021>. Fynn Petersen-Frey et al. p. 8
Where the paper says it

Journal of Machine Learning Research, 12:2825–2830. Fynn Petersen-Frey, Tim Fischer, Florian Schneider, Isabel Eiser, Gertraud Koch, and Chris Biemann.

2023. From qualitative to quantitative research: Semi-automatic annotation scaling in the digital humanities. p. 8
Where the paper says it

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.

<ref:2406.18239#pg9,Fynn Petersen-Frey, Tim Fischer, Florian Schneider et al. p. 8
Where the paper says it

Journal of Machine Learning Research, 12:2825–2830. Fynn Petersen-Frey, Tim Fischer, Florian Schneider, Isabel Eiser, Gertraud Koch, and Chris Biemann.

2023>. Colin Raffel et al. p. 8
Where the paper says it

Association for Computational Lingustics. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu.

2020a and 20b. p. 1
Where the paper says it

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.

Exploring the limits of transfer learning with a unified text-to-text transformer. p. 8
Where the paper says it

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.

<ref:2406.18239#pg9,Colin Raffel, Noam Shazeer, Adam Roberts et al. p. 8
Where the paper says it

Association for Computational Lingustics. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu.

2021>. Alan Ramponi and Barbara Plank 2020. p. 8
Where the paper says it

volume 21, pages 5485–5551. Alan Ramponi and Barbara Plank.

Neural unsupervised domain adaptation in nlp—a survey. p. 8
Where the paper says it

Alan Ramponi and Barbara Plank. Neural unsupervised domain adaptation in nlp—a survey.

<ref:2406.18239#pg9,Alan Ramponi and Barbara Plank. p. 8
Where the paper says it

volume 21, pages 5485–5551. Alan Ramponi and Barbara Plank.

2020>. Murray Shanahan et al. p. 8
Where the paper says it

Association for Computational Linguistics. Murray Shanahan, Kyle McDonell, and Laria Reynolds.

2023. Role play with large language models. p. 8
Where the paper says it

Murray Shanahan, Kyle McDonell, and Laria Reynolds. Role play with large language models.

<ref:2406.18239#pg9,Murray Shanahan, Kyle McDonell, and Laria Reynolds. p. 8
Where the paper says it

Association for Computational Linguistics. Murray Shanahan, Kyle McDonell, and Laria Reynolds.

2023>. Tian-Xiang Sun et al. p. 8
Where the paper says it

Nature, pages 1–6. Tian-Xiang Sun, Xiang-Yang Liu, Xi-Peng Qiu, and Xuan-Jing Huang.

2022. Paradigm shift in natural language processing. p. 8
Where the paper says it

Tian-Xiang Sun, Xiang-Yang Liu, Xi-Peng Qiu, and Xuan-Jing Huang. Paradigm shift in natural language processing.

<ref:2406.18239#pg9,Tian-Xiang Sun, Xiang-Yang Liu, Xi-Peng Qiu and Xuan-Jing Huang. p. 8
Where the paper says it

Nature, pages 1–6. Tian-Xiang Sun, Xiang-Yang Liu, Xi-Peng Qiu, and Xuan-Jing Huang.

2021>. Hugo Touvron et al. p. 8
Where the paper says it

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.

2023. Llama 2: Open foundation and fine-tuned chat models. p. 8
Where the paper says it

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.

<ref:2406.18239#pg9,Hugo Touvron, Louis Martin, Kevin Stone et al. p. 8
Where the paper says it

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.

2023>. Ashish Vaswani et al. p. 8
Where the paper says it

arXiv preprint arXiv:2307. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin.

2017. Attention is all you need. p. 8
Where the paper says it

Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need.

<ref:2406.18239#pg9,Ashish Vaswani, Noam Shazeer, Niki Parmar et al. p. 8
Where the paper says it

arXiv preprint arXiv:2307. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin.

2017>

--- 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

Where the paper says it

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. p. 0
Where the paper says it

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 Achim Rettinger krAil, University Trier rettinger@uni-trier. p. 0
Where the paper says it

de Kai Kugler krAil, University Trier kuglerk@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. p. 0
Where the paper says it

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.

<ref:2406.18239#pg1,Automating these tasks allows to scale the analyses wrt. p. 0
Where the paper says it

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.

speed and breadth of content covered and decreases the manual effort required>. p. 0
Where the paper says it

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. p. 0
Where the paper says it

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.

<ref:2406.18239#pg1,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>. p. 0
Where the paper says it

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 inthe-wild by empirically testing them in an annotation task on German Twitter data about social and political European crises. p. 0
Where the paper says it

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.

<ref:2406.18239#pg1,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>. p. 0
Where the paper says it

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.

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. p. 0
Where the paper says it

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.

<ref:2406.18239#pg1,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>. p. 0
Where the paper says it

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.

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. p. 0
Where the paper says it

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.

<ref:2406.18239#pg1,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>. p. 0
Where the paper says it

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 findings emphasize the ongoing paradigm shift in the NLP landscape, i. p. 0
Where the paper says it

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. p. 0
Where the paper says it

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.

<ref:2406.18239#pg1,Our findings emphasize the ongoing paradigm shift in the NLP landscape, i. p. 0
Where the paper says it

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.

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

  1. 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.

  2. 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.

  3. 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

Related papers