Automatic Generation of the Draft Procuratorial Suggestions Based on an Extractive Summarization Method: BERTSLCA

)e automatic generation of the draft procuratorial suggestions is to extract the description of illegal facts, administrative omission, description of laws and regulations, and other information from the case documents. Previously, the existing deep learning methods mainly focus on context-free word embeddings when addressing legal domain-specific extractive summarization tasks, which cannot get a better semantic understanding of the text and in turn leads to an adverse summarization performance. To this end, we propose a novel deep contextualized embeddings-based method BERTSLCA to conduct the extractive summarization task.)emodel is mainly based on the variant of BERTcalled BERTSUM. Firstly, the input document is fed into BERTSUM to get sentence-level embeddings. )en, we design an extracting architecture to catch the long dependency between sentences utilizing the Bi-Long Short-Term Memory (Bi-LSTM) unit, and at the end of the architecture, three cascaded convolution kernels with different sizes are designed to extract the relationships between adjacent sentences. Last, we introduce an attention mechanism to strengthen the ability to distinguish the importance of different sentences. To the best of our knowledge, this is the first work to use the pretrained language model for extractive summarization tasks in the field of Chinese judicial litigation. Experimental results on public interest litigation data and CAIL 2020 dataset all demonstrate that the proposed method achieves competitive performance.


Introduction
Procuratorial suggestions serve as a means for the people's procuratorates to supervise administrative organs, which protect the public interests from harm. With the development of the economy and society, more and more public interest litigation cases flood into the court, which brings a great burden to the case-handling personnel. Case investigators need to summarize some summary characteristics of the text from the complex case to form a procuratorial suggestion document. In such a background, the technique of automatic text summarization has attracted more and more attention from researchers [1][2][3].
Recently, automatic text summarization has been used in many fields, such as biomedical domain [4,5], medical domain [6][7][8], and meteorological domain [9]. Automatic procuratorial suggestion document summarization belongs to another application of automatic document summarization, which is to generate short and simplified summaries as procuratorial suggestions from public interest litigation document.
According to the summary result, document summarization is mainly divided into abstractive summarization [10,11] and extractive summarization [12][13][14][15][16]. e extractive summarization task is to extract sentences that represent the important information from the original document as the summary, while abstractive summarization aims to generate words, phrases, and sentences that do not appear in the original document to compose the summary. Extractive summarization techniques are more attractive and wildly used in terms of difficulty, especially abstractive summarization method also faces the problem of lack of relevant data in the Chinese domain. In this paper, we focus on the extractive summarization method for the Chinese public interest litigation cases document.
Researchers have explored many techniques for extractive summarization methods. Previously, some researchers proposed statistical approaches for extraction tasks. e statistical approaches are mainly based on term frequency, word importance, and position information features of sentences. Alone et al. [17] developed a DimSum system that employed TF-IDF features to capture important words in a sentence. Matsuo et al. [18] made use of word cooccurrence to catch keywords from the text and achieved higher performance than the TF-IDF feature-based method. e essence of the statistical methods is based on the concept that the word importance determines the significance of the sentences.
With the development of machine learning techniques in NLP, some publications appeared that combined statistical features and machine learning to obtain document extracts. Methods such as naïve Bayes classifiers [19], decision trees [20], and hidden Markov models [21] are combined with hand-designed feature to explore document extraction task. e above methods need human-annotated features, which is time-consuming. e emergence of deep learning methods has attracted attention from manually designed features to datadriven approach, which helps the network to classify whether the sentence belongs to summary or not automatically. In the concept of deep learning methods, with sufficient data, the network learns to represent words with vectors, thus capturing syntactic and semantic information, which serves as features to conduct a summarization task. Convolutional neural network (CNN) [22] has proved to be a powerful feature extractor in the natural language processing (NLP) field. Another classic network is the recurrent neural network [23] that captures the sentence-level feature regardless of the sentence length. At each time step, the network tries to understand the present word with the memory of previous words, which captures the longdistance dependency. Researchers have explored CNN and RNN in extractive document summarization tasks and achieved great improvement [24]. However, the above method is based on the word2vec approach, which cannot solve the problem of polysemy, and the features extracted on this basis cannot accurately express the meaning of the sentence. To solve the problem, Liu [25] employed a BERT-based method called BERTSUM to conduct an extractive document summarization task. Bidirectional Encoder Representations from Transformers (BERT) is a new language model created by Google researchers, Devlin et. al [26], which obtains the state-of-theart results on 11 NLP tasks. BERT is mainly based on the encoder of Transformer [27]; the word BERT represents taking the polysemy into account which helps to improve the downstream task. Since BERT has no decoding component, it is not suitable for generating tasks. Liu made several modifications to make BERT possible for the extraction task. ey modify the input sentence and encode it in sentence units to produce document-level output, and also contextual information is taken into account. At the summarization layer, they employ RNN and Transformer layers to finetuning the summarization layers and achieve an outstanding result on CNN/Dailymail dataset.
In our work, we investigate the usefulness of BERTSUM in the Chinese domain, especially in Chinese public interest litigation cases document. However, some challenges exist if BERTSUM is directly fine-tuned to the extraction task. (1) BERTSUM achieves good performance based on combining with Transformer, which makes the model more complex, requires a complex network to fit the data, and ultimately takes more time to train. (2) Public interest litigation cases are often multisentence documents. e interrelationship between sentences is ignored, which affects the expression of document information and may eventually reduce the index value of the extraction task.
To solve the above limitations, we propose an improved BERTSUM called BERTSLCA in this paper, which obtains better quality of multisentences document summarization. BERTSLCA first employs BERTSUM for sentence-level encoding and obtains sentence representations for documents, which allows modeling the relationship between sentences and summaries. Secondly, we introduce BiLSTM as the first component of the extraction layer to catch the long dependency relations between different sentences and then three layers of convolutional neural networks with different kernel size cascading designs as the second component of the extraction layer to get the relationship between adjacent sentences. Last, the attention mechanism enables the model to assign different attention scores to different sentences, and the important sentences tend to have higher scores, which also conforms to the process of human understanding of documents. In summary, the contribution of the paper is as follows: (1) An improved BERTSUM model BERTSLCA is designed, which is capable of conducting extractive summarization to generate procuratorial suggestions from public interest litigation documents with many sentences and long ones. (2) We investigate the usefulness of the advanced BERTSUM model for document representation. Sentence embeddings are initialized using interval segment embeddings. We introduce a new extraction mechanism to capture relations between sentences within multisentence documents. Not only the long dependency between sentences is considered, but also the relationship between adjacent sentences is extracted. (3) Experiment results show that the proposed method achieves competitive results compared to other baselines. Compared to the previous best-performing method BERTSUM with transformer, our method takes less time while ensuring the quality of summary generation. e reminder of the paper is listed as follows. Section 2 describes related works. Section 3 presents the details of the proposed method. Section 4 introduces the experiment results and analysis. Finally, Section 5 presents the conclusion.

