podcasts / No Priors: Artificial Intelligence | Technology | Startups / episode
No Priors: Artificial Intelligence | Technology | Startups cover art
podcast
📅 ⏱ 31 min episode · summary ~2 min read 📝 Transcript · 5,093 words 🎙 Edo Liberty

Edo Liberty: No Priors: Artificial Intelligence transcript

No Priors: Artificial Intelligence | Technology | Startups · Transcript & summary by WhipScribe

A database CEO explains, with concrete test results, why retrieval beats fine-tuning for putting company data into AI models.

Read the transcript
🔔 Get every new No Priors: Artificial Intelligence transcript by emailOne email per new episode. Unsubscribe in every message.
One email per new episode, unsubscribe in every message. Not shared with the publisher.
In this episodePineconeNotionGongCanopyCommon CrawlGPT-3.5GPT-4AnthropicCohereDatabricksPostgresElastic

▸Chapters

Tap a chapter to play it from that moment in the show's own player.

▸Key takeaways

01Edo Liberty, CEO of vector database maker Pinecone, explains why RAG is now the main way companies give LLMs access to their own data.
02Pinecone stores the numeric embeddings models create from text and images, so search matches meaning instead of exact keywords.
03Edo Liberty says augmenting GPT-4, LLaMA and Anthropic models with retrieval cut hallucinations by up to 50% in a Common Crawl test.
04Edo Liberty warns that fine-tuning on company data can make a model worse, while stuffing ever-longer context windows adds cost without better results.
05Edo Liberty expects 2024 to be the year teams move AI experiments into production, calling RAG still complex but simpler than fine-tuning.

▸Notable quotes

“you can reduce hallucinations significantly, up to 50% sometimes.” Edo Liberty · at 5:15 — ▶ hear it from here
“I think runs its course very, very quickly.” Edo Liberty · at 22:31 — ▶ hear it from here

▸What this episode covers

Edo Liberty, founder and CEO of Pinecone, starts by explaining what a vector database is and why it matters now. He says models store text and images as numeric embeddings, and Pinecone is built to store, search and scale those vectors. He traces the company's start in 2019, before the generative AI boom, when deep learning and transformer models were already changing engineering work.

The middle section focuses on retrieval-augmented generation, or RAG, where relevant company documents are fetched at question time and placed in a model's context. Liberty cites Notion's Q&A product and Gong's sales-call tools as customers, and describes a test that loaded Common Crawl into Pinecone and cut hallucinations by up to 50 percent across several major models. He argues that customer workloads moved from small recommendation jobs to billions of vectors, which led Pinecone to its serverless design. He also argues that long context windows cannot replace retrieval, since stuffing more data into prompts costs more and helps little.

The final stretch covers privacy, model strategy and the outlook. Liberty says retrieval keeps private data out of model training, so a deleted document can be removed from the database and disappear from answers, which helps with GDPR. He calls fine-tuning powerful but hard to get right without expert researchers, and treats prompt engineering as necessary but limited. He closes by arguing that the field should separate reasoning from knowledge, and expects 2024 to be the year teams ship real products.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸Edo Liberty on No Priors: Artificial Intelligence: the answers

Who is Edo Liberty?

Founder and CEO of Pinecone, a vector database company. The episode says he was previously director of research at AWS AI Labs and at Yahoo.

What did Edo Liberty say about RAG?

Edo Liberty said that when Pinecone augmented models such as GPT-4, LLaMA and Anthropic's models with retrieval over Common Crawl, hallucinations dropped significantly, up to 50% in some cases. He said the models that behaved very differently without RAG ended up with similar accuracy once it was added.

“you can reduce hallucinations significantly, up to 50% sometimes.”Edo Liberty · 5:15

What did Edo Liberty say about Pinecone serverless?

