Distilling Large Language Models using Skill-Occupation Graph Context for HR-Related Tasks

Pouya Pezeshkpour, Hayate Iso, Thom Lake, Nikita Bhutani, Estevam HruschkaarXiv 2023 · DOI

Introduction

In the rapidly evolving landscape of Human Resources (HR) technology, the application of Large Language Models (LLMs) faces significant hurdles. While models like GPT-4 demonstrate impressive reasoning capabilities, their deployment for high-volume tasks such as resume screening and job matching is often prohibited by high operational costs, latency issues, and stringent data privacy requirements. Furthermore, the HR domain is characterized by "low-resource" constraints; high-quality, annotated hiring data is typically proprietary and scarce in the public domain.

To address these challenges, researchers have introduced the Resume-Job Description Benchmark (RJDB). This initiative leverages knowledge distillation to create a massive synthetic dataset designed to train smaller, specialized "student" models that can match or exceed the performance of their larger "teacher" counterparts in specific recruitment tasks.

Methodology: Graph-Guided Distillation

The core innovation of this work lies in its Graph-Guided Generation approach. Rather than relying on unstructured prompts, the researchers utilized a curated bipartite Skill-Occupation Graph—sourced from professional platforms like Dice and the US Bureau of Labor Statistics—to steer the LLM.

Overview of the Knowledge Distillation pipeline using a Skill-Occupation Graph to guide GPT-4 in generating training data for T5 student models.

By sampling subgraphs (e.g., connecting a "Software Engineer" node to specific skills like "Java" and "SQL"), the team provided GPT-4 with a factual "skeleton" for document generation. This method ensures that the synthetic resumes and job descriptions (JDs) are grounded in real-world professional requirements, effectively preventing the hallucinations common in low-resource domain generation. The resulting dataset follows a "triple" format: a JD, a perfectly matched resume, and a strategically modified "unmatched" resume.

The RJDB Dataset

The RJDB consists of 52,000 triples, making it a robust resource for training HR-specific models. The dataset is diversified across five major occupational categories to ensure broad applicability.

Distribution of the 52,000 triples in the RJDB dataset across five primary occupational categories, highlighting a focus on Tech and Social/Finance sectors.

This structured diversity allows models to learn nuanced distinctions between candidates, such as identifying when a resume lacks critical skills or sufficient experience for a specific role.

Performance and Key Insights

The researchers fine-tuned Flan-T5 base models on four critical HR tasks: candidate matching, explanation generation, information extraction, and resume editing. The results revealed a significant "Student Surpasses Teacher" effect:

  • Superior Matching: The Flan-T5 student model achieved a 93.1 F1 score on the matching task, notably outperforming the GPT-4 teacher's 82.8 F1 score.
  • Enhanced Explainability: The student model was significantly more accurate at identifying specific reasons for a mismatch (53.7% vs. 37.8% for GPT-4).
  • Real-World Generalization: When tested on the real-world Machop dataset (sourced from Indeed.com), the model trained on synthetic RJDB data maintained an 80.5 F1 score, proving that graph-guided synthetic data effectively translates to actual HR environments.

Conclusion and Future Directions

The success of the RJDB framework suggests that for specialized domains, "small and specialized" models are often preferable to "large and general" ones. By using synthetic data as a "warm-up" phase, organizations can develop high-performing models before introducing sensitive, proprietary data.

Future work will focus on expanding the Skill-Occupation Graph to include more niche industries and refining the generation process to better account for demographic diversity and complex experience nuances, such as cultural fit and industry-specific soft skills.

Summary updated

BibTeX
@misc{pezeshkpour2023distilling,
  author = {Pouya Pezeshkpour and Hayate Iso and Thom Lake and Nikita Bhutani and Estevam Hruschka},
  title = {{Distilling Large Language Models using Skill-Occupation Graph Context for HR-Related Tasks}},
  year = {2023},
  eprint = {2311.06383},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.06383},
}
Figure