Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-06T07:42:50.509Z Has data issue: false hasContentIssue false

Multi-Label Prediction for Political Text-as-Data

Published online by Cambridge University Press:  14 June 2021

Aaron Erlich
Affiliation:
Department of Political Science, McGill University, Montreal, QC, Canada Centre for the Study of Democratic Citizenship, QC, Canada
Stefano G. Dantas
Affiliation:
Department of Electrical and Computer Engineering, McGill University, Montreal, QC, Canada
Benjamin E. Bagozzi*
Affiliation:
Department of Political Science and International Relations, University of Delaware, Newark, DE, USA. Email: bagozzib@udel.edu
Daniel Berliner
Affiliation:
Department of Government, London School of Economics and Political Science, London, UK
Brian Palmer-Rubin
Affiliation:
Department of Political Science, Marquette University, Milwaukee, WI, USA
*
Corresponding author Benjamin E. Bagozzi
Rights & Permissions [Opens in a new window]

Abstract

Political scientists increasingly use supervised machine learning to code multiple relevant labels from a single set of texts. The current “best practice” of individually applying supervised machine learning to each label ignores information on inter-label association(s), and is likely to under-perform as a result. We introduce multi-label prediction as a solution to this problem. After reviewing the multi-label prediction framework, we apply it to code multiple features of (i) access to information requests made to the Mexican government and (ii) country-year human rights reports. We find that multi-label prediction outperforms standard supervised learning approaches, even in instances where the correlations among one’s multiple labels are low.

Information

Type
Article
Copyright
© The Author(s) 2021. Published by Cambridge University Press on behalf of the Society for Political Methodology
Figure 0

Figure 1 Relationships among problem transformation approaches.

Figure 1

Table 1 Multi-label evaluation metrics.

Figure 2

Table 2 Results for 10 different data splits.

Figure 3

Figure 2 Performance of binary relevance (BR) and ensemble classifier chain (ECC) for the proposed metrics. Shaded regions denote the standard deviation of the bootstrap splits. For the metrics reported in the left-hand panels, higher values imply better performance. For the metrics reported in the right-hand panels, lower values imply better performance.

Supplementary material: PDF

Erlich et al. supplementary material

Appendix

Download Erlich et al. supplementary material(PDF)
PDF 261.1 KB
Supplementary material: Link

Erlich et al. Dataset

Link