Download full text
(333.7Kb)
Citation Suggestion
Please use the following Persistent Identifier (PID) to cite this document:
https://nbn-resolving.org/urn:nbn:de:0168-ssoar-98482-6
Exports for your reference manager
Assessing In-context Learning and Fine-tuning for Topic Classification of German Web Data
[conference paper]
Abstract Researchers in the political and social sciences often rely on classification models to analyze trends in information consumption by examining browsing histories of millions of webpages. Automated scalable methods are necessary due to the impracticality of manual labeling. In this paper, we model th... view more
Researchers in the political and social sciences often rely on classification models to analyze trends in information consumption by examining browsing histories of millions of webpages. Automated scalable methods are necessary due to the impracticality of manual labeling. In this paper, we model the detection of topic-related content as a binary classification task and compare the accuracy of fine-tuned pre-trained encoder models against in-context learning strategies. Using only a few hundred annotated data points per topic, we detect content related to three German policies in a database of scraped webpages. We compare multilingual and monolingual models, as well as zero and few-shot approaches, and investigate the impact of negative sampling strategies and the combination of URL & content-based features. Our results show that a small sample of annotated data is sufficient to train an effective classifier. Finetuning encoder-based models yields better results than in-context learning. Classifiers using both URL & content-based features perform best, while using URLs alone provides adequate results when content is unavailable.... view less
Keywords
classification; model; website; data; data capture; political science; social science; text analysis
Classification
Basic Research in the Social Sciences
Free Keywords
Sampling; Multilinguale vs. monolinguale Modelle; Fine-tuning
Collection Title
Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop)
Editor
Fu, Xiyan; Fleisig, Eve
Document language
English
Publication Year
2024
City
Bangkok
Page/Pages
p. 144-158
ISBN
979-8-89176-097-4
Status
Published Version