Elamur Research

Artificial Intelligence (AI) in Legal Data Mining

Paper · 2024 · Aniket Deroy, Naksatra Kumar Bailung, Kripabandhu Ghosh et al.

Summary

A court judgment may contain the history of a dispute, the parties’ arguments, the authorities the court considered, and the reasons for its decision. To find any of these, a reader may first have to work through a long document whose structure is difficult to see. This review examines how artificial intelligence can help people find, organize, and read information in collections of legal records. Its examples cover the structure of a collection, the function of individual sentences, and the selection of passages for a shorter account of a case.

The authors begin with legal ontologies, which define the concepts and relationships a computer system can use to represent a legal domain. The word comes from philosophy, where it concerns what exists. In computing, an ontology provides a shared vocabulary for describing entities and specifying how they are related. A practical example uses Indian intellectual property disputes to illustrate how a knowledge graph can support recommendations of related cases. The chapter reports AUC scores of 0.620 for a graph based on citations and 0.556 for one based on case similarity. It also reports a drop of almost 0.04 when the study omitted features representing selected legal concepts.

The review then addresses rhetorical role classification, which labels sentences according to what they do in a judgment. A sentence may state the issue to be decided, report a party’s argument, or give the court’s ruling. Earlier approaches use features designed by people, while neural approaches can learn features from sentences in context. Some methods also take account of how roles tend to follow one another. Those roles can guide text summarization by helping a system preserve the outcome, the questions before the court, and relevant supporting material. On Indian Supreme Court data, the chapter reports that DELSUMM, a method that builds legal guidelines into sentence selection, performed better than most systems in its comparison on whole-document and role-level ROUGE measures of overlap with reference summaries.

The evidence comes from studies the authors review. The case graph, sentence classifiers, and summarizers address different tasks, and the chapter reports no common evaluation that would establish how they perform together. What connects them is the need for legal expertise. Someone must decide which concepts belong in a legal vocabulary, what a sentence label means, and which parts of a judgment a useful shorter account should preserve. The authors expect lawyers and computer specialists to share responsibility for future ontologies and call for greater attention to accuracy, fairness, and whether users can understand how a system reached its conclusions.

Deep dive: Artificial Intelligence (AI) in Legal Data Mining

Artificial Intelligence (AI) in Legal Data Mining reviews how legal ontologies, sentence labels, and automated summaries make court records easier to use. · about 33 minutes to read

The problem and its context

From electronic evidence to collections of judgments

The chapter traces the practical origins of Legal AI to collaborations between computing researchers and legal professionals. As records became available across jurisdictions, having access to the files still left people with the work of finding relevant material and understanding it. The authors describe electronic discovery in the United States as an early setting in which this difficulty became visible. Information kept on computers, servers, or in email may have to be produced as evidence in litigation. The task gave researchers a concrete problem in information retrieval. They had to help identify material relevant to a legal request within a collection of electronically stored information.

The chapter identifies 2009 as a point at which the Sedona Conference publicly encouraged cooperation with researchers and industry on problems including electronic discovery. It describes the Legal Track at the Text Retrieval Conference as a way to study those problems under scenarios designed to resemble legal practice. It also describes related efforts in India through the Forum for Information Retrieval Evaluation. The tasks there covered finding earlier cases, retrieving statutes, and producing shorter accounts of legal documents. A common task and a collection to work on gave researchers a way to study a specific need, such as finding earlier decisions relevant to a case.

The chapter’s choices follow from the different things a reader may want to do with a collection. A practitioner looking for related cases needs a way to compare records, perhaps by following a citation or tracing a shared legal concept. A reader who has located the right judgment may want to jump directly to what the court decided. Someone reading several judgments may need a compact account of each before deciding which to read in full. An organized collection, labeled passages, and a short extract serve these purposes at different scales. Retrieving the appropriate document still leaves the work of understanding it, and condensing a judgment presupposes a decision about which parts deserve to survive.

The authors describe earlier legal knowledge bases as systems in which legal experts manually expressed rules for particular uses. A rule written for one use can be valuable within that setting. The work of defining a vocabulary becomes more apparent when the same collection must support search, exchange with other systems, and inference. For instance, a system searching by meaning must distinguish a word’s senses. A system exchanging data must also let another system interpret what a relationship in its records means. Both depend on choices about the concepts the system represents.

The chapter gives examples of specialized work that addresses different parts of this problem. LEGIS concerns criminal cases. JurWordnet brings a WordNet-style organization to legal documents. The Law Article Ontology addresses intellectual property and licensing for digital content. DALOS concerns consumer protection. Each chooses a subject area within which the vocabulary can be made specific enough to describe the material. The authors observe a preference in the literature for single-domain ontologies. They also discuss core ontologies, which identify concepts that recur across a field and can provide a starting point for more specialized work.