Edo Liberty said Pinecone's serverless offering removes the limits on how much data a customer can store and query. He said customers need to ingest hundreds of millions to tens of billions of vectors while keeping cost and setup manageable, and that Pinecone has tested serverless with tens of billions of vectors on live traffic.

“something else is much more significant with just the scale and cost.”Edo Liberty · 8:14

What did Edo Liberty say about fine-tuning?

Edo Liberty said that as a scientist he favors fine-tuning, but as a business owner he finds it extremely hard to do well without a strong research team. He argued that adding more data does not guarantee a better model and can make it significantly worse.

“there's nothing that says that more data is going to make your model do better.”Edo Liberty · 26:33

What did Edo Liberty say about open source?

Edo Liberty said Pinecone chose to stay closed source because it could earn trust by being excellent at what it does and providing a managed service. He argued that most open source contributions come from the company itself, and that running Pinecone's multi-tenant system is too complex to hand to users.

“we figured we can earn trust by being excellent at what we do and providing an amazing service.”Edo Liberty · 17:44

What is Edo Liberty's main argument on No Priors?

Edo Liberty argues that companies should give AI models their own data through retrieval rather than fine-tuning, because a vector database lets a model answer from current facts without retraining. He says Pinecone's scale and cost demands drove its serverless design, and that long context windows will not replace retrieval.

Mentioned in this episode

  • CompanyPinecone
  • ProductCanopy
  • CompanyNotion
  • CompanyGong
  • OtherCommon Crawl
  • ProductGPT-4
  • CompanyAnthropic
  • CompanyCohere
  • CompanyDatabricks
  • ProductPostgres
  • CompanyElastic
  • CompanyAlgolia

Episode facts

Released
February 22, 2024
Length
31 minutes

▸Questions this episode answers

Q1What did Edo Liberty say about fine-tuning versus RAG on private company data?

Edo Liberty says he is in favor of fine-tuning as a scientist, but as a business owner he finds it extremely hard to do well unless a company has expert researchers. He argues that more data does not guarantee a better model and can make it regress. He says prompt engineering is necessary for output format but runs its course, while RAG is powerful though still requires real work.

Q2How much did RAG reduce hallucinations in Edo Liberty's Common Crawl test?

Edo Liberty says Pinecone loaded Common Crawl, a crawl of frequently visited internet pages, into its database and augmented GPT-3.5, GPT-4, LLaMA, Mixtral and models from Cohere and Anthropic with retrieval. He reports that hallucinations fell significantly, up to 50 percent in some cases. He also says models that behaved quite differently without RAG reached similar accuracy once augmented.

Q3Why does Edo Liberty think long context windows will not replace vector databases?

Edo Liberty argues that model companies sell by the token, so offering huge context windows is good for their business. He says there is plenty of evidence that larger context sizes do not improve results unless used very carefully. He adds that attaching all data to every query quickly becomes infeasible at gigabyte and terabyte scale.

Q4Why did Pinecone build a serverless version according to Edo Liberty?

Edo Liberty says Pinecone's original architecture suited small recommendation and anomaly detection workloads, but customers needed to ingest hundreds of millions to tens of billions of vectors while controlling cost and setup time. He says serverless removes those limits, and that Pinecone tested it with tens of billions of vectors on live customer traffic.

Q5Why did Edo Liberty keep Pinecone closed source instead of open source?

Edo Liberty says most databases open sourced early because cloud was not yet mature and open source was the only way to get complex products into engineers' hands. He argues Pinecone can earn trust through a reliable managed service instead, and that open source contributions mostly come from the company itself. He adds that Pinecone's multi-tenant system is so complex that open sourcing it would not help users run it.

Q6Does Edo Liberty think keyword search will stay part of vector search?

Edo Liberty says Pinecone's research shows that with well-tuned embeddings you very rarely need keywords alongside them. Combining keyword and embedding scores is still convenient, which Pinecone calls hybrid search. He expects baking keywords into search to fade, while sparse and dense vectors remain useful for boosting and controlling results.