Related Works
is section is to show the techniques that are relevant to extractive summarization.

Word Representations.
Text summarization is one of the difficult subtasks of natural language processing, as with any other subtask such as text classification and reading comprehension, the text needs to be represented correctly. So, our work is closely related to word representations [28]. Previous work has shown that establishing a good language model for the correct representation of text can improve downstream tasks. One-hot vector is a binary encoding method, which is obtained by establishing a vocabulary, then setting the index dimension of each word to 1 according to the vocabulary, and setting the other elements to 0. Although one-hot vector is the simplest and most efficient way to code, it suffers from the data-sparse problem and does not consider the similarity between words. To solve the problem, scholars put forward the word2vec method (e.g., CBOW and skip-gram model) to express words [29]. Vectors generated by word2Vec are a low-latitude, dense representation that takes the semantic information of words into account, but one of the shortcomings is that the word vector it generates is static and does not consider the polysemy problem.
Researchers suggest that pretrained word embeddings on large corpora can elevate performance on different NLP tasks [30,31]. BERT is one of the most successful pretrained methods and mainly based on the transformer model, which is a bidirectional representation language model and considers both the left and right context information. It is this language model structure that makes BERT achieve overwhelming results in many fields, such as disease diagnosis [32], irony detection [33], and image processing [34]. e word embeddings obtained by BERT is dynamic and has multiple representations of a word. e word can be represented dynamically according to the context of the word, thus solving the polysemy problem, which is more in line with human's understanding of language. BERT encodes word vectors in word units, which is very suitable for text classification tasks [35], and sentence units are more suitable for text summarization tasks at the sentence level. e latest research described a BERTSUM model, a variant of BERT, in which sentence-level features are obtained by coding with the sentence as a unit. Inspired by this, our method is mainly based on BERTSUM for sentence-level embeddings.

