Domain-Adapted Foundation Models for Enterprise-Scale LLM Deployment

linkedin · Tech · 2024 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Enterprise-scale domain-adapted foundation models

LinkedIn needed lower-cost, lower-latency, domain-specific GenAI models for a 1B+ member platform where proprietary models were strong but expensive, slow, and less tuned to LinkedIn's Economic Graph and professional workflows.

Constraints:

Architecture

LinkedIn built EON, a family of domain-adapted foundation models. EON adapts open-source/third-party foundation models with LinkedIn Economic Graph data, multi-task instruction tuning with reasoning traces, prompt simplification, synthetic safe outputs, preference/safety alignment via RLHF and DPO, and an on-prem Kubernetes training pipeline covering preprocessing, training, offline inference, and evaluation. EON-8B then powers key parts of Hiring Assistant's candidate/job evaluation agent.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  linkedin-economic-graph-data["LinkedIn Economic Graph data"] --> training-data-pipeline["Training data pipeline"]
  training-data-pipeline --> multi-task-instruction-tuning["Multi-task instruction tuning"]
  multi-task-instruction-tuning --> preference-and-safety-alignment["Preference and safety alignment"]
  preference-and-safety-alignment --> eon-models["EON models"]
  eon-models --> evaluation-suite["Evaluation suite"]
  eon-models --> hiring-assistant-evaluation-agent["Hiring Assistant evaluation agent"]
  hiring-assistant-evaluation-agent --> recruiter-workflow["Recruiter workflow"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
LinkedIn Economic Graph data Domain-specific professional graph data and context for LinkedIn member/customer experiences. Training data pipeline
Training data pipeline Preprocessing, filtering, prompt simplification, safety examples, and domain/instruction data preparation. Multi-task instruction tuning
Multi-task instruction tuning Reasoning-trace instruction tuning step for EON domain adaptation. Preference and safety alignment
Preference and safety alignment RLHF/DPO and safe-output alignment to meet responsible AI principles. EON models
EON models Domain-adapted 8B and 70B foundation models for LinkedIn use cases. Evaluation suite, Hiring Assistant evaluation agent
Evaluation suite Open-source, LinkedIn, GPT-judge, safety, cost, and product benchmarks. EON models
Hiring Assistant evaluation agent Agent that parses candidate/job contexts and assesses candidate-job match. EON models, Recruiter workflow
Recruiter workflow Human recruiting workflow where users approve/update AI-generated matching criteria. Hiring Assistant evaluation agent

Data flow

LinkedIn collects high-quality diverse training data, including Economic Graph/domain data and synthetically generated safety examples. The EON pipeline preprocesses data, trains candidate open-source LLMs, runs offline inference, evaluates quality/safety/cost, and deploys the selected EON model into product flows such as Hiring Assistant's evaluation agent.

“Built on top of on-premise Kubernetes platform, the EON training pipeline is designed as an end-to-end solution, connecting all the necessary jobs within a single, integrated system.”article, stated
“This includes data preprocessing, model training, offline inference, and comprehensive evaluation”article, stated

Why this architecture

EON occupies a middle ground between proprietary frontier models and base open models: it adapts smaller models to LinkedIn's domain to lower cost/latency while preserving instruction-following, safety, and generalization. The pipeline is end-to-end so candidate models can be repeatedly trained, evaluated, and deployed into high-volume product agents.

“These models generated high-quality text, yet latency and cost was a concern.”article, stated
“EON models should generalize to a wide set of LinkedIn-specific use cases, while preserving (even extending) the base model’s instruction following and generalization capabilities.”article, stated

Models used: EON-8B · EON-70B · Llama 3.1-8B · Llama-3-8B-instruct · GPT-4 · GPT-4o · GPT-4o mini · Mixtral · Mistral · InBart

Scale

Alternatives considered (roads not taken)

Use GPT-4 for scaled LinkedIn GenAI features

Rejected because: GPT-4 accelerated early launches but had latency and cost concerns at LinkedIn scale.

“In 2023, OpenAI’s GPT-4 models accelerated our efforts with GAI and enabled the launch”article, stated

Use base open-source models without domain adaptation

Rejected because: EON adaptation improved professional-domain tasks and Hiring Assistant matching beyond base Llama.

“EON-8B model supporting the evaluation agent significantly improved candidate-job-requirements matching accuracy”article, stated

Rely only on raw benchmark scores

Rejected because: LinkedIn treats open-source/GPT-judge metrics as directional and uses human evaluation/product benchmarks where needed.

“While these metrics don’t completely replace human evaluation as raw scores, they provide a reliable directional signal on model quality.”article, stated

Patterns

fine-tuning-adaptation (model-ops)

LinkedIn domain-adapted open-source foundation models with multi-task instruction tuning and reasoning traces.

“The EON models are trained in two steps: 1.) Multi-task instruction tuning with reasoning traces; and 2.) Preference and safety alignment”article, stated