▸Transcript

Our own transcript of the public episode, with a timestamp about every 90 seconds. Tap a timestamp to play the episode from there in the show's own player; the link button on a paragraph copies a link that opens this page there.

0:00Pinecone as a vector database for long-term memory

0:00Hi, listeners, and welcome to another episode of No Priors. Today, Elad and I are talking with Ido Liberty, the founder and CEO of Pinecone, a vector database company designed to power AI applications by providing long-term memory. Before Pinecone, Ido was the director of research at AWS AI Labs and also previously at Yahoo. We're excited to talk about the increasingly popular RAG architecture and how to make LLMs more reliable. Welcome, Ido. Hi. Okay, let's start with some basic background. Can you tell us more about Pinecone for listeners who haven't heard of it? Like, what does it do and how does it differ from other databases? So Pinecone is a vector database. And what vector databases do very differently is that they deal with data that has been analyzed and vectorized.

0:55I'll explain in a second what that means by machine learning models, by large language models, by foundational models and so on. The most large language models or foundation models, actually any models, really understand data in a numeric way. Models are a thematical object, right? And when they read a document or a paragraph or an image, they don't save the pixels or the words, they save an numeric representation called an embedding or a vector. And that is the object that is manipulated, stored, retrieved, and searched over and operated on by vector databases very efficiently at large scale. And that is Pinecone. When we started that category, people called me concerned and said, what is the vector and why are you starting a database?

1:46Why Pinecone started in 2019, before generative AI

1:46And now I think they know the answer. How did you think about this early on? Because you started the company in 2019. At the time, this wave of generative AI hadn't happened quite yet. And so I was wondering what applications you had in mind, given that there's so much excitement around Pinecone for the AI world, the prior AI world had a slightly different approach to a variety of these things. And I'm just curious, like, were you thinking of different types of embeddings back then? Were you thinking of other use cases? Like, what was the original thinking in terms of starting Pinecone? The tsunami wave of AI that we're going through right now didn't hit yet. But in 2019, the earthquake had already happened.

2:27Deep learning models and so on have already been grappled with. Large language models and transformer models like BERT and others started being used by the more mainstream engineering cohorts. You could already kind of connect the dots and see that where this is going. In fact, before starting Pinecone, I myself had founder anxiety between, are we already too late versus nobody knows what the hell this is and we're way too early. And it took me several months of like wild swings between those two things until I figured maybe the fact that I have those too early, too late mood swings maybe means it's exactly the right time. Maybe, Ido, you can actually just expand a little bit about, you know, in what use cases people want to use embeddings.

3:16RAG and semantic search as the core use cases

3:16Right. I think there are ways to interact directly with language models and then reasons for, for example, reliability or context length and performance that people interact with embeddings in like a RAG architecture or in semantic search. So maybe you can sort of talk about some of the driving use cases. I mean, the obvious way, in some sense, to add knowledge to your conversational agent, whether it's chat or what have you, we talk about it as generative AI now, but it's much more general than that, is to, again, not shockingly bring the relevant information into the context, right? So that you can actually arm the foundational model with the right pieces of content, with text, with images, with what have you, right? You want to be able to retrieve that

4:06from a very large corpus of knowledge that you have, whether it's your own company's data or whether it's the internet or what have you. It so happens that LLMs are already very, very good at representing data in the way that they want to consume it, which is these embeddings. And so you can, at question time, in real time, okay, at the time of the interaction, go and find relevant information. And relevant might be associated with or correlated with or something that is similar to whatever it is that you're being asked about. And once you bring that into the context, you can now give much more accurate answers, right? And as a side experiment, we actually loaded, it's called Common Crawl, which is the top internet pages crawled fairly frequently,

5:15Cutting hallucinations by up to 50 percent with RAG

