Dispute Generation in Law Documents via Joint Context and Topic Attention

  • Sheng Bi
  • Xiya Cheng
  • Jiamin Chen
  • Guilin QiEmail author
  • Meng Wang
  • Youyong Zhou
  • Lusheng Wang
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 12032)


In this paper, we study the Dispute Generation (DG) problem from the plaintiff allegation (PA) and the defendant argument (DA) in a law document. We are the first to formulate DG as a text-to-text natural language generation (NLG) problem. Since the logical relationships between a PA and a DA are rather difficult to identify, existing models cannot generate accurate disputes, let alone find all disputes. To solve this problem, we propose a novel Seq2Seq model with two dispute detection modules, which captures relationships among the PA and the DA in two ways. First, in the context-level detection module, we employ hierarchical attention mechanism to learn sentence representation and joint attention mechanism to match right disputes. Second, in the topic-level detection module, topic information is taken into account to find indirect disputes. We conduct extensive experiments on the real-world dataset. The results demonstrate the effectiveness of our method. Also the results show that the context-level and the topic-level detection modules can improve the accuracy and coverage of generated disputes.


Dispute generation Seq2Seq model Topic information Context-level Topic-level 



Research presented in this paper was partially supported by the National Key Research and Development Program of China under grants (2018YFC0830200, 2017YFB1002801), the Natural Science Foundation of China grants (U1736204), the Judicial Big Data Research Centre, School of Law at Southeast University.


  1. 1.
    Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, September 2014
  2. 2.
    Boella, G., Caro, L.D., Humphreys, L.: Using classification to support legal knowledge engineers in the Eunomos legal document management system. In: Fifth International Workshop on Juris-Informatics (JURISIN) (2011)Google Scholar
  3. 3.
    Chin-Yew, L.: ROUGE: a package for automatic evaluation of summaries. In: Proceedings of the ACL-04 Workshop, pp. 74–81. Association for Computational Linguistics (2004)Google Scholar
  4. 4.
    Gu, J., Lu, Z., Li, H., Li, V.O.: Incorporating copying mechanism in sequence-to-sequence learning. In: Association for Computational Linguistics (2016)Google Scholar
  5. 5.
    Hu, Z., Li, X., Tu, C., Liu, Z., Sun, M.: Few-shot charge prediction with discriminative legal attributes. In: Proceedings of COLING (2018)Google Scholar
  6. 6.
    Kim, M.-Y., Xu, Y., Goebel, R.: Legal question answering using ranking SVM and syntactic/semantic similarity. In: Murata, T., Mineshima, K., Bekki, D. (eds.) JSAI-isAI 2014. LNCS (LNAI), vol. 9067, pp. 244–258. Springer, Heidelberg (2015). Scholar
  7. 7.
    Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. In: ICLR (2015)Google Scholar
  8. 8.
    Liu, Y.H., Chen, Y.L.: A two-phase sentiment analysis approach for judgement prediction. J. Inf. Sci. 44, 594–607 (2017)CrossRefGoogle Scholar
  9. 9.
    Long, S., Tu, C., Liu, Z., Sun, M.: Automatic judgment prediction via legal reading comprehension. In: Proceedings of EMNLP (2017)Google Scholar
  10. 10.
    Luo, B., Feng, Y., Xu, J., Zhang, X., Zhao, D.: Learning to predict charges for criminal cases with legal basis. In: Proceedings of EMNLP (2017)Google Scholar
  11. 11.
    Mi, H., Sankaran, B., Wang, Z., Ittycheriah., A.: Coverage embedding models for neural machine translation. In: Empirical Methods in Natural Language Processing (2016)Google Scholar
  12. 12.
    Nallapati, R., Zhou, B., dos santos, C.N., Gulcehre, C., Xiang, B.: Abstractive text summarization using sequence-to-sequence RNNs and beyond. In: Computational Natural Language Learning (2016)Google Scholar
  13. 13.
    Papineni, K., Roukos, S., Ward, T., Zhu, W.: BLEU: a method for automatic evaluation of machine translation. In: the 40th Annual Meeting of the Association for Computational Linguistics, pp. 311–318 (2002)Google Scholar
  14. 14.
    Raghav, K., Reddy, P.K., Reddy, V.B.: Analyzing the extraction of relevant legal judgments using paragraph-level and citation information. AI4J Artif. Intell. Justice (2016) Google Scholar
  15. 15.
    Rush, A.M., Chopra, S., Weston., J.: A neural attention model for abstractive sentence summarization. In: Empirical Methods in Natural Language Processing (2015)Google Scholar
  16. 16.
    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 (Volume 1: Long Papers), pp. 1073–1083, July 2017Google Scholar
  17. 17.
    Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, pp. 3104–3112 (2014)Google Scholar
  18. 18.
    Sutton, R.S., Barto, A.G.: Reinforcement learning: an introduction. J. Artif. Intell. Res. 47, 253–279 (1998)zbMATHGoogle Scholar
  19. 19.
    Tu, Z., Lu, Z., Liu, Y., Liu, X., Li, H.: Modeling coverage for neural machine translation. In: Association for Computational Linguistics (2016)Google Scholar
  20. 20.
    Vinyals, O., Fortunato, M., Jaitly, N.: Pointer networks. In: Neural Information Processing Systems (2002)Google Scholar
  21. 21.
    Xing, C., et al.: Topic aware neural response generation. In: Proceedings of AAAI, pp. 3351–3357 (2017)Google Scholar
  22. 22.
    Ye, H., Jiang, X., Luo, Z., Chao, W.: Interpretable charge predictions for criminal cases: learning to generate court views from fact descriptions. In: Proceedings of NAACL-HIT, pp. 1854–1864 (2018)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.School of Computer Science and EngineeringSoutheast UniversityNanjingChina
  2. 2.School of LawSoutheast UniversityNanjingChina

Personalised recommendations