eBay Tech Blog

Using Behavioral Data to Improve Search

by Mike Mathieson on 04/13/2011

in Machine Learning,Search Science

Since 2006, “Best Match” has been the default sort order for users on eBay.  It is designed to balance the many objectives that users have on the site–for example finding relevant items to their query, scoring great deals, finding timely auctions, and locating items by reliable sellers.  For users that want to emphasize one of these areas over others, there are other sort options and eBay’s Advanced Search function, but we feel it’s important to help users have a good experience even without exerting a lot of effort or customization.  As Best Match has evolved over time, it has incorporated more and more information to help it distinguish relevant items (more interesting, more sales worthy, more attractive) from irrelevant ones.  In the past 18 months since we founded the Search Science team, we’ve made substantial strides.  For example, here are snapshots of the results for the query “plasma tv” using the version of Best Match that was used on the site 18 months ago versus the same query using today’s Best Match:

The differences are striking, with no actual TVs in the top 10 results in the old version, compared to a number of TVs at good price points in the new version.  So what is the driver behind these improvements?  One of the biggest differences between these two versions is in how we are using behavioral data.  By behavioral data, I mean observations about how our users behave when shown a listing.  Do they click on it?  Do they place a bid?  Do they Buy It Now?  All of us have seen the “wisdom of crowds” in action.  The best restaurants are frequently crowded and always have a wait, and we’re suspicious if a restaurant is empty in a hot neighborhood on Friday evening.  Similarly, when users have found an item interesting in the past, by clicking on it, bidding on it, or purchasing it, we expect that tells us something about how relevant that item might be to other users.

Best Match has used behavioral data for several years, but in the last 18 months, we’ve learned a lot about how to interpret and clean that data before using it for ranking.  For sales and click data, there is one obvious bias that has been well-studied by search engines before: position bias.  Position bias means the items that appear in the top positions of a search result page are far more likely to be clicked and purchased by users.  Left unchecked, this bias makes it appear that the listings at the top of the search are more relevant, because they’re clicked more frequently than lower results.  This can result in a feedback loop when you use clicks and sales in your ranking function:  an item ranks highly, so it gets more clicks, so it ranks even higher, and gets still more clicks, and . . . well, you get the point.

There are several ways to reduce this bias, the simplest of which is to normalize each click by its Expected Clicks based on its position.  Let’s look at an example.  Let’s assume we live in a world where users on average click on the top-ranked listing 10% of the time, the second-highest listing 9% of the time, and so on until the 10th-best listing, which is clicked on 1% of the time.  Now let’s assume we want to rank a listing which has been clicked on 20% of the time.  If all of those clicks came while the item was in the top position, where Expected Clicks were 10%, we’d say this item performed 2x (20% actual / 10% expected) better than expected.  If on the other hand the item got all its clicks while it was in the 10th position, we’d say it performed 20x (20% actual / 1% expected) better than expected.  You’ll notice that items that are ranked lower get more credit for their clicks–this counterbalances the feedback loop we described above and makes sure all items have an opportunity to improve their ranking if they perform better than expected.

Another bias in behavioral data that is less-well studied in academic literature is a price bias.  Basically, it’s easier for people to buy cheap things than it is to buy expensive things.  If I showed you a fantastic #2 pencil and offered it to you for the great price of 5 cents, how long would it take for you to consider buying it?  Maybe 10 seconds?  Now if I showed you a fantastic plasma TV and offered it to you for the great price of $500, how long would it take to consider buying it?  Well, that’s a lot of money…maybe you should look at some reviews, or talk to that friend of yours who knows a lot about TVs, or do some price comparisons.  It might take you days, weeks, even months to re-assure yourself that you’re using your money wisely.

Let’s get back to behavioral data.  Since pencils sell faster than plasma TVs, is the pencil a better item than the TV?  No, we said above that they’re both fantastic and they’re both offered at a great price.  So we don’t want to penalize the TV just because it has a naturally slower selling rate.  And we definitely don’t want to always show pencils before TVs in our rankings–what if the user searched specifically for “plasma tv”?  We need to correct for this price bias in our sales data.  We can apply the same principle we did for position bias, and figure out the Expected Sales for an item of price X based on historical data.

These two changes (correcting position bias and correcting price bias) combined have led to significant improvements in the relevance of Best Match, and more items are selling on eBay as a result.  We’re experimenting and learning every day about how to better use the feedback our users are already giving us–what they choose to click on and what they choose to buy. Stay tuned for more information about our efforts to enhance eBay’s search relevance.

 

{ 18 comments… read them below or add one }

Daniel April 13, 2011 at 11:36PM

Hey guys, I just wanted to let you know, that I think, that you do, a very intersting job.
Many greetings from germany… nearby cologogne :-)

