The Register Home Page

back to article AI could break legal systems by finding previously hidden loopholes

If AI can find the holes in programming code, it can do the same with legal code, paving the way for chaos. Felix Ringe, a visiting fellow at Stanford Law School’s liftlab and legal scholar, suggests large language models (LLMs) have become potent enough that they could break legal systems by identifying exploitable …

  1. Lusty

    I think this will be country specific. Some countries allow for the courts to interpret based on the intention of the law which is written in the preface. GDPR is a great well written example which states the intent up front so any questions that arise can usually be dealt with easily.

    1. IGotOut Silver badge

      Agreed. A lot of UK and EU law is "spirit of the law", rather than a hard line "This is exactly how it is written".

      A thing many US tech companies have found out when trying to fight legal battles (and losing).

    2. Doctor Syntax Silver badge

      Yes, the way law works, at least in English law and those based on it, includes judges interpreting laws to cover situations that cannot have been envisaged when they were written or when previous rulings were made.

      1. david 12 Silver badge

        In practice, there is considerable case-to-case divergence in the way English-based law systems have treated originalism, constructionism, and textualism.

        To take an obvious example, when the Australian court system considered the way to cover tax law in situations that had not been envisioned, it chose to interpret tax law situation narrowly -- a different interpretation than that made by judges in Singapore, which has had significant down-stream effect on the way tax laws are written in the two countries.

  2. Komm the Kat

    Someone is proud they read Snowcrash for their book report.

    But really, the law doesn't work this way, and what he's implying is LLMs are sovcits. If you want a good laugh, go on the youtube and watch sovcits getting berated by judges.

    1. Sorry that handle is already taken. Silver badge

      Ahh the modern tech bro bible.

      My first thought is that if such a thing was practical, we would already have seen legal "professionals" doing more with the slop machine than simply embarrassing themselves. Perhaps a bit early for that thought, though.

      1. Derezed

        The irony is it’s people that USE AI that will lose because it will invent stuff thus making their boring legal submission moot…

        1. Anonymous Coward
          Anonymous Coward

          > thus making their boring legal submission moot…

          And correspondingly expensive

    2. BartyFartsLast Silver badge

      I've done that, they're as bad as the flerfers, the antivaxxers, the lunatic who believes street lighting is an energy weapon and the 5G nutters.

      I E. Utter, delusional, morons

      1. Aladdin Sane Silver badge

        That Venn diagram is a circle.

        1. BartyFartsLast Silver badge

          Pretty much, the only deviations are where they believe some even more whacko conspiracy because the ones they had believed were becoming too popular or weren't moronic enough

    3. Yet Another Anonymous coward Silver badge

      >But really, the law doesn't work this way, and what he's implying is LLMs are sovcits

      True for regular idiots claiming that Magna Carta means they can't get a speeding ticket

      But for a Swedish furniture maker claiming to be a charity based in the Dutch Antilles, while only 'donating' a Euro / year because their LLM found a difference in wording between how Eu and Dutch law treats an offshore asset transfer in the same financial year as a solar eclipse when there are 5 fridays in a month with a full moon .....

  3. 45RPM

    On the one hand that’s bad because some absolute wronguns may get off. But on the other, isn’t it quite democratising? Because the power to get off will be granted to everyone - not just the Trumps, Farages, Musks etc of this world.

    Maybe we’ll just have to improve the laws, close the loop holes, and ensure that the law isn’t only fair but is seen to be fair too.

    1. Yet Another Anonymous coward Silver badge

      But if you no longer need a £1000/hour QC to claim that you weren't using a mobile phone while driving because you were making a teams call and that isn't a Telephone -

      the whole foundation of rich people winning will be threatened

      1. TimMaher Silver badge
        Headmaster

        Re: QC

        QC=KC.

        FTFY——->

        1. Yet Another Anonymous coward Silver badge

          Re: QC

          Not my King - I support the Empress Matilda

  4. Pete 2 Silver badge

    Law is analog, not digital

    > Similar to computer systems, the written law can contain vulnerabilities that invite exploitation

    But unlike computer systems the "code" of law is not executed, it is subject to human interpretation and the argumentation of attack and defence lawyers.

    Law also differs by evaluating evidence; a facet that does not exist in computer systems. Interpretation of law also changes over time. Actions, words or situations that might have been acceptable at one time become guilty verdicts at another time.

    And finally, unlike computer systems and their code, governments create new laws which are passed to the judiciary to interpret and to the police to enforce (or not)

    1. Not Yb Silver badge

      Re: Law is analog, not digital

      Exactly. Law is both the statutes as written, and the court judgments made over time. Most judges are well aware of the impossibility of a logically consistent legal system that's created by politicians that aren't entirely logical to begin with. So if something 'doesn't make sense logically', they will, over time, solve the problems as best they can.

      AI may well find new loopholes in existing law, almost all of which won't actually work in practice due to court decisions. They'll respond something like "I found a new loophole in ___." but the rest of the analysis will be full of court cases that don't exist, or don't support the legal conclusion the AI just made up.

      But they'll SEEM reasonably accurate at first glance, making it even worse for people trying to figure out if this is something that needs immediate attention from politicians, or can just be left to judges to get right if anyone ever tries to use that loophole.

      1. Red Ted

        Re: Law is analog, not digital

        From Today's Guardian: CPS prosecutor cites imaginary case to high court after AI search

        From that there's the irony of: "Doughty Street Chambers barrister Matthew Lee" ... "warned that AI was creating additional work for barristers, who need to spend time checking the authenticity of legal authorities appearing in case papers where AI may have been used in their preparation."

  5. Brave Coward Silver badge

    Pretty obvious

    AI has clearly demonstrated that all the IP legislation is just sheer BS.

    1. Anonymous Coward
      Anonymous Coward

      Re: Pretty obvious

      There is no law that has power if it is not enforced, and the consequences of non-enforcement include a de facto acceptance of the breach, rendering the law pointless.

  6. Richard Boyce

    Tax law loopholes

    "...avoiding statutory gaps is rarely a high priority..."

    That's particularly true with tax law. There's pressure to maintain ways for the wealthy to avoid tax, discoverable by expensive human specialists. If AI makes these people redundant, things may get interesting.

    1. Pete 2 Silver badge

      Re: Tax law loopholes

      > the wealthy to avoid tax

      Avoiding tax is no bad thing. It is not illegal and generally isn't even immoral. Do you have an ISA? A system of saving that was introduced by government specifically to allow savers to avoid tax.

      Tax avoidance is usually part of an incentive scheme. One that is designed to change the behaviour or decisions of individuals and businesses (such as enterprise zones, free ports and the like) to create a beneficial, or politically desirable, outcome.

      This is different from tax evasion, a form of fraud, that is illegal and tries to reduce tax bills by making false statements.

      1. tiggity Silver badge

        Re: Tax law loopholes

        A lot of tax avoidance is very similar to tax evasion. Against the spirit of the law, but exploits a loophole.

        But, it is exactly what you expect, this is an ancient article, but UK government gets same accountancy firms who help their customers avoid tax, to aid in drafting tax legislation.

        FFS

        I remember MD of a company I used to work for getting income not as "money" but as platinum sponges! This was a tax dodge, though was later cracked down on.

        Generally HMRC do, eventually, crackdown on loopholes, but can be worth the while of tax avoiders as often HMRC do not go back over all the years the loophole was abused by an individual and get all the correct tax back. By the time one tax dodge scheme has been outlawed the avoiders are already onto the next scheme.

        1. The Bobster

          Re: Tax law loopholes

          "I don’t say evasion, I say avoision" - Kent Brockman.

  7. sedregj
    Childcatcher

    Common Law

    The thing about Common Law is that it doesn't actually have to be consistent or even cromulent. It quite literally (and some parts are probably written on slate) is what it is. Our legal system (UK) and I think the US effort is pretty similar, is based on previous judgements.

    There are some famous examples of this approach to law: There is the "Gentleman riding on the Clapham Omnibus" who is held up as an example of a "normal" person - what would they do or think in response to a particular situation. There is also the notion of "Quiet enjoyment" of something such as your garden - I think that came about due to a coal mine being struck too close to a neighbour.

    Anyway, the law is the law, depending on whose law it is and that needs humans. LLMs are great at what they do but they are not human and the law is a human thing in all jurisdictions that I have ever come across.

    1. LessWileyCoyote

      Re: Common Law

      There's also a strong element of "what did we do last time?" Consistency can be an element in fairness, but AI has not shown itself great at understanding the human elements in cases that make for consistent decisions. May be why it tends to invent non-existent precedents.

      1. CrazyOldCatMan Silver badge

        Re: Common Law

        There's also a strong element of "what did we do last time?"

        AKA 'precedent'. Where, more confusingly, a legal decision made in court can either be defined as 'creating precedent' or 'not creating precedent'. I suspect there's a rationale behind the choice but it's impenetrable to my non-legal mind.

        The level of court maybe? Grade of the judge involved?

        Of course, this is not a legally-required thing. Just because it's been ruled one way and precedent made does not mean that the next judge has to rule that way if they have good (legal) reasons to not do so. But they have to justify it and, in doing so, will open the options for appeals considerably.

        Or, in the case of the US Supreme Court, because their political activism and/or bribery level means they can ignore precedent utterly and deliver a verdict that disregards law, precedent and (quite possibly) the Constitution.

        1. Jason Bloomberg Silver badge

          Re: Common Law

          The level of court maybe?

          In the UK, basically yes. Lower courts don't have the time or resources to ensure that a judgement is entirely legally accurate. Which is why we have higher courts which can handle appeals and devote prolonged time, more resources, and more skilled minds, to determine what a legally accurate judgement actually is.

          In the UK precedence is set by the Supreme Court, High Court and Court of Appeal, and is mostly binding on courts lower than each. Precedence does not prevent additional "but..." precedence to be created because every case stands on its own merits.

          There have been cases where people can only do something if a police officer permits it, where police officers have claimed they gave themselves permission to do it. Looking for loopholes and defences is not new.

    2. TimMaher Silver badge
      Headmaster

      Re: “famous examples”

      And don’t forget “The Golden Rule”.

  8. Anonymous Coward
    Anonymous Coward

    No more Lawyers?

    There is a God!

    1. Not Yb Silver badge

      Re: No more Lawyers?

      I don't know if you've ever talked with actual lawyers, but almost all of them are quite certain that using AI as your only attorney is a terrible idea.

      Courts have many examples of people doing so, losing quite a lot more than they would have if they accepted a public defender, or just 'didn't file the suit in the first place'.

  9. Anonymous Coward
    Anonymous Coward

    No need for AI, though

    I think Trump has demonstrated over the last few years that you don't need an AI to find loopholes.

    What's more, he has also demonstrated that any law is toothless if inot enforced, otherwise there would not have been a second term - he'd be in jail.

    1. Yet Another Anonymous coward Silver badge

      Re: No need for AI, though

      Possession is famously 9/10 of the law.

      If what you posses is the Dept of Justice and nuclear weapons, that's probably 10/10

      1. CrazyOldCatMan Silver badge

        Re: No need for AI, though

        If what you posses is the Dept of Justice and nuclear weapons, that's probably 10/10

        I'd like to say that even Trump isn't stupid enough to push the nookler button on a whim. But I can't.

        Hopefully, his carers have given him a fake "Launch Now!" button that's just linked to the nearest Maccy D and they can distract him with food and he'll forget all about what he did 30 seconds ago. And the kiddy meal will arrive in a gold "bestest president evar!" little box. And a nice toy. And some colouring crayons.

      2. Anonymous Coward
        Anonymous Coward

        Re: No need for AI, though

        And if you possess the Supreme Court you are "done and dusted".

        Why the Founding Fathers decided to facilitate the creation of a perfect dictatorship -- where the Supreme Court is king, but can be bought-and-paid-for through political appointment -- we can only guess.

  10. TheMaskedMan Silver badge

    In some ways this is absolutely correct. Where you have an objective, and the tool of choice is litigation, statutes and precedents become a kind of API. An LLM that could accurately produce a list of relevant statures and case law would be very useful.

    Whether it would be so hot at picking it conflicts in legislation, in not sure

    1. Yet Another Anonymous coward Silver badge

      That's why we have law students / clerks and an expensive subscription to lexisNexis.

      If an LLM could search a database and summarise the results, lawyers could fire a lot of legal minions and buy another BMW - can't see that happening

  11. G.Y.

    WA

    The firearm rules in Washington state used to have an AND-clause when an OR-clause was needed. Never acted on, but turned lots of goos citizens into criminals.

    They forgot that negating an AND-clause is a OR-clause (ask George Boole)

  12. Throatwarbler Mangrove Silver badge
  13. Claptrap314 Silver badge

    But wait, I'm just gettin started

    As for the resilience of Common Law, the comments are correct. What I believe they are missing, however, is what actually happens when lawyers (including judges) deliberate.

    What this will do is invent more outrageous and bizarre theories of law for lawyers to pretend to take seriously. It will in fact damage the law, because stability is a critical component of a healthy legal system. Probably not much, it's wafer thin...

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon