Elamur Research

Long Document Summarization in a Low Resource Setting using Pretrained Language Models

Paper · 2021 · Ahsaas Bajaj, Pavitra Dangati, Kalpesh Krishna et al.

Summary

A legal brief can put its central argument several pages into the document. A summarizer that reads only the beginning may write fluent prose while missing the passage it most needs. Bajaj and colleagues study this problem on 120 amicus briefs paired with summaries of their arguments. The collection gives them little material for adapting a summarizer to legal writing, and the briefs are too long for the version of BART used in their experiments to read in full. Their approach to text summarization gives BART a shorter version of each brief, assembled from sentences selected across the document.

To teach a classifier what to select, the authors use the summaries that accompany the training briefs. They compare each sentence in a brief with the sentences in its summary, asking how predictable the summary wording becomes when GPT-2 has read the source sentence first. Source sentences that score well across the summary become examples of salient content. Low-scoring sentences supply negative examples. A BERT classifier learns from these examples and can then select sentences from a new brief without access to its summary. BART receives the selected sentences in their original order and writes the final output.

On the Amicus test set, the proposed extractor raised the ROUGE-L score of the news-trained BART system from 17.95 to 23.95. The authors report this as a 6.0-point improvement in their abstract. ROUGE-L measures how closely the output matches the reference wording while taking word order into account. When BART was also adapted to the legal briefs, the proposed pipeline reached 24.40 ROUGE-L. It scored highest among the tested pipelines in both BART settings, although the comparison with the strongest alternative extractor after legal adaptation had a reported p-value of 0.16. In a separate check, the extractor recovered 64.7% of the sentences domain experts marked in four test briefs.

The experiments also ask whether a more accurate sentence classifier gives a better final summary. Several labeling procedures made the classification task easier, and a different sentence-pair score gave higher classifier accuracy under the main labeling procedure. GPT-2 perplexity nevertheless gave the strongest final ROUGE results in the comparison of scoring rules. The classifier was being tested against automatically assigned labels, so its accuracy measures agreement with a particular way of defining salience. The final summaries provide a separate check on whether that definition helps BART recover the arguments in the reference.

Deep dive: Long Document Summarization in a Low Resource Setting using Pretrained Language Models

Bajaj and colleagues use sentence selection to help BART summarize long legal briefs when few document–summary pairs are available. · about 34 minutes to read

The problem and its context

Finding the argument in a long brief

A brief can include the history of a case, the legal standards that apply, a discussion of earlier decisions, and the argument the writer wants the court to accept. A short account of the brief has room for only part of that material. It may need to connect a legal standard from one passage to an argument developed later, or to retain a qualification that changes the force of a conclusion. The authors frame the task as producing a shorter, coherent document that retains the central information. The summary can rephrase the source, a form of compression called abstractive summarization.

An extractive approach has a different immediate task. It selects material already present in the source. A set of copied sentences can be informative while still reading like separate pieces of a longer document. Terms such as a pronoun or a reference to an earlier argument may lose their antecedents. The paper uses extraction as an intermediate representation. The selected sentences give a generator material to work with, and the generator handles the wording of the final summary. The arrangement makes the quality of sentence selection consequential even when the copied sentences never appear verbatim in the output.

A long input presents a practical question before generation begins. Which parts of a brief should occupy the space available to a summarizer? With BART as configured in the paper, an input beyond 1024 sub-words is truncated. Sub-words are units produced by tokenization, so a word can occupy more than one input position. Feeding the brief directly to BART therefore gives it a prefix. The input decision depends on where the source writer put the material, even though its position and its importance to the argument are different properties.

A sentence selector can consider material beyond that prefix. It can also leave out routine text that consumes space without advancing the argument. These are distinct benefits. Finding a central sentence later in the document changes what the generator can see. Removing administrative language or a repeated passage makes more room for whichever sentences are retained. A compressor can do the latter well while still overlooking the main argument. That distinction motivates the paper's separate evaluations of extraction and finished summaries.

What earlier summarizers assumed

The paper situates its study in a line of work on generating a short text from a longer one. Some earlier systems used attention to let the generator draw more heavily on different input positions as it produced each part of the output. Others made it possible to copy words from the source. Copying is relevant when a summary needs a name or an expression already present in the document. The authors also discuss content selection, pointer-generator methods, and reinforcement learning as approaches used in neural summarization. Two of the cited examples address generation from short inputs and the reuse of source wording, respectively. Attentive recurrent summarization and sequence-to-sequence copying.

The datasets associated with much of this work offered more supervision and shorter documents than the briefs in the study. The paper identifies CNN/Daily Mail and Gigaword as examples of established settings for summarization. A training collection made from news articles provides many instances of what a short news summary keeps and how it phrases the result. A legal collection has to supply a different relationship between source and target. An argument in a brief can take more space to develop than the information needed for a short news summary, and its reference summary may itself contain a substantial account of the reasoning. The paper cites work on CNN/Daily Mail summarization and neural sentence summarization.

The authors identify two approaches in earlier work on long inputs. One uses the organization of the document to guide attention, exploiting the fact that a document has parts with different roles. The other uses selection or compression ahead of generation. That second family is the direct precedent for the paper's pipeline. It treats deciding what to retain and deciding how to express it as separate problems, even when the final product is an abstractive summary. The paper cites discourse-aware long-document summarization and long-sequence summarization for Wikipedia generation.

