Introduction
How has the concept of "solidarity" evolved in political discourse over the last century and a half? Researchers recently leveraged GPT-4 to analyze 155 years of German parliamentary debates, tracking attitudes toward women and migrants from 1867 to the present. The study reveals a profound historical shift: while early discourse was rooted in shared national identity, modern debates increasingly frame solidarity through compassion for the vulnerable, while anti-solidarity is often articulated through economic "exchange" arguments.
The Challenge of Measuring Solidarity
Solidarity serves as the social cohesion that binds a society, yet it remains notoriously difficult to quantify. In political science, manual content analysis of historical archives is considered the gold standard, but it is prohibitively expensive and slow. For this study, manual annotation of a small fraction of the dataset cost over €18,000.
Furthermore, solidarity is not a monolith. It can be based on shared identity ("they are like us"), economic reciprocity ("they contribute to our system"), or pure compassion ("they are suffering"). Capturing these "fine-grained" frames is essential for tracking ideological shifts, but requires models capable of handling nuanced, subjective sociological concepts across evolving historical language.
Methodology and Framework
The researchers developed a multi-stage pipeline to bridge the gap between raw archives and sociological insight. Central to this was an annotation scheme adapted from Thijssen (2012), which categorizes statements into four high-level classes (Solidarity, Anti-solidarity, Mixed, None) and eight fine-grained subtypes.
The pipeline involved:
- Keyword Extraction: Identifying relevant sentences using Word2Vec-expanded keywords for "migrants" and "women."
- Two-Step Prompting: Utilizing a "Chain-of-Thought" approach where GPT-4 first identifies high-level categories before determining specific subtypes.
- Large-Scale Inference: Using the validated model to annotate 18,000 instances for longitudinal analysis.
Dataset Overview
The study utilized DeuParl, a newly released dataset comprising 19.1 million sentences from the German Bundestag (1949–present) and Reichstag (1867–1945). To evaluate the models, a "Gold Standard Set" of 2,864 manually annotated snippets was created by trained experts over a nine-month period.
Longitudinal Insights: The "Compassion Shift"
The analysis revealed significant trends in how marginalized groups are discussed. Historically, both solidarity and anti-solidarity were "Group-based," centered on national identity. In recent decades, however, solidarity has shifted toward "Compassionate" frames, focusing on the vulnerability of migrants. Conversely, anti-solidarity has become increasingly "Exchange-based," focusing on a perceived lack of economic contribution.
Key findings from the longitudinal data include:
- Post-WWII Surge: A major increase in solidarity occurred after 1945, driven by the influx of German expellees (Vertriebene), who were viewed through a "Group-based" lens.
- Rising Polarization: Anti-solidarity toward migrants rose from approximately 5% in the mid-20th century to over 20% by 2022.
- Partisan Divide: Left-leaning parties (Linke, Grüne) favor compassionate frames, while the far-right (AfD) is the only group where anti-solidarity—specifically exchange-based—dominates.
Model Performance and Efficiency
GPT-4 emerged as a highly effective "computational sociologist," achieving a Macro F1 of 0.73 on migrant classification, nearing the human upper bound of 0.78. The efficiency gains were staggering: while human annotation cost ~€6.30 per instance, GPT-4 achieved comparable quality for just ~€0.03 per instance. Interestingly, the model performed nearly as well in zero-shot settings as in few-shot, suggesting that the detailed sociological definitions provided in the prompts allowed for robust reasoning.
Conclusion and Future Directions
While the study demonstrates the power of LLMs in historical political analysis, limitations remain. Language evolution before 1930 posed challenges for model stability, and the current focus on text snippets may miss broader argumentative contexts. Future work aims to expand this fine-grained analysis to the "women" dataset and incorporate "other-positioning" to better capture the adversarial nature of parliamentary debate.
Summary updated