Extreme Multi-Label Skill Extraction Training using Large Language Models

Jens-Joris Decorte, Severine Verlinden, Jeroen Van Hautte, Johannes Deleu, Chris Develder, Thomas DemeesterarXiv 2023 · DOI

Introduction

Extracting professional skills from unstructured job advertisements is a critical task for labor market analysis and candidate matching. However, this task constitutes an Extreme Multi-Label Classification (XMLC) problem. The European Skills, Competences, Qualifications and Occupations (ESCO) ontology, for instance, contains nearly 14,000 distinct skills. Manually annotating a dataset of sufficient scale and coverage for such an extensive taxonomy is prohibitively expensive and requires specialized domain expertise.

Traditional approaches often rely on "distant supervision," which uses literal text matching to identify skills. This method frequently fails to capture synonyms, paraphrases, or implicit skill descriptions common in job postings. This paper addresses the data bottleneck by leveraging Large Language Models (LLMs) to generate high-quality synthetic training data covering the breadth of the ESCO ontology.

Methodology

The proposed approach utilizes a three-stage pipeline to train a robust skill extraction model without human-labeled data.

Overview of the synthetic data generation and contrastive learning pipeline.

1. Synthetic Data Generation

Rather than annotating existing text, the researchers adopted a "label-first" strategy. For each skill in the ESCO ontology, GPT-3.5 was prompted to generate hypothetical job ad sentences requiring that specific skill. This ensures comprehensive coverage of the 14,000 labels and provides diverse, natural language examples for each.

2. Contrastive Learning

The model employs a bi-encoder architecture (based on all-mpnet-base-v2). Through contrastive learning, the model is trained to minimize the distance between the vector representations of a skill name and its corresponding synthetic job ad sentence in a shared embedding space, while maximizing the distance between unrelated pairs.

3. Contextual Augmentation

To bridge the gap between clean synthetic sentences and noisy real-world job ads, the authors introduced a contextual augmentation strategy. During training, a "noise" sentence is randomly concatenated to the target sentence. This forces the model to identify the specific skill-bearing text within a larger context, improving its robustness to irrelevant information.

Experimental Results

The performance of the model was evaluated on three benchmarks: TECH, HOUSE, and TECHWOLF. The primary metric used was R-Precision@5 (RP@5), which measures the proportion of relevant skills within the top five predictions.

Performance comparison across TECH, HOUSE, and TECHWOLF benchmarks showing significant gains for the GPT-augmented models.

The results demonstrate a significant improvement over existing baselines. On the TECH benchmark, the proposed method (GPT sentences + Augmentation) achieved an RP@5 of 54.62%, a substantial increase from the 32.12% achieved by the distant supervision baseline. Across all benchmarks, the synthetic training approach yielded gains of 15 to 25 percentage points. Notably, even models trained on a single synthetic sentence per skill outperformed those trained on official ESCO descriptions, highlighting the value of the LLM's natural language output.

Discussion and Conclusion

The "label-first" synthetic generation approach effectively bypasses the alignment issues inherent in LLM-based annotation of pre-existing text. By focusing on entire sentences rather than short spans, the model captures the broader context and implicit meanings of skills. Furthermore, the use of contextual augmentation acts as a powerful regularizer, preventing overfitting on clean synthetic data.

While highly effective, the authors note potential limitations, including inherent LLM biases and the current focus on English-language data. Future work may involve extending this methodology to multilingual contexts and exploring its utility in identifying emerging skills not yet codified in formal ontologies.

Summary updated

BibTeX
@misc{decorte2023extreme,
  author = {Jens-Joris Decorte and Severine Verlinden and Jeroen Van Hautte and Johannes Deleu and Chris Develder and Thomas Demeester},
  title = {{Extreme Multi-Label Skill Extraction Training using Large Language Models}},
  year = {2023},
  eprint = {2307.10778},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.10778},
}
Figure