Building a Three-Tier Multimodal LLM Review System for Marketplace Merchant Governance and Counterfeit Disputes
E-commerce platforms face massive volumes of complaints, merchant appeals, and IP infringement reports daily, yet traditional manual review struggles to balance efficiency and accuracy. This article presents a practical three-tier architecture—initial screening, deep adjudication, and closed-loop verification—powered by multimodal large language models and legal-specialized models. It covers multimodal evidence extraction, rule-based reasoning with RAG, JSON-structured enforcement outputs, human feedback loops, and deployment considerations such as elastic scaling and multi-provider failover, along with measurable improvements in review speed, cost, and governance coverage.
1. Background: Why Merchant Governance Keeps Swinging Between “Efficiency” and “Accuracy”
E-commerce platforms process enormous volumes of user complaints, merchant appeals, product qualification reviews, and intellectual property infringement reports every day. Traditional manual review faces unsustainable challenges across three dimensions:
- Complex information formats: Complaint evidence submitted by users often includes real-shot videos of defective products, comparison images showing subtle color differences against product detail pages, audio recordings, or chat log screenshots—highly multimodal data. Pure text-based review pipelines extract information from such unstructured content very inefficiently.
- Massive rule systems: Platform governance policies, advertising law prohibited-word lists, and industry standards per category are deeply nested. Reviewers must memorize and cross-reference dozens of documents, and since rules update frequently, human memory easily falls behind.
- Cost vs. timeliness trade-off: Simply adding more reviewers does shorten response times, but labor costs grow linearly, and fatigue-induced judgment variance directly raises misjudgment rates, triggering merchant complaints or consumer dissatisfaction.
2. Overall Design: A Three-Layer Intelligent Loop of “Screen — Adjudicate — Verify”
The core idea is not to solve everything with a single model, but to decompose the review workflow into three layers with clearly separated responsibilities, each matched to a model with the right capabilities:
- Layer 1 (Initial Screening): Performs fast feature extraction and preliminary classification over massive multimedia assets. The goal is low-cost, high-throughput information structuring—turning “unstructured evidence” into “structured data items.”
- Layer 2 (Adjudication): Takes the structured evidence from Layer 1, combines it with a knowledge base of laws and platform rules, performs deep logical inference and violation determination, and outputs enforcement recommendations with cited grounds.
- Layer 3 (Verification / Closed Loop): Spot-checks adjudication results, cross-validates them using a rules engine or an independent second model, and feeds outcomes back into the feature base and rule base, enabling monthly or quarterly self-adaptive optimization.
3. Layer 1: Multimodal LLM-Driven Asset Screening and Feature Structuring
3.1 The Upfront Advantage of Multimodal Review
Several large models today natively support mixed input of images, video, and text. This means the review system no longer needs the traditional “extract frames → run OCR → run text classification” pipeline. Instead, raw videos or images can be fed directly into the model, which outputs product visual attributes, scene context, and text markings in a single pass. The value of this capability is that it dramatically compresses the latency and error accumulation caused by long preprocessing chains.
3.2 Key Technical Configurations for Massive Input Volumes
During initial screening, the system ingests complaint tickets submitted through multiple channels, typically triggered via message queues or object storage. Below is a typical processing flow:
# Pseudocode: feed multimodal assets into the model and extract structured featuresdef extract_evidence_features(media_url, complaint_text):# 1. Fetch the media stream to local cache, or use a cloud temporary URL directlymedia_stream = fetch_media(media_url)# 2. Construct a multimodal prompt asking the model to extract specified fieldsprompt = f"""Analyze the attached image or video. Extract the product's core category, visible brand,defect type (e.g., damage / color difference / functional failure), and the time andlocation from image EXIF data (if present). Combined with the complaint text below,output the key complaint focus keywords. Output format: JSON.Complaint text: {complaint_text}"""# 3. Call the multimodal model with structured output mode enabledresponse = multimodal_llm.invoke(model="multimodal foundation model",messages=[{"role": "user", "content": [{"type": "text", "text": prompt},{"type": "media", "media_url": media_stream}]}],response_format={"type": "json_object"})return json.loads(response.content)# Key point: multiple independent calls can be issued in parallel for the same batch# of assets to improve throughput.
3.3 Best Practices for Balancing Performance and Cost
At the screening layer, cost control is the top priority. Recommended strategies include:
- Dynamic resolution adaptation: Compress oversized images to within the model’s recommended input resolution, reducing token consumption while keeping features legible.
- Key-frame extraction optimization: Do not parse video frame by frame. Use scene detection algorithms to extract representative frames at visual transitions, cutting average per-video processing time by roughly 60%.
- Streaming batch processing: Merge multiple related complaints from the same merchant and product ID into a single session, using continued context-based follow-up questions to avoid the overhead of repeated descriptions.
4. Layer 2: Legal-Specialized Models for Deep Rule-Based Adjudication
4.1 Why General-Purpose Models Are Not Enough
A screening model can extract facts such as “the product detail page says pure cotton, but the physical tag says polyester.” However, determining whether this violates false-advertising provisions in advertising law, or which penalty tier it triggers under the platform’s material-mismatch policy, requires rigorous legal interpretation and logical reasoning. General-purpose LLMs tend to produce plausible-sounding but incorrect interpretations of legal clauses, leading to wrong determinations. Layer 2 should therefore use a legal-specialized model fine-tuned on legal statutes and platform rule corpora.
4.2 A Deep Cross-Checking Workflow
The legal-specialized model receives the structured JSON output from Layer 1 and executes the following steps:
- Fact extraction and element alignment: Semantically align the extracted complaint focus (e.g., “severe fading,” “shrinking size”) with the promises made in the product detail page (e.g., “no fading after washing,” “standard sizing”).
- Rule knowledge base anchoring: Using built-in key advertising-law provisions, e-commerce law clauses, and the platform’s own merchant violation management rules, retrieve the most relevant original clause texts via Retrieval-Augmented Generation (RAG).
- Logical applicability analysis: The model reasons step by step—does the detail page description constitute “exaggerated claims,” “fabricated efficacy,” or “absolute wording”?—and provides a chain of grounds for the penalty recommendation.
4.3 Deduplicated, Structured Enforcement Output
Model output should strictly follow a predefined data structure so downstream ticketing systems can act automatically:
{"case_id": "CASE20250611001","violation_probability": 0.92,"violation_type": "False advertising - material composition mismatch","evidence_paragraphs": ["Detail page hero image states: fabric is 100% mulberry silk; the inspection report page shows the main material is polyester","Complaint video frames 2s-5s show the product tag inconsistent with the detail page description"],"legal_basis": [{"law": "Advertising Law, Article 28", "detail": "...deceiving or misleading consumers with false or misleading content about products or services that do not exist"}],"suggested_action": "Delist the product and restrict the store from publishing new products for 7 days","confidence_explanation": "Material comparison is consistent; merchant cannot provide a valid batch inspection certificate; evidence chain is closed"}
Enforcing a strict JSON Schema output prevents the model from omitting fields through free-form generation, ensuring Layer 2 results directly trigger automated penalties or human review tickets.
5. Closing the Loop: Data Feedback and Model Iteration
5.1 Human Spot-Check Feedback Channel
No automated review system achieves 100% accuracy, so a hybrid “AI determination + human spot-check” model is essential. For example, tickets judged as “no violation” or with confidence near the threshold should be randomly assigned to category operations experts at a 5%–10% sampling rate. Review outcomes must record the reason for discrepancy (feature misjudgment, outdated rules, new evasion tactics) and be tagged as new training samples.
5.2 Regular Knowledge Base Updates
Governance rules change dynamically with legal revisions and business adjustments. It is recommended to inject newly added internal rule entries and legal amendments into the vector database on a biweekly cycle. Meanwhile, recent human-corrected cases can serve as small-sample data for incremental fine-tuning of the legal-specialized model (e.g., using low-rank adaptation methods such as LoRA), keeping the model sensitive to the latest rules at low cost.
6. Technology Selection and Deployment Considerations
During implementation, several points deserve attention from engineering teams:
- Model hosting and elastic scaling: Choose container services or serverless inference services with automatic GPU elasticity. During major shopping festivals, report volumes can spike several times over, requiring minute-level scaling capability.
- Task scheduling and queue decoupling: The two model layers can be chained via an event-driven architecture. Write Layer 1 results to a message queue (e.g., Kafka), and have Layer 2 services consume messages and run inference. This way, upgrading or a failure in Layer 2 does not block Layer 1 data ingestion.
- Multi-provider model failover: Configure at least two providers for each model type, with timeout retries and fallback strategies at the gateway layer. If the legal model’s provider goes down, traffic automatically switches to a backup model of equivalent capability, preventing review outages.
- Visual tracing dashboard: Every complaint ticket should have a complete “evidence chain trace”—from the original video upload, through Layer 1 feature-extraction thumbnails, to the Layer 2 cited clauses. This is critical for handling merchant appeals and regulatory inspections later.
7. Results and Future Extensions
With the system properly configured, platform governance teams typically see significant improvements in three dimensions:
- Faster turnaround: Average review time per ticket drops from hours to “evidence returned in seconds, determination completed in minutes.”
- Lower cost: High-throughput, low-cost models handle the massive screening workload, with only a small share of complex cases escalated to the legal-specialized model—keeping overall inference budgets manageable.
- Broader governance coverage: Automated review can cover full-scale product detail page audits that were previously impossible due to staffing constraints, intercepting potential violations proactively.
Looking ahead, this tiered review architecture can extend smoothly beyond merchant governance to scenarios such as automated post-sale dispute arbitration, real-time livestream content moderation, and cross-border product compliance screening. The key insight is that Layer 1 handles “perceiving the world” and Layer 2 handles “understanding the rules”—combining them with a feedback loop is what turns LLM applications from flashy demos into indispensable infrastructure for platform governance.
