mlsanityData to 7 Oct 2026

Law Informs Code: A Legal Informatics Approach to Aligning Artificial Intelligence with Humans

arXiv 2209.13020 ↗First posted 14 Sep 2022cs.CY cs.AI cs.LGcited by 23

Not on the map. Why?

Abstract (arXiv)

We are currently unable to specify human goals and societal values in a way that reliably directs AI behavior. Law-making and legal interpretation form a computational engine that converts opaque human values into legible directives. "Law Informs Code" is the research agenda embedding legal knowledge and reasoning in AI. Similar to how parties to a legal contract cannot foresee every potential contingency of their future relationship, and legislators cannot predict all the circumstances under which their proposed bills will be applied, we cannot ex ante specify rules that provably direct good AI behavior. Legal theory and practice have developed arrays of tools to address these specification problems. For instance, legal standards allow humans to develop shared understandings and adapt them to novel situations. In contrast to more prosaic uses of the law (e.g., as a deterrent of bad behavior through the threat of sanction), leveraged as an expression of how humans communicate their goals, and what society values, Law Informs Code. We describe how data generated by legal processes (methods of law-making, statutory interpretation, contract drafting, applications of legal standards, legal reasoning, etc.) can facilitate the robust specification of inherently vague human goals. This increases human-AI alignment and the local usefulness of AI. Toward society-AI alignment, we present a framework for understanding law as the applied philosophy of multi-agent alignment. Although law is partly a reflection of historically contingent political power - and thus not a perfect aggregation of citizen preferences - if properly parsed, its distillation offers the most legitimate computational comprehension of societal values available. If law eventually informs powerful AI, engaging in the deliberative political process to improve law takes on even more meaning.

Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 99 of its 379 references that are in the map. First posted on arXiv 14 Sep 2022.

Builds on

99 of 379 references.

References · 99

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  4. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  5. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  6. 2017Deep reinforcement learning from human preferencescited by 3,846
  7. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  10. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  11. 2020Learning to summarize from human feedbackcited by 2,562
  12. 2016Equality of Opportunity in Supervised Learningcited by 2,000
38 more
  1. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
  2. 2020Reformer: The Efficient Transformercited by 1,658
  3. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
  4. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  5. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  6. 2018Model Cards for Model Reportingcited by 1,068
  7. 2017Constrained Policy Optimizationcited by 928
  8. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  9. 2020Aligning AI With Shared Human Valuescited by 706
  10. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  11. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  12. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  13. 2021Dynabench: Rethinking Benchmarking in NLPcited by 447
  14. 2018Scalable agent alignment via reward modeling: a research directioncited by 438
  15. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  16. 2021Unsolved Problems in ML Safetycited by 291
  17. 2019Way Off-Policy Batch Deep Reinforcement Learning of Implicit Human Preferences in Dialogcited by 283
  18. 2018Human-level performance in first-person multiplayer games with population-based deep reinforcement learningcited by 260
  19. 2022Autoformalization with Large Language Modelscited by 252
  20. 2017Inverse Reward Designcited by 246
  21. 2022The Alignment Problem from a Deep Learning Perspectivecited by 246
  22. 2019Adversarial Policies: Attacking Deep Reinforcement Learningcited by 209
  23. 2022Exploring Length Generalization in Large Language Modelscited by 204
  24. 2021What Will it Take to Fix Benchmarking in Natural Language Understanding?cited by 200
  25. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
  26. 2020"Other-Play" for Zero-Shot Coordinationcited by 194
  27. 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
  28. 2018A Survey and Critique of Multiagent Deep Reinforcement Learningcited by 173
  29. 2020Adversarial Filters of Dataset Biasescited by 159
  30. 2022Prompting Decision Transformer for Few-Shot Policy Generalizationcited by 143
  31. 2019Principles alone cannot guarantee ethical AIcited by 134
  32. 2018Categorizing Variants of Goodhart's Lawcited by 132
  33. 2020Reward-rational (implicit) choice: A unifying formalism for reward learningcited by 119
  34. 2019Optimal Policies Tend to Seek Powercited by 115
  35. 2021Lawformer: A Pre-trained Language Model for Chinese Legal Long Documentscited by 115
  36. 2019Using Natural Language for Reward Shaping in Reinforcement Learningcited by 114
  37. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  38. 2020LEGAL-BERT: The Muppets straight out of Law Schoolcited by 111

50 most cited of 99 All 99 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 11; 2024: 5; 2025: 4; 2026: 3.

23 papers.

Sort:

By area:

  1. 2023A Survey of Large Language Modelscited by 2,537
  2. 2023LanguageMPC: Large Language Models as Decision Makers for Autonomous Drivingcited by 188
  3. 2023Drive Like a Human: Rethinking Autonomous Driving with Large Language Modelscited by 158
  4. 2023Drive as You Speak: Enabling Human-Like Interaction with Large Language Models in Autonomous Vehiclescited by 100
  5. 2023MindAgent: Emergent Gaming Interactioncited by 87
  6. 2023Receive, Reason, and React: Drive as You Say with Large Language Models in Autonomous Vehiclescited by 72
  7. 2023A Short Survey of Viewing Large Language Models in Legal Aspectcited by 51
  8. 2024Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenizationcited by 32
  9. 2025AI Alignment at Your Discretioncited by 20
  10. 2023Large Language Models as Corporate Lobbyistscited by 13
  11. 2025A Pragmatic View of AI Personhoodcited by 12
  12. 2024Learning and Sustaining Shared Normative Systems via Bayesian Rule Induction in Markov Gamescited by 11
11 more
  1. 2023Legal Summarisation through LLMs: The PRODIGIT Projectcited by 10
  2. 2024Legal Minds, Algorithmic Decisions: How LLMs Apply Constitutional Principles in Complex Scenarioscited by 7
  3. 2024Exploring the Nexus of Large Language Models and Legal Systems: A Short Surveycited by 6
  4. 2024Dynamic Normativity: Necessary and Sufficient Conditions for Value Alignmentcited by 3
  5. 2025Bye-bye, Bluebook? Automating Legal Drudgery With AI-Augmented Rule Followingcited by 3
  6. 2023Justifiable Artificial Intelligence: Engineering Large Language Models for Legal Applicationscited by 2
  7. 2023A Case for AI Safety via Lawcited by 0
  8. 2025A Neuro-Symbolic Framework for Accountability in Public-Sector AIcited by 0
  9. 2026De Jure: Iterative LLM Self-Refinement for Structured Extraction of Regulatory Rulescited by 0
  10. 2026Statutory AI: Aligning Large Language Models With Legal Normscited by 0
  11. 2026Where Reliability Lives: Experimental Localisation of Behavioural Properties in an Agent Systemcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025AI Agents and the Law
  2. 2026Towards a New Grammar of Reasoning for Artificial Legal Intelligence and the Mecelle as Its Semantic Protocol
  3. 2026Alignment as Jurisprudence
  4. 2026The Measurement Gap in the Automation of EU Law: Benchmarking Doctrinal Legal Reasoning under the EU AI Act
  5. 2026Bridging Legal Interpretation and Formal Logic: Faithfulness, Assumption, and the Future of AI Legal Reasoning
  6. 2026Legislating World-Model-Based Planning with Legal Reasoning
  7. 2025The Law-Following AI Framework: Legal Foundations and Technical Constraints. Legal Analogues for AI Actorship and technical feasibility of Law Alignment
  8. 2026Ordinary, Reasonable Chatbots: Do AI Models Track Human Legal Judgments?