Amazon builds COSMO commonsense knowledge graph to improve product recommendation F1 by 60%
Amazon's product recommendation engine lacked commonsense reasoning to infer contextual product needs, such as that pregnant women searching for shoes might want slip-resistant footwear.
LLMs used to generate commonsense relationship hypotheses tend to produce empty or trivial rationales, requiring heuristic filtering and additional validation steps to remove low-quality outputs.
The COSMO-enhanced recommendation model achieved a 60% increase in macro F1 with frozen encoders, and maintained a 28% macro F1 edge and 22% micro F1 edge over the best baseline after fine-tuning.
Frequently asked questions
What did this team achieve with this AI workflow?
The COSMO-enhanced recommendation model achieved a 60% increase in macro F1 with frozen encoders, and maintained a 28% macro F1 edge and 22% micro F1 edge over the best baseline after fine-tuning.
What tools did this team use?
COSMO, LLMs.
What results were reported?
macro F1 improvement (frozen encoders): 60%; macro F1 edge over baseline (fine-tuned encoders): 28%; micro F1 edge over baseline (fine-tuned encoders): 22% (source-reported, not independently verified).
What failed first in this deployment?
LLMs used to generate commonsense relationship hypotheses tend to produce empty or trivial rationales, requiring heuristic filtering and additional validation steps to remove low-quality outputs.
How is this ecommerce ops AI workflow structured?
Customer query submitted → Collect and prune data pairs → LLM generates candidate relationships → Heuristic filtering of candidates → Human annotation of candidates → ML classifier scores remaining candidates → Principle extraction re-prompts LLM → Knowledge graph assembled from triples → COSMO triples integrated into recommendation model.