---
title: "Building Production-Scale Visual AI for Claims and Returns at Swiggy Instamart"
description: "Swiggy Instamart built two vision-language-model systems to handle more than 40,000 daily claims involving wrong, expired, poor-quality, damaged, and packaging-related items, while reducing reliance on human verification. The Image Validation Model (IVM) compares customer uploads with catalog images, routes each category through a specialised LangGraph StateGraph handler, and combines its structured verdict with fraud, confidence, and business-rule signals. Reverse Quality Check (RQC) compares delivery executives’ pickup photos with the original claim images, allowing matching returns to proceed and prompting retries when they do not. The architecture keeps visual assessment probabilistic but makes routing, aggregation, escalation, and financial decisions deterministic, with traces for category, outputs, confidence, cost, and latency. After more than six months in production, the systems are associated with a 6% customer-satisfaction increase, 20,000 fewer weekly Image Validation tickets, 98.5% RQC accuracy, and over 5,000 daily RQC tickets resolved without human intervention."
---

# Building Production-Scale Visual AI for Claims and Returns at Swiggy Instamart

[Swiggy](https://yomu.fyi/company/swiggy) · Harshit Juneja · Jun 16, 2026

**Type:** Problem & solution

## Summary

Swiggy Instamart built two vision-language-model systems to handle more than 40,000 daily claims involving wrong, expired, poor-quality, damaged, and packaging-related items, while reducing reliance on human verification. The Image Validation Model (IVM) compares customer uploads with catalog images, routes each category through a specialised LangGraph StateGraph handler, and combines its structured verdict with fraud, confidence, and business-rule signals. Reverse Quality Check (RQC) compares delivery executives’ pickup photos with the original claim images, allowing matching returns to proceed and prompting retries when they do not. The architecture keeps visual assessment probabilistic but makes routing, aggregation, escalation, and financial decisions deterministic, with traces for category, outputs, confidence, cost, and latency. After more than six months in production, the systems are associated with a 6% customer-satisfaction increase, 20,000 fewer weekly Image Validation tickets, 98.5% RQC accuracy, and over 5,000 daily RQC tickets resolved without human intervention.

## Context

More than 40,000 claims arrived daily, while rule-based checks could not resolve many image-based cases without human review. This created growing agent costs, slower resolution during peaks, inconsistent decisions, and return-related inventory leakage because delivery executives often accepted returned items without meaningful verification.

## Approach / What changed

IVM uses category-specific LangGraph StateGraph handlers to compare customer and catalog images, producing valid, invalid, or ambiguous verdicts for a business rules engine. RQC compares pickup photos with original claim images and prompts delivery executives to correct mismatches. Visual assessment remains model-driven, while routing, aggregation, escalation, and financial decisions remain deterministic.

## Takeaways

- IVM treats the customer’s uploaded image as primary evidence; comments, product names, and categories provide context but cannot establish claims that images cannot verify.
- IVM decomposes claim handling by category because wrong-item identity checks and expiry-date extraction require different visual criteria, failure modes, and output structures.
- RQC reduced its False Not Match rate from 60% to 17% through iterative prompt work and automated optimisation, while the production system reports 98.5% accuracy.

**Tags:** [AI](https://yomu.fyi/topic/ai), [LangGraph](https://yomu.fyi/topic/langgraph), [Multimodal](https://yomu.fyi/topic/multimodal), [Observability](https://yomu.fyi/topic/observability)

- Source: [Swiggy](https://medium.com/swiggy-bytes/building-production-scale-visual-ai-for-claims-and-returns-at-swiggy-instamart-a0918a0abf28)
- Source URL: https://medium.com/swiggy-bytes/building-production-scale-visual-ai-for-claims-and-returns-at-swiggy-instamart-a0918a0abf28
- Ingested by Yomu: 2026-09-09T13:56:54.957Z

[Read original post](https://medium.com/swiggy-bytes/building-production-scale-visual-ai-for-claims-and-returns-at-swiggy-instamart-a0918a0abf28)