Text Summarization.
Previously, researchers mainly focused on machine learning methods on summarization tasks on the legal document. For instance, Hachey et al. [36] conduct rhetorical role classification experiments for legal summarization. ey chose location, thematic words, sentence length, quotation, and so on as feature sets for the SVM classifier. To judge the rhetorical category of the current sentence by its features and choose the sentence that is the most summary-worthy sentence. Saravanan et al. [37] propose an approach to identify rhetorical roles from legal documents. ey ask for law experts to annotate rhetorical roles and generate training data. en, conditional random field model is taken as the classifier to identify the rhetorical role with rich features. e application of the machine learning model brings out an effective summary in the final stage. However, the approaches in this direction have relied on hand-engineered features and large labeled data, which makes it restricted to a narrow subdomain.
Recently, researchers have explored deep learning methods on the task of legal text summarization and have achieved great performance. Anand et al. [38] proposed a model that utilizes CNN and RNN for the Indian legal judgment document summarization task. Huang et al. [39] presented a sequence-to-sequence model for the summarization of legal public opinion news by incorporating topic information. eir model is mainly based on an RNN-based encoder-decoder architecture. To improve the understanding ability of the model, they selected topic words as domain information to assist the model and achieved good performance under the rouge metrics. However, the abovementioned deep learning methods are mainly dependent on the word2Vec representation method and there exists a problem of insufficient understanding of the text, which affects the results of the follow-up summary task.
In the general domain, researchers use the powerful feature extraction ability of BERT to complete the text summarization task in related fields. Moradi et al. [5] proposed to utilize BERT to get contextualized embeddings without the need for incorporating domain knowledge and annotating in biomedical text summarization tasks. Shi et al. [9] presented a summarization model to automatically summarize Weibo posts in the meteorological domain, which took BERT as an encoder. e BERT model is mainly utilized to get the prior meteorological domain knowledge and initialize the word embedding. However, these models are mainly based on word-level BERT, and the relationship between the sentences is ignored. Also, they rarely focus on the task of a specific domain.
Oriented to the needs of the judicial field and inspired by the general domain, our method employs context-and sentence-aware embeddings BERTSUM. However, in order to enhance the ability of text feature extraction and further obtain the relationship between sentences, we have constructed a high-performance extracting layer to aggregate sentence information and capture document-level features for extracting summaries. e details are shown in Section 3. In this paper, we pay close attention to Chinese legal documents. For all we know, our work represents the first attempt to use the contextualized language model for extractive summarization tasks in the field of the Chinese legal domain.

Proposed Method: BERTSLCA
In this section, the proposed method is introduced. e architecture of the method contains five parts: model pretraining layer, an embedding layer, an encoding layer, an extracting layer, and the output layer.
(I) Model pretraining layer is to transfer the knowledge learned from larger datasets to the downstream task. (II) Embedding layer which turns each word in the sentence to a vector by the BERTsum embedding manner rather than original BERT.

Mathematical Problems in Engineering
(III) Encoding layer first established by the BERTsum architecture, which also consists of several transformer encoder blocks as BERT. (IV) Extracting layer contains three components: BiLSTM, convolutional gated unit, and attention mechanism. BiLSTM aims to capture the interaction information among different input sentences, and the convolutional gated unit is to catch the local information within sentences. Attention is to strengthen the ability to retain important sentences. (V) Output layer which predicts whether the present sentence belongs to the summary.
e overall framework is shown in Figure 1, and the details are introduced in the following.

Pretraining Layer.
e essence of deep learning is to optimize the value of weight parameters so that it can reach an optimal solution state. Among them, the layers that need to update the weight include the encoding layer, batch normalization layer, and fully connect layer. In the process of optimization, the initialization of weight is an important step to get the optimal solution. If the weight initialization is not appropriate, the model may fall into the local optimal solution, which leads to a bad prediction effect and even the oscillate loss function; as a result, the model does not converge.
e model pretraining aims to accelerate the training process, make the model converge faster, and improve the performance of the downstream task. e pretraining model provides weight parameters that are trained from a large amount of data, which is usually used to initialize the model parameters in the downstream task, to make full use of the language knowledge learned in the pretraining process and transfer it to the learning of the downstream task. e pretraining model is mainly based on the autoencoding language model, which is shown in where x denotes the context of the current word, T is the number of the words in the sentence, θ is the parameter in the process, H θ (x t ) denotes the probability density, and m t represents whether the current word is masked. e essence of the autoencoder language model is to mask some words randomly, and the training goal is to maximize the prediction of the masked words according to the context.
In the research, the training process is associated with two tasks: masked language model (MLM) and next sentence prediction (NSP). MLM pretraining objective is introduced to get a context-dependent bidirectional feature representation. In the input sequence, 15% of the words are randomly blocked, and the task is to predict those words. NSP is to model the relationship between two sentences, which helps to understand the nature of the language modeling. To be specific, NSP is to predict whether the latter one is the next sentence of the former one.

