Abstract
As privacy regulations like GDPR become more stringent, the need for robust de-identification tools extends beyond the medical domain. This paper introduces JOBSTACK, a novel dataset for anonymizing personally identifiable information (PII) in job postings. We evaluate various sequence labeling architectures, finding that while Transformer-based models generally outperform LSTMs, domain-specific pre-training can be counter-intuitive. Furthermore, we demonstrate that multi-task learning (MTL) using auxiliary data from disparate domains—such as medical records and news—significantly enhances de-identification performance in the recruitment context.
Introduction
De-identification is the process of detecting and redacting sensitive personal information from text. Historically, this task has been centered on the medical domain to protect electronic health records (EHRs). However, the proliferation of large language models (LLMs) and their tendency to memorize training data has made de-identification critical for a broader range of public and semi-public documents.
Job descriptions, while public, often contain sensitive details including the names and contact information of recruiters, specific employee references, and proprietary company details. Despite this risk, there have been no dedicated datasets or established benchmarks for evaluating NLP models on recruitment-specific PII until now.
The JOBSTACK Dataset
The authors developed JOBSTACK, a dataset consisting of 395 English job postings scraped from StackOverflow and manually annotated. The dataset includes over 22,000 sentences and 239,000 tokens, with entities categorized into five types: Organization, Location, Profession, Contact, and Name.
Methodology
The study treats de-identification as a standard Named Entity Recognition (NER) task using word-level sequence labeling. Two primary architectures were compared:
- Bi-LSTM (Bilty): A recurrent neural network baseline, evaluated with and without a Conditional Random Field (CRF) layer.
- Transformer (MaChAmp): A modern approach fine-tuning BERT representations, also tested with and without a CRF layer.
To address the limited size of the JOBSTACK dataset, the researchers employed Multi-Task Learning (MTL). They trained models simultaneously on JOBSTACK and auxiliary datasets: I2B2/UTHealth (medical clinical notes) and CoNLL 2003 (news articles). The goal was to determine if the general linguistic context of privacy entities transfers across vastly different domains.
Key Insights
The Failure of Domain-Specific Pre-training
One of the most surprising findings was the performance of BERT_Overflow, a model pre-trained on StackOverflow Q&A data. While one might expect a model trained on the same platform's data to excel, it performed significantly worse than vanilla BERT_base. The authors suggest this is due to the stylistic gap: StackOverflow Q&A is informal and conversational, whereas job postings are structured and professional.
The Importance of CRF Layers
Even when using powerful Transformer models, the addition of a CRF layer proved beneficial. It improved precision and ensured the structural integrity of the predicted tags (e.g., preventing illegal transitions between "Inside" and "Outside" tags).
Results and Performance
Transformers consistently outperformed Bi-LSTM models. On the test set, the single-task Transformer baseline (BERT_base + CRF) achieved an F1 score of 79.91. However, the integration of Multi-Task Learning provided the most significant gains.
As shown in the results, the best performance was achieved by the MaChAmp model trained jointly on JOBSTACK and the I2B2 medical dataset, reaching a state-of-the-art F1 score of 82.05. This suggests that the underlying "concept" of a name or contact is universal enough that out-of-domain data serves as an effective regularizer.
Conclusion
This work establishes JOBSTACK as a vital benchmark for de-identification in the recruitment domain. The findings highlight that while domain-specific data is helpful, the style of the language (formal vs. informal) is a critical factor in model performance. Future research may focus on pre-training language models specifically on large-scale, unannotated job posting corpora to further refine these results.
Summary updated