arXiv:2610.36383cs.LGOct 2026

Manuscript Offprint

arXiv:2610.36383

From Generation to Scoring: Scaling LLM-Based Semantic Labeling at LinkedIn

Jian Sheng, Sriram Vasudevan, Sundara Raman Ramachandran, Yang Hu, Junyu Zhou, Xiaojing Ma, Haolan Qin, Tiffany Zhou, Vedant Vipul Jhaveri, Ashwini Bhingare, Chinmay Kini, Qing Lan, Xiaoqing Wang, Suleyman Cetintas, Fedor Borisyuk

Jian Sheng 1∗^{1*} Sriram Vasudevan 1∗^{1*} Sundara Raman Ramachandran 1∗^{1*} Yang Hu 1∗^{1*} Junyu Zhou 1∗^{1*} Xiaojing Ma 1∗^{1*} Haolan Qin 1^{1} Tiffany Zhou 1^{1} Vedant Jhaveri 1^{1} Ashwini Bhingare 1^{1} Chinmay Kini 1^{1} Qing Lan 1^{1} Xiaoqing Wang 1^{1} Suleyman Cetintas 1^{1} Fedor Borisyuk 1^{1}

ABSTRACT

For efficiency, industrial large language model (LLM) labelers often pack many candidate labels into one prompt and generate a YES/NO answer for each, even when each decision depends only on the entity and one candidate. Generating these independent decisions as one answer list couples them, spends decoding on the list, and relies on the list being well-formed. In this paper, we present an end-to-end recipe that reformulates the labeler as semantic scoring, fine-tuning it on single-candidate prompts to return each decision as one answer-token score from a prefill-only pass, and we adapt Multiple-Item Scoring (MIS) to score hundreds of candidates in one sequence with attention masked between them. Deployed for profile qualification labeling at LinkedIn, semantic scoring changes at most 0.01% of decisions when candidates are reordered and matches the agreement with reference labels that packed generation reaches only with about 4.7×4.7\times as many training pairs, and the MIS-based stack raises throughput over the deployed stack by 1.24×1.24\times offline and 1.9×1.9\times in model serving under a one-second p99 latency target. For offline batch inference, we implement MIS-based scoring as a reusable, model-agnostic Ray Data API, proposed upstream, and model serving uses MIS support contributed to SGLang.

1 INTRODUCTION

Large language models (LLMs) are increasingly used to label, classify, and judge content (Gilardi et al., 2023; Zheng et al., 2023). A common industrial pattern precomputes which candidate labels apply to each entity and serves the decisions from storage, so labeling cost depends on the number of entity–label judgments and on execution efficiency.

At LinkedIn, the qualification labeling system identifies which qualifications from a catalog of skills, experience, education, and licenses are supported by the information in a member profile. Labeling runs in offline batch inference and on a streaming update path for profile changes, and downstream matching and ranking reuse the stored predictions. Each prediction should therefore depend only on its profile–qualification pair. The catalog and downstream models are outside the paper’s scope.

Each member’s workload pairs one long profile with many short candidate qualifications supplied by retrieval. The existing LLM labeler uses packed generation, a form of batch prompting (Cheng et al., 2023), to answer several qualifications in one prompt, sharing profile encoding but making each answer depend on the other qualifications and on earlier answers (Section 2.4). The key distinction is between sharing computation and coupling predictions. Packing shares the profile encoding, but generating independent decisions as one answer list also couples them, spends decoding on the list, and relies on the list being well-formed.

We instead use an end-to-end recipe that reformulates labeling as semantic scoring, which treats each judgment as pointwise ranking and assigns an independent score to each profile–qualification pair from one prefill pass (Section 3). Scoring one candidate per request keeps decisions independent but repeats the profile in every request, sustaining only about 90 labels/s in model serving against 2.5K for packed generation (Section 6.4). Multiple-Item Scoring (MIS), which our prior work introduced for online LLM ranking (Li et al., 2026; Borisyuk et al., 2026), makes the formulation practical by executing a round of these scores in one request, sharing profile encoding without cross-item interaction (Section 4).

Semantic scoring changes at most 0.01% of labels when candidates are reordered, at least 86×86\times fewer than packed generation with the most training data (Section 6.2). Its agreement with reference labels at 45K training pairs takes packed generation about 210K pairs to match. Compared with the deployed packed-generation stack, our MIS-based scoring stack raises labeling throughput by 1.24×1.24\times in of-

∗^{*}Equal contribution 1^{1}LinkedIn. Correspondence to: Jian Sheng jsheng@linkedin.com.

fine batch inference at each stack’s best batch configuration and by 1.9×1.9\times in model serving for profile updates at a matched one-second 99th-percentile latency target (Section 6.3). These are stack-level comparisons: the stacks also differ in engine, checkpoint, prompt format, and runtime tuning, so the ratios measure the integrated system rather than MIS alone.

Answer-token readout, label-only fine-tuning, and MIS with its candidate-isolating mask each have precedents (Section 8); MIS-based scoring as a batch-inference API in Ray Data is new. We contribute a training and inference system that moves a production labeler from generation to scoring:

  1. Generation-to-scoring recipe. We replace generated answer lists with independent per-item scores through shared-prefix prompts, label-only fine-tuning on reference labels, and an answer-token readout whose decision threshold can be set without retraining (Section 3).

  2. MIS scoring for batch inference. We adapt MIS (Li et al., 2026) from online ranking to labeling and analyze its cost in prefill tokens per label (Section 4). We implement it as a model-agnostic scoring API for Ray Data batch inference, proposed upstream, which turns one shared query and its candidates into item-aligned scores (Section 5).

  3. Deployment and evaluation on both paths. We run one per-candidate decision contract in both offline batch inference and model serving for profile updates, with MIS in SGLang for model serving (Section 5). We evaluate agreement with reference labels, order sensitivity, stack-level throughput, and request sizing for one long profile with hundreds of short candidates (Sections 6–7).

References (25)