Some extract-then-abstract approaches make their selection at finer granularity than a sentence. The bottom-up approach discussed by the authors assigns importance at the word level. A word selector can keep fragments of a sentence, while a sentence selector passes on complete source sentences. That choice determines what the abstraction stage receives and what kind of supervision must be created for the extraction stage. Bajaj and colleagues keep whole sentences and use existing reference summaries to derive the labels. Their experimental baseline uses Bottom-Up Abstractive Summarization.

What counts as a scarce resource

The scarce resource here is a collection of paired examples in the target domain. The authors have publicly available briefs with summaries, but acquiring a large collection of comparable pairs would take time and effort. A raw legal document is only one half of a supervision example. A training pair also needs a text that expresses what should survive compression. In this study, the brief's own summary of arguments supplies that text. The resulting task has document-level supervision and lacks routine annotations telling the classifier which individual sentences to retain.

The paper contrasts its setup with earlier studies it describes as low-resource. One had access to 90,000 pairs, with inputs capped at 0.4K tokens. Another used 370 pairs and source documents of 0.2K tokens. The Amicus collection has 120 pairs and the paper describes its documents as averaging 4.3K tokens. Both dimensions matter. With short documents, the generator can start with the whole text even if examples are scarce. With long documents and many examples, a system has more opportunities to learn how the target summaries draw on the source. The Amicus setting puts pressure on both the input budget and the supply of examples.

The authors address scarcity through transfer from earlier training. GPT-2 contributes a way to compare a source sentence and a summary sentence. BERT contributes a reusable representation for classifying sentences. BART contributes the ability to produce a summary from a sequence of input text, with a checkpoint already trained for summarization on CNN/Daily Mail. The method derives additional supervision from the documents and summaries it already has. It creates sentence labels, using prior work on the sample efficiency of pretrained language systems, and requires no synthetic document–summary pairs.

The method, step by step

The method has a training path and a path for new briefs. At training time, the reference summary helps identify which source sentences ought to be kept. At test time, the extractor sees only the brief and applies what it learned from the training labels. BART then receives a compressed version of the source. This distinction matters because comparing a brief with its own summary would be an easy way to find relevant passages if the summary were already available. The method has to learn a sentence-selection rule that works before the reference is known.

From paired legal briefs to generated summaries

The steps in order.

From paired legal briefs to generated summariesStep 1: Separate each training brief from its reference summary1. Separate each training brief from its reference summaryStep 2: Score source sentences against reference sentences2. Score source sentences against reference sentencesStep 3: Turn document-level rankings into sentence labels3. Turn document-level rankings into sentence labelsStep 4: Train BERT to recognize salient sentences4. Train BERT to recognize salient sentencesStep 5: Select sentences from a new brief5. Select sentences from a new briefStep 6: Join selected sentences in source order6. Join selected sentences in source orderStep 7: Generate an abstractive summary with BART7. Generate an abstractive summary with BART

Preparing the source and the target

The authors construct the Amicus pairs from briefs available through the Public Health Law Center. They use the section titled Summary of Arguments as the target text. The source comes from the body of the brief, with material such as the title page, table of contents, acknowledgments, and appendices excluded. The target thus reflects a summary written as part of the brief itself. BART's task is to reconstruct the substance of that account from the main content of the document.

Each half of a pair is segmented into sentences with spaCy. The authors use regular expressions to remove special characters from the individual sentences before scoring. They prune sentences containing fewer than 5 words from the grounding calculation to reduce the number of pairs to evaluate. That threshold concerns the computation of sentence-pair scores. It is separate from BART's input limit and from the rule that decides how many high- and low-scoring sentences will supply training labels.

The reference may mention a theme in wording that appears nowhere verbatim in the brief. It may also state a conclusion whose justification occupies a much longer source sentence. The authors need a scoring rule that can handle these cases. Asking whether the sentences have words in common would give a useful lexical signal, but a match can also reflect shared subject matter. The rule they propose asks how easily GPT-2 can predict the summary sentence after reading the candidate source sentence.

Measuring how well a sentence grounds a summary sentence

The word grounds describes the role a source sentence plays in supporting a summary statement. A source may ground a summary sentence by expressing much the same point, or by giving information from which the summary statement follows. The paper uses conditional perplexity as a proxy for that relationship. Perplexity expresses how surprising a sequence is to a predictor. Here the sequence whose predictability matters is the summary sentence, and the candidate source sentence provides its context.

[s; t]

The brackets represent the input formed by concatenation. The symbol s denotes a sentence from the source brief, t denotes a sentence from the reference summary, and the semicolon shows that t follows s. GPT-2 large receives this input and the authors measure perplexity over the tokens of t. The source sentence affects prediction through the preceding context. Its own tokens are outside the portion being scored.

For example, a reference might state a limit on the circumstances in which detention is permissible. Given a source sentence laying out the narrow conditions for detention, GPT-2 may find the reference wording relatively easy to continue with. Given a sentence about a different part of the case, the same reference wording may be harder to predict. The reference stays fixed while the source context changes. This gives the authors a way to compare different source sentences as possible support for the same point.

