Merchant Governance for E-Commerce: A Closed-Loop Review Practice with Multimodal LLMs

    This article explains how to build a closed-loop intelligent review system for e-commerce merchant governance and anti-counterfeiting. It covers a four-layer architecture combining multimodal pre-screening, legal-compliance reasoning, and human review; describes how to turn unstructured materials into structured evidence; discusses cost, stability, and metrics; and provides pseudocode for orchestrating model calls through a unified model access layer.

    1. Background: The Bottleneck Is Not “Having a Model,” but “Making the Loop Work”

    Merchant governance and anti-counterfeiting on e-commerce platforms typically involve qualification verification, product material review, consumer complaint evidence collection, infringement determination, penalties and rectification, and appeal re-review. The challenges fall into three categories:

    1. Complex material formats. Defect videos uploaded by consumers, product comparison images published by merchants, livestream clips, and image-text detail pages often coexist. Reviewing them item by item manually is expensive.
    2. Complex rule systems. Platform rules, advertising compliance requirements, and intellectual property protection requirements overlap. A single keyword filter or single-modality model is prone to misjudgment.
    3. Explainable evidence chains. Review conclusions cannot be just “violation / no violation.” They must explain the suspected violation points, the basis, the recommended action, and the path to re-review.

    A more reasonable approach is therefore not to introduce one “universal model,” but to build an intelligent review closed loop of multimodal pre-screening + legal-compliance reasoning + human review, and at the engineering level to reduce integration, metering, permission, and audit complexity through a unified model access layer. The goal: complete massive material triage at low cost, hand high-value suspicious cases to a compliance reasoning model, and let humans handle boundary cases—forming a traceable, appealable, auditable governance process.

    2. Overall Architecture: Dual-Model Collaboration and a Unified Access Layer

    The system can be divided into four layers: access, pre-screening, reasoning, and disposition.

    • Access layer receives merchant qualifications, product materials, consumer complaints, and historical disposition records.
    • Pre-screening layer calls a multimodal model to extract image/video features, text claims, and suspected violation points.
    • Reasoning layer calls a model fine-tuned for legal-compliance scenarios or augmented with retrieval (RAG), cross-checking against platform rules and regulatory knowledge.
    • Disposition layer outputs penalties, rectification requests, requests for supplementary materials, or recommendations for human review.

    The value of a unified model access layer is that business systems do not need to adapt separately to multiple model services; instead, they access different capabilities through unified authentication, routing, metering, rate limiting, and log auditing. It is not mysterious—essentially a model API gateway plus a capability orchestration layer. Key design points include:

    • Routing models by task type;
    • Isolating permissions by tenant or business line;
    • Metering by call volume;
    • Applying masking and retention policies to sensitive materials;
    • Performing structured validation on outputs.

    With this, qualification recognition, video forensics, and infringement determination can all be completed under one entry point, with billing and permissions centrally managed—reducing scattered keys and duplicated development.

    3. Multimodal Pre-Screening: Turning “Massive Materials” into “Structured Evidence”

    The pre-screening stage should not make final penalty decisions. It should accomplish three things: material denoising, feature extraction, and evidence structuring.

    • For consumer complaint videos: extract keyframes, OCR text, product appearance features, timestamps, and complaint focus points.
    • For merchant product comparison images: identify brand logos, promotional wording, comparison targets, and suspected exaggerated claims.

    The output should not be free text, but a verifiable structured object—for example: product ID, material type, suspected violation points, evidence segment locations, confidence scores, and items pending verification.

    Structured evidence gives the subsequent legal reasoning stage a stable input and also facilitates human review. Note that multimodal model outputs may contain hallucinations or missed detections, so they should be paired with a rules engine, sampling-based re-review, and threshold policies. For example: low-confidence results enter the human review queue; high-confidence results that carry heavy penalties are forced into a second review. The goal of pre-screening is high recall, explainability, and low cost—not replacing the final adjudication.

    The reasoning stage can introduce a model optimized for legal-compliance scenarios, combined with retrieval augmentation over a platform rules library, an advertising compliance knowledge base, and a historical case library.

    • Inputs: evidence extracted in pre-screening, complaint claims, merchant history, and product category.
    • Outputs: whether false advertising is suspected, whether counterfeit selling is suspected, whether infringement is involved, recommended penalty/rectification items, and supporting explanations.

    It must be emphasized that this is an assistive reasoning role: the model provides explainable recommendations, while final disposition is still confirmed through platform rules and human review.

    To avoid output that “looks professional but is not traceable,” reasoning output should be templated: conclusion, evidence citations, rule clauses, risk level, recommended action, and re-review rationale. For boundary cases, the system should retain the original material hash, model version, call timestamp, and reviewer operation logs to meet audit and appeal requirements.

    5. The Review Closed Loop and Human-Machine Collaboration

    The key to the closed loop is: machines do triage, humans make rulings, the system does the distillation.

    • Human review results should flow back as evaluation sets and as a basis for rule optimization.
    • Successfully appealed cases should enter a negative sample library.
    • High-frequency violation patterns can be distilled into rule templates or prompt templates.

    In this way, model capability is not a one-time integration—it continuously improves with business feedback.

    6. Engineering Integration Example

    The following pseudocode expresses the capability orchestration, independent of any specific vendor API:

    1. def intelligent_review(case):
    2. media = case["media"]
    3. complaint = case["complaint_text"]
    4. # Extract visual/multimodal features
    5. visual_features = multimodal_extractor.extract(media)
    6. # Structure the evidence
    7. evidence = structure_evidence(
    8. visual_features=visual_features,
    9. complaint=complaint,
    10. history=case["merchant_history"]
    11. )
    12. # Legal-compliance reasoning with rules and references
    13. judgement = legal_analyzer.judge(
    14. evidence=evidence,
    15. platform_rules=load_platform_rules(),
    16. legal_refs=load_compliance_refs()
    17. )
    18. # Low-confidence cases go to human review
    19. if judgement.confidence < THRESHOLD:
    20. return enqueue_manual_review(case, evidence, judgement)
    21. return compose_action(judgement)

    At the engineering level, you should also add output schema validation, timeout retries, idempotency keys, asynchronous queues, and failure compensation. At the infrastructure layer, general-purpose product categories from Baidu AI Cloud—object storage, message queues, container platform, log service, and monitoring/alerting—can be used for material retention, traffic peak shaving, elastic deployment, and audit alerting. Regardless of which compliant cloud infrastructure is adopted, you should adhere to least-privilege access, managed key custody, and full operation audit trails.

    7. Cost, Stability, and Phased Rollout

    Cost control can be approached from four angles:

    1. Use lightweight rules or low-cost models for initial material tagging;
    2. Use batch inference and cache reuse;
    3. Invoke high-cost reasoning capabilities in layers according to risk;
    4. Apply sampling-based re-review to low-risk results.

    Stability: handle complaint peaks during major promotions through message-queue peak shaving, rate limiting and circuit breaking, horizontal scaling, and degradation strategies—avoiding the review pipeline becoming a single point of failure.

    Rollout is recommended in three steps:

    1. Validate the pre-screening pipeline and evidence structuring quality with small traffic first;
    2. Introduce the compliance reasoning model and establish a human-review baseline;
    3. Expand to multiple scenarios—qualification recognition, video forensics, and infringement determination—while continuously tracking metrics such as pre-screening recall, false-positive rate, human review rate, average processing time, appeal rate, and disposition consistency.

    This approach keeps the budget under control while safeguarding platform fairness and safety.