5:15we'll load that into Pinecone and saw what happens when you augment GPT 3.5 and 4 and LAMA and Mixtrel and models from Cohere and Anthropic. And you could see that if you augment all of them with RAG, even on the internet, which is data that they were trained on, you can reduce hallucinations significantly, up to 50% sometimes. Interestingly enough, many of them actually start behaving quite similarly in terms of level of accuracy, even though without RAG, they actually have quite different behaviors. So it's sort of both like a uniform improvement and a little bit of leveling the playing field. Now, you know, because we know we can do that very well now, now you can do that also with proprietary data, with the data inside

5:51your company and so on, stuff that of course is not available on the internet and stuff that those models were never trained on. And interestingly enough, again, the quality ends up being incredibly high. I assume most Pinecone users are not, you know, using LLMs and retrieving against general internet data. Like what kinds of companies were your earliest or biggest users? Like what kind of data do they want to retrieve against? So most companies do use their own company data. It could be whatever it is, depends on the application they're building. Could be legal data, medical records, internal wiki information, sales calls, you name it. There's an infinite variety. I want to say that this is just RAG.

6:34Notion Q&A and Gong as real-world customers

6:34I mean, this is just semantic search. I mean, there are many other applications that we didn't talk about, but we can keep it focused on this application for this conversation. And is it dominated by a specific use case? Like, were there customers that you feel like really represent the Pinecone use case well? Yeah, 100%. First, text is probably most of what we see. Nowadays, models are really good at images and so on. But text is still the predominant data type. Notion, Q&A now runs on Pinecone, and they serve essentially question answering with AI to tens of thousands, probably hundreds of thousands of their own customers. Gong does the same thing with sales calls. Again, serves all of their use cases for all of their customers and so on. So one of the most common patterns is companies that themselves become trailblazers

7:28Serverless Pinecone and removing scale limits

7:28and innovators with AI, and they themselves hold a lot of their own users or customers' text, and they want to search over it or generate information on top of it. That ends up being an incredibly common pattern. I guess earlier this month, one of the things that Pinecone announced was the serverless offering called Canopy. Can you tell us a little bit about why you decided to go down the serverless direction and how you view that in terms of either use cases or adoption or other things? So Canopy is actually an open source that we put out there as a framework for people to learn how to use RAG. Pinecone serverless is just going pinecone. It's just pinecone, but serverless. What it does is basically removes the limits

8:14from what people used to experience before. When we started pinecone, a lot of the applications had to do with recommendation engines and anomaly detection and other problems where usually the scale was actually fairly small. And the requirements had to do with super low latencies and sometimes high throughput. And as a result, you still see a lot of databases kind of play in that field. We very quickly figured out with our own customers and our own experimentation that something else is much more significant with just the scale and cost. If you want to be able to answer correctly, you just have to know a lot. If you want to do that, you have to ingest hundreds of millions, billions, sometimes tens of billions of vectors into your vector database.

9:08And you want to query it efficiently in terms of cost. You just don't want that to explode in terms of, again, spend. And finally, you want to do that easily. So you don't want to spend weeks and months setting things up and getting it to work. And doing that in our old architecture and, frankly, with any other architecture today that's not serverless is very difficult. And serverless is here to basically resolve those main problems. It's incredibly easy to operate. It scales massively. I mean, again, there's no theoretical limit to how much it can scale. We've tested it with tens and tens of billions with live customers and live traffic. And I'm not going to go into the architectural design, but it's actually designed to be

9:56incredibly efficient, like asymptotically better than what can be done with any other architecture. It's fundamentally about removing the all limits so people can actually have all the information they need ready for the foundational models. You mentioned Canopy is to help enable more people to build RAG products. Like where do you, where do you see developers or your customers struggle to get embedding space to AI products generally successful? Or what were you Or what were you trying to achieve with Canopy? Yeah, so vector databases and Pinecone specifically are very foundational model, are very foundational pieces of technology. We're very deep in the stack. And to build a proper full end-to-end solution, say like Notion Q&A,

