Elamur Research

When Fairness Isn't Statistical: The Limits of Machine Learning in Evaluating Legal Reasoning

Paper · 2025 · Claire Barale, Michael Rovatsos and Nehal Bhuta

Summary

When refugee claims succeed at different rates in different cities, the gap is visible in the records. Its meaning is harder to establish. The cases may differ in ways that matter under the law, or claimants may receive unequal treatment for reasons that should carry no weight. This paper tests whether machine learning can help tell those possibilities apart. The authors study AsyLex, a collection of 59,112 publicly released Canadian refugee decisions. The documents contain both the outcome and a written account of the case, giving the researchers a way to ask whether computational methods can use the reasons behind a decision as well as the result.

The authors compare approaches that start from different evidence. They use recorded features such as the hearing city and the claimant’s country of origin to compare grant rates. They group decisions by similarity in language and examine what the resulting groups have in common. They also train classifiers to predict the recorded outcome, then examine which inputs help with that task and how frequently the classifiers recognize grants for different groups of claimants. The study uses the full collection and a smaller set of decisions from adjudicators selected for their contrasting grant rates.

The approaches uncover substantial variation, but their findings frequently diverge. Direct comparisons show differences across years, hearing cities, and groups of claimants. Grouping the written decisions separates language associated with different outcomes, while the resulting groups align only partially with the legal grounds cited. The strongest reported outcome prediction reaches 93.8% accuracy, yet the structured predictor draws heavily on dates and other details of the institutional setting. Performance also varies across claimant groups. The study has records of who received protection, while whether those decisions were justified remains an open question.

The authors conclude that these methods can flag patterns for investigation. Determining their legal significance requires connecting the differences to the facts, the standards applied, and the reasons given. Discretion can produce lawful variation when those considerations differ across cases. Unfair treatment can also coexist with a regular and highly predictable pattern. The authors argue for assessing the decision process and its justifications directly, alongside any statistical examination of outcomes.

Deep dive: When Fairness Isn't Statistical: The Limits of Machine Learning in Evaluating Legal Reasoning

A study of Canadian refugee decisions tests whether machine learning can distinguish unfair disparities from legally justified differences. · about 33 minutes to read

The problem and its context

Why similar cases are hard to identify

A grant rate summarizes how frequently a set of decisions ends in protection. That makes it an accessible measure when comparing hearing locations, periods, or adjudicators. The harder part comes before interpreting the comparison. Which cases belong together for the comparison to be meaningful? Giving each location a single rate answers a clear descriptive question. Evaluating the justice of that difference requires knowing which legally relevant circumstances the cases share and which differ.

Refugee determination makes this distinction especially consequential. The process discussed in the paper falls under the 1951 Refugee Convention and the Convention’s 1967 Protocol. The framework concerns a well-founded fear of persecution on grounds that include race, religion, nationality, political opinion, and membership of a particular social group. Adjudicators interpret evidence, assess credibility, and apply legal standards to the circumstances of an individual claimant. Cases involving the same country of origin may therefore call for different conclusions. Conversely, cases with very different narratives may raise a closely related question about how an adjudicator should evaluate the evidence.

This is why the authors distinguish distributive fairness from procedural and justificatory fairness. The distributive question concerns the pattern of decisions across comparable cases. The procedural question concerns how those decisions were reached. A justificatory inquiry asks whether the stated reasons can support the outcome under the applicable standard. Together these questions make the choice of a comparison group part of the substantive inquiry. Even a precise estimate of a difference in outcomes can leave the legal question unresolved if the cases were grouped by a property with little bearing on their merits.

Consider two decisions that both discuss credibility. The shared subject gives a researcher something concrete to record. A defensible comparison would also ask what evidence the adjudicators considered, how they treated it, and why it mattered in each case. The fact that credibility was discussed tells a reader where to look. The reasons given within that discussion determine what the comparison can establish. The same distinction applies to legal grounds. A document can mention a ground for protection without the mention alone establishing how the ground figured in the disposition.

What earlier work could establish

The paper situates the study in a literature that documented large differences in refugee outcomes across adjudicators or places. The expression refugee roulette captures the concern that a claimant’s prospects may depend on who hears the case. In the authors’ account, that literature also supplies an important qualification. Rehaag points to case mix, claimant characteristics, and adjudicator specialization as possible explanations for some of the observed variation. A person who handles a particular category of claims may face a different distribution of evidence and legal issues from someone with a broader assignment. The resulting rates describe different bodies of work. A claim about unequal treatment needs a way to account for those differences.

Another line of research uses prediction. The paper describes studies of legal outcomes in immigration, criminal sentencing, and Supreme Court decisions. In research on asylum adjudication, variables such as adjudicator identity, time, and hearing location had already proved useful for predicting how cases would end. The appeal of this approach is easy to see. If a predictor performs well using information that appears remote from the merits, the institution may have a pattern worth examining. But a hearing date and a decision can be related for several reasons. A date can be associated with which claims arrived, which adjudicators were available, or the wider legal and institutional context. A predictive result by itself leaves those possibilities entangled.

The paper also draws on work that formalizes fairness as a statistical property. Demographic parity concerns how often different groups receive a favorable result. Equalized odds asks about error rates conditional on the recorded outcome. Equality of Opportunity focuses on the favorable outcome and asks whether it is identified at the same rate across groups. These criteria have an explicit object of measurement, which helps make comparisons reproducible. Their legal interpretation depends on how groups are defined, which labels are treated as correct, and whether the decisions follow a sufficiently comparable rule. Those dependencies matter throughout the study. For the broader discussion of fairness and the specific criterion used in the experiment, see A Survey on Bias and Fairness in Machine Learning and Equality of Opportunity in Supervised Learning.

