# Glassdoor Engineering

The official blog of Glassdoor's engineering team, sharing ideas and learnings found during our mission of helping people everywhere find a job and company they love. - Medium

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Improving Embedding-Based Candidate Generation for Recommender Systems with a Two-Tower Model

DevFeed: [Improving Embedding-Based Candidate Generation for Recommender Systems with a Two-Tower Model](<https://devfeed.tech/articles/improving-embedding-based-candidate-generation-for-recommender-systems-with-a-two-tower-model-22610.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/improving-embedding-based-candidate-generation-for-recommender-systems-with-a-two-tower-model-c222123beb7f?source=rss----288d984af747---4>)

Author: Ahmad Khan

Published: 2026-03-18T21:04:58Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [data](<https://devfeed.tech/topics/data.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [data](<https://devfeed.tech/tags/data.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model-training](<https://devfeed.tech/tags/model-training.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [recommender-systems](<https://devfeed.tech/tags/recommender-systems.md>), [self-supervised-learning](<https://devfeed.tech/tags/self-supervised-learning.md>), [two-tower-model](<https://devfeed.tech/tags/two-tower-model.md>)

### AI overview

Glassdoor describes a two-tower neural network for candidate generation in its Community feed recommendation system. The model learns user and post embeddings from interaction data to retrieve potentially relevant posts before filtering, ranking, and ordering.

### Source excerpt

Overview At Glassdoor (part of Indeed), millions of professionals come to learn about workplaces, ask career questions, and share experiences through our Community platform. When users open the Community Home Feed, they expect to see posts that are relevant to their interests, industry, and career stage. However, generating that feed is not a simple task. At any moment, thousands of new posts across hundreds of community feeds compete for attention. From discussions about interview experiences to workplace culture questions and industry advice, the platform contains a diverse and constantly evolving stream of content. The challenge is to quickly identify which of these posts are most relevant for each user. To address this problem, we built a multi-stage machine learning recommendation system that efficiently sources, filters, and ranks posts before they appear in the user's feed. In a previous post, Inside Glassdoor's Multi-Stage Recommendation System, we described the architecture of this system and how the different stages work together to deliver personalized content. Snapshot of the Glassdoor Community Home Feed At a high level, the system consists of four stages: Candidate Generation -- retrieves a large set of potentially relevant posts Filtering -- removes posts that are undesirable, duplicated, or already seen Ranking -- predicts which posts a user is most likely to engage with Ordering -- applies heuristics to maintain diversity and freshness in the feed Each stage progressively narrows the set of posts until only the most relevant posts remain. 4 Stage ML RecSys Design In this blog post, we focus on the Candidate Generation stage, which is responsible for retrieving an initial pool of potentially relevant posts from a very large pool of posts across many different feeds. For Candidate Generation, we developed a Two-Tower Neural Network Model that learns embeddings for users and posts based on real interaction data. In the rest of this blog post, we will walk

## Inside Glassdoor's Multi-Stage Recommendation System

DevFeed: [Inside Glassdoor's Multi-Stage Recommendation System](<https://devfeed.tech/articles/inside-glassdoor-s-multi-stage-recommendation-system-22611.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/inside-glassdoors-multi-stage-recommendation-system-cee58b52a75a?source=rss----288d984af747---4>)

Author: Prateek Shekhar

Published: 2025-08-12T19:37:39Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [personalization](<https://devfeed.tech/topics/personalization.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [advanced](<https://devfeed.tech/tags/advanced.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [approach](<https://devfeed.tech/tags/approach.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [based](<https://devfeed.tech/tags/based.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [books](<https://devfeed.tech/tags/books.md>), [business](<https://devfeed.tech/tags/business.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [central](<https://devfeed.tech/tags/central.md>), [combines](<https://devfeed.tech/tags/combines.md>), [commerce](<https://devfeed.tech/tags/commerce.md>), [community](<https://devfeed.tech/tags/community.md>), [glassdoor](<https://devfeed.tech/tags/glassdoor.md>), [inside](<https://devfeed.tech/tags/inside.md>), [recommendation](<https://devfeed.tech/tags/recommendation.md>), [recommendation-system](<https://devfeed.tech/tags/recommendation-system.md>), [recommender-systems](<https://devfeed.tech/tags/recommender-systems.md>), [stage](<https://devfeed.tech/tags/stage.md>), [system](<https://devfeed.tech/tags/system.md>)

### AI overview

Glassdoor describes a hybrid, multi-stage system that personalizes Community Feed, Email, and Push recommendations using users' activity and similar users' behavior. Candidate generation queries multiple inverted indexes, including OpenSearch approximate nearest-neighbor search over user and post embeddings; an A/B test found 384-dimensional embeddings outperformed 128-dimensional ones with similar latency and throughput. The pipeline then filters hidden, flagged, inappropriate, and duplicate posts; scores candidates with a separate ML service; and orders results using ranking, diversification, randomization, and pagination rules. MLflow, Gunicorn, and Kubernetes support model serving, while experimentation, feature and index updates, and Grafana, Prometheus, and Datadog support iteration and monitoring. The architecture enables stage-specific experiments and diagnostics; the account is a high-level overview.

### Source excerpt

Introduction: Recommendation systems are central to modern digital platforms, delivering personalized content by intelligently analyzing user behavior and preferences through advanced algorithms. Widely used in e-commerce, streaming services, social media, and online learning, they drive user satisfaction, engagement, and retention while supporting business growth. Typically, these systems operate using one or more of the following approaches: Collaborative Filtering: This approach examines user behavior by comparing how users interact with items. It identifies patterns by analyzing similar user actions. For example, if two users have watched or purchased similar items, the system will recommend those same items to other users with similar behavior. Content-Based Filtering: In this approach, the system analyzes the characteristics of the items themselves, such as text, images, or other features. It recommends items that have features similar to those a user has previously liked. For example, if a user enjoyed books with specific keywords, the system will suggest books with those exact keywords. Hybrid Approach: This approach combines collaborative and content-based filtering to enhance personalization and accuracy. It utilizes user behavior patterns in conjunction with item features, offering more personalized and accurate recommendations. At Glassdoor, our Community Feed, Email, and Push notifications are powered by a recommendation system that follows a hybrid approach. It analyzes individual users' behavior, such as posts, comments, and reactions, as well as the behavior of similar users, to deliver tailored, personalized recommendations. This post presents a high-level overview of the multi-stage architecture behind our system, highlighting candidate generation, filtering, scoring, ordering, and supporting infrastructure. Glassdoor's Recommendation System ArchitectureFigure 1: Glassdoor's Recommendation System Architecture Glassdoor's Recommendation System follo

## Data Quality at Petabyte Scale: Building Trust in the Data Lifecycle

DevFeed: [Data Quality at Petabyte Scale: Building Trust in the Data Lifecycle](<https://devfeed.tech/articles/data-quality-at-petabyte-scale-building-trust-in-the-data-lifecycle-22608.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/data-quality-at-petabyte-scale-building-trust-in-the-data-lifecycle-7052361307a4?source=rss----288d984af747---4>)

Author: Zakariah Siyaji

Published: 2025-02-14T15:52:43Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [data-processing](<https://devfeed.tech/topics/data-processing.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [schema-evolution](<https://devfeed.tech/topics/schema-evolution.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [adopting](<https://devfeed.tech/tags/adopting.md>), [airbnb](<https://devfeed.tech/tags/airbnb.md>), [approach](<https://devfeed.tech/tags/approach.md>), [area](<https://devfeed.tech/tags/area.md>), [article](<https://devfeed.tech/tags/article.md>), [building](<https://devfeed.tech/tags/building.md>), [building-trust](<https://devfeed.tech/tags/building-trust.md>), [categories](<https://devfeed.tech/tags/categories.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [data-patterns](<https://devfeed.tech/tags/data-patterns.md>), [data-platform-engineering](<https://devfeed.tech/tags/data-platform-engineering.md>), [data-quality](<https://devfeed.tech/tags/data-quality.md>), [gable](<https://devfeed.tech/tags/gable.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [petabyte](<https://devfeed.tech/tags/petabyte.md>), [quality](<https://devfeed.tech/tags/quality.md>), [scale](<https://devfeed.tech/tags/scale.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [trust](<https://devfeed.tech/tags/trust.md>)

### AI overview

Glassdoor describes shifting data quality work upstream so product engineering teams share responsibility with data consumers. Data contracts specify schemas, constraints, and compatibility expectations; Gable.ai static analysis in CI/CD can warn on or block contract-breaking changes, while its fine-tuned LLM is intended to flag subtler business-logic errors that contracts miss. At Kafka ingestion, Confluent Schema Registry validates events and sends violations to dead-letter queues; DataDog provides topic-level monitoring for anomalies and volume shifts. Glassdoor also distinguishes hard checks that halt pipelines from soft checks that surface possible drift for context, and uses a write-audit-publish flow: stage data, audit it, then promote validated data to production. The article presents these measures as complementary ways to catch problems earlier and build shared trust. Its account includes planned Gable.ai lineage and privacy-compliance capabilities, rather than reporting them as already fully operational.

### Source excerpt

The data Lifecycle with Data Quality Checks at GlassdoorMotivation Glassdoor has transformed from an employee review site to a community for workplace conversations [1]. As our platform evolves to support content creators, facilitate discussions, and offer rich content, it has become more apparent than ever that adopting a data-driven culture is essential. Businesses rely on accurate, high-quality data to understand their operations and assess strategic outcomes. Flawed or incomplete data results in misguided decisions and undermines trust. Recognizing this risk, we made data quality a foundational principle of our data-driven transformation. Although every company defines data quality differently, there is a universal expectation that data used for decision-making must be trustworthy. Additionally, data quality challenges are not solely technical; a psychological component is closely linked to trust in data. Airbnb recognized this and sought to develop a scoring system that acknowledges the belief that data quality is a multivariate issue, encompassing accuracy, reliability, stewardship, and usability, along with more detailed dimensions within each of these categories [2]. On the other hand, Netflix employs a more technically centered approach to quality: data is initially written to a temporary staging area, audited, and then published to the production location upon passing quality checks [3]. Ultimately, Glassdoor drew inspiration from these lessons and aimed to reinforce trust through a cultural shift and a series of technical solutions. This article demonstrates how a proactive, trust-centered approach that connects data producers and consumers establishes a foundation for more rigorous data quality methods, ultimately bolstering a strong company-wide strategy. Figure 1. Enhancing quality guards at the application code layer.Culture Shift: Reactive to Proactive Historically, Glassdoor's data engineering teams have been reactive, learning about issues only aft

## Glassdoor Decreases Latency Overhead and Improves Data Monitoring with WhyLabs

DevFeed: [Glassdoor Decreases Latency Overhead and Improves Data Monitoring with WhyLabs](<https://devfeed.tech/articles/glassdoor-decreases-latency-overhead-and-improves-data-monitoring-with-whylabs-22609.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/glassdoor-decreases-latency-overhead-and-improves-data-monitoring-with-whylabs-ad399576624d?source=rss----288d984af747---4>)

Author: Lanqi Fei

Published: 2023-09-06T21:57:52Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [async](<https://devfeed.tech/tags/async.md>), [costs](<https://devfeed.tech/tags/costs.md>), [dag](<https://devfeed.tech/tags/dag.md>), [data](<https://devfeed.tech/tags/data.md>), [data-monitoring](<https://devfeed.tech/tags/data-monitoring.md>), [framework](<https://devfeed.tech/tags/framework.md>), [glassdoor](<https://devfeed.tech/tags/glassdoor.md>), [graph](<https://devfeed.tech/tags/graph.md>), [integration](<https://devfeed.tech/tags/integration.md>), [integrations](<https://devfeed.tech/tags/integrations.md>), [latency](<https://devfeed.tech/tags/latency.md>), [latency-optimization](<https://devfeed.tech/tags/latency-optimization.md>), [library](<https://devfeed.tech/tags/library.md>), [logging](<https://devfeed.tech/tags/logging.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [model-monitoring](<https://devfeed.tech/tags/model-monitoring.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [overhead](<https://devfeed.tech/tags/overhead.md>)

### AI overview

The excerpt frames latency reduction as a tradeoff between response time and maintenance cost. One option is to restructure a service so it can respond before doing additional work: an asynchronous call may suit simple cases, while a DAG can isolate latency-critical tasks and support more integrations, at the cost of added development and maintenance complexity. For a relatively simple service, integrating the function into the existing linear request path avoids restructuring but incurs additional latency or computational cost. The excerpt says the Glassdoor-WhyLabs case study details changes to whylogs, but does not include those implementation details.

### Source excerpt

Authors: Lanqi Fei, Jamie, Natalia This blog was written by Lanqi Fei, Senior ML Scientist at Glassdoor, Jamie Broomall, Senior Software Engineer at WhyLabs, and Natalia Skaczkowska-Drabczyk, Customer Success Data Scientist at WhyLabs. The challenge of integration latency Consider the scenario where we want to integrate a new tool into an existing service that potentially operates in real-time and involves some user interface. We need to make sure that the latency of the service in production is acceptable after the integration, while still keeping the overall maintenance costs low. In this scenario, there are trade-offs to be made and the right choice will depend on the individual characteristics of the service and the newly integrated function. Simplifying this function is a common path to gaining a significant advantage in this optimization game. This blog, written in collaboration between Glassdoor and WhyLabs, describes a real-world instance of an integration latency challenge and gives a detailed walk-through of the changes applied within whylogs (an open-source data logging library maintained by WhyLabs) to mitigate it. What are the best options for reducing latency? There are a couple of options for reducing latency when integrating a new function into an existing service. Restructuring your service or architecture to allow an early response to the caller before doing the additional work (this may be as simple as using an async call pattern with a log statement or as complex as a DAG framework). You can think of your service as a graph -- its nodes should be the latency-critical tasks and ideally those should be executed, instrumented and tested independently. Using a DAG can be a good way of scaling out a service to a large number of new features and integrations while maintaining latency requirements and managing the complexity of the critical path to generating a high quality user response. The downside of this approach is the additional complexity as well

## Introducing Glassdoor's ML Registry: A Centralized Artifact Management Solution

DevFeed: [Introducing Glassdoor's ML Registry: A Centralized Artifact Management Solution](<https://devfeed.tech/articles/introducing-glassdoor-s-ml-registry-a-centralized-artifact-management-solution-22612.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/introducing-glassdoors-ml-registry-a-centralized-artifact-management-solution-8bff3151cd9d?source=rss----288d984af747---4>)

Author: Rich Papalia

Published: 2023-08-30T21:20:29Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [feature-store](<https://devfeed.tech/topics/feature-store.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Amazon SageMaker](<https://devfeed.tech/topics/amazon-sagemaker.md>)

Tags: [artifacts](<https://devfeed.tech/tags/artifacts.md>), [aws](<https://devfeed.tech/tags/aws.md>), [configuration-management](<https://devfeed.tech/tags/configuration-management.md>), [data-pipelines](<https://devfeed.tech/tags/data-pipelines.md>), [feature-store](<https://devfeed.tech/tags/feature-store.md>), [glassdoor](<https://devfeed.tech/tags/glassdoor.md>), [human-in-the-loop](<https://devfeed.tech/tags/human-in-the-loop.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [machine-learning-platform](<https://devfeed.tech/tags/machine-learning-platform.md>), [manage](<https://devfeed.tech/tags/manage.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [ml](<https://devfeed.tech/tags/ml.md>), [ml-platform](<https://devfeed.tech/tags/ml-platform.md>), [model](<https://devfeed.tech/tags/model.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [platform](<https://devfeed.tech/tags/platform.md>), [recommendations](<https://devfeed.tech/tags/recommendations.md>), [registries](<https://devfeed.tech/tags/registries.md>), [registry](<https://devfeed.tech/tags/registry.md>), [robust](<https://devfeed.tech/tags/robust.md>)

### AI overview

Glassdoor describes its open-sourced ML Registry as a centralized service for managing machine learning artifacts and their metadata, including models and other artifacts. It is intended to provide a single source of truth and consistent access across teams and applications, while integrating with other tools and services. The excerpt says Glassdoor chose to build its own registry after assessing paid and open-source options that did not fully meet its requirements; it acknowledges managed services can offer out-of-the-box functionality but does not provide further comparison or implementation details.

### Source excerpt

Photo by Ryunosuke Kikuno on UnsplashGlassdoor's Machine Learning Engineering and Platform Team As part of Glassdoor's journey to becoming an ML-driven company, we've created an exceptional Machine Learning Engineering and Platform team, (see our blog about building this team here) dedicated to developing the foundational infrastructure for all of our ML initiatives. We've strategically built our ML platform by utilizing a combination of buying, building, and adopting from existing open-source solutions. This approach has allowed us to leverage the best of all worlds. Our team has had the opportunity to build numerous tools from scratch, including data pipelines, human-in-the-loop tools, and more. We've also built on top of existing tools like AWS Sagemaker to incorporate powerful in-house customizations into our feature store. We have more exciting plans in flight, such as building a new recommendations platform, further open-source contributions from our platform, and continuing to build on the foundation which we've established. Today, we'll delve into our newly open-sourced ML Registry. What is an ML Registry? The ML lifecycle encompasses far more than just model development. Once a model is built, many questions arise: Where does it reside? How do we access it? What if updates or versioning are needed? Where can we store the metadata describing the model? And what about other non-model artifacts? How can we efficiently manage all of this? Enter the ML Registry. Glassdoor's ML Registry is a centralized management service for ML artifacts and all related metadata. It serves as the single source of truth for all data pertaining to ML, enabling uniform and reliable access to this data across diverse teams and applications. It seamlessly integrates with other tools and services and provides robust, feature-rich functionality. Choosing Between Buying and Building, What Differentiates Our ML Registry? While several paid and open-source model registries already exist,

## Building Glassdoor's Machine Learning Platform and Engineering Team

DevFeed: [Building Glassdoor's Machine Learning Platform and Engineering Team](<https://devfeed.tech/articles/building-glassdoor-s-machine-learning-platform-and-engineering-team-22607.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/building-glassdoors-machine-learning-platform-and-engineering-team-3bafd94d5b2b?source=rss----288d984af747---4>)

Author: Malathi Sankar

Published: 2022-08-01T07:19:34Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [MLOps](<https://devfeed.tech/topics/mlops.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Data Infrastructure](<https://devfeed.tech/topics/data-infrastructure.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [airflow](<https://devfeed.tech/topics/airflow.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Provisioning](<https://devfeed.tech/topics/provisioning.md>)

Tags: [airflow](<https://devfeed.tech/tags/airflow.md>), [data](<https://devfeed.tech/tags/data.md>), [data-infrastructure](<https://devfeed.tech/tags/data-infrastructure.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [glassdoor](<https://devfeed.tech/tags/glassdoor.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [machine-learning-platform](<https://devfeed.tech/tags/machine-learning-platform.md>), [ml-engineering](<https://devfeed.tech/tags/ml-engineering.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [organization](<https://devfeed.tech/tags/organization.md>)

### AI overview

This article describes how Glassdoor developed and scaled its machine learning platform and engineering team. It covers the organization's early machine learning systems, deployment and infrastructure challenges, adoption of MLOps practices, and the use of combined open-source, commercial, and proprietary tools to orchestrate its machine learning pipeline.

### Source excerpt

In this post, I would like to share how Glassdoor built and scaled its ML platform and engineering team and what we learned along the way. Historic ML journey at Glassdoor Ten years ago, machine learning at Glassdoor started with a straightforward logistic regression model, which was used to power our job recommendations. Today machine learning is ubiquitous. It is used across most of our products -- search, ads, reviews, salaries, interviews, benefits, and Fishbowl post recommendations, to name a few. Data quality, model innovations, hardware advancements, data infrastructure, resource investments, and tools propelled this growth. Until 2021, our machine learning team was mostly comprised of scientists who were experts in math and statistics. They worked with data engineers to prepare data and build optimized models to solve problems. Batch deployments were done in Airflow by the scientists, while project engineers carried out the online model deployments. Infrastructure provisioning was left to the DevOps team. This organizational structure was less than ideal, however, and created many challenges. Communication gaps and resource misallocations made deployments tedious and time-consuming. Monitoring, observing, maintaining, and debugging models were difficult. Machine Learning's technical debt grew rapidly and had a negative impact on Glassdoor's operations. Adoption of MLOps framework: To deal with the above challenges, we conceptualized real-time machine learning as primarily an engineering and infrastructure problem. As Scully et al. have discussed in this paper [1], only a small fraction of a real-world ML system is composed of ML code (illustrated by the black box in Figure 1), while the surrounding infrastructure is vast and complex. By adopting a set of DevOps and Engineering best practices known as MLOps, we were able to effectively manage this complexity. As previously discussed in our blog, our initial approach comprised a mix of open source tools, commer

## Personalized Fishbowl Recommendations with Learned Embeddings: Part 2

DevFeed: [Personalized Fishbowl Recommendations with Learned Embeddings: Part 2](<https://devfeed.tech/articles/personalized-fishbowl-recommendations-with-learned-embeddings-part-2-22616.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/personalized-fishbowl-recommendations-with-learned-embeddings-part-2-78a16b04d396?source=rss----288d984af747---4>)

Author: Ahmad Khan

Published: 2022-04-05T00:24:03Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [vector embeddings in AI](<https://devfeed.tech/topics/vector-embeddings-in-ai.md>), [personalization](<https://devfeed.tech/topics/personalization.md>), [metric learning](<https://devfeed.tech/topics/metric-learning.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [cosine similarity search](<https://devfeed.tech/topics/cosine-similarity-search.md>), [information retrieval](<https://devfeed.tech/topics/information-retrieval.md>), [dataset](<https://devfeed.tech/topics/dataset.md>)

Tags: [cosine-similarity](<https://devfeed.tech/tags/cosine-similarity.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [doc2vec](<https://devfeed.tech/tags/doc2vec.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [features](<https://devfeed.tech/tags/features.md>), [fishbowl](<https://devfeed.tech/tags/fishbowl.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [personalization](<https://devfeed.tech/tags/personalization.md>), [post](<https://devfeed.tech/tags/post.md>), [rank](<https://devfeed.tech/tags/rank.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [recommendations](<https://devfeed.tech/tags/recommendations.md>), [recommender-systems](<https://devfeed.tech/tags/recommender-systems.md>), [text](<https://devfeed.tech/tags/text.md>), [word-embeddings](<https://devfeed.tech/tags/word-embeddings.md>)

### AI overview

The article compares learned embeddings for Fishbowl recommendations when clickstream data lacks clear negative signals. Its GloVe method combines six text features for users and posts, adds popularity signals and liked-neighbor information, then uses PCA to reduce the representation to 128 dimensions. BERT uses the same features but averages outputs from its last four attention layers; the authors note Sentence BERT as a possible future approach. Siamese and graph convolutional networks learn user and post embeddings with triplet loss, while the graph model also pools sampled neighbors and tests harder negatives. In a 12-month training and one-week test evaluation, GloVe with PCA performed best and was shipped for production testing; the neural models did slightly worse and overfit quickly. The authors suggest simpler models suited their data, while better negative sampling might improve neural results.

### Source excerpt

Introduction In the previous blog post, we saw how we can utilize text based embeddings to help recommend posts to users on Fishbowl, a professional networking community that was recently acquired by Glassdoor, in which working professionals can have workplace related conversations with other peers in industry. On Fishbowl, users can anonymously write what's on their mind in posts and also comment on posts from other anonymous users in what we call "bowls" or "feeds"; a collection of posts related to a certain industry or topic. Previously we discussed how in the absence of clear negative signals from click stream data we cannot as easily use a supervised learning setup to rank items to users. Given the inputs we used were text based, we can instead use more unsupervised methods like Doc2Vec [1] to generate post text embeddings. We can treat the text of the posts as individual documents and use those to train a Doc2Vec model to generate a post text embedding. For users, we can take the average post text embedding of the posts the user liked and consider that as the user embedding. We can also add the user embeddings of other users who liked a post into our post embedding calculation so we incorporate some "collaborative" notion of what other similar users liked as opposed to a pure content similarity ranking. We can next compute the cosine similarity between the user and posts embeddings and use the similarity score to rank posts to recommend to users. Ranking via Embeddings Overview However, such an approach can have some shortcomings. First the text of the post is just one of many features we can use for personalization. We can also leverage other user provided information when users agree to sign up like the employer, job title, work city of a user as features. In addition, the bowl or feed name and its description can be considered important features for posts as posts under the same feed tend to be about similar topics. Second, the previous Doc2Vec approach tra

## ML Prediction Pipeline Orchestration with ML Control Center

DevFeed: [ML Prediction Pipeline Orchestration with ML Control Center](<https://devfeed.tech/articles/ml-prediction-pipeline-orchestration-with-ml-control-center-22613.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/ml-prediction-pipeline-orchestration-with-ml-control-center-812f46631484?source=rss----288d984af747---4>)

Author: Vance Thornton

Published: 2022-04-01T23:32:32Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [control-plane](<https://devfeed.tech/topics/control-plane.md>), [streaming data analytics](<https://devfeed.tech/topics/streaming-data-analytics.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [connect](<https://devfeed.tech/tags/connect.md>), [custom](<https://devfeed.tech/tags/custom.md>), [data-pipeline](<https://devfeed.tech/tags/data-pipeline.md>), [execution](<https://devfeed.tech/tags/execution.md>), [flow](<https://devfeed.tech/tags/flow.md>), [gathering](<https://devfeed.tech/tags/gathering.md>), [gitops](<https://devfeed.tech/tags/gitops.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [ml](<https://devfeed.tech/tags/ml.md>), [ml-models](<https://devfeed.tech/tags/ml-models.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [mlops-platform](<https://devfeed.tech/tags/mlops-platform.md>), [modular](<https://devfeed.tech/tags/modular.md>), [online](<https://devfeed.tech/tags/online.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [retry-logic](<https://devfeed.tech/tags/retry-logic.md>), [reuse](<https://devfeed.tech/tags/reuse.md>), [store](<https://devfeed.tech/tags/store.md>)

### AI overview

ML Control Center (MLCC) uses YAML to define reusable machine learning prediction pipelines, with the same pipeline often serving online, batch, and testing contexts. It executes configured data flow from fetching features through model requests to storage; data moves between steps in memory on one machine to support low latency. MLCC handles operational details such as parallelization, metrics, retries, and incremental-update timing, and exposes a REST interface for triggering updates and managing tasks. The Glassdoor review example fetches records from SQL, calls a model served with MLflow, builds Elasticsearch documents, and writes predictions to Elasticsearch and a Feature Store. Built-in components cover common operations, while custom Java components can be configured through YAML. Update settings can specify schedules, batch size, parallelism, retries, and pre- or post-update actions.

### Source excerpt

A YAML based approach for building data processing pipelinesIntroduction In a previous blog post we described Glassdoor's a la carte approach to MLOps. We chose this approach because the MLOps landscape is rapidly evolving and we want to have the flexibility to use the best available options. ML Control Center (MLCC) is a project that we are developing at Glassdoor which will act as the glue to connect and unify these disparate components. Our plan is to move to a GitOps oriented approach where YAML configuration files in our Git repositories control the deployment and execution of all the tasks and services needed for our ML projects. One part of this is support for ML prediction pipelines which we recently released as an open source project at: https://gitlab.com/glassdoor-open-source/ml-control-center. A ML prediction pipeline typically involves gathering feature data from various sources, providing the data to feature extractors and/or ML models for prediction, and then writing the output to a data store. In MLCC these pipelines are defined using YAML files which specify the configuration of the operations to perform and the flow of data input/output of those operations. One of our primary design goals is to make it easy to implement the most common use cases quickly with simple YAML configuration and minimal coding. We want to allow ML scientists and engineers to focus on defining what they want the pipeline to do with many of the engineering implementation details such as parallelization, metrics, and retry logic taken care of automatically. MLCC has a library of reusable components which provide the functionality that is typically needed for our use cases and it is easy to add custom components when needed. This approach promotes flexibility and reuse by encouraging a modular implementation. Another trend that we have seen at Glassdoor is that online and near real time ML processing is becoming more common. The design of MLCC prediction pipelines makes them w

## MLOps in Glassdoor: an à la carte approach

DevFeed: [MLOps in Glassdoor: an à la carte approach](<https://devfeed.tech/articles/mlops-in-glassdoor-an-a-la-carte-approach-22614.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/mlops-in-glassdoor-an-%C3%A0-la-carte-approach-b7b7703b5fd0?source=rss----288d984af747---4>)

Author: Zixin Wu

Published: 2022-01-12T00:42:43Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [MLOps](<https://devfeed.tech/topics/mlops.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>), [ML model versioning](<https://devfeed.tech/topics/ml-model-versioning.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [feature-store](<https://devfeed.tech/topics/feature-store.md>), [Grafana](<https://devfeed.tech/topics/grafana.md>)

Tags: [airflow](<https://devfeed.tech/tags/airflow.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [experimentation](<https://devfeed.tech/tags/experimentation.md>), [glassdoor](<https://devfeed.tech/tags/glassdoor.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [ml-models](<https://devfeed.tech/tags/ml-models.md>), [mlflow](<https://devfeed.tech/tags/mlflow.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [model-training](<https://devfeed.tech/tags/model-training.md>), [production](<https://devfeed.tech/tags/production.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

### AI overview

Glassdoor adopted an à la carte MLOps stack because it found no single mature solution that met its needs, and wanted component-level choice, flexibility, and faster feedback. For real-time inference, MLflow packages and serves Python models as REST services in Kubernetes, with Jenkins building images and Spinnaker deploying them; Prometheus and Grafana support metrics and alerting. Batch work uses Jenkins for simpler jobs, Airflow for multi-step workflows, and Spark when data volume or throughput calls for distributed processing. MLflow tracks experiments and registers models. Glassdoor chose not to adopt Kubeflow because its pipelines and learning curve exceeded current needs, and mostly develops models locally because remote development is not usually required. SageMaker Feature Store underlies a custom metadata and access layer; whylogs monitors data and model performance, with OpsGenie integration and threshold-based retraining described as future plans. The authors say this setup lets scientists focus on models while engineering builds supporting platforms.

### Source excerpt

Authors: Zixin Wu, Srinivasan Ramaraju Introduction Data Science and Machine Learning (ML) have become an essential toolkit for businesses to increase their competitiveness and provide greater value to their customers in recent years, largely thanks to the abundantly available large data sets, more cost-effective computation resources, and advancements in ML algorithms. In Glassdoor, we utilize ML to build intelligent products which help our job seekers find the jobs and companies they love. While ML can unlock new capabilities for businesses, it comes with its complexity and challenges compared to traditional software engineering, mainly due to data dependency and team skillset shift. Data dependency: a major reason for using ML approaches to build complex software is exactly because the desired behavior of the software is so complex that it's more efficient to be driven by data. This dependency brings new components in the software development process: Instead of simply compiling source codes, now the software (ML models) needs to be trained/retrained by (usually a large amount of) data before it can be used to serve clients Evaluation and test of ML model behaviors is data-centric and often involves offline experimentation Version tracking of ML models needs to consider both code and data changes The data could change over time due to various reasons, such as the way the data is collected or processed, or customer behavior changes which, in turn, could be driven by the effect of using the ML model. This essentially creates a hidden feedback loop. All these changes in data need to be monitored and acted accordingly. Team skillset: in many companies, the majority of the ML team members are data scientists or ML researchers, specialized in dealing with data and ML algorithms. However, to integrate an ML solution to existing systems and continuously operate it in production, many more components are needed besides ML model training and evaluation. Automating and stan

## Personalized Fishbowl Recommendations with Learned Embeddings: Part 1

DevFeed: [Personalized Fishbowl Recommendations with Learned Embeddings: Part 1](<https://devfeed.tech/articles/personalized-fishbowl-recommendations-with-learned-embeddings-part-1-22615.md>)

Original publisher: [Read original article](<https://medium.com/glassdoor-engineering/personalized-fishbowl-recommendations-with-learned-embeddings-part-1-6031abe84661?source=rss----288d984af747---4>)

Author: Ahmad Khan

Published: 2022-01-07T21:48:24Z

Content type: article

Language: en

Sources: [Glassdoor Engineering](<https://devfeed.tech/sources/glassdoor-engineering.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [personalization](<https://devfeed.tech/topics/personalization.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [vector embeddings in AI](<https://devfeed.tech/topics/vector-embeddings-in-ai.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [content](<https://devfeed.tech/tags/content.md>), [doc2vec](<https://devfeed.tech/tags/doc2vec.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [fishbowl](<https://devfeed.tech/tags/fishbowl.md>), [glassdoor](<https://devfeed.tech/tags/glassdoor.md>), [industry](<https://devfeed.tech/tags/industry.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model](<https://devfeed.tech/tags/model.md>), [personalization](<https://devfeed.tech/tags/personalization.md>), [posts](<https://devfeed.tech/tags/posts.md>), [recommendation-system](<https://devfeed.tech/tags/recommendation-system.md>), [recommendations](<https://devfeed.tech/tags/recommendations.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>), [word-embeddings](<https://devfeed.tech/tags/word-embeddings.md>), [workplace](<https://devfeed.tech/tags/workplace.md>)

### AI overview

Fishbowl replaced recency and global popularity rankings with embedding-based recommendations because it lacked reliable click data for identifying negative examples in supervised training. The system represents posts and users in a shared vector space and ranks subscribed-bowl candidate posts by cosine similarity. Its content Doc2Vec model embeds post text and represents a user by averaging embeddings of posts they liked; collaborative signals are added from users who liked each post. For graph signals, the article compares BFS-based graph Doc2Vec with DeepWalk random walks and says BFS Doc2Vec performed slightly better. The chosen content and graph embeddings are concatenated into hybrid embeddings; MLFlow REST services score about 200 candidates per request in roughly 9 ms on average. A limitation is that graph ID embeddings cannot meaningfully represent new users or posts absent during training, a problem the article says a later post will address.

### Source excerpt

Glassdoor recently acquired Fishbowl, a professional networking community where working professionals can have workplace related conversations with other peers in the industry. Fishbowl users can anonymously write posts and see posts from other anonymous users in what we call "bowls": a collection of posts related to a certain workplace, industry or topic. Bowls can be an effective way to gain insights into workplace topics and conversations. The anonymous nature of the app can further encourage honest and frank discussion on topics users may otherwise feel uncomfortable discussing. Users can subscribe to different bowls and then see new posts from their subscribed bowls show up in their main home feed when they open the app. Every day Fishbowl users post thousands of new posts. With a growing and increasingly active user base that number will keep increasing. Surfacing the most interesting content to users can therefore become increasingly challenging with scale and a lack of personalization can detract from the overall user experience. Given the large number of possible posts to recommend and the small number of posts that can be surfaced to the user in app at any time, we have a typical recommendation system problem. From Global Rankings to Personalized Recommendations To personalize the posts recommended to a user we decided to use Machine Learning shortly after Glassdoor's acquisition. Prior to this Fishbowl just used the recency and global popularity of a post to sort what to show users in app. At the time of starting the project we also did not collect any explicit user click data that could have defined our problem into a classic supervised learning problem (e.g: predicting the probability of a user clicking a post given they saw the post). While we collected data on what posts a user anonymously liked or commented on we did not collect good data on if they saw or clicked a post at the time. Why is this important? If training a supervised model, we can use s