10:46Building an end-to-end RAG system with Canopy

10:46there's quite a lot that you have to build on top of it. You have to ingest documents and what's called chunk them. You have to figure out how to break them into factoids and pieces of information. You have to embed everything with models. You have to ingest them into the vector database. When you get a query, you have to figure out how to manipulate it and how to embed that. You have to search over it. You have to ingest them into the vector database. You know, when you get a query, you have to figure out how to manipulate it and how to embed that. You have to search over it. You have to re-rank. You know, there's a lot. There's a whole system you have to build around it. And a lot of people told us that this is actually quite complex.

11:18And they're right, right? We put out Canopy as really an example. It is an end-to-end kind of cookbook. If you just take this, it should work. You should probably, once it works, you should figure out how to make it better for your own application, right? Because, you know, medical data is not JIRA tickets, you know, and JIRA tickets are not Slack messages and you might be building a different product. But at least you have some end-to-end starting point that already does something and you can start improving on. Two of, I think, the most common comparison points for vector databases that people use are, A, like traditional databases, right? Like why not just use Postgres, PG vector, or some index associated with an existing database?

12:04Vector databases versus Postgres and keyword search

12:04Or B, like sort of more traditional search or incumbent search technologies or services like Elastic or Algalia. Can you talk about like, you know, why not other databases or like how you think about traditional search? Yeah, I'll just go back to the fundamentals about what are you trying to achieve, right? And what we're trying to achieve is to give as much context and as much knowledge to foundational models as possible. Do that easily at scale, you know, on a budget, get to a unit economics that actually works for your product, which is incredibly hard to do with AI with like many discussions going on about that now. Those other products don't work. They don't work either because they don't scale in terms of the

12:54efficiency, scale, cost, the trade-offs that they can offer, because they're not designed to do this. They're designed to do something else. They kind of thought about Vector Index as a bolt-on retrofitted feature. And so, yes, it works at small scale, but when you try to actually go to production with it, you understand the limitations. With other search technologies, this is, again, this is the wrong search mode. If you're searching with keywords and just not finding the relevant information because the embeddings, the contextual space in which these pieces of text, documents, or images live is in vector space, in high-dimensional numeric space, not in keyword space. And like everyone that's ever searched the inbox

13:44for an email you know for a fact you have and not find it knows that keyword search has a deeply flawed retrieval system. I'm just curious if customers or, you know, developers are trying to combine the existing search systems they have. I know you also are increasingly supporting hybrid search. So kind of wanted to understand that. Where are embeddings like amazing and useful and like delivering new experiences and where they're not enough or not like the full experience that end users want? So it's interesting. Our research actually shows that when you do this well, you very rarely need keywords alongside embeddings. But getting embeddings to perform perfectly is actually, it could be quite intricate. And we find that it's

14:36Hybrid search and when keywords still matter

14:36very convenient to have keywords alongside embeddings and to score those things together. We call this hybrid search. And in fact, we made this even more general and we said, okay, why not? Keywords under the hood are actually represented as sparse vectors. That's true of any keyword search, by the way. This is just kind of the mathematically identical. And then we said, why don't we just make this more general and just say, hey, you can give either sparse or dense vectors or both of them and kind of have the best of both worlds. And people find that very convenient. And so I'd highly encourage people to look at it and improve, you know, by boosting and all sorts of other tricks that you can bake into sparse vectors, including keywords. My guess is

15:22that that's not going to be the dominant mode of search in the very near future. You think we progress, like you think hybrid search is a more temporary convenience? I mean, I think it'd be used for boosting and other types of levers to control your search. I think the mode of you baking keywords into that is going away. Yes. And maybe just going back to like the traditional database market, like why not in my Postgres or my Mongo or whatever I'm using already? Again, I mean, we see this in the market. A lot of people tell me, hey, I already use tool X or database Y and why not? And frankly, oftentimes when it's some tiny workload, they're just learning how to use embeddings for the first time and so on.

