Beyond the hype: how a custom multimodal transformer beat our fine-tuned LLM

Louis-Victor Pasquier29 Apr 2026

Problem

leboncoin, a classifieds marketplace, fills ad attributes (brand, color, memory capacity, furniture type) automatically when a seller uploads an item. Its character n-gram text classifiers work on text-heavy categories but stall on sparse titles, such as a photo of a blue couch titled "Couch for sale". A fine-tuned vision-language model (VLM) fixed accuracy, yet needs GPUs and takes seconds per prediction. Millions of new ads arrive every week.

Example from the article: a seller posts "veste en jean levis". The text implies the brand and a denim jacket, and a text-only model guesses blue (96%), but the photos show a black jacket.

Solution in brief

The VLM helped because it could see the image, not because it could reason. leboncoin feeds image embeddings from an in-house frozen ConvNeXt model, plus a character n-gram vector of the title, as tokens into a small transformer. A CLS token goes to one classification head per attribute, and the head's probability decides whether to pre-fill a field.

Questions this case answers
  • How to predict several categorical attributes of an item from its short text and photos within a latency budget of a few hundred milliseconds
  • How to add visual signal to an existing text classifier cheaply by reusing image embeddings that another team already trained
  • How to decide automatically when a model prediction is reliable enough to show to the user, and otherwise show nothing
  • How to auto-fill ad attributes such as color, brand or model from a photo and a short title when text alone is ambiguous?

Tools and methods

  • Frozen ConvNeXt image embeddings — 700-dimensional vectors from the visual-search team's model
  • Character n-gram count vectorizer — text features of the ad subject
  • Multimodal transformer (fuser) — attention over text and image tokens
  • Qwen 8B, fine-tuned — the baseline VLM
  • Probability threshold — pre-fill only above 0.7
Continue reading — it's free

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