Journals / Case study

How Zillow taught its similar-homes feed to read the listing text

In February 2021 Zillow described a summer intern project that trained Word2Vec on about 10 million listing descriptions, embedded more than 2 million listings every day, and added those vectors to the similar-homes recommender. Offline ranking metrics rose by 0.4 to 2 percent, more for vacant homes. No live test was reported. Later Zillow work moved to tags it can explain.

16 NOV 20269 min readRecommendations · Machine learning · Natural language processing · Real estate Based on: Zillow, 2021
Our diagram titled Let the description vote, in three bands. Before: the similar-homes model used numbers and categories only, such as price, bedroom count and property type, while the free-text description sat unused. The pipeline: train a Word2Vec model on about 10 million listing descriptions, then a daily Airflow job turns each description into one vector, more than 2 million listings in under 10 minutes per model, with five model types switchable in a config file, and the vectors are stored for any model to use. Who uses it: the existing similar-homes recommender first, measured offline on nDCG, MAP, MAR and MAF1; search ranking and other recommenders were planned next. A note says a live A/B test was planned and is not reported.
Diagram: MORARI. Source: Zillow

A listing's fields say what a home is. Its description says what it is like: the golf course out back, the guard at the gate, the view. Most recommenders read only the fields.

Zillow described adding the words in a post by Anish Khazane on 24 February 2021, about his summer 2020 internship on the Relevance Team. So this is an intern project, not a launch. The live page blocks our client, so we read the archived copy from July 2021.

The problem: the fields miss what the words say

"The Relevance Team at Zillow extracts numerical (price, bedroom count, etc.) and categorical (property type, etc.) features from property listings to build recommendations on similar homes, personalized search rankings, and other personalization systems for customers."

The description sat unused: "When I started, our systems did not incorporate the text of listing descriptions as an input to these recommendation systems." The team wanted features "that could not already be found in more structured attributes of a property like its price or bedroom count."

The similar-homes block matters on a portal. Zillow's 2018 post on the earlier model notes that many visitors are new or have no account, and for them the carousel on each home page "plays an important role in surfacing interesting content". That model used fields and clicks only.

The design: one vector per description, shared

Turn every description into a vector once a day, store it, and let any model that wants text pick it up. Similar homes was the first user; search ranking and other recommenders were next in line. Our redraw is at the top.

How they built it: train, check, schedule, plug in

1. Look at the text, then pick a model. Khazane began with "exploratory data analysis (EDA) of the textual descriptions", ending up with "a Word2Vec-based model that I trained on roughly 10 million listing descriptions." Word2Vec, from 2013, learns a vector for each word from its neighbours. The post does not say how word vectors became one vector per description.

2. Check that close means similar. Plots showed "high semantic similarity between nearby description embeddings". In one, "we see a cluster of similar vectors that all share references to golf courses."

3. Make the job routine. He "extended an Airflow DAG maintained by the relevance team to use my pipeline for generating embeddings on a daily basis." The result: "This embeddings generation pipeline is now able to create 2+ million listing description embeddings from several types of machine learning models, with each model generating all embeddings in under 10 minutes."

4. Keep the model swappable. A configuration file picks one of five: Word2Vec, Word2Vec with TF-IDF weights, GloVe, BERT or Doc2Vec.

5. Plug it into the existing recommender. The vectors went "into an existing recommendation system at Zillow for similar homes". How they mix with the structured features is not described.

Our diagram titled Close in meaning, a little higher in the list, in two bands. Band one, descriptions about the same thing sit close: a search for golf in the embedding space returns its five nearest descriptions, with key phrases such as golf course and guard-gated community, golf course and gated community, and golf course with mountain views and an RV garage, at cosine distances from 0.108 to 0.147. Band two, the offline lift, Word2Vec on non-vacant homes: nDCG rises 1.28 percent at position 1, 1.32 at 2, 1.02 at 3, 1.03 at 5, 0.71 at 10 and 0.55 at 20; MAP rises 1.28 percent at 1, 1.37 at 2, 1.99 at 3, 1.03 at 5, 0.51 at 10 and 0.36 at 20. A note says nDCG at position 1 moves from 0.437 to 0.442, the gains are relative, offline and Zillow-reported, and vacant homes gained more but no number is given.
Text helps a little on every list position, most near the top. Diagram: MORARI. Source: Zillow

How they measured it

Offline, on the similar-homes task, with four ranking metrics: nDCG, MAP, MAR and MAF1. Each asks whether the homes people went for rank near the top. The post does not say what counts as a hit.

Two charts show Word2Vec on non-vacant homes. nDCG rises 1.279% at position 1 and 0.547% at position 20. MAP peaks at 1.989% at position 3 and falls to 0.359% at 20. In absolute terms nDCG at position 1 moves from 0.4367 to 0.4423.

The bigger claim is in words only: "even larger improvements for vacant properties". The reason given: "As vacant listings typically have less information in structured form".

What it delivered

