How LinkedIn Economic Graph Bonds Information and Product: Applications in LinkedIn Salary

Xi Chen, Yiqun Liu, Liang Zhang, Krishnaram Kenthapadi · DOI

TL;DR

LinkedIn expanded its Salary product coverage by leveraging its Economic Graph to predict compensation for cohorts with zero user-submitted data. By learning company embeddings from member job transitions (Company2vec) and applying a hierarchical Bayesian smoothing model, they achieved a 35-fold increase in predictable company-level cohorts while simultaneously improving prediction quality.

What Problem Does This Paper Address?

When LinkedIn launched its Salary product, users could explore compensation distributions across different job titles and geographic regions. However, user feedback revealed a strong demand for company-specific insights (e.g., What does a Software Engineer make at LinkedIn in the San Francisco Bay Area?, as shown in Figure 1).

The challenge? Data sparsity and privacy. To protect user privacy, LinkedIn aggregates salary data into cohorts and enforces strict minimum-submission thresholds. Consequently, the original system could only provide insights for roughly 35,000 (title, region, company) cohorts that had sufficient user submissions—covering only a small fraction of LinkedIn's active user base. Standard statistical smoothing techniques could "borrow strength" from parent cohorts (like the overall title-region baseline), but they couldn't reliably predict salaries for completely empty company cohorts where no data had been submitted at all.

Figure 1: LinkedIn Salary insight page for (Software Engineer, San Francisco Bay Area, LinkedIn) as an example of (title, region, com- pany) cohorts.

Methods

The authors designed a two-step framework that decouples macro-level salary trends from company-specific pay premiums, utilizing LinkedIn's massive job transition graph.

  1. Company2vec & Peer Score: The core intuition is that if employees frequently transition back and forth between two companies, those companies likely compete for the same talent and offer similar compensation. The authors trained a skip-gram model with negative sampling on directed company-to-company transitions. Crucially, they separated the latent space into origin ($\phi_u$) and destination ($\psi_v$) embeddings. They then computed a normalized, bidirectional Peer Score to identify a company's closest market peers while controlling for company scale.
  2. Information Decoupling: They modeled the log-transformed salary data ($y$) as a combination of a baseline title-region mean ($\mu_{(t,r)}$) and a company-specific residual ($\tilde{y}_c$): $$\tilde{y}_c = y_{(t,r,c)} - \hat{\mu}_{(t,r)}$$
  3. Bayesian Smoothing: For empty or low-data cohorts, the company residual is estimated using a Bayesian framework with a conjugate normal-inverse-Gamma prior. If a company's peer group has a robust amount of aggregate data, the model sets the prior based on those peer companies. If not, it falls back to global corporate averages. Finally, the baseline and the inferred company residual are recoupled to generate the final predicted salary distribution.

The overall offline and online system architecture is detailed in Figure 2.

Figure 2: LinkedIn Salary online insight retrieval and offline com- puting system architecture.

Datasets

The models were trained and evaluated using:

  • LinkedIn Member Transition Data: A dataset encompassing roughly 190,000 US companies, filtering out companies with fewer than 100 recorded transitions to minimize noise.
  • LinkedIn Compensation Data: Nearly two years of de-identified, aggregated base salary and total compensation submissions across the US, Canada, and the UK.
  • Ground Truth Evaluation Database: An internally curated and periodically updated database of similar companies at LinkedIn, used to evaluate the accuracy of the Company2vec rankings.

Key Insights and Ideas

  • Talent Flow as a Proxy for Compensation: Because job transitions typically result in similar or higher pay, the bidirectional flow of employees acts as an organic, real-time market alignment mechanism for corporate compensation structures.
  • The Failure of Naive Word2vec: Standard Word2vec implementations using simple cosine similarity fail because they ignore company scale. For example, Word2vec mistakenly paired Goldman Sachs with tiny boutique hedge funds due to localized transition density. The authors' custom bidirectional Peer Score successfully balanced these probabilities, correctly aligning Goldman Sachs with large-scale peers like J.P. Morgan and Barclays.
  • Decoupling Simplifies Inference: Attempting to model the sparse intersection of titles, regions, and companies simultaneously is mathematically intractable. Separating the problem into a regression-based macro baseline (title/region) and a Bayesian micro adjustment (company residual) allowed the system to predict salaries for entirely empty cohorts.

Key Results

  • Massive Coverage Expansion: The framework increased the number of predictable US cohorts from 34,000 to over 1.2 million (a 35-fold increase), expanding the product's coverage to 4.9x more monthly active users (MAUs).
  • Improved Robustness: Despite making predictions for cohorts with zero data, the model outperformed empirical baselines on a held-out test set. As shown in Table 3, its 80% Credible Interval (CI) coverage reached 81% (where 80% is the ideal target), outperforming previous hierarchical smoothing methods (87%).

An example of the final deployed product page for a previously empty cohort is shown in Figure 5.

Predicted salary ranges for Web Developers at SAP

Limitations and Future Work

  • Spurious Cohorts: Taking the raw cross-product of all titles, regions, and companies creates non-existent entities (e.g., predicting the salary of a "Software Engineer" at a small local bakery). The authors mitigated this by filtering out cohorts that did not map to at least two actual LinkedIn members.
  • Future Directions: The authors plan to incorporate richer features like individual years of experience and specific skills into the prediction pipeline. They also aim to build time-series models to account for temporal economic shifts, inflation, and changing labor supply/demand dynamics.

Summary updated

Abstract

The LinkedIn Salary product was launched in late 2016 with the goal of providing insights on compensation distribution to job seekers, so that they can make more informed decisions when discovering and assessing career opportunities. The compensation insights are provided based on data collected from LinkedIn members and aggregated in a privacy-preserving manner. Given the simultaneous desire for computing robust, reliable insights and for having insights to satisfy as many job seekers as possible, a key challenge is to reliably infer the insights at the company level when there is limited or no data at all. We propose a two-step framework that utilizes a novel, semantic representation of companies (Company2vec) and a Bayesian statistical model to address this problem. Our approach makes use of the rich information present in the LinkedIn Economic Graph, and in particular, uses the intuition that two companies are likely to be similar if employees are very likely to transition from one company to the other and vice versa. We compute embeddings for companies by analyzing the LinkedIn members' company transition data using machine learning algorithms, then compute pairwise similarities between companies based on these embeddings, and finally incorporate company similarities in the form of peer company groups as part of the proposed Bayesian statistical model to predict insights at the company level. We perform extensive validation using several different evaluation techniques, and show that we can significantly increase the coverage of insights while, in fact, even improving the quality of the obtained insights. For example, we were able to compute salary insights for 35 times as many title-region-company combinations in the U.S. as compared to previous work, corresponding to 4.9 times as many monthly active users. Finally, we highlight the lessons learned from deployment of our system.
BibTeX
@inproceedings{chen2018how,
  author = {Xi Chen and Yiqun Liu and Liang Zhang and Krishnaram Kenthapadi},
  title = {{How LinkedIn Economic Graph Bonds Information and Product: Applications in LinkedIn Salary}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2018},
  doi = {10.1145/3219819.3219921},
}
Figure