Embedding Layer.
e input of our task is at the document level, which may consist of different numbers of sentences for each document, so for the embedding layer, a document-level embedding method is needed. Vanilla BERT is a word embedding-based method, which is suit for sentence and paragraph level tasks and not for document-level tasks such as long text classification or extractive summarization. Inspired by Liu, we apply the improved BERT method, that is, BERTSUM, to obtain the sentence vectors, which aims to capture document-level features. Here, BERT and BERTSUM share different input representations. Assume a document consists of n sentences S � S i n i�1 � S 1 , S 2 , ..., S n ; BERTSUM gets the following input document ID: Here, 〈CLS〉is a symbol of each sentence for classification or summarization, and 〈CLS〉is a token to separate different sentences. e embedding layer is to transform the document to the vectors, and the input document vectors IDV � IDV i n i�1 � IDV 1 , IDV 2 , ..., IDV n , for IDV i ; its vector is constructed as follows: where ID tok i , ID seg i , and ID pos i depict token, segment, and position embeddings for sentence ID i , as shown in Figure 1.

Encoding Layer.
is section uses BERT to encode sentences and obtains the final document features. BERT or BERTSUM shares the same architecture that consists of multiple transformers. e document vector IDV i is fed into L successive transformer blocks. Each block has two main components: a multihead attention mechanism and a fully connected feed-forward network. e details about the transformer block can be found in [27]. After L successive transformer blocks, the input document vector IDV � where E L i denotes sentence vector IDV i being processed by L transformer blocks, and the process is shown in Figure 2.

Extracting Layer.
After the sentence vectors are encoded with document-level features, the document feature representations E L are fed into an extracting layer that consists of three parts: BiLSTM unit, convolutional gated unit, and attention mechanism. BiLSTM is used to encode the document representation further and capture the long-range information between different sentences within the document. To obtain the local features of the sentence, a convolutional gated unit is applied on the top of the BiLSTM unit. Attention is used to strengthen the ability to distinguish sentences.
e LSTM unit is used to capture the long dependency between sentences, and we adopt the following implementation: where W and b are the weight and bias parameters need to train, x t is the output of the encoding layer, h t−1 is the hidden state at a time t − 1, c t is the memory cell state, f t , i t , and o t are the forgetting gate, input gate, and output gate, c t is the output of the memory gate at the time t, and h t is the hidden state at the timet.  e convolution operation is to capture the correlations between adjacent sentences; even those sentences are spaced 2,3,4 apart but can be achieved by the given convolution kernel different filter sizes. e input of this section ish � h i n i�1 ∈ R n×dim , the convolution kernel W ∈ R s×dim , and s is the filter size (receptive field). e convolution betweenhandWgenerates a feature map c � c i n−s+1 i�1 ∈ R n− s+1 ; each featurec i is calculated as follows: where W s and b s are weight and bias parameters, h i: i+s−1 is the concatenation of vector h i to h i+s−1 , which is also the same dimension with W s , ⊗ is dot product operation, and f is the nonlinear activation function. In our work, we design the convolution of three layers of connection, and the size of each layer is different. e specific connection mode is as follows: the first layer has m convolution kernels and the size of the kernel is S 1 . For the second layer, there are 2 * m convolution kernels (the size of the first m convolution kernels is S 1 , and the size of the last m convolution kernels is S 2 ). e third layer has 3 * m convolution kernels (the sizes of each m convolution kernel are S 1 , S 2 , and S 3 respectively). e output of BILSTM goes through the first-layer convolution kernel and gets the output O 1 ; the output of the second-layer convolution kernel is O 2 , and for the third layer, the output is O 3 . e final output of the convolutional neural network is the joint of the three, which can be denoted by c in (11).
After several validation tests, we use query-free type attention, which is originally from [40].
is mechanism learns contributions different sentences are made without query vector, which reduces the computational complexity. Take the CNN output as input of the attention component, which generates a new rating mechanism: en, m(c) is processed with softmax function to get the distribution of attentionα: where W T is the trainable parameters of the softmax layer. Lastly, the final representation of the document is a weighted sum of the feature map vectors: 3.5. Output Layer. After the attention layer, the final representation of the document is fed into the final output layer, and the final output layer is a sigmoid classifier as (9): where the sigmoid function maps the predicted score to an interval from 0 to 1. In the training stage of the model, we employ crossentropy as the loss of the model, which is shown in (10): where y i (either 0 or 1) is the ground-truth label of the sentence in the document. e training objective of the model is to minimize the cross-entropy loss function of the predicted score and real tags.

