Building a Merchant Governance Review Pipeline with Multimodal LLMs
Learn how to design a two-tier model pipeline for merchant governance and complaint review: a multimodal model for high-throughput evidence triage and a reasoning model for rule-based adjudication. This guide covers preprocessing parameters, structured outputs, rule versioning and replay validation, confidence calibration, cost estimation formulas, privacy handling, and a phased rollout plan.
Key Takeaways
A two-tier model pipeline works well when complaint volume is high, evidence is primarily images and short videos, and category rules are relatively stable. It is not suitable for full automation when rules change frequently, per-case compensation is very high, or decisions depend on offline physical inspection. In those cases, human reviewers must remain the primary decision-makers.
1. Business Pain Points and Applicability Boundaries
Consumer complaints often come with short videos, screenshots of promotional pages, chat records, and photos of shipping documents. Manual review of this evidence faces three main problems:
- During major promotions, complaint volume multiplies, queues back up, and average handling time stretches from hours to days.
- Different reviewers apply different standards for issues like “exaggerated claims” or “item not as described,” producing inconsistent outcomes for similar cases.
- Labor costs grow linearly with volume, while the marginal value of each manual review declines.
The solution is to let a multimodal model handle the high-volume initial triage, then pass the work to a more capable reasoning model for adjudication recommendations, with humans handling only the difficult cases.
2. Overall Architecture: A Two-Tier Model Pipeline
Consumer complaints/reports│▼┌───────────────────┐│ Tier 1: Multimodal │ High-volume triage of image/video/text evidence│ understanding model│ Extract product features, defects, complaint focus└─────────┬─────────┘▼ Structured evidence summary┌───────────────────┐│ Tier 2: Domain │ Reasoning based on platform rules and regulations│ reasoning model │ Output liability decisions and recommended actions└─────────┬─────────┘▼Human review queue (difficult cases only)▼Action execution + result feedback loop
Responsibilities must be clearly divided between the two tiers. Tier 1 prioritizes low unit cost and high throughput, and never makes final decisions. Tier 2 receives only compressed, structured evidence and is responsible for rule alignment and explainable reasoning. This way, a cheaper model processes massive raw data while the stronger model handles only critical judgments, keeping costs under control.
3. Tier 1: Multimodal Evidence Triage
3.1 Starting Parameters for Input Preprocessing
The following parameters are starting points. Calibrate them with labeled samples in pilot categories before locking them in:
- Video frame extraction: 1 frame per second. For videos longer than 60 seconds, switch to 1 frame every 2 seconds and prioritize frames at scene transitions. Keep at most 32 frames per video.
- Resolution: Cap the long edge of images at 1024 pixels. Compress oversized images first to reduce input tokens.
- Batch size: Send 8 to 16 images per request for the same complaint. Split into multiple requests if the limit is exceeded.
- Timeout and retries: Set a 30-second timeout per call. Retry up to 2 times on failure, with intervals of 2 and 6 seconds.
- Failure fallback: Tasks that still fail after retries go to a dead-letter queue and are routed to human review. Never substitute model guesses for human judgment.
3.2 Enforced Structured Output
The prompt should require the model to return JSON only, so Tier 2 can consume it directly. Example:
{"category": "Apparel/Shoes & Bags","claimed_issue": "Noticeable color difference between item and listing page","evidence_summary": "At 12-18s in the video, the actual item appears dark gray, while the listing shows light khaki","preliminary_flags": ["not-as-described-suspected"],"evidence_insufficient": false,"confidence": 0.87}
The evidence_insufficient field flags cases with blurry material, missing frames, or unalignable evidence, preventing the model from forcing a conclusion when evidence is inadequate. The confidence value is self-reported and cannot be used directly as a probability; see Section 5 for calibration.
4. Tier 2: Compliance Reasoning and Recommended Actions
The Tier 2 model receives the structured evidence, platform governance rules, and relevant consumer protection clauses, and performs three types of reasoning:
- Liability determination: Based on the evidence chain, decide whether the complaint is “valid,” “invalid,” or “insufficient evidence,” with supporting rationale.
- Rule mapping: Map case facts to specific platform rule clauses—for example, the minor/moderate/severe gradations of “not as described”—so similar cases receive consistent treatment.
- Recommended actions: Suggest refunds, listing removal, penalty points, or escalation to human review, and draft explanation text for both consumers and merchants.
4.1 Rule Versioning and Replay Validation
When platform rules are updated, update the rule sections in the prompt in sync. Before going live, replay historical cases against the new rules and monitor the following metrics. The thresholds below are initial values and should be adjusted against your business baseline:
- Decision consistency rate: The proportion of historical cases where old and new rules produce the same conclusion. Initial target: no less than 95%. Review non-conforming cases one by one to confirm they reflect intended rule changes.
- Insufficient evidence rate: If it shifts by more than 5 percentage points versus the previous version, pause the rollout and manually investigate.
- Appeal reversal rate: Within two weeks of the new rules going live, if it rises more than 2 percentage points above baseline, roll back to the previous version.
- Rollback condition: If any metric exceeds its threshold for 3 consecutive measurement periods, execute a rollback and record the trigger.
5. Confidence-Based Routing and Calibration
Using the model’s self-reported confidence directly as a routing basis tends to produce overconfidence. Calibrate thresholds as follows:
- For each category, sample at least 500 cases with human adjudications as the calibration set, covering the main subcategories.
- Bin cases by the model’s confidence score and compute actual accuracy within each bin.
- Use temperature scaling or isotonic regression to map raw scores to calibrated probabilities.
- Set thresholds based on the cost of errors. For example, given a target misjudgment rate of no more than 1%, choose the lowest threshold that covers the most cases.
After calibration, routing rules can work as follows:
- Calibrated confidence meets the category threshold and risk is low: execute automatically, with sampled quality checks at a fixed rate.
- Middle range: the model provides a recommendation and a human confirms with one click.
- Below the lower bound, or involving high-value compensation or suspected criminal leads: route directly to the senior review team.
The 0.95 figure mentioned above is only a possible value for one category after calibration; it must not be applied directly to other categories.
6. Cost Estimation Method
Daily cost can be estimated with this formula:
Daily cost = N_triage × (Tin_triage × Pin_triage + Tout_triage × Pout_triage) + N_reason × (Tin_reason × Pin_reason + Tout_reason × Pout_reason) + N_human × C_human
Variable definitions:
- N_triage: daily triage calls; Tin_triage and Tout_triage: average input and output tokens per triage call; Pin_triage and Pout_triage: input and output unit prices of the selected model, per the official pricing page.
- N_reason: daily reasoning calls; Tin_reason, Tout_reason, Pin_reason, Pout_reason: same meanings, for the Tier 2 model.
- N_human: daily human review cases; C_human: average labor cost per case, including amortized training and QA costs.
Keep measurement methodology consistent:
- Take Tin and Tout as the mean over 7 consecutive days of production logs, and also record P90 for capacity planning.
- Count N by calendar day, separating promotion days from normal days.
- Compute C_human from actual working hours, and state whether management overhead is included.
- Compare costs before and after the change within the same category; do not apply estimates across categories or platforms.
Effectiveness evaluation also needs a baseline. Collect at least 4 weeks of data before the pilot, including average review time, per-case labor cost, and appeal reversal rate. After launch, compare over the same period, reporting medians and P90 with confidence intervals. Results depend on evidence complexity, model tier, human review ratio, and rule complexity—rely on measured data.
7. Human Review and Data Feedback
All human corrections should be written back to the labeling repository for prompt optimization or model fine-tuning. Establish a sampling audit mechanism and continuously monitor:
- Misjudgment rate: The proportion of sampled cases where model and human conclusions differ.
- Appeal reversal rate: The share of cases overturned after appeal.
- Human correction rate: The proportion of human reviews that modify the model’s recommendation.
Only when all three metrics decline together can you conclude the system is improving. Looking at just one metric is misleading.
8. Privacy Compliance and Data Handling
Complaint evidence often contains personal information. Recommended handling:
- Faces: Blur or mask identifiable faces before triage. Do not send original face images to the model unless the category decision strictly requires them.
- License plates: Mask plates in shipping documents and surveillance-type material.
- Phone numbers, ID numbers, bank card numbers: Locate them with regex rules and dedicated detection tools, then replace with placeholders such as “[phone number]”.
- Shipping addresses: Decisions usually only need province/state and city-level information; anything more granular should not enter the model.
- Access auditing: Log all access to evidence material and call records. Retention periods should follow company policy and regulatory requirements; confirm with legal or compliance teams before implementation.
9. FAQ
How do I estimate the cost of multimodal review?
Use the formula in Section 6. Derive Tin, Tout, and call volumes from production logs of the pilot category, then apply the official unit prices of the selected models. Use labor cost data measured on the same basis.
How should video evidence be frame-sampled?
Start with 1 frame per second; reduce the rate for long videos while keeping scene-transition frames, capped at 32 frames per video. If the calibration set shows a high miss rate, increase sampling density and record the cost impact of the added tokens.
How are confidence thresholds determined?
Calibrate each category with at least 500 human-adjudicated samples, map model scores to calibrated probabilities, and choose thresholds based on error costs. A threshold is valid only for its category; recalibrate when changing categories or models.
How do I replay after a rule update?
Run historical cases through both old and new rule versions and compare decision consistency, insufficient-evidence rate, and appeal reversal rate. Review divergent cases one by one, switch fully only after confirming the changes are sound, and keep the previous version available for rollback.
10. Phased Rollout Plan
Start with a single category, such as apparel color mismatch. Run for 4 to 6 weeks. If the misjudgment rate and appeal reversal rate are no worse than the human baseline and average review time shows a clear reduction, expand horizontally to other categories. Each new category requires recalibrating thresholds and completing replay validation.
In summary, the value of two-tier model routing lies in delegating large volumes of low-difficulty evidence understanding to a low-cost model, assigning critical judgments to a reasoning model, and keeping humans on difficult cases. Results must be confirmed through baseline comparison and ongoing sampling audits—not by relying on a single round of test numbers.