The resulting value enters the authors' grounding function f(s, t). The paper specifies that lower perplexity corresponds to a higher grounding score. It does not specify a separate numerical transformation in the method description, so the direction of the score is the part to retain. Averaging grounding scores using that direction gives the method a way to rank sentences. Averaging raw perplexities and treating the largest value as best would reverse the preference described in the paper.

This score captures predictability in context. A low value can arise because the source makes the target's meaning easy to anticipate, because the sentences share phrasing, or because they discuss the same topic. The paper examines the connection with entailment separately. The distinction also explains why the authors compare perplexity with an explicit entailment classifier. Perplexity gives a graded assessment of a continuation. The entailment classifier supplies a score learned for a task where a premise and hypothesis have a designated inference relationship.

Ranking sentences within a brief

The authors compute the grounding score for each eligible pairing of a source sentence with a reference sentence in the same document–summary pair. They aggregate those pairwise scores across the reference. Writing the summation over the indexed sentences of the target, the mean used to rank a source sentence is as follows.

salience(sᵢ) = (1/n) Σⱼ₌₁ⁿ f(sᵢ, tⱼ)

Here salience(sᵢ) is the score assigned to source sentence sᵢ, and i is that sentence's position in the source S. The source contains m sentences. The target summary is T, which contains n sentences. The symbol tⱼ is the target sentence at position j, and f(sᵢ, tⱼ) is the score for how well source sentence sᵢ grounds target sentence tⱼ. The summation sign Σ adds those scores for all target positions, starting at 1 and ending at n. Multiplication by 1/n turns the sum into a mean.

The mean answers a different question from finding the best-matching source sentence for each target sentence. A strong match to a particular summary statement contributes to the mean alongside the scores for the other statements. A source sentence that relates to several parts of the summary can rise in the ranking even if another sentence makes a better match for a particular statement. The same calculation can lower the rank of a sentence chiefly relevant to one specialized point. The appendix's per-target sampling experiment changes this part of the design.

The score is computed within each brief and its reference. Training labels come from the rank within that document. The authors choose the highest-scoring 3n source sentences as positive examples of salience and the lowest-scoring 3n as negative examples. The factor in 3n is a tuned setting. Scaling the count with the length of the reference means that a brief with a longer summary can contribute more examples at each end of the ranking, subject to the number of source sentences available.

m < 6n

In this condition, m is the number of source sentences, n is the number of summary sentences, 6n is the total number of places the usual rule would fill across the positive and negative sets, and < means the source has fewer sentences than that total. For those briefs the authors assign positive labels to the upper half of the ranking and negative labels to the lower half. The paper describes the split in halves and does not specify how a middle sentence is handled when the count is odd.

For briefs with enough sentences for the usual rule, intermediate ranks can be left out of the classifier's training data. The method thereby uses the clearer ends of a ranking as supervision. A negative label means a candidate was placed low by the summary-grounding rule. An omitted sentence may still contain relevant information. These distinctions are important when reading the classifier's accuracy, since the label is a consequence of the scoring and sampling choices.

Teaching the extractor to work without a reference

The classification stage takes over once the labels are created. Each training example is a source sentence labeled salient or non-salient. The authors use BERT-base with an initially untrained classification head. This head reads the representation at the special [CLS] position, which is the input representation used for making the sentence-level decision in this setup. The implementation uses the sequence classification configuration in the Transformers toolkit.

The authors use fine-tuning to adapt the pretrained BERT system to the Amicus sentence labels. The main configuration uses 5363 training sentences, described as evenly distributed between the two classes. The split is 60%, 20%, 20% for training, development, and testing. The development set contains 1870 labeled sentences and the test set contains 2070. These counts describe sentence examples for the classifier. The original collection's 120 pairs are whole briefs and reference summaries.

The classifier is fine-tuned for 5 epochs. Its learning rate is 2e-5, and its maximum gradient norm is 1.0. The setup lists 1000 training steps, 100 warmup steps, and a warmup proportion of 0.1. Warmup changes the learning rate at the beginning of optimization. The authors use Adam and a linear schedule with warmup. These settings apply to learning the salient versus non-salient decision. BART has a separate training configuration.

GPT-2 does the expensive comparison with reference sentences when the supervised examples are built. At test time there is no target summary to compare against, and the classifier can assign a label directly to a sentence. A test brief can therefore be compressed even if its reference summary is unavailable. Since the pair scores are generated in advance and can be saved, the authors can also try different label-sampling procedures without repeating the grounding computation for a given score.

To build the compressed document, the extractor retains the sentences predicted to be salient and joins them in their original order. Ranking is useful for producing labels, while source position determines the presentation of the retained text to BART. Keeping the order preserves the sequence chosen by the brief's writer among the sentences that survive. It does not restore material that was removed between them. The classifier's decision score can be thresholded to change how much material is retained, which the authors note could be adjusted for the purpose of the summarizer.

Producing the final summary

The abstraction stage uses bart.large.cnn, a version of BART-large adapted to summarization on CNN/Daily Mail. BART is a sequence-to-sequence system. It takes an input sequence and writes an output sequence, which lets it combine or rephrase material from retained sentences. Its pretraining objective involves recovering text from a corrupted version. The authors report that the checkpoint contains 400 million parameters and has 12 encoder and decoder layers. The encoder represents the input and the decoder produces the output. The method changes the document supplied to this system.

