journal article·2020-12-14Open access

Using BiLSTM Networks for Context-Aware Deep Sensitivity Labelling on Conversational Data

Antreas Pogiatzis, Georgios Samakovitis

Applied Sciences· Volume 10· Issue 24

Abstract

Information privacy is a critical design feature for any exchange system, with privacy-preserving applications requiring, most of the time, the identification and labelling of sensitive information. However, privacy and the concept of “sensitive information” are extremely elusive terms, as they are heavily dependent upon the context they are conveyed in. To accommodate such specificity, we first introduce a taxonomy of four context classes to categorise relationships of terms with their textual surroundings by meaning, interaction, precedence, and preference. We then propose a predictive context-aware model based on a Bidirectional Long Short Term Memory network with Conditional Random Fields (BiLSTM + CRF) to identify and label sensitive information in conversational data (multi-class sensitivity labelling). We train our model on a synthetic annotated dataset of real-world conversational data categorised in 13 sensitivity classes that we derive from the P3P standard. We parameterise and run a series of experiments featuring word and character embeddings and introduce a set of auxiliary features to improve model performance. Our results demonstrate that the BiLSTM + CRF model architecture with BERT embeddings and WordShape features is the most effective (F1 score 96.73%). Evaluation of the model is conducted under both temporal and semantic contexts, achieving a 76.33% F1 score on unseen data and outperforms Google’s Data Loss Prevention (DLP) system on sensitivity labelling tasks.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Privacy, Security, and Data Protection · Privacy-Preserving Technologies in Data · User Authentication and Security Systems

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computing and Mathematical Sciences, University of Greenwich, Old Royal Naval College, Park Row, Greenwich, London SE10 9LS, UK

References (55)

