Legal expert system

From HandWiki

A legal expert system is a domain-specific expert system that uses artificial intelligence to emulate the decision-making abilities of a human expert in the field of law.[1]:172 Legal expert systems employ a rule base or knowledge base and an inference engine to accumulate, reference and produce expert knowledge on specific subjects within the legal domain.

Purpose

It has been suggested that legal expert systems could help to manage the rapid expansion of legal information and decisions that began to intensify in the late 1960s.[2] Many of the first legal expert systems were created in the 1970s[1]:179 and 1980s.[3]:928

Lawyers were originally identified as primary target users of legal expert systems.[4]:3 Potential motivations for this work included:

  • speedier delivery of legal advice;
  • reduced time spent in repetitive, labour intensive legal tasks;
  • development of knowledge management techniques that were not dependent on staff;
  • reduced overhead and labour costs and higher profitability for law firms; and
  • reduced fees for clients.[5]:439

Some early development work was oriented toward the creation of automated judges.[6]:386

One of the first use cases was the encoding of the British Nationality Act at Imperial College carried out under the supervision of Marek Sergot and Robert Kowalski. Lance Elliot wrote: "The British Nationality Act was passed in 1981 and shortly thereafter was used as a means of showcasing the efficacy of using Artificial Intelligence (AI) techniques and technologies, doing so to explore how the at-the-time newly enacted statutory law might be encoded into a computerized logic-based formalization." [7]

The authors’ seminal article, “The British Nationality Act as a Logic Program,” published in 1986 in the Communications of the ACM journal, is one of the first and best-known works in computational law, and one of the most widely-cited papers in the field.[8]

In 2021, the Inaugural CodeX Prize was awarded to Robert Kowalski, Fariba Sadri and Marek Sergot in acknowledgment of their groundbreaking work on the application of logic programming to the formalization and analysis of the British Nationality Act.[9]

Later work on legal expert systems has identified potential benefits to non-lawyers as a means to increase access to legal knowledge.[4]:4

Legal expert systems can also support administrative processes, facilitating decision making processes, automating rule-based analyses[10] and exchanging information directly with citizen-users.[11]

Types

Architectural variations

Rule-based expert systems rely on a model of deductive reasoning that utilizes "if A, then B" rules. In a rule-based legal expert system, information is represented in the form of deductive rules within the knowledge base.[12]

Case-based reasoning models, which store and manipulate examples or cases, hold the potential to emulate an analogical reasoning process thought to be well-suited for the legal domain.[12] This model effectively draws on known experiences our outcomes for similar problems.[13]:5

A neural net relies on a computer model that mimics that structure of a human brain, and operates in a very similar way to the case-based reasoning model.[12] This expert system model is capable of recognizing and classifying patterns within the realm of legal knowledge and dealing with imprecise inputs.[14]:18

Fuzzy logic models attempt to create 'fuzzy' concepts or objects that can then be converted into quantitative terms or rules that are indexed and retrieved by the system.[14]:18–19 In the legal domain, fuzzy logic can be used for rule-based and case-based reasoning models.

Theoretical variations

While some legal expert system architects have adopted a very practical approach, employing scientific modes of reasoning within a given set of rules or cases, others have opted for a broader philosophical approach inspired by jurisprudential reasoning modes emanating from established legal theoreticians.[1] :183

Functional variations

Some legal expert systems aim to arrive at a particular conclusion in law, while others are designed to predict a particular outcome. An example of a predictive system is one that predicts the outcome of judicial decisions, the value of a case, or the outcome of litigation.[3]:932

Reception

Many forms of legal expert systems have become widely used and accepted by both the legal community and the users of legal services.[15]

Challenges

Domain-related problems

The inherent complexity of law as a discipline raises immediate challenges for legal expert system knowledge engineers. Legal matters often involve interrelated facts and issues, which further compound the complexity.[5]:4[6]:386

Factual uncertainty may also arise when there are disputed versions of factual representations that must be input into an expert system to begin the reasoning process.[5]:4

Computerized problem solving

The limitations of most computerized problem solving techniques inhibit the success of many expert systems in the legal domain. Expert systems typically rely on deductive reasoning models that have difficulty according degrees of weight to certain principles of law or importance to previously decided cases that may or may not influence a decision in an immediate case or context.[12]

