MARRO: Multi-headed Attention for Rhetorical Role Labeling in Legal Documents
Paper · 2025 · Purbid Bambroo, Subinay Adhikary, Paheli Bhattacharya et al.
Summary
Finding what a court decided can mean reading past a long account of the dispute, the parties’ submissions, and decisions made by other courts. Each of those passages contributes something different to the judgment. Rhetorical role labeling is a task in discourse analysis that makes those functions explicit by assigning a category to each sentence. MARRO studies how to do this automatically when legal terms vary across jurisdictions, useful context can be many sentences away, and expert annotations are scarce.
MARRO first encodes each sentence on its own. It then uses multi-headed attention to bring information from other sentences into that representation. A recurrent network processes the resulting sequence in both directions, and a conditional random field scores possible sequences of labels, taking into account which roles tend to follow each other. In the strongest variants, training also asks whether adjacent sentences change rhetorical role. The authors derive the answers to this auxiliary task from the same annotations used to teach the main task.
The authors extend an Indian Supreme Court collection with 100 judgments and 21,349 newly labeled sentences. The combined Indian dataset has 150 judgments and 30,729 sentences. The previously released UK Supreme Court dataset has 50 judgments and 18,155 sentences. In five-fold cross-validation, MTL-MARRO reaches a macro F1 of 0.724 on the Indian dataset. Macro F1 gives each role equal weight. On the UK dataset, MTL-TF-MARRO reaches 0.617, ahead of the earlier LEGAL-BERT-BiLSTM-CRF at 0.600. The comparison with the previous best passes the authors’ significance threshold of 0.05 in India, with a p-value of 0.0013. The UK comparison falls short of that threshold, with a p-value of 0.0891.
The strongest Indian variant uses sent2vec representations learned from Indian Supreme Court documents. The UK result favors LEGAL-BERT-SMALL. The authors suggest that familiarity with a jurisdiction’s legal language helps explain the difference. Some problems persist across both collections. Predictions often treat a party’s argument as the court’s reasoning, and a reference to precedent can be hard to distinguish from the reasoning it supports. Legal annotators also disagree about that latter distinction. The study measures how well MARRO assigns the benchmark’s labels. Its proposed uses in search, summarization, and judgment prediction depend on further evaluation.
Deep dive: MARRO: Multi-headed Attention for Rhetorical Role Labeling in Legal Documents
MARRO uses attention across sentences and learns where their roles change to label Supreme Court judgments from India and the UK. · about 38 minutes to read
The problem and its context
What a sentence contributes to a judgment
A judgment provides both a record of what brought the parties to court and an account of how the court disposed of the case. Its account can include facts, submissions, decisions made earlier in the proceedings, and the legal authorities that inform the current decision. A reader looking for the court’s rationale has to know which parts belong to that rationale. Finding occurrences of a particular term can help narrow the search, but the same term can appear in the facts, in an argument about those facts, and in the court’s answer to that argument. The role tells the reader how the sentence fits into the judgment.
Who is responsible for a statement can matter as much as the subject of the statement. A passage can report an interpretation of the law advanced by a litigant. Elsewhere, the judges can deal with the same interpretation in explaining their decision. An earlier ruling and the current ruling can likewise use similar language while recording decisions at different stages of the dispute. These distinctions motivate sentence-level labeling. A reader can follow a thread that is specific to the task at hand, such as what the lower court decided or how the Supreme Court dealt with a particular submission.
The authors place their work in the context of common-law reasoning, where earlier decisions are important to the interpretation of a case. In a long judgment, references to those decisions can be spread across the discussion. A passage may present a principle through an earlier case and then use it to reason about the facts before the court. The distinction between citing a source and applying its reasoning can be visible across several sentences. It can also be hard to draw at a particular sentence boundary, especially if the sentence does both jobs.
The motivation is practical. A search system could surface sentences that serve the purpose of the query. A summary could draw from the facts, the reasoning, and the decision rather than relying exclusively on prominence or repetition in the original text. Work on judgment prediction could use role labels to select relevant passages for a separate predictor. In each case the immediate contribution of labeling is to describe the internal organization of a document, a problem that sits at the intersection of information retrieval, text summarization, and legal AI.
Why wording, position, and training data all matter
Legal writing poses a vocabulary problem even before the system accounts for document structure. Expressions particular to a legal subject may be difficult to interpret from general-purpose training, and the terminology of legal documents can vary by jurisdiction. The authors also note that legal expertise is needed to devise features by hand. A term helpful for locating a role in one area of law may carry less information in another. Learned sentence representations offer a way to use patterns from many documents, with their usefulness depending partly on which documents went into their preparation.
Position provides a different kind of evidence. A transition in the text may clarify that a sentence is switching from the parties’ submissions to the court’s assessment. A decision appearing near the end of a judgment can be easier to recognize when other documents follow the same convention. The authors describe different conventions in the Indian and UK material. A judgment in the Indian collection typically reaches the decision of the present court at the end, whereas UK judges can give their views separately within the same document. The sequence of roles is therefore part of what a system learns about a collection.
Useful context can also be hard to fit into the input. The paper describes 512 tokens as a typical input limit for the transformer encoders under discussion. A token is a unit of text processed by an encoder. Self-attention over tokens compares positions with one another, so the amount of pairwise work grows quadratically with sequence length. Architectures based on a sliding window extend the length the authors discuss to 4096 tokens. Even then, judgments that extend across hundreds of sentences motivate a different unit for the document-wide computation. The longer-input systems discussed in this connection are Longformer and Lawformer.
A supervised system also needs examples that teach it which functions to distinguish. The paper describes an earlier Indian corpus of 50 annotated documents with 7 roles. It discusses a larger collection of 354 documents that used 13 labels, with NONE among them. Such a change affects what a classifier is being asked to learn. A document can receive usable annotations under both schemes even when the divisions and names of the categories differ. MARRO extends the earlier collection so the additional judgments can be used under its existing role definitions. The larger collection appears in Corpus for Automatic Structuring of Legal Documents.
From linguistic features to learned sentence sequences
The authors trace the use of rhetorical roles in summarization through work on scientific articles. In that setting, a sentence’s place in the argument of a paper can help determine whether it belongs in a summary. Legal work adapted this general concern with sentence function. The paper describes an early study of House of Lords judgments that organized roles under the broad headings Background, Case, and Own. Linguistic markup supported an examination of how features of verb groups correlated with argumentative function. The aim was to find observable clues to a sentence’s contribution. Summarizing Scientific Articles and Summarising Legal Texts illustrate those stages of the research.
Other early work organized legal text around themes such as the introduction, context, analysis, and conclusion. A summarizer could then choose relevant material from the different themes. The paper also describes work that used clustering to abstract criminal decisions. These approaches engage with document structure through the selection of text. Once different types of material are identified, the summary can represent several contributions to the judgment.
Conditional random fields brought a way to learn patterns in the sequence of labels. A conditional random field, or CRF, scores possible labels in light of the observed input and the labels assigned at neighboring positions. In earlier legal work, manually chosen text features supplied evidence for those decisions. That approach could combine cues from a sentence with information about plausible transitions through a judgment. The paper cites a system using this approach to divide legal text into seven rhetorical categories. Automatic Identification of Rhetorical Roles is the earlier work in this line.
The immediate predecessors of MARRO learn more of the input representation. One uses a bidirectional long short-term memory network, or BiLSTM, followed by a CRF. The BiLSTM is a recurrent component that reads the sentence sequence in both directions. Its output supplies evidence for the categories at each sentence, while the CRF learns how adjacent categories fit together. Earlier work paired this design with sent2vec representations prepared from Indian Supreme Court material. Another comparator takes its sentence representations from encoders in the BERT family, including a version trained on legal writing. These choices give the sequence tagger different starting points for the same kind of prediction. BERT and LEGAL-BERT are the encoder designs discussed by the authors.
The paper builds on a further precedent in which a rhetorical tagger learned a related task alongside role assignment. That task was label shift prediction, meaning identification of positions where the category switches between adjoining sentences. The earlier approach used sentence representations prepared by separate fine-tuning, the process of updating a pretrained encoder for a particular objective. MARRO retains the boundary task and changes how representations for it are learned. The paper also points to work that supplied instructions directly to GPT-3.5-turbo for this task, an antecedent of its own prompting comparisons. Fine-tuning and Harnessing GPT-3.5-turbo for Rhetorical Role Prediction concern these different ways of adapting general sentence-processing capabilities to a legal task.
MARRO’s architectural question concerns where the contextual work takes place. A strong sentence encoder can represent specialized wording, and a recurrent tagger can use an ordered sequence. The authors add a stage that allows sentence representations to exchange information by attention ahead of that recurrent processing. The proposal therefore keeps the original prediction unit, the sentence, and expands what can inform its representation before a role is assigned. Joint training further changes the evidence from which those representations are learned.
The method, step by step
Defining the labels
The input to MARRO is a judgment represented as a sequence of sentences. The output has a corresponding sequence, with one category assigned at each position. This is multiclass prediction at the sentence level. The roles describe why material is present in the document, although their definitions ask the reader to recognize different properties of the material.
FAC identifies facts relevant to the case. ARG is used for submissions made by the parties. The distinction asks whether a sentence belongs to the account of the case or to a party’s attempt to establish a position. A submission can concern facts, so the presence of factual detail by itself supplies incomplete evidence. RATIO covers the present court’s reasoning, including its application of law to the points raised in the case. In task terms, distinguishing ARG from RATIO requires tracking whose reasoning the text is presenting.
STA identifies statutory material invoked by the court, such as legislation or rules. PRE covers the use of earlier cases for purposes such as justification or analogy. Both can occur while the court is explaining its reasoning. The category definitions thus ask for a decision about a sentence’s predominant role in context. A legal reference is evidence for a role, and its treatment in the surrounding passage matters to that decision.
RLC covers a lower court’s disposition of the dispute and the reasoning behind it. The category can apply to material about a trial court, a high court, or a tribunal. RPC denotes the resolution by the court that is issuing the document being labeled. Identifying which court is acting can distinguish superficially similar statements. A report that a claim or appeal was dismissed can belong to the history of the case or to the current disposition, depending on its source in the judgment.
The authors apply this inventory to every sentence. In particular, they retain short sentences. A brief statement of the disposition can contain fewer words than the surrounding explanations and still carry the decision that a reader is looking for. Keeping these sentences also means that the classifier must handle cases where the immediate wording provides relatively little information about the speaker or the court involved.
How MARRO learns and assigns sentence roles
The steps in order.
Preparing the reference annotations
The Indian expansion preserves the annotations’ source, procedure, and category scheme from the earlier work, according to the authors. The earlier portion comprises 50 judgments and 9,380 labeled sentences. The new portion adds 100 judgments with 21,349 sentences. Compatibility with the earlier collection gives the study a single Indian dataset covering 150 judgments and 30,729 sentences. The principal Indian experiments use that combined dataset.
The authors sampled 30 documents apiece from Criminal, Land & Property, Constitutional, Labour & Industrial, and Intellectual Property Rights cases. The category balance is a property of the document selection. The distribution of functions inside those documents is a different matter. The authors describe facts and judicial reasoning as accounting for much of the material. Some roles may occupy a much smaller part of a judgment, even when they are important to a reader.
For the comparison in the UK, the authors use an existing dataset drawn from the Supreme Court’s official website. It contains 50 judgments with 18,155 sentences. The source described for this collection did not organize the documents into corresponding subject categories. The paper treats the two collections separately and reports that their documents do not overlap.
Three people who recently earned their LLB degrees at Rajiv Gandhi School of Intellectual Property Law are described in the annotation account. Each annotator is asked to assign one role to each sentence. The authors use the majority decision to establish the reference category. In the experiments, a correct prediction means agreement with that reference annotation. The reference label is called the gold standard, a term for the answers used to score a system.
The authors also compare the annotators’ choices before reducing them to a majority label. For a given document, they take a pair of annotators and designate one person’s labels as the key and the other’s as the response. They repeat this across the annotator pairs. This inter-annotator agreement calculation describes how closely readers applied the common scheme to the text. The authors favor a calculation based on pairwise precision, recall, and F-score, drawing on a legal annotation study and discussing kappa in connection with Inter-Coder Agreement for Computational Linguistics.
Precision = |Lᵢ ∩ Lⱼ| / |Lⱼ|
Here Lᵢ stands for the key annotations made by annotator Aᵢ, and Lⱼ for the response annotations made by annotator Aⱼ. The indices i and j identify the annotators. The intersection sign ∩ indicates matching annotations, understood as decisions on the sentences in the document. The vertical bars count the annotations in the enclosed collection. The slash means division, and the equality sign defines precision as the matching count divided by the response count.
Recall = |Lᵢ ∩ Lⱼ| / |Lᵢ|
In the recall equation, Lᵢ and Lⱼ again denote the key and response decisions for the document. The intersection ∩ supplies the matches, the bars give the counts, and the slash divides the number of matches by the size of the key. The equality sign defines the resulting fraction as recall. This way of writing the calculation treats matches as corresponding annotation decisions. Merely checking whether both annotators used a label name somewhere in the document would answer a different question.
F-score = (2 × Precision × Recall) / (Precision + Recall)
F-score is the harmonic mean of the precision and recall just defined. The 2 is the constant in its numerator, and × multiplies it by Precision and Recall. The + forms their sum in the denominator. Parentheses group the expressions to be divided, the slash denotes division, and the equality sign gives the value of the score. The authors aggregate the document-level measurements over documents and annotator pairs.
The resulting agreement F-score is 0.921 in the Indian dataset and 0.915 in the UK dataset. These values describe overall consistency under the paper’s procedure. The authors identify PRE and RATIO as sources of disagreement in both collections. This matters when interpreting the classification task. A single target label makes it possible to score predictions, while the annotations themselves give evidence that the underlying judgment about a function can be difficult.
Giving each sentence a vector
MARRO represents a sentence initially as an embedding, a vector of numbers used as input to the later layers. At this stage the computation takes the sentence’s own text. The same judgment then supplies the ordered collection of vectors on which sentence-level attention operates. This order of computation lets the sentence encoder specialize in representing wording and leaves the exchange of information between sentences to later layers.
MARRObase uses sent2vec. For the Indian path, the authors use sent2vec representations trained on 53,000 Indian Supreme Court documents. They describe a separate UK sent2vec source trained on 700 UK Supreme Court documents. In both cases the authors say the pretraining documents are separate from the judgments used for the rhetorical classification experiments. The examples on which the representations were prepared supply legal language, while the annotated judgments supply examples of sentence function.
The sent2vec input has dimension 200 in the reported configurations. Dimension is the number of features in each sentence vector. These inputs are fixed during task training, so the vector for a particular sentence can be calculated ahead of time. As training proceeds, the tagger can learn to interpret the vector differently and the attention layer can change how it combines vectors. Those updates occur after the fixed input representation has been read.
TF-MARRO uses a transformer encoder for the initial sentence representation. It passes sentences to the encoder individually and derives a sentence vector from the final hidden layer. The paper investigates BERT-family sources and selects LEGAL-BERT-SMALL for the principal configuration. The corresponding embedding dimension is 512. The authors keep the last 2 layers trainable. Task feedback can therefore change the sentence encoding during training, which also makes its computation part of the task training workload.
The two paths supply the same kind of object to the higher layers, an ordered sequence of sentence vectors. Their differences matter beyond the length of those vectors. The sent2vec representations carry information learned from court documents in the relevant jurisdiction and remain fixed. The transformer path brings its own pretraining and admits partial adjustment through task feedback. Changing from one path to the other changes what the next stage can use and how that information can evolve.
Connecting sentences before decoding labels
The attention stage receives the vectors belonging to a single judgment. For each sentence, attention gives different weights to information from other positions and combines that information into an updated representation. A sentence about a disputed issue may gain useful context from material that sets out a party’s position or introduces the court’s response. The paper’s architecture makes those positions available as sentence vectors. It moves the unit of comparison up from the words of the judgment to the sentences represented by those vectors.
Multi-headed attention learns several such combinations in parallel. Each head works with a portion of the feature dimensions and provides another way to relate positions in the sequence. A head can help distinguish sentences along some learned feature of the document, although the paper does not assign legal meanings to individual heads. The authors trace the general idea of attention to Neural Machine Translation by Jointly Learning to Align and Translate and the multi-head design to Attention Is All You Need. The Transformer and attention connection here concerns what MARRO does between sentences as well as how TF-MARRO represents the text of each sentence.
In the 200-dimensional sent2vec path the authors use 5 heads. Their stated allocation is:
200 / 5 = 40
Here 200 is the vector dimension, 5 the number of heads, and 40 the feature dimension allotted to a head. The slash divides the first quantity by the second and the equality sign states the resulting allocation.
The 512-dimensional transformer path uses 8 heads. Its reported allocation is:
512 / 8 = 64
Here 512 denotes the vector dimension, 8 the heads in this configuration, and 64 the features per head. The slash again denotes division and the equality sign gives the result. The authors report preferring a head dimension from 32 to 64 and choose 2 attention encoder blocks for the system. In their discussion of the configuration, they characterize typical attention stacks using the following notation:
n ∈ {6, 12}
The symbol n stands for the number of encoder blocks in that description. The sign ∈ means “belongs to,” and the braces enclose the alternatives 6 and 12, separated by the comma. The reported MARRO setting of 2 blocks is the authors’ choice for the tradeoff among performance, size, and training speed.
Attention prepares the vectors for the BiLSTM. The recurrent computation in the forward direction incorporates information from earlier positions. The backward computation accesses later positions. Together they produce position-specific evidence from the ordered judgment. Thus a statement can benefit from a later sentence that clarifies the court’s response as well as the earlier sentence that raised the issue. This stage is applied to an available document and its sentence sequence as a whole.
The CRF is the final stage in the basic path. It evaluates a candidate sequence with attention to the evidence for the role at each position and to learned scores for neighboring label transitions. Consider a sentence whose local evidence leaves FAC and RATIO close. The scores for placing either label between the surrounding predictions can affect the final assignment. That is a distinct use of context from changing the sentence vector. Attention provides representations informed by other sentences, the BiLSTM reads those representations in order, and the CRF coordinates the labels.
Teaching the system to detect a change of role
The two multitask variants learn an additional target derived from the judgment’s annotations. For each adjacent pair, the auxiliary prediction is whether the later sentence has the same role as the earlier one. The authors motivate this with prior work reporting that labels are unchanged for 88% of successive sentence pairs in its analysis. A system can benefit from learning continuity because many passages cover the same kind of material over several sentences. Learning to recognize departures from continuity is also important when a short argument or citation interrupts such a passage.
The authors express the condition for a shift as:
Yᵢ ≠ Yᵢ₊₁
Yᵢ denotes the role for sentence Sᵢ at position i. Yᵢ₊₁ is the role for the following sentence Sᵢ₊₁. The subscript i+1 advances by one position, and ≠ means that the labels differ. When the condition holds, the target for that pair indicates a boundary. Otherwise the target indicates continuity. The task is binary because those are its available outcomes.
The boundary target is less specific than a role label. A switch can be detected without choosing which of the categories holds on either side. Conversely, producing the correct categories for a span gives the locations of all the shifts inside it. Training on both questions makes the location of a change an explicit objective while retaining category identification as the main task. The authors can create those extra targets from the existing reference labels because the answer follows directly from the ordered annotations.
The auxiliary branch starts with a BERT-family encoder, with LEGAL-BERT-SMALL given as an example. The paper writes the pair representation as follows, using Unicode subscripts where possible.
E₍bin₎ = Sᵢ′ + Sᵢ₊₁′
E₍bin₎ names the initial vector for the binary task. Sᵢ′ is the encoded representation of sentence Sᵢ and Sᵢ₊₁′ is the encoded representation of its successor. The prime marks the encoded sentence, i gives the position, and the subscript i+1 gives the next position. The equality sign defines the vector. The plus sign is the authors’ notation for bringing the vectors together. The prose establishes that the pair is used jointly, while the exact interpretation of this first plus sign is less explicit than the description of the later concatenation.
The pair representation goes through two fully connected layers. A fully connected layer learns a transformation in which each output can use information from every input feature. These transformations adapt the pair representation to the boundary task before the branch receives information from the rhetorical tagger. The authors write that second combination as:
E₍rb₎ = E₍bin′₎ + E₍rhet₎
E₍rb₎ is the resulting representation supplied to the boundary branch’s sequence tagger. E₍bin′₎ is the binary-task vector after the fully connected transformations, with the prime distinguishing it from the initial pair vector. E₍rhet₎ denotes the incoming embedding from the rhetorical role path. The equals sign defines the combined representation. Here the prose identifies the operation represented by + as concatenation, which joins the components of the two vectors into a single vector.
The auxiliary BiLSTM-CRF uses this combined representation to predict continuity or a change at the relevant positions. Sharing also occurs in the description of the main path. The authors say that the outputs of the two BiLSTMs are concatenated before the CRF for the rhetorical roles. The rhetorical training objective can therefore influence representations used for boundary prediction. This coupling is central to the proposal. It allows the auxiliary encoder to adapt while task training is under way, removing the separate preparation step in which a fine-tuned encoder supplied static auxiliary embeddings in the earlier design.
The authors describe the rhetorical path as the part responsible for prediction once training is complete. Boundary judgments are auxiliary outputs and need not be presented to the reader. The architecture description and its caption leave some detail about internal inference dependencies open, particularly how to reconcile the fusion of recurrent outputs with the statement that the rhetorical module operates alone at prediction time. The distinction the paper draws clearly is between supplying supervision during training and delivering a sequence of rhetorical labels as the final output.
Which choices define the family
MARRObase combines fixed sent2vec inputs with attention, the BiLSTM, and CRF decoding. MTL-MARRO keeps that main-task input source and adds joint training on boundary prediction. Its use of fixed sent2vec vectors for the main input is compatible with updating representations inside the auxiliary branch.
TF-MARRO uses the transformer sentence encoder and otherwise follows the same main path. MTL-TF-MARRO adds boundary training to that arrangement. The labels assigned to sentences remain the same for all variants. The family exposes two practical choices, the source of the main sentence vectors and the presence of the auxiliary task. It also brings along differences in attention settings matched to the embedding dimensions.
The paper gives a main training schedule of 80 epochs, with an epoch being a pass through the training data. It reports a learning rate of 0.1 for the Indian dataset and 0.001 for the UK dataset. The learning rate governs the scale of parameter updates. In discussing attention encoders, the paper also mentions 0.0001 and an epoch setting of 50. It leaves the precise relation of those encoder remarks to the main schedule unspecified. The authors say they intend to release the dataset and implementations upon acceptance.
Experiments and results
The two evaluations
The authors run 5-fold cross-validation separately on the Indian and UK datasets. In cross-validation, each fold supplies a held-out portion for evaluation while the remaining portions supply training material. The main result averages scores across all 5 folds. Each judgment is processed as its own input, so the sentence context accessed at that stage comes from positions within the judgment. The separation of the two national collections lets the paper report how a configuration performs within each collection.
The Indian evaluation uses the expanded collection, including the newly annotated judgments and its earlier component. The paper reports an average of 205 sentences per Indian judgment. For the UK collection, it reports an average of 363 sentences per judgment and describes documents with more than 500 sentences. Those are lengths in sentences. They clarify why the representation scheme matters in this evaluation. The attention layer can operate on one vector per sentence while individual sentence encodings are obtained separately.
The authors use macro-averaged F1 for their principal comparison. F1 combines precision and recall. For a role, precision asks how many sentences assigned that role agree with the reference, and recall asks how much of the reference material with that role the system recovers. Macro averaging gives the roles equal weight in the score. A large number of correct assignments to Facts therefore cannot compensate simply through its volume for consistently poor performance on a smaller category. The paper also presents precision and recall and analyzes results by role.
The aggregate and per-role views address different questions. Macro F1 provides a common measure for ranking systems under this scheme. Looking at individual roles shows which distinctions account for a stronger or weaker result. For instance, an aggregate can rise when a system recovers more judicial reasoning even if it still misses many party arguments. And even a role-specific F1 can leave open where the mistakes fall in a document. The paper therefore also inspects selected sentences and changes between neighboring roles.
The comparators
Hierarchical BiLSTM-CRF represents the earlier approach that uses legal sent2vec vectors and recurrent sequence labeling. It is an important comparator for the Indian data because it uses the same general kind of sentence representation as MARRObase. LEGAL-BERT-BiLSTM-CRF represents the earlier use of legal transformer embeddings in a recurrent tagger with CRF decoding. The paper identifies it as the previous best comparator for the UK test. Together these comparisons ask how the proposed architecture fares against predecessors with related sources of input information.
The sciBERT-HSLN comparator combines contextual embeddings with recurrent processing, attention pooling, and a CRF. Its inclusion is relevant to the authors’ claim about attention. Attention can be used for pooling information as part of sentence representation or for updating sentence representations through interactions across a document. MARRO places multi-headed attention explicitly between the sentence vectors ahead of the recurrent tagger.
The MTL (BERT-SC) comparator already learns label shifts as an auxiliary task. Earlier work using that design annotated a separate Indian collection of 150 documents under a 13-role scheme. The benchmark comparison in MARRO concerns the authors’ evaluation of the competing approach, with its own architecture and method of supplying auxiliary representations. Scores from the earlier corpus under its original scheme would answer a different benchmark question. For the Indian significance test the authors designate MTL (BERT-SC) as the previous best.
Gemini-pro supplies a prompting comparison. The zero-shot prompt describes the labels and asks for a prediction without demonstrations. In the few-shot condition, the authors add a sentence and its label as an example for each category, drawn randomly from training material. The examples show how the category descriptions are applied, while the system’s parameters are left as they were. The prompt settings are temperature 0, top-k 1, and top-p 0.1. Temperature and the two selection settings govern the generation of an answer from possible continuations. The comparison illustrates few-shot learning with the demonstration procedure and settings used in the paper.
The paper leaves earlier hand-engineered systems outside the main experimental comparisons. Its baseline choices concentrate on approaches already able to use learned representations, structured decoding, auxiliary supervision, or prompting. That focus gives a reader several points of reference for MARRO’s combination of components. It also means the study does not supply a new measurement of the gap between hand-engineered and learned approaches.
Indian Supreme Court results
The leading Indian system is MTL-MARRO, with macro F1 of 0.724 averaged over the cross-validation folds. Its main branch uses the Indian legal sent2vec inputs. MARRObase, which also uses those representations, places next according to the results discussion. That ranking puts the same broad representation choice at the top with and without auxiliary supervision. The figure below compares the headline result with the few-shot result, whose aggregate F1 is reported as 0.432 on the Indian dataset.
Indian Supreme Court judgments, macro F1 by system
The jointly trained MARRO variant scores higher than the few-shot system.
The numbers
| System or setting | macro F1 |
|---|---|
| Gemini-pro few-shot | 0.432 |
| MTL-MARRO (this paper) | 0.724 |
The more demanding statistical comparison is with MTL (BERT-SC). The authors report a two-tailed t-test on F1 scores, using 0.05 as the significance threshold. For the Indian dataset they obtain a p-value of 0.0013. Under that criterion the result supports the authors’ claim that MTL-MARRO improves on the comparator. This comparison concerns the measured F1 scores of the whole systems. It leaves the contributions of their various implementation differences to the analyses of the architecture.
The authors also report improvement over the previous best for 4 out of 7 roles on the Indian dataset. ARG remains difficult for the leading approaches. Another qualification concerns PRE, for which MTL (BERT-SC) scores above the proposed system in the Indian comparison. A new best aggregate result can therefore coexist with a retained advantage for an earlier approach on a particular distinction. This is relevant to any reading task that would use the labels mainly to locate earlier decisions.
The authors relate the sent2vec ranking to the legal material used in pretraining. The Indian vectors were prepared from the same court’s type of writing. LEGAL-BERT draws on material primarily from the EU, UK, and US, according to the paper’s discussion. The comparison gives concrete evidence about the starting representations in this experiment. Vocabulary and legal usage are the authors’ proposed explanation for the result, alongside possible differences arising from the way each representation is built and trained.
UK Supreme Court results
MTL-TF-MARRO gives the best observed UK result, with cross-validated macro F1 of 0.617. This variant obtains its main sentence representations from LEGAL-BERT-SMALL. The previous best, LEGAL-BERT-BiLSTM-CRF, scores 0.600. Gemini-pro in the few-shot condition reaches 0.281 on the same collection. The figure shows the proximity of the two leading scores relative to the prompted result.
UK Supreme Court judgments, macro F1 by system
MTL-TF-MARRO leads the observed ranking, with the earlier legal encoder and sequence tagger close behind.
The numbers
| System or setting | macro F1 |
|---|---|
| Gemini-pro few-shot | 0.281 |
| LEGAL-BERT-BiLSTM-CRF | 0.600 |
| MTL-TF-MARRO (this paper) | 0.617 |
The corresponding two-tailed test against LEGAL-BERT-BiLSTM-CRF produces a p-value of 0.0891. This is above the stated 0.05 threshold. The UK result establishes the observed ordering of those scores, with insufficient evidence under the authors’ test for a statistically significant improvement. The paper’s headline claim of leading results on both collections should be read with this difference in statistical support in view.
At the category level, the paper reports improvement for 6 out of 7 UK roles, with a marginal decline for RLC. Many category scores can move in the same direction while the aggregate difference still falls short of the statistical criterion. These results answer separate questions about the spread of improvements across the inventory and the uncertainty in the overall comparison. The authors describe FAC and RATIO as comparatively strong UK predictions, and ARG as difficult.
The rhetorical functions related to rulings pose particular problems in the UK material. The authors report weaker performance on RLC and RPC there than in the Indian evaluation. Their explanation emphasizes that judges can issue separate opinions within a UK document. That makes the relationship between position and ruling less regular. The architecture supplies context from the judgment, and the evaluation shows that context remains difficult to use when the discourse pattern recurs within the same text.
For sentence embeddings, the UK results favor the transformer path. The paper links that pattern to the probable relevance of the vocabulary and legal usage encountered during LEGAL-BERT-SMALL pretraining. The authors acknowledge difficulty in establishing an explicit overlap with their own data. Their comparison shows that the preferred source changes between benchmarks, with an explanation based on the affinity of the training language still to be isolated.
Prompting and computational feasibility
Few-shot prompting performs slightly better than the zero-shot condition on both datasets, according to the paper. RPC and RLC are among the weaker roles in both prompting setups. That matters because the taxonomy distinguishes the ruling in the current document from a ruling in the history of the case. Demonstrations help show how to apply the taxonomy, but the reported prompting results leave much of that distinction unresolved. They describe the prompt and demonstration regime actually tested.
The MARRO runs are carried out on Google Colab using NVIDIA Tesla K80 GPUs for training. The authors report 2.5 to 3 hours for all folds per dataset. They also report average document labeling times between 1.1 and 1.2 seconds using a T4 GPU on Colab. These measurements refer to different operations and hardware. The training figures concern preparing a tagger through the cross-validation runs, while the prediction figure concerns generating labels for a document after training.
The authors identify sentence encoding as a workload that differs by variant. Fixed sent2vec representations can be prepared before training, whereas the legal transformer must produce representations as training proceeds because it is being updated. The authors suggest larger batches and parallel sentence processing to reduce this cost. The independence of the initial sentence computations makes that possible. The later attention computation still needs to assemble the sentence representations belonging to the judgment.
The auxiliary path also incurs encoding and fine-tuning costs during joint training. The paper presents this as a deliberate tradeoff. Preparing those representations in advance could reduce work during training of the tagger. The authors say that updating the auxiliary encoder as training proceeds gave better results in their experiments, and they judged the reported training time manageable. Their timing evidence supplies a feasibility result for the evaluated documents and configuration, with the relative costs of specific variants left largely qualitative.
What the ablations show
Changing the sentence representation
The paper uses comparisons among members of the MARRO family, comparisons with earlier architectures, and examples of errors. It gives qualitative observations for several internal choices. Its most directly interpretable contrasts concern the complete sent2vec and transformer paths, and the addition of the auxiliary boundary task to those paths.
The reversal between the datasets is the clearest comparison of representation choices. On the Indian collection, the family member with the best score is the jointly trained system whose main branch uses sent2vec. On the UK collection, the best score instead comes from the jointly trained system that uses LEGAL-BERT-SMALL. A reader can see that the relative usefulness of the initial representation depends on the evaluation collection even when the higher-level design has the same purpose.
This contrast includes changes to more than the pretraining text. A fixed sent2vec representation and a partly trainable legal transformer also differ in how they form a vector, the size of that vector, and how the attention layer divides the features among its heads. The experiment evaluates those packages of choices. The training corpus is a plausible contributor, particularly given the reversal by jurisdiction, but the result gives no independent measurement of how much of the reversal is due to terminology.
The paper also describes a comparison of transformer sources, including BERT, LEGAL-BERT, and LEGAL-BERT-SMALL. The authors report that the smaller legal encoder reduced training time without a decline in task performance in their trials. They explain the resource advantage through the cost of obtaining vectors and updating parameters. Since the results discussion supplies no complete set of timings and scores for these alternatives, the observation explains the selection of LEGAL-BERT-SMALL more clearly than it quantifies its efficiency.
Adding explicit boundary supervision
Within the family, MARRObase and MTL-MARRO share the main sent2vec path, while TF-MARRO and MTL-TF-MARRO share the main transformer path. These pairings make it possible to examine the value of the boundary-training package conditional on the sentence representation. The leading variant on each collection uses that package. On the Indian collection, the ranking of MTL-MARRO followed by MARRObase is especially informative because the two leading configurations start from the same representation source.
The change includes the auxiliary encoder and its fully connected transformations, shared information between the branches, and a separate training objective. A favorable ranking supports this particular joint design. It does not give a measured contribution for any one operation in the branch. Similarly, the comparisons with hierarchical BiLSTM-CRF and with MTL (BERT-SC) put attention into context, but they involve systems that differ in several respects. The paper does not provide a complete numerical comparison in which each of attention, feature sharing, and auxiliary updating is independently removed.
The authors say they investigated placement of the attention layers and settled on passing their output to the main BiLSTM. They also describe selecting a small stack of attention blocks as a compromise with runtime and size. These observations describe how the authors arrived at the design. Separate scores for every tested placement and depth would be necessary to quantify how sensitive the result is to either choice. The case for the paper’s chosen placement comes primarily from the full configurations evaluated in the benchmark.
The paper reports a preference for updating the auxiliary sentence encoder during joint training over preparing that encoder beforehand. This relates directly to what information is allowed to change. With static auxiliary embeddings, the upstream representation has already been settled by the time the role prediction objective enters training. Under MARRO’s approach, the shared computation can incorporate feedback from that objective. The authors’ qualitative comparison favors the latter arrangement. Scores from otherwise matched runs would be needed to estimate its contribution separately from the other changes to the boundary branch.
Recognizing a transition on time
The sentence examples investigate a behavior the aggregate metrics cannot locate. In the Indian discussion, the authors describe a change from FAC to ARG for which MTL-MARRO identifies the new role more promptly. A comparator can carry the preceding facts label into the start of the argument and begin assigning ARG only at later sentences. The resulting label sequence is partly correct but places the boundary too late. For a reader extracting arguments, the misplaced boundary can exclude the opening of the submission.
This example is consistent with the auxiliary task’s purpose. If a sequence contains sustained runs of the same role, a decoder has reason to continue the existing pattern. Another training signal can make the change itself salient even when the new label has relatively little adjacent support. The paper also reports that both leading systems in its UK examples have difficulty with arguments immediately following facts. The transition that illustrates a benefit on the Indian side remains a source of error under a different collection’s conditions.
The selected examples include both successful and unsuccessful MARRO predictions for the roles. They show how errors can occur within a passage or at its beginning. They cannot establish how frequently MARRO improves a boundary across all such passages. The paper gives no separate boundary F1 or aggregate measure of how far predicted shifts lie from annotated shifts. The quantitative evidence for joint training is thus the improvement in rhetorical labeling for the tested configurations, with the transition examples illustrating behavior consistent with that improvement.
Understanding the repeated confusions
ARG is often predicted as RATIO in both datasets. A party and a court may both develop chains of reasoning about the same legal issue. Wording that clearly sounds argumentative can therefore be compatible with either role. The distinction depends on tracking whose position is being developed. The authors also point out that argument sentences can appear amid material with other labels. An apparent continuation at the level of subject matter can conceal a change in function.
PRE is another frequent source of RATIO predictions. A court may reason through the application of an earlier case, so successive sentences can move between describing that case and using it to justify the decision. Some sentences offer evidence for both roles. The recurrence of this confusion among human annotators is important. It shows that the boundary between the categories calls for judgment even before any automated system attempts to learn it.
The Indian examples also show FAC and RATIO being confused in both directions by MARRO and the earlier system. A statement about what occurred can appear inside an explanation of how the law applies, and the role can turn on what the court is doing with that statement. A mention of factual material supplies only part of the evidence. The authors describe a similar source of mistakes in the UK collection, even though its winning configuration uses a different representation.
For RPC, the document structure gives different evidence across the collections. The authors report that the category is rarely misclassified in the Indian data, where the present court’s ruling occupies the end of the document. In the UK data, the authors often find RPC assigned RATIO. Separate judicial opinions can place decisions within a more involved sequence of analysis and conclusions. These observations identify the kind of positional regularity the tagger can learn and the conditions under which it is less dependable. The paper does not include a controlled test that varies sentence position while keeping the wording and other evidence fixed.
Limitations
Limits identified by the authors
The authors regard scarcity of expert-labeled legal text as a continuing constraint. Extending an existing Indian corpus makes more judgments usable under a shared scheme, but comparable coverage in other legal systems or under other sets of labels requires more annotation. Furthermore, a single category can be hard to assign even for a trained reader. The distinction between reasoning and precedent is an example where acquiring more labels and deciding how consistently the category applies are related problems.
The authors also identify dependence on the source of sentence embeddings. Their preferred UK and Indian configurations use different sources, and the conclusion calls for reducing that dependence. A system that succeeds when trained and evaluated within a national collection may draw on language and structural conventions specific to that collection. The study supplies separate measurements within the collections. Cross-jurisdiction transfer, where training on one supplies the basis for prediction on the other, is left open.
Explainability is a further limit the authors recognize. In legal work, an explanation can require reference to an authoritative source. Attention and sequence scores can contribute to a prediction without supplying such a reference. A tag of RATIO may guide a reader to the court’s reasoning. The authority of that reasoning and its application to another dispute require a different assessment. The paper’s discussion of legal explainability concerns that additional standard for reliability.
The conclusion also identifies automatic pseudonymization as outside the work and practitioner-facing implementation as future development. The experiments establish a way to label research collections and measure the results. They leave questions of handling identifying material, designing a usable interface, and evaluating professional use for a later stage.
Summarization and judgment prediction are likewise proposed downstream directions. The paper envisages gains in reading and preparation time when automated labeling is reliable and usable. Its measurements concern label agreement with a reference, computational time, and comparisons with other labeling approaches. The effect on summary quality, prediction of case outcomes, and time spent by legal practitioners remains unmeasured.
Limits of the collections and annotations
The legal population represented in the evaluation is narrow enough that the source of each collection matters. These are Supreme Court judgments. The Indian selection gives subjects an equal number of documents, and the UK selection follows the material available from the source without the same subject organization. Differences in score can reflect many properties of these samples, including writing conventions, case mix, and judgment length. The separate results are informative about the collections without identifying the causal contribution of each property.
The one-label rule makes references straightforward to compare at sentence level. It also gives an annotator a constrained choice when a sentence has several functions. A precedent can help constitute the reasoning, and a sentence with case details can be part of a party’s argument or part of the court’s own evaluation. The reported scores count disagreements with the selected reference, including disagreements close to a genuinely difficult category boundary. They therefore measure success at reproducing the corpus’s operational assignments.
The majority decision establishes a usable reference where annotators converge. The curation procedure leaves open how the authors handle a sentence for which all three selections differ. The aggregate agreement values also provide limited information about each difficult label or about differences among case types. The paper highlights PRE and RATIO, but the broad averages alone cannot show where the annotators agreed on the text’s function and where the final label settled an uncertain choice.
The agreement method is described as scoring documents for each pair and averaging. Its equations give the match, reference, and response counts. They leave some implementation detail implicit about how annotations are represented for counting and where label-specific aggregation may occur. This affects comparison with results obtained under other agreement procedures. The reported agreement values are best understood within the paper’s document-level pairwise setup.
Limits of the statistical and architectural comparisons
Cross-validation gives several evaluations within each corpus, and the authors identify a judgment as the input unit. The paper leaves the construction of the folds and the full process of choosing settings only partly specified. Details such as how subject composition was handled across Indian folds and how settings were selected relative to the held-out portions would help a reader gauge sensitivity to the split and reproduce the procedure.
The two-tailed tests supply a decision at the declared threshold for each earlier comparator. The reporting does not give a complete account of fold-level dispersion, confidence intervals, or how the observations entered the tests. The Indian result is evidence for the stated comparison. The higher observed UK score has weaker statistical support under the authors’ test. Per-role wins and selected examples do not change that particular test result, because they address different questions.
The sentence representation comparison also leaves jurisdictional familiarity as an interpretation. Its alternatives differ in pretraining data, computation, vector size, and scope for adaptation during task training. The paper does not directly measure terminology coverage. For the UK experiment the authors are uncertain about direct overlap with pretraining data. The observed performance therefore cannot settle questions about exact membership of documents in that pretraining corpus.
Several details of the architecture remain open for replication. The transformer description cites its final hidden layer as the source for a sentence representation without specifying precisely how the information at token positions is reduced to one vector. The first equation joining adjacent sentence embeddings uses + without an equally explicit definition of the operation. In the later equation the prose calls for concatenation. Addition and concatenation would yield different representations and impose different dimensional requirements, so this distinction matters to an implementation.
The paper describes simultaneous training and sharing between the main and auxiliary tasks without giving a full formula for their joint loss or its weighting. Its caption’s statement about using the main module by itself during prediction also leaves the role of auxiliary computation unclear given the described concatenation of recurrent outputs. These gaps affect exact reconstruction of inference and training. They do not alter the identity of the benchmark output, which is the rhetorical category of each sentence.
The reported times show that the system can process the judgments studied, including long documents from the UK collection. Encoding at sentence granularity reduces the sequence length at which document-level attention is applied. It also places a compression step before that attention, so the later computation can only use distinctions available in the sentence vectors. The paper does not measure which details of especially long sentences are preserved, or how the costs grow beyond the judgment lengths tested.
Finally, the prompting comparisons are specific to Gemini-pro, the stated decoding settings, hand-supplied label descriptions, and randomly chosen examples from training. Scores can depend on which examples are selected and how much judgment context is available when answering. The experiment gives a comparison with a stated prompting procedure. It leaves other demonstration selection strategies, prompts, and prompted ways of using the sentence sequence unevaluated.
What came after
Segmentation and Processing of German Court Decisions cites MARRO in work on processing and segmenting German court decisions from open legal data. The connection is at the level of document structure. MARRO assigns a function to each sentence of a judgment, and the later paper’s stated subject places segmentation in a different national collection. The citation establishes that MARRO figures in that work’s discussion. The particular segmentation criteria and whether the authors used MARRO’s attention or boundary objective are unspecified.
PROSLEX also cites MARRO and presents an expert-annotated dataset for legal statute prediction in the Indian judiciary. Its connection is the construction of supervised resources for Indian legal text. The prediction target changes from the function of a sentence to legal statutes. MARRO supplies an example of expert annotation for a related problem in legal document processing. The citation does not specify whether PROSLEX uses rhetorical labels as inputs, employs MARRO as a comparator, or adopts any part of its annotation procedure.
The later work thus places MARRO in discussions of court-document segmentation and expert-annotated legal benchmarks. Both connections concern problems the authors regarded as important. Specific architectural reuse and improvements from using MARRO in a downstream system remain undocumented in these citations.
Cite
Cite as Purbid Bambroo, Subinay Adhikary, Paheli Bhattacharya, Abhijnan Chakraborty, Saptarshi Ghosh and Kripabandhu Ghosh. 2025. MARRO: Multi-headed Attention for Rhetorical Role Labeling in Legal Documents. arXiv:2503.10659.
@misc{bambroo2025marro,
title = {{MARRO: Multi-headed Attention for Rhetorical Role Labeling in Legal Documents}},
author = {Purbid Bambroo, Subinay Adhikary, Paheli Bhattacharya, Abhijnan Chakraborty, Saptarshi Ghosh and Kripabandhu Ghosh},
year = {2025},
doi = {10.48550/arxiv.2503.10659},
eprint = {2503.10659},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2503.10659}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bambroo-2025-marro-multi-headed-attention-rhetorical/
References
- Micevska, M.B., Hazra, A.K.: The Problem Of Court Congestion: Evidence From Indian Lower Courts. Discussion Papers 18750, University of Bonn, Center for Development Research (ZEF) (2004). 10.22004/ag.econ.18750 . https://ideas.repec.org/p/ags/ubzefd/18750.html OpenAlex ↗ · Scholar ↗
- Katju, J.M.: Backlog of cases crippling judiciary (2019) OpenAlex ↗ · Scholar ↗
- Malik, V., Sanjay, R., Nigam, S.K., Ghosh, K., Guha, S.K., Bhattacharya, A., Modi, A.: ILDC for CJPE: Indian legal documents corpus for court judgment prediction and explanation. In: Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 4046–4062. Association for Computational Linguistics, Online (2021). 10.18653/v1/2021.acl-long.313 . https://aclanthology.org/2021.acl-long.313 our card
- Kalamkar, P., Tiwari, A., Agarwal, A., Karn, S., Gupta, S., Raghavan, V., Modi, A.: Corpus for automatic structuring of legal documents. CoRR abs/2201.13125 (2022) 2201.13125 (https://arxiv.org/abs/2201.13125) our card
- Lyu, Y., Wang, Z., Ren, Z., Ren, P., Chen, Z., Liu, X., Li, Y., Li, H., Song, H.: Improving legal judgment prediction through reinforced criminal element extraction. Information Processing & Management 59(1), 102780 (2022) OpenAlex ↗ · Scholar ↗
- Yousfi-Monod, M., Farzindar, A., Lapalme, G.: Supervised machine learning for summarizing legal documents. In: Canadian Conference on Artificial Intelligence, pp. 51–62 (2010). Springer OpenAlex ↗ · Scholar ↗
- Jain, D., Borah, M.D., Biswas, A.: Summarization of legal documents: Where are we now and the way forward. Computer Science Review 40, 100388 (2021) 10.1016/j.cosrev.2021.100388 OpenAlex ↗ · Scholar ↗
- Anand, D., Wagh, R.: Effective deep learning approaches for summarization of legal texts. Journal of King Saud University - Computer and Information Sciences 34(5), 2141–2150 (2022) 10.1016/j.jksuci.2019.11.015 OpenAlex ↗ · Scholar ↗
- Thenmozhi, D., Kannan, K., Aravindan, C.: A text similarity approach for precedence retrieval from legal documents. In: FIRE (2017) OpenAlex ↗ · Scholar ↗
- Bhattacharya, P., Paul, S., Ghosh, K., Ghosh, S., Wyner, A.: Identification of rhetorical roles of sentences in indian legal judgments. In: Legal Knowledge and Information Systems. IOS Press (2019). OpenAlex ↗ · Scholar ↗
- Malik, V., Sanjay, R., Guha, S.K., Nigam, S.K., Hazarika, A., Bhattacharya, A., Modi, A.: Semantic segmentation of legal documents via rhetorical roles. CoRR abs/2112.01836 (2021) 2112.01836 (https://arxiv.org/abs/2112.01836) OpenAlex ↗ · Scholar ↗
- Bhattacharya, P., Paul, S., Ghosh, K., Ghosh, S., Wyner, A.: Deeprhole: deep learning for rhetorical role labeling of sentences in legal case documents. Artificial Intelligence and Law, 1–38 (2021) 10.1007/s10506-021-09304-5 OpenAlex ↗ · Scholar ↗
- Lee, J., Yoon, W., Kim, S., Kim, D., Kim, S., So, C.H., Kang, J.: BioBERT: a pre-trained biomedical language representation model for biomedical text mining. Bioinformatics 36(4), 1234–1240 (2019) 10.1093/bioinformatics/btz682 https://academic.oup.com/bioinformatics/article-pdf/36/4/1234/48938920/bioinformatics_36_4_1234.pdf (https://arxiv.org/abs/https://academic.oup.com/bioinformatics/article-pdf/36/4/1234/48938920/bioinformatics\_36\_4\_1234.pdf) our card
- Yang, Y., Siy UY, M.C., Huang, A.: FinBERT: A Pretrained Language Model for Financial Communications. arXiv e-prints, 2006–08097 (2020) 10.48550/arXiv.2006.08097 arXiv:2006.08097 (https://arxiv.org/abs/2006.08097) [cs.CL] OpenAlex ↗ · Scholar ↗
- Chalkidis, I., Fergadiotis, M., Malakasiotis, P., Aletras, N., Androutsopoulos, I.: LEGAL-BERT: the muppets straight out of law school. CoRR abs/2010.02559 (2020) 2010.02559 (https://arxiv.org/abs/2010.02559) our card
- Beltagy, I., Peters, M.E., Cohan, A.: Longformer: The long-document transformer. CoRR abs/2004.05150 (2020) 2004.05150 (https://arxiv.org/abs/2004.05150) our card
- Xiao, C., Hu, X., Liu, Z., Tu, C., Sun, M.: Lawformer: A pre-trained language model for chinese legal long documents. AI Open 2, 79–84 (2021) 10.1016/j.aiopen.2021.06.003 our card
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L.u., Polosukhin, I.: Attention is all you need. In: Guyon, I., Luxburg, U.V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R. (eds.) Advances in Neural Information Processing Systems. Curran Associates, Inc. https://proceedings.neurips.cc/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf our card
- Bench-Capon, T., Sartor, G.: A model of legal reasoning with cases incorporating theories and values. Artificial Intelligence 150(1), 97–143 (2003) 10.1016/S0004-3702(03)00108-5 . AI and Law OpenAlex ↗ · Scholar ↗
- THAGARD, P.: Causal inference in legal decision making: Explanatory coherence vs. bayesian networks. Applied Artificial Intelligence 18(3-4), 231–249 (2004) 10.1080/08839510490279861 https://doi.org/10.1080/08839510490279861 (https://arxiv.org/abs/https://doi.org/10.1080/08839510490279861) OpenAlex ↗ · Scholar ↗
- Teufel, S., Moens, M.: Articles summarizing scientific articles: Experiments with relevance and rhetorical status. Computational Linguistics 28(4), 409–445 (2002) 10.1162/089120102762671936 our card
- Grover, C., Hachey, B., Korycinski, C.: Summarising legal texts: Sentential tense and argumentative roles. In: Proceedings of the HLT-NAACL 03 Text Summarization Workshop, pp. 33–40 (2003) our card
- Shaikh, R.A., Sahu, T.P., Anand, V.: Predicting outcomes of legal cases based on legal factors using classifiers. Procedia Computer Science 167, 2393–2402 (2020) 10.1016/j.procs.2020.03.292 . International Conference on Computational Intelligence and Data Science OpenAlex ↗ · Scholar ↗
- Kumar, S., Krishna Reddy, P., Reddy, V., Suri, M.: Finding similar legal judgements under common law system, vol. 7813, pp. 103–116 (2013). 10.1007/978-3-642-37134-9_9 OpenAlex ↗ · Scholar ↗
- Bhattacharya, P., Ghosh, K., Pal, A., Ghosh, S.: Legal case document similarity: You need both network and text. Information Processing & Management 59(6), 103069 (2022) OpenAlex ↗ · Scholar ↗
- Bi, S., Ali, Z., Wang, M., Wu, T., Qi, G.: Learning heterogeneous graph embedding for chinese legal document similarity. Knowledge-Based Systems 250, 109046 (2022) 10.1016/j.knosys.2022.109046 OpenAlex ↗ · Scholar ↗
- Galgani, F., Compton, P., Hoffmann, A.: Towards automatic generation of catchphrases for legal case reports. In: Computational Linguistics and Intelligent Text Processing: 13th International Conference, CICLing 2012, New Delhi, India, March 11-17, 2012, Proceedings, Part II 13, pp. 414–425 (2012). Springer OpenAlex ↗ · Scholar ↗
- Mandal, A., Ghosh, K., Pal, A., Ghosh, S.: Automatic catchphrase identification from legal court case documents. In: Proceedings of the 2017 ACM on Conference on Information & Knowledge Management. CIKM '17, pp. 2187–2190. Association for Computing Machinery, New York, NY, USA (2017). 10.1145/3132847.3133102 . https://doi.org/10.1145/3132847.3133102 OpenAlex ↗ · Scholar ↗
- Shankar, A., Buddarapu, V.N.: Deep ensemble learning for legal query understanding. In: CIKM Workshops (2018) OpenAlex ↗ · Scholar ↗
- Kumar, S., Politi, R.: Understanding user query intent and target terms in legal domain. In: Métais, E., Meziane, F., Vadera, S., Sugumaran, V., Saraee, M. (eds.) Natural Language Processing and Information Systems, pp. 41–53. Springer, Cham (2019) OpenAlex ↗ · Scholar ↗
- Adhikary, S., Sen, P., Roy, D., Ghosh, K.: A case study for automated attribute extraction from legal documents using large language models. Artificial Intelligence and Law, 1–22 (2024) OpenAlex ↗ · Scholar ↗
- Adhikary, S.: Towards semantic role labeling of legal documents for improving nlp/ir tasks in the law domain. In: Proceedings of the 15th Annual Meeting of the Forum for Information Retrieval Evaluation, pp. 109–111 (2023) OpenAlex ↗ · Scholar ↗
- Chen, S., Wang, P., Fang, W., Deng, X., Zhang, F.: Learning to predict charges for judgment with legal graph. In: Tetko, I.V., Kůrková, V., Karpov, P., Theis, F. (eds.) Artificial Neural Networks and Machine Learning – ICANN 2019: Text and Time Series, pp. 240–252. Springer, Cham (2019) OpenAlex ↗ · Scholar ↗
- Le, Y., Zhao, Y., Chen, M., Quan, Z., He, X., Li, K.: Legal charge prediction via bilinear attention network. In: Proceedings of the 31st ACM International Conference on Information & Knowledge Management. CIKM '22, pp. 1024–1033. Association for Computing Machinery, New York, NY, USA (2022). 10.1145/3511808.3557379 . https://doi.org/10.1145/3511808.3557379 OpenAlex ↗ · Scholar ↗
- de Arriba-Pérez, F., García-Méndez, S., González-Castaño, F.J., González-González, J.: Explainable machine learning multi-label classification of spanish legal judgements. Journal of King Saud University - Computer and Information Sciences 34(10, Part B), 10180–10192 (2022) 10.1016/j.jksuci.2022.10.015 our card
- Song, D., Vold, A., Madan, K., Schilder, F.: Multi-label legal document classification: A deep learning-based approach with label-attention and domain-specific pre-training. Information Systems 106, 101718 (2022) 10.1016/j.is.2021.101718 OpenAlex ↗ · Scholar ↗
- Ji, D., Gao, J., Fei, H., Teng, C., Ren, Y.: A deep neural network model for speakers coreference resolution in legal texts. Information Processing & Management 57(6), 102365 (2020) OpenAlex ↗ · Scholar ↗
- Liu, B., Wu, Y., Zhang, F., Liu, Y., Wang, Z., Li, C., Zhang, M., Ma, S.: Query generation and buffer mechanism: Towards a better conversational agent for legal case retrieval. Information Processing & Management 59(5), 103051 (2022) OpenAlex ↗ · Scholar ↗
- Chen, H., Wu, L., Chen, J., Lu, W., Ding, J.: A comparative study of automated legal text classification using random forests and deep learning. Information Processing & Management 59(2), 102798 (2022) OpenAlex ↗ · Scholar ↗
- Moens, M.-F., Uyttendaele, C., Dumortier, J.: Abstracting of legal cases: The potential of clustering based on the selection of representative objects. J. Am. Soc. Inf. Sci. 50, 151–161 (1999) OpenAlex ↗ · Scholar ↗
- Farzindar, A., Lapalme, G.: Letsum, an automatic legal text summarizing system. Jurix, 11–18 (2004) OpenAlex ↗ · Scholar ↗
- Saravanan, M., Ravindran, B., Professor, A., Raman, D.: Automatic identification of rhetorical roles using conditional random fields for legal document summarization. J. Artif. Intell. Law (2008) our card
- Sulea, O., Zampieri, M., Malmasi, S., Vela, M., Dinu, L.P., Genabith, J.: Exploring the use of text classification in the legal domain. CoRR abs/1710.09306 (2017) 1710.09306 (https://arxiv.org/abs/1710.09306) OpenAlex ↗ · Scholar ↗
- Chalkidis, I., Androutsopoulos, I.: A deep learning approach to contract element extraction. In: International Conference on Legal Knowledge and Information Systems (2017) OpenAlex ↗ · Scholar ↗
- Mumcuoğlu, E., Öztürk, C.E., Ozaktas, H.M., Koç, A.: Natural language processing in law: Prediction of outcomes in the higher courts of turkey. Information Processing & Management 58(5), 102684 (2021) OpenAlex ↗ · Scholar ↗
- Correia, F.A., Almeida, A.A.A., Nunes, J.L., Santos, K.G., Hartmann, I.A., Silva, F.A., Lopes, H.: Fine-grained legal entity annotation: A case study on the brazilian supreme court. Information Processing & Management 59(1), 102794 (2022) OpenAlex ↗ · Scholar ↗
- Yang, S., Tong, S., Zhu, G., Cao, J., Wang, Y., Xue, Z., Sun, H., Wen, Y.: Mve-flk: A multi-task legal judgment prediction via multi-view encoder fusing legal keywords. Knowledge-Based Systems 239, 107960 (2022) 10.1016/j.knosys.2021.107960 OpenAlex ↗ · Scholar ↗
- Zhao, L., Yue, L., An, Y., Zhang, Y., Yu, J., Liu, Q., Chen, E.: Cpee: Civil case judgment prediction centering on the trial mode of essential elements. In: Proceedings of the 31st ACM International Conference on Information & Knowledge Management, pp. 2691–2700. Association for Computing Machinery, New York, NY, USA (2022). 10.1145/3511808.3557273 . https://doi.org/10.1145/3511808.3557273 OpenAlex ↗ · Scholar ↗
- Belfathi, A., Hernandez, N., Monceaux, L.: Harnessing gpt-3.5-turbo for rhetorical role prediction in legal cases. arXiv preprint arXiv:2310.17413 (2023) our card
- Chhikara, G., Sharma, A., Ghosh, K., Chakraborty, A.: Few-shot fairness: Unveiling llm's potential for fairness-aware classification. CoRR abs/2402.18502 (2024) 10.48550/ARXIV.2402.18502 2402.18502 (https://arxiv.org/abs/2402.18502) OpenAlex ↗ · Scholar ↗
- Vats, S., Zope, A., De, S., Sharma, A., Bhattacharya, U., Nigam, S.K., Guha, S.K., Rudra, K., Ghosh, K.: Llms - the good, the bad or the indispensable?: A use case on legal statute prediction and legal judgment prediction on indian court cases. In: Bouamor, H., Pino, J., Bali, K. (eds.) Findings of the Association for Computational Linguistics: EMNLP 2023, Singapore, December 6-10, 2023, pp. 12451–12474. Association for Computational Linguistics. 10.18653/V1/2023.FINDINGS-EMNLP.831 . https://doi.org/10.18653/v1/2023.findings-emnlp.831 OpenAlex ↗ · Scholar ↗
- Belfathi, A., Hernandez, N., Monceaux, L.: Enhancing pre-trained language models with sentence position embeddings for rhetorical roles recognition in legal opinions. arXiv preprint arXiv:2310.05276 (2023) OpenAlex ↗ · Scholar ↗
- Lima, A.G., Moreno, J.G., Aranha, E.H.d.S.: Irit_iris_a at semeval-2023 task 6: Legal rhetorical role labeling supported by dynamic-filled contextualized sentence chunks. In: Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023), pp. 905–912 (2023) OpenAlex ↗ · Scholar ↗
- Shulayeva, O., Siddharthan, A., Wyner, A.Z.: Recognizing cited facts and principles in legal judgements. Artificial Intelligence and Law 25(1), 107–126 (2017) OpenAlex ↗ · Scholar ↗
- Wyner, A.Z., Peters, W., Katz, D.: A case study on legal case annotation. In: Legal Knowledge and Information systems–JURIX, pp. 165–174 (2013) OpenAlex ↗ · Scholar ↗
- Artstein, R., Poesio, M.: Survey article: Inter-coder agreement for computational linguistics. Computational Linguistics 34(4), 555–596 (2008) 10.1162/coli.07-034-R2 our card
- Devlin, J., Chang, M.-W., Lee, K., Toutanova, K.: BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (2018) our card
- Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J.D., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., : Language models are few-shot learners. Advances in neural information processing systems 33, 1877–1901 (2020) our card
- Zhao, Z., Wallace, E., Feng, S., Klein, D., Singh, S.: Calibrate before use: Improving few-shot performance of language models. In: International Conference on Machine Learning, pp. 12697–12706 (2021). PMLR our card
- Ma, Y., Cambria, E., Gao, S.: Label embedding for zero-shot fine-grained named entity typing. In: Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers, pp. 171–180 (2016) OpenAlex ↗ · Scholar ↗
- Levy, O., Seo, M., Choi, E., Zettlemoyer, L.: Zero-shot relation extraction via reading comprehension. arXiv preprint arXiv:1706.04115 (2017) our card
- Pushp, P.K., Srivastava, M.M.: Train once, test anywhere: Zero-shot learning for text classification. arXiv preprint arXiv:1712.05972 (2017) OpenAlex ↗ · Scholar ↗
- Nigam, S.K., Sharma, A., Khanna, D., Shallum, N., Ghosh, K., Bhattacharya, A.: Legal judgment reimagined: Predex and the rise of intelligent ai interpretation in indian courts. arXiv preprint arXiv:2406.04136 (2024) OpenAlex ↗ · Scholar ↗
- Zhang, Y., Feng, S., Tan, C.: Active example selection for in-context learning. arXiv preprint arXiv:2211.04486 (2022) our card
- Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate. ArXiv 1409 (2014) our card
- Kim, T.: T test as a parametric statistic. Korean Journal of Anesthesiology 68, 540 (2015) 10.4097/kjae.2015.68.6.540 OpenAlex ↗ · Scholar ↗
- Girard-Chanudet, C.: Le travail de l’intelligence artificielle: concevoir et entraîner un outil de pseudonymisation automatique à la cour de cassation. RESET. Recherches en sciences sociales sur Internet (12) (2023) OpenAlex ↗ · Scholar ↗
- Branting, K., Weiss, B., Brown, B., Pfeifer, C., Chakraborty, A., Ferro, L., Pfaff, M., Yeh, A.: Semi-supervised methods for explainable legal prediction. In: Proceedings of the Seventeenth International Conference on Artificial Intelligence and Law, pp. 22–31 (2019) OpenAlex ↗ · Scholar ↗