The paper studies two settings for the abstractor. In the first, it uses the CNN/Daily Mail checkpoint without further adaptation of the weights. This tests how far changing the input can take an existing summarizer. In the second, the authors start from that same checkpoint and adapt BART on the Amicus training and development material. This tests whether extraction is still useful when the generator has also been exposed to examples from the target domain. The training and validation splits together supply 96 source–target pairs, with the test split excluded from the adaptation.

The generation settings also reflect the fact that the authors want legal summaries longer than a typical short news output. They set the length penalty to 2.0 and describe the minimum-length setting as 500 words. The paper uses a beam size of 4. Beam search maintains several partial outputs during generation so that a choice at one position can be evaluated in the context of the sequence it begins. The no-repeat setting for n-grams is 3, so the decoder has a rule against repeating a sequence of that length. This rule operates on generated text. The extractor's handling of boilerplate concerns the content going into the generator.

For legal adaptation, the authors preprocess the Amicus pairs according to the official BART implementation's procedure. The fine-tuning setup allows 500 epochs with a learning rate of 3e-5, and uses early stopping when validation loss fails to decrease for 50 epochs. An epoch is a pass over the training data, so the configured maximum and the stopping condition describe different parts of the procedure. The setup lists 20,000 total updates, 500 warmup updates, an update frequency of 4, Adam, and weight decay of 0.01. The remaining settings follow the official script's defaults. The paper identifies fairseq as the codebase used for the BART stage and reports releasing its own implementation.

The compressed document is still subject to BART's input window. The extractor improves the opportunity for important later passages to appear within that window. Its rule selects sentences by salience and then orders them chronologically within the source. There is no per-document input-length constraint in the stated selection rule. As a result, how much of the selected text BART can consume depends on the size of that particular compressed document. The experiments measure the effect of the pipeline as a whole under these conditions.

Experiments and results

The collection and the comparison

The Amicus collection has 120 document–summary pairs. In the paper's dataset table, the average source length is 4,268 tokens and the average target length is 485 tokens. In the same table, CNN/Daily Mail has 312,084 pairs, with average source and target lengths of 781 and 56 tokens. The abstract calls the Amicus source average 4268 words, while the table labels its lengths as tokens. BART's limit is given in sub-words. The table's comparison uses one set of labels for both collections, and the mismatch in terminology leaves the exact relationship between those lengths and BART's tokenized inputs unspecified.

The dataset serves two purposes. The documents provide a long-input challenge, and the Summary of Arguments sections give the authors a reference against which to score the outputs. The evaluation covers three stages of evidence. First, the authors check whether the sentence classifier agrees with held-out automatic labels. Second, they measure information overlap between the extraction and the reference summary, including a check against sentences marked by experts. Finally, they test how well the summaries generated by BART match the references. Each stage concerns a different output and should be read with its own comparison set.

The final evaluation compares the proposed method with direct use of BART and with other ways to select text first. In the no-extraction condition, called NE, BART takes the uncompressed input subject to its normal truncation. The random extractor takes the same number of sentences as the proposed extractor. Matching the count makes this a check on whether the choice of sentences has value beyond shrinking the document. It does not make the inputs identical in length, since the selected sentences can contain different amounts of text.

TextRank offers an unsupervised alternative. It uses a graph to rank text chunks based on their relationships within the document, so it can select material without the Amicus salience labels. The bottom-up baseline uses a trained selector that tags content at the word level. Its selector is adapted on the authors' training set and uses ELMo representations. This baseline matters because it gives BART input chosen by a learned content-selection method with prior training, just as the proposed system does. Its antecedent for contextual representations is ELMo.

What the extractor retains

On its held-out sentence set, the proposed BERT classifier reaches 73.66% accuracy. The test contains 2070 sentences assigned labels by the same general scoring procedure used to prepare training examples. Accuracy here measures the proportion of sentence decisions that match those automatic labels. Inspection of the output shows that the classifier can mark routine text as non-salient. The reported average compression is 61%. This makes the selected document shorter on average, while leaving its precise length and coverage dependent on the brief.

The authors then use ROUGE recall to compare the selected source text with the reference summary. ROUGE-1 counts overlap in individual words, and ROUGE-2 concerns overlap in adjacent word pairs. Recall asks how much of the reference wording is recovered by the text being evaluated. Here that text is the set of sentences given to BART. This evaluation asks whether reference wording survives selection, before generation has an opportunity to rewrite the input or introduce new wording.

Amicus test-set extraction compared by ROUGE-2 recall

Salience-based selection preserves more reference word pairs than random selection, while the whole brief provides the most coverage.

Amicus test-set extraction compared by ROUGE-2 recallWhole document: 50.67Whole document50.67Random extractor: 38.53Random extractor38.53Proposed extractor (this paper): 43.96Proposed extractor (this paper)43.96
The numbers
System or settingROUGE-2 recall
Whole document50.67
Random extractor38.53
Proposed extractor (this paper)43.96

For ROUGE-1 recall on the Amicus test set, the whole document scores 87.75, random selection scores 78.66, and the proposed extractor scores 81.78. The whole-document score is the reference point for how much matching wording is available without removing sentences. The proposed extraction loses some overlap while preserving more than a random selection of the same sentence count. This provides evidence for the selector even before the generated summaries enter the comparison.

