AI
Dell Fine-Tunes Its Own Embedding Model to Fix Enterprise Search Gaps
Dell developed a custom embedding model for its internal agentic search system to better capture company-specific terminology and products that off-the-shelf models struggled to understand.
InfoQ
Rachel Shalom, an AI solutions engineer at Dell, presented work on improving semantic search within the company's internal infrastructure. Dell built an agentic search system that employees use to find information across GitHub, Jira, Confluence, SharePoint, and other repositories. Despite implementing semantic search with standard embedding models, the system consistently failed on queries involving Dell-specific terminology—product names like PowerScale and CloudIQ, company jargon, and internal workflows.
Why Standard Embeddings Fall Short#
The core problem was straightforward: off-the-shelf embedding models are trained on general internet data and don't capture domain-specific meaning. When Dell's search engine encountered internal language and products, the semantic vectors didn't represent those concepts well enough to retrieve relevant documents. This observation led the team to hypothesize that fine-tuning an embedding model on Dell's own data could close the gap.
Before investing in custom training, the team investigated whether Dell's data lay outside what public models had seen. They examined vocabulary coverage and found that many internal terms—including Base64-encoded strings, Unicode box-drawing characters, and long camelCase compound words—registered as unknown tokens in standard models, meaning the embeddings had no meaningful representation for them.
How Embedding Models Are Built#
Embedding models typically train in two stages. Pre-training uses masked language modeling on vast quantities of internet text: the model masks random words and learns to predict them, gaining general linguistic understanding. Fine-tuning then uses curated, high-quality data to teach specific semantic meaning—usually through contrastive learning, where the model learns that similar examples should have close vectors and dissimilar ones should be far apart.
The standard loss function for this work, InfoNCE, measures whether a query's positive match sits closer in embedding space than negative examples. By minimizing this loss, the model learns task-specific relationships. An important subtlety: prefix tokens can steer the same model toward different tasks. A "clustering" prefix creates vectors for similarity detection, while a "search_query/search_document" prefix tunes vectors for retrieval—the same content yields slightly different embeddings depending on the downstream use case.

