What Is the Amazon COSMO Algorithm? How COSMO Changes Search (2026)

What is the Amazon COSMO algorithm: what Amazon published about COSMO (a knowledge graph of shopper intent, 15 relation types, one live test on about 10% of US traffic) and the common claims with no Amazon source

The Amazon COSMO algorithm is Amazon's system for working out why people buy things. It's a knowledge graph that links products to the uses, audiences, occasions and places shoppers have in mind, so a search for "shoes for pregnant women" can be linked to slip-resistant shoes even though the query never names them.

Amazon calls it COSMO, short for Common Sense Knowledge Generation and Serving System. "Algorithm" is the sellers' word. Amazon researchers presented COSMO at the SIGMOD conference in June 2024, and the paper is the main detailed public record of it. It describes a graph of about 29 million relationships across 18 product categories, built from what shoppers searched before buying and what they bought together.

This guide sticks to that record. It covers how COSMO builds its knowledge, the 15 relation types it uses, the one live test Amazon published, the claims about COSMO that have no Amazon source, and what to change in a listing. It's written for sellers and agencies who keep hearing "optimize for COSMO" and want to know what that means in practice.

Key Takeaways (TL;DR)

  • COSMO is a knowledge graph plus the system that serves it, not a ranking formula. Amazon's paper and blog never call it an algorithm.
  • It's built from search-then-buy and bought-together behavior. A language model explains each pair, and human reviewers and a classifier filter the answers.
  • The graph uses 15 relation types, such as used for audience, used in location and used on (season or event).
  • Amazon reports one live A/B test: search navigation on about 10% of US traffic, with +0.7% relative product sales and +8% navigation engagement.
  • The relevance gains (+60% macro F1) were measured offline, on a public dataset.
  • No Amazon source says COSMO replaced A9, powers Rufus or Alexa for Shopping, or changed how ads work.
  • What a seller controls: true, specific facts about who the product is for, where and when it's used, and the problem it solves, plus the keywords that keep it indexed.

Amazon COSMO Algorithm: at a Glance

QuestionShort answer
What is it?A commonsense knowledge graph about why people buy products, and the system that serves it to Amazon search
Full nameCommon Sense Knowledge Generation and Serving System
First publishedAmazon Science blog, May 10, 2024; SIGMOD conference paper, June 2024
Built fromSearch-then-buy pairs and bought-together pairs
SizeAbout 29 million edges and 6.3 million nodes, 18 product categories
Relation types15 (function, event, audience, location, season, body part and more)
Live result Amazon reportedSearch navigation test on ~10% of US traffic: +0.7% relative product sales, +8% navigation engagement
Offline results+60% macro F1 on a relevance task with frozen models; +28% after fine-tuning
Refresh rateDaily
Powers Rufus or Alexa for Shopping?Not stated by Amazon. The paper doesn't mention Rufus
Replaced A9?No Amazon source says so

What Is Amazon COSMO?

E-commerce knowledge graphs before COSMO mostly stored product facts, such as what type of product something is. Those graphs know a product is a slip-resistant shoe. They don't know a pregnant shopper might want one. The Amazon Science write-up describes COSMO as the graph that fills that gap, linking products to the human contexts they're bought for.

In practice, COSMO stores small statements called triples. Each one links a shopping behavior, such as a search followed by a purchase, to a short phrase about why people buy, through a named relation: slip-resistant shoes, used for audience, pregnant women. A search system can read those triples alongside the query and the product to judge whether the two belong together.

What COSMO stands for

The paper's title gives the name: COSMO: A Large-Scale E-commerce Common Sense Knowledge Generation and Serving System at Amazon. Generation is the graph-building side. Serving is the infrastructure that gets the knowledge to search fast enough to use.

Other expansions circulate online, including "Common Sense Knowledge for E-Commerce". None of them appears in Amazon's paper or blog post. If a guide gets the name wrong, check its other claims too.

Is COSMO an algorithm?

Not in the sense sellers usually mean. COSMO doesn't score and sort listings the way a ranking model does. It produces knowledge that other models use. In the relevance experiments, for example, COSMO's triples are one more input to a model that still reads the query and the product.

