In short
Practical AI Episode Notes: The Perplexities of Information Retrieval
Episode Overview
- Title: The perplexities of information retrieval
- Guests: Denis Yarats (Co-founder & CTO at Perplexity)
- Hosts: Daniel Whitenack & Chris Benson
- Main Topic: The discussion centers around Perplexity’s AI-driven answer engine and its improvements over traditional search engines, particularly regarding accuracy and validation in information retrieval.
Key Points Discussed
Introduction to Information Retrieval
- Traditional web search engines provide a list of documents in response to queries but require users to sift through results for answers.
- Perplexity aims to simplify this by delivering direct answers synthesized from relevant documents, thus saving users time and effort.
Deficiencies of Traditional Search Engines
- Traditional search engines often result in "hallucinations," where inaccurate or misleading information is presented.
- Users need to validate information manually, which can be particularly cumbersome for complex queries.
The Evolution of Perplexity
- The motivation for creating Perplexity stemmed from the need for a more efficient answer engine that leverages advancements in language models, particularly with the success of models like GPT-3.
- The initial prototype combined a search engine with a language model, demonstrating better information retrieval compared to conventional search methods.
The Concept of an Answer Engine
- Definition: An answer engine retrieves relevant information and synthesizes it into a coherent, human-readable format.
- Key differentiators from search engines:
- Direct answers rather than lists of documents.
- Enhanced accuracy with citation support to validate information.
Challenges and Innovations
- The challenge of minimizing hallucinations while maximizing answer speed.
- Perplexity integrates various models to optimize performance and response times.
Future of Information Retrieval
- Predictions include the development of multimodal systems that handle various data types (e.g., text, audio, images) and the automation of decision-making processes.
- The potential for agents that can perform tasks based on user queries (e.g., making purchases).
Addressing Data Poisoning Concerns
- Awareness of the risk of data poisoning, where generated content could influence search results negatively.
- Comparison to spam detection—ongoing development of discriminative technologies to identify and mitigate misinformation.
Key Takeaways
- Accuracy and Validation: Essential for user trust; citation of sources is a core feature in Perplexity’s offerings.
- Speed vs. Complexity: There’s an ongoing balance between delivering fast answers and handling complex inquiries efficiently.
- Future Innovations: Anticipating and integrating new modalities (e.g., voice interfaces, visual representations) to enhance user experiences with AI technologies is crucial for the next generation of information retrieval systems.
Conclusion The episode provides deep insights into the challenges and advancements in AI-driven information retrieval, emphasizing the importance of accuracy, user experience, and the evolving landscape of AI applications. Perplexity aims to redefine how information is retrieved and utilized, paving the way for smarter, more responsive technologies.
For more discussions and insights, check out the Practical AI community at [practicalai.fm/community](https://practicalai.fm/community).
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Transcript
Automatic transcript. May contain errors.0:05Welcome to Practical AI. If you work in artificial intelligence, aspire to, or are curious how AI-related tech is changing the world, this is the show for you. Thank you to our partners at Fly.io, the home of changelog.com. Fly transforms containers into micro VMs that run on their hardware in 30 plus regions on six continents. So you can launch your app near your users. Learn more at Fly.io.
0:45What's up, friends? Do you remember when ChatGPT launched? I do. It felt like the LLM was this magical tool out of the box. However, the more you use it, the more you realize that's just not the case. The technology is brilliant. Don't get me wrong, but it's prone to issues like hallucination on its own. But there's hope. There is still hope. Feed the LLM reliable current data, ground it in the right data and context, then and only then can it make the right connections and give the right answers. The team at Neo4j has been exploring how to get results by pairing LLMs with knowledge graphs and vector search.
1:22Check out their podcast episode about LLMs and knowledge graphs throughout 2023 at graphstuff.fm. They share tips on retrieval methods, prompt engineering, and so much more. Don't miss it. Find a link in our show notes. Yes, check it out. Graphstuff.fm, episode 23.
1:50Welcome to another episode of Practical AI. This is Daniel Whitenack. I am founder and CEO at Prediction Guard, where we're safeguarding private AI models. And I'm joined, as always, by my co-host, Chris Benson, who is a principal AI research engineer at Lockheed Martin. How are you doing, Chris? Doing great today, Daniel. How's it going? It's going great. I am sometimes perplexed throughout my workday, but generally the week has gone well, and I'm really excited because hopefully our guest today will provide a lot of ways for us to navigate through the perplexity. I hope he finds that punny. Yes, yes, of course.
2:33We have with us today, Dennis Yarets, who is the CTO and co-founder at Perplexity. Welcome. Thanks for inviting me and great to be on the show. Yeah, yeah. Well, we've been wanting to make this one happen for a good long while. Of course, been following the things that Perplexity has been doing. really impressive and inspiring work. And yeah, just really excited to hear a little bit about that story and also this kind of space of answering, giving people knowledge with generative AI, with language models, search more generally, maybe. Could you set us up by maybe talking through, of course, people have followed, everyone's kind of followed this surge of generative AI over the last couple of years.
3:23But there's been kind of a segment of that that has focused a lot on kind of answering questions, discovering knowledge, curiosity, exploring topics, an intersection with search more generally, I guess. So could you kind of help us understand maybe that journey, how that's kind of developed and how also you and the co-founders of Perplexity kind of came upon your approach to that? Yeah, that's definitely been like very fascinating, almost two years, I guess. I think like general like web search, right? So like what do you want to ultimately get is an answer to your question, right? So it's the current iteration that we had like when it was Google and all the other like classical search engines is an approximation to get to this point, right?
4:12So you have your question, you ask it as a form of query, and then you get like a bunch of documents that are very relevant, but you have to still do ultimate sort of like, you have to do like additional work to get to the bottom of it, right? So you have to scan through the documents, you have to for yourself understand what is this a true answer. If it's a not true answer, kind of like have to trust the information. And as you can imagine, it's a lot of work, especially if you're trying to search for something very complicated, maybe things that are not so obvious and would it be nice to um kind of like avoid that step right where you just like answer a question and you ask ask the question and you get an answer right away so that that's kind of like ultimate destination we're trying to get obviously uh there has been um it's been tough to get there over uh last like decade or so it's you know there's been like a lot of work but it never quite worked there is a this like a much higher level of uh hallucinations much higher level of uh maybe not perfect synthesis of the information you kind of like basically get like a frankenstein so like uh instead of like a hearing uh and a nice easily parsable of readable answer you get like some just like basically extracted pieces of the information and just like concatenated together so like not very pleasant and you know um it's funny that when we started so one of our angel investor was uh jeff dean and requires like no introduction and he he was saying you know um google uh actually wanted to always build something like this but it's just because they have like such high um expectations for accuracy because like you know millions of billions of users using google right and like if you like hallucinate like one percent of the time you're gonna get a lot of uh unhappy people and so they would never able to because of the models were like not as strong as they are right now, they were never able to get it to just like 99.9 % of accuracy.
6:16Right. And that's why kind of like this work never pan out. And, but something great happened, you know, 2022. Right. So we, when we started our company, we kind of, you know, both myself and Aravind, my Mike of Cofondren, we come from like academics, right. We've been doing a lot of research on language modeling, reinforcement learning, stuff like that. And he was actually at OpenAI at that time. We've been very clearly following improvements of GPT models, like GPT-2 and then GPT-3. That's where it actually got very interesting. And it became obvious and obvious there is going to be something there.
6:56This was primarily my motivation for us to start a company. we wanted to do build an answer engine from the get-go but it was kind of like very ambitious you like we i remember we would go to the investors and there was a say like oh we're going to build a search engine and they're like start like you know looking at you like you're crazy which is makes a lot of sense they're so like oh there's google already and they had like a fair point but we we still kind of like weren't like very discouraged by that we knew there is like something there and we started like prototyping so we the first version of perplexity we actually created as a slug bot or like discord bot where kind of like it was a very primitive combination of a search engine plus uh at that point it was like da vinci 2 models it's still you know pre-chat gpt and it's kind of like worked much better than i expected it was like very quick like we put it up this demo like in a couple of days and it was like you can already see that it in certain cases it is very helpful like we because this was like very early company we're trying to hire one of our first engineers and we didn't know how to organize the insurance for him.
8:06And so we actually used this bot to ask those questions about insurance because if you go to Google and start asking the questions about insurance, you're going to get a lot of ads and you're just going to get very quickly disappointed. I've appreciated that same thing in founding a company and using these models in that way. It's very useful. Yeah, exactly. And then it was kind of like useful. So we were kind of like been trying it out and like playing with it. But then what really happened, started happening is like, I think it was like a couple of weeks before ChatGPT, they opened AI, released this DaVinci 3 model.
8:44And I literally remember very clearly, like changed the, like literally the model name and started asking the same questions that I was asking before. And I could see right away, just like so much better. it's just like so much better at understanding what you of your intent so much better at like understanding where like what should it say what it should not say so much better like synthesizing the answer and i was just like really like blown away and you know um i was like okay so there is like definitely something there and then obviously like shy gpt happens like a few weeks after and we're like okay so we have to like our initial product was actually because as i mentioned we came from academic background like our citations were like the core component because it was like very clear to us from the beginning.
9:28Like if you want to get an answer, you want to make sure it's accurate. You want to make sure you can verify it. And so the citation was like the sort of like first class citizen in our product. And then when Chagipiti came out, it was like, okay, so one of the biggest point of feedback for them was, okay, so I don't know like if this is accurate information, if it's not, if it's a hallucination, if it's not, how would I verify it? And that's why we like recently decided, okay, so this seems like a good opportunity to release our product. We like literally in a matter of like today's put up a website uh connected to our like back end that we had and just like obviously did not expect that it's gonna uh be um people gonna use it and like the usage is gonna grow as much as possible but coming back to your uh original question i think like what happened it was just like literally this in a matter of like days or month i mean obviously it follows like a lot of uh years many years of research but like it was very clear step function in the quality of the generated answers.
10:23And you can like literally, if you, if you sort of like spend some time playing was if you can clearly see that it's now becomes very, very good. We also realized at that time, okay, so like models only going to get better. Things only going to get like faster and cheaper. So there is something, there is a lot of stuff to build here. For those who are still kind of learning about your organization and what you're offering, could you step back for a second? Like if you were talking to Jeff Dean or another investor, kind of giving them the elevator pitch about what you're doing specifically and how it's differentiated from the GPTs and stuff out there.
10:59How do you define that? How do you describe yourself in terms of the specific opportunity that you're pursuing? The fastest way to get the most accurate answers to your questions. I think that that's essentially like answer engine. Then we're kind of like one of the first people who coined this term. And can you differentiate that from a search engine a little bit there? Yeah, yeah. So basically in a search engine, right? So you get like all the way. It's like, as I mentioned before, in the search engine, you have to search first, you get a document. Let's say you have like top 10 results and you have to scan through all of them and identify the information to get your answer.
11:34Here, we kind of like, we do this step for you. So we take the first step of the retrieval of the relevant documents, and then we synthesize them into a human readable, nicely formatted answer that you can then like if needed if you want to get more information then you can click on the citations that are kind of like nicely attributed for each sentence and then you can like learn more information and so we kind of like wanted to do things like very simple we were like early on identified so there is like two things we care about this is a accuracy and then speed because this is you know you want to get information fast google trained us all to get instant search results.
12:14I think that was very important. Early on, it was kind of challenging because those models were very slow. Our infrastructure was not very advanced to do that. I remember very first version, you would have to wait for three seconds or five seconds to get an answer. It was very slow, but because it was such a better experience than just looking at the search results at Google, so people still would use it. Our ultimate goal was like, okay so can we be as fast as possible so yeah so the the main differentiator is just uh we care a lot about quality so we minimize the chance of things being inaccurate or like hallucinate and we want to do it as fast as possible and so that's that's kind of like distinguish us from google because you know google doesn't for example generate the answers uh even though like more recently they started doing this which is kind of like validated our idea and chat gpt probably primarily focuses on like different things, you know, but I guess also more recently they started doing web search as well.
13:29What's up friends? I love Backblaze. I'm happy to have them as a sponsor. Backblaze makes backing up and accessing your data astonishingly easy. This is a service I personally use. Go to backblaze.com slash practical AI. You get unlimited cloud backups for Macs, PCs, businesses for just$99 a year. You can easily protect business data through a centrally managed admin, protect all the data on your machines automatically, easily deploy across multiple workstations with various deployment options. You can add on enterprise control, including granular access permissions, advanced single sign-on, group management controls, and compliance support.
14:09They even offer multiple restore options, including rapid recovery in the event of data loss or ransomware. That sucks. You can access your backed up data from anywhere in the world using their web app or their iOS or Android app. You can even restore by mail. They'll give you a hard drive with all your data shipped to your door. You buy a hard drive restore, send the hard drive back within 30 days, and get a full refund. Get one year file retention and version history. Over 55 billion with a B files restored for customers so far. Visit MacBlaze.com slash Practically I so they know where you came from and continue to support the show.
14:47This is a service obviously recommended by me, but also by New York Times, Inc. Magazine, Macworld, PCworld, LifeWire, Wired, Tom's Guide, 9to5Mac, and just so many more. You receive a fully featured or no risk trial at backblaze.com slash practical AI. Again, there's support in the show. Go there, play with it. Start protecting yourself from potential bad times. Start today.
15:38So you mentioned a few things there. You mentioned web search. You mentioned retrieval. You mentioned the large language model. So at least in kind of how I think about it and maybe others categorize it differently, there's one element of information that you can get from an LLM, which is I'm going to put in a prompt and it's going to generate text. and that may contain some facts or made up facts or some text, but it may be informational, right? So there's some sort of knowledge that can be gained there. And then in a second case, there's a way to retrieve on the fly external data. So that could be like from your company's documents, it could be from the web, whatever, and then inject that into prompts into the model, which kind of grounds it and like you say would give you a citation there's also you know more agentic approaches to this where maybe there's multiple ways that you could get knowledge maybe doing a web search or searching a certain database that you have access to or any handful of of sources that you've kind of curated as tools and you call them in a more automated way so i'm wondering from your perspective, obviously you are part of a team that have been exploring this very deeply from very early on, like you say, when these models made that jump.
17:03From your perspective now, both in terms of what you're building with perplexity and also kind of how you generally see the ability to get accurate information from these models, how do you view those kind of categories in terms of their utility and what you're relying on for the accuracy element specifically. The way I see it's going to unfold, I think the tools and sort of like agentic behaviors, I think that's where it's going. I think it's going to be the main bottleneck for this right now is just like models are not smart enough yet to take into account and sort of like reason all of the information that is out there.
17:42but uh i think it's going to be like a main component so there's going to be like models they're like very powerful already right now they're like trained on a lot of data like basically internet they have a lot of internal information internal knowledge and they can do like already like very good job of uh synthesizing information there's like certain things that they don't do well and perhaps they never going to do well those things like for example like you know like computation like when you need to do like some maybe around like some code or like do like uh some sophisticated like math computations that's like did the lm architectural i guess transformers is like gonna struggle at that also you know because those models are like so big sometimes it's going to be very expensive to them update very frequently so you need a way to ingest um something some new information that just like happened and it's still not part of the llm weights you have a way to and this is what we sort of like specialized also some private documents as you mentioned right so sometimes if it's like uh enterprise you know you have a some of the documents that obviously the model is was not trained on and you kind of like maybe want to reason about those documents right so and there's like all kinds of other tools that you can yeah eventually there is going to be like agents that is going to do like actions maybe you're going to like book a ticket, like buy a ticket or something like that and stuff like that.
19:08So I think it definitely where it's going, it's going to be like a synergy. Everything's going to come together. We just need a top level, powerful model that's going to kind of reason behind multiple things. And we'll have to need to have like long context windows, maybe like some memory as well. And then, you know, just like utilize those tools as much as possible. How we are perplexed to thinking about it. We are like, okay, so, and there's like multiple ways and multiple sort of like applications, multiple use cases of this general approach. We are primarily focusing on the information retrieval part of it.
19:45So kind of like initially web, web is the main component because there's like lots of things to instruct from web, but also we're thinking about how to integrate a new different data sources. maybe like some of the different databases maybe there's like some more complicated or like more specialized documents like you know maybe there's like pdfs or something like that or like some financial data things like that the other aspect that i'm very excited about and and we're working on is kind of uh do you know right now we can answer we can do like a great job of answering like complicated questions that you can get answers on google but like still not something where you can ask expert and then can get an answer right like what if i have like a question that is just like requires like multi-step of reasoning so it requires like okay like searching web multiple times analyzing information that during the issue retrieval and then like maybe refining the search so kind of like those things that may be going to take some time but like if you do it yourself you would spend like let's say like an hour so here maybe the system would spend like a 30 seconds and it's going to save you a bunch of time so kind of like those use cases that's um that can answer very complicated questions.
20:58And we believe that there is a world for those type of questions. Technology like this is going to be useful. As people are using an answer engine like yours more and more often going forward, and you kind of alluded a moment ago to the fact that LLMs are not the be-all. There are things they don't do well, like mathematics and such, and a variety of other things I'm sure that we could all throw out there. But they're really powerful at what they do, but clearly there is a place and a need for both the LLMs, these largest models that kind of suck up all the air in the news cycles, as well as many smaller models that are specialized, a mathematics model that you plug in.
21:39As we're looking at trying to use answer engines to retrieve information, and that information is increasingly multimodal in nature in terms of what you're asking, how does the architectures of those come together. This is a space, it's not the first time we've asked it here, but it's evolving so rapidly. We're no longer hosting a model. You're now hosting a whole collection, and they may be mixed with models that you're APIing out to and such. How does that look to you as you're building this company at this point? It's going to be always like trade-off between like if you have like one powerful model, I mean, yes, you can do like lots of general things like super well but like it's going to be slower it's going to be more expensive one of our like key principle is just like we want to do things very fast so we can get like that answers as vast as possible that means you have to design your system like orchestration system in a way where certain things will have to uh rely on like customized models like and something that is much smaller much faster but it knows it's like a specialist model so it's not a model that like knows how to do everything but it knows how to do like one task and basically the the challenge here is like how do you balance between this like general models and this like a specialist models and i think we've we've been doing um this like from the very beginning so like when you send the request to perplexity it's just like not one model there is like i don't know at least like 10 different models trying to um do lots of things with your request it's like all kinds of like ranking models, a bunch of like embeddings, all different like classifiers and stuff like that.
23:21And like the other trade-off here is just like, it was general model. Let's see, um, one of the, uh, big, and I think it was like actually very critical component of, uh, why like company like perplexity in the first place became, uh, possible is it's like the speed of iteration. Like you literally can change the prompt and you can just get a new product, like in a, in a matter of like hours like imagine a couple of years ago if you wanted to build something like you know perplexed or like whatever other like genii product you have to collect data first have to train the model launch the product see if this product makes sense does it have market feed or not if it has market feed then you like start collecting data and then and then you just like keep improving so what being possible with gpt models like an api is just like this kind of like flipped over so you very quickly can build a product, see if there is any signs of life for this product, and then you start collecting data, which is, I think, honestly, the most important thing.
24:19And once you collect data, you can distill it, you can build many other smaller models and optimize the experience. So you can make the models faster, you can specialize them. I think this is the key. I think this is the, honestly, was one of the most fundamental changes in the development. And we kind of like took advantage of this thing like early on and then still using. But it's still tricky kind of like imagine like every time you have this like specialized models and you have like if you have tons of them, you have to then like treat each model like care about each model separately. So if you want to like retrain this model, so you have to spend some time on it.
24:58So you have to like evaluate it. So it becomes more difficult to manage. but on the other hand you know you have some great benefits so the key is just like you don't want to go like too overboard with those models like if everything is on like customized models but also you also clearly don't want to have just like one model that's going to do everything so yeah i i have a question maybe related to that which i think is a pain point a lot of people are feeling and i'm i'm guessing your teams have felt which you even mentioned this like you you can make a small change in your prompt or create a new prompt and all of a sudden it's almost like you have a new product which is sort of like amazing in in one sense and really frustrating in another sense because as you were just alluding to it's like oh maybe I have these like 17 different things chained together and they all have prompts that I've worked really hard on and then like tomorrow, Lama 17 comes out or something.
25:58And now it has a different character of behavior than the previous model that I was using. I'd love to use it, but now I have all of this. It's almost like AI model debt that I've got in my system. Do you have any perspective on that or anything that has happened in your experience in this regard? Yeah, yeah. This has clearly been a thing and it's been happening quite often. And if I would guess that's going to continue happening. One thing we realized early on is, okay, so this is going to be the case. There is not going to be one model that rules them all. I mean, even though like for some time it was like GPT-4, but like now we can see there's like particular like Anthropic, you know, Gemini, like Llama.
26:46There is like going to be a future where there's several frontier models, right? Because of that, we decided, okay, so like let's design our infrastructure and our system in such a way that it's going to be model agnostic, right? So, and then that means, okay, so there's like a ways where you can evaluate each component independently. there is a way where you can quickly change things up to adapt for like a new model and stuff like that and that's uh it took some time to get there but it's i feel like it was like very correct decision for us and then so for example one of the advantage we have over let's say like um things like chat gpt or like load or like basically one model providers companies is just like we can seamlessly integrate many different models and like our users can like okay decide this is the they want to use this model or they wouldn't do that more.
27:39Like later on, as we progress, I think we can even like decide based on the complexity of the query or like the type of the query we can like route to like a particular model that does the better job for those type of queries and like, you know, minimize like maybe like some of the queries are super simple. You don't need to run like a very large model for those like to answer. So then you can like can optimize speed and things like that. So I feel like you have to just make a system in a way where it's like agnostic to the model.
28:18What's up, friends? Have you ever had trouble accessing that favorite sporting event or that awesome show or that film even? Because it's not in your region. Well, our friends at NordVPN can help you switch to a virtual location, to a country where it is available, unlocking a world of entertainment. Plus, it's not just about streaming. It's your go-to for online security. Protect your bank details, your passwords, and your entire online identity. If you're traveling, they can shield your data on public Wi-Fi, keeping you safe no matter where you're at. They also have this cool feature called threat protection.
28:55That means you can take a bite of viruses, malware, and phishing sites because NordVPN will protect you no matter where you're at. They're one of the fastest VPNs globally. They ensure no buffering while streaming and no stops for your ISP from bandwidth rattling. It might sound costly, but think again. NordVPN costs less than a cup of coffee a month, and you can use one account on up to six devices. To get the best discount off your NordVPN plan, go to nordvpn.com slash practicalai. Our link will also give you four extra months on the two-year plan. There's no risk with our 30-day money-back guarantee.
29:38Once again, go to nordvpn.com slash practicalai.
29:58So to follow up on what we were talking about before the break there, I know that you were talking about really building around model agnosticism to be able to handle that. I couldn't help but wonder, occasionally as we get a new model out, it breaks new ground on modality, being added in, a whole new approach, that kind of thing. And so how do you as a business builder who is having to try to accommodate all these different models, when you have one that jumps out and has a completely new thing added in that was unexpected prior to the announcement, how do you in the organization, how do you guys kind of pivot to accommodate that and keep the agnosticism and yet provide that extra functionality that's now available?
30:46How do y 'all tackle that problem? The most important thing to be is to not be caught off guard and try to anticipate what's going to happen. I think that's very important. And it's kind of like, for the most part, I wouldn't say it was too hard to predict what's going to happen. But after that, I think it's primarily like product decision, right? So does this new feature benefit your product or not? Do we want to build something in product or not? So for example, one great example was image upload and kind of like multimodality, right? So we knew, it was like last year, we like knew for sure that this is going to happen at some point.
31:22Because I mean, there was like already like some smaller models that kind of like supporting that. We knew that, you know, much better models going to come out. And then because of that, we kind of like in advance start, first of all, like understood like, okay, so this is going to be important for our project. So we can support like this and this and that, those use cases. and we decided to build infrastructure in advance and kind of like anticipate it. Obviously, we didn't fully like predict like how exactly it's going to operate, but it was like very close. So it was like required like little, like couple of days to adjust.
31:56And then we were like one of the, you know, very quickly can release it as a product. So it's having the system that are kind of general enough that can like support those like new modalities. It's very important. get some great deal of uh anticipation but also you know like sometimes you know like certain features that maybe come out maybe they're like not useful for your product you don't you also don't want to like put everything into okay so like this is a cool feature let me just add it to your product so like that that's always not not that great idea in general so only things that make sense and if if those things makes sense for your product you likely already like thought about like how do you how would you implement them in advance so it's just like makes it a bit easier While you were talking, I was thinking there's sort of one axis that you have to navigate here around model releases and functionality and modalities, all of that stuff.
32:47There's sort of another maybe around UI and user experience. I sort of multiple people making the comment, oh, well, like the chat interface came out with chat GPT. So everyone's sort of like focused around the chat interface. Is that the best way to utilize this sort of technology in the long run? There's probably a lot of exploration that's still open around UI and user experience with this type of technology. And certainly chat is is relevant and you know we're using it a lot already i'm wondering from your perspective especially as we see this functionality maybe more embedded in the physical world around that whether that be like in our glasses with with meta glasses or in like kiosks in airports or whatever whatever those things are what is your perspective on how important it is to explore new types of UI or user experience with this technology?
Read the full transcript
33:51I believe like, and I mean, we kind of like, we're like very confident early on. It's just like chat interfaces is a temporary thing. It's just too limiting. It has like a lot of constraints. And that's why like, you know, we didn't follow the usual route. Like it was all of the like chat boards. They were like literally copied chat, chat GPC and kind of like, I guess I put like chat interface. we kind of like thought a little bit more about this and we designed it i feel like ultimately right now we're still in this like early stage where like people care about the model itself you know so like the model is the thing but uh as this thing to get more advanced like as more people start using gen ai products i feel like the main thing is going to be product itself like what kind of things can product do do you do it like better than this do you have like the best ui do you have the best ux and and that's why we kind of like early on was like been thinking about those things and we kind of design our product in a way that is the most least suitable for the things that we wanted to do right so if it's like search it's like it doesn't make we knew that like chat doesn't make sense for search it's just like that's not how people search for information that was like a very big factor i think in our success um the other thing i guess we also even like last year we start like prototyping and experimenting with this like a concept of a generative UI.
35:13So something where LLM can guide like what kind of like UI elements you can generate. And then like, sometimes, you know, like one of the things in chat interface, like if you want to ask like a follow-up question, sometimes it doesn't make sense to, you know, ask it as a sentence, right? So maybe you want to like show like a checkbox or like a button or whatever, like if there's like a, it's just like, especially on the mobile, like everybody uses phones, right it's just like not very uh convenient to type especially you if you're on the run so you would rather like press a button that's why like uh maybe uh speech uh and what i guess like voice technology is going to be one of the interesting modalities for sure i feel like an interesting interface because it's kind of uh it has a lot of uh advantages obviously it has like lots of disadvantages too but uh uh definitely going to be interesting and i think like going forward as we go towards like agentic behaviors and like more things but going to become possible i think it's definitely not going to be like chat interface it has to be something else i'm really fascinated by this topic and it's i think something that that uh both daniel and i have some passion for and just in you know daily use and stuff i'm wondering with you thinking about that kind of productization do you think that's something that perplexity engages in in a direct way or supports other companies through that.
36:32And then there are so many times in the course of a typical day where I'm wishing I had other ways of interfacing with these capabilities that we're talking about. And I'll give you just a trite example. I will take my dog for a walk at a nearby park every day, and that's my thinking time. That's where I'm really trying to be creative. And I'm walking, and I have to keep walking. I don't want to stand right now. I have I stop and I pull out my phone and it's frustrating and people are going by me and I'm trying to hold my dog. But I want this experience. It might be while driving, might be while walking the dog, where this seamless way of utilizing these capabilities that we've grown accustomed to come about.
37:13Are you, A, how do you see yourselves being part of that next journey on the interface side? And B, do you have any ideas on how to get there? It's just, that's the next thing I want. Definitely looking into this, I think, and we consider like multiple options, either like certain things I think we can do ourselves for certain other like things we probably have to work with some other like partners. Because I mean, yeah, but I truly share your kind of like experience. And I think it's, yeah, it's just like if you sit in front of a computer, I think they are by far the best interface is the keyboard.
37:50I don't think you can do better than that. but uh yeah if you are you know occupied with something else if you're driving a car maybe you're walking you there has to be something else like even like phone is you know it's it's okay maybe like even like taking notes maybe you like say a command and something like that but and you get voice back that's already like something but it misses like visual information so you kind of like want to add that so that that means you probably have to have some sort of like glasses on i think it's it will definitely happen and we will try we for sure we like we spend a lot of time this year improving our mobile app to do uh voice to voice and we can like invest it a lot into like voice generation so for example uh you can yeah ask like various questions and like you know like if you need something quick like you walk in you like i want to have like a quick uh look up of information so we support that there is something for example for if you drive a car we have this you can read up like the stories or like discover from perplexity that's also like AI generated voice so it's kind of like you listen to a podcast or like so that's super important yeah I think that the next step is vision and sort of like how do you get there maybe one challenge that I've been thinking about this entire time while we've been talking relates to definitely a danger that I think people have identified as related to this new technology, which is you've already mentioned that you're kind of doing web retrieval or retrieval from certain sources as kind of a primary way of grounding answers of ensuring accuracy of citations.
39:31But I know a lot of people are concerned about and thinking about this sort of idea of data poisoning where we're putting out actually a lot of generated content on the web, right? And that proportion of human and generated content is going to change over time, which means even for retrieval systems, especially if you're doing web-related searches, there's a potential that you could retrieve generated content itself and get in this kind of weird loop. Of course, there's a separate problem for the models and how they're training. And I mean, this affects a lot of different areas, but I know probably you've been doing a lot of thinking about this because it's kind of key to how you operate as a system.
40:13Any perspective on that that you feel like people should keep in mind kind of moving forward or things that you're thinking about in terms of whether that's data curation or validation? Or I know a lot of people are talking about detecting generated content and that's maybe hit or miss. So there's all of this kind of connected stuff, but generally around this idea of data poisoning or generated content on the web. Any thoughts? To me, it's kind of like a technological problem. I feel like it's very reminiscent of spam classifiers, right? It's just a whole nother level. But let's say 20 years ago when you received emails, you would receive a lot of spam and then eventually people develop technology that can detect it.
40:59I feel like something like this will happen. So it's always going to be a constant battle between generators and discriminators. So at some point, generators may be going to be better. it's like fighting malware yeah yeah exactly it's it's the the same concept um it's definitely going to be an issue for sure but uh my hope is that and my belief that is the good guys the good generators going to be just like it's a from machine learning fundamentals uh discrimination is much easier problem than generation it's like much easier to tell what is good what is not than than generate it so and usually it seems like we've been more successful in like detecting into stuff and then I don't see any reasons why it's not going to continue.
41:45So this has been really fascinating as we wind up here and have you here for, you know, one more question as we we've talked about the future and have been kind of, you know, talking about what our expectations might be and how those might be fulfilled. Are there any other areas that we haven't addressed that you're interested in, and possibly as part of that, any way of kind of summarizing your own vision without it being just answering questions that Daniel and I have thrown at you, but your own vision for what the future looks like to you and what you want it to be and what perplexity is trying to realize it as to kind of paint a picture of what we might see over whatever time frame you want to address.
42:28Yeah, yeah. So I'm very excited basically to get to the point where, I have any question, any problem I want to have, and then just go to Profext and get an answer or suggestion or even perform an action for this. I already mentioned this thing where increasing the quality or the complexity of the type of questions you can ask and then making sure that the system will be able to handle those. I think this is definitely going to be the future, and I think we work hard on that. But it kind of like opens up another dimension. You can ask lots of simpler questions or you can just have one hard question.
43:11So it's kind of a complexity versus quality. And I think ultimately when you get information, you usually use it for some sort of decision making. right and so if we can then take this information that we've retrieved for you and synthesize in a form of answer can we also then uh do like some decision making for you and can you perform actions on your behalf so like imagine i don't know like you imagine like you're researching something maybe you want to like research to buy like best running shoes right so it's a pretty painful procedure right now because uh there's like so much stuff in the internet like you don't know what you trust so that that's why like you know if you identify usually like running shoes you just like stick with them forever because it's just you you trust but like things like that so imagine if you somebody will do like this like research for you like really nails it down like weights all the pros and cons and then suggests like it's like do you want to this is the possible like variants do you want to buy this stuff and then you say yes and then it goes like automatically buys it for you and then like two days later it's delivered and you you only need to type like questions once you don't have to push your credit card in and stuff like that and there's like tons of examples so kind of i would say that the future is like first you would have to make sure that you can nail um sort of like the information retrieval part and kind of like generating the most useful information the next step would be like decision making so like make decision based on this information and then third step to actions so that's uh that's where i think i would be excited to get to that point.
44:47That's great. Yeah. Thank you for being willing to take time to dig into a number of topics that I know our listeners are exploring themselves and also interested in. And certainly perplexity has been leading in a lot of these areas. So keep up the good work and thank you for the work and the perspective and taking time to talk. Appreciate it. Yeah. Thanks for the great questions and thanks for having me.
45:18All right, that is Practical AI for this week. Subscribe now. If you haven't already, head to practicalai.fm for all the ways. And join our free Slack team where you can hang out with Daniel, Chris, and the entire ChangeLog community. Sign up today at practicalai.fm slash community. thanks again to our partners at fly.io to our beat freaking residents breakmaster cylinder and to you for listening we appreciate you spending time with us that's all for now we'll talk to you again next time
From the publisher
Daniel & Chris sit down with Denis Yarats, Co-founder & CTO at Perplexity, to discuss Perplexity’s sophisticated AI-driven answer engine. Denis outlines some of the deficiencies in search engines, and how Perplexity’s approach to information retrieval improves on traditional search engine systems, with a focus on accuracy and validation of the information provided.
Changelog++ members save 6 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
- Neo4j – Is your code getting dragged down by JOINs and long query times? The problem might be your database…Try simplifying the complex with graphs. Stop asking relational databases to do more than they were made for. Graphs work well for use cases with lots of data connections like supply chain, fraud detection, real-time analytics, and genAI. With Neo4j, you can code in your favorite programming language and against any driver. Plus, it’s easy to integrate into your tech stack.
- Backblaze – Unlimited cloud backup for Macs, PCs, and businesses for just $99/year. Easily protect business data through a centrally managed admin. Protect all the data on your machines automatically. Easy to deploy across multiple workstations with various deployment options.
- NordVPN – Get NordVPN 2Y plan + 4 months extra at nordvpn.com/practicalai It’s risk-free with Nord’s 30-day money-back guarantee.
Featuring:
- Denis Yarats – LinkedIn, X
- Chris Benson – Website, GitHub, LinkedIn, X
- Daniel Whitenack – Website, GitHub, X
Show Notes:
Something missing or broken? PRs welcome!