The discussion illustrates why the choice between general and specialized concepts matters. Time, location, and causation can describe situations in many fields. A legal system also needs concepts such as rights, obligations, and responsibility. A resource made for a particular licensing question needs more detail about the actions that a license permits or prohibits. Each level answers a different question about a record. The time of an event places it in a sequence. An obligation characterizes what someone is expected to do. A permission in a particular license specifies the use at issue. A resource becomes useful for a particular query when it contains distinctions at the level the query requires.

Reading a judgment by function

Rhetorical role labeling starts from a familiar practice. A legal reader can distinguish the court’s account of what happened from the lawyers’ competing interpretations and the court’s own answer. The authors explain that experts traditionally made these distinctions by hand. Automated classifiers need a way to acquire the same distinctions. The supervised approaches in the review start with examples that people have already labeled, so expert judgment enters at the point where the task and its training data are defined.

The labels vary with the intended use. The chapter describes earlier work that divided United States Supreme Court documents into broad sections covering the introduction, context, judicial analysis, and conclusion. Its discussion of Indian judgments describes a more detailed inventory that can separate an earlier court’s ruling from the current court’s and distinguish statutes from precedents. A set of broad segments can help a reader navigate quickly. A finer set of sentence labels makes it possible to retrieve material of a specific kind or to inspect whether a short extract preserves it. A classifier trained for the finer task has to learn distinctions that a broad segmentation scheme can leave within a single section.

According to the chapter, an Indian Supreme Court case averages 4,500 words, and some of the landmark rulings it describes run to hundreds of pages. It recounts reports of judges finding other courts’ judgments difficult to understand. The authors see a role for concise versions both in direct reading and in searching collections. They also describe manual preparation of summaries for legal retrieval systems as costly and labor-intensive. Guidelines for legal summarization had already been developed for cases in the United Kingdom and the United States, and the chapter notes similar efforts for Indian decisions.

A generic extraction method can select sentences because they are central to the vocabulary of a document. Legal guidelines can instead assign importance according to a sentence’s function. The practical difference is easy to see in a case that recounts long arguments and gives a short decision. Frequency can make the arguments prominent, while the reader who needs the disposition still depends on the shorter passage. The chapter’s interest in rhetorical roles grows out of this problem. Once the functions of passages are distinguished, a summary can treat a often discussed fact, a disputed question, and the ruling as different kinds of evidence for inclusion.

The method, step by step

The chapter reviews several methods, each with its own inputs and outputs. Ontology construction begins with the vocabulary a collection needs. In ontology engineering, concepts represent the kinds of things that matter in a domain, and relationships specify how those things can be connected. The chapter illustrates the importance of context with the word house. A property, a legislative body, and a gambling establishment may all be described by that word. A collection organized by concept can distinguish these senses when it indexes a document or interprets a query. Manual linguistic annotation can help when an application needs people to make such distinctions explicitly.

A vocabulary also gives systems a way to exchange information. If different documents identify people, organizations, and rules in different forms, an ontology can define what those categories and their relationships mean when the information is brought together. The chapter notes that some ontologies reuse parts of resources made for other purposes. Alongside search and exchange, the authors discuss inference. The intended benefit is that a computer can use formally expressed relationships to draw conclusions supported by the representation. The relevant concepts and relationships must first be present in a form the computer can use.

The Web Ontology Language, or OWL, is a formal way of expressing this kind of knowledge representation. The chapter introduces it in the context of the Semantic Web and uses an example connecting work roles to the tools and situations associated with them. The example makes clear why a list of names alone would be insufficient. The classes identify what kinds of things can appear, and the relationships give a system a way to connect a role to its context. A legal vocabulary can serve an analogous purpose for records about cases, their participants, or the rules that govern the situations they describe.

Choosing what belongs in a core ontology

FOLaw, the Functional Ontology for Law, organizes knowledge by the part it plays in legal reasoning. Normative knowledge expresses how people or situations are supposed to conform to a rule. Meta-legal knowledge addresses which norms are valid and how conflicts between norms can be resolved. World knowledge connects legal reasoning to events and conditions in the world. The categories distinguish knowing what is required, knowing which requirement has authority, and knowing what happened in a particular situation.

Other categories describe how a legal system connects an event to a person or a response. Responsibility knowledge addresses whether an agent can be held accountable for a breach and how far that responsibility extends. Reactive knowledge describes the response appropriate to a situation, which can include a sanction or a benefit. Creative knowledge covers ways legislation can bring a new legal entity into existence. By describing dependencies among its categories, FOLaw provides a possible structure for reasoning and a way to organize more specialized ontologies. Its value for the review lies partly in making the different kinds of information needed for a legal conclusion visible.