Reply

Quiltworks April 14, 2011 at 9:47AM

You hit a home run with this one! Totally agree based on my experience as a buyer and a seller.

I occasionally keep the default search just to see what it brings back, and it NEVER does a good job. It never brings me what I am interested in or the best deals. Luckily I found a non-Ebay search for Ebay, which really lets me shop quickly and efficiently.

As a seller (on Ebay since January of ’99) I used to have a 95% sell through of my artwork. Since Best Match introduction most of my sales go to repeat customers who already know how to find me. It just does not work for a small seller even if the product was good because no one can find it.

Thanks for an interesting post!

Reply

Elle cole April 14, 2011 at 10:43AM

“The best restaurants are frequently crowded and always have a wait, and we’re suspicious if a restaurant is empty in a hot neighborhood on Friday evening. ”

The problem with that assumption is that the best restaurants are in the hot areas.
ebay has moved and hidden some of the hot restaurants in bad areas due to other factors.
One being lower volume. Ebay should have left the old search for collectibles and high value low volume items.
It was obvious from the beginning to we low tech non programmers that best match would continue eliminating many sellers visibility.Read the eBay forums! Following ebay’s initial logic there eventually will be only a few sellers showing in best match.

Reply

Mike Mathieson April 14, 2011 at 11:53AM

Thanks for your comment. Respectfully, I think you’re reading too far into that sentence. The improvements to Best Match I’m describing are designed to allow for more competition on the site. For example, by reducing position bias, we’re making sure that items that are currently on top of search can be displaced by more relevant items over time. My team actively monitors eBay’s forums and communicates constantly with our customer support team to find opportunities to improve search.

Regarding your concerns about visibility, this blog focuses primarily describing technical topics that are relevant to eBay, but I’d encourage you to read eBay’s best practices for Best Match, which outlines the behavior we tend to reward in search (http://pages.ebay.com/sellerinformation/increaseyoursales/searchvisibility.html).A great price, good customer support, and well-written listings will help any seller, big or small, improve their visibility on the site.

Reply

Nadine Carroll April 14, 2011 at 6:07PM

“Best Match” is, by design, a black box. You don’t want to tell the paying customers what it rewards so they can’t the game the system. As for what it actually rewards, have you not just admitted that Best Match has changed substantially over the last three years without any useful information on the changes being conveyed to the sellers?

Reply

TekGems April 16, 2011 at 9:26AM

1) For someone like myself who chooses to see 200 results at a time, how does this affect the visibility of items lower in the SERP (search engine ranking position) after it is clicked? Does this mean items lower in the SERP receive a bigger boost once clicked? This is to say, would an item in the 200th position get significantly more value from a click than one in position 100?

2) Does clicking on a a lower SERP speak more to a poorly formed search string than relevancy? Do you rank your keyword suggestions tool based on the drill down click patterns as well?

3) Your example of price bias was confusing to me. Why would how long something takes to sell matter? Wouldn’t velocity have to measured among peer items? Pencils to pencils, and TVs to TVs?

Reply

Mike Mathieson April 19, 2011 at 8:43PM

Hi TekGems, all good questions. I’ll do my best to answer them.

1) In short, yes, it’s a well-studied phenomenon in search that users tend to click much more heavily at the top of results than at the bottom, even if the results have comparable quality. We need to overcome this “position bias” if we want to use click information effectively, and that means counting clicks that occur on top results less, because they are more common. This helps maintain a healthy environment where all items have a chance to compete.

2) I will definitely post on our “Related Searches” algorithm in a future post. Stay tuned!

3) Another example of the price bias in sales would be the query “plasma tv”, which I include a couple links for in my post. The result set for that query includes listings for TVs (priced at $500+) and TV mounts (priced less than $100). Are the mounts more relevant because $100 items sell faster on average than $500 items? As you can see in my post, we are accounting for this effect much more effectively in Best Match today than we were 18 months ago.

Reply

Elle cole April 14, 2011 at 4:25PM

A great price, good customer support, and well-written listings will help any seller, big or small, improve their visibility on the site.

I have all 5′s always have but i slip in and out of trs because my volume fluctuates above and below 100 transactions. So not being a trs hurts my visibility, even though I’ve never had a neutral or neg in 12 years. Knock on wood. I think sellers trustworthiness should be ebay’s number one concern.
I know that’s not not your area.
I hope best match improves. A lot of us had immediate drops in sales when it was instituted.

Reply

Katarina April 14, 2011 at 8:38PM

Does TRS status and free shipping influence the position? If yes, how?

Which item ( assuming it’s the same product) is going to be shown higher in the search?
Item A. item price $9.99, shipping $5, 10 sold in the last 30 days
Item B. item price $13.99, free shipping, 5 sold in the last 30 days