model-routing (model-ops)

LinkedIn selected and evaluated multiple SOTA foundation models before domain adapting them for EON.

“we measured the quality of multiple SOTA foundation models such as Llama, Mixtral and Mistral, after domain-adapting them.”article, stated

llm-as-judge (evaluation)

GPT-4 variants judged model quality when reliable reference labels were absent.

“In the absence of reliable reference labels, we used GPT-4 variants as a judge.”article, stated

multi-agent-orchestration (agent)

Hiring Assistant breaks recruiter queries into multiple steps through an orchestration layer, including an evaluation agent.

“This product automates recruiters' repetitive tasks by breaking down queries into multiple steps through an orchestration layer.”article, stated

Tradeoffs

Invest in EON domain-adapted models

Chose LinkedIn-tuned smaller foundation models over Serving GPT-4/GPT-4o for every use case.

Rationale: Domain adaptation improved cost efficiency and specialized performance at LinkedIn scale.

“rapid development and scaling of new GenAI experiences on LinkedIn’s platform at lower cost.”article, stated

Use reasoning traces and multi-task instructions

Chose Reasoning-augmented multi-task tuning over Single-task fine-tuning only.

Rationale: EON needed to generalize across many LinkedIn-specific professional tasks.

“Multi-task instruction tuning with high quality, diverse instructions and reasoning achieves SOTA performance on tasks seen during training and even improves domain-specific generalization.”article, stated

Standardize prompts

Chose Prompt simplification over Complex human-written prompts.

Rationale: Prompt simplification reduced token size and standardized model behavior.

“prompt simplification strategies to standardize complex human-written prompts, which led to a 30% reduction in prompt size.”article, stated

Gotchas (what bit them)

Proprietary model quality did not remove latency and cost pressure.

Root cause: LinkedIn's platform scale makes GPT-4-style serving expensive and latency-sensitive.

Resolution: Build smaller domain-adapted models that retain quality on professional tasks.

“These models generated high-quality text, yet latency and cost was a concern.”article, stated

Task-specific domain tuning can harm generalization and safety.

Root cause: Fine-tuning can reduce out-of-box safety and generalization if data is narrow or unbalanced.

Resolution: Use diverse data, reasoning-augmented multi-task instruction tuning, synthetic safety outputs, and alignment steps.

“Although multi-task instruction tuning initially led to a drop in performance on these benchmarks, the use of synthetic data and safety alignment steps helped recover the performance.”article, stated

Hiring Assistant's evaluation agent dominates LLM call volume.

Root cause: Candidate-job matching requires parsing extensive candidate and job context at high scale.

Resolution: Use a fast, accurate domain-adapted model for the evaluation agent.

“Given the scale of evaluation, the underlying model must be fast and accurate.”article, stated

Evaluation

LinkedIn evaluated EON with open-source frameworks, LinkedIn benchmarks, GPT-4 judge variants, safety benchmarks, cost-efficiency measurements, human annotations, and product metrics for Hiring Assistant.

Metrics: ARC, MuSR, IFEval, BFCL · LinkedIn benchmarks · GPT-4-as-judge where labels were absent · Safety compliance · GPU cost efficiency versus GPT-4/GPT-4o · Candidate-job-requirements matching accuracy

“we leverage open-source frameworks such as LM Evaluation Harness to measure performance on popular benchmarks”article, stated
“outperforming 1 state-of-the-art models like OpenAI’s GPT-4o mini and Llama-3-8B-instruct by absolute 4% and 30% respectively”article, stated

Outcomes

The case operates at LinkedIn platform scale: 1B+ members, 69M companies, around 200M training tokens, and nearly 90% of Hiring Assistant LLM calls in the evaluation agent.

“In October 2024, LinkedIn launched Hiring Assistant for select charter customers.”article, stated
“Enhancing EON model's planning and reasoning capabilities; designing efficient context representations, developing efficient storage and retrieval techniques”article, stated