The refugee setting also complicates how protected characteristics enter a fairness assessment. Some characteristics can be relevant to the legal basis of a claim because the framework asks why the claimant fears persecution. A comparison across groups cannot simply treat every association with those characteristics as evidence that they were considered improperly. The relevant question is how a fact figured in the decision and whether the reasoning supports that use. A system can also yield similar aggregate rates while applying an evidentiary standard inconsistently. A statistical definition specifies which numerical property has been satisfied. Whether that property answers the legal question requires another argument.

Why use complete written decisions?

The study takes place against the wider use of Legal AI to examine historical decisions. The authors connect interest in these tools to growing caseloads, backlogs, and limits on institutional resources. A computational analysis can scan a collection on a scale that is difficult to reach by reviewing one decision at a time. Its value depends on what it can reliably identify in the records and what a reviewer can learn from the patterns it returns.

AsyLex provides an opportunity to examine both structured information and complete decisions. A table of outcomes and hearing details can support comparisons across a large collection, but it contains little of an adjudicator’s explanation. The written decision adds a narrative, an account of the evidence, and analysis leading to the outcome. That additional information makes it possible to test whether text-based methods can get closer to the reasoning that matters to a legal assessment.

The authors explain why access to text also makes the technical task harder. A document can contain multiple voices and functions, including a claimant’s account, an assessment of that account, and the adjudicator’s own conclusion. Descriptions may be ambiguous, and a demographic characteristic may be absent or difficult to identify. Human annotators can disagree about how to label a passage. Earlier work in natural language processing frequently relies on explicit labels and stable annotation rules for fairness evaluation. Here the researchers have to ask what can be concluded when the legal documents supply a much less uniform basis for measurement.

The comparison among methods follows from that problem. A feature-based analysis asks whether the outcomes vary across categories a researcher has named in advance. A text analysis can discover groups that were absent from that initial description. A prediction experiment asks whether the available information is sufficient to recover a recorded result. The study puts these approaches on the same collection so that agreement and divergence can be inspected against a common institutional setting.

The method, step by step

Define the collection and the comparisons

AsyLex covers Canadian refugee decisions from 1996 to 2022. The documents come from the Refugee Protection Division and the Refugee Appeal Division. They are publicly accessible through the Canadian Legal Information Institute. AsyLex was already anonymized, and its legally relevant features had been marked by hand. Its outcome label records whether protection was granted or rejected. The label gives the predictive experiment a target and the descriptive experiment a quantity to count. It encodes the disposition recorded in the decision. Whether that disposition was legally justified is a separate judgment.

The authors use the complete collection alongside a subset with a deliberately strong contrast in adjudicator grant rates. They select six adjudicators who issued substantial numbers of decisions and pool them into low- and high-grant groups. Adjudicators 146, 465, and 497 issued only rejections in the selected records. Adjudicators 280, 154, and 346 had grant rates above the average used to select them. The pooled groups are called LGR and HGR. Pooling gives the study a way to ask whether patterns associated with each group are easier to see when the analysis is restricted to these adjudicators.

The subset changes the mixture of decisions, but the underlying records still come from actual adjudication. The authors use a chi-square test on the counts of grants and rejections to check the statistical separation of the groups. Such a test compares the observed counts with those expected if the group and outcome were independent. The contrast is partly built into the sampling rule, since the adjudicators were selected using their past outcomes. Its function in the study is to establish a setting with pronounced outcome separation, against which the results from the wider collection can be read.

Across the experiments, the authors focus on time, geography, claimant demographics, and legal grounds. Time concerns changes across years and the circumstances that may accompany those changes. Geography concerns the city of the hearing, which is distinct from the claimant’s place of origin. The demographic comparisons examine recorded properties such as gender, age, sexual orientation, and origin. The legal analysis uses the Convention grounds cited in the documents. These dimensions come from literature discussed in the paper and from legal consultation. They give the researchers a common set of questions to revisit after each technique has produced its own kind of result.

How the study compares evidence about refugee decisions

The steps in order.

How the study compares evidence about refugee decisionsStep 1: Assemble public decisions and the selected adjudicator subset1. Assemble public decisions and the selected adjudicator subsetStep 2: Define dimensions of possible disparity2. Define dimensions of possible disparityStep 3: Compare outcomes across recorded categories3. Compare outcomes across recorded categoriesStep 4: Embed complete decisions and inspect clusters4. Embed complete decisions and inspect clustersStep 5: Train classifiers on structured features and text5. Train classifiers on structured features and textStep 6: Compare prediction, feature importance, and group recall6. Compare prediction, feature importance, and group recallStep 7: Examine agreement across the approaches7. Examine agreement across the approaches

Measure differences using recorded features

The first approach starts with categories that already have an interpretation. The researchers can group decisions by hearing city, for example, and ask how frequently the recorded result was a grant in each city. They can then ask whether differences persist within a narrower comparison involving claimants’ countries of origin. The approach also supports breakdowns by year, adjudicator, demographic category, and cited legal ground. In the selected subset, it lets the authors examine both which claims appear before each adjudicator group and how those claims turn out.

This design makes the comparisons straightforward to read. A city is a named location, and a grant is a defined outcome. If a comparison uses a particular claimant attribute, a reader knows immediately which kind of similarity the authors have chosen. What the comparison can explain depends on the quality and completeness of the recorded categories. A credibility finding can be summarized as a feature, for instance, while a comparison based on that feature remains much less detailed than a comparison of the underlying evidence and the reasoning in the decisions.

