HRGraph: Leveraging LLMs for HR Data Knowledge Graphs with Information Propagation-based Job Recommendation

Azmine Toushik Wasi

TL;DR

This paper introduces HRGraph, a novel framework that leverages Large Language Models (LLMs) to construct knowledge graphs from Human Resources (HR) data. These HR knowledge graphs are then used for effective job matching and recommendation through information propagation, offering a more sophisticated approach to HR data management and talent acquisition.

What Problem Does This Paper Address?

The paper addresses the challenge of effectively managing and utilizing complex, interconnected HR data for tasks like recruitment and job matching. While knowledge graphs (KGs) are powerful for structuring and contextualizing data, practical implementations for HR data are limited. Existing approaches often lack detailed methodologies or real-world applications, especially those leveraging the recent advancements in LLMs for KG construction and information propagation for downstream HR tasks. The authors aim to bridge this gap by providing a framework that can create and utilize HR KGs for multiple applications.

Methods

The core of HRGraph involves using LLMs for entity extraction and relation extraction from HR documents like job descriptions (JDs) and Curriculum Vitaes (CVs). Specifically, they employ a Large Language Model (Gemini) for initial entity and relationship extraction, followed by post-processing to refine the entity set. Node features are then generated using pre-trained BERT embeddings. These components are combined to construct the HR knowledge graph. For downstream tasks like job recommendation, they utilize an "information propagation" framework on the KG. This involves identifying matching entities (skills, education, experience) between a job seeker's profile (CV KG) and job requirements (JD KG), forming a targeted subgraph, and then using node centrality within this subgraph to rank relevant job nodes. For job area classification, they employ Graph Neural Networks (GNNs) like GCN and GAT.

Datasets

The authors collected 200 CVs and 200 job descriptions from online job portals. The CVs were anonymized to remove personally identifiable information (PII). The dataset includes 20 categories of jobs and CVs targeting these jobs, such as Information Technology, Finance, Healthcare, and more. The data was manually labeled with the help of job portal filters.

Key Insights and Ideas

  • LLMs as powerful KG constructors for HR: The paper demonstrates that LLMs can effectively extract entities and relationships from unstructured HR text, forming the foundation for rich HR knowledge graphs.
  • Information Propagation for nuanced recommendations: By propagating information through the KG, the framework can identify more comprehensive matches beyond simple keyword overlap, leading to better job and employee recommendations. This is exemplified by a case study where a salesperson's CV, with accounting skills, was recommended for an accountant role.
  • GNNs complement KGs for classification: The study shows that GNNs, when applied to KG-derived features, perform competitively or even better than traditional machine learning models for tasks like job area classification.
  • HR KGs enable diverse downstream tasks: The HRGraph framework is designed to be versatile, supporting multiple HR functions like job matching, employee recommendation, and job area classification from a single KG.

Key Results

  • Recommendation Task: The information propagation framework on HRGraph provided strong recommendations with good accuracy and precision. Table 1 shows that for various N values (number of recommendations), the average accuracy and precision were consistently high, outperforming random recommendations and LLM entities directly. For example, with N=5, the average accuracy was 0.784 and average precision was 0.792 for employee recommendations.
  • Job Area Classification Task: KG-based GNN models (GCN and GAT) achieved competitive results, with GCN achieving an accuracy of 0.785 and precision of 0.800, and GAT achieving an accuracy of 0.775 and precision of 0.835. These results were comparable to or slightly better than traditional deep learning models.

Limitations and Future Work

  • LLM Hallucinations: The primary limitation acknowledged is the dependence on LLMs, which can be unreliable and prone to hallucinations, potentially leading to deviations from instructions.
  • Sophistication of Job Matching: The authors suggest that a more sophisticated job-matching algorithm could be designed.
  • Future Research: Further research is suggested to explore more advanced job-matching algorithms and to further examine the framework's capabilities.

Summary updated

BibTeX
@inproceedings{wasi2024hrgraph,
  author = {Azmine Toushik Wasi},
  title = {{HRGraph: Leveraging LLMs for HR Data Knowledge Graphs with Information Propagation-based Job Recommendation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
}
Figure