So "Amazon COSMO algorithm" is a seller label, like "A10". It's a useful search term, and this post uses it for that reason. The part worth keeping in mind is that COSMO works through other systems, which is why you won't find a "COSMO rank" anywhere.

How the Amazon COSMO Algorithm Builds Its Knowledge

COSMO starts from behavior. The only listing text the paper feeds the language model is the product title; bullets, descriptions and images aren't named as inputs to the graph.

Two kinds of shopper behavior

Amazon uses two data sources. Search-buy pairs link a query to a product bought shortly after it, within a fixed time span or number of clicks. Co-buy pairs link two products bought in the same session, after pairs from distant categories are pruned out.

The paper sampled about 1.87 million search-buy pairs and 3.15 million co-buy pairs for the graph. Those two sets produced roughly 5 million and 25 million knowledge edges.

From a language model's guess to a filtered triple

The construction loop, as Amazon describes it:

  1. A large language model is asked why each pair makes sense, using a starting set of relations: used for, capable of, is a, and cause.
  2. Relations that keep recurring are split into finer ones, such as used for function, used for event and used for audience, and the model is asked again.
  3. Simple rules drop weak answers, like generic explanations ("they like them") or ones that repeat the question.
  4. Human annotators rate a sample on two tests: is the relationship plausible, and is it typical of how the product is bought.
  5. A classifier trained on those ratings scores the rest and keeps what passes a threshold.
  6. Patterns from the best answers become instructions for the model, and the whole set is regenerated.

Annotators labeled 30,000 candidates, 15,000 per behavior type. Each question went to two people, with a third breaking ties, and an audit of 5% of labels found over 90% accuracy.

Search behavior carries most of the usable knowledge

The annotation results show a large gap between the two sources. 44.3% of search-buy explanations were rated plausible, against 14.5% of co-buy explanations. The authors put the co-buy problem down to the model explaining one product of the pair and ignoring the other.

Our reading for sellers: the queries shoppers type before buying your product are the strongest material COSMO has about it. That's a link you can influence, because the queries a listing gets bought from depend on the queries it's indexed and shown for.

COSMO-LM: scaling to 18 categories

Amazon generated the first candidates with OPT-175B and OPT-30B, but models that size are slow and costly to run on new behavior. So Amazon fine-tuned smaller LLaMA models (7B and 13B) on the annotated instructions and called the result COSMO-LM. That model extended the graph to 18 major product categories.

The serving side refreshes daily. A two-layer cache holds knowledge for searches that recur through the year, plus a daily batch for everything else. The paper names one cost of that design: COSMO can't react to real-time events such as flash sales.

The 15 COSMO Relations and What They Mean for a Listing

The paper lists 15 relation types, each with an example. The last column is ours: the kind of listing fact that gives a product a fair chance of being linked through that relation.

RelationWhat it links toAmazon's exampleListing fact that supports it
used_for_funcA functiondry faceWhat the product does, in plain words
used_for_eveAn event or activitywalk the dogThe activity it's used during
used_for_audAn audiencedaycare workerWho it's made for
capable_ofA functionhold snacksCapacity, fit, what it can hold or carry
used_toA taskbuild a fenceThe job it completes
used_asA product typesmart watchWhat it replaces or doubles as
is_aA product typenormal suitThe product type, stated early
used_onA time, season or eventlate winterSeason, occasion or temperature rating
used_in_locA locationbedroomThe room, venue or setting
used_in_bodyA body partsensitive skinThe body area it's for (claims rules apply)
used_withA complementary itemsurface coverCompatible items, sizes, models
used_byAn audiencecat ownerOwner or user type
xInterested_inAn interestherbal medicineHobbies or interests it serves
xIs_aA shopper typepregnant womenLife stage or role (claims rules apply)
xWantAn activityplay tennisThe outcome the buyer is after

Two things stand out. Most relations describe context outside the product: who, where, when, what for. Feature-led copy ("premium aluminum, ergonomic design") answers none of them. A bullet that says "fits 13 x 18 inch half sheet pans" or "rated to -10°F for winter camping" answers two or three.

The rows marked "claims rules apply" need care. Copy that ties a product to pregnancy, a skin condition or a medical need can turn into a health claim Amazon restricts. Our guide to Amazon restricted keywords lists the terms that get listings flagged.