The human check uses another reference point. Domain experts marked 8-10 salient sentences in each of four test documents that contained more than 200 sentences apiece. The extractor recovered 64.7% of the sentences they marked. Since the experts were asked to choose a small set, this statistic describes recovery of their selections. The experts' instructions do not make every unmarked sentence a negative example. The result shows that the extractor often includes passages human readers identified as important in those documents.

Automatic recall and expert recovery concern different properties. The word-overlap comparisons can recognize when a selection preserves the wording used in the brief's summary. The expert check can identify sentences worth keeping even when their wording differs from the summary's. It also works at the sentence level. Together they put the classifier accuracy in perspective. An extractor can reproduce its automatic labels and still needs separate evidence that the selected text is relevant to the end task.

The generated outputs

For finished summaries, the main reported values are ROUGE F-1 scores. Precision measures how much of the output overlaps with the reference, while recall measures how much reference wording the output captures. F-1 combines these two directions. ROUGE-L uses a longest common subsequence, so text in matching order can contribute even when it is separated by intervening material. This gives an additional view of how the generated wording tracks the reference across longer stretches.

Amicus test-set ROUGE-L F-1 by extractor with unchanged BART

The proposed sentence selector gives the strongest result when the generator stays at its news-trained checkpoint.

Amicus test-set ROUGE-L F-1 by extractor with unchanged BARTNo extraction: 17.95No extraction17.95Random selection: 17.91Random selection17.91TextRank: 17.93TextRank17.93Bottom-up: 20.76Bottom-up20.76Proposed extractor (this paper): 23.95Proposed extractor (this paper)23.95
The numbers
System or settingROUGE-L F-1
No extraction17.95
Random selection17.91
TextRank17.93
Bottom-up20.76
Proposed extractor (this paper)23.95

With the unchanged CNN/Daily Mail checkpoint, the proposed extractor gives 44.97 ROUGE-1 and 15.37 ROUGE-2 on the Amicus test set. Direct use of BART gives 40.17 ROUGE-1 and 13.36 ROUGE-2. Compared with that direct-use condition, the authors report gains of 4.8 ROUGE-1 points and 6 ROUGE-L points. Compared with the strongest alternative extractor for each metric, they report gains of 2.3 ROUGE-1 points and 3.2 ROUGE-L points. The strongest comparison extractor can change with the metric. TextRank has the highest ROUGE-1 among the alternative extractors in this setting, at 42.63, while the bottom-up method leads that group on ROUGE-L, at 20.76.

The random and TextRank inputs change the text BART sees, yet their ROUGE-L results sit near the no-extraction score. The trained bottom-up selector delivers a larger gain, and the proposed extractor produces the highest score. This ordering matters for the explanation of the main result. There is evidence for selecting which text to keep, since giving BART shorter inputs through other methods has a different effect. The comparison is conditional on BART and the specific selection methods in the experiment.

Amicus test-set ROUGE-L F-1 by extractor with fine-tuned BART

The proposed extractor retains the highest score after legal adaptation, with the bottom-up baseline closer to it.

Amicus test-set ROUGE-L F-1 by extractor with fine-tuned BARTNo extraction: 19.35No extraction19.35Random selection: 18.57Random selection18.57TextRank: 18.74TextRank18.74Bottom-up: 23.40Bottom-up23.40Proposed extractor (this paper): 24.40Proposed extractor (this paper)24.40
The numbers
System or settingROUGE-L F-1
No extraction19.35
Random selection18.57
TextRank18.74
Bottom-up23.40
Proposed extractor (this paper)24.40

With BART fine-tuned on Amicus, the proposed pipeline reaches 47.07 ROUGE-1 and 17.64 ROUGE-2 on the test set. In that setting, no extraction gives 43.47 ROUGE-1 and 16.30 ROUGE-2, while bottom-up extraction gives 44.89 and 17.26, respectively. TextRank is the strongest alternative on ROUGE-1, with 45.10. The proposed extractor leads on all three reported ROUGE measures under both generator settings. The authors report that legal adaptation raises the proposed pipeline by 2.1 ROUGE-1 points and 0.5 ROUGE-L points, and that the resulting pipeline leads the best alternative by 2.0 ROUGE-1 points and 1.0 ROUGE-L points.

The statistical comparison is more qualified than the ordering of the scores. The paper describes its improvements as statistically significant with p-values below 0.06, except for the comparison of the proposed extractor with the bottom-up extractor when both use fine-tuned BART. That comparison has a reported p-value of 0.16. The authors attribute the latter result to the small test set. The point estimates favor the proposed method in that setting, and the significance result gives weaker support for separating it from its closest rival there.

Precision, recall, and the qualitative example

The appendix reports the components of ROUGE as well as F-1. For ROUGE-L on the Amicus test set, BART without extraction or legal adaptation has recall of 18.34 and precision of 21.04. Feeding the proposed extraction into that checkpoint raises recall to 25.58 and precision to 26.27. That pairing improves measured coverage while also producing output whose wording overlaps more densely with the reference. It is evidence about the full generation step, since the evaluation compares BART's output with the target summary.