16:10It might actually work OK. It's when people try to actually do something in production, they're trying to scale up, they're trying to actually push the envelope or they're trying to launch a product that needs to have some unit economics attached to it that makes sense for the for that product that's where people run into huge problems and so many of them just you know start with us to begin with to be honest a lot of them are enthusiasts and they actually kind of enjoy learning how to use a new kind of database and are you you know user experience is smooth enough and and you know so many tutorials and notebooks and examples that they actually find it exciting. But I guess some don't and that's fine.

16:50Why Pinecone chose closed source over open source

16:50So maybe one more on database dynamics. Pinecone is closed source. It's gotten great adoption, but many databases and like, you know, mature market are open source. How do you think about this decision? And has that been an issue for you? I'll say that most databases started before cloud was really a fully mature product or a market or platform. Okay. And so that was the precursor to PLG, essentially, or whatever. It was PLG, essentially, or whatever. It was PLG, right? It was, you know, it was that that was the only way to put a technically complex product at the hands of engineers was to open source it. Right. And you see, I think all I mean, maybe not all, but definitely the larger databases that are open source out there.

17:44I think that's the reason they did that. When we started Pinecone, we asked the very basic question of why do people open source their platform, right? One of it was to earn trust. One of them was to get contribution from the community, and one of them was a channel to users. And we figured we can earn trust by being excellent at what we do and providing an amazing service. We don't need external contribution. And in fact, if you look at statistics, even companies that are open source, 99% of the contributions are actually from the company itself. Not 99, but high 90s. And so that doesn't actually make a huge difference. And in terms of experience, we figured that we can actually provide a much better experience and much better access to the platform than what open source does.

18:41And Pinecone is a fully managed and multi-tenant service. And to be able to run that at scale and provide the cost scale trade-offs, we actually run a very, very complicated system. And in some sense, even if we gave it as open source to somebody, they wouldn't know what to do with it. It will be a Herculean effort to even run this thing. The right decision was basically that we should offer this as a service. We should manage it end to end. And as long as you give people a fully reliable interface and you keep doing that year after year, you earn the trust and the ease of use that open source becomes, I hope, not an issue. It's funny because the two anecdotes along those lines, I remember talking with, I think it was Ali from Databricks,

19:25and he said that if you can avoid doing open source, you should. He felt like it was an incremental challenge because you get distribution through open source, but then you have to figure out the business model. And so he viewed it as like, I think the analogy he uses is like making an open source project work is like hitting a hole in one in golf. And then you pick up a baseball bat and you have to hit a grand slam because then you have to do the second act to make sure that the thing actually works as a company. That's right. No, I mean, I agree a hundred percent. I mean, this is exactly what we're experiencing. And in fact, we already see, even though new players in the vector database space that basically started to try to take us down all took the open source angle.

20:10Long context windows and why stuffing fails

20:10We already see them, even young as they might be, they are already struggling with their open source strategy. Serverless is the fourth almost complete rewrite of the entire database at Pinecon. Yeah. The one other thing that's coming in terms of the LLM world, which may or may not impact you, and I'm sort of curious how you think about it, is increasingly long context windows for foundation models. Does that change how people interact with embeddings and vector databases, or does it not really impact things much? There's things people are talking about in terms of infinite context or other things like that. Like, I mean, I don't know what infinite context means, to be honest. It's like very big.

20:49It's infinite. It's like huge. Oh, oh. Thank you. Yeah, yeah. You're welcome. I should take a note. First of all, those companies sell their services by the token. So the fact that they allow you to use infinite context windows is not shocking. Okay. That's good for business. The second thing is there's plenty of evidence that increasing the context size doesn't actually improve results unless you do this very carefully. Right. So just what's called concept stuffing is not helping. You just pay more and don't actually get much for it. And the last thing, even that, even if you kind of buy into the marketing, that runs its course, right? If you're, it's like saying, oh, I don't need Google because I can,

