[Paper Review] Comparative Analysis of Encoder-Based NER and Large Language Models for Skill Extraction from Russian Job Vacancies
This study compares encoder-based Named Entity Recognition (NER) models and Large Language Models (LLMs) for skill extraction from Russian job vacancies. Using a dataset of 4,000 training and 1,472 test vacancies, it finds that traditional NER models—particularly the fine-tuned DeepPavlov RuBERT NER—outperform LLMs in F1 score, inference speed, and cost efficiency, demonstrating their superior suitability for structured skill extraction in low-resource, non-English contexts.
The labor market is undergoing rapid changes, with increasing demands on job seekers and a surge in job openings. Identifying essential skills and competencies from job descriptions is challenging due to varying employer requirements and the omission of key skills. This study addresses these challenges by comparing traditional Named Entity Recognition (NER) methods based on encoders with Large Language Models (LLMs) for extracting skills from Russian job vacancies. Using a labeled dataset of 4,000 job vacancies for training and 1,472 for testing, the performance of both approaches is evaluated. Results indicate that traditional NER models, especially DeepPavlov RuBERT NER tuned, outperform LLMs across various metrics including accuracy, precision, recall, and inference time. The findings suggest that traditional NER models provide more effective and efficient solutions for skill extraction, enhancing job requirement clarity and aiding job seekers in aligning their qualifications with employer expectations. This research contributes to the field of natural language processing (NLP) and its application in the labor market, particularly in non-English contexts.
Motivation & Objective
- To address the challenge of inconsistent and incomplete skill representation in Russian job descriptions.
- To evaluate and compare the performance of encoder-based NER models and LLMs in extracting skills from Russian job vacancies.
- To assess not only accuracy but also inference time and cost efficiency for practical deployment.
- To provide evidence-based guidance on selecting optimal models for automated skill extraction in non-English, low-resource NLP settings.
Proposed method
- Trained and evaluated four encoder-based NER models, including a fine-tuned version of DeepPavlov RuBERT NER, on a labeled dataset of 4,000 Russian job vacancies.
- Evaluated four LLMs—GPT-4o, GigaChat, YandexGPT, and LLAMA 3—on the same test set of 1,472 vacancies for skill extraction.
- Used standard NLP metrics: precision, recall, F1 score, inference time per vacancy, and inference cost per vacancy.
- Applied zero-shot and few-shot prompting strategies for LLMs, with prompt engineering tailored to the skill extraction task.
- Conducted ablation studies to assess the impact of prompt design and model size on performance.
- Compared model efficiency by measuring inference time and cost, with costs calculated based on API pricing models.
Experimental results
Research questions
- RQ1How do encoder-based NER models compare to LLMs in F1 score for skill extraction from Russian job vacancies?
- RQ2What is the trade-off between performance and inference time in skill extraction using LLMs versus traditional NER models?
- RQ3How do model size and cost vary across LLMs, and what is their impact on practical deployment?
- RQ4Can LLMs effectively extract structured skill entities from Russian job descriptions despite their generative nature?
- RQ5Does fine-tuning improve the performance of NER models over their base versions in this low-resource, non-English setting?
Key findings
- The fine-tuned DeepPavlov RuBERT NER model achieved the highest F1 score of 0.84, significantly outperforming all evaluated LLMs.
- LLMs exhibited substantially longer inference times, with GPT-4o taking 2.814 seconds per vacancy and YandexGPT at 1.835 seconds.
- The GPT-4o model incurred the highest inference cost at $4.37 per vacancy, while YandexGPT was the most expensive at $6.71.
- GigaChat showed the most favorable cost-performance trade-off among LLMs, with an inference cost of $1.39 and an F1 score of 0.47.
- Despite their advanced language understanding, LLMs like YandexGPT and LLAMA 3 underperformed with F1 scores of 0.33 and 0.37, respectively.
- Traditional NER models demonstrated superior reliability and efficiency, making them more suitable for production-scale skill extraction in Russian job markets.
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.