LRI-Core builds on FOLaw with a broader set of categories. Its physical world distinguishes objects from processes that change or connect them. One way to describe a process is by the formal kind of change involved, such as a transfer. Another way is by what happens to the objects involved, such as a change of position or substance. Its mental world includes representations and attitudes such as beliefs and desires. The ontology also has room for abstract notions such as collections and sequences. These categories provide resources for describing the circumstances in which legal concepts are used.

Roles and occurrences pose a different problem. The same role may be occupied by different people, so a system needs to distinguish an agent from the role the agent plays. Complementary roles can also carry reciprocal expectations, as in the chapter’s example of teacher and student. An occurrence, meanwhile, concerns a particular situation. The ontology can specify the classes that characterize the entities involved, while a separate representation can record instances of those classes. This distinction is useful when reading the case graph described later. A vocabulary defines what counts as a case or a citation relation, and the graph can contain the particular records and links found in a collection.

The European e-court project illustrates how this design was used. The chapter describes formalization with Protégé using the description-logic form of OWL, as well as an RDF(S) representation for LRI-Core. The Resource Description Framework represents information by linking entities through named relationships, a form useful for exchanging graph data. The review puts LRI-Core at around 100 concepts and describes its use in building more specialized resources, including an ontology for Dutch criminal law. This application shows how general categories can support knowledge acquisition for a field that still needs a more extensive vocabulary of its own.

LegalRuleML addresses the representation of rules. In the chapter’s account, different groups had used different languages for formal rules, which made it difficult to exchange their work. LegalRuleML extends RuleML with features needed in legal settings and uses XML and RDF as the basis for a vendor-neutral format. A rule can associate a condition with a consequence, a situation with an action, or a premise with something that follows from it. Organizing these relationships explicitly allows compliance requirements expressed in ordinary language to be represented in a form that computer systems can process.

A central design choice is to let people preserve context alongside the rule. A provision may support several formal rules, and a formal rule may draw on several provisions. Annotations can express different interpretations, and provenance can identify who supplied the relevant description. The formal record can carry information about when a rule was asserted, when it applies, and the conditions of its enforcement. It can also refer to classes from an external ontology. These features allow a reader or another system to trace a formal representation back to its legal source and consider the circumstances under which the rule was intended to apply.

The chapter describes document access in healthcare as an application. The same record can yield different views depending on the role and authorizations of the person requesting it. Rules expressed in a structured form can identify which parts of the record that person may see. Another example concerns open datasets. Represented license terms can be checked for compatibility when someone wants to combine datasets for a commercial use. These cases illustrate the job of the rule language. It carries the conditions that an application needs to check, together with the information needed to identify the applicable rule.

The authors also discuss MIREL as an effort to express information from legal documents in a form useful for reasoning, compliance checks, and queries about norms. They mention Akoma Ntoso as a related XML format for judicial, legislative, and parliamentary documents, with an application to extracting knowledge from United Nations General Assembly resolutions. The examples range from structuring documents to making the implications of particular rules available for processing. The chapter’s treatment places both within the broader challenge of giving legal materials enough explicit structure to support a specific task.

The case recommendation study gives the chapter’s most concrete example of building a structured resource from documents. Dhani and colleagues started with Indian intellectual property cases drawn from repositories including Indian Kanoon and Casemine. The study used IBM’s Data Discovery and Stanza to extract information from the material. The case documents could then be represented as nodes, the entities that a graph connects. This created a place to record both attributes of a case and links between one case and another.

Building and evaluating an Indian intellectual property case graph

The steps in order.

Building and evaluating an Indian intellectual property case graphStep 1: Collect Indian intellectual property case documents1. Collect Indian intellectual property case documentsStep 2: Extract information from the case texts2. Extract information from the case textsStep 3: Identify topics and annotate selected legal concepts3. Identify topics and annotate selected legal conceptsStep 4: Represent cases as nodes with features4. Represent cases as nodes with featuresStep 5: Connect cases through citations or similarity5. Connect cases through citations or similarityStep 6: Predict labels using a relational graph network6. Predict labels using a relational graph networkStep 7: Compare graph settings by AUC7. Compare graph settings by AUC

The topic and feature procedure combined automatic extraction with manual decisions. The researchers used Latent Dirichlet Allocation, a form of topic modeling that identifies recurring patterns of words associated with themes in a collection. They also ranked words using TF-IDF, which gives weight to how prominent a term is within a document relative to how widely it occurs across documents. These procedures helped bring candidate concepts to attention. Decisions about which concepts should serve as features involved manual selection and categorization.