Experiments
In this part, we introduce the dataset and data preprocessing. en, we give the related parameter settings and evaluation measures. Finally, we conduct comprehensive experiments, which consist of comparisons between our method and baseline models, training loss convergence comparison, several ablation studies, and investigations of running efficiency. To verify the effectiveness of the method in this paper, we experiment on the open data set CAIL2020 in the legal domain. Finally, a statistical test is carried out.

Dataset and Data Preprocessing.
e datasets of the experiment are from the people's procuratorate and related websites (https://"http://www.itslaw.com/home", https:// wenshu.court.gov.cn/). ere are five types of original datasets, including environmental pollution, resource destruction, food and drug safety, state-owned property protection, and state-owned land use transfer. Considering that environmental protection cases have attracted more attention in China, it is of greater significance to study this type of case. We conducted experiments on environmental pollution data, including a total of 4,000 samples, and the training set and the test set are divided according to the ratio of 5 : 1. e types of environmental pollution mainly include air pollution, air pollution, water pollution, soil pollution, and solid waste pollution. Each sample is a description of pretrial review and the corresponding draft Trm (3) Trm (3) Trm (3) Trm (3) Trm (2) Trm (2) Trm (2) Trm (2) Trm (1) Trm (1) Trm (1) Trm (1)  recommendations for prosecution is considered as extractive summarization (reference summary). And the reference summaries are annotated by PhD in law from the University of Political Science and Law. e extractive text summarization is transformed into a binary classification task; for the sentences in the document, we need to consider whether the sentence belongs to the summarization. e aim of data preprocessing is to mark those sentences that belong to the summarization as 1 and others to 0.
Based on the pretrial review document and draft recommendations for prosecution (serve as reference summary), we obtain the ground truth summary, which is achieved by the greedy algorithm, and the main principle is to calculate the ROGUE between the reference summary and the sentences in the document. To be specific, an example is given in Table 1.

Parameter Settings and Evaluation Measures.
e experimental environment is based on windows10, PyTorch, an NVIDIA with a 12 GB GPU. 1 . e "BERT-base" version is employed to implement the model, with a number of layers L � 12, hidden size H � 768, and the number of attention heads A � 12.2. For the BiLSTM layers, the hidden size of the BiLSTM unit is 768, and for the CNN unit, the filter size is 3, 5, 7. For the optimization method, Adam optimizer is used with β 1 � 0.9 and β 2 � 0.999.
Since the summarization task is based on an extractive method, we conduct the experiments with three metrics ROGUE-1, ROGUE-2, and ROGUE-L that are wildly used in the area. e ROGUE-1 and ROGUE-2 are calculated as follows: R � extracted summary ∩ provided summary provided summary , Here, ROGUE-1 is used to measure the unigram overlap between extracted summary and provided a summary, and ROGUE-2 is to measure the bi-gram overlap.
ROGUE-L is calculated as in the following formula: F lcs � 1 + β 2 R lcs P lcs R lcs + β 2 P lcs . (22) Here, ROGUE-L is used to calculate the longest common subsequence between extracted summary X and provided a summary Y, |X| denotes the number of words in the extracted summary, and |Y| is the number of words in the provided summary. β is a default parameter which sets to 1.

