QueryForge: synthetic complex-query eval sets for product search
A tool that creates fake, complex shopping searches to help companies test and improve their product search.
A tool that auto-generates realistic complex purchase queries mapped to catalog items, giving search teams ready-made evaluation sets for testing ranking changes without human labeling or waiting for rare queries to accumulate in logs. New evidence strengthens the premise: LLM-written queries can retrieve as well as or better than human-written ones, and large synthetic datasets can be built rigorously with leak-free splits. The tool now generates clean and noisy query variants and groups paraphrases by target items, so synthetic sets don't overstate performance on messy real traffic.
Concept
An evaluation-data generator for product-search and relevance teams. The tool ingests a retailer's catalog metadata and produces a balanced, versioned evaluation set of complex natural-language purchase queries — multi-constraint, need-based, conversational (e.g., 'gift for a dad who restores old cars under $100') rather than keyword queries — each mapped to relevant items, plus a plug-in scoring harness (NDCG@100) for CI regression testing of ranking and retrieval changes on the team's own stack (not an encoder bake-off). Teams use it to measure relevance improvements and catch regressions on exactly the query types where semantic search is supposed to beat keyword search, without a human-labeling campaign.
Three design additions grounded in the new evidence:
- Realism tiers per query. Every generated query ships in a clean, informative form and in noisier variants (typos, vagueness, dropped constraints). Rationale: LLM-written queries are measurably more informative than human-written ones, so a clean-only set risks an idealized benchmark.
- Leak-free, item-grouped construction. Paraphrases resolving to the same item set are grouped and kept whole within a version, and each version is checked for overlap with any synthetic training data — adopting the group-level split discipline proven necessary for large instruction-to-target datasets.
- Rewrite-then-edit seeding and distilled generation. Where sparse logs exist, the LLM edits seed queries rather than writing from scratch; the generator can be distilled into a small model so sets regenerate cheaply at catalog-change cadence.
Why now
The anchor result stands: the semi-synthetic Amazon-C4 dataset is a reliable proxy for real complex-query product search, with NDCG@100 correlating 0.94 (Pearson, p < 0.01) against the Reddit-based comparison set. Two new lines of evidence corroborate the core premise:
- LLM-written queries can beat human-written ones. In LLM-aided query rewriting on QReCC, informative LLM rewrites improved sparse (BM25) retrieval by 9.58 MRR absolute over human rewrites, winning on 36% of instances versus 26.6% for human rewrites. Machine-written query text is not a degraded stand-in — it can carry more retrieval-relevant information than human text.
- Large synthetic pair datasets are feasible and can be made rigorous. PentaCMD demonstrates 299,329 instruction-to-target pairs, the large majority synthetic, with leak-free group-level splits that neutralize paraphrase leakage — the main validity threat for this class of data.
Boundaries and open questions
- The sparse/dense asymmetry is a real boundary. The LLM-rewrite gain over human text was 9.58 MRR for sparse retrieval but only 1.84 for dense. Two honest implications: (a) synthetic eval queries are likely cleaner than production traffic, so scores may overstate real-world performance — hence realism tiers and a standing recommendation to pair synthetic sets with sampled real logs before deployment decisions; (b) query difficulty is not retriever-neutral, so the harness reports NDCG stratified by retriever type (BM25 / dense / hybrid).
- Domain gap. The rewriting evidence comes from conversational QA (QReCC), not e-commerce; the transfer to purchase queries is plausible but unproven, which is why the Amazon-C4 correlation remains the primary in-domain anchor.
- Still open: whether the synthetic-real correlation holds across diverse categories (high-intent electronics vs. subjective fashion); whether engineers will trust synthetic benchmarks for deployment gates without human sign-off — QueryForge therefore includes a small human-validated spot-check sample per version; the cost of maintaining versioned synthetic sets vs. sparse human labeling; and model-collapse/bias risk when the same LLM family generates queries and powers the encoder under test, mitigated by multi-backend generation and per-query generator provenance logging.
Written by GLM · 8 Nov 2026 · revised 1× with new research (latest 15 Nov 2026, Gemma 4 and GLM)
AI assessment
A highly focused, feasible tool that solves a concrete pain point in search engineering by replacing manual labeling with high-correlation synthetic benchmarks.
- Evidence strength 4/5
- The idea is strongly anchored in the Amazon-C4 correlation (0.94) and the QReCC findings on LLM-written query superiority, though the transfer from conversational QA to e-commerce is an assumption.
- Market pull 5/5
- Search relevance engineering is a high-value bottleneck for large retailers who currently rely on expensive, slow human labeling for gold-standard eval sets.
- Novelty & moat 3/5
- While CatalogProbe focuses on encoder selection (bake-offs), QueryForge focuses on the CI/CD regression pipeline and the generation of 'noisy' variants, providing a distinct operational utility.
- Feasibility 5/5
- Building a generator based on existing LLMs and a standard NDCG harness is straightforward, though maintaining high-fidelity 'noisy' variants requires careful prompt engineering.
- Wedge clarity 5/5
- The specific use case of catching regressions when swapping BM25 for hybrid retrievers in a CI pipeline is a sharp, actionable entry point.
- Simplicity / focus 5/5
- The product is focused on a single output (eval sets) and a single metric (NDCG), avoiding the 'platform' trap.
Scored by Gemma 4 · 15 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.
Act on this idea
Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.
Business analysis
QueryForge leverages the high correlation between synthetic and real-world complex queries to replace slow human labeling with automated, versioned eval sets. The framework reveals a strong technical foundation in LLM-driven data generation, though it highlights a critical need to manage the 'idealization gap' where synthetic queries may overstate retriever performance compared to messy real-world traffic.
Strengths4
Weaknesses3
Opportunities3
Threats3
Essential for balancing the technical strengths of synthetic data against the internal weakness of the domain gap and the threat of engineer distrust. · Generated 2026-11-15 by Gemma 4AI-generatedFull SWOT Analysis →
Who benefits
- Algoliacompany
Algolia tunes per-customer relevance and needs eval sets for each vertical; auto-generated complex queries replace slow manual query curation in onboarding and A/B testing.
- Walmartcompany
Walmart's search quality teams need continuous eval coverage of rare complex queries; a synthetic generator validated as a reliable proxy supplies them without recurring human-labeling campaigns.
- Coveocompany
The enterprise commerce-search vendor can ship generated complex-query eval sets with each deployment, giving customers a measurable relevance baseline from day one.
- Instacartcompany
Grocery search is full of basket-level complex queries ('gluten-free snacks for a kids' party') that logs under-sample; generated eval sets close exactly that measurement gap.
- Zalandocompany
Fashion shoppers phrase needs descriptively ('linen dress for a beach wedding under €80'); synthetic complex-query eval sets let Zalando test semantic ranking on precisely those queries.
Research it builds on
- Bridging Language and Items for Retrieval and Recommendation: Benchmarking LLMs as Semantic EncodersYupeng Hou, Jiacheng Li, Xiangjun Fu et al. · 2026 · 661 citationsAll ideas from this paper →
- Enhancing Conversational Search: Large Language Model-Aided Informative Query RewritingAll ideas from this paper →
- PentaCMD: 299,329 English-to-terminal-command pairs across five tool families, with a leak-free evaluation splitDebnath, Suman · 2026 · 65 citationsAll ideas from this paper →