How to Build a Photo Dataset with an LLM: Our Experience with Vibe Filters

Dima Strokov30 Oct 2025

Problem

2GIS wanted users to filter cafes and restaurants by «vibe»: romantic, cozy, authentic, good for photos. A vibe is a feeling, not an object in the frame, so criteria are discovered while labeling. Crowd labeling needs a fixed instruction, control examples and trained labelers, and every criterion change means rewriting instructions, redoing control examples and relaunching labeling. On one project the team changed the prompt for a single vibe dozens of times.

Example from the article: in the «Romantic» vibe, photos with exactly two glasses looked right, but the first runs showed two glasses used as decor and table shots with more than two glasses.

Solution in brief

A vision-language model (InternVL-3) scores every photo against a text prompt per vibe. A per-class score threshold picks confident photos, which form a dataset. Classifiers trained on it then score all photos cheaply. Reviews cover vibes that photos cannot show; the crowd handles exact checks and rare cases.

Questions this case answers
  • How to obtain training labels for a subjective, hard-to-formalize image attribute when the criteria are still being discovered and crowd instructions would need constant rewriting
  • How to turn a slow, expensive zero-shot vision-language labeler into a cheap classifier that can score a whole catalog of images
  • How to label photos for a subjective criterion such as a «romantic» or «cozy» place when a crowd instruction cannot be written up front?
  • How to build a training set for an image classifier quickly when the class definitions change every few days?

Tools and methods

  • InternVL-3 — open-source multimodal model run on own hardware, keeps data inside; zero-/few-shot scoring
  • GPT (GPT-4V) — benchmark for InternVL, and validator for criteria that need object counting
  • Prompt and score threshold per vibe — scene description and a confidence cutoff
  • Per-vibe classifiers — trained on filtered photos; no LLM call for new photos
  • NLP on reviews — extracts vibe criteria that images cannot show
  • Crowd labeling — rare cases and exact checks
Continue reading — it's free

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