Baselines.
To demonstrate the effectiveness of the proposed method, we compared our method with other methods: LEAD : is model is proposed by [41], which is a baseline for the summarization task. NEURALSUM: is is an extractive summarization method composed of a CNN sentence encoder and a recurrent document encoder [42]. TextRank : is is a model from [43], which is a graphbased method and uses TextRank as a basis for sorting. BERTSUM + fully connected classifier: is is a BERTbased method proposed by Liu [24], which employs BERTSUM as an encoder. BERTSUM + Transformer: Liu [25] proposes using a Transformer replace classifier which achieves outstanding results. BERTSUM + LSTM : Liu [25] proposes using BiLSTM to replace fully connected classifier. BERTSUM + CNN: is is an ablation study of our proposed method. BERTSUM + BiLSTM + CNN: is also is an ablation study of our proposed method.

Comparing to Baselines.
is subsection investigates the result and analysis between our method and other baseline methods. Tables 2-4 show P, R, and F1 of the ROGUE-1, ROGUE-2, and ROGUE-L indexes between different methods.
ere are several observations in this part.
First, our proposed method performs best among all the methods on almost all metrics. For instance, our method achieves 51.0%, 19.3%, and 28.1% on ROGUE-1, 15.2%, 17.5%, and 16.3% on ROGUE-2, and 22.6%, 31.1%, and 26.2% on ROGUE-L, which demonstrate the effectiveness of our method; especially, our model improves the F1 index.
is is mainly because of the context-dependent representations and document-level deep feature extraction that provide sufficient syntactic and semantic information.
is indicates that when substituting BiLSTM + CNN + attention for transformer, the model performs better and obtains the highest index. is mainly owes to the powerful feature extraction ability the former shows. BiLSTM learns the dependencies between different sentences within the document, followed by CNN to catch the N-gram features (such as 2, 4, and 6), and attention strengthens the ability. e combination shows better Mathematical Problems in Engineering simulation ability of human understanding of the document process; as a result, the extraction indexes increase. When CNN or BiLSTM is removed from our method, the performance decreases; the same is true for the attention component. For instance, the ROGUE-1-F1 decreased by 1.05% for CNN and 0.5% for BiLSTM on average. is indicates that CNN and BiLSTM play an important part in the document summarization task, which may be due to the reason that when CNN is removed, the relation between adjacent sentences is ignored. And when BiLSTM is removed, the long-range information is ignored; the result is the decline in the representation of the document. Figure 3 is the average F1 of ROGUE-1-F1, ROGUE-2-F1, and ROGUE-L-F1 between different methods. From Figure 3, we can see that our method achieves the best performance on average F1, which is 23.5%.
We can conclude that our method can better represent documents and shows strong feature extraction ability; as a result, there is an enhancement in the final document summarization task. Our model can better extract long dependency and relations between sentences.

Training Loss Convergence.
To further investigate the convergence performance and fitting ability of the model, we make a loss convergence comparison between different methods. Figure 4 shows the convergence of the BERTSUMbased methods, from which we can see that our method has lower loss and faster convergence rates. In the beginning, the training loss of our method is 0.81, which is the lowest compared to BERTSUM that is fully connected.

Ablation Study.
We conduct two ablation studies to reveal the contribution of different components of BERT-SUM: interval segments embeddings and trigram blocking Table 1: An example of annotating the ground truth labels for the document.

Document
According to the investigation conducted by the institute, it is found that the xx road sub-district of XX district of XX shall be responsible for the comprehensive coordination of pollution prevention and control, carry out related greening work, and do a good job in the source management and coordination of construction waste treatment within its jurisdiction. In XX lane XX road several points in the residential area exist the problem of open-air stacking of construction waste, which not only occupies the residential greening or public road resources but also easily causes dust pollution and damages the environment.