The study calls these features lawpoints. They record selected ideas relevant to intellectual property, with patent and copyright among the chapter’s examples. The account also mentions terms such as section, court, and plaintiff among features drawn from the documents. The chapter describes using the selected concepts to annotate relevant legal material. A lawpoint gives the case representation a feature that people have chosen to reflect a recognizable legal idea. This makes the information available to the graph method in addition to the links between documents.

The study uses both citation and case similarity as possible relations. A citation captures a reference from one case to another. Similarity identifies a relationship by comparing cases, with the case documents as nodes and the selected lawpoints available as features. A relational graph convolutional network can use the information in connected nodes and distinguish kinds of links as it builds representations. The chapter describes using it to predict document labels. This prediction is part of the study’s approach to recommending similar cases. The review gives the inputs, the feature design, and the reported scores, while leaving the exact construction of the targets and the training split unspecified.

Teaching a classifier what a sentence does

For rhetorical roles, the input is a sequence of sentences from a judgment. The desired output assigns a function to each sentence. People with legal expertise first annotate documents so the supervised classifier has examples of those functions. The chapter’s detailed scheme for Indian judgments contains 8 roles. Facts describe the events or circumstances behind a dispute, including material whose status may still be contested. Arguments convey the positions put forward by the parties. Issues identify the legal questions the court must answer. The ratio of the decision gives the court’s reasons for its result.

The other roles distinguish sources of legal authority and the outcomes of proceedings. A ruling by a lower court records an earlier determination in the same litigation, while a ruling by the present court records the disposition reached in the judgment being read. Precedents are earlier cases that provide guidance. Statutes cover legislative and related provisions that bear on the decision. A system trained on these labels must learn who is making a statement and why it appears where it does. A sentence reporting that a lower court dismissed a claim may use language much like a sentence doing the work of dismissal in the present judgment. The surrounding text can help resolve the difference.

Conditional random fields, abbreviated CRFs, are one approach the review describes. Here the observed sequence consists of the sentences and their features, and the sequence to be predicted consists of their rhetorical labels. A CRF represents conditional probabilities for whole label sequences given the observations. This allows features of the sentences and relationships among labels to inform the same decision. For instance, if the surrounding sentences describe the history of an appeal, the classifier can use that context when assessing whether a sentence reports an earlier ruling.

The hierarchical bidirectional long short-term memory classifier obtains its features differently. Long short-term memory, or LSTM, is a recurrent neural architecture designed to process sequences and carry information across their elements. A bidirectional LSTM processes the input in both reading directions so that earlier and later context can contribute to the learned representation. The chapter describes using Sent2vec to turn each sentence into an embedding, a numerical representation of its text. The hierarchical bidirectional classifier takes the sentence embeddings as input and extracts contextual features for predicting the rhetorical labels.

A combined approach passes those features to a CRF. The neural classifier supplies information learned from the sentences in context, and the CRF uses it to score possible label sequences. The division of work is important. Looking forward and backward in the text helps encode what a sentence means within the judgment. Scoring label sequences helps decide how a proposed label fits next to the assignments for neighboring sentences. The chapter motivates this combination by observing that certain rhetorical functions tend to appear in succession. It describes annotated judgments as the prerequisite for learning, while giving no complete training specification for the systems it reviews.

Selecting sentences for a shorter account

Most of the summarization work in the chapter is extractive. The system chooses sentences from a judgment to form a shorter text. Approaches differ in how they decide that a sentence is worth including and in whether they learn to do so from legal examples. A general-purpose method can be trained on legal documents, and a method designed around legal guidance can operate without such training. The authors use both distinctions to organize the literature. One concerns the source of the decision procedure, and the other concerns how much of that procedure is learned from data.

LexRank is a general-purpose method that operates without supervised legal training. It treats sentences as nodes in a graph and represents their connections using cosine similarity, which measures how closely their numerical representations point in the same direction. It then uses eigenvector centrality to assess importance. A sentence’s importance depends on the strength of its connections and on the importance of the sentences to which it is connected. The aim is to select sentences central to the document’s content. The Luhn method, as presented in the chapter, also draws on word importance and gives extra weight to material appearing early. This approach makes document position part of the selection process without first assigning legal functions to the sentences.

The review also describes methods based on latent structure or reconstruction. The latent semantic analysis approach builds a matrix of terms and documents and uses singular value decomposition to obtain a lower-dimensional representation. That representation is used to identify patterns that help determine sentence salience. A graph reduction method reduces a large graph to find vertices that represent essential material. Document summarization based on data reconstruction filters common words and uses stemming to reduce word forms before creating weighted term-frequency representations of sentences. It then looks for sentences that can represent the original text with low reconstruction error. These methods embody different views of what an extract should retain, including central connections, prominent topics, and the ability to account for the original material.

