1 min readfrom InfoQ

How HubSpot Scaled Semantic Search to 20 Billion Vectors

Our take

HubSpot’s journey to scalable semantic search demonstrates a powerful shift in data management. Initially a proof of concept, their internal platform now manages over 20 billion vectors, supporting 38-plus teams and critical functions like agent assistance, Retrieval-Augmented Generation (RAG), and contact deduplication. As agent usage surged, HubSpot prioritized retrieval quality and latency, highlighting the importance of performance in AI-driven workflows. Interested in broader approaches to AI platform design? Explore Aaron Erickson’s insights on designing reliable AI agent hierarchies.
How HubSpot Scaled Semantic Search to 20 Billion Vectors

HubSpot’s scaling of its semantic search platform to manage over 20 billion vectors is a compelling case study in the practical application of AI-native infrastructure within a large SaaS organization. The move, detailed by Matt Saunders, underscores a broader trend: the increasing reliance on vector databases and semantic search to power internal tools and improve operational efficiency. It’s a shift away from traditional keyword-based searches, moving towards a more nuanced understanding of data context and meaning, and it echoes observations discussed in "Presentation: Designing AI Platforms for Reliability: Tools for Certainty, Agents for Discovery" Presentation: Designing AI Platforms for Reliability: Tools for Certainty, Agents for Discovery, which highlights the importance of robust agent hierarchies for AI platform stability. The sheer scale of HubSpot’s deployment—38-plus teams utilizing a single service—demonstrates a commitment to centralized AI infrastructure and a willingness to invest in the underlying technology to support diverse use cases. The fact that they've integrated it into agent workflows, RAG (Retrieval-Augmented Generation), and contact deduplication speaks to a comprehensive strategy for leveraging semantic search across various critical business functions.

What’s particularly notable is HubSpot’s acknowledgment of the increased importance of retrieval quality and latency as agent usage grows. This isn’t simply about having a large vector database; it’s about ensuring that the right information is delivered quickly and accurately. That focus on performance is critical for maintaining agent productivity and delivering a positive user experience. The evolution from a proof of concept to a full-scale internal service suggests a rigorous testing and refinement process, and likely a significant investment in optimization. This mirrors the direction AWS is taking with its DevOps Agent, as described in "AWS Expands DevOps Agent with AI-Powered Release Management to Validate Code Before Production" AWS Expands DevOps Agent with AI-Powered Release Management to Validate Code Before Production, where AI is being incorporated to validate code and streamline release management, emphasizing the overall drive toward AI-powered operational efficiency. The challenges of managing such a vast dataset, ensuring accuracy, and minimizing latency are substantial, and HubSpot’s success offers valuable lessons for other organizations contemplating similar deployments. The move also aligns with the rethinking of knowledge bases for AI agents presented in "OKF: Redefining Knowledge Bases for AI Agents" OKF: Redefining Knowledge Bases for AI Agents, showcasing a broader industry shift toward structuring information in ways that AI can readily understand and utilize.

The implications for the broader AI landscape are significant. HubSpot’s experience reinforces the idea that the future of internal data management will be heavily influenced by semantic search and vector databases. Organizations are realizing that simply storing data is not enough; they need to be able to effectively search, analyze, and leverage that data to improve decision-making, automate tasks, and enhance user experiences. The shift towards vector embeddings allows for a deeper understanding of the relationships between data points, enabling more sophisticated search capabilities and more accurate results. This is particularly important in industries like SaaS, where data is often unstructured and complex, and where the ability to quickly and accurately retrieve relevant information can be a significant competitive advantage. The move highlights the maturing of the technology and the increasing availability of tools and resources to support large-scale deployments.

Looking ahead, the question becomes: how will organizations continue to manage and optimize these increasingly large vector databases? As the volume of data continues to grow exponentially, ensuring efficient storage, retrieval, and indexing will be critical. We'll likely see further innovation in vector database technology, including new compression algorithms, indexing techniques, and distributed architectures. The focus will shift from simply building these systems to proactively managing their complexity and ensuring their long-term scalability and reliability. It will be interesting to observe how HubSpot continues to evolve its semantic search platform and whether other SaaS vendors will follow suit with similar large-scale deployments.

SaaS software vendor HubSpot has described how its semantic search platform grew from a proof of concept into an internal service that now manages more than 20 billion vectors across 38-plus teams. The company says the system now supports agents, RAG, and contact deduplication, and that the increase in agent usage has made retrieval quality and latency more important than before.

By Matt Saunders

Read on the original site

Open the publisher's page for the full experience

View original article