
When you shop online, every product has structured descriptive labels attached to it.
| Product | Tag Type | Tag Value |
|---|---|---|
| Sofa | Material | Velvet |
| Table | Dimensions | 60" x 30" |
| Lamp | Color | Matte Black |
Tags power → Search results
→ Filtering ("Show me blue sofas")
→ Recommendations
→ Advertising targeting
Wayfair has 47,000+ distinct attribute tags across tens of millions of products.
Tags can be wrong or inconsistent, and at this scale, manual checking is impossible.
A validation model is an AI system that automatically audits whether a tag is correct by cross-checking multiple sources.
Input Sources:
├── Product Image
├── Product Description
└── Customer Reviews
↓
[Validation Model]
↓
Output: "This tag is CORRECT / INCORRECT"
| Dimension | Status |
|---|---|
| Accuracy | ✅ Good |
| Cost to run at scale | ❌ Too expensive |
This is the central problem the team needed to solve.
Every time an AI model processes a request, it costs money — this is called inference cost.
Cost per product = $0.01
Products in catalog = 10,000,000
─────────────────────────────────
Total cost = $100,000
Reduce the cost per inference so the model can run across the entire catalog affordably.
Wayfair achieved a 94% cost reduction in December 2025, then another 90% reduction in March 2026.
A design space is the full set of choices a researcher can make when building a model.
Design Space Dimensions:
├── Which LLM to use? (GPT-4, Claude, Gemini, etc.)
├── How to pre-process inputs?
├── How to write the prompt?
├── How to structure the output?
└── How to select which images to include?
Each dimension has many options, and combinations multiply:
5 LLMs × 4 prompts × 3 output structures × 3 image strategies
= 180 possible combinations
Manually building and testing each one would take months.
ML research follows a repeating cycle of building, testing, and improving.
1. Researcher has idea
2. Researcher writes code manually
3. Researcher runs experiment
4. Researcher collects and interprets results
5. Repeat → weeks per cycle
1. Researcher has idea
2. Cursor writes the code
3. Cursor runs the experiment automatically
4. Cursor publishes results
5. Researcher reviews and picks next idea → hours per cycle
| Old Bottleneck | New Bottleneck |
|---|---|
| "How long will this take to build?" | "What is the next idea worth testing?" |
The second bottleneck is far more valuable for a scientist to focus on.
Instead of running experiments one at a time, you run many simultaneously.
Sequential (Traditional):
Experiment 1 → Experiment 2 → Experiment 3 → ...
[===][===][===] ← takes 3x the time
Parallel (Wayfair's Approach):
Experiment 1 [===]
Experiment 2 [===] ← all finish at the same time
Experiment 3 [===]
Researchers ran 20+ Cursor agents in parallel during the sprint.
Without parallelization, this would have been mathematically impossible.
A standardized system that measures every experiment the same way, so results can be fairly compared.
Every experiment ran on:
├── Same test dataset (same products)
├── Same evaluation benchmark (same scoring rules)
└── Same metric reporting (same output format)
Without it:
Experiment A tested on 1,000 products → Score: 85%
Experiment B tested on 500 products → Score: 87%
Are these comparable? No. The framework eliminates this problem.
Once the framework was locked in, researchers never had to think about it again — they only focused on new ideas.
A model variant is one specific combination of choices from the design space — essentially one "version" of the model being tested.
| Variant | LLM | Prompt Style | Output Format | Images Used |
|---|---|---|---|---|
| V1 | GPT-4o | Detailed | JSON | All images |
| V2 | Claude 3.5 | Concise | Boolean | First image only |
| V3 | Gemini 1.5 | Chain-of-thought | Structured | Top 3 images |
Wayfair tested 110 variants in December and 140+ variants in March.
A genetic algorithm is an optimization technique inspired by biological evolution — it breeds the best solutions together to find even better ones.
Step 1: Run many experiments → identify top performers
Step 2: "Breed" top performers by combining their best features
Step 3: Test the new combinations
Step 4: Repeat until you find the optimal solution
Best prompt + Best model + Best output structure
↓
New hybrid variant
↓
Test → Is it better?
↓
Yes → Breed again | No → Try different combination
Wayfair used this in March 2026 on top of the strongest candidates from initial experiments.
A new research paradigm where AI agents handle implementation, freeing humans to focus purely on thinking and strategy.
| Human Researcher | AI Agent (Cursor) |
|---|---|
| Crafts hypotheses | Writes experiment code |
| Interprets results | Runs experiments |
| Decides what to test next | Measures and reports results |
| Sets cost guardrails | Keeps running 24/7 |
Traditional research:
Laptop closes → Experiment stops ❌
Agent-first research:
Laptop closes → Experiment keeps running ✅
Researcher commutes → Experiments keep running ✅
Researcher is in meetings → Experiments keep running ✅
This enabled 24/7 experimentation without requiring researchers to be at their desks.
Doing the same amount of research in a fraction of the time by automating the slow parts.
Traditional timeline:
110 model variants × manual implementation = months
Wayfair's timeline:
110 model variants × Cursor automation = 4 days
December 2025: 94% cost reduction
March 2026: 90% additional cost reduction
Each sprint built on the last, with the productionized model becoming the new baseline.
Large catalog (Concept 1)
→ Needs tag validation (Concept 2)
→ Validation is too expensive (Concept 3)
→ Must explore design space (Concept 4)
→ Requires many experiments (Concept 5)
→ Parallelization speeds this up (Concept 6)
→ Evaluation framework ensures fair comparison (Concept 7)
→ Each combination = a model variant (Concept 8)
→ Genetic algorithms optimize the best ones (Concept 9)
→ All enabled by agent-first research (Concept 10)
→ Result: months of work compressed to days (Concept 11)
The fundamental insight is that the bottleneck in ML research is not thinking — it's implementation. By delegating implementation to AI agents, researchers can spend 100% of their time on the part that actually requires human intelligence: deciding what to try next.