SummaRunner and BERTSUM illustrate general-purpose architectures in the supervised category. The review describes SummaRunner variants that combine recurrent processing with attention, pooling, or convolution. These operations provide different ways to represent and select sentences from a sequence. BERTSUM learns sentence representations using markers for sentence boundaries. The chapter describes its training on a news collection called CNN and DailyNews, and discusses fine-tuning as a way to adapt such an architecture to legal material. The distinction between the data used to learn a general summarization procedure and the data used to adapt it matters when interpreting a claim about performance on judgments.

Domain-specific approaches can express legal preferences directly. LetSum first distinguishes introductory material, context, judicial analysis, and the conclusion. It assigns fixed shares to those parts when assembling the paper. Case Summarizer preprocesses the document, uses term weights to help rank sentences, and incorporates domain information. Its interface is part of the tool described by the chapter, with devices such as heat maps to help a reader inspect the result. The K-mixture approach likewise selects important sentences for an extract, with a later stage deciding how much of the ranked material to include. It supplies an example of a legal summarizer that the review describes without relying on rhetorical labels.

The chapter also includes Min-Min roughness, a clustering technique that uses rough set theory to handle uncertainty when grouping categorical material. Its treatment focuses on that clustering idea and gives less detail about how it yields a final extract. Chinese Gist represents another path. The system was applied to Chinese Supreme Court cases and studied methods including gradient boosting, multilayer perceptrons, and LSTM, using linguistic, legal, and statistical information. Gradient boosting builds a predictor through successive additions that address earlier errors. A multilayer perceptron learns through successive transformations of its inputs. In the review’s classification, Chinese Gist combines supervision on legal data with features chosen for the legal task.

DELSUMM provides the clearest example of rhetorical roles feeding into summarization. It uses integer linear programming, or ILP, to express a sentence-selection problem. In an extractive setting, the decisions concern which candidate sentences to include. The objective assigns value to a selection, and the optimization seeks a set that scores well under the applicable constraints. The chapter describes DELSUMM as relying on the informativeness of sentences and the presence of content words, with different treatment for different parts of the judgment. It presents the method as domain-specific and unsupervised. Its legal priorities are supplied through guidelines.

The paper expresses one guideline as an ordering. In structural form, the order is as follows.

Final ruling > Issue > Facts > {Statute, Precedent, Ratio} > Argument

The > sign means the role on its left has higher priority for inclusion than the role or group on its right. The braces group Statute, Precedent, and Ratio at the same stated level, and the commas separate the roles in that group. Final ruling means the present court’s decision, Issue the question it must resolve, and Facts the circumstances of the dispute. Statute denotes relevant provisions, Precedent prior decisions used as authority, Ratio the court’s reasons, and Argument the position put forward by a party. The ordering expresses expert guidance. The chapter does not give the ILP objective in mathematical form or specify numerical weights for these levels.

The guidelines also address which sentences to take from each role. They favor including the final ruling and the issues in full because these passages occupy relatively little of the document and matter greatly to the paper. Facts near the beginning receive attention. Citation to a legal provision helps identify an informative sentence in the statute category, and reference to an earlier case plays a similar part for precedents. For the ratio, the guidelines favor sentences nearer the end. Sentence position is thus interpreted in relation to function. An early sentence can be especially useful as a fact, and a late sentence can be valuable as a statement of the court’s reasoning.

The data requirements of the role classifier and DELSUMM enter at different points. The classifier learns sentence labels from judgments annotated by people. DELSUMM applies expert guidance to select sentences by role and content. Calling that selection procedure unsupervised describes how the summarizer is constructed. Using the procedure still requires a way to obtain the information about sentence functions on which the guidance depends. The chapter explains the connection between the tasks without specifying a single system in which one particular classifier supplies all of DELSUMM’s labels.

Experiments and results

Indian intellectual property case graphs

The numerical comparison the chapter reports most fully concerns the graph study on Indian intellectual property cases. The source documents came from collections including Indian Kanoon and Casemine. The experiment compared representations built around citation and case similarity. The review also describes a version that omits lawpoints. These are comparisons within the study’s legal graph approach. The chapter supplies no result for a separate, conventional retrieval baseline evaluated on the same collection.

The reported metric is AUC, or area under a curve. Its precise interpretation depends on the curve being measured and on how positives and negatives were defined. The chapter reports AUC in connection with evaluating the graph after describing label prediction. It does not identify the curve variant, the split, or the procedure used to form positive and negative examples. The comparison can therefore be read at the level the authors give it, as AUC for each graph setting on the study’s Indian intellectual property case data.

Citation and similarity graphs on Indian intellectual property cases by AUC

The citation graph has the higher reported AUC.

Citation and similarity graphs on Indian intellectual property cases by AUCCase similarity graph: 0.556Case similarity graph0.556Citation graph (this paper): 0.620Citation graph (this paper)0.620
The numbers
System or settingAUC
Case similarity graph0.556
Citation graph (this paper)0.620