21:43and every time I query Google, I can send the internet along I query Google, I can send the internet along with my query, right? It's like, yeah. Well, theoretically, that's maybe possible, but clearly, practically, that's not feasible, right? So, at some point, the context window just becomes gigabytes and gigabytes and gigabytes of data, like terabytes. I mean, where do you stop, right? And so already today, we have users who use not even very large models, you know, maybe a few billion parameters. And the vector database next to the model contains trillions of parameters, right? And they get, you know, much better performance that way, right? Just attaching all the context to everything you do,

22:31Data leakage, GDPR deletion and private data

22:31I think runs its course very, very quickly. And it's also unnecessary, to be honest. Yeah, I guess related to that, another place where people have been talking about embeddings and vector databases is in sort of aspects of personalization and privacy. And I'm a little bit curious how you think about that because one of the risk people view is running an LLM over a large data corpus or fine tuning it against a specific company's data is the issue of data leakage. Say for example, you're an HR company and you don't want different people's salaries to leak across an LLM because you're using it as like a chatbot to help you with context regarding your own personal data in an enterprise or things like that.

23:11Can you talk a bit more about how embeddings can provide personalization and in some cases, potentially other features that may be attractive to enterprises? Yeah, so that's a very common and reasonable thing to be concerned about. Data leakage can happen in two main ways. A, if you use a service for your foundational model that frankly retrains their models with your data or records it, right, or saves it in some way that is opaque to you, right? That is a huge problem. And I think a lot of people are struggling with that. The second is, if you're building an application in-house, whatever it might be, and you fine tune your models on added data, that added data might end up popping where it shouldn't in answers to other people's

24:07questions or whatever. What people do with vector databases is actually incredibly simple, right? You don't fine tune your model on your own proprietary data, at which point you know for a fact it doesn't contain any proprietary data because it's never seen any of it. OK. And then at retrieval time or at, you know, whenever you apply the chat or the agent, you retrieve the right information from the database, give it as context to the model, but only do inference. You don't actually retrain and you don't save that interaction, at which point that data doesn't exist anywhere. It's like an ephemeral thing. And the added benefit of that is, by the way, that you can be GDPR compliant. You can actually delete data.

24:57So if you're a company, like a legal company, and somebody deletes a document, you can just delete it from the vector database, and that information will never be available to your foundational model again. So you don't even have to devise some complex mechanism for forgetting. You just don't know it anymore. What are the main reasons why people attach vector databases to foundational models? It gives you this operational sanity that is almost completely impossible without it. That's interesting. Yeah, I guess it feels like there's three different approaches that people are using. They're not mutually exclusive for models that kind of overlap in terms of what the hope for output is. One is really changing or engineering prompts or adding more information

25:47Prompting, fine-tuning and RAG compared

25:47into the prompt. The second is fine tuning. And the third would be RAG slash different aspects of embeddings or other approaches like that. How do you think about fine tuning in this context? Like when should you fine tune versus, you know, use some of the approaches that you've talked about earlier? I can answer both as a scientist and as a business owner, right? As a scientist, I'm all for fine tuning. We have all the evidence to show that done right, it helps tremendously. As a business owner, I can tell you that it's actually extremely hard to do too well. I mean, this is something that unless you have the research team and the AI experts that know how to fine tune, you might actually make things significantly worse.

26:33So there's nothing that says that more data is going to make your model do better. In fact, it oftentimes regresses to something significantly worse. With prompt engineering, again, I think it's necessary, especially when you build applications. You want the response to conform to some format or have some property. I think that's a given. You should do that. It runs its course after a while. I mean, in some sense, you get what you get. It's necessary, but there's a limit to what you can do with that. And RAG, I think, is incredibly powerful. But like I said before, when we talked about Canopy, that's not, you know, that's not simple either. I mean, it's simpler than the other ones, but still acquires work and understanding, experimentation, and so on. This is almost the hallmark of a nascent