Reply

Mike Mathieson April 15, 2011 at 1:06AM

Great questions, thanks for commenting, Katarina. I hope to write a post in the future to describe some of the technical work we’ve been doing around trust, and shipping also has some interesting technical challenges. In the meantime, here’s a blurb on shipping from our Best Practices document:

Free shipping can also give your Fixed Price listings a boost in search results in some categories. Note, Auction-style listings are not given an advantage in search for free shipping, but regardless of format, free shipping can also improve your Detailed Seller Ratings (DSRs) for shipping cost, an important factor in the requirements for Top-rated seller status. Excessive shipping, on the other hand, causes your Fixed Price and Auction-style listings to be lowered in search.

And here’s a blurb on how we handle eTRS:

As a reward for consistently providing great service, eBay Top-rated sellers get an exclusive increase in exposure in Best Match for their Fixed Price listings that can make a significant difference. Plus, buyers see this badge next to your listing in search results and on your item page.

Finally, it sounds like you want to know whether price+shipping is more important than number of sales in the last 30 days. We look at sales at a more granular level, and if those 5 sales came in the last day, while the other 10 sales came a full month ago, we will prefer item B. Generally, items with lower price+shipping have a higher sales velocity, all other things being equal. And as a seller, price is in your direct control but sales are not, so pragmatically, I’d suggest sellers focus on having the best price possible–the sales will follow if you’re offering a great deal.

Reply

TekGems April 16, 2011 at 9:33AM

Can you rank importance of the following as it related to search rank?

* Top Rated Seller status
* free shipping
* total price
* Recent Sales data

Can we think of Recent Sales as being a rolling total from last 30 days?

If we sold qty 5 on day 1, and qty 10 on Day 2… Day 31 would give us a score based on 15 sold. At Day 32, Day 1 sales data is stale so the score would now be based on Qty 10 sold?

Reply

Mike Mathieson April 19, 2011 at 8:31PM

Hi TekGems, thanks for your questions. All of the factors you mention are important, per the best practices link I included in my previous comment. I would not advise any seller to invest more time in one than another, since you are competing with other sellers on all these dimensions. I will say that in my experience, the factor that sellers most often overlook is competitively pricing their items. It’s important to offer the best price for your items, and many other factors (such as recent sales data) will be strengthened by offering buyers great deals as buyers find your item and start buying it. Put yourself in your buyer’s shoes and ask yourself “is my listing a better deal than my competition?”

The way we use recent sales is more complex than what you outline, but I may tackle it in a future post. You will always get credit for past sales of items, even after a long time. However, if an item is selling well recently, we will prefer it to items that sold well in the distant past but are not selling well currently.

Reply

Randy Shoup April 14, 2011 at 9:55PM

Well-written and clearly explained, Mike. Great job by you and your team (from a not-entirely-unbiased former eBay search colleague ;-) .

Reply

Druckerpatronen-Daniel April 15, 2011 at 12:13AM

Yeah, you’re totally right:

I think sellers trustworthiness should be ebay’s number one concern.

100% for years. Trust should be the keyword no. 1, so please give them a push :-)

Daniel

Reply

Al April 15, 2011 at 9:05PM

Great entry.

I have another question about items with free shipping.

I recently changed most of my items on ebay to free shipping, and instead of getting a boost in best match ranking, my items were pushed down to the bottom half of the page.

DVD that was listed for $9.95 + $4.90 shipment was ranked 4th on a page of 23 items
I changed it 12.95, free shipping, the item dropped to the bottom 3.

Now this is the same item, with same no of impressions, clicks….etc

Im I doing something wrong here?

My sales were obviously affected, and im seriously considering changing my 4000+ listings back to price + postage.

Reply

Mike Mathieson April 19, 2011 at 8:47PM

Sounds like you’re doing the right things, with a lower total cost and free shipping. As buyers respond to your pricing changes and start buying the item, Best Match should reward this behavior. Please post back once you start getting some sales and let us know if this happens.

Reply

Matt Brown February 1, 2012 at 5:03PM

Looks like a search of “plasma tv’ on ebay.com.au top ten results don’t show me any plasma tv’s! Oh, the seller paid to have it featured – yet still the result is totally unrelated to the search. Sure, show me featured plasma tv’s!

Reply

nosafer June 29, 2012 at 4:16AM

Nice job.
Taobao have done some similar jobs since 2009, and evaluate each item’s quality and echo shop’s quality. Hope we could communicate on “how the find the best item for each customer”

Reply

Leave a Comment

{ 2 trackbacks }

Previous post:

Next post:

Copyright © 2011 eBay Inc. All Rights Reserved - User Agreement - Privacy Policy - Comment Policy