The citation graph scores 0.620 AUC, and the similarity graph scores 0.556 AUC on the Indian intellectual property case task. The result establishes the ordering of the tested settings on that metric. A citation has a concrete meaning as a reference made in one case to another. The similarity graph depends on a method for inferring relatedness from the documents. The observed ranking leaves open which aspect of those representations accounts for the higher AUC. The review also does not specify whether a person judged the resulting case recommendations useful in legal work.

The chapter describes a graph illustration with 14 main features and 5 relationships shown. These numbers characterize the representation as presented, with the relationship count referring to what appears in the illustration. They give no count of cases in training or testing. The discussion of topics and term weights similarly helps explain where the features came from, while giving no separate score for the quality of the extracted topics. The other numeric result is a decrease of nearly 0.04 when lawpoints are omitted. The paper does not supply a final AUC for the reduced setting, so the decrease is best read as the magnitude the chapter reports.

Recognizing rhetorical roles

For role classification, the chapter describes research on judgments annotated for rhetorical function. Its account of Indian documents gives the detailed label inventory and illustrates the distinctions with sentences drawn from legal writing. Its account of prior work on United States Supreme Court documents uses a broader segmentation scheme. Those tasks have different output categories, and the chapter provides neither a shared evaluation dataset nor a numeric comparison between them. The labeled examples explain what a classifier is intended to predict.

The approaches discussed include a conditional random field using observed features, a hierarchical bidirectional classifier using sentence embeddings, and a combination with CRF decoding. The chapter reports the general observation that learned features have performed better than hand-designed features in identifying legal rhetorical roles. It also describes a qualitative advantage of considering context in both directions. The review does not give test-set sizes, a named metric with scores for these alternatives, or errors broken down by label. The evidence supports describing the direction of the reported comparison and the motivation for each architecture. Its magnitude and variation across roles remain open.

A role-level breakdown would matter because the labels have different consequences for downstream reading and extraction. Confusing a party’s submission with a finding of the court changes the source of a claim. Confusing the ruling under appeal with the ruling made in the current document can change the apparent outcome. The chapter’s examples help explain why those distinctions belong in the task. They do not establish which errors each classifier tends to make or whether improved classification translates into a better summary.

The principal result for legal summarization concerns DELSUMM on Indian Supreme Court data. The chapter reports that it performed better than most of the systems compared on ROUGE for the whole document and on ROUGE calculated by rhetorical role. ROUGE measures overlap with a reference summary, giving a way to compare the content selected by a method with the content selected for that reference. A whole-document score evaluates the paper as a whole. A role-level comparison can reveal how closely selected sentences match the reference within areas such as facts, issues, or judicial reasoning. The chapter gives no individual ROUGE values, named split, or complete list of paired baseline scores for this result.

The review describes generic methods based on centrality, frequency, latent structure, and learned sentence selection as alternatives to methods that explicitly represent legal priorities. It does not provide a results table that maps each named alternative to the DELSUMM experiment. A claim that DELSUMM beat a particular named system on a particular ROUGE variant would require that mapping. The stated result is that DELSUMM did better than most comparators at both levels of evaluation. The role-level part is particularly relevant to the authors’ argument, since the method is designed to devote attention to legally important functions that a whole-document score might treat together.

LetSum supplies exact figures for how its output is assembled. Introduction accounts for 10%, context for 25%, judicial analysis for 60%, and conclusion for 5% of the paper according to the recipe described in the chapter. These are shares assigned to the sections by the method, rather than measurements of summary quality on an evaluation split. They show that the structure of a judgment can guide how much material is selected. DELSUMM expresses a different form of guidance by assigning priority to roles and using position and content to choose sentences within them. The review gives no common evaluation on which to compare these approaches numerically.

For Case Summarizer, the authors mention ROUGE and human evaluation, without reporting the scores or the human assessment protocol. They describe encouraging results for Chinese Gist on Chinese Supreme Court cases without giving metrics or values. They also describe a distilled BERT-based summarizer as similar in performance to the larger version while requiring less space and time, without supplying figures for any of those measurements. These statements summarize findings discussed in the chapter. The graph comparison remains the example for which the review provides numerical scores on a named task.

What the ablations show

The chapter presents no new ablation experiment of its own and reports a feature-removal comparison from the case recommendation study. In that comparison, removing lawpoints reduced AUC by nearly 0.04 on the Indian intellectual property case task. This is the closest test in the review to asking what a specific part of an approach contributes. The lawpoints are selected legal concepts made available as features. Their removal tests the value of those features as a group within the graph approach discussed.

