An Efficient Long-Context Ranking Architecture With Calibrated LLM Distillation: Application to Person-Job Fit
Warren Jouanneau, Emma Jouffroy, Marc Palyart
TL;DR
This work tackles real-time, cross-language person–project matching with long, structured resumes. It introduces a calibrated distillation framework where a generative LLM serves as a teacher to generate semantically grounded relevance scores, which are then mimicked by a lightweight two-branch reranker that processes utterance-level representations and uses late cross-attention to form detailed similarity distributions. Training leverages pointwise MSE, pairwise Calibrated Margin MSE Distillation (CMMD), and listwise CalID distillation to align both relative rankings and absolute score magnitudes with the teacher, yielding semantically calibrated scores in $[0,1]$ for robust ranking and interpretability. The approach delivers strong relevance, ranking, and calibration performance while maintaining real-time efficiency (e.g., processing 1,000 pairs in under a minute with precomputed embeddings) and demonstrates resilience to multilingual and out-of-distribution inputs. This has practical impact for scalable, transparent HR recommender systems across languages and domains.
Abstract
Finding the most relevant person for a job proposal in real time is challenging, especially when resumes are long, structured, and multilingual. In this paper, we propose a re-ranking model based on a new generation of late cross-attention architecture, that decomposes both resumes and project briefs to efficiently handle long-context inputs with minimal computational overhead. To mitigate historical data biases, we use a generative large language model (LLM) as a teacher, generating fine-grained, semantically grounded supervision. This signal is distilled into our student model via an enriched distillation loss function. The resulting model produces skill-fit scores that enable consistent and interpretable person-job matching. Experiments on relevance, ranking, and calibration metrics demonstrate that our approach outperforms state-of-the-art baselines.
