Understanding and Modeling Job Marketplace with Pretrained Language Models

Yaochen Zhu, Liang Wu, Binchi Zhang, Song Wang, Qi Guo, Liangjie Hong, Luke Simon, Jundong Li

Abstract

The job marketplace is a complex heterogeneous graph comprising members, jobs, and companies. Traditional approaches often struggle to balance deep textual understanding with structural graph awareness. This paper introduces PLM4Job, a foundation model that integrates Pretrained Language Models (PLMs) with heterogeneous graph structures through ego-graph-based prompting and proximity-aware attention. Evaluated on LinkedIn datasets, PLM4Job demonstrates superior performance in skill prediction and job recommendation tasks compared to state-of-the-art Graph Neural Networks and standard language models.

Introduction

The modern job marketplace is inherently heterogeneous, characterized by diverse entities—such as members, jobs, and companies—and their multifaceted interactions (e.g., applying for jobs, following members, or co-working). Effectively modeling this environment requires capturing both the rich semantic information within biographies and job descriptions and the topological structure of the marketplace graph.

Existing methods typically follow one of two paradigms:

  1. GNN-based methods: These are proficient at modeling graph topology but often treat text as shallow "bag-of-words" features, losing the nuanced reasoning capabilities of modern PLMs.
  2. PLM-based methods: While excellent at text processing, they struggle to incorporate graph structure efficiently. Describing connections in natural language is often verbose and fails to align the model's internal attention with the actual graph topology.

PLM4Job bridges this gap by enabling the model to process text and graph structure simultaneously.

Methodology

PLM4Job introduces several architectural innovations to a standard transformer backbone (GPT-2) to create a graph-aware foundation model.

Ego-Graph-based Prompting

The model extends the PLM vocabulary with special node tokens (e.g., <member_i>, <job_j>). Each token is enriched with entity type embeddings and graph positional embeddings, which represent the shortest distance to the center node. This allows the model to "see" the local neighborhood structure directly within the input sequence.

Figure 1: The Job Marketplace Ego-Graph is transformed into an Ego-Graph-based Prompt by mapping nodes to specialized tokens with positional and entity embeddings.

Structural Modeling and Attention Alignment

To capture higher-order relationships, such as "members interested in the same jobs," the model is pretrained on metapaths. This approach aggregates information across the graph without requiring lengthy textual descriptions.

Figure 4: An example of a higher-order structural modeling prompt where the model predicts members interested in similar jobs based on a specific metapath.

A key technical contribution is Proximity-Aware Attention Alignment. The authors modify the PLM's attention mechanism to dynamically adjust weights based on graph proximity. By mathematically encouraging the model to pay more attention to nodes that are closely related in the marketplace graph, the model's reasoning becomes topologically aware (as detailed in Equation 4 of the original paper).

Evaluation and Results

The model was evaluated using a real-world LinkedIn dataset containing approximately 70,000 members, 63,000 jobs, and over 1.3 million interactions.

Performance Metrics

PLM4Job consistently outperformed specialized heterogeneous GNNs (e.g., HAN, HetGNN) and graph transformers (e.g., Graphormer) across various tasks:

  • Node-Level Tasks: The model achieved an accuracy of 0.8187 for coding skill prediction and 0.6937 for online job preference.
  • Link-Level Tasks: In member-job interaction prediction, it reached a Recall@20 of 0.1545, outperforming the best PLM-based baseline (InstructGCL) by nearly 8%.

Real-World Impact

Beyond benchmark datasets, PLM4Job embeddings were integrated into LinkedIn's production systems, including "Jobs You May Be Interested In" (JYMBII) and "People You May Know" (PYMK), providing a measurable performance lift over existing production models.

Discussion and Future Work

While PLM4Job represents a significant step forward, several challenges remain. The computational cost of real-time graph inference with larger LLMs (e.g., Llama-3) is a concern for production environments with strict latency requirements. Additionally, the current model operates on graph snapshots; future iterations could explore dynamic updates to embeddings as the marketplace evolves. Finally, addressing the "cold-start" problem—handling new nodes with no existing edges—remains an area for further research.

Summary updated

BibTeX
@inproceedings{zhu2024understanding,
  author = {Yaochen Zhu and Liang Wu and Binchi Zhang and Song Wang and Qi Guo and Liangjie Hong and Luke Simon and Jundong Li},
  title = {{Understanding and Modeling Job Marketplace with Pretrained Language Models}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2024},
  url = {https://openreview.net/forum?id=spioPiMkYB},
}
Figure