Leveraging Large Language Models for Topic Classification in the Domain of Public Affairs
Not on the map. Why?
Abstract (arXiv)
The analysis of public affairs documents is crucial for citizens as it promotes transparency, accountability, and informed decision-making. It allows citizens to understand government policies, participate in public discourse, and hold representatives accountable. This is crucial, and sometimes a matter of life or death, for companies whose operation depend on certain regulations. Large Language Models (LLMs) have the potential to greatly enhance the analysis of public affairs documents by effectively processing and understanding the complex language used in such documents. In this work, we analyze the performance of LLMs in classifying public affairs documents. As a natural multi-label task, the classification of these documents presents important challenges. In this work, we use a regex-powered tool to collect a database of public affairs documents with more than 33K samples and 22.5M tokens. Our experiments assess the performance of 4 different Spanish LLMs to classify up to 30 different topics in the data in different configurations. The results shows that LLMs can be of great use to process domain-specific documents, such as those in the domain of public affairs.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 19 of its 23 references that are in the map. First posted on arXiv 5 Jun 2023.
Builds on
19 of 23 references.
References · 19
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
7 more
- 2023PaLM 2 Technical Reportcited by 1,154
- 2020SensitiveLoss: Improving Accuracy and Fairness of Face Representations with Discrimination-Aware Deep Learningcited by 50
- 2021MarIA: Spanish Language Modelscited by 36
- 2023Human-Centric Multimodal Machine Learning: Recent Advances and Testbed on AI-based Recruitmentcited by 32
- 2021Spanish Legalese Language Model and Corporacited by 11
- 2023Measuring Bias in AI Models: An Statistical Approach Introducing N-Sigmacited by 11
- 2022RigoBERTa: A State-of-the-Art Language Model For Spanishcited by 5
Built on by
Citing papers per year: 2023: 5; 2024: 3; 2025: 4; 2026: 1.
13 papers.
Sort:
- 2023A Survey on Evaluation of Large Language Modelscited by 1,227
- 2023Position: AI Evaluation Should Learn from How We Test Humanscited by 36
- 2024Examining the robustness of LLM evaluation to the distributional assumptions of benchmarkscited by 31
- 2024Cause and Effect: Can Large Language Models Truly Understand Causality?cited by 23
- 2023FFT: Towards Harmlessness Evaluation and Analysis for LLMs with Factuality, Fairness, Toxicitycited by 22
- 2023An Interdisciplinary Outlook on Large Language Models for Scientific Researchcited by 15
- 2025Addressing Bias in LLMs: Strategies and Application to Fair AI-based Recruitmentcited by 12
- 2025PBa-LLM: Privacy- and Bias-aware NLP using Named-Entity Recognition (NER)cited by 10
- 2025Benchmarking Graph Neural Networks for Document Layout Analysis in Public Affairscited by 6
- 2023Document Layout Annotation: Database and Benchmark in the Domain of Public Affairscited by 2
- 2025Rationality Check! Benchmarking the Rationality of Large Language Modelscited by 2
- 2026Bengali Text Classification: An Evaluation of Large Language Model Approachescited by 1
- 2026Bengali Text Classification: An Evaluation of Large Language Model Approaches17 Jan 2026
- 2025Rationality Check! Benchmarking the Rationality of Large Language Models18 Sep 2025
- 2025PBa-LLM: Privacy- and Bias-aware NLP using Named-Entity Recognition (NER)30 Jun 2025
- 2025Addressing Bias in LLMs: Strategies and Application to Fair AI-based Recruitment13 Jun 2025
- 2025Benchmarking Graph Neural Networks for Document Layout Analysis in Public Affairs12 May 2025
- 2024Research on Predicting Public Opinion Event Heat Levels Based on Large Language Models27 Sep 2024
- 2024Examining the robustness of LLM evaluation to the distributional assumptions of benchmarks25 Apr 2024
- 2024Cause and Effect: Can Large Language Models Truly Understand Causality?28 Feb 2024
- 2023FFT: Towards Harmlessness Evaluation and Analysis for LLMs with Factuality, Fairness, Toxicity30 Nov 2023
- 2023An Interdisciplinary Outlook on Large Language Models for Scientific Research3 Nov 2023
- 2023A Survey on Evaluation of Large Language Models6 Jul 2023
- 2023Position: AI Evaluation Should Learn from How We Test Humans18 Jun 2023
1 more
- 2023A Survey on Evaluation of Large Language Modelscited by 1,227
- 2023Position: AI Evaluation Should Learn from How We Test Humanscited by 36
- 2024Examining the robustness of LLM evaluation to the distributional assumptions of benchmarkscited by 31
- 2024Cause and Effect: Can Large Language Models Truly Understand Causality?cited by 23
- 2023FFT: Towards Harmlessness Evaluation and Analysis for LLMs with Factuality, Fairness, Toxicitycited by 22
- 2023An Interdisciplinary Outlook on Large Language Models for Scientific Researchcited by 15
- 2025Addressing Bias in LLMs: Strategies and Application to Fair AI-based Recruitmentcited by 12
- 2025PBa-LLM: Privacy- and Bias-aware NLP using Named-Entity Recognition (NER)cited by 10
- 2025Benchmarking Graph Neural Networks for Document Layout Analysis in Public Affairscited by 6
- 2023Document Layout Annotation: Database and Benchmark in the Domain of Public Affairscited by 2
- 2025Rationality Check! Benchmarking the Rationality of Large Language Modelscited by 2
- 2026Bengali Text Classification: An Evaluation of Large Language Model Approachescited by 1
12 most cited of 13 All 13 (JSON)
- 2026Bengali Text Classification: An Evaluation of Large Language Model Approaches17 Jan 2026
- 2025Rationality Check! Benchmarking the Rationality of Large Language Models18 Sep 2025
- 2025PBa-LLM: Privacy- and Bias-aware NLP using Named-Entity Recognition (NER)30 Jun 2025
- 2025Addressing Bias in LLMs: Strategies and Application to Fair AI-based Recruitment13 Jun 2025
- 2025Benchmarking Graph Neural Networks for Document Layout Analysis in Public Affairs12 May 2025
- 2024Research on Predicting Public Opinion Event Heat Levels Based on Large Language Models27 Sep 2024
- 2024Examining the robustness of LLM evaluation to the distributional assumptions of benchmarks25 Apr 2024
- 2024Cause and Effect: Can Large Language Models Truly Understand Causality?28 Feb 2024
- 2023FFT: Towards Harmlessness Evaluation and Analysis for LLMs with Factuality, Fairness, Toxicity30 Nov 2023
- 2023An Interdisciplinary Outlook on Large Language Models for Scientific Research3 Nov 2023
- 2023A Survey on Evaluation of Large Language Models6 Jul 2023
- 2023Position: AI Evaluation Should Learn from How We Test Humans18 Jun 2023
12 newest of 13 All 13 (JSON)