Abstract
To develop rigorous knowledge about ML models—and the systems in which they are embedded—we need reliable measurements. But reliable measurement is fundamentally challenging, and touches on issues of reproducibility, scalability, uncertainty quantification, epistemology, and more. This dissertation addresses criteria needed to take reliability seriously: both criteria for designing meaningful metrics, and for methodologies that ensure that we can dependably and efficiently measure these metrics at scale and in practice. In doing so, this dissertation articulates a research vision for a new field of scholarship at the intersection of machine learning, law, and policy. Within this frame, we cover topics that fit under three different themes: (1) quantifying and mitigating sources of arbitrariness in ML, (2) taming randomness in uncertainty estimation and optimization algorithms, in order to achieve scalability without sacrificing reliability, and (3) providing methods for evaluating generative-AI systems, with specific focuses on quantifying memorization in language models and training latent diffusion models on open-licensed data. By making contributions in these three themes, this dissertation serves as an empirical proof by example that research on reliable measurement for machine learning is intimately and inescapably bound up with research in law and policy. These different disciplines pose similar research questions about reliable measurement in machine learning. They are, in fact, two complementary sides of the same research vision, which, broadly construed, aims to construct machine-learning systems that cohere with broader societal values.
Introduction
As machine learning (ML) systems scale to govern critical social and economic functions, the technical definition of "reliability" must expand. Traditionally viewed through the narrow lens of accuracy or loss, reliability in modern ML is increasingly threatened by two distinct forces: randomness (the inherent stochasticity of algorithms) and arbitrariness (the subjective, often unexamined choices humans make when designing experiments). This research bridges the gap between ML engineering, law, and policy, arguing that reliable measurement is not merely a technical hurdle but an interdisciplinary necessity for building systems that align with societal values.
The Problem of Experimental Arbitrariness
A significant portion of ML research relies on Hyperparameter Optimization (HPO) to claim the superiority of one algorithm over another. However, these claims are often built on a foundation of "arbitrariness." By formalizing "Epistemic HPO" through modal logic, this work demonstrates that researchers can often "prove" contradictory conclusions—such as SGD being superior to Adam, or vice versa—simply by adjusting the bounds of their search space.
This arbitrariness extends to the study of algorithmic fairness. Using a new Self-Consistency Metric derived from statistical variance, the research reveals a startling "aha moment": many reported fairness violations in standard benchmarks (like COMPAS or the "New Adult" dataset) are actually artifacts of random noise. When models are ensembled to mitigate the variance of random seeds, many supposedly "unfair" models become significantly more consistent, suggesting that what we perceive as bias is often latent instability.
Taming Randomness for Scalable Reliability
In the pursuit of speed, distributed ML systems often sacrifice mathematical exactness for heuristic efficiency. This dissertation introduces two methodologies to reclaim reliability without sacrificing performance:
- TunaMH: An "exact" minibatch Metropolis-Hastings algorithm. While traditional MCMC methods introduce bias when using minibatches to save time, TunaMH utilizes a Poisson variable to tune the trade-off between batch size and convergence rate. It provides the first proven lower bound on batch size for exact minibatch MCMC, demonstrating asymptotic optimality.
- CD-GraB (Coordinated Distributed Gradient Balancing): This distributed optimization algorithm employs "pair balancing" techniques from kernel thinning to order training examples. CD-GraB achieves linear speedups in convergence relative to the number of parallel workers, outperforming standard distributed random reshuffling methods.
Generative AI and the Legal Supply Chain
The rise of generative AI has created a legal crisis regarding copyright and data provenance. This research addresses these challenges through both security-oriented evaluation and proactive data sourcing:
- The Divergence Attack: By forcing aligned Large Language Models (LLMs) like ChatGPT to repeat specific tokens, researchers discovered that these models "diverge" and emit verbatim training data 150x more frequently than previously estimated. For a mere $200 in API costs, nearly 3% of a model's training data can be extracted, posing significant privacy and copyright risks.
- CommonCanvas: To demonstrate a path forward for ethical AI, the project trained a high-quality text-to-image model using CommonCatalog, a dataset of 70 million Creative Commons-licensed images. Despite using less than 3% of the data volume of models like Stable Diffusion 2, CommonCanvas achieved comparable quality, proving that high-performance models do not strictly require the use of un-licensed web-scraped data.
Conclusion: Code as "Lawless"
In cyberlaw, the adage "code is law" suggests that software behavior is deterministic and predictable. This dissertation argues the opposite: because modern ML is non-deterministic and stochastic, it is effectively "lawless." Current legal frameworks are ill-equipped to handle systems where outcomes are probabilistic rather than procedural.
To move forward, we must develop new regulatory frameworks that reason about distributions of outcomes and implement "Order Servers" or mandatory risk-assessment tools. By treating reliability as an intersectional challenge of measurement, scale, and law, we can begin to build ML systems that are not only efficient but fundamentally dependable.
Summary updated