This paper discusses the idea of legal expert systems, in particular Rule-Based Legal Expert Systems (RBLES) systematizes their well-known limitations and presents some new insights concerning usefulness of application of this classical technology. The 20th edition of the IRIS conference offers a good opportunity for creating a retrospective insight into the tradition of legal expert systems and to restate the basic question concerning legal expertise that may be embedded in knowledge-based systems.
2.
Legal Expert Systems as a Scientific Project ^
Expert systems emerged in the domain of Artificial Intelligence in the 1960s. Unlike the systems developed to represent general intelligence, which failed as a scientific project in particular because of inability to represent common-sense reasoning, expert systems were developed to perform inferences from clearly defined domains of knowledge, such as chemistry (DENDRAL), medical diagnosis (MYCIN) and the like. The idea of legal expert systems, proposed in early 1970s, began to materialize in the second half of this decade (famous system TAXMAN developed by L. Thorne McCarty)2 and was perhaps the most debated topic in AI and Law research in 1980s, resulting in many important projects (British Nationality Act as logic program,3 Yoshino’s system LES,4 case-based reasoning system HYPO5 and many others6). Certain features of law as a domain of knowledge makes the idea of legal expert system very promising. Statutory law is (1) accessible in authoritative sources defined in the law itself (official journals of law); (2) structured in a manner which even in its raw form, expressed in natural language, resembles a knowledge base of a logic program (conditional and unconditional rules) and (3) in spite of many theoretical controversies, generally perceived to obey the rules of logic in the sense that lawyers may draw and actually do draw logical conclusions from statutory text (in this place we cannot enter in the broad discussion concerning the choice of logical calculus for representation of legal norm, the problem of monotonicity of this calculus and the like; for the recent elaboration of the state of the art see the recent volume «Logic in the Theory and Practice of Lawmaking»). The abovementioned features are weaker as far as case-based reasoning systems are concerned (the databases of cases are not regulated to the extent characteristic for journals of laws; the cases are presented in less structured language than legislation; cases are used as premises of rather non-deductive arguments, based on the notion of similarity; however even in case-based reasoning the top level reasoning may be expressed as a logic program as in case of the IBP system7), but the essence of functioning of expert systems remains similar. In the following analysis we will focus on Rule-Based Legal Expert Systems (RBLES).
3.
Providing Answers in Restricted Domains ^
Classical rule-based expert systems have succeeded only in some particular areas (medicine, credit granting decisions, etc.) where expert opinions require extensive but highly specialized and well-structured knowledge. What is more, the construction of such systems can only be purposeful if the expert opinions based on this knowledge are prepared often enough to make the construction of such a system worthwhile. Unfortunately, the majority of real problems faced by lawyers, even regarding a single legal act, necessitate very broad knowledge from various fields; quite frequently, for the proper consideration of a given case, commonsense specific knowledge relevant for the case is needed apart from the mastery of legal norms and rules. A realization of an expert system where every new case would entail the necessity of introducing big data resources of new knowledge can hardly be imagined.
- It should be possible to formalize relatively easily (which excludes the fragments of law allowing for large interpretation possibilities and narrows down the choice to the branches of law for which the primacy of linguistic interpretation is accepted).
- It should constitute a wholeness which would not require the usage of other fragments of law, or require it to a very limited extent.
- The expert opinions should be dependent as little as possible on the extrajudicial circumstances of the case.
- The list of the possible circumstances of the case should be known and relatively small; also, every system user should be able to easily determine whether a given circumstance exists in a given case or not.
The above list clearly narrows the choice of the area in which such a system would operate to some areas of tax law (linguistic interpretation domination, strong determination of resolution by the legal text, prohibition of extensive interpretation, etc.), immigration law, and some fragments of inheritance law11 (both these areas rely on unambiguous and easily described family relations), etc.
4.
Enhancing Legal Information Systems with respect to Questions of Validity ^
Contemporary commercial databases of legal knowledge offer the users access to updated and consolidated versions of legal acts, in particular, statutes. It is possible to display all versions of these normative acts, i.e. for each day in the calendar it is possible to display a version of legal act containing all provisions of this act which are in force (and these provisions only). From the computational point of view this result is not difficult, for any statutory provision has its fixed date of entering into force and of formal derogation or amendment (although the situation becomes more problematic if there is a mistake in a modifying or derogating provision). However, this result is not sufficient for practising lawyers as regards the choice of legal provisions applicable to given fact situations. Let us consider three following dates: X, Y and Z, where X is the date on which the state of affairs took place, Y is the date of initiation of legal proceedings in the case and Z is the date of judgement. Let us further assume that the legislator modified the applicable legislation L in such way that on the three abovementioned days, three different versions of this legislation (a, b and c) were in force. For any lawyer it is obvious that this does not automatically mean that the legislation being in force is applicable on the date in question. The typical situations are indicated in the following table:
Situation type | X | Y | Z |
1. | a | a | a |
2. | a | a | c |
3. | a | b | b |
4. | a | b | c |
5. | b | b | b |
6. | b | b | c |
7. | c | c | c |
Table 1. 7 typical variants of applicability of different versions of legislation to: the date of state of affairs, the date of initiation of proceedings and the date of issuing of judgement
5.
Performing Educational Functions ^
6.
Discussion and Conclusions ^
7.
References ^
Aleven, Vincent/Ashley, Kevin, Doing Things with Factors, Proceedings of the Fifth International Conference on Artificial Intelligence and Law, ACM, New York 1995, pp. 31–41.
Antoniou, Grigoris/Dimaresis, Nikos/Governatori, Guido, A modal and deontic defeasible reasoning system for modelling policies and multi-agent systems, Expert Systems with Applications, Volume 36, 2009, Issue 2, Part 2, pp. 4125–4134.
Araszkiewicz, Michał/Łopatkiewicz, Agata/Zienkiewicz, Adam/Zurek, Tomasz, Representation of an actual divorce dispute in the parenting plan support system, Proceedings of the 15th International Conference on Artificial Intelligence and Law, ACM, New York 2015, pp. 166–170.
Araszkiewicz, Michał/Łopatkiewicz, Agata/Zienkiewicz, Adam/Zurek, Tomasz, Framing a Knowledge Base for a Legal Expert System Dealing with Indeterminate Concepts, The Scientific World Journal 2015, Article ID 985425, 14 pages, doi:10.1155/2015/98542.
Araszkiewicz, Michał/Casanovas, Pompeu, On Legal Validity, in: Bex Floris/Villata, Serena (eds.), Legal Knowledge and Information Systems – JURIX 2016: The Twenty-Ninth Annual Conference, IOS Press, Amsterdam 2016, pp. 125–130.
Araszkiewicz, Michał / Płeszka, Krzysztof (eds.), Logic in the Theory and Practice of Lawmaking, Springer, Cham 2016.
Ashley, Kevin, Modeling Legal Argument. Reasoning with Cases and Hypotheticals. MIT Press, Cambridge 1990.
Bench-Capon, Trevor, What Makes a System a Legal Expert?, in: Schafer Burkhard (ed.), Legal Knowledge and Information Systems – JURIX 2012: The Twenty-Fifth Annual Conference, IOS Press, Amsterdam 2012, pp. 11–20.
Bench-Capon, Trevor/Sartor, Giovanni, A model of legal reasoning with cases incorporating theories and values, Artificial Intelligence Vol. 150, 2003, no. 1–2, pp. 97–143.
Bench-Capon, Trevor/Araszkiewicz, Michał/Ashley, Kevin/Atkinson, Katie/Bex, Floris/Borges, Filipe/Bourcier, Daniele/Bourgine, Paul/Conrad, Jack G./Francesconi, Enrico/Gordon, Thomas F./Governatori, Guido/Leidner, Jochen L./Lewis, David D./Loui, Ronald P./McCarty, L. Thorne/Prakken, Henry/Schilder, Frank/Schweighofer, Erich/Thompson, Paul/Tyrrell, Alex/Verheij, Bart/Walton, Douglas N./Wyner, Adam Z., A history of AI and Law in 50 papers: 25 years of the international conference on AI and Law, Artificial Intelligence and Law Vol. 20, 2012, Issue 3, pp. 215–319.
Brüninghaus, Stefanie/Ashley, Kevin, Predicting Outcomes of Case-Based Arguments, Proceedings of the Ninth International Conference on Artificial Intelligence and Law, ACM, New York 2003, pp. 233–242.
Endicott, Timothy, Vagueness in Law, Oxford University Press, Oxford 2001.
Grabowski, Andrzej, Juristic Concept of the Validity of Statutory Law, Springer-Verlag, Berlin Heidelberg 2013.
McCarty, L. Thorne, Reflections on «Taxman»: An Experiment in Artificial Intelligence and Legal Reasoning, Harvard Law Review Vol. 90, 1977, no. 5, pp. 837–893.
Sergot, Marek J./Sadri, Fariba/Kowalski, Robert A./Kriwaczek, Frank/Hammond, Peter/Cory, H. Therese, The British Nationality Act as a logic program, Communications of the ACM Vol. 29, 1986, no. 5, pp. 370-386.
Waismann, Friedrich, Verifiability, Proceedings of the Aristotelian Society, Supplementary Volumes, Vol. 19, Analysis and Metaphysics, 1945, pp. 119–150.
Vasconcelos, Wamberto/García-Caminob, Andrés/Gaertnerc, Dorian/Rodríguez-Aguilarb, Juan A./Noriegab, Pablo, Distributed norm management for multi-agent systems, Expert Systems with Applications, Volume 39, 2012, Issue 5, pp. 5990–5999.
Yoshino, Hajime, The systematization of law in terms of validity, Proceedings of the 13th International Conference on Artificial Intelligence and Law, ACM, New York 2011, pp. 121–125.
Yoshino, Hajime/Kagayama, Sigeru/Ohta, S./Kitahara, M./Kondoh, H./Nakakawaji, M./Ishimaru, K./Takao, S., Legal expert system – LES-2, Lecture Notes in Computer Science Vol. 264, 1987, pp. 34–45.
Zurek, Tomasz/Mokkas, Michail/Ksiezopolski, Bogdan, On the Modelling of Context-Aware Security for Mobile Devices, Mobile Information Systems, vol. 2016, Article ID 8743504, 16 pages, 2016. doi:10.1155/2016/8743504.
- 1 The publication of this paper is supported by the research project NCN no 2012/07/B/HS4/02994 «Legal aid in Poland from the perspective of economic analysis of law. The current and the recommended state».
- 2 McCarty, Reflections on «Taxman»: An Experiment in Artificial Intelligence and Legal Reasoning, Harvard Law Review Vol. 90, 1977, no. 5, pp. 837–893.
- 3 Sergot et al., The British Nationality Act as a logic program, Comunications of the ACM Vol. 29, 1986, no. 5, pp. 370–386.
- 4 Yoshino et al., Legal expert system – LES-2, Lecture Notes in Computer Science Vol. 264, 1987, pp. 34-45.
- 5 Ashley, Modeling Legal Argument. Reasoning with Cases and Hypotheticals, MIT Press, Cambridge 1990.
- 6 Bench-Capon et al., A history of AI and Law in 50 papers: 25 years of the international conference on AI and Law, Artificial Intelligence and Law Vol. 20, 2012, Issue 3, pp. 215–319.
- 7 Brüninghaus/Ashley, Predicting Outcomes of Case-Based Arguments, Proceedings of the Ninth International Conference on Artificial Intelligence and Law, ACM, pp. 233–242.
- 8 Waismann, Verifiability, Proceedings of the Aristotelian Society, Supplementary Volumes, Vol. 19, Analysis and Metaphysics, 1945, pp. 119–150.
- 9 Endicott, Vagueness in Law, Oxford University Press, Oxford 2001.
- 10 Bench-Capon/Sartor, A model of legal reasoning with cases incorporating theories and values, Artificial Intelligence Vol. 150, 2003, no. 1–2, pp. 97–143.
- 11 A good recent example from Poland, fit for application in legal aid systems: http://www.inpris.pl/przedsiewziecia/infografiki-i-wzory-dla-osob-niepelnosprawnych/ (last accessed on 31 January 2017). It should be stressed that the presence of any legal information in IT-enhanced legal aid systems, provided that it is unequivocal and accurate, can serve as a factor enhancing access to justice.
- 12 Araszkiewicz/Casanovas, On Legal Validity, in: Bex/Villata (eds.), Legal Knowledge and Information Systems – JURIX 2016: The Twenty-Ninth Annual Conference, IOS Press, Amsterdam 2016, pp. 125–130.
- 13 Grabowski, Juristic Concept of the Validity of Statutory Law, Springer-Verlag, Berlin Heidelberg 2013.
- 14 Yoshino, The systematization of law in terms of validity, Proceedings of the 13th International Conference on Artificial Intelligence and Law, ACM, New York 2011, pp. 121–125.
- 15 Bench-Capon, What Makes a System a Legal Expert?, in: Schafer (ed.), Legal Knowledge and Information Systems – JURIX 2012: The Twenty-Fifth Annual Conference, IOS Press, Amsterdam 2012, pp. 11–20.
- 16 Araszkiewicz/Łopatkiewicz/Zienkiewicz/Zurek, Framing a Knowledge Base for a Legal Expert System Dealing with Indeterminate Concepts, The Scientific World Journal 2015 Article ID 985425, 14 pages, doi:10.1155/2015/98542.
- 17 Araszkiewicz/Łopatkiewicz/Zienkiewicz/Zurek, Representation of an actual divorce dispute in the parenting plan support system, Proceedings of the 15th International Conference on Artificial Intelligence and Law, ACM, New York 2015, S. 166–170.
- 18 Aleven/Ashley, Doing Things with Factors, Proceedings of the Fifth International Conference on Artificial Intelligence and Law, ACM, New York 1995, pp. 31–41.
- 19 Vasconcelos et al., Distributed norm management for multi-agent systems, Expert Systems with Applications, Volume 39, 2012, Issue 5, pp. 5990–5999; Antoniou/Dimaresis/Governatori, A modal and deontic defeasible reasoning system for modelling policies and multi-agent systems, Expert Systems with Applications, Volume 36, 2009, Issue 2, Part 2, pp. 4125–4134.
- 20 Zurek/Mokkas/Ksiezopolski, On the Modelling of Context-Aware Security for Mobile Devices, Mobile Information Systems, vol. 2016, Article ID 8743504, 16 pages, 2016. doi:10.1155/2016/8743504.