The result suggests that recording legally meaningful concepts helped the tested system on its prediction task. Several decisions went into that feature set. Automatic topic and term analysis helped identify candidates, and manual categorization helped determine what would be represented. The reported drop cannot assign credit separately to topic modeling, term weighting, or the choices people made when annotating the data. The chapter also gives no feature-by-feature results. Patent and copyright illustrate the kind of signal the system received, while the importance of either individual concept remains unmeasured.

The citation and similarity scores address a related question about how the graph is built. Comparing alternate relations tests a change to the representation of connections between cases. The lawpoint comparison tests the effect of deleting an input feature set. The chapter supplies no full comparison crossing the choice of relation with the presence or absence of lawpoints. The reported ordering of the graphs therefore gives no estimate of whether lawpoints matter equally in both graph settings. It also leaves open how the two kinds of relation would work together.

Looking at roles and position in summaries

The authors describe analyses that compare algorithmic extracts with expert-written summaries. One aspect is the distribution of rhetorical roles. A comparison can ask how much of an extract concerns facts, the issues, the court’s reasoning, and the result, and whether those proportions resemble the expert choices. A complementary analysis examines where selected sentences appeared in the original document. This can reveal whether a method draws chiefly on early material or uses later passages that contain a different kind of information. The chapter treats both analyses as ways to diagnose the composition of a summary.

Role-level ROUGE adds a further distinction. An extract can devote a similar share to facts as an expert summary and still select different facts. Comparing the selected words within the factual passages addresses content overlap, while the role distribution addresses the amount of space given to them. Position tells a reader where the selected material came from. Read together, these analyses can distinguish underrepresentation of a role from a disagreement about what to include within it. The chapter discusses that diagnostic value and reports DELSUMM’s relative performance at different levels of aggregation. It supplies no measurements independently isolating the effects of role priority, sentence position, and content words.

The rhetorical classification discussion offers a similar distinction between architectural motivation and ablation evidence. An embedding-based classifier can learn features from the words and context, and a conditional random field can account for the tendencies of adjacent labels. The chapter explains why both might help. It gives no matched numerical comparison that measures what is gained when the same classifier adds the CRF, and no role-level evidence that would show where the gain appears. The architecture explains the intended mechanism. The reported superiority of learned features describes a general finding from the reviewed literature, with the contribution of the individual components still undetermined.

The ontology discussion offers a qualitative comparison through the e-court example. LRI-Core helped organize the development of an ontology for Dutch criminal law, yet its general concepts gave limited direct coverage of legal terminology. That observation concerns the scope of the resource in use. A core ontology helps identify the kinds of things a domain resource may need to describe. The application still has to supply concepts specific to criminal law. This example gives the reader a concrete way to understand the difference between reusing a foundation and having enough vocabulary to answer a particular legal question.

Taken within their respective tasks, the analyses show different things about the role of structure. The feature-removal result measures a loss on a reported metric when selected concepts are taken away. The summary analyses examine which parts of a document are retained and whether those choices resemble expert choices. The e-court account describes a benefit in knowledge acquisition alongside limited legal coverage of a general vocabulary. The chapter draws a connection among these approaches through their use of domain distinctions, while the evidence in each case concerns a different outcome.

Limitations

Limits identified by the authors

The authors describe merging concepts as a difficult part of building legal ontologies. A legal term can have a specific meaning that depends on its context. Combining resources can obscure such distinctions if their terms are treated as equivalent too readily. They also stress that the reasoning expressed in an ontology can be incomplete. Legal reasoning involves relating statutes, precedents, and the circumstances of an individual case, and the authors identify a gap between a formal representation of such material and the scope of reasoning carried out by people. A representation can be useful for the questions it was designed to handle while leaving other questions outside its coverage.

Keeping an ontology current raises a related difficulty. The chapter identifies time, politics, and culture as factors that affect law and describes the cost of incorporating such context. LegalRuleML can represent information about when a rule applies, but the availability of that feature leaves the practical task of maintaining accurate legal information. The authors likewise emphasize the quality of source documents, particularly older records that may contain errors or omissions. An ontology or classifier can only work with the material available to it, and a formally structured record can still inherit a defect from the document it describes.

The review also discusses the reliance on legal expertise in role classification. Hand-designed features require people who understand the domain, and supervised alternatives require reliable labels that embody expert distinctions. Learned features bring a different difficulty. Even when a classifier predicts roles well, its reasons can be hard to inspect. The authors see interpretability as especially important in legal applications, where language can be ambiguous and the relationship between a rule and a particular case can require nuanced analysis. They call attention to the need for stakeholders to assess whether the outputs are reliable.

