[Paper Review] Extreme Multi-Label Skill Extraction Training using Large Language Models
This paper proposes a cost-effective method to train extreme multi-label skill extraction models using synthetic data generated by large language models (LLMs) and contrastive learning. By creating 138K synthetic (skill, job ad sentence) pairs from the ESCO ontology and applying a novel augmentation strategy, the approach achieves a 15–25 percentage point improvement in R-Precision@5 over distant supervision baselines, outperforming even models trained on real descriptions.
Online job ads serve as a valuable source of information for skill requirements, playing a crucial role in labor market analysis and e-recruitment processes. Since such ads are typically formatted in free text, natural language processing (NLP) technologies are required to automatically process them. We specifically focus on the task of detecting skills (mentioned literally, or implicitly described) and linking them to a large skill ontology, making it a challenging case of extreme multi-label classification (XMLC). Given that there is no sizable labeled (training) dataset are available for this specific XMLC task, we propose techniques to leverage general Large Language Models (LLMs). We describe a cost-effective approach to generate an accurate, fully synthetic labeled dataset for skill extraction, and present a contrastive learning strategy that proves effective in the task. Our results across three skill extraction benchmarks show a consistent increase of between 15 to 25 percentage points in extit{R-Precision@5} compared to previously published results that relied solely on distant supervision through literal matches.
Motivation & Objective
- To address the lack of large-scale, high-quality labeled datasets for extreme multi-label skill extraction in job ads.
- To develop a cost-effective, fully synthetic data generation pipeline using LLMs grounded in the ESCO ontology.
- To improve skill extraction performance through contrastive learning that aligns sentence and skill representations in embedding space.
- To introduce a simple yet effective data augmentation strategy that enhances model generalization.
- To release a comprehensive 138K (skill, sentence) dataset covering 99.5% of the ESCO ontology to support future research.
Proposed method
- Leverage a large language model to generate 138K synthetic job ad sentences, each grounded in a skill from the ESCO ontology and its description.
- Fine-tune a sentence-transformer bi-encoder model using contrastive learning to embed both skill names and their corresponding synthetic sentences in the same vector space.
- Apply a data augmentation technique that concatenates each (skill, sentence) pair with a random, unrelated sentence, forcing the model to focus on the relevant context.
- Optimize the model using contrastive loss to minimize the distance between positive (skill, sentence) pairs and maximize it between negative pairs in a batch.
- Use the average of token embeddings as the final sentence representation for interpretability and downstream inference.
- Train and evaluate the model on three benchmarks: TECH, HOUSE, and a proprietary TECHWOLF set, using MRR and R-Precision@5 as metrics.
Experimental results
Research questions
- RQ1Can LLM-generated synthetic data outperform real-world annotated data in skill extraction when no large labeled dataset exists?
- RQ2Does contrastive learning on full sentences, rather than text spans, improve skill extraction performance compared to span-based methods?
- RQ3How effective is a simple data augmentation strategy that concatenates unrelated sentences during training?
- RQ4Can a single synthetic sentence per skill outperform models trained on ESCO skill descriptions?
- RQ5To what extent does increasing the number of synthetic sentences per skill improve model performance?
Key findings
- The proposed method achieves a 15–25 percentage point increase in R-Precision@5 compared to a distant supervision baseline using literal matches.
- Using just one synthetic sentence per skill already outperforms models trained on ESCO skill descriptions, demonstrating the quality of LLM-generated data.
- The model trained on GPT-generated sentences with augmentation achieves 54.62 R-Precision@5 on the TECH benchmark, 54.57 on TECHWOLF, and 45.74 on HOUSE.
- The augmentation strategy consistently improves performance across all benchmarks, with the highest gains observed on the TECHWOLF set (from 46.50 to 52.55 R-Precision@5).
- Performance improves with more training data, but even a single sentence per skill yields superior results to description-based training.
- The model trained on synthetic data surpasses the performance of the all-mpnet-base-v2 model fine-tuned on real data, indicating the effectiveness of the synthetic data generation and contrastive learning pipeline.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.