Adding legal adaptation changes the balance. With the proposed extractor, the adapted BART yields 29.62 ROUGE-L recall and 23.47 precision. Those results give a higher combined score than the proposed extraction with the unchanged checkpoint, with a gain in recall and lower precision. A similar pattern appears in ROUGE-1 for the proposed pipeline. Recall is 47.46 with unchanged BART and 56.04 after adaptation, while precision is 49.97 and 46.16, respectively. In this comparison, the higher F-1 score accompanies greater coverage of reference wording. Precision moves differently, so the combined result leaves room for more material that does not match the reference.

The paper also gives a complete reference and generated example concerning appointed counsel in New Hampshire proceedings involving parents who cannot afford representation. The reference sets out a due-process balancing framework, explains why the brief focuses on the risk of error and the state's interest, and presents the argument for a general requirement to appoint counsel. The generated summary picks up recognizable elements of the same case, including the functions counsel performs, the imbalance when the state is the opposing party, and the possibility of a general rule in place of case-by-case balancing.

The authors cite the example as an illustration of coherent flow. The sample also makes the scope of ROUGE concrete. The generated text revisits the balancing factors and contains awkward wording, even as it recovers the broad point of the argument. A substantial overlap score can coexist with phrasing that deserves close inspection. The example shows what a reader can learn from reviewing a full generation alongside the target, in addition to comparing aggregate scores.

What the ablations show

Does predictability track entailment?

The authors first examine whether the score used for grounding responds to a known distinction between sentence pairs. In entailment, the information in a premise supports a hypothesis. A contradiction conflicts with the premise. A neutral hypothesis can be compatible with the premise while requiring information the premise does not give. These categories allow the authors to test whether GPT-2 usually finds supported continuations easier to predict. They use MultiNLI for this diagnostic.

The authors randomly sample 5000 examples from each class and compute the perplexity of the hypothesis when the premise appears before it. This resembles the scoring operation in the Amicus pipeline, with the premise taking the role of the source sentence and the hypothesis taking the role of the target sentence. The figure compares distributions. Hypotheses in entailment pairs tend to have lower perplexity. The direction of the effect supports the intuition that a sentence can make another one easier to predict by supplying its content.

The diagnostic also shows why predictability is an approximate signal. Contradictory hypotheses tend to have slightly lower perplexity than neutral hypotheses in the paper's analysis. The authors suggest that contradictions may share more wording with their premises. For instance, a sentence that reverses a claim can retain much of the same vocabulary while changing the relationship that matters. More predictable wording is compatible with that possibility. The perplexity distributions show a tendency across categories, and the overlap hypothesis is an interpretation offered by the authors.

There is also a change of task between the diagnostic and the main experiment. MultiNLI provides labeled premise–hypothesis pairs. In Amicus, the comparison is between a sentence from the main document and one from a human-written account of its essential arguments. The relationship can involve paraphrase, local support, or shared terminology across related parts of the case. The MultiNLI figure explains the motivation for using perplexity. The Amicus experiment determines whether that score produces useful data for the summarization pipeline.

What changes when the grounding score changes

The direct ablation replaces the function used to compare source and target sentences and evaluates the resulting pipeline with BART fine-tuned on Amicus. A different function changes the rankings used for training supervision. Those rankings change which source sentences receive positive and negative labels, and the trained classifier can consequently send a different set of sentences to the generator. This is a comparison of the downstream effect of using different grounding scores, rather than an evaluation of how each method labels the same sentence pairs.

One alternative uses an entailment score from a RoBERTa classifier trained for MNLI. The score directly reflects a learned judgment about whether a premise supports a hypothesis. For the legal task, the source sentence takes the role of the premise. The pipeline tests whether that kind of training transfers to finding source sentences worth keeping. The earlier system supplying the classifier is RoBERTa.

Another alternative represents the source and target sentences with embeddings from BERT and compares their directions using cosine similarity. An embedding is a vector representation of the text. Cosine similarity compares the orientation of those vectors, making it possible for similar sentences to receive a high score without sharing every word. The main ablation description refers to averaged final-layer embeddings. The appendix's compute account describes BERT [CLS] embeddings for its similarity timing, so those descriptions should be kept distinct.

The lexical alternative uses the BLEU score, implemented with NLTK. BLEU gives weight to matching sequences of words. In this experiment, the score contributes to selecting the source sentences used for training the extractor. The effectiveness of the resulting summarizer is then measured with ROUGE, as in the other comparisons. The two scores serve different roles. BLEU is one possible input to label construction, while ROUGE is the downstream evaluation.

On the Amicus test set with the fine-tuned generator, entailment-based grounding gives 43.66 ROUGE-1, 16.95 ROUGE-2, and 23.24 ROUGE-L. Embedding similarity gives 44.67, 16.69, and 23.81 on the corresponding metrics. BLEU gives 43.95, 17.38, and 23.69. Perplexity gives 47.07, 17.64, and 24.40. The authors report a 2.4-point ROUGE-1 advantage over the best alternative on that metric and a 3.41-point advantage over entailment. The alternatives have different profiles. For example, similarity leads the alternatives on ROUGE-1 and ROUGE-L, while BLEU has the strongest alternative ROUGE-2 result.

