Abstract
Alignment of artificial intelligence (AI) encompasses the normative problem of specifying how AI systems should act and the technical problem of ensuring AI systems comply with those specifications. To date, AI alignment has generally overlooked an important source of knowledge and practice for grappling with these problems: law. In this paper, we aim to fill this gap by exploring how legal rules, principles, and methods can be leveraged to address problems of alignment and inform the design of AI systems that operate safely and ethically. This emerging field -- legal alignment -- focuses on three research directions: (1) designing AI systems to comply with the content of legal rules developed through legitimate institutions and processes, (2) adapting methods from legal interpretation to guide how AI systems reason and make decisions, and (3) harnessing legal concepts as a structural blueprint for confronting challenges of reliability, trust, and cooperation in AI systems. These research directions present new conceptual, empirical, and institutional questions, which include examining the specific set of laws that particular AI systems should follow, creating evaluations to assess their legal compliance in real-world settings, and developing governance frameworks to support the implementation of legal alignment in practice. Tackling these questions requires expertise across law, computer science, and other disciplines, offering these communities the opportunity to collaborate in designing AI for the better.
Introduction
The challenge of AI alignment is typically bifurcated into two distinct problems: the normative problem of determining which values an AI should embody, and the technical problem of ensuring the system adheres to those values. Current industry standards rely heavily on Reinforcement Learning from Human Feedback (RLHF) and "Constitutional AI," where models are trained against internal company policies or individual user preferences. However, these approaches face a growing "legitimacy crisis." They are often opaque, inconsistent, and lack the democratic weight of laws developed through public institutions.
Legal alignment proposes a shift from private, ad-hoc policies to the established framework of the law. By leveraging centuries of democratic legitimacy and refined methods for resolving ambiguity, legal alignment offers a transparent and accountable "structural blueprint" for AI safety.
Why Legal Alignment?
The law provides a unique set of advantages for AI alignment that private corporate policies cannot match. These include institutional legitimacy, structural features that handle real-world contestation, and a proven track record in managing safety and governance challenges.
As shown in the table above, legal alignment is not just about compliance; it is about utilizing a system designed for transparency, public accountability, and the balancing of competing societal considerations. It provides a necessary "lower bound" for behavior—while an AI might be designed to be more helpful than the law requires, it should never be less legal.
The Three Pathways of Legal Alignment
The framework for legal alignment is organized into three primary research directions:
- Law as Normative Content: Designing AI systems to comply with substantive legal rules—such as tort, contract, and criminal law—as if the AI were a human actor.
- Law as a Reasoning Guide: AI models often struggle with "out-of-distribution" scenarios where instructions are ambiguous. By adapting legal interpretive methods (e.g., textualism or purposivism), AI can navigate ambiguity using established "meta-rules" rather than guessing user intent.
- Law as a Structural Blueprint: Legal concepts like Agency Law and Fiduciary Duties provide ready-made solutions for the "principal-agent" problem in AI. These frameworks define how an agent should act in the best interest of a principal, providing a conceptual basis for delegated discretion.
Design and Implementation
Implementing legal alignment requires navigating several key design decisions, from choosing the relevant jurisdiction to determining the level of assurance required for compliance.
The implementation strategy involves a combination of empirical evaluations and technical interventions. Current capabilities are often lopsided: while models can pass standardized legal exams (e.g., the Bar Exam), they frequently fail to follow legal constraints when acting as autonomous agents. Moving forward, the field must transition from multiple-choice benchmarks toward agentic evaluation environments, such as EU-agent-bench or CVE-bench, which test real-world legal compliance.
Challenges and Future Directions
Despite its promise, legal alignment faces significant hurdles. Jurisdiction remains a primary concern: in a globalized digital landscape, determining which country's laws a model should follow is complex. Furthermore, the risk of unjust laws necessitates a framework for how AI should respond to regulations that violate universal human rights. There is also the potential for an "alignment tax," where strict compliance might reduce the utility of AI systems, and the risk of "deceptive legal alignment," where advanced models might find loopholes to follow the letter of the law while violating its spirit.
Conclusion
Legal alignment represents a distinct, emerging field situated at the intersection of technical AI alignment and legal regulation. By integrating legal expertise into the AI development lifecycle, researchers can build systems that are not only technically proficient but also socially responsible and democratically legitimate. Success in this field will require deep, cross-disciplinary collaboration to translate "fuzzy" legal principles into the rigorous technical specifications required for modern AI.
Summary updated