Where Amazon Says COSMO Is Used

The paper reports three uses. Only one has published results from live traffic, and the numbers differ a lot depending on which one you read.

Search relevance: offline tests

Amazon tested whether COSMO knowledge helps a model decide if a product matches a query. It used the Shopping Queries Dataset from the KDD Cup 2022, which has queries and products rated for relevance. A cross-encoder model given COSMO triples beat the best baseline by 60% in macro F1 with frozen models, and by 28% macro F1 and 22% micro F1 after fine-tuning.

These are lab results on a public dataset. The paper also mentions gains on private data in the US, Canada, the UK and India, without saying a relevance model with COSMO went live.

Session-based recommendations: mixed results

A second test used COSMO to predict the next product in a shopping session. Against the strongest of seven baselines, Hits@10 rose 4.05% for clothing and 5.82% for electronics. One metric went the other way: MRR@10 fell 3.19% for electronics.

Seller guides that cite COSMO's results tend to leave that row out. It's a normal research outcome, and it shows COSMO helps more in some categories and tasks than others.

Search navigation: the one live test

This is the deployment Amazon reports numbers for. COSMO organizes intentions from broad to narrow, so "camping" can expand to "winter camping", and links those intentions to product types like winter boots. On the search page, that drives refinement suggestions. The paper's example starts at "camping", offers "air mattress", narrows to "camping air mattress", then suggests types such as lakeside, mountain or 4-person camping air mattresses.

Amazon ran A/B tests for several months on about 10% of US traffic. The test group saw a 0.7% relative increase in product sales and an 8% increase in navigation engagement. The authors describe navigation as a relatively minor feature on the search page, and the revenue figures in the paper are the authors' estimates: hundreds of millions a year extrapolated from the test, and billions if extended to all navigation traffic.

One more detail matters. A footnote says the generative graph was built during two authors' internships at Amazon for research, and that the deployment used part of that work, aimed at search navigation. That's a narrower scope than "COSMO now runs Amazon search".

Navigation built on COSMO is a way to move shoppers from a broad search like "camping" toward specific product types they'd rarely type out. A listing for a 4-person camping air mattress that never states "4-person" or "camping" gives that path nothing to land on.

What Amazon Hasn't Said About COSMO

Most COSMO guides repeat a handful of claims. Here's each one against Amazon's published record.

Claim you'll seeWhat Amazon's record shows
COSMO replaced the A9 algorithmNo Amazon source says so. In the relevance tests, COSMO knowledge is an extra input to a model that still reads the query and product
COSMO is live on most searchesThe only live figure is about 10% of US traffic, for search navigation
COSMO powers Rufus or Alexa for ShoppingThe paper doesn't mention Rufus. Amazon has only said its search-ranking explanation also applies to Rufus's product picks
COSMO reads your listing copyThe graph is built from search and purchase behavior. The language model sees the product title; other copy isn't named as an input
COSMO changed Amazon PPCThe paper doesn't discuss ads
COSMO scores listingsThere's no COSMO score. Any tool showing one is using its own formula
Keywords don't matter anymoreAmazon still describes search as matching first, then ranking on product information such as title and description (2026 DMA report)

Amazon's March 2026 report to EU regulators backs up the last row. It describes search as two stages, matching products to the query and then ranking them on past customer actions and product information such as title, price and description. COSMO-style knowledge can widen what's considered relevant. It doesn't remove the need to be matched in the first place.

There's also no Seller Central report that shows COSMO's effect on a listing. Measure what you can see: indexing for your target queries, impressions, click-through and conversion.

That's also the standard to hold any tool to, ours included. Amazon SEO Ranking's two AI-Readiness criteria check whether the copy states who the product is for and gives quotable facts, with the pass rules published. They measure the listing, not COSMO.

COSMO vs A9, A10 and Alexa for Shopping

These four names get mixed together in seller guides, so here is how they relate.

