Analysis of Policy Agendas: Lessons Learned from Automatic Topic Classification of Croatian Political Texts
Paper · 2016 · Vanja Mladen Karan, Jan Šnajder, Daniela Širinić et al.
Summary
To see whether a government is paying more attention to an issue, researchers can track how often it appears in legislation, meeting agendas, and parliamentary questions. First they have to decide what each item is about. That work becomes expensive as the archive grows, and sometimes the title is all a researcher can obtain. In their study of the Croatian Policy Agendas Project, the authors ask how well a computer can assign policy codes from titles alone and how it can identify cases worth sending to a human coder. They treat the task as text classification.
The project assembled over 100,000 titles and selected 7300 for manual coding under the Comparative Agendas Project codebook. The codebook places detailed subtopics inside broad policy areas. Student coders began by working independently, groups reexamined disputed or flagged titles, and political science experts resolved remaining disagreements. The authors then trained classifiers to predict these codes from Croatian titles. They compared direct prediction of a subtopic with an approach that also scores its parent topic, and they tried rules that would redirect uncertain predictions to the codebook’s General or Other categories.
The best micro-averaged F1 scores, which pool classification decisions across titles, were 0.77 for major topics and 0.68 for subtopics. An ensemble achieved both scores. The strongest individual classifier matched the ensemble at the major-topic level, and its subtopic score matched that of the direct classifier. The combined score gave much more weight to the major-topic decision than to the subtopic decision. The two rules for redirecting predictions to General or Other brought no gain. Performance also varied widely by code, with some sparsely represented subtopics receiving a score of 0.
The authors separately tested which predictions to keep when human reviewers could take a share of the work. Agreement among classifiers helped identify difficult titles. Under the ensemble disagreement strategy, the paper reports that checking about 30% of the dataset would raise accuracy from 77% to 90%. A strategy that used several confidence thresholds on the output of a single classifier performed comparably. These results give policy researchers a way to think about automation in terms of the review work they can afford, alongside the accuracy they get when every title is coded automatically.
Deep dive: Analysis of Policy Agendas: Lessons Learned from Automatic Topic Classification of Croatian Political Texts
This study tests how to classify Croatian political document titles by policy topic and identify the titles that most need human review. · about 34 minutes to read
The problem and its context
What a policy code measures
A parliamentary question about electricity tariffs and a government decision approving a price increase have different purposes. For a researcher following energy policy, both can count as attention to electrical energy. The policy code supplies a common description that can be counted across documents. It also lets researchers retrieve items that discuss the same subject in different words. The researchers’ interest is in the policy activity recorded by the documents, and the system of categories determines which distinctions their counts can preserve.
The paper traces this approach to the Policy Agendas Project, which began in 1993. Its aim was to make changes in policymaking activity measurable over time. It created a codebook with 19 major topics and 225 subtopics so that activity could be grouped under consistent categories. A count made in one period is easier to interpret alongside a count for another period when both depend on the same definition of the policy area. A changing vocabulary, or a shift in which institutions produce the documents, can otherwise make a stable issue difficult to follow.
The Comparative Agendas Project extended that approach to comparisons across countries and regions. Its master codebook specifies 21 major policy areas and more than 200 subtopics. Projects can share a classification scheme even if the materials available to them differ. Legislation, speeches, judicial decisions, media material, and observations about public opinion are examples the paper gives of the kinds of material national projects can code. The same policy category can therefore describe observations drawn from quite different sources.
The Croatian project applies that framework to the study of policy activity and priorities in a new democracy. Its classification problem starts from a practical feature of the archive. A researcher may know the title of an item and lack access to its contents. Some documents in the Croatian collection are restricted, including material such as government cabinet meeting minutes. For public documents it may be possible to consult the body of the text, but titles supply the common input used in the study. That makes the evidence consistently available across the collection while leaving many individual decisions dependent on a short phrase.
Why coding takes judgment
Ordinary keyword search can recover titles that explicitly mention an issue. Coding requires a decision about the issue even when familiar search terms are missing, or when the words that do appear suggest several possible categories. A title can mention the institution taking an action, the group affected by it, and the subject of the action. The codebook asks the coder to assign one topic. Simply recording every recognizable subject would produce a different kind of dataset.
A consistent decision matters because later analysis aggregates the codes. If items about the same issue are routinely scattered among adjacent topics, the resulting counts depend partly on how the items were phrased or who coded them. When a title genuinely leaves room for different readings, there is also a question of what a code can validly represent. The authors distinguish that question from practical reliability. A computer can apply a learned decision procedure consistently, and its decisions can still miss distinctions a human reader would consider important.
The volume of material makes these problems consequential. Manual coding consumes time and resources, and adding coders can introduce further variation in how the guidelines are understood. Automated coding promises to cover more material with a repeatable procedure. Supervised machine learning shifts part of the work toward preparing and checking examples. The quality and breadth of those examples matter because the classifier learns from decisions already made by people.
There is also a decision about what to automate. A project can accept routine cases automatically and reserve trained coders for difficult cases. This arrangement depends on whether a classifier’s apparent uncertainty is informative. If the low-confidence cases are especially prone to errors, review can address a larger share of errors with the same number of checks. If confidence mainly reflects a title’s unusual wording, the review queue may fill with cases the classifier would have handled correctly. The study makes that decision about where to spend human effort part of the evaluation.
Earlier approaches to political text
In the paper’s account, Purpura and Hillard introduced supervised policy coding for congressional bills using the Policy Agendas Project codebook. Their approach used a hierarchical support vector machine and assigned weights to word features using pointwise mutual information. The Croatian study draws on the same basic formulation of the task. There is a pre-defined set of labels, human examples establish how the scheme is applied, and the system assigns a single label to each new item. The use of separate levels in the earlier work also gives the authors a precedent for investigating the codebook’s hierarchy.
Hillard and colleagues subsequently tried several learning algorithms for congressional bills. The support vector machine led their comparison, with reported accuracy of 88.7% for major topics and 81.0% for subtopics. These are results from the congressional bill task as described by the authors. The units of text, collection, and performance measure matter when reading them alongside results for Croatian titles. The earlier findings establish that supervised policy coding had been evaluated on another collection and that algorithm choice had already been examined there.
The congressional work also tried voting across classifiers. Voting yielded little improvement on its own, but differences among classifiers helped identify documents worth checking. The paper recounts an example in which manually inspecting 20% of the bills, about 1300 documents on which all three classifiers disagreed, raised accuracy from 78% to 87%. It also describes Collingwood and Wilkerson’s finding of 86% average agreement at about 85% coverage when decisions were accepted only if at least three classifiers agreed. In both examples, the agreement signal mattered because it could change which predictions were entrusted to a computer.
The paper discusses active learning as a related way to use scarce coding time. In that arrangement, confidence helps choose the next examples for a person to label during training. The authors cite a congressional bill experiment in which active learning improved accuracy by 3% relative to random selection. The Croatian experiment instead starts with a coded collection and asks which predictions from trained classifiers should be withheld. One decision concerns what evidence a system should learn from. The other concerns what output a researcher should accept after training.
Other approaches described by the authors change what the analysis delivers or how it gets there. Unsupervised approaches use recurring patterns in political texts to infer topics. Work on category proportions tries to estimate the share of material devoted to each issue. Dictionary approaches use written resources to identify topics and can allow a single label or multiple labels. The Croatian project’s requirements come from its commitment to the shared codebook and to one decision for each document. These requirements explain why the authors train the system to reproduce assigned codes and preserve the relation between major topics and subtopics. The unsupervised line of work is an example of topic modeling.
The method, step by step
Build a collection of comparable observations
The authors begin with titles from several kinds of official material. The data-gathering effort started in June 2015. The National Gazette material spans January 1990 to December 2015 and covers published legal acts of the Parliament, Government, and President. The project also gathers agenda items from Parliament and Government, along with parliamentary questions. These sources supply different kinds of title. An official decision, an agenda entry, and a question can all be about the same issue while presenting that issue in different forms.
The combined collection contains over 100,000 title units. The authors select 7300 titles for the manually coded dataset by stratified random sampling. Stratification means organizing sampling so that the intended kinds of observation are represented. Here the authors seek variation across subtopics and also account for provenance. They distinguish National Gazette documents, parliamentary session agendas, government weekly meeting agendas, and parliamentary questions. The resulting sample is designed to give the classifier examples across policy subjects and forms of writing. The large collection is the pool from which examples are drawn. The smaller coded set supplies the examples used in the experiments.
For a new reader, the whole procedure can be understood as a series of decisions about a title. People establish its reference code for the learning task. A text representation gives the classifier numerical evidence. The classifier uses that evidence to score possible codes. For the experiments on human review, the authors then use confidence to decide which automatic assignments a researcher would keep.
From Croatian document titles to policy codes and review
The steps in order.
Establish the reference codes
Thirteen students in political science and legal studies performed the initial coding. They first received instruction in the codebook and the task. Each student then coded four calibration sets of 50 titles each. The calibration exercise covered 200 titles and gave the project a chance to see which categories needed clearer explanations or examples. Comparing independent answers at this point also gave the authors a measure of how consistently coders understood the same instructions. This process is a form of linguistic annotation.
The main coding proceeded in stages. Each title first went to two students, who worked independently. The students could flag a title as problematic and make notes about it. A flag could trigger another review even when the assigned codes agreed. That matters because agreement and confidence express different judgments. Two people can make the same choice and still see reasons to question it. Including flagged agreements gives the project a way to revisit such cases.
The students were also divided into four groups. Titles carried forward from the initial stage were independently assessed by two groups. Where the groups’ codes differed, three political science experts independently coded the title. The experts then discussed any disagreement left within that round and settled it by consensus. The reference codes used in the experiments thus incorporate judgments for cases that straightforward independent coding could settle and adjudication for cases that required further attention. The authors made the manually coded Croatian Policy Agendas Project dataset freely available.
The codebook’s General and Other categories illustrate what the coders had to decide. General, identified as 00 within a major area, covers titles that are too broad for a particular subtopic or give comparable prominence to several subtopics. Other, identified as 99, can be used when a title has a specific subject and the inventory lacks an appropriate subtopic. General therefore gives a coding home to a broad or mixed item. Other records a specific item that falls outside the listed choices. Both are valid labels in the scheme, and a classifier may learn to choose them from annotated examples.
Examples in the paper make the categories concrete. An item on appointing a finance minister is coded in Finance under General. A decision authorizing higher electricity prices receives the Electrical Energy subtopic under Energy. A regulation on social care for immigrants and returnees is assigned to Other under Social Welfare. These choices show why predicting one broad policy topic and choosing the detailed code inside it can use different evidence. A title may identify the relevant area clearly while still requiring care about how the codebook subdivides that area.
Turn titles into numerical evidence
The text processing begins by breaking each Croatian title into tokens. A token is a unit of text the procedure can pass on to later steps. The classifier uses representations built from these units instead of making decisions directly from the original string. The authors then look words up in an automatically acquired Croatian morphological lexicon developed in earlier work by Šnajder and colleagues. That lexicon supports tokenization and the preparation of input for the next step.
The lookup supplies lemmas, the vocabulary forms under which inflected occurrences of a word can be grouped. The authors motivate this choice by the richness of Croatian inflection and by earlier Croatian classification research that found benefits from lemmatizing. Grouping inflected forms gives observations of the same word more opportunity to contribute to a common feature. This is particularly helpful to understand with titles, where an individual item supplies few words and a more finely divided vocabulary leaves fewer repetitions from which to learn. The normalization step is lemmatization.
After normalization the authors remove stopwords, which they describe as non-content words. They keep the representation relatively simple. In particular, they leave out features from syntactic analysis because they expect those features to be sparse and to need more examples to be useful. The issue is the amount of usable evidence for each feature. A detailed grammatical pattern may be informative when it recurs in suitable contexts, but the titles make any such pattern available in few instances. The paper treats richer syntactic processing as a design decision outside the tested pipeline.
The first part of the input records lemmas with a weight that reflects how frequently they occur in the current title and how broadly they occur in the document set. The paper calls this TF-IDF weighting and writes it as follows.
tfidf(l) = freq(l) · |D| / |{d | l ∈ d}|
Here l is the lemma whose weight tfidf(l) is being computed. The function freq(l) gives its frequency in the title being represented. D is the set of documents, and the vertical bars around D give the number of documents in that set. The variable d denotes an individual document. Inside the braces, the vertical bar separates d from the condition the document must satisfy, and l ∈ d says that d contains the lemma. The outer vertical bars in the denominator count those documents. The dot signifies multiplication, and the slash divides the total document count by the count of documents containing the lemma.
The weighting gives different roles to repetition within a title and recurrence across the collection. Repetition within a title increases the weight through the frequency term. A lemma found in a smaller share of documents gets a larger multiplier from the document counts. The printed expression uses the document-count ratio directly. This part of the representation lets the learning algorithm see that one title contains a particular lemma, while making that feature more prominent when the lemma is less widely distributed.
The second part records frequent bigrams. A bigram is a pair of consecutive tokens, so it can preserve a small piece of word order that a list of individual lemmas loses. The paper uses binary features for the 300 most frequent bigrams in the dataset. Each feature records whether the corresponding pair occurs. Two titles containing many of the same words may therefore differ in the bigram features if those words appear in different combinations. A bigram is a short instance of an N-gram.
The third part represents the title through word2vec vectors derived from the hrWaC web corpus. Each content word contributes its numerical vector, and the authors add the vectors to form the title’s representation. The resulting input has length 300. Adding the vectors supplies a way to pool evidence about the words in the title. Word order drops out of this sum, while the bigram features can still capture some local order. The input therefore includes evidence about individual normalized words, frequent adjacent pairs, and the combined representation of content words. The third component uses word embeddings.
The authors give the competing classifiers the same kinds of features. That decision makes it possible to compare learning methods using a shared input. Some of the algorithms can also give little or no influence to parts of that input as they learn. Logistic regression uses L1 regularization, which encourages sparse feature weights. The boosted tree classifier selects useful features as part of building its trees. The paper describes these as implicit forms of feature selection. It does not add a separate feature selection stage before training.
Learn to distinguish policy codes
The classification problem is supervised and multiclass. Supervision supplies a human-assigned code for every training example. Multiclass means there are many eligible codes, while the prediction for a title is a single choice. Some algorithms can compare all the classes directly. Others can be organized as collections of binary decisions. The paper tests both kinds of arrangement with the same representation of the titles.
In one-vs-rest classification, each binary classifier learns to recognize a particular class against a pooled set of all the others. At prediction time, each classifier assigns a confidence to its own class. The class with the highest confidence wins. The setup gives a learner for each topic access to examples from many competing topics. For example, a learner for Energy has to distinguish its positive examples from all the titles used as negative examples for that task. The logistic regression version is called LR-OVR.
In one-vs-one classification, each binary classifier is trained on a pair of classes. A classifier for Health against Energy therefore sees a different training problem from a classifier for Health against Education. The pairwise predictions vote to decide an item’s class. The authors also need a class confidence for the subsequent hierarchy and review procedures. For a given class they average the confidence values from the pairwise classifiers that include it. This version is called LR-OVO. The appeal of breaking the work up this way is that each fitted problem has a small set of choices. It requires a larger collection of binary classifiers to cover the pairs.
Both logistic regression arrangements use the binary implementation in LIBLINEAR. The authors tune its parameter C on held-out validation data and use the probability estimates from the binary classifiers to construct confidence values. The common choice of algorithm permits a comparison of one-vs-rest and one-vs-one while keeping the basic learner fixed. The paper also mentions a support vector machine trial from the same software library. The authors say logistic regression did slightly better on this collection and omit the detailed support vector machine results.
Gaussian Naïve Bayes, abbreviated GNB, provides a classifier that can handle multiple classes directly. It represents the numerical input by Gaussian distributions for the different classes. The study assumes a shared diagonal covariance matrix, which gives the classes the same feature variances and omits covariance between different feature dimensions. The authors acknowledge that multinomial Naïve Bayes is more usual for text. Their choice of the Gaussian version allows all the classifiers in the study to consume the same numerical features, including the title vector.
Extreme gradient boosting, abbreviated XGB, is the decision tree alternative. A decision tree applies successive feature tests to an observation. Boosting combines many trees to make a stronger predictor. The authors tune the eta and numrounds settings on validation data to limit overfitting. They use the competing learners to test whether the organization of the classification problem and the choice of learning algorithm affect how well the same titles can be coded.
Use the policy hierarchy without committing early
The flat approach fits a classifier directly to the 208 subtopics in the experiment. A title competes for its final category in a single prediction problem. The study implements that alternative with one-vs-rest logistic regression and calls it LR-OVR-F. The direct classifier gives the authors a concrete alternative to imposing the structure of the codebook on the prediction procedure.
The hierarchy-based approach first learns a classifier for the major topics. It also learns a classifier for the subtopics belonging to each major topic. The broad classifier can draw together examples that belong to different parts of an area such as Energy. The local classifier considers the finer distinctions within that area. Learning those distinctions separately makes the split between broad and detailed categories part of the way the system is trained.
One possible way to use those classifiers is to pick the major topic and send the title only to that branch. The consequence of an early error is that the right subtopic becomes inaccessible. If an environmental title is sent to the Energy branch, for instance, the subsequent decision can only choose among the subtopics in that branch. The authors address this by considering the score of every candidate pair of major topic and subtopic. They give each pair a combined score.
f(t, sₜ) = conf₁(t) + α · conf₂(sₜ)
The function f gives the joint score for the candidate pair. The symbol t denotes a major topic, and sₜ denotes one of the subtopics assigned to that major topic. The subscript ₁ in conf₁ identifies the classifier at the major-topic level, and the subscript ₂ in conf₂ identifies the classifier at the subtopic level. Thus conf₁(t) is the confidence assigned to t, and conf₂(sₜ) is the confidence assigned to sₜ by the classifier for its branch. The symbol α is a validation-tuned weight. The dot means the subtopic confidence is multiplied by this weight, and the plus sign adds the result to the major-topic confidence.
The prediction is the subtopic in the pair with the greatest joint score. Within a given branch, the major-topic contribution is shared by its subtopics. Across branches, the major-topic contribution can change. The subtopic confidence can consequently influence both which member of a branch comes first and whether that branch’s candidate can overtake a candidate from another branch. The authors expect the broader decisions to be more reliable because they draw on more examples and because major policy areas can be easier to distinguish than adjacent subtopics. The validation procedure chooses how much weight the finer decision receives.
Test rules for General and Other
The authors also translate the two coding conventions into rules that can change a prediction after classification. For General, they take a confidence ratio for the leading two subtopics. If that ratio exceeds a threshold denoted θ₁, they assign General. This rule uses the relation between the leading scores as a possible sign that a title’s content is broad or divided between subtopics. The paper specifies the threshold comparison but leaves the order of the two scores in the ratio unspecified.
The second rule assigns Other when the highest subtopic confidence falls below a threshold denoted θ₂. Here a weak score for even the leading option serves as a possible sign that the codebook lacks a good detailed fit. The rule depends on the absolute confidence of the leading prediction, while the General rule depends on information from the leading pair. The authors tune both thresholds on held-out validation data. That tuning tests whether the output of a classifier can serve as evidence for choosing these particular codes in practice.
Choosing a code and deferring a decision serve different purposes. General and Other become topic labels in the final dataset. A deferred title still needs a human code. An uncertain prediction can be deferred even when its correct label would be a specific subtopic. Similarly, General can be a confident prediction for a broadly phrased item. The paper gives these operations separate evaluations, so the performance of the rules can be judged independently of the value of uncertainty for selecting review cases.
Decide which titles to send for review
The final part of the method is classification with a reject option. Rejection in this setting means withholding an automatic assignment and forwarding the title to a coder. The authors use N to denote the number of titles they want to send for manual review. The quantity of rejected material gives them a way to represent the human workload. The experiment asks how accuracy changes as that allowance changes.
The simplest approach takes one classifier’s confidence for each title. It orders the titles by that confidence and rejects the bottom N. In effect, the review allowance determines where the threshold falls in the ordered list. This procedure uses the classifier’s own assessment of its chosen label. It treats a low score as a reason to withhold a decision, whether the source of uncertainty is the broad topic or a fine distinction inside it.
The ensemble threshold strategy uses several classifiers, but it also produces a single ranking signal. The paper takes the confidence values of a 3-classifier ensemble and multiplies them to obtain a joint confidence. A low confidence from one member reduces the product. This gives the method information from multiple learners while preserving the principle that the weakest joint scores should go to review first. The authors distinguish this use of confidence from testing whether the learners chose the same class.
The ensemble disagreement strategy looks at the predictions themselves. It creates a pool of titles for which at least one of the three classifiers differs from the others. The authors then sample the desired number of titles from that pool. Since random sampling can give different review sets, they repeat the procedure 100 times and average the measured performance. At a small review allowance, only part of the disagreement pool is sent to coders. Once that pool is exhausted, the procedure has selected all the examples it considers eligible.
The optimized thresholds strategy uses signals from a single hierarchy-based classifier. It rejects a title if the major-topic confidence is below p₁. It also rejects a title if its subtopic confidence is below p₂ and its lead over the next subtopic is below p₃. The first condition identifies an uncertain broad classification. The second uses a weak leading score together with a narrow margin at the detailed level. A modest subtopic score with a clear lead and a modest score with a close competitor can thus lead to different decisions.
The authors choose p₁, p₂, and p₃ on held-out validation data to maximize accuracy subject to a maximum number of rejections. This gives the strategy a way to adapt its definition of uncertainty to the size of the queue the project can handle. The comparison among strategies consequently tests different uses of confidence and disagreement while making the size of the human review assignment explicit.
Experiments and results
What was measured
The evaluation uses the 7300 manually coded titles. The paper reports 5-fold cross-validation and gives the mean and standard deviation of each measure across the folds. Cross-validation repeats the process of fitting on some of the labeled data and evaluating on a held-out partition. The standard deviation describes how much the results varied across those partitions. The authors use grid search on held-out validation data to choose hyper-parameters, including the settings that govern the joint hierarchy score and the rule thresholds.
The comparison uses both micro- and macro-averaged F1. F1 reflects precision, the share of predictions for a class that are correct, and recall, the share of the reference items for that class that the classifier retrieves. Micro-averaging pools decisions before computing the score. Macro-averaging gives each category an equal role by averaging class-level results. This distinction matters for policy coding because frequent categories can contribute many correct decisions while a classifier retrieves few instances of scarce ones. The two averages let readers see overall coding performance and how well the typical category fares.
The authors also report Cohen’s kappa and Gwet’s AC1 as measures of agreement. These give additional ways to describe the relation between predicted labels and the human reference codes. A separate part of the study reports agreement between human coders during data preparation. Those figures concern how consistently people applied the coding scheme at particular stages. The classifier scores concern how closely a learned procedure reproduced the resolved codes.
The results table describes evaluation over 22 major-topic labels and 208 subtopics. The master codebook description in the paper identifies 21 major policy topics, and the per-topic results include an additional major-level Other row. The Other row in that evaluation is a broad label. The Other subtopic rule discussed in the method concerns choosing a detailed code within a major area. Keeping the two uses distinct helps explain both the number of evaluation labels and the intended operation of the rule.
Agreement during manual coding
The calibration rounds quantify how closely the students applied the guidelines before the main set was adjudicated. The first calibration set had percent agreement of 81.5, Fleiss’ κ of 0.61, and Krippendorff’s α of 0.61. The final calibration set had percent agreement of 85.4, with Fleiss’ κ and Krippendorff’s α both at 0.70. The intermediate calibration sets had percent agreements of 81.2 and 80.6. The sequence records variation in how readily the sets could be coded and gives the project a basis for identifying cases in which guidance needed improvement.
The main coding table reports percent agreements of 51.2, 79.7, and 83.0 across the successive independent coding phases. Cohen’s κ is reported as 0.51 and 0.79 for the earlier phases, and the expert phase reports Fleiss’ κ of 0.87. Each stage involves different coders or groups of coders, and later stages deal with cases selected under the escalation procedure. The figures describe agreement within those rounds. They cannot isolate how much of a change comes from a change in coders, the titles sent to a round, or the way coding was organized.
Classification when every title receives a code
The main algorithm comparison includes hierarchical Gaussian Naïve Bayes, hierarchical boosted trees, and both hierarchical arrangements of logistic regression. It also includes the direct logistic regression classifier and a voting ensemble. These comparisons distinguish the choice of learning algorithm from the choice to build the policy hierarchy into prediction. The flat one-vs-rest classifier is the closest comparison for the hierarchical one-vs-rest classifier because both use the same type of learner and the same title features.
Major-topic micro F1 on Croatian Policy Agendas Project titles
The ensemble and hierarchical one-vs-rest logistic regression share the highest score.
The numbers
| System or setting | micro F1 |
|---|---|
| Hierarchical one-vs-one logistic regression | 0.75 |
| Flat one-vs-rest logistic regression | 0.74 |
| Hierarchical one-vs-rest logistic regression | 0.77 |
| Voting ensemble (this paper) | 0.77 |
At the broad level, the hierarchical one-vs-rest logistic regression classifier had micro F1 of 0.77 ± .01. The hierarchical one-vs-one version had 0.75 ± .01, and the direct one-vs-rest version had 0.74 ± .01. Hierarchical boosted trees scored 0.71 ± .01, and hierarchical Gaussian Naïve Bayes scored 0.57 ± .01. Among the individual classifiers, the best result came from hierarchical one-vs-rest logistic regression. Its macro F1 of 0.75 ± .01 also led the individual results at this level.
The ensemble combines the hierarchical one-vs-rest and one-vs-one logistic regression classifiers with hierarchical boosted trees. It uses majority voting and takes the hierarchical one-vs-rest prediction when the vote is tied. At the major-topic level, its micro F1 is 0.77 ± .01, with macro F1 of 0.75 ± .02. Its Cohen’s κ is 0.75 ± .01 and its AC1 is 0.77 ± .01, the same reported values as for hierarchical one-vs-rest logistic regression. The major-topic results therefore give the ensemble a tie with the strongest individual classifier on the central measure.
Subtopic micro F1 on Croatian Policy Agendas Project titles
The ensemble leads the detailed coding comparison while the one-vs-rest classifiers tie.
The numbers
| System or setting | micro F1 |
|---|---|
| Hierarchical one-vs-one logistic regression | 0.61 |
| Flat one-vs-rest logistic regression | 0.65 |
| Hierarchical one-vs-rest logistic regression | 0.65 |
| Voting ensemble (this paper) | 0.68 |
At the subtopic level, the ensemble achieved micro F1 of 0.68 ± .01. Both one-vs-rest classifiers achieved 0.65 ± .01. Hierarchical one-vs-one logistic regression scored 0.61 ± .01, hierarchical boosted trees 0.58 ± .02, and hierarchical Gaussian Naïve Bayes 0.41 ± .01. Thus the strongest individual method has a direct counterpart with the same reported micro F1 at this level, while the best overall subtopic result comes from voting across hierarchy-based classifiers.
Macro F1 preserves some distinctions hidden by that tie. Hierarchical one-vs-rest logistic regression had subtopic macro F1 of 0.55 ± .02, compared with 0.54 ± .01 for the flat version. The ensemble scored 0.56 ± .01. Its Cohen’s κ was 0.67 ± .01 and its AC1 was 0.68 ± .01. Both one-vs-rest versions had Cohen’s κ and AC1 of 0.65 ± .01. The ensemble’s higher subtopic score appears in each of the reported measures, although the macro averages still show considerable variation across categories.
Performance by policy area
The individual topic scores reveal which labels contribute to those averages. The Energy category contained 225 titles and reached F1 of 0.87 ± .03 with hierarchical one-vs-rest logistic regression. Education contained 222 titles and reached 0.84 ± .04. Government Operations, the most represented major category in the results table with 1253 titles, reached 0.74 ± .01. Category frequency therefore gives only part of the picture. Some categories with fewer documents can be recognized more reliably than a large one.
At the lower end, the Immigration category had 29 titles and reached F1 of 0.51 ± .15. The major-level Other category had 14 titles and reached 0.59 ± .10. These entries combine low scores with substantial variation across folds. The authors associate the weakest major-topic performance with low representation. The individual results also show why reporting the number of examples alongside F1 matters. A broad category may seem well established in the codebook while appearing only occasionally in the experiment.
There are recognizable subtopics with few examples. Among the strongest subtopics for the hierarchical one-vs-rest classifier, the drug-related entry had 21 titles and reached F1 of 0.96 ± .05, while the gender-related entry had 22 and scored 0.95 ± .10. The court-related entry, with 344 titles, reached 0.92 ± .02. These are cross-validation results for the individual codes and are drawn from the paper’s list of the strongest subtopics. They show that some small categories were handled well in these data even though scarcity posed a serious challenge elsewhere.
The authors report that the weakest subtopics had F1 of 0, associating those results with fewer than 15 training examples. Juvenile Crime and Rural Housing are examples, each with only 7 instances. These failures matter to agenda analysis because a subtopic can be substantively important even if few titles in the training data carry it. An overall score pooled across all titles gives those examples limited influence. The lower macro scores and the results for particular topics make the unevenness visible.
Accuracy under a review allowance
The authors use accuracy–rejection curves to compare how the four strategies spend a review allowance. The horizontal comparison is how much material is rejected for human coding. The vertical comparison is classification accuracy at that level of rejection. An effective strategy can improve the accuracy of the accepted automatic decisions while leaving a manageable amount of material for people. The experiment compares curves because the relative value of a review strategy can depend on the number of cases a project can send to coders.
The optimized thresholds approach outperformed both single-score threshold strategies in the reported curves. Those comparisons include the ranking based on a single classifier’s confidence and the ranking based on the ensemble confidence product. Optimizing several conditions lets the system use both broad-topic uncertainty and uncertainty about the leading detailed label. The results put it close to the ensemble disagreement strategy, although the optimized approach uses only one classifier.
Before the disagreement pool is exhausted, the paper describes ensemble disagreement as the strongest strategy in the curve. Its reach levels off at about 2600 documents, because that is approximately how many titles meet its disagreement condition. Increasing the allowed review queue beyond that point gives the procedure no additional cases to select. That plateau follows from the eligibility rule itself. A confidence ranking can continue to provide candidates even after the classifiers agree on the remaining labels.
The paper’s workload example uses ensemble disagreement. It reports that checking about 30% of the dataset, written as 2300/7300, would raise accuracy from 77% to 90%. These numbers describe the accuracy and review tradeoff in the paper’s experiment. In particular, the 90% should be read in relation to the rejection procedure and its review allowance. The separate all-title classification comparison measures what the classifiers do when they must assign a code throughout the evaluation set.
What the ablations show
Where the hierarchy helps
The paper offers controlled comparisons of classifier design, threshold analyses, and tests of review strategies. The closest test of the hierarchy compares the hierarchical and flat versions of one-vs-rest logistic regression. At the major-topic level the hierarchical method scores higher on the reported measures. At the subtopic level the micro F1 values tie, with a small numerical advantage for the hierarchical method on macro F1. This is a more specific result than a general claim that every detailed classification gains from using the hierarchy.
The leading ensemble uses hierarchy-based classifiers and produces the strongest subtopic result. Its comparison with the flat classifier changes both the use of hierarchy and the way predictions are combined. It shows what this particular combination can achieve. The gain cannot be attributed to hierarchy alone, because the study does not include a flat ensemble with matching members and a matching voting rule. The individual one-vs-rest comparison is the appropriate evidence for what changes when the structure of that learner’s prediction problem changes.
Within logistic regression, the paper compares two ways to turn many policy labels into binary training problems. The one-vs-rest design gives clearer gains on major topics. The authors characterize the approaches as comparable for subtopics, where the strongest individual choice remains one-vs-rest in the table. The comparisons indicate how the competing designs performed with the available data, shared features, and chosen training procedures. They provide no separate test of which aspect of the binary decomposition produced those differences.
Validation selected α of 0.01 for the joint hierarchy score. Because this coefficient multiplies the subtopic term, the selected rule gives the broad-topic confidence much more influence when comparing candidates from different branches. The detailed confidence still distinguishes subtopics within a branch, where the major-topic term is shared. The result supports the authors’ expectation that broad-topic decisions offer a more reliable guide in this setup. The coefficient is a tuning result for the confidences produced by the tested classifiers, so its numerical value also depends on how those scores behave.
What the General and Other rules tested
The tuned thresholds made the postprocessing rules effectively inactive. The authors suggest that there were likely too few cases in which the rules corrected a prediction relative to cases in which they would change a correct decision. The experiment therefore found no gain from the tested rule for redirecting similar leading scores to General or from the rule for redirecting a low leading score to Other. General and Other could still be predicted as ordinary labels by the classifiers.
The result illuminates the relationship between codebook meaning and classifier confidence. Close scores can arise when a title is genuinely broad, when it gives similar attention to adjacent issues, or when the learner has difficulty distinguishing plausible specific codes. Low confidence can arise when the title’s subject falls in a gap in the codebook, when wording is sparse, or when a suitable code had few examples in training. The rules use general signs of uncertainty to detect particular kinds of content. Their validation outcome shows that those signs did not work well enough for that purpose in this study.
That result sits comfortably alongside the success of confidence for routing items to a person. A review rule has to identify cases where accepting the predicted code is risky. A relabeling rule has to identify the right replacement label as well. The evidence required for relabeling is consequently more demanding. The same short title can be a sensible case for review even if its score pattern gives little reason to prefer General, Other, or any particular specific subtopic.
What the review comparisons isolate
The threshold strategy based on a single score establishes a reference for measuring the value of additional signals. The ensemble confidence product adds information from several classifiers while still reducing the decision to a scalar ranking. The disagreement strategy uses an observable difference in the predicted labels. The optimized thresholds strategy keeps the output of a single classifier and uses several aspects of its confidence. The comparisons show that the structure of the signal matters as well as the number of classifiers contributing to it.
The optimized strategy’s advantage over the simpler threshold approaches shows an empirical benefit for the combined decision rule. The paper does not report separate removal tests for the major-topic threshold, the subtopic threshold, and the margin threshold. The comparison therefore supports the rule as a whole and leaves the contribution of each condition open. Likewise, the disagreement curve evaluates the pool and sampling procedure together. It says how useful these differences among predictions were for prioritizing review under the tested allowances.
The authors suggest combining the disagreement and optimized threshold strategies. The shape of the curves gives a reason for considering it. Disagreement can identify an especially productive pool at the review budgets where the curve leads, while the thresholds offer a way to identify cases once that pool runs out. The paper reports separate strategies and describes their combination as future work. No curve for the combined procedure is reported.
Limitations
Limits the authors identify
The authors put validity at the center of the problem. A classifier can reproduce the patterns in labeled data without having access to the nuances a knowledgeable reader might infer. The experimental reference is the adjudicated human code. Agreement with that reference measures performance at reproducing the project’s coding decisions. The validity of interpreting those decisions as a measure of political attention depends on the underlying categories, documents, and judgments.
Titles are the only text used for classification. Many source documents are restricted, making a title the only available input for those cases. For public records the authors leave open the possibility of working with full documents. They also suggest considering additional metadata. More context might help resolve a title whose policy focus depends on what the document actually says. The present results establish what could be recovered from the title representation in the study.
The authors relate the worst subtopic results to sparse training data and acknowledge that their search over classifier designs is selective. Their choices include some ways to organize multiclass learning, a particular score for combining the two levels, and a particular set of title features. The conclusion names convolutional and recurrent neural networks as possible future directions. The evidence about algorithm performance comes from the learners actually tested.
Limits visible in the evaluation
The coded titles were selected to represent variation in topics and document sources. Performance on that sample need not describe how the classifier would behave across the entire collection of over 100,000 titles. A shift in the mix of sources changes the kinds of wording a system encounters. A shift in the share of low-frequency codes changes the weight those codes have in pooled measures. The sampling procedure gives the study a basis for comparing the tested classifiers, and a separate evaluation would be needed to establish their accuracy on a differently composed collection.
The reported cross-validation partitions come from the coded collection. There is no separate result for training on one source and predicting a different source, or for training on earlier years and applying the classifier to a later period. Those conditions matter for an agenda study because topic vocabulary and the composition of the archive can vary with time and institution. A policy-attention series could be affected if a category were recognized well in one kind of record and poorly in another. Overall and category-level scores expose some variation, while leaving those particular comparisons open.
Agreement during coding also needs to be interpreted at the level at which it was measured. The calibration sets contain different titles, and the main coding rounds involve different sets of cases and different arrangements of coders. The rising agreement figures in the main procedure cannot establish what would happen if experts and students coded the same sample under identical conditions. Nor does the classifier evaluation compare separate versions of the training data labeled at different stages. The audit trail shows how a resolved dataset was constructed, with no controlled estimate of how much each stage contributed to eventual prediction performance.
The shared feature representation makes the algorithm comparison easier to interpret. It leaves the individual effects of lemmatization, frequent bigrams, and word vectors unresolved. A good result from the complete system cannot tell a reader whether any particular feature group supplied most of the evidence on a given category. The paper gives reasons for the feature choices and compares learners using them. Its experiments do not include a separate feature-removal comparison.
The study uses the number of rejected cases as the measure of human workload. It gives no timed estimate of how much work coders would spend on an actual review queue. Titles selected for review may take longer to code precisely because they are difficult. Questions such as whether a coder would consult a fuller document, escalate a disagreement, or reconsider an ambiguous category remain outside the accuracy–rejection experiment. The reported operating points describe how many assignments would be forwarded and the associated accuracy in the study.
A further question concerns the use of automatic codes to estimate policy attention. Misclassifications can change aggregated counts, and the per-category results show that the error risk varies by topic. The experiments measure agreement with individual reference labels and the gains available from selective review. They do not report a comparison of policy trends inferred from automatic and human coding. Evidence at the item level gives a researcher something to assess before using the codes for that purpose. The accuracy of the resulting trend estimates is a separate empirical question.
What came after
There are no documented follow-up studies to discuss. The paper itself identifies several directions for extending the experiments. The closest continuation would combine the disagreement and optimized threshold strategies, which performed similarly over part of the review comparison but used different signals. That extension would test whether a joint procedure can preserve the value of disagreement and keep finding useful cases after the disagreement pool is exhausted.
The authors also propose evaluating newer text classifiers and allowing the classifier to consult full text or additional metadata. Those directions address different constraints. Changing the learner tests how much can be extracted from the available title. Providing more text or metadata tests whether the assignment improves when the evidence itself changes. The study leaves both questions open, alongside the practical question of how well the review gains carry over to policy collections with different documents and access conditions.
Cite
Cite as Vanja Mladen Karan, Jan Šnajder, Daniela Širinić and Goran Glavaš. 2016. Analysis of Policy Agendas: Lessons Learned from Automatic Topic Classification of Croatian Political Texts. Proceedings of the 10th SIGHUM Workshop on Language Technology for Cultural Heritage, Social Sciences, and Humanities.
@inproceedings{karan2016analysis,
title = {{Analysis of Policy Agendas: Lessons Learned from Automatic Topic Classification of Croatian Political Texts}},
author = {Vanja Mladen Karan, Jan Šnajder, Daniela Širinić and Goran Glavaš},
booktitle = {Proceedings of the 10th SIGHUM Workshop on Language Technology for Cultural Heritage, Social Sciences, and Humanities},
year = {2016},
doi = {10.18653/v1/w16-2102},
url = {https://doi.org/10.18653/v1/w16-2102}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/karan-2016-analysis-policy-agendas-lessons-learned/