[Paper Review] Scaling Text with the Class Affinity Model
This paper proposes the Class Affinity Model, a probabilistic text scaling framework that estimates latent ideological positions on a spectrum between 'government' and 'opposition' rather than classifying texts into discrete categories. By modeling word-level affinities to polar opposites and using a sentence-level block bootstrap for uncertainty quantification, the method reveals nuanced ideological differences among Irish Dáil legislators—particularly among backbenchers and party leaders—beyond what votes or party affiliations show.
Probabilistic methods for classifying text form a rich tradition in machine learning and natural language processing. For many important problems, however, class prediction is uninteresting because the class is known, and instead the focus shifts to estimating latent quantities related to the text, such as affect or ideology. We focus on one such problem of interest, estimating the ideological positions of 55 Irish legislators in the 1991 Dáil confidence vote. To solve the Dáil scaling problem and others like it, we develop a text modeling framework that allows actors to take latent positions on a "gray" spectrum between "black" and "white" polar opposites. We are able to validate results from this model by measuring the influences exhibited by individual words, and we are able to quantify the uncertainty in the scaling estimates by using a sentence-level block bootstrap. Applying our method to the Dáil debate, we are able to scale the legislators between extreme pro-government and pro-opposition in a way that reveals nuances in their speeches not captured by their votes or party affiliations.
Motivation & Objective
- To address the limitation of traditional text classification in political science, where class labels (e.g., party or vote) are known and uninformative, and focus instead on estimating latent ideological positions from speech texts.
- To model ideological positioning as a continuous latent trait on a spectrum between 'government' and 'opposition' rather than discrete class membership.
- To develop a method that leverages supervised learning with anchor texts (e.g., leadership speeches) to scale individual legislators' speeches meaningfully despite high party discipline.
- To quantify uncertainty in scaling estimates using a sentence-level block bootstrap, enhancing model robustness and interpretability.
- To validate the model’s results through word influence analysis and alignment with expert political knowledge of the 1991 Irish Dáil debate.
Proposed method
- The model uses a probabilistic framework inspired by Naive Bayes, assigning each word a latent affinity score toward 'government' or 'opposition' based on its co-occurrence patterns in reference speeches.
- It estimates each speaker’s ideological position as a weighted average of word affinities, with weights derived from the frequency and distribution of words in their speeches.
- The model incorporates a sentence-level block bootstrap to resample sentences and quantify uncertainty in the estimated scaling positions.
- Word influence is measured by assessing how much each word contributes to shifting the estimated position of a speaker, enabling validation of model fit.
- The method is applied to 1991 Irish Dáil debate speeches, using leadership speeches as anchors to calibrate the scaling of backbenchers.
- The model’s simplicity allows analytical tractability and connections to existing methods like dictionary-based scaling and Wordscores.
Experimental results
Research questions
- RQ1How can we estimate latent ideological positions of speakers in a legislative debate when their voting behavior is perfectly predictable by party affiliation?
- RQ2To what extent can text alone reveal nuanced ideological differences among legislators that are not captured by party labels or votes?
- RQ3How can we quantify uncertainty in the estimated ideological scaling of individual speakers using resampling techniques?
- RQ4Which words most strongly influence the estimated ideological position of a speaker, and can these be validated against expert political understanding?
- RQ5Can a class affinity model outperform traditional dictionary-based scaling in contexts with no pre-existing lexicons for political polarity?
Key findings
- The Class Affinity Model successfully estimated continuous ideological positions for 55 Irish Dáil members, revealing significant variation in government and opposition affinities even within the same party.
- Backbench Fianna Fáil members showed lower government affinity than their party leaders, indicating more critical or moderate stances in their speeches.
- Three Fianna Fáil backbenchers—Nolan, Cullimore, and Cowan—had extreme government-affinity scores, with Cowan later becoming Taoisead, suggesting alignment with party leadership.
- On the opposition side, Fine Gael’s Garret FitzGerald and Peter Barry showed strong economic critiques of the government, reflecting policy-based opposition rather than moral condemnation.
- Labour TD Pat Rabbitte had the highest opposition affinity, with a speech marked by personal attacks on the Taoiseach, consistent with expert political analysis.
- The model’s word influence analysis confirmed that terms related to corruption, performance, and character were key drivers of ideological scaling, validating the model’s interpretability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.