The resulting disparities are descriptive. The study uses the term for observable differences among cases that share a property chosen for comparison. Under that definition, a disparity by city establishes that the distribution of outcomes differs when cases are grouped by hearing city. A legal interpretation of the gap would depend on the relationship between hearing location, the allocation of claims, and the facts of the individual cases. This difference between describing and explaining a disparity is present at the start of the method.

Group decisions by their language

The second approach treats a decision as a whole document. The authors preprocess the text with a custom list of common words to remove and also remove duplicates. They use OpenAI’s text-embedding-3-small to represent each decision. This produces embeddings, numerical vectors whose distances serve as a measure of semantic similarity. Documents closer together in that representation are treated as more alike for the purpose of grouping them.

The authors then apply K-means. The algorithm represents each cluster by a center and assigns documents according to their distance from the centers. As assignments change, the centers are recalculated from the documents grouped around them. The resulting partition organizes the collection using the geometry of the embeddings. The paper examines two major clusters in the complete collection and in the selected subset. It first groups the documents from their representations and then looks at how the resulting partition relates to outcome, adjudicator group, legal grounds, and other recorded features.

The order matters. A cluster is formed without instructions to separate successful claims from unsuccessful ones or to sort decisions by legal issue. A subsequent association with outcomes therefore says that outcome-related distinctions are already reflected in the language being grouped. The source of that association still has to be investigated. The text contains the narrative of the claim, descriptions of evidence and procedure, the adjudicator’s analysis, and the disposition. Any of those elements can influence where a document falls. A cluster can be coherent in the numerical representation while uniting documents that differ on the legal question of interest.

The researchers read the partitions through tabulations, significance tests, and checks of characteristic vocabulary. They also show the clusters and outcomes using t-SNE, a method for displaying high-dimensional representations in a form a reader can inspect visually. The display illustrates the relationship between the partition and the outcome labels. The actual grouping comes from K-means. The tests and document annotations supply evidence about how to interpret that grouping.

Predict the recorded decision from different inputs

The third approach frames grant or rejection as text classification when the input is a written decision, and as binary classification from recorded attributes when the input is structured. Each classifier learns from examples in which the recorded decision is known. Evaluation asks how accurately the learned mapping recovers decisions in the test set. The authors use that experiment to investigate which kinds of information make the outcomes predictable, and to see whether the classifiers recognize grants similarly across groups.

For structured inputs, the study uses a random forest. Each decision tree in the forest uses feature-based splits to divide cases into groups with different mixtures of outcomes. Combining the trees yields a prediction for each example. The authors choose this approach in part because the forest supplies a measure of how much each variable contributed to its splits. They tune its settings using stratified 5-fold cross-validation. In that procedure, portions of the training data take turns as the validation set, with stratification used to preserve the balance of outcomes across portions. The methodology also reports oversampling to address imbalance. Its identification of the oversampled class is difficult to reconcile with the corpus proportions, an issue that affects how precisely the training procedure can be reconstructed.

The forest is trained on different collections of features on both datasets, with the full feature set serving as the reference. The early-information setting is meant to represent what is known when a new case comes before an adjudicator. It draws on details about claimants, locations, and documentary evidence. The external-features setting uses institutional details such as dates, tribunal, hearing format, location, and adjudicator identity. It includes the final decision date, making it a broader retrospective source of information than the early setting. The explanations setting includes cited grounds, credibility, and summaries of other reasons. Separate settings restrict the inputs to adjudicator identity, claimant information, or the location features expressed in nouns and adjectives.

For written decisions, the study trains a fully connected feedforward neural classifier. It has two hidden layers with ReLU activations. A hidden layer transforms the information it receives before passing it forward. A ReLU activation allows positive values through and sets negative values to zero, giving the classifier a way to learn relationships more complex than a single linear transformation. The architecture is intentionally simple. Its role is to show how much outcome signal a classifier can recover from complete decision text under this setup. The text includes material produced as the adjudication reached its conclusion, so this experiment addresses a different information setting from early prediction.

Interpret the scores and feature importance

The paper reports test-set accuracy, macro-averaged F1, and the area under the receiver operating characteristic curve, or ROC AUC. Accuracy records the share of tested decisions assigned the correct recorded label. F1 combines precision, the share of predictions of a class that are correct, with recall, the share of cases in that class that the classifier finds. Macro-averaging gives each outcome class equal weight in this combined measure. ROC AUC describes how well the predictor ranks grants ahead of rejections across varying decision thresholds. The reported evaluation averages over 5 runs. These metrics emphasize different kinds of performance, which matters in a corpus where rejections are more common than grants.

The feature-importance analysis concerns the random forest. It measures decreases in Gini impurity, a measure of how mixed the outcomes are within a node of a tree. A split that creates groups with more uniform outcomes reduces that impurity. The authors aggregate those reductions across the trees to estimate the relative contribution of the features. They also group features into broader categories. Hearing dates, adjudicator identity, and other institutional details contribute to the contextual category. Citations, evidence, and elements of procedure form another category. Claimant attributes supply the demographic category, while grounds for protection, credibility, and explanations are classified as legally salient.

A high importance score means that the forest used a feature effectively to distinguish recorded outcomes. It can arise when a field stands in for other information, and it depends on which other fields are available. It therefore describes the construction of the prediction. For a fairness inquiry, the corresponding legal question is whether the adjudicator used the information and what justified its role. By analyzing importance, one can gauge how much of the predictor’s success is linked to the institutional setting before attempting to interpret that success more broadly.

Compare recall for grants across claimant groups

The fairness metric used in the prediction experiment is Equality of Opportunity. The condition on the recorded outcome is:

Y = 1

Here Y denotes the recorded binary outcome, = specifies the value being considered, and 1 denotes a grant. Among decisions satisfying that condition, the researchers ask how often the classifier also predicts a grant. Equality of Opportunity requires that true positive rate, or recall for grants, to be equal across the protected groups being compared.

A difference in recall therefore concerns the classifier’s treatment of recorded successes. The denominator is the set of grants within the group, rather than all claims from that group. A lower recall can occur even for a group with a higher observed grant rate because these quantities describe separate stages. The paper also examines group-level accuracy and AUC. Recall receives particular attention because it implements the chosen fairness criterion by isolating the recognition of favorable outcomes. The legal interpretation remains dependent on the grants being used as the reference. The study has no independent set of labels identifying every claim that should have succeeded.

Experiments and results

The collection and the selected adjudicators

AsyLex contains 59,112 decisions from 1996 to 2022. The Refugee Appeal Division accounts for 92.19% of the collection. The corpus overview gives 27.1% as the share of decisions granting protection and 72.9% as the share rejecting it. The study’s demographic comparison later uses an average grant rate of 26.3%. That reported reference belongs to the demographic analysis. The relationship between it and the corpus-wide rate is left unspecified, so the figures should be read in their stated settings.

The subset contains 592 decisions, with 427 rejections and 165 grants. The authors report a chi-square p-value of 1.76 × 10⁻²⁷ for the contrast in grant rates between the pooled adjudicator groups. This confirms strong separation by recorded outcome within the selected comparison. It gives the clustering and classification experiments a setting where they can be tested against a pronounced pattern. Because selection used grant histories, the result gives limited evidence about how far the same separation would extend to other adjudicators.

The structured prediction comparisons use the forest with all features as their reference point and restricted feature settings as alternatives. The study also uses the compact neural classifier as a baseline for how much outcome information is available in complete text. The descriptive and clustering approaches have different outputs. For them, the paper compares group rates, cluster composition, and alignments with annotated categories rather than giving all methods a shared score. The study’s central question is whether the signals from these different measurements corroborate one another.

Direct comparisons find large differences in grant rates

Across adjudicators in AsyLex, the feature-based analysis reports grant rates ranging from 0% to 100%. The paper presents counts and negative-decision shares for the 25 adjudicators who rendered the most decisions. An outcome rate viewed alongside the number of decisions has more context than a ranked list of percentages alone. It still reflects the assignments and case mix that produced each adjudicator’s record.

The study reports strong year-to-year variation. It identifies 2000 and 2012 as examples of the low and high annual rates, respectively, and describes a swing of 37.6% between them. The authors suggest that geopolitical developments or changes in the legal setting may contribute to variation across years. A year is thus an effective category for finding the pattern, while assessing whether adjudication itself changed would require evidence about what differed among cases and proceedings in those periods.

Annual grant rates for selected years in the AsyLex feature analysis

The selected years show a wide spread in the share of decisions granting protection.

Annual grant rates for selected years in the AsyLex feature analysisAsyLex decisions in 2000: 2.5AsyLex decisions in 20002.5AsyLex decisions in 2012 (this paper): 40.1AsyLex decisions in 2012 (this paper)40.1
The numbers
System or settinggrant rate %
AsyLex decisions in 20002.5
AsyLex decisions in 2012 (this paper)40.1

The higher rate in this comparison means that protection was granted more often in the corresponding year. Its legal significance depends on the claims and how they were decided. The geographic analysis raises a similar issue. The authors report that the grant rate for hearings in Ottawa was 28.4% lower than the rate for Winnipeg. Differences persisted in comparisons accounting for the most common countries of origin. This check addresses one possible source of geographic variation, while leaving case-specific evidence and other aspects of assignment open. The paper suggests institutional practices and scheduling as possible contributors, with the mechanism unsettled.

In the demographic analysis, female claimants have a reported grant rate of 20%, LGBTQIA+ claimants a rate of 12.2%, and minors a rate of 16.4%, against the 26.3% reference for that comparison. Looking at the selected adjudicators adds another observation. These claimant groups appear disproportionately in the low-grant group. For cases heard by the high-grant group, the paper reports improvements of +20% for minors and +54% for LGBTQIA+ claimants. The authors read the distribution as a reason to question whether assignments are random. This is an association in the selected cases. The allocation mechanism and the comparable merits of the assigned claims remain unresolved.

The frequencies of cited legal grounds also differ across the selected adjudicators. In the low-grant group, religion is cited in 43.2% of cases and nationality in 37.09%. In the high-grant group, the paper highlights political opinion at 24.3% and race at 37.17%. These are frequencies of citation within adjudicator groups. They describe what categories appear in the records and provide a basis for examining whether the groups encountered or discussed different kinds of claims. The citation rates alone leave open how each ground was applied and whether a difference reflects assignment, reasoning, or some combination.

Clustering separates some language associated with outcomes

In the subset of selected adjudicators, the clusters differ strongly in who wrote or rendered the underlying decisions. Cluster 1 contains 85.8% decisions from low-grant adjudicators, as a share of that cluster. High-grant adjudicators account for 98.1% of Cluster 2. The partition therefore aligns with the selected groups, even though adjudicator identity was examined after the grouping. Because outcome patterns and adjudicator groups are associated in the subset, the result also leaves several possible sources for the linguistic separation. Wording tied to a disposition and language characteristic of a group of adjudicators could both contribute.

In the complete collection, the share of grants is 7.2% in Cluster 1 and 40.6% in Cluster 2. The paper reports that Cluster 2 contains 89.3% of all grants in AsyLex. The last number has a different denominator from the values in the chart. The chart shows the share of each cluster that consists of grants. The 89.3% figure asks where the corpus’s grant decisions are located. Together, these measures show that many grants are concentrated in the same cluster, while that cluster still contains decisions with both dispositions.