A daily text pipeline and modest offline lifts. No online result: "the team plans to run a live A/B test using the embeddings to validate online performance." There is no number for vacant homes, no MAR or MAF1 figure, no comparison of the five models, no error bars and no description of the baseline. All figures are Zillow's own.

The lesson is the shape, not the size: text helps most where the structured data is thinnest.

What has changed since

Zillow kept reading listing text, but moved away from raw vectors where people need to see why. Its 2022 Zestimate post weighs feeding description embeddings straight in: "A tradeoff here, however, is a loss in explainability." It used tags pulled from the text instead: "by avoiding using embedding vectors directly, we maintain explainability."

A 2024 post warned that "the content of the listing descriptions can function as a proxy for a protected class such as race." A 2025 knowledge-graph post uses SBERT to find candidates, and an April 2026 post on a behaviour model says "we tokenize the interpretable attributes of each listing so the model learns reusable concepts rather than memorizing individual homes."

We found no later Zillow page with a live result for the 2021 vectors.

Others took the same turn. Realtor.com tried an LLM for search first: "Every query took 3-5 seconds to process". It now runs a rules parser over tags and has "generated over 300 specialized tags, and that number continues to grow." Rightmove says its search is "scanning images and texts in property listings to deliver more relevant properties".

The models changed too. Zillow trained Word2Vec on 10 million of its own descriptions. Open multilingual sentence models such as multilingual-e5 and BGE-M3 come pretrained and cover Indonesian.

Why it matters for your business

Indonesian listings put a lot in the words. A Pinhome project page has a "Properti Serupa" block, and its description says "perumahan ini hadir dengan one gate system yang dijaga oleh sistem keamanan 24 jam." One sentence mixes Indonesian and English and carries a selling point no structured field holds. A new project has no enquiry history, which is the thin-data case where Zillow saw text help most.

The description is also an advertisement. UU 8/1999 on consumer protection gives buyers the "hak atas informasi yang benar, jelas, dan jujur" in Pasal 4, and Pasal 9 bars advertising goods or services "secara tidak benar". If the similar-homes block surfaces a listing because of what its text claims, that claim had better be true. Our reading: the law does not say whether a portal that ranks the listing shares the duty. Not legal advice.

Proxies apply here too. The same page lists nearby schools, one of them an Islamic school. Useful for buyers, and a route for a text model to group homes by religion. Our reading: look at what the model puts together before it goes live.

Similarity built only from listing content needs no personal data. Once the block is personalised by a viewer's history, it processes personal data and UU 27/2022 applies.

How we would build it today

Our diagram titled Fields first, then words, then tags, for an Indonesian developer or small portal, in three bands. Baseline: rank by price band, bedrooms, land and building area, location and certificate type SHM or HGB, and build a test set from the enquiry log where someone viewed A then asked about B, scored by hit rate at 5. Add the words: clean boilerplate such as nearby-place lists, normalise SHM, HGB, KPR, LT and LB, then a pretrained multilingual embedding such as multilingual-e5 or BGE-M3, with no training and minutes on one CPU. Score and explain: a transparent weighted score of field similarity plus text cosine, tags like one gate system, pool and corner lot shown as similar because, and a nightly top-10 neighbours table. Underneath: review what gets grouped every month for religion or ethnic proxies, and the description is an ad claim under UU 8/1999 Pasal 9.
Measure the fields first; add the words only if they beat them. Diagram: MORARI. Source: Zillow

Picture an Indonesian developer or small portal with a few thousand listings and an enquiry log.

  1. Measure a plain baseline first. Rank by price band, bedrooms, land and building area, location and certificate (SHM or HGB). Build a test set from the log: someone viewed A, then enquired about B. Report hit rate at 5.
  2. Add a pretrained multilingual embedding. multilingual-e5 or BGE-M3; read the model card's licence first. A few thousand descriptions embed in minutes on one CPU. Do not train Word2Vec on that little text.
  3. Clean before you embed. Strip lists of nearby hospitals and malls that read alike across projects, normalise SHM, HGB, KPR, LT and LB, and keep English terms as written. Test with and without cleaning.
  4. Combine with a score you can read. Field similarity plus text cosine, later a photo term. Tune the weights on the test set.
  5. Pull tags for the reason. A dictionary plus a small classifier for one gate system, pool, corner lot, bebas banjir. Show "similar because" on the card. Zillow and Realtor.com both chose tags where people need a reason.
  6. Run it nightly. Re-embed new and changed listings and write a top-10 neighbours table, the same shape as Zillow's daily job.
  7. Review what it groups. Sample neighbours by hand each month, watch for religious or ethnic proxies, and fix false claims at the listing.
  8. Test online when traffic allows. A 50/50 split on the similar-homes block with enquiry rate as the outcome. Otherwise a before and after, labelled weak evidence.

At this size steps 1 to 4 are probably a week of work. The words earn their place once the baseline is measured and they beat the fields alone.