Skip to main content

Chinese Judicial Summarising Based on Short Sentence Extraction and GPT-2

  • Conference paper
  • First Online:
Knowledge Science, Engineering and Management (KSEM 2021)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 12816))

Abstract

This paper studies the compilation of judicial case summarisation in China. Judicial case summaries are made through the abridgement, generalisation, and summarisation of court verdicts. It is a time-consuming, inefficient manual process done by legal professionals. The automatic generation of such summaries could save much time of legal professionals. Court verdicts are generally lengthy, exceeding the maximum word limit for inputs into pre-trained models. Through the observation and analysis of existing data sets, this paper conducts further treatment of these datasets. The dataset of one court verdict is split into five via phrase extraction to obtain the extracts of five key components of a court verdict and the corresponding manual summaries. In this way, we convert one text summarisation problem into five text compression and integration problems for sentences of five different categories. We adopt the GPT-2 pre-trained model, which excels in text generation, to conduct text compression and integration. From that, key points for compression of various parts of the verdict are obtained, which are eventually put together to obtain the summary of the court verdict. This paper divides datasets using extractive algorithms and compresses and integrates them using abstractive algorithms. Our experiments show that our approach proposed by this paper performs well.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Allahyari, M., et al.: Text summarization techniques: a brief survey. Int. J. Adv. Comput. Sci. Appl. 8(10), 397–405 (2017)

    Google Scholar 

  2. Anand, D., Wagh, R.: Effective deep learning approaches for summarization of legal texts. J. King Saud Univ. Comput. Inf. Sci. (2019). https://www.sciencedirect.com/science/article/pii/S1319157819301259

  3. Brown, T., et al.: Language models are few-shot learners. In: Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M.F., Lin, H. (eds.) Advances in Neural Information Processing Systems, vol. 33, pp. 1877–1901 (2020)

    Google Scholar 

  4. Chopra, S., Auli, M., Rush, A.M.: Abstractive sentence summarization with attentive recurrent neural networks. In: Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 93–98 (2016)

    Google Scholar 

  5. Cohn, T., Lapata, M.: Sentence compression beyond word deletion. In: Proceedings of the 22nd International Conference on Computational Linguistics, pp. 137–144 (2008)

    Google Scholar 

  6. Dai, W., Qiu, L., Wu, A., Qiu, M.: Cloud infrastructure resource allocation for big data applications. IEEE Trans. Big Data 4(3), 313–324 (2016)

    Article  Google Scholar 

  7. Du, Z.: GPT2-Chinese: Tools for training GPT2 model in Chinese language (2019). https://github.com/Morizeyao/GPT2-Chinese

  8. Gai, K., Qiu, M.: Reinforcement learning-based content-centric services in mobile sensing. IEEE Netw. 32(4), 34–39 (2018)

    Article  Google Scholar 

  9. Gai, K., Qiu, M., Zhao, H., Sun, X.: Resource management in sustainable cyber-physical systems using heterogeneous cloud computing. IEEE Trans. Sustain. Comput. 3(2), 60–72 (2017)

    Article  Google Scholar 

  10. Galgani, F., Compton, P., Hoffmann, A.: Combining different summarization techniques for legal text. In: Proceedings of the Workshop on Innovative Hybrid Approaches to the Processing of Textual Data, pp. 115–123 (2012)

    Google Scholar 

  11. Kanapala, A., Jannu, S., Pamula, R.: Summarization of legal judgments using gravitational search algorithm. Neural Comput. Appl. 31(12), 8631–8639 (2019)

    Article  Google Scholar 

  12. Kanapala, A., Pal, S., Pamula, R.: Text summarization from legal documents: a survey. Artif. Intell. Rev. 51(3), 371–402 (2019)

    Article  Google Scholar 

  13. Devlin, J., Chang, M. W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. Universal Language Model Fine-tuning for Text Classification, p. 278 (2018)

    Google Scholar 

  14. Kieuvongngam, V., Tan, B., Niu, Y.: Automatic text summarization of covid-19 medical research articles using BERT and GPT-2. arXiv preprint arXiv:2006.01997 (2020)

  15. Knight, K., Marcu, D.: Summarization beyond sentence extraction: a probabilistic approach to sentence compression. Artif. Intell. 139(1), 91–107 (2002)

    Article  Google Scholar 

  16. Lin, C.-Y.: ROUGE: a package for automatic evaluation of summaries. In: Text Summarization Branches Out, pp. 74–81 (2004)

    Google Scholar 

  17. Liu, Y.: Fine-tune BERT for extractive summarization. arXiv preprint arXiv:1903.10318 (2019)

  18. Nallapati, R., Zhai, F., Zhou, B.: SummaRuNNer: a recurrent neural network based sequence model for extractive summarization of documents. In Proceedings of the 31st AAAI Conference on Artificial Intelligence, pp. 3075–3081 (2017)

    Google Scholar 

  19. Peters, M., et al.: Deep contextualized word representations. In: Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, vol. 1, pp. 2227–2237 (2018)

    Google Scholar 

  20. Radford, A., Narasimhan, K., Salimans, T., Sutskever, I.: Improving language understanding by generative pre-training. https://s3-us-west-2.amazonaws.com/openai-assets/research-covers/language-unsupervised/language_understanding_paper.pdf, 2018

  21. Radford, A., Wu, J., Child, R., Luan, D., Amodei, D., Sutskever, I.: Language models are unsupervised multitask learners. OpenAI Blog 1(8), 9 (2019)

    Google Scholar 

  22. See, A., Liu, P.J., Manning, C.D.: Get to the point: summarization with pointer-generator networks. In: Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, vol. 1, pp. 1073–1083 (2017)

    Google Scholar 

  23. Song, K., Tan, X., Qin, T., Lu, J., Liu, T.-Y.: MASS: masked sequence to sequence pre-training for language generation. In: International Conference on Machine Learning, pp. 5926–5936. PMLR (2019)

    Google Scholar 

  24. Tan, J., Wan, X., Xiao, J.: Abstractive document summarization with a graph-based attentional neural model. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, vol. 1, pp. 1171–1181 (2017)

    Google Scholar 

  25. Wolf, T., et al.: HuggingFace’s transformers: state-of-the-art natural language processing. arXiv preprint arxiv:abs/1910.03771 (2019)

  26. Yamada, H., Teufel, S., Tokunaga, T.: Building a corpus of legal argumentation in Japanese judgement documents: towards structure-based summarisation. Artif. Intell. Law 27(2), 141–170 (2019)

    Article  Google Scholar 

  27. Zhang, J., Zhao, Y., Saleh, M., Liu, P.: PEGASUS: pre-training with extracted gap-sentences for abstractive summarization. In: International Conference on Machine Learning, pp. 11328–11339. PMLR (2020)

    Google Scholar 

Download references

Acknowledgements

This work was supported by the National Natural Science Foundation of China (No. 61762016), and a research fund of Guangxi Key Lab of Multi-Source Information Mining & Security (No. 19-A-01-01).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xudong Luo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Liu, J., Wu, J., Luo, X. (2021). Chinese Judicial Summarising Based on Short Sentence Extraction and GPT-2. In: Qiu, H., Zhang, C., Fei, Z., Qiu, M., Kung, SY. (eds) Knowledge Science, Engineering and Management . KSEM 2021. Lecture Notes in Computer Science(), vol 12816. Springer, Cham. https://doi.org/10.1007/978-3-030-82147-0_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-82147-0_31

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-82146-3

  • Online ISBN: 978-3-030-82147-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics