Multimodal and Compliance Models: A Two-Stage Closed Loop for E-Commerce Anti-Counterfeit Review

    This article describes a two-stage review pipeline for e-commerce content governance. A multimodal model first reads product images, screenshots, videos, and complaint text and converts them into structured information; a compliance reasoning model then evaluates the assembled evidence package against codified platform rules. The article covers the overall architecture, its applicable boundaries, the model access layer, audit and compliance boundaries, and first-stage preprocessing of multimodal materials, including privacy redaction and data minimization practices.

    1. Background

    E-commerce platforms handle large volumes of merchant content every day: product main images, detail-page screenshots, livestream clips, as well as defect videos and complaint text uploaded by consumers. Traditional governance relies on manual review, which has three main problems.

    First, the volume of material is large. Manual review queues are long, the cycle from complaint submission to conclusion is stretched, and the consumer waiting experience deteriorates.

    Second, judgment criteria depend on individual experience. The same type of violation may receive inconsistent conclusions from different reviewers, which increases the number of appeals.

    Third, evidence is fragmented. Images, videos, text descriptions, and order records are distributed across different systems. Verifying a single case requires switching between multiple interfaces, which is time-consuming and makes it easy to miss key details.

    To address these problems, one practical approach is to split the task into two stages. In the first stage, a multimodal model reads the materials and converts visual and textual content into structured information. In the second stage, a compliance reasoning model draws conclusions against explicit rule entries. The two stages are connected through structured evidence, so the input and output of every step can be verified, retained, and reviewed retrospectively.

    2. Overall Architecture: A Two-Stage Review Loop

    The overall process consists of five steps:

    1. Material ingestion: Collect complaint content, product images, detail-page screenshots, and videos; assign unified IDs and register their sources.
    2. Preliminary screening and extraction: The multimodal model reads the materials and outputs product features, the focus of the complaint, and the locations of key frames.
    3. Evidence assembly: Merge the screening results, the merchant’s original promotional text, platform rule entries, and order information into an evidence package.
    4. Compliance reasoning: The compliance reasoning model checks the evidence package item by item and outputs a violation judgment together with remediation suggestions.
    5. Manual review and feedback: High-risk or low-confidence results enter a manual review queue, and the review conclusions flow back to optimize prompts and the rule base.

    The reason for splitting into two stages is cost and division of responsibility. Processing multimodal input typically costs more per call than pure text, and most of the massive volume of materials is unrelated to any violation. Using the multimodal model first to filter and extract structured information, then handing a small amount of valid evidence to a model with stronger reasoning ability, makes both overall cost and judgment quality easier to control.

    Conclusion First: Applicable Boundaries

    The two-stage closed loop suits categories where material types are diverse, violation features can be captured from images or text, and rule entries are already codified—for example, small home appliances, food packaging, and cosmetics appearance.

    It is not suitable for the following scenarios. When violation judgment relies heavily on laboratory test results, such as ingredient content, the model cannot replace a test report. When rules are still changing frequently and entries cannot be stably numbered, the evidence package will be repeatedly restructured. When the material volume is small, the cost of manual review is already manageable. For these scenarios, direct manual review or a rules engine alone may be simpler.

    3. Model Access Layer and Audit Boundaries

    3.1 Building the Model Access Layer

    The access layer sits between business systems and model services, and handles four main tasks: unifying invocation interfaces, controlling access permissions, limiting call rates, and recording complete logs.

    • Model gateway: Business systems call only the gateway’s unified interface. When switching vendors for the multimodal model or the reasoning model, changes are confined to the gateway. Prompts, model versions, and parameters are all registered with version numbers for traceability.
    • Authentication: Services use independent service accounts, and credentials are stored in a key management service rather than written into code or logs. Following the principle of least privilege, the screening service can only read material storage and has no access to the order database.
    • Rate limiting and degradation: Set per-minute and per-day call limits. Requests exceeding the limit are queued or routed to the manual queue. When the model service times out, the task is marked for retry; on consecutive failures, that class of tasks is degraded to manual processing.
    • Log retention: Record the request ID, material ID, model version, input summary hash, output result, and latency. Raw images and videos do not enter ordinary logs, to avoid the logs themselves becoming a leakage risk.

    3.2 Defining Compliance Boundaries

    Compliance boundaries can be defined across three dimensions: data, permissions, and responsibility.

    The data boundary requires that the model receive only the minimum information needed for the current judgment. Order numbers, phone numbers, and addresses are removed before entering the model; when truly necessary, they are replaced with internal IDs.

    The permission boundary requires that manual reviewers can only view cases assigned to them. Auditors can view all processing records but cannot modify conclusions.

    The responsibility boundary requires that model output serve only as an auxiliary judgment. Final penalty or delisting decisions are determined jointly by platform rules and manual review. Notices to merchants should state the rule entry numbers relied upon and provide an appeal channel.

    A legal review is recommended before launch and should be repeated whenever the rule base or regulatory summaries are updated.

    4. Stage One: Multimodal Material Screening

    4.1 Material Preprocessing

    Different material types require different preprocessing.

    • Images: Standardize dimensions and formats, and remove privacy information such as geolocation from metadata. For merchant comparison images, retain the original image and the stitching description to facilitate later comparison.
    • Videos: Extract frames at fixed time intervals or as keyframes, with a cap on frame count to prevent long videos from driving costs out of control. If the video contains speech, perform speech transcription first and include the text in the evidence.
    • Text complaints: Perform de-identification to remove phone numbers, addresses, and order numbers, then apply coarse classification by complaint category.

    Preprocessing follows the principle of data minimization: only the visuals and text relevant to the complaint judgment are retained, and everything else does not enter subsequent stages. Each de-identification operation should record the redaction rule version and execution time to support sampling audits. The retention period for raw materials is confirmed by legal. A common practice is to keep them for an agreed period after the complaint is closed, then delete them automatically upon expiry.