02Multimodal AI · Search & Recommendation · Read 4 min
Multimodal search and recommendation: from image to production pipeline
I benchmarked representations by use case, then helped build an incremental, measurable multimodal pipeline delivered for production.
THE STARTING POINTThe pipeline uses a different model by task, recomputes only changed products and continuously measures result quality and availability.
CONTEXTThis work was conducted in the context of AB Tasty Commerce, a platform publicly bringing together search, recommendation and merchandising. It began with two separate questions: retrieving a product from words and recommending visually similar products. I helped connect model comparisons, catalogue preparation, indexing, APIs and operational monitoring into the pipeline’s production implementation.
SUMMARYTests on public catalogues showed that a text-specialized model better understood written queries, while a fashion-trained vision-language model compared images more accurately. The production pipeline therefore keeps several numerical representations, or embeddings. It recomputes only new or changed products, combines text and image through explicit configuration, and monitors coverage, latency and failures.
30-second read
The project, evidence and decision.
- Problem
- Turn text-image benchmarks into a search service used in production.
- My role
- Model comparison, architecture, incremental computation, deployment and monitoring.
- Scale
- Distributed multimodal pipeline, vector indexing and load testing.
- Result
- Contribution to production delivery of the text-image pipeline.
- Decision
- Select models by task and define explicit fallback strategies.
- Status
- Production pipeline in the context of AB Tasty Commerce.
Key diagram
The multimodal pipeline, from catalogue to product neighbours
01 · FIELDSNAMEw=1.0
DESCRIPTIONw=0.5
IMAGEw=0.8
→ENCODE
→WEIGHT
03 · FUSIONΣ wf · efShared space · L2 normalization
→INDEX
05 · TOP-K01Similar item.92
02Similar item.87
03Similar item.81
Text and images are encoded separately. Weighted fusion applies to compatible representations in a shared space, with versioned configuration before neighbour indexing. Production adds monitoring, output tests and fallbacks.
An anonymized case study describing the methods and decisions.Contribution & production02
How do CLIP experiments become an operational production pipeline?
I helped connect model selection, recomputation of changed products only, configurable text-image combination, vector indexing and production monitoring. My contribution to production delivery includes explicit limits and fallback behavior.
Operational qualityRelevance and coverage
Latency and load
Versions, failures and fallback behavior
TakeawaysProduction depends on a controlled sequence of decisions: select models by use case, limit recomputation, test the index under load, verify returned results and provide fallbacks.
- Model choice depends on the query and products, as well as general benchmarks.
- Incremental computation and versioning make catalogue and model changes manageable.
- Checks of returned results extend evaluation after deployment.
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.