Representation of legal knowledge

Expert legal knowledge can be difficult to represent or formalize within the structure of an expert system. For knowledge engineers, challenges include:

  • Open texture: Law is rarely applied in an exact way to specific facts, and exact outcomes are rarely a certainty. Statutes may be interpreted according to different linguistic interpretations, reliance on precedent cases or other contextual factors including a particular judge's conception of fairness.[5]:4
  • The balancing of reasons: Many arguments involve considerations or reasons that are not easily represented in a logical way. For instance, many constitutional legal issues are said to balance independently well-established considerations for state interests against individual rights.[16] Such balancing may draw on extra-legal considerations that would be difficult to represent logically in an expert system.
  • Indeterminacy of legal reasoning: In the adversarial arena of law, it is common to have two strong arguments on a single point. Determining the 'right' answer may depend on a majority vote among expert judges, as in the case of an appeal.[6]:386–387

Time and cost effectiveness

Creating a functioning expert system requires significant investments in software architecture, subject matter expertise and knowledge engineering. Faced with these challenges, many system architects restrict the domain in terms of subject matter and jurisdiction. The consequence of this approach is the creation of narrowly focused and geographically restricted legal expert systems that are difficult to justify on a cost-benefit basis.[5]:5

Current applications of AI in the legal field utilize machines to review documents, particularly when a high level of completeness and confidence in the quality of document analysis is depended upon, such as in instances of litigation and where due diligence play a role.[17] Among the numerically most quantifiable advantages of AI in the legal field are the time and money saving impact by freeing lawyers from having to spend inordinate amounts of their valuable time on routine tasks, aiding in setting free lawyers’ creative energy by reducing stress.[17] This in turn increases the rate of case load reduction by accomplishing better results in less time, which unlocks potential additional revenue per unit of time spend on a case.[17] The cost of setting up and maintaining AI systems in law is more than offset by the attained savings through increased efficacy; unbalanced cost can be assigned to clients.[17]

Lack of correctness in results or decisions

Legal expert systems may lead non-expert users to incorrect or inaccurate results and decisions. This problem could be compounded by the fact that users may rely heavily on the correctness or trustworthiness of results or decisions generated by these systems.[18]

Examples

ASHSD-II is a hybrid legal expert system that blends rule-based and case-based reasoning models in the area of matrimonial property disputes under English law.[13]:49

CHIRON is a hybrid legal expert system that blends rule-based and case-based reasoning models to support tax planning activities under United States tax law and codes.[19]

JUDGE is a rule-based legal expert system that deals with sentencing in the criminal legal domain for offences relating to murder, assault and manslaughter.[20]:51

Legislate is a knowledge graph powered contract management platform which applies legal rules to generate lawyer-approved contracts.[21]

The Latent Damage Project is a rule-based legal expert system that deals with limitation periods under the (UK) Latent Damage Act 1986 in relation to the domains of tort, contract and product liability law.[22]

Split-Up is a rule-based legal expert system that assists in the division of marital assets according to the (Australia) Family Law Act (1975).[23]

SHYSTER is a case-based legal expert system that can also function as a hybrid through its ability to link with rule-based models. It was designed to accommodate multiple legal domains, including aspects of Australian copyright law, contract law, personal property and administrative law.[20]

TAXMAN is a rule-based system that could perform a basic form of legal reasoning by classifying cases under a particular category of statutory rules in the area of law concerning corporate reorganization.[24]:837

Controversies

There may be a lack of consensus over what distinguishes a legal expert system from a knowledge-based system (also called an intelligent knowledge-based system). While legal expert systems are held to function at the level of a human legal expert, knowledge-based systems may depend on the ongoing assistance of a human expert. True legal expert systems typically focus on a narrow domain of expertise as opposed to a wider and less specific domain as in the case of most knowledge-based systems.[5]:1

Legal expert systems represent potentially disruptive technologies for the traditional, bespoke delivery of legal services. Accordingly, established legal practitioners may consider them a threat to historical business practices.[5]:2