Share of granted decisions by semantic cluster in the complete AsyLex collection

Grants account for a larger share of the documents in the second cluster.

Share of granted decisions by semantic cluster in the complete AsyLex collectionCluster 1: 7.2Cluster 17.2Cluster 2 (this paper): 40.6Cluster 2 (this paper)40.6
The numbers
System or settinggrant share %
Cluster 17.2
Cluster 2 (this paper)40.6

The partitions reveal less about several other dimensions. The chi-square tests give p-values above 0.05 for differences involving decision year, hearing city, claimant gender, cases involving minors, and LGBTQIA+ references. The reported comparison therefore offers inconclusive evidence that those features organize the clusters. This matters because several of the same features were associated with differences in grant rates when they were used directly to group decisions. An embedding can capture language associated with the outcomes while placing cases together across categories that differ substantially in their outcome rates.

Citizenship shows some alignment. Most Chinese and Indian claimants in the controlled subset are in Cluster 2. The complete collection also shows a concentration of cases associated with Nigeria and Haiti toward a cluster. These observations concern how cases are distributed across a linguistic partition. They leave room for differences in the language used to describe a country or claim, the kinds of cases in the collection, and the adjudicative discussion. The authors treat the alignment as a possible signal without determining its legal significance.

Alignment with legal grounds is also partial. In the selected subset, Cluster 1 has more references to persecution associated with social or political groups. Cluster 2 cites race more often, with a reported difference of 33.3% in the citation of race as a legal ground. In the complete collection, the paper associates Cluster 1 with references to social and political groups and reports more emphasis on religion and social group justifications in Cluster 2. The reported comparisons of legal-ground distributions have p-values below 10⁻⁴. Statistical evidence of a difference in distribution can coexist with interpretive uncertainty about what unifies the decisions assigned to a cluster.

A vocabulary check gives more detail about the text behind the partition. Cluster 1 tends to emphasize credibility concerns. Cluster 2 contains more language about family ties and vulnerability. The authors relate this to the tendency for negative decisions to use language explaining a lack of credibility, while grants may be supported by more varied reasons. The vocabulary provides a plausible account of part of the separation. Connecting it to legal judgment would require examining the reasoning about credibility and vulnerability in particular records.

Prediction recovers decisions more readily than reasons

The highest reported outcome-prediction accuracy is 93.8%. The structured experiments compare macro F1, ROC AUC, and accuracy for the full forest and restricted feature sets on the complete collection and the subset. External features score better in the selected subset than in the complete collection, according to the reported comparison. Explanations perform comparatively well among restricted inputs in the complete collection, and their performance falls in the subset. The paper reports 74.1% accuracy for features describing the written explanations. It also reports a performance shortfall of 7.7% relative to the full forest in its discussion of explanations, but gives conflicting identifiers for that feature setting. The most secure interpretation is the one supported by the broader comparison. Explanations provide predictive information, and the full feature set draws on information beyond the reasons.

The forest’s feature importances put institutional context in the foreground. Hearing date is the highest-ranked feature on both datasets. According to the paper, scores for predicting outcomes differ by as much as 5% from year to year. Hearing city has a smaller role in the forest, despite the direct differences between city grant rates. Adjudicator identity by itself is relatively weak in the feature-subset comparison, although the full forest can use it alongside other contextual information. The difference is meaningful because the restricted fit asks how much one field can accomplish alone, while the importance score comes from a fit that can split on many fields.

Demographic features account for 5.6% of the reported feature importance. The study finds relatively low predictive accuracy when using claimant details as the feature set. Credibility and the cited ground for protection rank below the leading contextual predictors. The features that describe written explanations perform better than several narrower groups of inputs and rank third overall in the reported importance discussion. This gives a more specific picture than saying the forest uses only procedure. Legal information has predictive value, while the strongest available signals include information about when and in what institutional setting the decision occurred.

The group evaluation on the complete dataset finds uneven recall for grants in the random forest. The paper reports a recall gap of up to 13.1% across groups and a difference of +5.3% in recognizing grants for male claimants compared with female claimants. The neural classifier shows more similar performance across groups and a reported overall accuracy advantage of +15.8% over the forest in this comparison. Its decisions are harder to attribute to particular inputs. The result supports a tradeoff within the tested setup. The forest offers an analysis of named features, while the full-text classifier recovers more recorded decisions and supplies less direct evidence about what drove those predictions.

Viewed together, the experiments give each result a specific scope. A grant-rate comparison concerns decisions as recorded for groups of cases. A cluster analysis concerns the distribution of documents in a representation of their language. A prediction score concerns agreement with the recorded outcome. Each can reveal something important about the corpus. The link from any of those findings to the propriety of the decisions depends on evidence about the cases and their justifications.

What the ablations show

The predictive value of different feature sets

The paper varies the forest’s available inputs and compares the resulting fits with the full-feature reference. These restricted fits play the role of ablations. They show how informative a family of inputs can be when the forest has access primarily to that family. A single-factor removal would answer a related question about what the full forest loses when one source is removed. The reported experiment is most directly interpretable as a comparison of what different packages of information can support.

The early-information setting is especially important for interpreting the design. Its input is intended to approximate what is available when a claim first comes before an adjudicator. The external-features setting can include the final decision date, and the explanations setting includes material from the adjudication itself. As a consequence, their scores compare performance under different informational conditions. The closer a field is to the completed proceeding, the more care is needed when deciding what the result says about prediction at the start of a case. The value of a retrospective field for reconstructing an outcome can be substantial even if the field is unavailable for a prospective use.