The entailment comparison is particularly informative alongside the MultiNLI diagnostic. GPT-2's perplexity tends to track entailment in the diagnostic, and its use for grounding outperforms this particular classifier trained on an entailment benchmark. The authors hypothesize that the RoBERTa result may reflect overfitting to MNLI, whose annotation biases are documented by work they cite. The ablation tests the score's use in the legal pipeline. It does not isolate overfitting as the cause of the ranking. Annotation artifacts in natural language inference.

Selecting training examples changes what accuracy measures

The appendix varies the rule that turns grounding scores into training labels. In the main aggregate procedure, the authors first give each source sentence a mean score over the full target. The positives and negatives come from the extremes of the resulting source ranking. One alternative builds rankings separately for each summary sentence, then takes the best- and worst-scoring source sentences from each ranking. It prevents a sentence from appearing as both a positive and a negative example. The reported setting is k=3, where k is the number taken from an end of each per-target ranking.

The top-versus-bottom procedure can supply conspicuously different examples. A passage about the central legal issue and a routine statement about document preparation may be easy to distinguish even when both occur in many briefs. In the Amicus held-out classifier evaluation, that procedure gives accuracy of 0.9915 with perplexity-based labels, 0.9997 with BLEU, 0.9973 with entailment, and 1 with similarity. The authors inspect the examples and suggest that this method could also help train a system to detect boilerplate. The associated average compression is 63%.

A further variant keeps positives from the per-target ranking and draws negative examples at random from the remaining source. A random negative can still discuss the case or contain an important argument. The classification problem is therefore harder, because the negative class can include material closer in substance or style to the positives. The accuracy with perplexity-based labels is 0.655 in this setting on the held-out classifier set. The paper reports 70% average compression for the random-negative method. Greater compression here describes the amount removed, with the value of the retained material requiring its own evidence.

Under aggregate sampling, the corresponding held-out accuracies are 0.7813 for BLEU, 0.7366 for perplexity, 0.6569 for entailment, and 0.8391 for similarity. Similarity is easiest for the classifier to reproduce among these aggregate labels, while the best downstream ROUGE in the grounding ablation comes from perplexity. The automatic test labels change when the grounding rule changes. Each accuracy therefore reflects a classifier's fit to its own definition of salience, including how distinctly that definition separates its chosen positives and negatives.

The sampling results explain a practical tension in preparing supervision. Very clear negative examples help the classifier recognize uninformative sentences, but a brief contains many candidates that are informative in some way. The harder choice is which of these deserve space in a summary of the argument. A training procedure that mostly separates substantive passages from administrative language can score well on matching such labels. The reported results warrant checking the generated summaries when deciding whether the supervision was useful for the whole task.

What the examples and runtimes add

The authors inspect GPT-2's grounding scores on sentences concerning immigration detention. In one example, a summary point about the narrow conditions for detention is paired with a source sentence expressing a similar restriction. Another compares a summary statement about a legal distinction on entry to the country with a longer source discussion that makes the distinction less decisive. The matches illustrate ways a source sentence can support a summary statement even when the reference has compressed a substantial amount of legal wording.

The classifier examples show a separate step in action. Passages about a court's authority, the application of a legal exception, and the importance of delay in review appear among the salient sentences. Among the non-salient examples are a broad statement about checks and balances, a procedural timing detail, and material identifying counsel and the office address. The last is a straightforward case of boilerplate. The procedural detail requires a more local judgment about what the selected brief's argument needs. A sentence can be meaningful legal text and still fall outside the content chosen by the classifier.

The paper reports the approximate computation required to produce scores across all 120 Amicus pairs. GPT-2 perplexity runs within 15hrs using 2 GPUs. RoBERTa entailment runs within 22hrs using 2 GPUs. The BERT similarity calculation runs within 3hrs on a single GPU, and NLTK BLEU within 15min on a single GPU. These timings describe preparation of the sentence-pair scores. The authors say that once the scores are available, resampling training examples takes less than a minute. The result distinguishes the cost of trying a different scoring method from the cost of changing the way existing scores are turned into labels.

Limitations

Limits the authors report

The small test set limits the strength of the comparison with the closest alternative. When both pipelines fine-tune BART on legal briefs, the proposed extractor has a higher ROUGE-L score than bottom-up extraction, and the reported p-value for the comparison is 0.16. The authors point to test-set size. The observed ordering describes the Amicus test set, with uncertainty about whether the separation between these strong pipelines would persist over other samples of briefs.

The authors explicitly distinguish automatic classifier accuracy from accuracy against true salience labels. The classifiers learn and are tested on examples derived from a grounding function and a sampling rule. The choice of these rules can make a held-out classification problem easier by producing clearly separated categories. Good performance on that problem tells a reader how reproducibly the system implements the label definition. The ablations show that its value to summarization must be evaluated separately.

BART's input ceiling is a constraint on the method throughout the experiments. Extraction makes long legal briefs more manageable and allows material beyond their opening to reach the generation stage. The authors describe the compression as an average and note that the classifier threshold can be adjusted to vary the amount retained. A selected input can still exceed the 1024-subword context of this BART setup. The reported procedure manages the input budget through salience decisions while giving no guarantee that the selected sentences for every brief fit the window.

