New! Deploy Bonsai in your AWS Account with Bonsai Vaults →

#Haystackconf Recap

· May 03, 2019
3 minute read

The Haystack Conference is the premiere event for search relevance. It took place April 22-25th in Charlottesville, VA. A few members of the Bonsai team were in attendance to hear about the latest innovations in search relevance. If you’re looking to improve your search results but aren’t sure where to start, here are some takeaways from a couple of talks that will help you get started.

I. A lot of teams were using the Learning to Rank plugin.

This plugin was written by Open Source Connections, and uses Machine Learning to improve search ranking. Bonsai customer Snag is a jobs marketplace, and is a big user of this plugin. Xun Wang at Snag gave the talk “Towards a Learning to Rank Ecosystem at Snag.” Here are some of the issues they overcame to make LTR successful:

  1. Bots are common on Snag’s platform. Bot behavior can contaminate results even if they are just 5-10 percent of training data.
  2. Keyword stuffing in job descriptions is also common. Snag overcame this by using topical keywords.
  3. Intent can be difficult to infer. If a user doesn’t click on a result from the page, are they actively skipping them, or was it passive neglect? To better train their learning models, Snag incorporates the last clicked result into their query logs.
  4. Deduping job results in a Search Engine Results Page (SERP) improves search quality. Job seekers don’t want to see too many jobs from the same company. To dedupe their SERPs, Snag uses Locality-Sensitive Hashing to tag duplicates/near duplicates, and then tunes results accordingly.
  5. Snag’s big measurement of success is “Yield.” Snag must be good at producing relevant results for users, AND benefit job posters. Yield is a measurement created by the Snag team that factors in both. Search has multiple stakeholders, and it’s important to bring in these stakeholders when defining what success looks like.

II. Many teams also use experts to gauge the quality of search results.

LexisNexis is a provider of legal, government, business, and high-tech information sources. Currently, they reference three petabytes of legal and news data with 65 billion documents, which is three times the size of Wikipedia. LexisNexis hires legal experts to evaluate their findings. Here is their processed laid out in their talk “Making the case for human judgment relevance testing” by Tara Diedrichsen and Tito Sierra.

  1. First, they select raters based on their subject matter expertise, cost, and capacity. Each rater is given metrics to gauge their success.
  2. Then, they select queries to measure. LexisNexis uses actual user queries as much as possible, but sometimes they test constructed queries.
  3. The raters are then asked to rank the results for a query on a scale from 1-4, based on a document’s permissibility in court. LexisNexis also gathers verbatim comments for these results.
  4. Scores are then generated. Like many search relevance teams, the LexisNexis team uses the industry standard Discounted Cumulative Gain to measure the quality of search results. This allows them to compare the current search results with the feedback from raters.
  5. The results are then communicated to various stakeholders within LexisNexis, including Development, Product, and other teams within the organization.

These were just a few out of many great talks from Haystack. If you’re interested in watching the videos when they are posted, tune into the Haystack website.