Arguments have been made that a failure to take into consideration various theoretical approaches to legal decision making will produce expert systems that fail to reflect the true nature of decision making.[1]:190 Meanwhile, some legal expert system architects contend that because many lawyers have proficient legal reasoning skills without a sound base in legal theory, the same should hold true for legal expert systems.[20]:pp.6–7

Because legal expert systems apply precision and scientific rigor to the act of legal decision-making, they may be seen as a challenge to the more disorganized and less precise dynamics of traditional jurisprudential modes of legal reasoning.[24]:839 Some commentators also contend that the true nature of legal practice does not necessarily depend on analyses of legal rules or principles; decisions are based instead on an expectation of what a human adjudicator would decide for a given case.[3]:930

Recent developments

Since 2013, there have been significant developments in legal expert systems. Professor Tanina Rostain of Georgetown Law Center teaches a course in designing legal expert systems.[25] Open-source platforms like Docassemble and companies such as Neota Logic, Logic Programming Associates, Berkely Bridge, Oracle and Checkbox have begun to offer artificial intelligence and machine learning-based legal expert systems.[26][27]

No Code

More recently, the world of legal expert systems has collided with the world of low-code no-code products. In its article entitled 'No Code and Lawyers', the NoCode Journal[28] mentions tools such as Neota Logic, VisiRule, Berkeley Bridge, BRYTER and Josef as all being used within the legal sector for a variety of purposes including Self-Service Legal and Policy Advice, Document Drafting, Document Automation, New Business Intake and Analysis, Expert Decisioning, Business Process Automation and other use cases.

See also

