Robert Mahari

Robert Mahari

Harvard University · Akiva AI · Stanford University · Massachusetts Institute of Technology · Stanford CodeX Center
8 previous affiliations
    • JD · Current
    • Doctor of Law - JD · 2018–2022
  • Akiva AISince 2026
    • CEO & Founder · Since 2026
    • Fellow, Stanford CodeX and Law, Science, and Technology Program · Since 2026
    • Associate Director, CodeX and Law, Science, and Technology Program · 2025–2026
    • PhD · Current
    • Doctorate in Legal Artificial Intelligence · 2020–2025
    • Current
  • Harvard Law Record2019–2022
    • Editor In Chief · 2019–2022
  • Harvard Law and Technology Society2019–2022
    • President · 2019–2022
  • Orrick, Herrington & Sutcliffe LLP2020
    • Summer Associate · 2020
21Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Robert Mahari focuses on computational law, natural language processing for legal systems, and the provenance of artificial intelligence training data. His early work addresses the disconnect between computational research and the practical needs of the legal community by developing specialized datasets for legal reasoning. More recently, his research investigates the auditing of web-scale datasets, emphasizing data authenticity, consent, and the geographic diversity of AI resources.

Research Trajectory

During his joint JD-PhD studies at Harvard Law School and the MIT Media Lab, and continuing in his role as associate director of Stanford's CodeX Center, Mahari's initial research examined the intersection of legal practice and machine learning. In 2023, he explored the slow adoption of computational tools in the legal profession. In The Law and NLP: Bridging Disciplinary Disconnects, he highlighted the gap between the priorities of natural language processing researchers and the access-to-justice needs of legal practitioners, arguing that popular NLP tasks often fail to address practical, real-world legal challenges.

To help bridge this disciplinary divide, he developed specialized resources tailored for legal reasoning. He introduced LePaRD: A Large-Scale Dataset of Judges Citing Precedents, a massive collection of U.S. federal judicial citations designed to facilitate legal passage retrieval. This work demonstrated that while classification-based models show promise, retrieving relevant precedential passages remains a complex challenge requiring novel computational approaches to meaningfully improve legal research and access to justice.

Concurrently, his focus expanded to the foundational data underlying modern AI systems, particularly concerning consent, copyright, and documentation. He contributed to Consent in Crisis: The Rapid Decline of the AI Data Commons, an audit revealing how websites are increasingly restricting access to their data, thereby threatening the diversity and availability of resources necessary for AI development. Building on these concerns, he co-authored Position: Data Authenticity, Consent, & Provenance for AI are all broken: what will it take to fix them?. This position paper argued against the prevailing "scrape-first, ask-questions-later" paradigm of dataset construction, which has led to widespread issues with privacy and bias. Instead, the authors proposed a unified, standardized framework for verifying data origins, ownership, and permissible use. This research intersects with several broader research directions, including Standardizing FAIR Data for Machine Actionable Science, Auditing Training Data in Opaque Large Language Models, and the area of Machine Unlearning Without Original Training Data.

In 2025, Mahari participated in a massive, multi-institutional audit of AI training data. The resulting study, Bridging the Data Provenance Gap Across Text, Speech, and Video, manually traced the origins and licensing of nearly 4,000 datasets. The findings exposed a massive shift toward uncurated web and social media data, a widespread mismatch between dataset licenses and original source terms, and a decade-long stagnation in linguistic and geographic diversity. This comprehensive audit contributes to several critical research areas, such as Longitudinal Web Data Acquisition and Auditing, Resolving the Legal Provenance Gap in AI Datasets, and the study of Geographic Bias in Global Machine Learning.

Alongside his work on data provenance, he has also investigated the governance of autonomous systems. He collaborated on Position: AI Agents Need Authenticated Delegation, which examined the urgent challenges of authorization, accountability, and access control when delegating tasks to AI agents. The paper proposed extending existing web authentication protocols, such as OAuth 2.0 and OpenID Connect, to enable secure, transparent, and auditable delegation of authority to autonomous models.

Current Directions

Recent work investigates the transparency, legality, and governance of artificial intelligence systems. The most recent papers in the evidence address the critical need for data provenance, focusing on how large-scale datasets are sourced, licensed, and audited. This includes tracking the rapid decline of open web data and identifying systemic mismatches between the terms of service of original data sources and the licenses applied to AI training corpora. Additionally, current research explores the security and accountability of autonomous AI agents, specifically proposing mechanisms for authenticated delegation and access control to ensure that AI systems operate within verifiable legal and technical boundaries.

Profile updated

See something wrong? Report a mistake