Latest / Inside DuckDuckGo / Duck Tales: How DuckDuckGo provides useful “near me” search results, while keeping your location private.
Transcript
- 0:03SPEAKER_00: Hello and welcome to DuckTales,
- 0:05SPEAKER_00: where we go behind the scenes at DuckDuckGo and discuss the stories,
- 0:08SPEAKER_00: technology,
- 0:08SPEAKER_00: and people that help build privacy tools for everyone.
- 0:12SPEAKER_00: In each episode,
- 0:13SPEAKER_00: you'll hear from employees about our vision,
- 0:15SPEAKER_00: product updates,
- 0:16SPEAKER_00: engineering,
- 0:17SPEAKER_00: or approach to AI.
- 0:19SPEAKER_00: I'm Greg.
- 0:21SPEAKER_00: I work on the search engine here at DuckDuckGo.
- 0:24SPEAKER_00: With me today is John.
- 0:25SPEAKER_00: John, would you like to introduce yourself?
- 0:28SPEAKER_01: Hi, I'm John.
- 0:30SPEAKER_01: I also work here at DuckDuckGo on the search engine,
- 0:32and I've been focused on working on local search for most of my
- 0:36time here.
- 0:37SPEAKER_00: Awesome.
- 0:39SPEAKER_00: Yeah, that's kind of what we wanted to talk about today is local search.
- 0:44And so I'm looking forward to chatting with you a little bit
- 0:47about how local search
- 0:49SPEAKER_00: works,
- 0:49SPEAKER_00: how we do it at DuckDuckGo,
- 0:51and getting to some of the challenges that we have as a private
- 0:55search engine.
- 0:56SPEAKER_00: and how we solve those.
- 0:58SPEAKER_00: Local search,
- 0:59SPEAKER_00: generally,
- 1:00SPEAKER_00: you know,
- 1:00SPEAKER_00: it's kind of maps-related searches,
- 1:04SPEAKER_00: you know,
- 1:05SPEAKER_00: whether you're searching for places,
- 1:06SPEAKER_00: businesses,
- 1:07SPEAKER_00: restaurants,
- 1:08SPEAKER_00: those kinds of search queries we kind of call local searches.
- 1:13We have a couple different versions of a map that shows up on
- 1:17the search results page.
- 1:18SPEAKER_00: When you do one of those searches, you know, either
- 1:22If you're searching for something kind of in a city and you put
- 1:26the name of that
- 1:27SPEAKER_00: city in your search query,
- 1:28SPEAKER_00: or if you search for something near you,
- 1:31SPEAKER_00: we have ways to provide those results still in a privacy preserving way.
- 1:37SPEAKER_00: So maybe as a starting point,
- 1:40I thought it would be good to just if you could walk us through
- 1:42a little bit of the
- 1:45SPEAKER_00: life of the local search query,
- 1:47how it goes from kind of something the user has submitted to us
- 1:50to what we decide
- 1:51SPEAKER_00: to show on the page.
- 1:53SPEAKER_01: Yeah.
- 1:55SPEAKER_01: So we start with a we get a user query.
- 1:57SPEAKER_01: So somebody types something in and sends sends the query to us.
- 2:01And we try to figure out whether that would benefit from some
- 2:04sort of mapping information.
- 2:05So maybe the query contains a number and a few words and then
- 2:10drive or street or road.
- 2:11SPEAKER_01: And, you know, that looks like an address.
- 2:13SPEAKER_01: So we'll show a map of that address.
- 2:16SPEAKER_01: Other common patterns are, you know,
- 2:19SPEAKER_01: Common types of businesses like restaurants, hotels, cafes.
- 2:24SPEAKER_01: And those sometimes come in with location indication.
- 2:28SPEAKER_01: So, you know, cafes in New York City or cafes in Paris.
- 2:32SPEAKER_01: And sometimes they don't.
- 2:33SPEAKER_01: Sometimes it's just cafes or cafes near me.
- 2:37SPEAKER_01: So we kind of have to handle both those types of situations.
- 2:42And the ones that are nearby are really kind of the more
- 2:46interesting ones.
- 2:48Because we have to find a way to figure out where your buy is
- 2:52for the user.
- 2:53And we have to do that in a very privacy respecting way because
- 2:56that's our whole thing.
- 3:00So,
- 3:00you know,
- 3:00the browser,
- 3:01the web browser that you're using will send a location.
- 3:04But we don't just straight up use that because we deal with a
- 3:09lot of partnerships
- 3:10where we have to get some data from our partners at Apple and
- 3:14TripAdvisor.
- 3:16And we don't want to just send them raw user locations because
- 3:18that is a privacy issue.
- 3:21SPEAKER_01: So what we do is we'll kind of add some noise to it.
- 3:23SPEAKER_01: So if you say you're at,
- 3:25SPEAKER_01: you know,
- 3:25SPEAKER_01: this exact location in a city,
- 3:28SPEAKER_01: instead of sending that,
- 3:29SPEAKER_01: we'll move you a little bit.
- 3:30And depending how big the city is,
- 3:32we might move you just a few hundred meters.
- 3:35SPEAKER_01: If you're way out in the country,
- 3:36SPEAKER_01: though,
- 3:36SPEAKER_01: where maybe you're our only user for miles,
- 3:39SPEAKER_01: you know,
- 3:39SPEAKER_01: we might move you a few miles.
- 3:42SPEAKER_01: And so that
- 3:43SPEAKER_01: can affect your results.
- 3:45SPEAKER_01: It makes them a little less accurate,
- 3:46but we think we do it with as little noise as possible to get
- 3:50you a lot of privacy
- 3:52benefit while still giving you the results that will hopefully
- 3:55be very accurate to
- 3:57SPEAKER_01: the location you're interested in.
- 3:59SPEAKER_00: Yeah,
- 4:01so there are a couple things in there that I think are
- 4:03interesting to talk a little
- 4:04SPEAKER_00: bit more about.
- 4:07SPEAKER_00: You know, when you kind of described how we...
- 4:13SPEAKER_00: how we add noise to a user's location.
- 4:16SPEAKER_00: There's a lot of documentation,
- 4:18SPEAKER_00: by the way,
- 4:18SPEAKER_00: about this if you want to read more on our help pages.
- 4:22SPEAKER_00: But I'm wondering how we think about the kind of trade-off between
- 4:30Making sure that the results are still good and the way that
- 4:37we're obfuscating
- 4:38SPEAKER_00: someone's location is sort of sufficient from a privacy standpoint.
- 4:41SPEAKER_00: So maybe you can talk about the first part first.
- 4:43How do we think about the quality of the results and whether or
- 4:49not we're showing
- 4:49the right local results for someone when they do one of those
- 4:54nearby queries?
- 4:54SPEAKER_00: Yeah.
- 4:56SPEAKER_01: Right,
- 4:56SPEAKER_01: yeah,
- 4:56we have a lot of kind of criteria that we sort of check against
- 4:59before we show
- 5:00SPEAKER_01: results to users.
- 5:02We'll get a whole bunch of options that,
- 5:04you know,
- 5:04might be relevant to the query.
- 5:07SPEAKER_01: And,
- 5:07SPEAKER_01: you know,
- 5:07SPEAKER_01: you're searching for a cafe,
- 5:08SPEAKER_01: maybe a restaurant is relevant,
- 5:10SPEAKER_01: but probably a hotel is not so relevant.
- 5:13SPEAKER_01: And so we kind of make sure we get the category right first.
- 5:18SPEAKER_01: And then we also want to make sure the location is correct.
- 5:20And because we're dealing with partners,
- 5:22they might give us some locations that aren't
- 5:26SPEAKER_01: as relevant just because we don't give them as accurate of a location.
- 5:29And so we'll kind of refine those on our side without sharing
- 5:33some of that
- 5:34SPEAKER_01: information with a partner to say,
- 5:36SPEAKER_01: you know,
- 5:36you gave us this location that's 100 miles from the user and
- 5:39that's maybe because
- 5:41SPEAKER_01: we gave you the wrong location on purpose.
- 5:44SPEAKER_01: And so we're not going to show that to the user,
- 5:46but we will show these other locations that are actually nearby
- 5:49and relevant to the
- 5:50SPEAKER_01: user's query.
- 5:52SPEAKER_00: Got it.
- 5:53SPEAKER_00: Yeah.
- 5:53SPEAKER_00: And then, I mean, even
- 5:55SPEAKER_00: You know,
- 5:55SPEAKER_00: sometimes when there is a location in the query,
- 5:58SPEAKER_00: it could be one of those that is still ambiguous to us,
- 6:03SPEAKER_00: right?
- 6:03I think a lot about the difference between Paris,
- 6:06Texas and Paris,
- 6:07France.
- 6:08SPEAKER_00: Users don't always clarify what they mean.
- 6:10SPEAKER_00: So we have to try to figure that out based on context too, right?
- 6:15SPEAKER_01: Exactly.
- 6:15SPEAKER_01: And,
- 6:16SPEAKER_01: you know,
- 6:16SPEAKER_01: even some locations that are very well defined,
- 6:19SPEAKER_01: you know,
- 6:20SPEAKER_01: if somebody says New York City,
- 6:21SPEAKER_01: that's
- 6:22SPEAKER_01: just one place that we're going to look.
- 6:24SPEAKER_01: But New York City is huge.
- 6:25SPEAKER_01: And,
- 6:26SPEAKER_01: you know,
- 6:26just determining which part of New York City is maybe the most
- 6:30relevant to send to
- 6:31SPEAKER_01: the user is another challenge that we have to figure out.
- 6:36SPEAKER_00: Yeah.
- 6:36SPEAKER_00: And I mean,
- 6:37SPEAKER_00: just we're sort of riffing on these now,
- 6:39SPEAKER_00: but,
- 6:41SPEAKER_00: you know,
- 6:41SPEAKER_00: if someone searches for New York pizza,
- 6:43SPEAKER_00: right,
- 6:44that could be they're looking for a pizza restaurant in New
- 6:47York City or they're
- 6:48SPEAKER_00: looking for a restaurant near them that serves in New York
- 6:51SPEAKER_00: style pizza.
- 6:51SPEAKER_00: So yeah,
- 6:53all kinds of things that we have to sort of contend with and
- 6:55try to figure out to
- 6:58SPEAKER_00: give those right results.
- 6:59I'm wondering if maybe we could talk a little bit more then
- 7:03about the different
- 7:05types of ways we actually display the results once they appear
- 7:08on the page because,
- 7:10SPEAKER_00: you know,
- 7:10we have a couple different versions of our local modules that
- 7:13we show depending on
- 7:14SPEAKER_00: the type of result and the number of results we get back.
- 7:18SPEAKER_00: So I'm wondering if you'd say a couple things about that.
- 7:21Yeah,
- 7:21we have many different ways to display based on what the user's
- 7:24searching for.
- 7:26SPEAKER_01: As I mentioned earlier,
- 7:27we have kind of a special address display if you're just
- 7:29looking for a map given a
- 7:32SPEAKER_01: location.
- 7:32SPEAKER_01: That's a pretty bare result.
- 7:34SPEAKER_01: It's mostly just a map and the location label.
- 7:39SPEAKER_01: Some more popular landmarks,
- 7:41we have a special display for that where you'll get the map and
- 7:43if it's the Eiffel
- 7:45SPEAKER_01: Tower or something like that.
- 7:47Then you'll get a picture of the Eiffel Tower and a little
- 7:50description that we sourced from
- 7:51SPEAKER_01: Wikipedia.
- 7:53SPEAKER_01: And then there's business searches is the next big category.
- 7:56SPEAKER_01: And those are kind of divided into two as well.
- 7:59SPEAKER_01: If you're searching for a very specific single business,
- 8:02SPEAKER_01: like,
- 8:02SPEAKER_01: you know,
- 8:02SPEAKER_01: Joe's Cafe in Las Vegas.
- 8:05SPEAKER_01: I don't think there is a Joe's Cafe in Las Vegas.
- 8:07SPEAKER_01: Maybe there is.
- 8:10SPEAKER_01: Then we'll just show you that one Joe's Cafe, ideally.
- 8:13SPEAKER_01: You know,
- 8:13we don't want to show you Bob's Cafe that's also in Vegas or
- 8:16Joe's Cafe that's in,
- 8:17SPEAKER_01: I don't know,
- 8:18SPEAKER_01: Idaho or something.
- 8:21And then there's the sort of category or chain type businesses
- 8:24where if you search
- 8:25SPEAKER_01: for Walmart or restaurants,
- 8:28we'll show you a big listing of businesses and where they are
- 8:31distributed on the
- 8:32map to let you kind of click in and explore more if you want to
- 8:37give details about
- 8:38SPEAKER_01: each one individually.
- 8:40SPEAKER_00: Got it.
- 8:41And then that's going to vary too based on the category of the
- 8:44result,
- 8:44right?
- 8:44SPEAKER_00: I think we have some kind of special display for hotels as well.
- 8:48SPEAKER_01: Yeah,
- 8:48we've just kind of introduced this and I can share this real
- 8:51quickly because I
- 8:52SPEAKER_01: think it's a pretty cool feature.
- 8:57SPEAKER_01: So just recently we've added some pricing indicators.
- 8:59So if you're searching for a hotel,
- 9:02you probably want to go stay at one of these hotels.
- 9:04And one thing that is important about staying in a hotel is how
- 9:07much is it going to cost?
- 9:08SPEAKER_01: And is it available at the time I'm traveling?
- 9:11SPEAKER_01: We've got a new interface.
- 9:13We just released this last month where you can put in your
- 9:16check-in dates,
- 9:16SPEAKER_01: checkout dates,
- 9:18SPEAKER_01: how many people,
- 9:19and it'll tell you a pricing estimate of how much it's going to
- 9:23cost for those
- 9:23SPEAKER_01: dates.
- 9:25And then once you click into it,
- 9:26you can get different offers from different providers.
- 9:29So you can go to xphotels.com and go through and actually have
- 9:34really easy access
- 9:35SPEAKER_01: to booking one of those hotels that you're interested in.
- 9:38Awesome yeah I think you know this is a really good example of
- 9:42something where it's
- 9:44a new feature that we've added that captures a particular use
- 9:49case that we know
- 9:51users have I mean that we are ourselves as users of a search
- 9:54engine have you know
- 9:55when you're booking a hotel trying to make it easier for for
- 9:59users to kind of
- 9:59SPEAKER_00: complete the tasks that they're they're doing not necessarily
- 10:03SPEAKER_00: They just kind of see the different results.
- 10:06I'm wondering maybe you could talk a little bit more about some
- 10:09of the other
- 10:11challenges around those additional use cases or business data
- 10:18that's important for
- 10:19us to show and kind of how we're thinking about that and how we
- 10:22see that evolving
- 10:23SPEAKER_00: over time.
- 10:25SPEAKER_01: Yeah,
- 10:27we build this feature on a few different really important
- 10:30partnerships with Apple,
- 10:32SPEAKER_01: Yelp,
- 10:33SPEAKER_01: and TripAdvisor being the main three.
- 10:36And we use those partnerships to give us all sorts of data
- 10:39about different businesses.
- 10:41Yelp gives us a lot of information about restaurants and
- 10:45service businesses,
- 10:46SPEAKER_01: shopping,
- 10:46SPEAKER_01: stuff like that.
- 10:47And then TripAdvisor gives us hotel information and information
- 10:51more about
- 10:53SPEAKER_01: attractions, you know, museums, theme parks, stuff like that.
- 10:56And we're trying to push more into using this data to give the
- 11:01user a lot richer experience.
- 11:04SPEAKER_01: Some ideas,
- 11:04SPEAKER_01: you know,
- 11:05SPEAKER_01: including menu links for restaurants,
- 11:08SPEAKER_01: giving the ability to order food or reserve tables,
- 11:13SPEAKER_01: call a service business.
- 11:14SPEAKER_01: You know, if you want a plumber, you can get kind of a quote directly.
- 11:19SPEAKER_01: And all those are kind of ideas that we're
- 11:21SPEAKER_01: pushing for and hope to release soon.
- 11:24SPEAKER_00: Yeah, definitely.
- 11:25There's all kinds of different use cases that people have with
- 11:28businesses.
- 11:29I know even just knowing the hours that the business is open,
- 11:33right,
- 11:34is so important.
- 11:34SPEAKER_00: And these are things that users ask about all the time.
- 11:38SPEAKER_00: And I think if I had to pinpoint one big challenge with local in general,
- 11:44SPEAKER_00: it's just that the coverage
- 11:47for the business that the user cares about in that particular
- 11:51moment is so important.
- 11:53And so we're constantly trying to figure out ways to expand
- 11:56that coverage and make
- 11:58SPEAKER_00: sure we have the right information about as many businesses as possible.
- 12:03SPEAKER_01: Yeah, exactly.
- 12:04SPEAKER_01: We've done a lot recently also in terms of
- 12:07SPEAKER_01: Taking user feedback because,
- 12:09SPEAKER_01: you know,
- 12:09we found users get very upset if we send them to a business and
- 12:13we got the hours
- 12:13SPEAKER_01: wrong.
- 12:14SPEAKER_01: Of course.
- 12:15This is actually closed or they try to call a business and it's
- 12:17the wrong phone number.
- 12:20So we've taken a lot of steps to submit or solicit feedback
- 12:24from users on when we
- 12:25get it wrong and then forward that upstream to our partners so
- 12:28that they can
- 12:29SPEAKER_01: correct it and we can correct it and everybody gets a better experience.
- 12:33SPEAKER_00: Yeah, definitely.
- 12:34SPEAKER_00: I want to emphasize if you,
- 12:37SPEAKER_00: as a user,
- 12:38SPEAKER_00: send us feedback that hours are wrong or an address or a phone number,
- 12:45we take all of that in and do our best to forward that to the
- 12:50source of that data
- 12:51and also make sure we're not showing it to other users and kind
- 12:56of getting better
- 12:57SPEAKER_00: and better at correcting that over time.
- 13:02SPEAKER_00: Cool.
- 13:03SPEAKER_00: Well, we've covered a lot of ground.
- 13:05Anything else you think is worth sharing and talking about with
- 13:10respect to local search?
- 13:15SPEAKER_01: Nothing comes to mind straight away.
- 13:18SPEAKER_01: I'm hoping we can keep working on the product, making it better.
- 13:20SPEAKER_01: I think we've got some good expansions in the future.
- 13:22SPEAKER_01: Some more pie in the sky ideas we have of,
- 13:27SPEAKER_01: you know,
- 13:27SPEAKER_01: moving to something like a flight search or something might come into
- 13:32SPEAKER_01: Later on.
- 13:34SPEAKER_01: And yeah,
- 13:34just hoping to keep making the product better and getting users
- 13:37what they want and
- 13:38SPEAKER_01: giving them the right information as quickly as easily as possible.
- 13:42SPEAKER_01: Yeah, definitely.
- 13:44SPEAKER_00: All right.
- 13:44SPEAKER_00: Well, it was really fun chatting with you about this today, John.
- 13:48SPEAKER_00: Thanks for taking the time.
- 13:50SPEAKER_00: And yeah,
- 13:51SPEAKER_00: maybe we'll have a chance to talk more on a future episode about other
- 13:55SPEAKER_00: search-related things.
- 13:56SPEAKER_00: But yeah, thank you.
- 13:59SPEAKER_01: Thanks for talking.
- 14:01SPEAKER_00: Bye.