27:27market when the simplest solution is still somewhat complex. Yeah, makes sense. What's next for Pinecone? What are some major things coming that you'd like to talk about? There's a ton. We are, we're an infrastructure company. And so we obsess about ease of use and security and stability and cost and scale and performance. Also as an engineer at heart, I'm very excited about those things. And all of that is coming. Again, serverless is becoming faster, bigger, better, more secure, easier to use. And we're starting to really grapple with what very large companies and very, you know, kind of trailblazing tech companies are going through. I said that getting AI to be truly knowledgeable is still complex. I think we're starting to grapple with deeper issues that the entire information

28:27Roadmap and separating reasoning from knowledge

28:27retrieval community has been dealing with for about 40, 50 years now. We're starting to see those, you know, come to the fore in RAG and in AI in general. I guess putting aside Pinecone and sort of the database world and everything else, what are you most excited about in terms of what's coming next in AI? It's hard to say. I really do want to see a distillation in some sense of foundational models. And by distillation, I know it's a, I don't mean what usually people say, but there's distillation of models. I don't mean what usually people say, but there's distillation of models. I don't mean that. I mean, the separation of reasoning and knowledge, right? Foundational models get it fundamentally wrong.

29:17When we learn how to build the subsystems of AI correctly and for each one of them to do their roles optimally, either we're going to be able to achieve the same tasks much cheaper, faster, better, or we're going to still want to use the same amount of resources, but achieve much more. What happens today is that we have very crude tools and we try to use everything for everything. Delightfully or shockingly enough, depending on who you are, that kind of works. I mean, we found these like very, very efficient and very general purpose tools, right? But they're still very general purpose. They're still super blunt instruments. Again, as a technologist or somebody who cares deeply about how things are built,

30:04you kind of see the inefficiency and it hurts the brain to figure out that, you know, we take half the Internet and cram it into GPU memory. I'm like, holy, why? This can't be the right thing to do. I'm very excited about us as a community truly understanding how the different components interact and how to build everything much more in some sense correctly. And I hope we get to build some exciting products. By we, I mean the community gets to build some exciting products this year. I think we're going to see a year of a lot of experimentation that when the people went through last year, they're going to take the production and to build cool products this year. And I can't see, I can't wait to see how that looks like. I have a feeling that this year is going to be very,

30:58very exciting for consumers of AI. Yeah, I totally agree. It's a very exciting year ahead. So thank you so much for joining us today. Thanks, Ido. Thank you, guys. Find us on Twitter at NoPriorsPod. Subscribe to our YouTube channel if you want to see our faces. Follow the show on Apple Podcasts, Spotify, or wherever you listen. That way you get a new episode every week. And sign up for emails or find transcripts for every episode at no-priors.com.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸More from No Priors: Artificial Intelligence | Technology | Startups

No Priors: Artificial Intelligence | Technology | Startups cover art
Competition makes for better chip design with AMD CTO Mark Papermaster2024-02-29 · 39 min
No Priors: Artificial Intelligence | Technology | Startups cover art
RAG is the key for smarter productivity tools with Notion CEO Ivan Zhao2024-02-15 · 42 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Big tech earnings and the current AI debates, with Sarah Guo and Elad Gil2024-03-07 · 42 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Build AI products at on-AI companies with Emily Glassberg Sands from Stripe2024-02-08 · 39 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Designing the Future: Dylan Field on AI, Collaboration, and Independence2024-03-14 · 36 min
No Priors: Artificial Intelligence | Technology | Startups cover art
The Copilot for Ecommerce with Shopify VP of Core Product Glen Coates2024-01-31 · 39 min
New No Priors: Artificial Intelligence | Technology | Startups transcripts by email
One email per new episode, unsubscribe in every message. Not shared with the publisher.