For summarization, the authors acknowledge the difficulty of reproducing the decisions a legal expert makes about what to retain. They emphasize both role coverage and the original position of selected sentences. A shorter account can pay attention to the appropriate roles while still making poor choices within them. The chapter also raises concerns about inaccuracies and bias in legal automation more broadly. Its closing discussion calls for systems whose decisions can be examined and that treat stakeholders fairly. Those aims are wider than the particular prediction and overlap metrics reported for the examples.

Limits visible in the evidence

As a review, the chapter draws on results produced for different tasks and collections. Its graph comparison measures AUC on Indian intellectual property material. Its headline summarization comparison concerns Indian Supreme Court judgments and ROUGE. Its role-labeling account describes architectures and qualitative trends. There is no shared test set or outcome across the tasks. As a consequence, the chapter cannot establish a single advantage for legal AI as a whole or show that representing an ontology, predicting roles, and extracting key sentences would improve a particular user’s work when combined.

The graph result is also narrow within its own task. The review leaves the dataset size, split, label construction, and AUC setup unspecified. It gives no uncertainty estimates for the scores or the feature-removal result. The described decline of nearly 0.04 supports the reported contribution of lawpoints under the study conditions. Its precision and stability across different partitions or legal collections are unknown from the chapter. Because lawpoints were chosen for intellectual property, applying the approach elsewhere raises another question about how suitable concepts would be identified and annotated in a new legal area.

A similar qualification applies to claims of transfer in summarization. The authors discuss adapting methods across jurisdictions by understanding the selection principles and adjusting the data. They describe LetSum as usable beyond its original United States setting and make related claims for other methods. They provide no matched experiment in which the same system is evaluated across those jurisdictions using a common protocol. The chapter thus describes possible adaptations and gives examples of methods developed or applied in different legal systems. It leaves the costs of adaptation and the accuracy of the resulting extracts unresolved.

The rhetorical role schemes themselves explain part of that uncertainty. A system that distinguishes a lower court’s ruling from the present court’s ruling learns a task defined around that distinction. A scheme using broad document sections asks for different information. Changing the scheme changes both the expected predictions and the data people must annotate. The chapter provides no test of how well knowledge learned under one scheme carries over to another. Similarly, it gives no end-to-end comparison measuring how mistakes in automatically assigned roles affect extracts made by a method that uses role priorities.

ROUGE supports a narrower claim than legal adequacy. Overlap with a reference can reward selecting the same terms or sentences as an expert. The legal usefulness of an extract can depend on preserving who asserted a proposition, whether a finding concerns the current appeal, and which qualifications limit the result. The review discusses human assessment for Case Summarizer, but supplies no common human evaluation that would show how frequently the reviewed methods preserve those distinctions, or how readers use the outputs in practice. Its reported overlap results leave those questions open.

Finally, the review’s concern with fairness and explainability is a statement about what the field must examine. The empirical examples give no comparison of outcomes across stakeholder groups, and the chapter reports no evaluation of whether users can verify a system’s reasons. The mechanisms it describes still vary in what a reader could inspect. A formal rule may link to the provisions that support it. An extract can be traced to sentences in the source document. The basis for a learned rhetorical label can be harder to identify. These differences explain why the authors emphasize transparency, but they do not establish the adequacy of the explanations any of the systems gives.

What came after

The subsequent research record for this chapter is unspecified. The graph study, rhetorical role classifiers, and summarization methods discussed above are earlier work that the authors use to develop their account of the field. The chapter’s closing discussion sets out questions for future research, with no reported follow-up evaluations of those proposals.

One proposal is to combine summarizers by looking for sentences that several methods select. Agreement would provide a signal of importance. It would also call for the kinds of analysis the authors discuss, since several methods could favor the same parts of a judgment. Examining the roles and positions of the selected sentences would help establish what such an ensemble preserves. For ontologies, the authors anticipate continued collaboration between legal and computing specialists as laws change and new records become available. They also point to predictive analytics for justice delivery as the subject of the following chapter. That move extends the discussion from organizing and condensing legal records to the consequences of using computational outputs in legal decisions.

Cite

Cite as Aniket Deroy, Naksatra Kumar Bailung, Kripabandhu Ghosh, Saptarshi Ghosh and Abhijnan Chakraborty. 2024. Artificial Intelligence (AI) in Legal Data Mining. arXiv:2405.14707.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2405.14707 · arXiv 2405.14707

@misc{deroy2024artificial,
  title = {{Artificial Intelligence (AI) in Legal Data Mining}},
  author = {Aniket Deroy, Naksatra Kumar Bailung, Kripabandhu Ghosh, Saptarshi Ghosh and Abhijnan Chakraborty},
  year = {2024},
  doi = {10.48550/arxiv.2405.14707},
  eprint = {2405.14707},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2405.14707}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/deroy-2024-artificial-intelligence-ai-legal-data/