Show source-provided references
1. Nudges for privacy and security: Understanding and assisting users’ choices online10.1145/3054926 ↗
2. Privacy and rationality in individual decision making10.1109/MSP.2005.22 ↗
3. Wang, Y., Norcie, G., Komanduri, S., Acquisti, A., Leon, P.G., and Cranor, L.F. (2011, January 20–22). I regretted the minute I pressed share: A qualitative study of regrets on Facebook. Proceedings of the Seventh Symposium on Usable Privacy and Security, Pittsburgh, PA, USA.10.1145/2078827.2078841 ↗
4. Cranor, L., Dobbs, B., Egelman, S., Hogben, G., Humphrey, J., Langheinrich, M., Marchiori, M., Presler-Marshall, M., Reagle, J.M., and Schunter, M. (2006). The Platform for Privacy Preferences 1.1 (P3P1.1) Specification, World Wide Web Consortium. Note NOTE-P3P11-20061113.
5. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
6. Ma, X., and Hovy, E. (2016). End-to-end sequence labeling via bi-directional lstm-cnns-crf. arXiv.10.18653/v1/P16-1101 ↗
7. Lafferty, J., McCallum, A., and Pereira, F.C. (2020, June 13). Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data. Available online: https://repository.upenn.edu/cis_papers/159/.
8. Ong, Y.J., Qiao, M., Routray, R., and Raphael, R. (2017, January 25–30). Context-Aware Data Loss Prevention for Cloud Storage Services. Proceedings of the 2017 IEEE 10th International Conference on Cloud Computing (CLOUD), Honolulu, CA, USA.10.1109/CLOUD.2017.58 ↗
9. Alzhrani, K., Rudd, E.M., Boult, T.E., and Chow, C.E. (2016, January 28–30). Automated Big Text Security Classification. Proceedings of the 2016 IEEE Conference on Intelligence and Security Informatics (ISI), Tucson, AZ, USA.10.1109/ISI.2016.7745451 ↗
10. Hart, M., Manadhata, P., and Johnson, R. (2011, January 24). Text classification for data loss prevention. Proceedings of the 11th International Conference on Privacy Enhancing Technologies, Waterloo, ON, Canada.10.1007/978-3-642-22263-4_2 ↗
11. Gomez-Hidalgo, J.M., Martin-Abreu, J.M., Nieves, J., Santos, I., Brezo, F., and Bringas, P.G. (2010, January 20–22). Data leak prevention through named entity recognition. Proceedings of the 2010 IEEE Second International Conference on Social Computing, Minneapolis, MN, USA.10.1109/SocialCom.2010.167 ↗
12. Alneyadi, S., Sithirasenan, E., and Muthukkumarasamy, V. (2013, January 16–18). Word N-gram based classification for data leakage prevention. Proceedings of the 2013 12th IEEE International Conference on Trust, Security and Privacy in Computing and Communications, Melbourne, Australia.10.1109/TrustCom.2013.71 ↗
13. McDonald, G., Macdonald, C., Ounis, I., and Gollins, T. (2014). Towards a classifier for digital sensitivity review. European Conference on Information Retrieval, Springer.10.1007/978-3-319-06028-6_48 ↗
14. McDonald, G., Macdonald, C., and Ounis, I. (2017). Enhancing sensitivity classification with semantic features using word embeddings. European Conference on Information Retrieval, Springer.10.1007/978-3-319-56608-5_35 ↗
15. McDonald, G., Macdonald, C., and Ounis, I. (2015, January 27–30). Using part-of-speech n-grams for sensitive-text classification. Proceedings of the 2015 International Conference on The Theory of Information Retrieval, Northampton, MA, USA.10.1145/2808194.2809496 ↗
16. Caliskan Islam, A., Walsh, J., and Greenstadt, R. (2014, January 3). Privacy detective: Detecting private information and collective privacy behavior in a large social network. Proceedings of the 13th Workshop on Privacy in the Electronic Society, Scottsdale, AZ, USA.10.1145/2665943.2665958 ↗
17. Identifying tweets of personal health experience through word embedding and LSTM neural network10.1186/s12859-018-2198-y ↗
18. Sweeney, L. (1996, January 30). Replacing personally-identifying information in medical records, the Scrub system. Proceedings of the AMIA Annual Fall Symposium 1996, Washington, DC, USA.
19. Sánchez, D., Batet, M., and Viejo, A. (2012). Detecting sensitive information from textual documents: An information- theoretic approach. International Conference on Modeling Decisions for Artificial Intelligence, Springer.10.1007/978-3-642-34620-0_17 ↗
20. Mikolov, T., Sutskever, I., Chen, K., Corrado, G.S., and Dean, J. (2013). Distributed representations of words and phrases and their compositionality. Advances in Neural Information Processing Systems, ACM.
21. Pennington, J., Socher, R., and Manning, C.D. (2014, January 25–29). GloVe: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗
22. Ali, F., El-Sappagh, S., and Kwak, D. (2019). Fuzzy Ontology and LSTM-Based Text Mining: A Transportation Network Monitoring System for Assisting Travel. Sensors, 19.10.3390/s19020234 ↗
23. An intelligent healthcare monitoring framework using wearable sensors and social networking data10.1016/j.future.2020.07.047 ↗
24. An Integrated LSTM Neural Networks Approach to Sustainable Balanced Scorecard-Based Early Warning System10.1109/ACCESS.2020.2973514 ↗
25. Learning long-term dependencies with gradient descent is difficult10.1109/72.279181 ↗
26. Salehinejad, H., Sankar, S., Barfett, J., Colak, E., and Valaee, S. (2017). Recent advances in recurrent neural networks. arXiv.
27. The vanishing gradient problem during learning recurrent neural nets and problem solutions10.1142/S0218488598000094 ↗
28. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
29. Shi, B., Fu, Z., Bing, L., and Lam, W. (2018). Learning Domain-Sensitive and Sentiment-Aware Word Embeddings. arXiv.10.18653/v1/P18-1232 ↗
30. Le, Q., and Mikolov, T. (2014, January 21–26). Distributed representations of sentences and documents. Proceedings of the International Conference on Machine Learning, Beijing, China.
31. Narayanan, A., Chandramohan, M., Venkatesan, R., Chen, L., Liu, Y., and Jaiswal, S. (2017). graph2vec: Learning Distributed Representations of Graphs. arXiv.
32. Artieres, T. (2010, January 13–15). Neural conditional random fields. Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, Sardinia, Italy.
33. Lample, G., Ballesteros, M., Subramanian, S., Kawakami, K., and Dyer, C. (2016). Neural architectures for named entity recognition. arXiv.10.18653/v1/N16-1030 ↗
34. Narayanan, A., and Shmatikov, V. (2006). How to break anonymity of the netflix prize dataset. arXiv.
35. Emam, K., Mosquera, L., and Hoptroff, R. (2020). Practical Synthetic Data Generation: Balancing Privacy and the Broad Availability of Data, O’Reilly Media, Incorporated.
36. Frankenstein: Learning deep face representations using small data10.1109/TIP.2017.2756450 ↗
37. Das, A., Gkioxari, G., Lee, S., Parikh, D., and Batra, D. (2018). Neural Modular Control for Embodied Question Answering. arXiv.10.1109/CVPR.2018.00008 ↗
38. Patki, N., Wedge, R., and Veeramachaneni, K. (2016, January 17–19). The synthetic data vault. Proceedings of the 2016 IEEE International Conference on Data Science and Advanced Analytics (DSAA), Montreal, QC, Canada.10.1109/DSAA.2016.49 ↗
39. Kaur, H., Pannu, H.S., and Malhi, A.K. (2019). A Systematic Review on Imbalanced Data Challenges in Machine Learning: Applications and Solutions. ACM Comput. Surv., 52.10.1145/3343440 ↗
40. Cheng, G., Peddinti, V., Povey, D., Manohar, V., Khudanpur, S., and Yan, Y. (2017, January 20–24). An Exploration of Dropout with LSTMs. Proceedings of the Interspeech, Stockholm, Sweden.10.21437/Interspeech.2017-129 ↗
41. Wang, A., Singh, A., Michael, J., Hill, F., Levy, O., and Bowman, S.R. (2018). Glue: A multi-task benchmark and analysis platform for natural language understanding. arXiv.10.18653/v1/W18-5446 ↗
42. Talman, A., Yli-Jyrä, A., and Tiedemann, J. (2018). Natural Language Inference with Hierarchical BiLSTM Max Pooling Architecture. arXiv.
43. Bohnet, B., McDonald, R.T., Simões, G., Andor, D., Pitler, E., and Maynez, J. (2018). Morphosyntactic Tagging with a Meta-BiLSTM Model over Context Sensitive Token Encodings. arXiv.10.18653/v1/P18-1246 ↗
44. Reimers, N., and Gurevych, I. (2017). Reporting Score Distributions Makes a Difference: Performance Study of LSTM-networks for Sequence Tagging. arXiv.10.18653/v1/D17-1035 ↗
45. Si, Y., Wang, J., Xu, H., and Roberts, K. (2019). Enhancing Clinical Concept Extraction with Contextual Embedding. arXiv.10.1093/jamia/ocz096 ↗
46. MacAvaney, S., Yates, A., Cohan, A., and Goharian, N. (2019). CEDR: Contextualized Embeddings for Document Ranking. arXiv.10.1145/3331184.3331317 ↗
47. Reimers, N., Schiller, B., Beck, T., Daxenberger, J., Stab, C., and Gurevych, I. (August, January 28). Classification and Clustering of Arguments with Contextualized Word Embeddings. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy.
48. Gutiérrez, L., and Keith, B. (2018). A Systematic Literature Review on Word Embeddings. International Conference on Software Process Improvement, Springer.10.1007/978-3-030-01171-0_12 ↗
49. Xin, Y., Hart, E., Mahajan, V., and Ruvini, J. (2018). Learning Better Internal Structure of Words for Sequence Labeling. arXiv.10.18653/v1/D18-1279 ↗
50. Yuan, H., Yang, Z., Chen, X., Li, Y., and Liu, W. (2018, January 11–13). URL2Vec: URL Modeling with Character Embeddings for Fast and Accurate Phishing Website Detection. Proceedings of the 2018 IEEE International Conference on Parallel Distributed Processing with Applications, Ubiquitous Computing Communications, Big Data Cloud Computing, Social Computing Networking, Sustainable Computing Communications (ISPA/IUCC/BDCloud/SocialCom/SustainCom), Melbourne, Australia.10.1109/BDCloud.2018.00050 ↗
51. Zhai, Z., Nguyen, D.Q., and Verspoor, K. (2018). Comparing CNN and LSTM character-level embeddings in BiLSTM-CRF models for chemical and disease named entity recognition. arXiv.10.18653/v1/W18-5605 ↗
52. Tjong Kim Sang, E.F., and De Meulder, F. (June, January 31). Introduction to the CoNLL-2003 Shared Task: Language-Independent Named Entity Recognition. Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, Edmonton, Canada.10.3115/1119176.1119195 ↗
53. Zhu, S., and Yu, K. (2017, January 5–9). Encoder-decoder with focus-mechanism for sequence labelling based spoken language understanding. Proceedings of the 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), New Orleans, LA, USA.10.1109/ICASSP.2017.7953243 ↗
54. Pahuja, V., Laha, A., Mirkin, S., Raykar, V., Kotlerman, L., and Lev, G. (2017). Joint learning of correlated sequence labelling tasks using bidirectional recurrent neural networks. arXiv.10.21437/Interspeech.2017-1247 ↗
55. Survey on deep learning with class imbalance10.1186/s40537-019-0192-5 ↗