Legalbot: A Deep Learning-Based Conversational Agent in the Legal Domain

  • Adebayo Kolawole John
  • Luigi Di Caro
  • Livio Robaldo
  • Guido Boella
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10260)

Abstract

This paper presents a deep learning based dialogue system which has been trained to answer user queries posed as questions during a conversation. The proposed system, though generative, takes advantage of domain specific knowledge for generating valid answers. The evaluation analysis shows that the proposed system obtained a promising result.

Keywords

Recurrent neural networks Long short-term memory Chatbot Conversational agent 

Notes

Acknowledgments

Kolawole J. Adebayo has received funding from the Erasmus Mundus Joint International Doctoral (Ph.D.) programme in Law, Science and Technology. Luigi Di Caro have received funding from the European Union’s H2020 research and innovation programme under the grant agreement No 690974 for the project “MIREL: MIning and REasoning with Legal texts”.

References

  1. 1.
    Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate (2014). arXiv preprint arXiv:1409.0473
  2. 2.
    Boella, G., Di Caro, L., Graziadei, M., Cupi, L., Salaroglio, C., Humphreys, L., Konstantinov, H., Marko, K., Robaldo, L., Ruffini, C., Simov, K., Violato, A., Stroetmann, V.: Linking legal open data: breaking the accessibility and language barrier in european legislation and case law. In: Proceedings of the 15th International Conference on Artificial Intelligence and Law, pp. 171–175. ACM (2015)Google Scholar
  3. 3.
    Boella, G., Di Caro, L., Robaldo, L.: Semantic Relation Extraction from Legislative Text Using Generalized Syntactic Dependencies and Support Vector Machines. Springer, Berlin (2013)CrossRefGoogle Scholar
  4. 4.
    Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., Bengio, Y.: Learning phrase representations using RNN encoder-decoder for statistical machine translation (2014). arXiv preprint arXiv:1406.1078
  5. 5.
    Gu, J., Lu, Z., Li, H., Li, V.: Incorporating copying mechanism in sequence-to-sequence learning (2016). arXiv preprint arXiv:1603.06393
  6. 6.
    Ji, Z., Lu, Z., Li, H.: An information retrieval approach to short text conversation (2014). arXiv preprint arXiv:1408.6988
  7. 7.
    Kadlec, R., Schmid, M., Kleindienst, J.: Improved deep learning baselines for Ubuntu corpus dialogs (2015). arXiv preprint arXiv:1510.03753
  8. 8.
    Li, J., Galley, M., Brockett, C., Spithourakis, G., Gao, J., Dolan, B.: A persona-based neural conversation model (2016). arXiv preprint arXiv:1603.06155
  9. 9.
    Mikolov, T., Chen, K., Corrado, G., Dean, J.: Efficient estimation of word representations in vector space (2013). arXiv preprint arXiv:1301.3781
  10. 10.
    Pennington, J., Socher, R., Manning, C.D.: Glove: global vectors for word representation: In: EMNLP, vol. 14, pp. 1532–1543 (2014)Google Scholar
  11. 11.
    Ritter, A., Cherry, C., Dolan, W.: Data-driven response generation in social media. In: Proceedings of Empirical Methods in Natural Language Processing (2011)Google Scholar
  12. 12.
    Serban, I., Sordoni, A., Bengio, Y., Courville, A., Pineau, J.: Building end-to-end dialogue systems using generative hierarchical neural network models (2015). arXiv preprint arXiv:1507.04808
  13. 13.
    Shang, L., Lu, Z., Li, H.: Neural responding machine for short-text conversation (2015). arXiv preprint arXiv:1503.02364
  14. 14.
    Sordoni, A., Galley, M., Auli, M., Brockett, C., Ji, Y., Mitchell, M., Nie, J., Gao, J., Dolan, B.: A neural network approach to context-sensitive generation of conversational responses (2015). arXiv preprint arXiv:1506.06714
  15. 15.
    Sutskever, I., Vinyals, O., Le, Q.: Sequence to sequence learning with neural networks. In: Advances in Neural Information Processing Systems (2014)Google Scholar
  16. 16.
    Vinyals, O., Le, Q.: A neural conversational model (2015). arXiv preprint arXiv:1506.05869
  17. 17.
    Weizenbaum, J.: Eliza: a computer program for the study of NL communication between man and machine. Commun. ACM 9(1), 36–45 (1966)CrossRefGoogle Scholar
  18. 18.
    Yao, K., Zweig, G., Peng, B.: Attention with intention for a neural network conversation model (2015). arXiv preprint arXiv:1510.08565

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Adebayo Kolawole John
    • 1
  • Luigi Di Caro
    • 1
  • Livio Robaldo
    • 1
  • Guido Boella
    • 1
  1. 1.Dipartimento di InformaticaUniversita Di TorinoTorinoItaly

Personalised recommendations