---
id: "lib-2026-11-12-why-one-big-model-won-t-replace-an-ocr-pipeline"
type: "library"
title: "Why one big model won't replace an OCR pipeline: RWB content moderation experience (Почему одна большая модель не заменит OCR-пайплайн: опыт модерации контента RWB)"
lang: "RU"
org: "RWB (Wildberries)"
source_type: "Practitioner post"
date: "2026-11-12"
week: "2026-W46"
url: "https://nosov.ai/library/lib-2026-11-12-why-one-big-model-won-t-replace-an-ocr-pipeline/"
original_url: "https://habr.com/ru/companies/rwb/articles/1106902/"
tier: "B"
tier_name: "Useful, limited"
tier_reason: "Wildberries' moderation data science team explains a production design at very large volume with clear engineering reasons, but gives no accuracy, latency or cost figures comparing the pipeline with the single-model options."
summary_basis: "full-text"
original_minutes: "12"
tags: ["business transformation"]
---

# Why one big model won't replace an OCR pipeline: RWB content moderation experience (Почему одна большая модель не заменит OCR-пайплайн: опыт модерации контента RWB)

Tier B (Useful, limited): Wildberries' moderation data science team explains a production design at very large volume with clear engineering reasons, but gives no accuracy, latency or cost figures comparing the pipeline with the single-model options.

Summary based on the full text.

## In short

A Habr post on the RWB company blog (November 2026) by the "Moderation Platform" data science team at Wildberries. It explains why text recognition on product images runs as a seven-stage pipeline of small specialised models rather than one large vision-language model (VLM) or a compact end-to-end OCR model. A large VLM such as Qwen3-VL hit memory and speed limits at their volume, so it now runs on a fraction of a percent of traffic to measure the pipeline's quality and find corner cases. The argument rests on five production factors, not on a benchmark.

## Key numbers

- more than 35M: product cards passing Wildberries moderation per day
- about 400M: images per day passing through the text-recognition model; more than 90% are product-card photos
- about 80%: share of recognition traffic in Russian, out of more than ten languages
- more than twenty: boxes per image beyond which the team's checks found VLM localisation errors obvious

## What it reports

- Extracted text feeds checks for contact details, banned words, banned ingredients and other rule breaches.
- Pipeline: preprocessing, segmentation, geometry handling, script classification, recognition, clustering and reading order, output.
- Geometry: a segmenter returns masks, not rectangles; four contour types (horizontal, tilted, vertical, curved) get different handling. Curved text is straightened with a thin plate spline along its midline, with an adaptive number of control points.
- Languages: more than ten, about 80% Russian. A script classifier routes each crop to one of more than five recognition branches. A new language gets its own recogniser, golden dataset, validation and rollout, so the Russian model's weights never change.
- Reading order: a separate clustering algorithm turns scattered boxes into meaningful blocks; in a VLM the order is produced inside generation and can break on images with many text areas.
- Output contract: text, coordinates, confidence and which recogniser produced it. Coordinates are needed as evidence and for masking personal data. VLM boxes can drift between requests or be invented; the team saw obvious errors beyond twenty boxes per image.
- Debugging and scaling: errors are traced to one stage and only that stage is fixed and re-tested; each model is a separate inference service, scaled by its own traffic.
- Compact end-to-end OCR models (for example GLM-OCR, under a billion parameters) are fast enough, but share the same control problems.

## How they got it

Engineering reasoning from running the system in production, with diagrams of each stage. The VLM comparison is described qualitatively; the only measured observation reported is the box-count threshold from the team's own checks.

## Limits

- No accuracy, latency or cost numbers for the pipeline versus the VLM or end-to-end options.
- The authors are defending their own production system.
- The authors note end-to-end models are simpler for small volumes and document scans, so the conclusion is scoped to high-volume moderation.

## Why it matters for companies

When a model's output is used as evidence (to block a listing, redact data or audit a decision), the design questions are traceability, stable coordinates and the ability to change one part without re-testing everything. Those favour a pipeline of small models even when a single large model reads text well. The hybrid shown here is cheap to copy: keep the large model as a parallel quality check on a small sample, not as the production path.

## Key passages in translation

> На нашем потоке такой вариант сразу упирается в память и скорость принятия решения. При этом символы модель распознаёт хорошо, поэтому мы используем её для оценки и валидации качества пайплайна.

On our traffic this option immediately runs into memory and decision speed. The model does read characters well, so we use it to evaluate and validate the pipeline's quality.

> А на нестабильные координаты нельзя опираться как на доказательство при решении о бане карточки товара.

And unstable coordinates cannot be relied on as evidence when deciding to ban a product card.

Original: https://habr.com/ru/companies/rwb/articles/1106902/
