Infra

Vector Databases and the Power of RAG

Edo Liberty, Satish Talluri, and Derrick Harris Posted April 26, 2024

In this episode of the AI + a16z podcast, Pinecone Founder and CEO Edo Liberty joins a16z’s Satish Talluri and Derrick Harris to discuss the promises, challenges, and opportunities for vector databases and retrieval augmented generation (RAG). He also shares insights and highlights from a decades-long career in machine learning, which includes stints running research teams at both Yahoo and Amazon Web Services.

Here are some highlights:

[9:42] “I’ll admit to being a snob and being part of the camp that was, to begin with, quite skeptical of deep learning. My roots are in theoretical machine learning and in theoretical CS, in general. So I was really trying to prove convergence and improve, asymptotic running times and really understand worst-case behaviors and so on.

“And then deep learning comes along and people just run stuff, and it does something and they find it to be interesting. . . . And so for a few good years, pretty much every conversation between a theoretician and practitioner was some flavor of the theoretician says, ‘I can prove this is impossible.’ And the practitioner said, ‘But I did it this morning.’

[18:23] “RAG accelerated semantic search significantly . . . What used to happen is . . . you still used the vector database to retrieve the semantically similar documents or passages or facts and so on that you put into context. But when you consume the results of search, as a human, you can consume 10 blue links or 10 paragraphs or like one page of content. There’s, there’s a limit to how much cognitive bandwidth you can exert when you receive the search results.

“And with RAG, we have the opportunity to take a hundred full documents as the result of a search, and then further process them with a language model or a foundational model to glean some piece of information or some fact or some output. And so that created a whole new set of opportunities to build with RAG, where just semantic search, frankly, fell short.”

[25;51] “I think RAG today is where transformers were in 2017. It’s clunky and weird and hard to get right. And it has a lot of sharp edges, but it already does something amazing. Sometimes, most of the time, the very early adopters and the very advanced users are already picking it up and running with it — and lovingly deal with all the sharp edges. . . .

“Making progress on RAG, making progress on information retrieval, and making progress on making AI more knowledgeable and less hallucinatory and more dependable, is a complete greenfield today. There’s an infinite amount of innovation that will have to go into it.”

You can listen to all the AI + a16z podcast episodes here, or on your preferred podcast platform.

About the Contributors
AI + a16z

Artificial intelligence is changing everything from art to enterprise IT, and a16z is watching all of it with a close eye. This podcast features discussions with leading AI engineers, founders, and experts, as well as our general partners, about where the technology and industry are heading.

Learn More
Want More a16z Infra?

Analysis and news covering the latest trends reshaping AI and infrastructure.

Learn More
Recommended For You
Infra

Performance and Passion: Fal’s Approach to AI Inference

Burkay Gur, Batuhan Taskaya, and Jennifer Li
Infra

How to Vibe Code Securely

Feross Aboukhadijeh and Joel de la Garza
Infra

AI Is Upending SaaS Pricing

Scott Woody and Martin Casado
Infra

AI’s Unsung Hero: Data Labeling and Expert Evals

Manu Sharma and Matt Bornstein
Infra

AI, Data Engineering, and the Modern Data Stack

Tristan Handy, Jennifer Li, and Matt Bornstein

Want More Infra?

Analysis and news covering the latest trends reshaping AI and infrastructure.

Sign Up On Substack

Views expressed in “posts” (including podcasts, videos, and social media) are those of the individual a16z personnel quoted therein and are not the views of a16z Capital Management, L.L.C. (“a16z”) or its respective affiliates. a16z Capital Management is an investment adviser registered with the Securities and Exchange Commission. Registration as an investment adviser does not imply any special skill or training. The posts are not directed to any investors or potential investors, and do not constitute an offer to sell — or a solicitation of an offer to buy — any securities, and may not be used or relied upon in evaluating the merits of any investment.

The contents in here — and available on any associated distribution platforms and any public a16z online social media accounts, platforms, and sites (collectively, “content distribution outlets”) — should not be construed as or relied upon in any manner as investment, legal, tax, or other advice. You should consult your own advisers as to legal, business, tax, and other related matters concerning any investment. Any projections, estimates, forecasts, targets, prospects and/or opinions expressed in these materials are subject to change without notice and may differ or be contrary to opinions expressed by others. Any charts provided here or on a16z content distribution outlets are for informational purposes only, and should not be relied upon when making any investment decision. Certain information contained in here has been obtained from third-party sources, including from portfolio companies of funds managed by a16z. While taken from sources believed to be reliable, a16z has not independently verified such information and makes no representations about the enduring accuracy of the information or its appropriateness for a given situation. In addition, posts may include third-party advertisements; a16z has not reviewed such advertisements and does not endorse any advertising content contained therein. All content speaks only as of the date indicated.

Under no circumstances should any posts or other information provided on this website — or on associated content distribution outlets — be construed as an offer soliciting the purchase or sale of any security or interest in any pooled investment vehicle sponsored, discussed, or mentioned by a16z personnel. Nor should it be construed as an offer to provide investment advisory services; an offer to invest in an a16z-managed pooled investment vehicle will be made separately and only by means of the confidential offering documents of the specific pooled investment vehicles — which should be read in their entirety, and only to those who, among other requirements, meet certain qualifications under federal securities laws. Such investors, defined as accredited investors and qualified purchasers, are generally deemed capable of evaluating the merits and risks of prospective investments and financial matters.

There can be no assurances that a16z’s investment objectives will be achieved or investment strategies will be successful. Any investment in a vehicle managed by a16z involves a high degree of risk including the risk that the entire amount invested is lost. Any investments or portfolio companies mentioned, referred to, or described are not representative of all investments in vehicles managed by a16z and there can be no assurance that the investments will be profitable or that other investments made in the future will have similar characteristics or results. A list of investments made by funds managed by a16z is available here: https://a16z.com/investments/. Past results of a16z’s investments, pooled investment vehicles, or investment strategies are not necessarily indicative of future results. Excluded from this list are investments (and certain publicly traded cryptocurrencies/ digital assets) for which the issuer has not provided permission for a16z to disclose publicly. As for its investments in any cryptocurrency or token project, a16z is acting in its own financial interest, not necessarily in the interests of other token holders. a16z has no special role in any of these projects or power over their management. a16z does not undertake to continue to have any involvement in these projects other than as an investor and token holder, and other token holders should not expect that it will or rely on it to have any particular involvement.

With respect to funds managed by a16z that are registered in Japan, a16z will provide to any member of the Japanese public a copy of such documents as are required to be made publicly available pursuant to Article 63 of the Financial Instruments and Exchange Act of Japan. Please contact compliance@a16z.com to request such documents.

For other site terms of use, please go here. Additional important information about a16z, including our Form ADV Part 2A Brochure, is available at the SEC’s website: http://www.adviserinfo.sec.gov.