A9 was the name of Amazon's search subsidiary, founded in 2003; sellers kept using it for the ranking system. A10 is a seller-community name with no Amazon source, covered in our post on the Amazon A10 algorithm. COSMO is a published research system that supplies knowledge to search, deployed in search navigation. Alexa for Shopping is the AI assistant that brought Rufus and Alexa+ together, launching in the US on May 13, 2026; Amazon says it draws on product knowledge, information from across the web and the shopper's own history.

The overlap is in what they reward. All of them do better with listings that state clear facts about the product and the person it's for. For how the assistant side affects copy, see how Rufus and COSMO changed Amazon SEO. For the full set of ranking inputs sorted by evidence, see our guide to the Amazon ranking algorithm.

How to Write Listings for the Amazon COSMO Algorithm

An Amazon SEO Ranking audit: score, seven categories and fixes ranked by points
An Amazon SEO Ranking audit: score, seven categories and fixes ranked by points

You can't edit the graph. You can make sure the listing gives search, navigation and shoppers the facts that match the intent you want to win, and that it stays indexed for the queries you need.

  1. Find the intents you already convert on. Brand-registered sellers can see the queries their products get bought from in Search Query Performance. In the US, Egypt, Saudi Arabia and the UAE, the What I rank for tab in Amazon SEO Ranking (Pro) shows every keyword an ASIN ranks for, with position and volume. On Agency, Keyword gap puts up to 20 ASINs side by side, so you can see the use-case and audience queries a rival ranks for and you don't.
  2. Keep the main keyword indexed. Lead the 75-character title with it and use Item Highlights (125 characters) and bullets for secondary phrases. The free Amazon character limit checker measures each field.
  3. Answer the relation questions in your bullets. Who is it for, where is it used, in which season or event, and what does it fit or work with? Pick the three or four that apply, and write each as a fact a shopper could check.
  4. Replace adjectives with numbers. "Holds 12 cans with ice" gives capable_of something to link. "Large capacity" doesn't.
  5. Put the leftovers in backend terms. Synonyms and use-case words that don't fit visible copy go in the 249-byte backend field. The free Amazon backend keywords checker counts bytes and flags words already used.
  6. Check every audience and body-part claim. Writing for intent is where unsupported claims creep in. Every Amazon SEO Ranking audit flags health claims and product claims the spec table doesn't support, and pack counts that disagree across fields, at no extra cost. On Pro and Agency, the compliance scanner adds medical claims and guarantees. If an audience is off-limits for your product, add it to the banned claims in your brand fact sheet, and every rewrite will keep it out.
  7. Show the use in the images too. COSMO's paper doesn't mention images, but shoppers judge "is this for me?" from the gallery before reading a bullet. On Pro and Agency, the image audit flags a gallery with no lifestyle or scale shots.
  8. Rewrite from facts, then score it as a draft. The Amazon listing rewriter writes from the listing's spec table and your brand fact sheet. You set a main keyword and secondary keywords, and a coverage check shows where each one landed. The result is checked in code for length limits, pack counts and restricted claims, and a draft audit scores it before it goes live, for 1 audit.
  9. Track the result. After the new copy is live, watch impressions and conversion for the queries you targeted. Score history is kept for every audited listing (unlimited on Pro and Agency), and score-change email alerts cover 5 listings on Pro and 25 on Agency.

Asking a general chatbot to "rewrite this for COSMO" is the quick route, and it tends to add exactly the audience claims step 6 warns about, with character counts it can't check. If you work in Claude, the Amazon SEO Ranking connector (Pro and Agency) lets it run the same check_listing_copy rules on its draft: length limits including the 249-byte backend field, pack-count consistency and claims.

Rewriting a catalog for intent, not one listing? Bulk Optimization runs the audit and rewrite across up to 100 ASINs per run on Pro or 500 on Agency, each row with its own target keywords, and a Claim Check column flags risky claims in every draft before anything is pasted.

Selling in several storefronts? Each marketplace builds its own search behavior, so an intent that converts on amazon.com may need different wording on amazon.de. The audit covers 23 Amazon marketplaces and rewrites in the marketplace's language.

Everything You Need to Know About the Amazon COSMO Algorithm

