Computational Law, Symbolic Discourse, and the AI Constitution
backchannel.com
backchannel.com
Modern law is supposed to be open, so that anyone can read it. Reencoding laws, for whatever reason, strikes me as being fundamentally undemocratic.
The argument can be made that if legal "code" is taught in schools, then it's no more undemocratic than writing down law, but the chances of that happening seem slim to none.
Another argument is that law is already written in "special" English that most people can't figure out, but I think that having it in English alone is a big step toward having it being readable by almost anyone.
It would be neat to have law written as code and to have AI be able to parse it for you in lay language -- that is, you could ask it questions or pose situations to get a legally-binding answer. But then the question for me is, why don't we just have said AI read the current legalese and parse it?
Two disclaimers. First, IANAL. Second, "standard" really means "a lot of people do it this way", not "this is recognized as the right way to do it".
Discretion of a human judge is grease on the gears of law.
Moreover the content and legal rules predetermines what will be written in such legal documents down to the phrasing. While there will be differences, it's not "free writing"/"express yourself" kind of thing.
To me it seems this would make things much clearer to parties involved, and reduce opportunities for abuse compared to many pages of boilerplate and only a few lines that matter.
That said, a lot of state law is kind of like what you describe. An initial law, and tons of differences applied on it. E.g. article 3242 clarifies article 432 and adds the provision to do so and so.
This is already not the case -- at least in a common law system like is practiced in most of the US (and other Anglo-Saxon countries). Even if a normal person can understand the legalese, they can't be expected to know about the history of court cases that have reinterpreted and redefined the laws in question in various ways.
Why else would it take so much training to become a lawyer?
Similarly, applying rigid code to law can make some crazy results, like the guy who got 25 years for stealing a slice of pizza. It was his 'third strike', and because the slice was stolen from a minor, it was classified as a felony. No sane person would argue for 25 years for a slice of pizza. However, the 'hardcoded' law demanded that, so the people are left picking up the bill for 25 years of imprisonment over a $1 food item (independent of any moral arguments on the issue).
Finally, 'ethics' is ridiculously hard to clearly classify, and if we can't classify it, we can't encode it.
I really can't see how this is so.
What about a law
By the third year I had rather given up on the idea.
Legal writing is already well-specified. The problem is not with the language that the law is written in. The problem is that the world is irreducibly complex and the law cannot shrink its domain from "everything humans have done, do, will do, or could do; interacting with other humans, dead, alive, unborn; interacting with objects, in their homes, in public, on private property, belonging to them, belonging to others, belonging to nobody; on the surface of the earth, underneath the earth, in the seas, in the international seas, in the skies, in orbit, on the moon, the limits of human space; with ideas, owned and unowned, with multiple kinds of ownership; in concert with other legal systems, or in contrast, or in direct mutually incompatible conflict; without limit, forever".
Which is probably a fraction of it.
Quite aside from scope, there is ordinary fuzzy logic: in coming to a conclusion, judges must give consideration to concepts that cannot be crisply, discretely encoded: "the buyer without notice at arm's length", the "reasonable person, similarly circumstanced" and so forth.
These are all supported by cases. Mounds and mounds of cases. Case-based reasoning is a well-explored area of AI, but it hasn't been to any avail. Civil legal systems try to go without caselaw and have pure statute in the fashion that this kind of idle daydream typically tries to express.
And they've had hundreds and hundreds of years to get the "perfect" drafting. Bugs are still showing up. All that it does is shift the burden of adjustment to a slower, central bureaucracy from a self-correcting, distributed, multi-level system.
We still need humans to make sense of humans. For the foreseeable future this can be expected to continue. The law isn't going anywhere.
I was initially happy with the title of the article but this is exactly the reason why the content left me disappointing. It is very difficult to capture law in a computational context and there are interesting forums these days.
That said, there are interesting questions to ask.
* What are the properties to make a law (fully/partially) computational?
* What stages of time could law be made computational? Time, number of cases etc.
* What laws could be made computational and what can not? Are there laws that could never be made computational? Are there laws that could be made fully computational? Are there laws that could be partially computational?
* What are the effects of computational law on the legal ecosystem? Would it give rise to less better lawyers and judges?
I think such questions need investigation (if not already done).
It's because of this ambiguity that you can pass a law and assume other laws will update their meaning accordingly. For instance, civil rights.
A law is an abstraction, and its meaning gets clarified or even updated when cases occur. For instance, marriage discrimination is now unconstitutional. The text of the constitution didn't change, its meaning did.
Which is huge problem. It means that laws can be interpreted any which way we want, which essentially means that the law only retains its meaning for a certain period of time until, until people forget their meaning, or judges make enough exceptions to those laws to render them useless but "true in principle", or judges decide at whim to change the interpretation. Since laws can change, what reliance have we upon any of it? What guarantee do we have that we can keep our "rights"? It's an incredibly stupid system. Is there something better? - Not one we can implement, to say the least. So we're stuck with it. It's not a blessing, it's a curse.
In reality, natural language can be precise - consider a textbook on logic, for example. It is humans that are ambiguous, and if you force them to use a language that has a precise meaning, they will simply write things that do not mean exactly what they intend. We know this is so from observing how programming errors are made.
Admittedly, I keep shortening my responses before posting, so sometimes I don't explain some logic that seems obvious to me. Apologies.
That said, I would still say natural language is, when you try to fully examine it without relation to reality, arbitrary (in a completely different argument), and while it doesn't mean "any which way we want" (initially), we could make a deep philosophical examination of the topic and come to that conclusion, but that's off topic. Though I feel like that's partly what you may have thought I was arguing initially.
Think of it as a model of the world. To launch a rocket you need a pretty good model of how physics works, but you don't need to simulate and describe every single quantum interaction. Or you wouldn't be able to do anything.
Laws are like models, they describe our norms in (more or less) broad terms, but there is still a degree of uncertainty in each and every real world case.
With regards to language: As I said to other guy, can modern Greeks read ancient Greek? No. Culture degrades language. Gradually, words will mean something else. Consider the word "cool". How many people these days actually associate it with temperature first? Or "ass". How many people think "donkey"? Those are simple examples. We could go back to older English, but I think my point has been demonstrated.
Admittedly, I keep shortening my responses before posting, so sometimes I don't explain some logic that seems obvious to me. Apologies.
- A system of law is needed to settle disputes happening in the so-called "real world".
- Often, these disputes involve what people say.
- The decision therefore needs to account for the meaning of what was said.
- If you could algorithmically derive the "true meaning" of anything people say, you could also derive the "true meaning" of any law, because both use the same medium, i. e. "language".
-> You could just use that system to derive the "true meaning" of laws without translating into any sort of code.
At the moment, expecting someone off the street to properly understand a legal document is broadly equivalent to expecting them to understand what's going on with a command line (assuming they use computers only casually).
Law needs the equivalent of a GUI.
It's possible. Some other lawyers and I are working on an open source system of "defined phrases" that can be used like software functions. Lawyers already define words, there's no reason you can't do the same with phrases.
Each plain english phrase represents a module of legalese that can be manipulated with "arguments" specified in conjunction with the phrase. Like a GUI, a comprehensible representation is there for the user, and the technical legalese still does all the work underneath.
You can take a look at it here http://lawpatch.org. Previous HN discussion here: https://news.ycombinator.com/item?id=10597778
'Formalizing Legislation in the Event Calculus': http://www.marcellodibello.com/files/research_files/theses/c...
Yes, it uses a library of obscure symbols to describe these relationships, but can be algorithmically translated into any number of natural languages, thus making these descriptions understandable to most people.
It's my belief that event calculus + blockchain (I'm looking at tauchain as an ideal platform) to enable the construction of massively scalable, voluntary, commons-based social coordination, production, politics and law.
I wish he could simply write for once in a neutral way. He has good messages, even if some disagree. But makes it so distasteful by these Wolfram mentions again and again...
Legalese doesn't have to be formalized into program-like code. Rather, perhaps into mathematical language, with some of the notations that go with it. It needs to use clear logic, and set theoretic descriptions and reasoning. Law is all about logic and sets: what rule applies under what conditions, and what is included and excluded and so forth.
(The law currently deals with this problem by only solving questions that come before it, not by solving every potential problem.)
http://blog.paralleluniverse.co/2016/07/23/correctness-and-c...
The same applies to all 'formal law language' proposals.
It was the only specific point you made in support of your position.
The contents of the article are fairly heavy on the technical side of things, but seem to hand-wave the human aspect of the whole operation, or tend to mostly point out human flaws and rarely qualities. I'm not sure whether it's cynicism or me reading too much into it, but it bothers me a little.
Should this idea (and others alike) ever be implemented, I personally believe they should only ever be decision-support systems that members of society (humans and possibly AIs) would ultimately decide upon. Such a system would be designed for humans first-and-for-all ; I think consistently making it decide for humans would likely remove the relative aspect of morality over time, leaving all your decisions to a "greater entity" and all that entails.
I did enjoy the article, if only as a very interesting thought exercise, but I sincerely hope not too many people take it to heart.
For example, how do you codify concepts like, from easy to hard: assault; theft; copyright infringement; or software patents, in terms of the underlying social benefits and harms that these concepts are supposed to enshrine? Ideas about exactly what is "harm" or "benefit" (and their highly subjective nature) have been well explored in sci-fi. The short story "Liar!" by Isaac Asimov springs to mind in particular.
On the other hand, I can see these ideas being more immediately useful for digital contracts. Some have pointed out that software can have bugs, but so can contracts. Some have pointed out that code isn't as accessible as plain writing, but contracts already aren't written in plain language. The very clear advantage of a purely code based contract is that you can query it without a lawyer. Imagine having a contract that you can literally ask questions, like "what will happen in the event of Foo?" and get a clear, unambiguous answer. Contracts today are open to interpretation. If you try to query a contract, you'll have to pay a lawyer a lot of money and get an answer like "Most likely this, but it may depend on a judge's opinion".
Another advantage of code is that it can be refactored. This means if you have a large, complex contract, you can restructure it to produce smaller, simpler contracts that focus on specific areas that may be of more or less interest to different parties. This can be done while provably not destroying any information. That isn't possible if you merely summarise a contract.
On the contrary, trying to use AI to regulate legal systems is... well actually we already do it a lot! Smart Contracts? Just look at the way an invoice is generated today. Taxes? You really think there is a guy putting the numbers in your tax declaration? Etc.
There will be more AI in Law in the future. But that's about it. It won't change its nature. It will allow Law to evolve more quickly and to become ever more precise - creating more and more rules instead of simplifying it. Contrary to most people, I think that more Law is always better than less. So I guess it's a good thing.
Nice to see that Stephen Wolfram goes into much more depth than I do, about what would be required for this to happen. He's also more optimistic than I am!
He touched on machine-learning, but I think the most powerful systems in the future will be heavily built upon data driven algorithms will (and presently) be able to handle ambiguity and understand what this means.
I'm sure it'll be a while yet before AI-processed legalese can make deep use of common sense or real world knowledge. But I think it should be possible soon to at least symbolize the concepts specified and confirm that the logical premises and constraints are well formed, based on a small domain-specific knowledgebase customized to each use case.
For example: real estate contracts. The terms used in leases should be fairly few, and the relations between owner, lessor, lessee, et al should be straightforward enough to allow a bot to build and maintain a sufficient world model of relations to represent all the necessities to capture any property's purchase, sale, or lease.
The advantage then is that the AI processor could look for anomalies or unusual attributes (present or missing) and reveal them to the signatories, perhaps interactively, as well as rewrite the legalese into a very standard format that any human could understand quickly, since all terms and constraints would be presented in the same standard sequence every time.
If such an AI capability then could be extended to handle contracts of other kinds, I don't see why, one day, all contracts could not be subsumed by the bot. Plausibly, as the model grows, the bot might scale up to accommodate other application areas of law and all the other uses for legalese.
Once the models for each application area of law are induced derived and matured, such an AI bot should be able to create and flesh out any legal document simply by applying an efficient Q&A with the consumer or lawmaker, meanwhile offering advice on potential gaps, unintended consequences, and loopholes. Then the need for encoded legalese like what SW proposes would disappear as the fundamental tenets of legal verbiage disappear into the representational workings of the [Deep Net or whatever].
For example, the body of federal law in the U.S. is called the "United States Code". http://uscode.house.gov/
There's also the "model code" category in the US, where what you're codifying is typically common law principles distilled from court decisions, subject to some attempt at reform by the people involved in developing the model code.
It's computer code that got it's name from legal code (back to the original latin word "codex" -- a list of laws).