Comparing the explanations with the contextual features addresses the paper’s main interest more closely than comparing architectures alone. Credibility and legal grounds give the forest summaries of issues an adjudicator can consider. The contextual setting instead supplies a collection of fields describing when, where, and by whom cases were heard. The explanations are informative in the complete collection, but the external features strengthen in the selected subset, where the cases are restricted to adjudicators with contrasting histories. This makes it plausible that contextual fields help identify systematic differences between bodies of decisions. The comparison leaves the mechanisms by which those differences arise open.

The judge-only setting makes that point sharper. A large spread in historical grant rates can arise even if adjudicator identity is a limited predictor of a particular outcome. Individual prediction depends on the overlap between the outcomes of different adjudicators, the distribution of claims across them, and which cases make up the test set. In the full forest, a date or adjudicator field can be useful in combination with other inputs. This is why the reported importance of institutional context can coexist with a modest result for the judge-only setting. The two measurements concern different uses of the same piece of information.

The claimant-only and location settings test another inference that might otherwise seem natural. A variable can yield clear differences when plotted in a group comparison and still have limited value in a classifier. If the groups each contain a broad mixture of grants and rejections, the difference in rates can be worth investigating while making few individual cases easy to classify. This is consistent with the findings for hearing city and demographic categories. Collectively, the restricted fits show that the relative ease of predicting decisions from a category depends on the task, the sample, and the other information available.

What the selected subset makes clearer

The adjudicator subset is a controlled comparison in the sense that it deliberately narrows the collection to a particular contrast. It provides a test of whether a method reveals stronger or different patterns when confronted with decisions from adjudicators already known to differ sharply in their grant rates. The strong alignment between clusters and adjudicator groups shows that the texts carry a signal associated with that contrast. The greater predictive value of external features in the subset indicates that a narrowed collection can make institutional distinctions easier for a forest to exploit.

Legal grounds illustrate the limit of transferring an interpretation from one analysis to another. In the direct comparison, the low-grant adjudicators are associated with citations of religion and nationality. The cluster dominated by their decisions has a different profile in the authors’ analysis, with greater emphasis on social or political groups. The results can coexist because the adjudicator category and the cluster overlap imperfectly and organize the documents by different properties. The adjudicator comparison begins with who made the decision. The cluster analysis begins with the language of the entire record. A partial match between their members offers insufficient grounds for treating their distributions of legal reasons as interchangeable.

The subset also provides a way to inspect the association between claimant assignment and outcome. Here the decision to pool adjudicators clarifies the observed contrast, while losing distinctions among adjudicators within each group. A concentration of certain claimant groups among low-grant adjudicators can prompt a question about assignment practices. Evaluating that question would require knowing which claims were available for assignment, which adjudicators were eligible to hear them, and which other factors shaped allocation. The subset sharpens the observed pattern without resolving those institutional details.

Which findings corroborate one another?

Time provides the clearest example of limited agreement. Annual grant rates vary in the feature analysis, and the forest makes substantial use of hearing date. The clustering comparison by year is inconclusive. Taken together, these results indicate that time is associated with recorded outcomes and can help a predictor. The whole-document representation does not yield a partition with a statistically clear separation by year under the selected setup. A signal can be useful when explicitly supplied as a feature and difficult to recover through the dominant dimensions of linguistic similarity.

Geography produces a different pattern. The hearing-city analysis finds substantial differences even within a narrower comparison by origin. The forest gives city less prominence, and the clusters show inconclusive separation by hearing location. This means the direct comparison supplies evidence of an outcome association that has limited independent prominence in these other measurements. It remains possible that geographic differences are expressed through other contextual fields, or that a city-level rate captures variation too diffuse to serve as a strong predictor of single decisions. The experiments leave these explanations unresolved.

The demographic analyses separate three questions that a general claim about fairness can easily combine. The direct analysis asks whether recorded grant rates differ by claimant category. The cluster analysis asks whether those categories occur at different rates in the groups of documents. The recall analysis asks whether recorded grants are recognized equally often. In this study a group can have an observed grant-rate disparity, show inconclusive alignment with the clusters, and experience a prediction gap. These results concern different denominators and different points in the analysis. Their divergence tells the reader where the evidence comes from and what needs to be substantiated before any single result is given a legal interpretation.

Limitations

Limits identified by the authors

The authors first qualify what the corpus represents. AsyLex is a sample of publicly released decisions. Some Canadian refugee decisions are withheld for privacy, so the collection can overrepresent or underrepresent particular adjudicators, places, or groups of claimants. The strong representation of the Refugee Appeal Division is also part of the setting in which the patterns were observed. A comparison between the methods is still informative within that setting. Applying the rates to all Canadian refugee decisions would require evidence about how the public collection differs from the full population.

The feature-based approach depends on variables available in the records and in the annotations. Incomplete metadata and errors in extracting features can change which cases enter a comparison. Preselecting categories also directs attention toward known hypotheses. An audit by city or adjudicator can be easy to interpret while overlooking more complicated interactions or legally important distinctions that were never coded. As the authors point out, the approach is well suited to exploratory comparison. Its ability to explain an individual decision is limited by the level of detail in the features.

For clustering, the authors emphasize the difference between linguistic similarity and legal similarity. Much of the substantive reasoning may be concentrated near the end of a decision. Whole-document embeddings also incorporate narratives, procedural material, and other passages that can dominate a comparison. The resulting clusters can depend on the choice of representation, algorithm, and settings. A coherent group can therefore reflect common language about a disposition, institution, or claimant origin while leaving the applicable legal rationale indistinct. Follow-up comparisons with recorded legal grounds give the authors ways to interpret a partition, but they cannot recover the precise argument that led to a decision.