Reference summary
Your sub-district office shall be responsible for the comprehensive coordination of pollution prevention and control, carry out related greening work, and do a good job in the source management and coordination of construction waste treatment within its jurisdiction.
Ground summary e xx road sub-district of XX district of XX shall be responsible for the comprehensive coordination of pollution prevention and control, carry out related greening work, and do a good job in the source management and coordination of construction waste treatment within its jurisdiction. Note. e value of the proposed method is the average value after 10-fold cross-validation test. Notes. e value of the proposed method is the average value after 10-fold cross-validation test. Note. e value of the proposed method is the average value after 10-fold cross-validation test layer (8.47), BERTSUM with CNN (0.7), and BERTSUM with Transformer (1.47). And at the final step, our method also achieves the lowest loss, 0.46. All this points to one fact, the BERTSUMbased methods are pretrained with large corpora providing weight that fits the downstream task. As a result, the models exhibit better document representation and the losses of training are small at the beginning. Our method leverages BiLSTM and CNN with attention mechanism exhibits higher feature extraction ability which benefits the document summarization task.
strategy. e results are shown in Table 5. With the addition of BERTSUM, BERT is improved compared to the original version. In terms of encoding, BERTSUM encodes at the document level and uses the interval segments embeddings to separate sentences in the document. To be specific, the interval segments mechanism assigns the sentence label according to their odevity. From Table 5, we can see that without the segment component, the model performance decreased by 0.8%, 1.4%, and 3.3% on ROGUE-1-F1, ROGUE-2-F1, and ROGUE-L-F1. is negative performance confirms the interval segments embeddings that have a better presentation than original BERT segment embeddings and thus improve the summarization results. Trigram blocking is a strategy that is used to reduce redundancy. e strategy plays an important role in the summarization task; the ablation study on trigram blocking is to explore this influence. Table 5 shows with trigram blocking, the summarization results are improved, which suggests that the strategy is helpful to obtain informative summaries.

Parameters and Running Speed.
is section aims at revealing the efficiency of the methods, such as the number of the parameters involved, the training, and test time cost. Table 6 shows parameters and real-time capability comparisons between BERT-based methods, from which we can see that the BERT + Transformer method has 116M parameters, with 48.6 s to train at 50 steps and our method cost  40.3 s but achieves higher summarization results on F1 value. It indicates that our method achieves good results based on ensuring real-time ability. is is mainly because our method applies BiLSTM and CNN with an attention mechanism which presents an efficient calculation method that outperforms the Transformer method with less time to train. such as [44][45][46]; shi et al. crawled the data from microblogs related to the meteorological domain for the task of generation of meteorological briefing. For specialized fields, such as the legal domain, there is currently publicly available that called CAIL2020 judicial summary data (obtain judicial summarizations according to relevant legal documents). To further verify the validity of our model, we evaluate the method based on this data. From Table 7 we can see that our proposed method still achieves the highest performance on the CAIL dataset, which indicates that the proposed method has good generalization ability. It is not    only applicable to the legal documents of public interest litigation cases but also applicable to civil cases. is is mainly because the legal document of the case and the corresponding summarization are written in a standard manner. e trained model is well suited to capturing normative legal documents.

Statistical Test.
A statistical test is further conducted to validate the performances. Table 8 is the experiment results of each fold of the proposed method. We can find that the proposed method BERTSLCA is consistently superior to the compared methods in the ROGUE-F1 index. We further conduct a t-test for statistical significance tests. Compared with other models, it is found that there is a significant difference (P < 0.05), and the average error rate of our method is smaller, and the performance is the best. e experimental results show that combining BERTSUM representations and the extracting components can steadily elevate the summarization performance.

Conclusion
In this paper, we have proposed an improved BERTSUM network called BERTSLCA to tackle the multisentences public interest litigation document for summarization of draft procuratorial suggestions. In BERTSLCA, a BERTSUM is first utilized to initial the word embeddings and get the sentence-level features, which is suitable for extracting summaries. We have constructed a high-performance extracting layer to aggregate sentence information and capture document-level features for extracting summaries. In the extracting layer, we find that each of the three components BiLSTM, CNN and attention mechanism plays a very important role in the contribution to the extractive summarization task. Furthermore, based on the previous document-level feature representation, each sentence is classified to determine whether it belongs to the summary, and the summary task is transformed into the classification task. Extensive experiments on real-world datasets and CAIL2020 have shown that the proposed BERTSLCA outperforms the state-of-the-art methods in almost all evaluation metrics, and the influence of the three parts of the extraction layer on the ROGUE index is also confirmed. An experiment on running time shows that the method in this paper costs the shortest time.
However, one limitation of our work is mainly based on the extractive method to complete the public interest litigation cases prosecutorial suggestions automatic generation; that is to say, we can only select the existing sentences from the prelawsuit review documents to complete the generation of prosecution recommendations. In the future, we will explore abstractive summary generation methods, which completes the real sense of understanding and achieves the process of creation out of nothing in order to be more realistic. On the other hand, due to the lack of a public corpus, we will explore the influence of domain knowledge on the pretraining model in order to improve the performance of the downstream summary generation task.

Data Availability
e dataset used to support the findings of this study is available from the corresponding author upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.