The authors also give hypotheses for patterns seen in the diagnostics. They suggest that lexical overlap may explain the relative position of contradiction and neutral pairs in the perplexity distributions. They also suggest that the entailment classifier's use of MNLI may contribute to its downstream result. These are proposed explanations for observations. The experiments reported in the paper do not quantify how much of either pattern comes from those causes.

Limits visible in the evaluation

The evidence concerns a particular type of legal document paired with a particular kind of summary. The target is an existing Summary of Arguments, which makes the supervision practical to obtain and defines what the output is expected to recover. Other legal documents can call for different kinds of condensation. A reader wanting a record of procedural history could value sentences that an argument summary largely leaves aside. The study does not estimate transfer to other legal genres or to a different definition of what a useful summary should include.

The separate human check is small and focused on extraction. Recovering 64.7% of marked sentences in four briefs gives an indication of expert agreement about important input passages. It does not measure the precision of the extractor against a complete human labeling, because the experts marked a small set of sentences rather than giving each remaining sentence an explicit judgment. It also leaves open how domain experts would assess the legal accuracy and usefulness of the summaries BART produced. Those are properties of the generated output, after the extraction decisions have already been made.

ROUGE gives the authors a consistent way to compare output against a reference, but it counts forms of verbal overlap. A generated sentence can include much of the same language and still change the scope of a legal standard, attach an argument to the wrong party, or blur the distinction between what a court held and what a brief asks it to hold. Conversely, a faithful paraphrase can use fewer of the reference's words. The sample in the appendix can be examined for those issues, and its coverage of the main theme does not establish the frequency or severity of such errors across the test set.

The system can lose information at several points. The grounding score may undervalue a sentence that supports a specialized detail or that needs surrounding text to be understood. A classifier working from the sentence representation may miss context that made it salient for the full argument. A selected sentence can also become harder to interpret when an earlier qualification or antecedent has been omitted. Original order preserves the relative positions of what is kept. It does not guarantee that the retained sequence contains the connections needed to interpret every passage.

The resource claim is about scarce in-domain pairs. The method relies on pretrained components and a news summarization checkpoint. It also incurs a substantial preprocessing cost for pairwise GPT-2 scoring, as the runtime comparison shows. The experiment demonstrates how those resources can be used when legal supervision is limited. It does not establish the same performance with reduced access to pretrained weights or the compute used to derive labels.

The comparison also fixes a particular generator family and a particular way of coping with its window. Its evidence supports learned selection for the BART configurations tested. An assessment of architectures that can read more of the brief would need to ask whether their additional context reaches the output in a usable form, and how they behave with the same amount of in-domain supervision. The experiments here leave that question open.

What came after

The later citations connect the paper to two continuing subjects, the amount of text a sequence generator can take in and the evaluation of summaries in a legal setting. Bajaj and colleagues study these together by working with long amicus briefs, deriving sentence labels from scarce reference summaries, and giving the generator a smaller input. The later works' stated subjects locate that experiment within wider discussions of long inputs and legal summarization.

The 2023 work on Unlimiformer takes long input as its architectural subject. Its title identifies a long-range transformer that can accept input of unlimited length. Bajaj and colleagues encounter the length problem at the input to BART and address it by selecting sentences beforehand. The connection is the question of how information from far into a document becomes available to generation. The citation alone leaves open whether the later work uses Amicus data, reuses the perplexity supervision, or directly compares against the extractor. Unlimiformer.

The 2025 survey places legal summarization within a discussion of challenges and future directions for the field. The Amicus study contributes a concrete instance of a challenge relevant to that scope. The available supervision comes from a small set of briefs with existing argument summaries, and a summarizer adapted to news needs a way to reach content deep in the source. The survey's citation connects the paper to that broader research area. How the survey categorizes or discusses the individual grounding and extraction experiments is unspecified. A Comprehensive Survey on Legal Summarization.

The two connections concern different decisions a study of long legal documents has to make. Expanding the input a generator can accept changes which passages are available to it. Defining the target within a legal genre changes which of those passages matter and how a successful summary should express their relationship. The Amicus experiments give a measured example at the intersection of those decisions, with a fixed input window, scarce paired supervision, and the brief's own summary of arguments as the reference.

Cite

Cite as Ahsaas Bajaj, Pavitra Dangati, Kalpesh Krishna, Pradhiksha Ashok Kumar, Rheeya Uppaal, Bradford Windsor, Eliot Brenner, Dominic Dotterrer, Rajarshi Das and Andrew McCallum. 2021. Long Document Summarization in a Low Resource Setting using Pretrained Language Models. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: Student Research Workshop.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.acl-srw.7

@inproceedings{bajaj2021long,
  title = {{Long Document Summarization in a Low Resource Setting using Pretrained Language Models}},
  author = {Ahsaas Bajaj, Pavitra Dangati, Kalpesh Krishna, Pradhiksha Ashok Kumar, Rheeya Uppaal, Bradford Windsor, Eliot Brenner, Dominic Dotterrer, Rajarshi Das and Andrew McCallum},
  booktitle = {Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing: Student Research Workshop},
  year = {2021},
  doi = {10.18653/v1/2021.acl-srw.7},
  url = {https://doi.org/10.18653/v1/2021.acl-srw.7}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bajaj-2021-long-document-summarization-low-resource/