E-commerce Counterfeit Detection and Merchant Governance: A Two-Stage LLM Review Loop
This article presents a two-stage intelligent review architecture for e-commerce counterfeit detection and merchant governance. A lightweight multimodal LLM handles high-volume initial screening of images and videos to extract product features, suspected violations, and consumer complaints. A legal-expert LLM then performs in-depth analysis against platform rules and applicable regulations, producing violation determinations and remediation lists. The article also discusses cost control, engineering integration, and automated closed-loop ticket processing.
As e-commerce transaction volumes continue to expand, merchant governance and anti-counterfeit enforcement face unprecedented challenges. Traditional governance models rely heavily on manual customer service and basic keyword matching. When handling massive multimedia complaint materials uploaded by consumers—such as defect videos and product comparison images—these models often fall short. Review cycles are long, labor costs are high, and determinations involving advertising regulations and complex platform rules can be prone to subjective bias. To address this problem, a current best-practice approach is to introduce large language model technology and build an intelligent review loop through two-stage collaboration between a multimodal LLM and a legal-expert LLM.
1. Architecture Design: A Two-Stage Collaborative Review Loop
A highly available and low-cost intelligent review system should follow the architectural principle of “low-cost initial screening and expert-level determination.” We split the governance workflow into two core stages:
- Multimodal initial screening: Use a lightweight multimodal LLM to process large volumes of images and videos at low cost and high concurrency, completing feature extraction and complaint summarization.
- Legal analysis: Pass the structured evidence and complaints extracted in the previous stage to a legal-expert LLM for in-depth analysis, cross-check platform rules and laws and regulations, and output compliant determinations and remediation lists.
This decoupled design leverages the strengths of multimodal models in processing unstructured data and the rigor of expert models in a specific vertical domain, balancing efficiency and accuracy.
2. Stage One: High-Volume Material Screening with a Multimodal LLM
In e-commerce anti-counterfeit scenarios, consumer complaints or platform inspections often involve large amounts of image and video evidence. Such multimedia data is large in size and hides key information, making direct manual review time-consuming and labor-intensive.
Native Parsing of Multimedia Data
By calling a lightweight multimodal LLM API with native visual capabilities, the system can directly accept images or videos as input. In engineering practice, unboxing videos and detailed product-defect images sent by consumers are decomposed into frame sequences or directly visually encoded. The model can identify key features such as brand logos, outer packaging damage, product workmanship defects (e.g., adhesive failure or color difference), and usage scenarios.
Complaint Summarization and Evidence Extraction
The multimodal model not only “sees” images but also “speaks”: its core task is to convert visual information into natural language descriptions and precisely extract the focus of the complaint. For example, for a video in which a consumer complains that “the shoe label on the received shoes does not match the official website,” the model needs to output structured extraction results:
- Product category: sneakers
- Suspected violation points: counterfeit shoe label, appearance inconsistent with official promotion
- Core complaint: counterfeit sale complaint, requesting a refund and penalties for the merchant
Cost Control Considerations
In the first stage, because the data volume is extremely large, system overhead must be strictly controlled. Developers should evaluate multimodal interfaces provided by cloud providers or model aggregation platforms and prioritize lightweight models with fast inference and low per-call cost (such as Flash-level models). Through batch inference and high-concurrency processing, the input cost per million tokens can be kept very low, supporting automated filtering of large daily ticket volumes.
3. Stage Two: In-Depth Analysis with a Legal-Expert LLM
Once the initial screening stage converts unstructured multimedia data into structured text, the case enters a more rigorous legal analysis phase. Although general-purpose LLMs have some logical reasoning ability, they can produce “hallucinations” or inaccurate determinations when facing complex advertising law clauses and platform governance rules.
Deep Alignment with Knowledge Bases and Rules
A legal-expert LLM is typically deeply fine-tuned or pretrained on large amounts of legal text, court documents, and platform rules. After receiving the evidence chain and complaint passed from the initial screening model, the model can automatically retrieve and associate applicable rules. For example, when it detects that a merchant has used absolute terms such as “lowest price on the entire web” or “national-level” on a product detail page, the model can immediately locate the prohibited circumstances in Article 9 of China’s Advertising Law.
Cross-Checking and Violation Determination
The model cross-checks the merchant’s actual promotional copy and the product features extracted by the multimodal model against laws and regulations. Taking a “false advertising” determination as an example, the model needs to verify:
- Does the material claimed by the merchant match the material features extracted from the actual product images?
- Does the function claimed by the merchant exceed the physical limits of the product itself?
- Is there infringement such as free-riding on well-known brands or unauthorized use of trademarks?
Through multi-dimensional comparison, the model can output high-confidence violation determinations and clearly state whether the merchant is involved in false advertising, counterfeit sales, or material inconsistency.
Penalty and Remediation List Generation
The ultimate purpose of analysis is enforcement. Based on the determination, the legal-expert model automatically generates a structured compliance list. This list includes not only the violation determination but also specific remediation suggestions. For example: “Recommend delisting the relevant violating product; deduct X merchant credit points; require the merchant to revise prohibited superlative terms in the detail page and submit a remediation report within 3 days.”
4. Technical Integration and Closed-Loop Automation
To seamlessly connect the two stages, developers can use message queues, cloud functions, and object storage to build a fully automated processing pipeline. The following is a simplified engineering pseudo-code example:
def process_complaint(complaint_id, media_urls, merchant_text):# Stage 1: Call the multimodal LLM for initial screeningmultimodal_prompt = "Analyze this set of images/videos, extract product features, suspected violation points, and consumer complaints, and output JSON."mm_response = llm_client.call_multimodal_model(model="light-multimodal-model",prompt=multimodal_prompt,media_urls=media_urls)extracted_evidence = parse_json(mm_response)# Stage 2: Call the legal-expert LLM for analysislegal_prompt = f"""You are an e-commerce platform governance expert. Based on the following evidence and merchant copy, determine whether it violates advertising law or platform rules.Evidence: {extracted_evidence}Merchant copy: {merchant_text}Please output the violation type, penalty suggestions, and remediation list."""legal_response = llm_client.call_text_model(model="legal-expert-model",prompt=legal_prompt)# Store structured results and dispatch the ticketsave_to_database(complaint_id, legal_response)dispatch_ticket(complaint_id, legal_response)
Through this orchestration, the entire process from consumer complaint submission to platform remediation notice generation can be completed within seconds, greatly freeing up review manpower.
5. Conclusion
Facing increasingly complex merchant governance and anti-counterfeit requirements on e-commerce platforms, traditional “human wave” tactics are no longer sustainable. By combining the “broad perception” of lightweight multimodal LLMs with the “deep analysis” of legal-expert LLMs, platforms can build an efficient intelligent review loop at a very low marginal cost. This improves the consumer complaint experience and provides merchants with a more transparent and standardized business environment. It is a typical practice of AI technology implementation in enterprise business governance.