TopicWhat to knowSource or number
NameCommon Sense Knowledge Generation and Serving SystemSIGMOD 2024 paper
What it isKnowledge graph of purchase intentions, plus serving systemAmazon Science, May 2024
"Algorithm"Seller label, not Amazon's termNot in Amazon sources
InputsSearch-buy pairs, co-buy pairs~1.87M and ~3.15M sampled
SizeEdges and nodes~29M edges, 6.3M nodes
CoverageProduct categories18
RelationsTypes of intent links15
Human reviewAnnotated candidates30,000; >90% audited accuracy
PlausibilitySearch-buy vs co-buy explanations44.3% vs 14.5%
ModelFine-tuned COSMO-LMLLaMA 7B and 13B
RefreshGraph update cycleDaily; no real-time events
Relevance (offline)Macro F1 gain, frozen / fine-tuned+60% / +28%
Recommendations (offline)Mixed by categoryMRR@10 −3.19% in electronics
Search navigation (live)A/B test, ~10% of US traffic+0.7% sales, +8% engagement
Rufus / Alexa for ShoppingNo published linkPaper doesn't mention Rufus
MatchingStill comes before ranking2026 DMA report
Seller leversFacts on use, audience, setting, season; indexed keywordsTitle 75 chars, backend 249 bytes

Check Whether Your Listing Gives COSMO Anything to Work With

Amazon SEO Ranking's AI Copy Rewriter
Amazon SEO Ranking's AI Copy Rewriter

