Abstract
Reciprocal recommendation systems (RRS) are essential in matching markets such as online recruitment and dating, where a successful outcome requires mutual consent. Unlike traditional one-way recommendations, RRS must navigate extreme data sparsity and the divergent preferences of two distinct parties. We present KAERR (Knowledge-Aware Explainable Reciprocal Recommendation), a framework that integrates knowledge graphs (KG) to bridge data gaps and employs a dual-perspective metapath encoder to model the unique intents of both participants. KAERR achieves state-of-the-art accuracy on large-scale recruitment datasets and provides interpretable explanations through attentive metapath fusion.
Introduction
In traditional recommendation systems, the goal is to predict a user's preference for an item. However, in Reciprocal Recommendation (RRS), the "item" is another human agent with their own set of requirements. This dual-sided nature introduces significant complexity. For instance, in job recruitment, a candidate may prioritize salary and location, while a recruiter focuses on specific technical skills and years of experience.
RRS faces three primary challenges:
- Data Sparsity: Interactions are rare; once a match is made, both parties typically leave the platform. This "bidirectional inactivation" leaves models with very few signals to learn from.
- Unstructured Data: Resumes and job descriptions are often free-text, complicating precise preference extraction.
- The Perspective Gap: A single matching score often fails to capture why each side found the other appealing. A recruiter and a candidate look at the same data through different lenses.
The KAERR Framework
KAERR addresses these issues by leveraging the structural power of Knowledge Graphs and the sequential modeling capabilities of Recurrent Neural Networks.
Knowledge Graph and Metapath Extraction
To combat data sparsity, KAERR incorporates auxiliary information—such as skills, degrees, and salary ranges—into a heterogeneous Knowledge Graph. The system then extracts "metapaths," which are semantic sequences connecting a candidate ($c_i$) to a job ($j_k$). For example, a path might be Candidate -> HasSkill -> RequiredSkill -> Job. These paths serve as the fundamental units of reasoning, bridging the gap between entities in the graph.
Dual-Perspective Encoding
The core innovation of KAERR is the Dual-Perspective Metapath Encoder. Recognizing that symmetry in matching is often an illusion, the model uses Bidirectional LSTMs (BiLSTMs) to process metapaths from two directions. One direction models the candidate’s perspective (intent), while the reverse models the recruiter’s perspective. This allows the framework to learn distinct feature representations for the same interaction, capturing the unique motivations of both parties.
Attentive Fusion and Loss Function
Not all metapaths are equally relevant to a decision. KAERR employs an attention mechanism to weight these paths, identifying which factors (e.g., location vs. skill match) drove the recommendation. The model is trained using a Bilateral Quadruple-based Loss, which accounts for both successful mutual matches and "unilateral" matches (where one side reached out but was rejected), helping the model learn the boundaries of a "good" match more effectively.
Experimental Evaluation
The framework was evaluated on two real-world datasets: Zhaopin (a major Chinese recruitment platform) and UEM (University-Enterprise Matching).
KAERR demonstrated superior performance against several baselines, including LightGCN and DPGNN. On the Zhaopin dataset, KAERR achieved a Recall@5 of 0.9477, a significant jump over previous hybrid models. Ablation studies confirmed that the dual-perspective modeling and the inclusion of KG side-information were the primary drivers of this performance leap.
Explainability and Case Studies
One of KAERR's greatest strengths is its inherent transparency. By analyzing the attention weights assigned to various metapaths, the system can provide human-readable justifications for its scores.
As shown in the case studies, the model can distinguish between a high-confidence match (e.g., matching score of 0.88) where multiple paths like salary, location, and skills align, and a poor match (e.g., score of 0.49) where critical requirements are missing. Because the model assigns weights to specific paths, it can explicitly state: "We recommended this job because it matches your location preference and requires your specific skill in Accounting."
Conclusion
KAERR represents a significant step forward in reciprocal recommendation. By treating matching as a dual-intent process and grounding it in a structured knowledge graph, the framework provides both high accuracy and much-needed explainability. Future work will explore automated metapath discovery to reduce reliance on human-defined patterns and extend the dual-perspective approach to other social and economic matching domains.
Summary updated