The predictive analysis has a particular difficulty with the reference outcome. Grants and rejections are recorded facts about the proceedings. The fairness of either disposition is not independently labeled. Equality of Opportunity, as used here, evaluates whether the classifier recovers recorded grants at similar rates. A disparity in recall could reflect differences in classifier behavior, case composition, the availability of features, or the balance of examples. Assessing whether claimants received the protection to which they were entitled would require a defensible reference for that separate question.

The authors also flag confounding among inputs. Adjudicator identity, hearing location, time, and claimant origin may be related in practice. Importance scores attribute contributions within the fitted forest, where one field can help because it carries information associated with another. Comparisons of grant rates or group recall face related problems of attribution. The authors discuss counterfactual evaluation as a possible way to investigate causation, but explain that legal text is especially challenging for that purpose. The relevant factors are embedded in long documents and there is often no explicit mapping from a passage to a causal variable.

More generally, the authors distinguish the observable material from the deliberation behind it. Even a full written decision gives access to an account of the evidence and rationale, while the process leading to that account is only partially observable. Each method makes an additional reduction. The feature analysis uses selected fields. Clustering compresses a document into a representation intended to capture broad similarities. Prediction optimizes agreement with a recorded outcome. As a consequence, a finding may concern a genuine regularity in the records and still leave the fairness of the underlying process open.

Additional limits apparent from the design

Availability of information is a major distinction across the prediction experiments. The text used by the neural classifier contains the final decision as well as the discussion that leads to it. That creates an opportunity to recover the label from explicit wording or expressions closely associated with the disposition. The study does not report a comparison that masks the outcome passages while holding the classifier and other text constant. The accuracy result therefore supports the presence of a strong retrospective signal. How much of that signal is available before adjudication, and how much depends on reasoning versus the recorded result, remains uncertain. A related issue applies to final decision dates and explanations in the structured comparisons.

There is also a difference between comparing input families and isolating the usefulness of one field. When contextual fields are added or explanations are isolated, the fitted forest can change which features it splits on and how it combines them. The comparison therefore establishes performance for that input package. It leaves unresolved what would happen if only one feature were removed with the others held fixed. Similarly, the neural classifier and forest differ both in architecture and in their inputs. Their differences in accuracy and group recall cannot be uniquely assigned to the architecture or the access to complete text.

The subset’s strong separation is partly a product of choosing adjudicators with extreme or above-average grant histories. That selection makes the subset valuable for checking whether a technique recognizes a contrast that is already clear in the records. It also limits what can be generalized from within the subset. The observed assignment patterns could reflect something particular to those adjudicators, the cases they handled, or the periods and institutional settings in which they worked. The small p-value attached to the grant-rate contrast does not address those possibilities. It measures separation for the groups constructed in the study.

Completeness of the claimant labels is another consideration. The setup includes sexual orientation where specified and examines references to LGBTQIA+ status. An absence of such language can be ambiguous in the record. It may reflect what mattered to the claim, what was disclosed, or what the decision chose to document. Group comparisons under those conditions characterize the categories the researchers were able to observe. Their interpretation depends on how recorded categories correspond to the characteristics of the underlying claimants and on whether that correspondence varies across decisions.

Some inconsistencies in the reported settings and figures further limit exact comparisons. The training description says rejections were oversampled as the minority class, while rejections are the majority in the corpus overview and the selected subset. The paper leaves unresolved which class was oversampled in practice. The feature inventory distinguishes explanations from the location-only setting, but the results discussion assigns the location setting’s identifier to explanations. The paper also gives conflicting figures in its comparison of selected outcomes conditional on cited legal grounds. These discrepancies matter when reconstructing a specific run or attributing an exact difference to a feature family. The broader evidence for contextual predictive strength comes from multiple reported observations, including the comparison of feature sets and the ranking of hearing date.

The study evaluates a set of common approaches in one corpus. Its strongest claims concern what those approaches establish in that setting. An independent legal assessment of the decisions, or an evaluation of a technique built to compare reasons passage by passage, could ask a different question of the same records. The authors propose annotations of justifications as a direction for future datasets. Such an annotation would have to identify more than the legal ground mentioned. To support an assessment of procedural or justificatory fairness, it would need to retain how evidence and legal standards are connected in the stated reason for granting or refusing protection.

What came after

No later citing studies are documented for this paper. Consequently, there is no follow-on result to compare with the authors’ proposed shift towards evaluating the structure and substance of legal justifications. The proposal remains a direction for future work. The study itself compares statistical measurements of recorded decisions and shows how their conclusions depend on what each measurement treats as evidence.

Cite

Cite as Claire Barale, Michael Rovatsos and Nehal Bhuta. 2025. When Fairness Isn't Statistical: The Limits of Machine Learning in Evaluating Legal Reasoning. arXiv:2506.03913.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2506.03913 · arXiv 2506.03913

