01 — Model selection

A task-specific benchmark avoids choosing an encoder by reputation.

Two reproducible protocols separated textual search from image similarity. On public catalogues, FashionCLIP improved visual NDCG@10 by 7.9% relative on Amazon Berkeley Objects (0.6177 → 0.6662) and 4.6% relative on H&M (0.8759 → 0.9160) compared with CLIP. For semantic search, a dedicated text encoder remained stronger.

The decision was to preserve several specialized spaces until a hybrid benchmark could justify merging them. Because categories provide only a proxy for relevance, results were interpreted with explicit limitations and complemented by qualitative inspection.

02 — Pipeline

Only new or modified products are re-encoded.

Each product field—name, description and image—has a fingerprint and a versioned representation. Only new or modified content is re-encoded. Removed products follow an explicit deletion rule, while image errors and optional fields use documented fallbacks.

Compatible representations within a shared space can be combined with configurable weights and normalization. Distinct encoder spaces stay separate: directly adding OpenAI and CLIP vectors is not a valid fusion. The team can therefore change how text and image are weighted without recomputing the entire catalogue. Separate versions can also coexist during a migration.

03 — Serving & scale

The architecture makes retrieval trade-offs measurable.

ClickHouse, HNSW indexes and in-memory strategies were compared on relevance, latency and load behavior. FastAPI exposes the required operations, while orchestration, containerization and load testing make the path reproducible.

A GPU embedding service was also evaluated to saturation to separate hardware gains from batching and orchestration limits. Those measurements informed capacity planning instead of becoming a technology preference by default.

04 — Production

Output tests and monitoring extend the benchmark after deployment.

I contributed to the multimodal pipeline’s production implementation. Operations monitor catalogue coverage, encoding failures, neighbour availability, latency and model versions. Migrations and metadata consistency receive functional checks because a query may technically succeed while still returning an incorrect ranking.

Experimental components stayed outside the critical path when they did not improve results enough. Automatic segmentation, for example, introduced failures and cost without improving neighbour relevance enough for the first version. This decision reduces complexity while retaining an ablation protocol for future catalogues.