How we built an LLM that generates product descriptions for Avito users

Sergey Klyakhandler2 May 2025

Problem

Private sellers on Avito must write a description for each listing, but many leave the field empty or write something like "jacket is normal". Clothing buyers want material, size and condition. Without them they message the seller, which adds a step, and listings sell slowly or not at all. The team targeted only private sellers: they list rarely and avoid effort, while professionals know which parameters matter.

Example from the article: three real jeans listings whose description is empty, the single word "Est" (Yes) or a thumbs-up emoji.

Solution in brief

The team trained an image-to-text transformer on Avito's own listings with good descriptions. The input is the main photo plus the listing attributes as a text prompt. The model runs in a service with a pre-filter that rejects hopeless inputs and a post-filter that rejects bad outputs.

Questions this case answers
  • How to generate a useful free-text field from a photo and structured attributes when the users who fill it in are casual and the output goes straight into a public listing
  • How to build training data for a generator when public datasets differ in language and image quality from production inputs and the in-house data is mostly low quality
  • How to get private sellers to publish informative item descriptions when most leave the field empty or write a few useless words?
  • How to train an image-plus-attributes description generator when no open dataset matches amateur phone photos and Russian text?

Tools and methods

  • Image-to-text encoder-decoder transformer — open-source model pretrained on COCO and adapted to Russian; the base for training.
  • Heuristic selection of training listings — marks listings as good or bad examples by whether they state size, composition and other parameters.
  • Pre-filter and post-filter — drop unusable inputs and descriptions that fail business or moderation rules.
  • Aqueduct — open-source Avito library used for the generation step inside the service.
Continue reading — it's free

Google or a one-time email code. No password.