@misc{barale2025when,
  title = {{When Fairness Isn't Statistical: The Limits of Machine Learning in Evaluating Legal Reasoning}},
  author = {Claire Barale, Michael Rovatsos and Nehal Bhuta},
  year = {2025},
  doi = {10.48550/arxiv.2506.03913},
  eprint = {2506.03913},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2506.03913}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/barale-2025-fairness-isn-t-statistical-limits/

References

25 references, from the paper's own bibliography.

  1. Barale, C.; Klaisoongnoen, M.; Minervini, P.; Rovatsos, M.; and Bhuta, N. 2023. AsyLex: A Dataset for Legal Language Processing of Refugee Claims. In Proceedings of the Natural Legal Language Processing Workshop 2023, 244–257. Singapore: Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  2. Chen, D. L.; and Eagel, J. 2017. Can machine learning help predict the outcome of asylum adjudications? In Proceedings of the 16th edition of the International Conference on Articial Intelligence and Law, 237–240. OpenAlex ↗ · Scholar ↗
  3. Chen, D. L.; and Loecher, M. 2019. Mood and the malleability of moral reasoning. Available at SSRN 2740485. OpenAlex ↗ · Scholar ↗
  4. Dunn, M.; Sagun, L.; Şirin, H.; and Chen, D. 2017. Early predictability of asylum court decisions. In Proceedings of the 16th Edition of the International Conference on Articial Intelligence and Law, ICAIL '17, 233–236. New York, NY, USA: Association for Computing Machinery. ISBN 9781450348911. OpenAlex ↗ · Scholar ↗
  5. Dwork, C.; Hardt, M.; Pitassi, T.; Reingold, O.; and Zemel, R. 2012. Fairness through awareness. In Proceedings of the 3rd innovations in theoretical computer science conference, 214–226. OpenAlex ↗ · Scholar ↗
  6. Engstrom, D. F.; Ho, D. E.; Sharkey, C. M.; and Cuéllar, M.-F. 2020. Government by algorithm: Artificial intelligence in federal administrative agencies. NYU School of Law, Public Law Research Paper, (20-54). OpenAlex ↗ · Scholar ↗
  7. Garg, A.; and Ma, M. 2025. Opportunities and Challenges in Legal AI. White paper, Stanford Law School. CodeX. OpenAlex ↗ · Scholar ↗
  8. Grgić-Hlača, N.; Zafar, M. B.; Gummadi, K. P.; and Weller, A. 2018. Beyond distributive fairness in algorithmic decision making: Feature selection for procedurally fair learning. In Proceedings of the AAAI conference on artificial intelligence, volume 32. OpenAlex ↗ · Scholar ↗
  9. Hardt, M.; Price, E.; and Srebro, N. 2016. Equality of opportunity in supervised learning. Advances in neural information processing systems, 29. our card
  10. Keith, K.; and Stent, A. 2019. Modeling Financial Analysts' Decision Making via the Pragmatics and Semantics of Earnings Calls. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 493–503. Florence, Italy: Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  11. Legomsky, S. H. 2007. Learning to live with unequal justice: Asylum and the limits to consistency. Stan. L. Rev., 60: 413. OpenAlex ↗ · Scholar ↗
  12. Mehrabi, N.; Morstatter, F.; Saxena, N.; Lerman, K.; and Galstyan, A. 2021. A survey on bias and fairness in machine learning. ACM computing surveys (CSUR), 54(6): 1–35. our card
  13. Morse, L.; Teodorescu, M. H. M.; Awwad, Y.; and Kane, G. C. 2021. Do the ends justify the means? Variation in the distributive and procedural fairness of machine learning algorithms. Journal of Business Ethics, 1–13. OpenAlex ↗ · Scholar ↗
  14. Passi, S.; and Barocas, S. 2019. Problem formulation and fairness. In Proceedings of the conference on fairness, accountability, and transparency, 39–48. OpenAlex ↗ · Scholar ↗
  15. Piccolo, S. A.; Katsikouli, P.; Gammeltoft-Hansen, T.; and Slaats, T. 2023. On predicting and explaining asylum adjudication. In Proceedings of the Nineteenth International Conference on Artificial Intelligence and Law, 217–226. OpenAlex ↗ · Scholar ↗
  16. Preston, J. 2007. Big Disparities in Judging of Asylum Cases. The New York Times. Accessed: 2025-01-13. OpenAlex ↗ · Scholar ↗
  17. Ramji-Nogales, J.; Schoenholtz, A. I.; and Schrag, P. G. 2007. Refugee roulette: Disparities in asylum adjudication. Stan. L. Rev., 60: 295. OpenAlex ↗ · Scholar ↗
  18. Rehaag, S. 2012. Judicial review of refugee determinations: The luck of the draw. Queen's LJ, 38: 1. OpenAlex ↗ · Scholar ↗
  19. Rehaag, S. 2019. Judicial review of refugee determinations (II): Revisiting the luck of the draw. Queen's LJ, 45: 1. OpenAlex ↗ · Scholar ↗
  20. Rehaag, S. 2023. Luck of the Draw III: Using AI to Examine Decision-Making in Federal Court Stays of Removal. OpenAlex ↗ · Scholar ↗
  21. Rogers, A. 2021. Changing the World by Changing the Data. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), 2182–2194. Online: Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  22. Van der Maaten, L.; and Hinton, G. 2008. Visualizing data using t-SNE. Journal of machine learning research, 9(11). OpenAlex ↗ · Scholar ↗
  23. Wang, Y.; Xiao, C.; Ma, S.; Zhong, H.; Tu, C.; Zhang, T.; Liu, Z.; and Sun, M. 2021. Equality before the law: Legal judgment consistency analysis for fairness. arXiv preprint arXiv:2103.13868. OpenAlex ↗ · Scholar ↗
  24. Wang, Z.; Huang, C.; and Yao, X. 2024. Procedural fairness in machine learning. arXiv preprint arXiv:2404.01877. OpenAlex ↗ · Scholar ↗
  25. Zhao, Y.; Wang, Y.; and Derr, T. 2023. Fairness and explainability: Bridging the gap towards fair model explanations. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, 11363–11371. OpenAlex ↗ · Scholar ↗