PaperScope
LIVE · 2026-09-22 05:40 UTC

Directing large language models to follow the letter or spirit of the law

Peng Qian, Andrew Li, Sam Chen, Sonia K. Murthy, Yonatan Belinkov, Tomer D. Ullman

Latestcs.CLcs.LGcs.AIcs.CV
arXiv ID
2609.23083 v1
Category
Submitted
2026-09-19

Abstract

The distinction between the spirit and letter of the law is a central issue across research and everyday life, and a growing concern for building safe, intelligent machines. What is this distinction based on, and how can we develop machines that follow the intention behind a rule? We used targeted adaptation that made large language models prioritize the spirit or letter of the law. With minimal modifications, our method significantly changed LLM behavior across diverse measures, novel vignettes, real-world scenarios, and influential legal cases. An analysis of model internals revealed a low-dimensional space with three interpretable dimensions matching a formal pre-specified framework for the geometry of legal concepts. These findings show how legal thought in LLMs may be organized and directed.

arXiv abs page · PDF · same-day batch