
Publications
Julian Nyarko, Alejandro Salinas, Allison Koenecke
2027 | Findings of Empirical Methods in Natural Language Processing (EMNLP) | Cite
Voice interfaces are increasingly moving away from transcription pipelines towards end-to-end systems that directly respond to audio inputs. This development in turn requires a shift in evaluation methodology away from transcription accuracy and towards more substantive markers such as response validity. We introduce EchoLens, a demographically stratified dataset of 20008 recordings from 515 adult participants residing in the U.S., with self-reported demographic information across race, gender, age, accent and primary language, among others. Each participant speaks out loud and verbatim a randomized subset of 69 advice-seeking and estimation prompts spanning 11 domains grounded in the American Time Use Survey. Most prompts elicit quantitative responses from the model, allowing for direct analysis of output distributions across demographic subgroups without requiring reliance on LLM-as-a-judge. EchoLens also contains a documented audit protocol, which—in an illustrative application—we use to evaluate six current audio-language models. Under this assessment, we find that racial disparities are more frequent and larger in magnitude than gender disparities, with particular concentration in two models.
Divya Vetticaden, Arya Gupta, Julian Nyarko, Megan Ma
Deposition training requires attorneys to manage dynamic witness behavior, yet legal-AI evaluations largely focus on factual accuracy, reasoning, or response-level plausibility. We introduce WitnessSim, a deposition simulator driven by controllable legal personas. We use an evaluation framework separating behavioral realism from pedagogical usefulness. We assess realism through adversarial testing, blinded attorney comparison, and analysis of longitudinal behavioral trajectories. WitnessSim generally maintained plausible behavioral boundaries, and attorneys did not systematically prefer either original testimony or WitnessSim generated testimony. Pedagogical tests showed that witness behavior changed meaningfully in response to question form and attorney intervention without uniformly collapsing the assigned persona. Together, these results showcase a model of behavioral fidelity in legal simulations, and provide a framework for evaluating its performance.
Julian Nyarko, Alejandro Salinas, Carly Frieders, Neel Guha, Sibo Ma, Ralph Anzivino, Ian Ayres, Oren Bar-Gill, Omri Ben-Shahar, Stephen Friedman, George Geis, Sue Guan, Christoph Henkel, Stephanie Hoffer, Gregory Klass, Larasz Moody-Villarose, Sarath Sanga, Keith Sharfman, Justin Simard, Rebecca Stone, David Wishnick
May 27, 2026 | Social Science Research Network | Download | Code | Cite
Large language models (LLMs) are increasingly promoted as educational tutors, yet most evaluations focus on domains with a single ground truth. Many disciplines, however, hinge on judgment: reasoning, weighing ambiguity, and reaching defensible conclusions. Law provides a sharp test. We conducted a blinded evaluation of short-answer tutoring in contracts courses with sixteen U.S. law professors. Participants created 40 representative questions, wrote answers, and judged 2,918 anonymized comparisons between human and LLM responses. Professors rated LLMs far higher than their peers (average win rate = 75.33%), with models performing similarly to the best instructor. LLM responses were also rarely flagged as harmful (3.53%, vs 12.06% for professors). Preferences for LLM answers were consistent across evaluators and reflected shared professional standards. Our evaluation can be reliably extended to additional models by employing a separate LLM as a judge, rendering expert agreements an effective, scalable method to evaluate AI tutors in judgment-rich domains.
Russell Yang, Ruishi Chen, Pierce Kelaita, Riya Ranjan, Sibo Ma, Charles Dickens, Matthew Guillod, Megan Ma, Julian Nyarko
Two methodologies dominate current practices of benchmarking: rubric-based scoring evaluates items against predefined criteria, whereas comparative judgment elicits pairwise preferences between outputs. Although both methodologies are widely used, the choice between them is rarely justified. We release JudgmentBench, a benchmark of 30 real-world legal tasks, paired with 1,539 rubric scores and 1,530 pairwise preference judgments collected from practicing attorneys–including at major U.S. law firms–with substantial experience. The annotations constitute the first publicly available dataset in a high-expertise domain in which both supervision signals are elicited from the same experts on the same items. Using LLM-generated outputs at three constructed quality levels, we provide an initial empirical comparison: comparative judgments recover the intended quality ordering substantially better than rubrics under both a per-task rank-correlation metric (mean Spearman’s rank correlation of 0.908 vs. 0.150, estimated difference = 0.758 [0.494, 1.021]) and a per-judgment pairwise win-rate metric (0.669 vs. 0.542, estimated difference = 0.127 [0.067, 0.186]), while requiring less than half the annotation time. The patterns hold for human annotators and LLM autograders. Beyond this initial comparison, the paired structure of the dataset supports a broader research agenda on how expert judgment should be elicited, aggregated, and used as supervision in domains without verifiable ground truth.
Neel Guha, Andy Zhang, Christine Tsang, Christopher Manning, Julian Nyarko, Daniel E. Ho
2026 | Proceedings of the National Academy of Sciences | Cite
There is significant excitement around the use of AI in law. But little information exists on the performance and associated risks of the domain’s widely marketed tools. Recent work, for instance, has demonstrated the significant potential for “hallucinations” – wherein models make up facts, law, and precedent – leading Chief Justice Roberts to spotlight this risk in his annual report on the judiciary. We argue that there is a need for public benchmarking in law. First, relative to other AI application domains, the legal AI ecosystem lacks legibility – there is little information about the design and performance of many commercial legal AI systems. Legal AI has not benefited from the types of benchmarking that have catalyzed, measured, and informed AI innovation and responsible use in other domains. Second, we articulate the challenges of the institutional design of benchmarking. We illustrate how benchmarks can be captured, watered down, and abused. Careful institutional design around the why, who, what, and how of benchmarking will be critical to navigate difficult tradeoffs of transparency, objectivity, expertise, and resources. Third, addressing legal AI’s illegibility requires matching institutional models to available resources and constraints. Rather than advocating for a single “best” approach to benchmarking, we show how benchmarking strategies depend on available resources.
Robert Bartlett, Julian Nyarko, Madison Coots, Sharad Goel
2026 | ArXiv | Cite
Algorithmic lending has transformed the consumer credit landscape, with machine learning models commonly facilitating underwriting decisions. To comply with fair lending laws, these algorithms exclude legally protected characteristics, such as race and gender. Yet algorithmic underwriting can still inadvertently favor certain groups, prompting concerns about whether lending algorithms exhibit discriminatory behavior. Using proprietary loan-level data from a major U.S. fintech platform, we audit lending decisions across approximately 80,000 personal loans. We find that loans made to men and Black borrowers yielded lower profits than loans to other groups, suggesting that men and Black borrowers benefited from relatively favorable pricing. We trace these disparities to miscalibration in the platform’s underwriting model, which overestimates risk for women and underestimates risk for Black borrowers. We then show that one could correct this miscalibration—and the corresponding disparities—by including race and gender in underwriting models, illustrating a tension between competing notions of fairness.
Julian Nyarko, David E Pozen
December, 2025 | Cite
Using a novel dataset on Twitter activity as well as a novel corpus of law journal publications, this paper examines the impact of social media activity on the scholarly success of U.S. law professors. We find that joining Twitter increases citation counts by an average of 22% per year and improves article placements by up to 10 ranks for law professors, relative to a synthetic control group. These positive returns apply across nearly all classes of scholars and are magnified for those who post frequently about their own work. The identified citation boost would be even larger than 22% if it were not partially offset by a decline in citations to articles published pre-Twitter. Overall, our results suggest that social media participation yields concrete benefits in the legal academy—indeed, benefits outstripping those that prior studies have identified in other disciplines—along with a number of potential downsides.
Alex Chohlas-Wood, Madison Coots, Joe Nudell, Julian Nyarko, Emma Brunskill, Joe Nudell, Todd Rogers, Sharad Goel
October 1, 2025 | Science Advances | Cite
Millions of Americans must attend mandatory court dates every year. To boost appearance rates, jurisdictions nationwide are increasingly turning to automated reminders. However, previous research paints an incomplete picture of their effectiveness—in particular, there has been little work assessing the impact of reminders on downstream arrests and incarceration. In partnership with the Santa Clara County Public Defender’s Office, we randomly assigned 5709 public defender clients to either receive automated text message reminders (treatment) or not receive reminders (control). We found that reminders reduced warrants issued for missed court dates by ~20%, with 12.1% of clients in control issued a warrant compared to 9.7% of clients in treatment. Further, we found that incarceration from missed court dates dropped by a similar amount, from 6.6% in control to 5.2% in treatment. The effectiveness of reminders bolsters the theory that lapses in memory or comprehension contribute to missed court appearances.
Sibo Ma, Alejandro Salinas, Peter Henderson, Julian Nyarko
June 23, 2025 | FAcct '25 Proceedings of the 2025 ACM Conference on Fairness, Accountability, and Transparency | Cite
We employ model pruning to examine how LLMs conceptualize racial biases, and whether a generalizable mitigation strategy for such biases appears feasible. Our analysis yields several novel insights. We find that pruning can be an effective method to reduce bias without significantly increasing anomalous model behavior. Neuron-based pruning strategies generally yield better results than approaches pruning entire attention heads. However, our results also show that the effectiveness of either approach quickly deteriorates as pruning strategies become more generalized. For instance, a model that is trained on removing racial biases in the context of financial decision-making poorly generalizes to biases in commercial transactions. Overall, our analysis suggests that racial biases are only partially represented as a general concept within language models. The other part of these biases is highly context-specific, suggesting that generalizable mitigation strategies may be of limited effectiveness. Our findings have important implications for legal frameworks surrounding AI. In particular, they suggest that an effective mitigation strategy should include the allocation of legal responsibility on those that deploy models in a specific use case.
Alejandro Salinas de León, Amit Haim, Julian Nyarko
January 24, 2025 | Arxiv, Cornell University | Download | Cite
We employ an audit design to investigate biases in state-of-the-art large language models, including GPT-4. In our study, we prompt the models for advice involving a named individual across a variety of scenarios, such as during car purchase negotiations or election outcome predictions. We find that the advice systematically disadvantages names that are commonly associated with racial minorities and women. Names associated with Black women receive the least advantageous outcomes. The biases are consistent across 42 prompt templates and several models, indicating a systemic issue rather than isolated incidents. While providing numerical, decision-relevant anchors in the prompt can successfully counteract the biases, qualitative details have inconsistent effects and may even increase disparities. Our findings underscore the importance of conducting audits at the point of LLM deployment and implementation to mitigate their potential for harm against marginalized communities.
Daniel E. Ho, Neel Guha, Julian Nyarko, Chris Re
2025 | Building GenAI Benchmarks: A Case Study in Legal Applications | Cite
AI has a long history, but only recently has Generative AI risen to prominence as a form that makes notable progress on some of the long-standing goals of the field. Whereas classic machine learning models typically predict a category label or a number, a Generative AI model may produce an entire text, a photorealistic picture, or other complex outputs. This chapter provides a brief introduction to the techniques that enable this, starting from basic ideas such as learning from training data and building foundation models. The chapter explains how large language models operate internally, introducing the transformer neural network architecture. It also provides a high-level explanation of common generative models for images and further kinds of data. Finally, it concludes with a discussion of agentic AI and possible future developments.
Daniel E. Ho, Julian Nyarko, Derek Ouyang
2025 | Cite
Regulatory agencies often operate with limited resources and rely on tips from the public to identify potential violations. However, processing these tips at scale presents significant operational challenges, as agencies must correctly identify and route relevant tips to the appropriate enforcement divisions. Through a case study, we demonstrate how advances in large language models can be utilized to support overburdened agencies with limited capacities. In partnership with the U.S. Environmental Protection Agency, we leverage previously unstudied citizen tips data from their “Report a Violation” system to develop an LLM-assisted pipeline for tip routing. Our approach filters out 80.5% of irrelevant tips and increases overall routing accuracy from 31.8% to 82.4% compared to the current routing system. At a time of increased focus on government efficiencies, our approach provides a constructive path forward by using technology to empower civil servants.
Peter Adelson, Matthew Jennejohn, Julian Nyarko, Eric L. Talley
March, 2024 | Journal of Empirical Legal Studies | Cite
Contract design and architecture is an important topic within economics, finance, and law. However, attempts to study it are significantly constrained by the limited availability of public, high quality data. In this paper, we introduce a new corpus of 7,929 Definitive Merger Agreements submitted to the SEC between 2000 and 2020 involving a transaction in excess of $100 million. Through a combination of machine learning and human evaluation, we associate these agreements with other metadata, such as deal size, industry classification, and advising law firms. In addition, we identify and make available the text of individual clauses contained in these agreements. In a final step, we provide an illustration of how these data can be used to generate novel insights into M&A contract design and drafting practices.
Neel Guha, Julian Nyarko, Daniel E. Ho, Christopher Re, Austin Peters, Diego A. Zambrano, Faiz Surani, Jason Hegland, John Nay, Margaret Hagan, Megan Ma
December, 2023 | NeurIPS | Cite
The advent of large language models (LLMs) and their adoption by the legal community has given rise to the question: what types of legal reasoning can LLMs perform? To enable greater study of this question, we present LegalBench: a collaboratively constructed legal reasoning benchmark consisting of 162 tasks covering six different types of legal reasoning. LegalBench was built through an interdisciplinary process, in which we collected tasks designed and hand-crafted by legal professionals. Because these subject matter experts took a leading role in construction, tasks either measure legal reasoning capabilities that are practically useful, or measure reasoning skills that lawyers find interesting. To enable cross-disciplinary conversations about LLMs in the law, we additionally show how popular legal frameworks for describing legal reasoning — which distinguish between its many forms — correspond to LegalBench tasks, thus giving lawyers and LLM developers a common vocabulary. This paper describes LegalBench, presents an empirical evaluation of 20 open-source and commercial LLMs, and illustrates the types of research explorations LegalBench enables.
Jacob Goldin, Julian Nyarko, Justin Young
July 27, 2023 | Cite
Conducting causal inference with panel data is a core challenge in social science research. We adapt a deep neural architecture for time series forecasting (the N-BEATS algorithm) to more accurately predict the counterfactual evolution of a treated unit had treatment not occurred. The resulting estimator (“SyNBEATS”) significantly outperforms two-way fixed effect, synthetic control, and matrix completion methods across a range of settings. In addition, it attains comparable or more accurate performance relative to a recently proposed method, synthetic difference-in-differences. Our results highlight how advances in the forecasting literature can be harnessed to improve causal inference in panel settings.