Detection of Personal Data in Unstructured Text Using Deep Learning Models
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
This thesis explores the detection of personal data in unstructured text using compact deep learning models for Named Entity Recognition (NER). It evaluates the performance of various deep-learning models, including a bidirectional LSTM and multiple versions of BERT, both with and without a Conditional Random Field (CRF) tag decoder. The primary goals are to evaluate these models based on F1-score, precision, recall, and inference speed, and to compare their effectiveness against an existing rule-based algorithm employed by the software company Northern Parklife AB. We find that these models significantly outperform the traditional rule-based approach on our synthetic dataset. Although there are concerns related to generalizability to real-world data, we conclude that integrating deep learning methodologies, possibly by augmenting existing rule-based systems with a compact model as a secondary validation layer, could potentially improve the sensitive personal data detection processes for organizations like Northern.
Place, publisher, year, edition, pages
2025.
Series
TRITA-SCI-GRU ; 2025:265
Keywords [en]
Named Entity Recogntion (NER), Language Models, Personally Identifiable Information (PII), Sensitive data, Transformers, BERT, Natural Language Processing (NLP), Sequence classification
National Category
Mathematical sciences
Identifiers
URN: urn:nbn:se:kth:diva-366684OAI: oai:DiVA.org:kth-366684DiVA, id: diva2:1982884
External cooperation
Northern Parklife AB
Subject / course
Mathematical Statistics
Educational program
Master of Science in Engineering - Engineering Mathematics
Supervisors
Examiners
2025-07-092025-07-092025-07-09Bibliographically approved