Nobody outside Amazon can see the COSMO graph, so a "COSMO score" can't exist. What you can check is whether your listing states the facts the graph links on. Amazon SEO Ranking's audit scores every listing against 12 published criteria, including two AI-Readiness criteria: intent-driven language (who it's for, what problem it solves) and extractable facts (dimensions, materials, compatibility). Rewrites are grounded in your spec table and brand fact sheet and checked in code for claims and pack counts, and you can score new copy as a draft before publishing.

It's built for sellers and agencies whose listings describe features but not the people and situations they're for, and for brand teams who need intent copy that won't trip a health-claim flag across 23 storefronts, rewritten in each marketplace's language. Agencies can run whole catalogs through Bulk Optimization and send clients white-label PDF reports that show every criterion. It's trusted by eRetail Search specialists at Nestlé and eCommerce SEO agencies such as Reach AI.

The free plan runs 3 full audits a month, no credit card required. Run a free Amazon listing audit to see your AI-Readiness score in about 20 seconds, or compare Pro and Agency plans: Pro is $79 a month with a 7-day free trial and adds the compliance and image scans.

FAQ

What is Amazon COSMO?

Amazon COSMO is a commonsense knowledge graph that links products to the uses, audiences, occasions and places shoppers buy them for. Amazon researchers presented it at the SIGMOD conference in June 2024 as a system for generating that knowledge and serving it to Amazon search. It's built from about 1.87 million search-then-buy pairs and 3.15 million bought-together pairs, explained by a language model and filtered by human reviewers. The graph holds about 29 million relationships across 18 product categories.

What does COSMO stand for on Amazon?

COSMO on Amazon stands for Common Sense Knowledge Generation and Serving System, from the title of Amazon's 2024 research paper. "Generation" refers to building the knowledge graph with language models and human review. "Serving" refers to the cache and feature store that deliver that knowledge to search, refreshed daily. Other expansions found online, such as "Common Sense Knowledge for E-Commerce", don't appear in Amazon's paper or blog.

Is the Amazon COSMO algorithm a ranking algorithm?

The Amazon COSMO algorithm isn't a ranking algorithm; it's a knowledge graph that other search models use as an input. In Amazon's relevance tests, COSMO triples were added to a model that still read the query and the product, raising macro F1 by 60% offline with frozen encoders. The only live deployment Amazon published numbers for is search navigation, tested on about 10% of US traffic. Amazon's paper and blog never call COSMO an algorithm, so the term is a seller label.

Does COSMO replace the A9 algorithm?

COSMO doesn't replace the A9 algorithm, according to everything Amazon has published. Amazon's paper describes COSMO as knowledge added to existing search models, and its live test covered search navigation, not core ranking. Amazon's March 2026 DMA report still describes search as matching products to the query and then ranking them on customer actions and product information. A listing still has to make it into the match set before it can be ranked.

How does Amazon COSMO affect sellers?

Amazon COSMO affects sellers by linking products to shopper intentions learned from search and purchase behavior, which can bring a product into searches its copy never names. Amazon's live test on about 10% of US traffic raised product sales by 0.7% relative through better search refinement suggestions. Search-buy behavior produced the most usable knowledge, with 44.3% of explanations rated plausible against 14.5% for bought-together pairs. For a seller, the queries a product is bought from and the facts its listing states are the two inputs within reach.

Does COSMO power Rufus or Alexa for Shopping?

COSMO powering Rufus or Alexa for Shopping is not something Amazon has stated. The COSMO paper doesn't mention Rufus, and beyond a line in its 2026 DMA report saying its search-ranking explanation also applies to Rufus's product recommendations, Amazon hasn't published how the assistant chooses products. Alexa for Shopping, which took over from Rufus in the US on May 13, 2026, combines product knowledge with web information and the shopper's history. Guides that say COSMO runs the assistant are guessing.

How do I optimize my listing for the Amazon COSMO algorithm?

You optimize a listing for the Amazon COSMO algorithm by stating checkable facts about who the product is for, where and when it's used, and what it fits or does. COSMO's 15 relations include audience, location, season, body part and complementary items, so a bullet like "rated to -10°F for winter camping" covers several at once. Keep the main keyword in the first words of the 75-character title so the listing stays indexed. Avoid health or audience claims the product can't back, since compliance checks flag them.

Should I change my listing for COSMO before a full rollout?

Changing your listing for COSMO before a full rollout is worth it when the changes are ones every Amazon search system rewards: clear facts on use, audience and setting, plus indexed keywords. Amazon has published numbers for only one live COSMO test, on about 10% of US traffic, so a rewrite aimed at COSMO alone would be a bet. The same facts help shoppers decide and give Alexa for Shopping something to quote, which affects conversion today. A free audit shows whether your listing passes the two AI-Readiness criteria before you rewrite anything.

Score any live listing against 12 published criteria and rewrite what fails, before you pay anyone to do it. Three free audits a month, no card required.

Run free audit

Keep reading

What is the Amazon A10 algorithm: supported A10 claims are relevance, purchases, clicks and passes, and account health; launch dates, factor weights, an off-site traffic boost and an FBA bonus have no Amazon sourceAmazon SEO & NewsWhat Is the Amazon A10 Algorithm? A10 vs A9 Explained (2026)18 min read · Amazon Rufus in 2026: now Alexa for Shopping in the US since May 13, the UK since November 11, Japan since November 12 and 13 countries in all; claims with no Amazon source include a Rufus rank, its share of searches, reading backend terms and how it picks productsAmazon SEO & NewsAmazon Rufus in 2026: What Sellers Need to Know About Amazon's AI Shopping Assistant16 min read · What is the Amazon A9 algorithm: Amazon's 2026 DMA report says ranking reads past purchases, title, price and description, and ignores FBA, whether Amazon sells the product and whether it is an Amazon brandAmazon SEO & NewsWhat Is the Amazon A9 Algorithm? How A9 Search Works in 202614 min read · What is Amazon Rufus: each answer plans the question, retrieves facts, picks a model and adds live prices; today it is Alexa for Shopping in 13 countries, used by 400M+ customers, free with no Prime neededAmazon SEO & NewsWhat Is Amazon Rufus? Definition and How It Works (2026)14 min read · How Amazon's ranking algorithm works: step 1 matches the query to the title, Item Highlights, bullets and backend terms; step 2 ranks matched products on purchases, price, images and listing qualityAmazon SEO & NewsHow Amazon's Ranking Algorithm Works in 2026: Ranking Factors That Actually Matter17 min read · How to use Rufus on Amazon: open it from the Alexa icon in the app bottom bar, at the top-left on desktop or from the search bar in the US and Germany, free with no Prime; prompts work best with sizes and budget, your exact model, a request for downsides, then a check of the specsAmazon SEO & NewsHow to Use Rufus on Amazon in 2026: Ask Rufus, Tips and Examples16 min read ·
Keyword research

Find what shoppers search

Search volume and keyword ideas from Amazon's own search data.

Open the tool →

What's your listing's score?

Free · no card · 3 audits a month