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:
- 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.
- 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.
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.
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