References

  1. 1.0 1.1 1.2 1.3 Susskind, Richard (1986). "Expert Systems in Law: A Jurisprudential Approach to Artificial Intelligence and Legal Reasoning". Modern Law Review 49 (2): 168–194. doi:10.1111/j.1468-2230.1986.tb01683.x. 
  2. 3.0 3.1 3.2 Berman, Donald H.; Hafner, Carole D. (1989). "The Potential of Artificial Intelligence to Help Solve the Crisis in Our Legal System". Communications of the ACM 32 (8): 928–938. doi:10.1145/65971.65972. 
  3. 4.0 4.1 Thomasset, Claude; Paquin, Louis-Claude (1989). "Expert Systems in Law and the Representation of Legal Knowledge: Can we isolate it from the Why and the Who?". Proceedings of the 3rd International Congress on: Logica, Informatica, Diritto: Legal Experts Systems 1. http://multimedia.uqam.ca/profs/lcp/CV/publi_pdf/Florence_89.pdf. Retrieved 26 October 2012. [yes|permanent dead link|dead link}}]
  4. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 Stevens, Charles; Barot, Vishal; Carter, Jenny (2010). "The Next Generation of Legal Expert Systems - New Dawn or False Dawn?". SGAI Conference Proceedings. https://www.dora.dmu.ac.uk/bitstream/handle/2086/4600/NextGenLegalES_version10_FINAL%5B1%5D.pdf?sequence=2. Retrieved 26 October 2012. 
  5. 6.0 6.1 6.2 Schafer, Burkhard (2010). "ZombAIs: Legal Expert Systems as Representatives "Beyond the Grave"". SCRIPTed 7 (2). https://script-ed.org/wp-content/uploads/2016/07/7-2-Schafer.pdf. Retrieved 23 March 2020. 
  6. AI & Law: British Nationality Act Unexpectedly Spurred AI And Law, 17 April 2021, https://lance-eliot.medium.com/ai-law-british-nationality-act-unexpectedly-spurred-ai-and-law-404aea03386a, retrieved 2023-11-13 
  7. Sergot, M. J.; Sadri, F.; Kowalski, R. A.; Kriwaczek, F.; Hammond, P.; Cory, H. T. (1986), "The British Nationality Act as a Logic Program", Communications of the ACM 29 (5): 370–386, doi:10.1145/5689.5920, https://dl.acm.org/doi/pdf/10.1145/5689.5920, retrieved 2023-11-13 
  8. "New CodeX Prize Awarded to Computational Law Pioneers During 9th Annual CodeX FutureLaw Conference". April 8, 2021. https://law.stanford.edu/press/new-codex-prize-awarded-to-computational-law-pioneers-during-9th-annual-codex-futurelaw-conference/. 
  9. Lodder, Arno; Zeleznikow, John (2005). "Developing an Online Dispute Resolution Environment: Dialogue Tools and Negotiation Support Systems in a Three-Step Model". Harvard Negotiation Law Review 10: 293. 
  10. 12.0 12.1 12.2 12.3 Aikenhead, M. (1995). "Legal Knowledge-Based Systems: some observations on the future". Web JCLI 2. http://webjcli.ncl.ac.uk/articles2/aiken2.html. Retrieved 26 October 2012. 
  11. 13.0 13.1 Pal, Kamalendu; Campbell, John A. (1997). "An Application of Rule-Based and Case-Based Reasoning within a Single Legal Knowledge-Based System". The DATA BASE for Advances in Information System 28 (4): 48–63. doi:10.1145/277339.277344. 
  12. 14.0 14.1 Main, Julie; Pal, Sankar K.; Dillon, Tharam; Shiu, Simon (2001). "A Tutorial on Case-Based Reasoning". in Soft Computing in Case Based Reasoning (4th ed.). London: (Ltd). http://www4.comp.polyu.edu.hk/~csckshiu/pdf/shiu01scbrb2.pdf. Retrieved 26 October 2012. 
  13. Ambrogi, Robert. "Latest legal victory has LegalZoom poised for growth." ABA Journal. American Bar Association, 1 Aug. 2014. Web. 17 June 2017. <http://www.abajournal.com/magazine/article/latest_legal_victory_has_legalzoom_poised_for_growth>.
  14. Franklin, James (2012). "'How much of commonsense and legal reasoning is formalizable? A review of conceptual obstacles". Law, Probability and Risk: 11–12. https://academic.oup.com/lpr/article-pdf/11/2-3/225/2713839/mgs007.pdf. 
  15. 17.0 17.1 17.2 17.3 Donahue L, A Primer on Using Artificial Intelligence in the Legal Profession https://jolt.law.harvard.edu/digest/a-primer-on-using-artificial-intelligence-in-the-legal-profession.
  16. Groothuis, Marga M.; Svensson, Jörgen S. (2000). "Expert system support and juridical quality". Amsterdam: Jurix 2000: The Thirteenth Annual Conference. pp. 9. http://jurix.nl/pdf/j00-01.pdf. 
  17. Sanders, Kathryn E. (1991). "Proceedings of the third international conference on Artificial intelligence and law - ICAIL '91". ICAIL. pp. 140–141. doi:10.1145/112646.112663. ISBN 089791399X. 
  18. 20.0 20.1 20.2 Popple, James (1996). A Pragmatic Legal Expert System. Applied Legal Philosophy Series. Dartmouth (Ashgate). ISBN 1-85521-739-2. http://cs.anu.edu.au/~James.Popple/publications/books/shyster.pdf. Retrieved 10 August 2014.  Alt URL Available at Open Library. Also available at Google Books.
  19. "Knowledge graphs: Know more about your contracts - Legislate" (in en). https://www.legislate.tech/post/knowledge-graphs-know-more-about-your-contracts. 
  20. Susskind, Richard (1989). "Proceedings of the second international conference on Artificial intelligence and law - ICAIL '89". ICAIL. pp. 23–32. doi:10.1145/74014.74018. ISBN 0897913221. 
  21. Zeleznikow, John; Stranieri, Andrew; Gawler, Mark (1996). "Project Report: Split-Up - A Legal Expert System which Determines Property Division upon Divorce". Artificial Intelligence and Law 3: 268. 
  22. 24.0 24.1 McCarty, L. Thorne (1977). "Reflections on Taxman: An Experiment in Artificial Intelligence and Legal Reasoning". Harvard Law Review 90 (5): 837–893. doi:10.2307/1340132. 
  23. Centers & Institutes | Georgetown Law
  24. https://lawyerist.com/first-look-docassemble/, "First Look: Docassemble", Lawyerist, February 2, 2017.
  25. https://prismlegal.com/automating-legal-advice-ai-and-expert-systems/ Ron Friedman, "Automating Legal Advice: AI and Expert Systems", Prism Legal, 2016.
  26. NoCode And Lawyersm, https://www.nocodejournal.com/posts/nocode-and-lawyers, retrieved 2023-11-14 

External links