Query Result Sampling for Unbiased Search Engine Evaluation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large-scale databases face challenges in delivering accurate and relevant data due to dynamic inventory and user-specific preferences, making it difficult to evaluate the performance of query engines effectively.

Innovation Solution

A process is introduced to sample historical query records, stratifying them based on search phrase frequencies to create a representative set that reduces bias and enhances training quality for item query engines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If all historical query records are used to evaluate query engine performance, then the evaluation comprehensiveness is improved, but the processing time and computational resources increase significantly

Engineering Contradiction:
Improveevaluation comprehensivenessVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the historical query records into different strata based on search phrase frequency categories (common, uncommon, rare). This segmentation allows the system to evaluate a representative sample from each stratum rather than processing all records uniformly, thereby reducing processing time while maintaining evaluation comprehensiveness across different query types.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by selecting a subset of historical query records for evaluation based on stratified sampling. Instead of evaluating all records, the system evaluates a carefully selected portion that represents the full distribution of query frequencies, achieving sufficient evaluation comprehensiveness with reduced processing time.

Inventive Principle:
Principle #16Partial or excessive action

2Productivity

If random sampling is used on historical query records, then the processing efficiency is improved, but the evaluation accuracy deteriorates due to bias toward common search phrases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidevaluation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent divides the historical query records into distinct strata based on search phrase frequency (common, uncommon, rare). This segmentation ensures that each frequency category is independently represented in the sample, preventing the dominance of common phrases and maintaining evaluation accuracy while allowing efficient processing of a manageable sample size.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by ensuring that each stratum (frequency category) is adequately represented in the sample according to its specific characteristics. Rather than uniform random sampling, the system tailors the sampling approach to each local group (stratum), guaranteeing that rare and uncommon phrases receive appropriate representation proportional to their importance.

Inventive Principle:
Principle #3Local quality

3Productivity

If the query engine is optimized for common search phrases, then the performance on frequent queries is improved, but the performance on rare and uncommon queries deteriorates

Engineering Contradiction:
Improveperformance on frequent queriesVSAvoidperformance on rare queries
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent segments the evaluation process into distinct frequency-based strata, allowing the system to assess and optimize performance across different query categories separately. This segmentation enables the query engine to maintain specialized optimization for common phrases while ensuring that rare and uncommon phrases receive adequate attention through targeted sampling and evaluation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the sampling parameters based on search phrase frequency characteristics. By adjusting the sampling strategy to account for frequency distribution, the system ensures that the query engine is evaluated and optimized across the full spectrum of query types, preventing over-optimization for common phrases at the expense of rare queries.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250363122A1Automated sampling of query results for training of a query engine
Publication Date: 2025.11.27 MAPLEBEAR INC
  • US20250363122A1 patent drawing
  • US20250363122A1 patent drawing
  • US20250363122A1 patent drawing

AI summary

An online system may generate numerous search records in response to searches requested by users. The online system may use a specific way to sample the historical search records to reduce biases in sampling. For example, the online system retrieves historical query records associated with an item query engine. The set of historical query records includes a plurality of search phrases. A historical query record is associated with a search phrase and a list of items returned by the item query engine. The online system determines the search frequencies for the search phrases. The online system stratifies the historical query records into a plurality of bins according to the search frequencies of the search phrases. The online system samples the historical query records from the plurality of bins to collect a representative set of historical query records and outputs the representative set of historical query records for rating.