HyperAIHyperAI

Command Palette

Search for a command to run...

다중모달
LLM

WeMM-Ecom: 위챗 전자상거래를 위한 멀티모달 콘텐츠 이해의 진전

Binhui Xie Jinmin Li Haomiao Tang Guangting Wang Song Jin Jianwei Zhu Fengyun Rao Jing LYU

초록

본 논문에서는 각각의 규모에서 최첨단 범용 성능을 달성하면서도 전자상거래 분야의 최고 수준 역량을 제공하는 멀티모달 대규모 언어 모델 제품군인 WeMM-Ecom을 제시한다. 이 제품군은 0.8B 밀집 모델부터 3B 활성 파라미터를 갖는 35B 전문가 혼합 모델까지 다섯 가지 크기로 구성된다. 학습 파이프라인은 다양한 멀티모달 데이터 혼합 내에서 전자상거래 데이터의 비중을 점진적으로 높이는 2단계 지속 사전 학습으로 시작되며, 이후 비사고 모드와 사고 모드를 모두 지원하기 위해 온폴리시 증류와 강화 학습을 결합한 하이브리드 사고 사후 학습이 이어진다. 평가를 위해 8개 비즈니스 시나리오를 포괄하는 28개의 전자상거래 벤치마크(자체 구축 23개, 공개 5개)로 구성된 종합 스위트를 구축하고, 64개의 공개 범용 벤치마크로 이를 보완한다. 전자상거래 스위트에서 WeMM-Ecom-35B-A3B는 Qwen3.8-Flash-Next, HY4, DeepSeek V4.1-Flash-1017을 포함한 훨씬 더 큰 오픈소스 주력 모델들을 능가한다. 범용 스위트에서는 모든 WeMM-Ecom 모델이 동일한 규모의 Qwen3.5 대응 모델을 능가하며, 경량 변형 모델(예: WeMM-Ecom-2B)은 Qwen3.5-2B, MiniCPM-V-4.7-1B, LFM3-VL-2B와 같은 주요 경량 모델 대비 뚜렷한 우위를 보인다. 벤치마크를 넘어, WeMM-Ecom은 현재 카탈로그 관리, 멀티모달 상품 검색, 라이브스트림 커머스를 포함한 위챗의 수백 개 프로덕션 사용 사례를 지원하며 하루 수십억 건 규모의 요청을 처리한다. 저자들은 모든 모델 가중치를 공개하고 데이터 큐레이션, 학습 레시피, 벤치마크 구축 과정을 상세히 공유하여 도메인 특화 멀티모달 모델에 대한 향후 연구를 촉진한다.

One-sentence Summary

Researchers at WeChat Vision, Tencent Inc. introduce WeMM-Ecom, a family of multimodal large language models spanning five sizes from a 0.8B dense model to a 35B mixture-of-experts model with 3B active parameters, trained via two-stage e-commerce-focused continued pretraining and hybrid thinking post-training with on-policy distillation and reinforcement learning; on 28 e-commerce benchmarks covering eight business scenarios and 64 public general-purpose benchmarks, the models surpass larger open-source flagship models and similarly sized Qwen3.5 counterparts, and WeMM-Ecom now powers hundreds of WeChat production use cases including catalog management, multimodal product search, and livestream commerce serving billion-scale requests per day.

Key Contributions

  • The paper introduces and open-sources WeMM-Ecom, a family of five multimodal large language models spanning a 0.8B dense model to a 35B mixture-of-experts model with 3B active parameters, each supporting thinking and non-thinking modes. WeMM-Ecom-35B-A3B surpasses larger open-source models including Qwen3.8-Flash-Next, HY4, and DeepSeek V4.1-Flash-1017 on the e-commerce suite, while every model surpasses its similarly sized Qwen3.5 counterpart on general-purpose benchmarks.
  • The paper details a training and data recipe that constructs more than 40 e-commerce tasks from product images, livestream frames, and business records, mixes them with general multimodal data across two continued pre-training stages, and applies hybrid-thinking on-policy distillation, a single parameter-space merge with post-trained Qwen3.5 weights, and group relative policy optimization to yield one checkpoint that serves both thinking and non-thinking modes.
  • The paper introduces an e-commerce evaluation framework that translates real-world business workflows into eight evaluation scenarios with explicit inputs, decision targets, and scoring rules, resulting in a suite of 23 in-house and five public benchmarks with 207,117 instances.

Introduction

Multimodal large language models are increasingly capable general-purpose systems for images, documents, and video, but e-commerce is an especially demanding domain. Products may appear through many product views, long detail images, livestream frames, titles, and structured attribute tables, while critical evidence such as nutrition facts, dimension annotations, or certification marks often exists only inside image text and must be linked to the correct SKU variant and implicit catalog knowledge. General capability alone is insufficient, and prior domain specialization risks either missing strict entity-level and business-rule constraints or degrading general visual perception and reasoning, especially for lightweight models under tight latency and memory budgets. The authors introduce WeMM-Ecom, a family of five multimodal models ranging from a 0.8B dense model to a 35B-A3B mixture-of-experts model, initialized from Qwen3.5. They train on more than 40 curated e-commerce tasks using a two-stage continued pretraining curriculum and post-train with hybrid-thinking on-policy distillation, a parameter-space merge, and GRPO, producing models that support both thinking and non-thinking modes. They also contribute an open-source release of model weights and a 28-benchmark e-commerce evaluation suite spanning eight business scenarios.

Dataset

Dataset sources and composition

  • The authors build the continued pre-training corpus from product images, livestream frames, business records, and general multimodal and text-only corpora.
  • The data is organized into five e-commerce domains and seven general domains.
  • Both e-commerce and general pools are kept throughout continued pre-training because e-commerce tasks depend on general skills such as OCR, grounding, and product variant knowledge.
  • Records with an e-commerce business context, including text-only records, are assigned to the corresponding e-commerce domain.
  • The general pool draws on curated sources and task mixtures, including all 162 nonempty sources in OpenBee.

E-commerce data subsets

  • Product Perception & Understanding: pairs product images with taxonomy labels, reasoning traces, attributes, visible text, properties, and regions from gallery images, detail strips, and livestream frames. SKU attribute examples specify a variant and an attribute, use relevant views and fields, and treat the recorded value as the target.
  • Product Retrieval: pairs two listings, SKU records, or product regions with available images and specifications. Equivalence is defined at the requested level, such as product level, region level, or SKU level, so identical total quantity with different pack configurations can remain distinct SKUs.
  • General E-Commerce Knowledge & QA: pairs listing images, descriptions, visible text, and structured fields with questions on product knowledge, commerce OCR, and reasoning. Reference answers are supported by the supplied sources.
  • Product Information Audit: pairs listing titles, gallery images, and attribute fields with platform governance rules and annotated compliance decisions. Tasks include detecting restricted goods, finding image-title or category inconsistencies, reviewing product-image quality, screening policy violations, and reviewing short product titles.
  • E-Commerce Content Generation: maps structured product specifications to concise, formatted titles that follow platform style guidelines.
  • E-commerce supervision emphasizes variant-level granularity, traceable evidence, and rule-conditioned outputs. Bounding-box annotations localize products, logos, certification marks, specification tables, and dimension annotations, and explicitly mark targets that are absent from the image.

General-purpose data subsets

  • Multimodal Understanding: pairs images with Chinese or English captions and adds video data for event understanding, temporally grounded tasks, sports event narration, and general video QA.
  • OCR, Documents, and Charts: pairs natural images, documents, charts, and tables with transcriptions, reading questions, or structured extraction targets. Sources include ChartNet, multilingual OCR collections, web articles, and table annotations.
  • Grounding and Detection: converts object and region annotations from Objects365, SA-1B, and LocateAnything into localization and detection targets conditioned on object names or referring descriptions. GUI examples associate interface instructions with element locations.
  • Visual Instruction & Reasoning: combines single-image QA, multi-image comparison, visual quality assessment, and edit-instruction tasks. It also includes risk assessment and content moderation for general content such as short videos.
  • Multimodal STEM: pairs diagram-based and video-based mathematics, science, and technical reasoning problems with worked solutions. Sources include Innovator-VL and educational corpora across biology, chemistry, mathematics, and K-12 science.
  • Multimodal World Knowledge: associates images with encyclopedic and entity-specific descriptions from online wikis and entity recaption sources, plus specialized knowledge questions.
  • Pure Text: provides text-only language and instruction supervision. Mathematical and scientific reasoning dominate, drawing on Nemotron-Math and Chinese STEM sources, with additional instruction dialogues, Wikipedia text, reading-comprehension QA, and curated web text.

Data construction and quality control

  • Spatial targets and absent objects: box annotation conversion makes coordinate normalization explicit, preserves source category schemas, and keeps each target linked to its annotated visual entity. E-commerce annotations mark missing targets, while general grounding data includes rejection examples whose queries name objects absent from the image.
  • Recaptioning: images are clustered with WeMM-Embedding, sampled across clusters, recaptioned, and deduplicated. For text-rich images, PaddleOCR transcriptions provide textual cues for caption generation.
  • Synthesized reasoning: Qwen3.5-122B-A10B generates reasoning for STEM solutions, and Qwen3.5-35B-A3B checks answer agreement. Malformed or truncated solutions are discarded.
  • Web article mining: two classifiers identify product-recommendation articles and select comparative reviews or detailed product-use accounts. Qwen3.5-122B-A10B filters promotional or irrelevant material and extracts product and brand facts, which are deduplicated with MinHash.
  • Source balancing: each source group receives a token budget. If a group exceeds its budget, its constituent sources are downsampled proportionally so every source remains represented.
  • Metadata construction: e-commerce examples retain source image indices and rule or decision fields, and targets are linked to supporting evidence such as images, boxes, visible text, or structured fields.

How the data is used

  • Continued pre-training proceeds in two stages. The second stage raises the e-commerce share and shifts emphasis from perception toward auditing and reasoning.
  • Both e-commerce and general-purpose pools are used throughout continued pre-training.
  • For post-training, all model sizes share a curated pool of 499,998 OPD prompts and 30,976 RL prompts.
  • OPD prompts are selected through offline teacher-student comparisons, retaining instances where the teacher achieves a higher mean quality score than the student.
  • RL prompts are sampled from the post-OPD merged checkpoint, with prompts kept only if they show positive reward variance; already saturated instances are filtered out.
  • The evaluation framework contains 28 benchmarks, including 23 in-house benchmarks and 5 public benchmarks, totaling 207,117 evaluation instances.
  • Evaluation covers Product OCR, Product Grounding, Product Knowledge, Product Attributes, Product Retrieval, Product Moderation, E-commerce Reasoning, and public e-commerce benchmarks.
  • Strict deduplication between training and business evaluation splits uses product identifiers, exact image hashes, perceptual hashes for near duplicates, and visual embedding similarity.
  • Key evaluation sizes include Product OCR with 19,962 instances, Product Grounding with 11,939 instances, Product Attributes with 26,676 instances, Product Retrieval with 21,584 instances, Product Moderation with 6,443 instances, E-commerce Reasoning with 3,500 instances, and public benchmarks with 112,415 instances from ShoppingMMLU, ChineseEcomQA, RAIR, EcomMMMU, and IndustryBench-MIPU.

Method

The authors initialize each WeMM-Ecom model from the corresponding Qwen3.5 Base checkpoint and perform full-parameter optimization across all training stages using the WeChat-YATT framework. The overall pipeline first conducts continued pre-training (CPT) to instill fine-grained knowledge of products, variants, and business rules while preserving broad multimodal capabilities. Subsequently, post-training combines on-policy distillation (OPD) for token-level teacher guidance, a single parameter-space merge with the post-trained Qwen3.5 weights, and reinforcement learning (RL) driven by task-specific verifiable rewards. All five model scales support thinking and non-thinking modes in a unified chat interface.

CPT adapts the backbone to e-commerce while preserving its general multimodal capabilities. The authors construct CPT data from product images, livestream frames, business records, and general multimodal and text-only corpora, organizing it into five e-commerce and seven general domains. They retain both pools throughout CPT because e-commerce tasks routinely depend on general skills. Training proceeds in two stages; the second raises the e-commerce share and shifts emphasis from perception toward auditing and reasoning.

The authors adopt a two-stage curriculum that increases domain specialization while maintaining broad general supervision. Stage 1 establishes multimodal and product representations with a 45.8% e-commerce share, training on 370.3B tokens at a 16K sequence length. Stage 2 raises the share to 61.1% and extends the context window to 32K for 76.7B tokens. Within the e-commerce pool, supervision shifts from basic perception toward compliance auditing and knowledge-intensive QA. Within the general pool, supervision shifts from captioning and text-only data toward dense text reading and visually grounded reasoning.

For a training batch B\mathcal{B}B, let viv_ivi​ denote the visual inputs of example iii, ziz_izi​ its token sequence, and Mi\mathcal{M}_iMi​ its supervised response token positions with Ni=∣Mi∣>0N_i = |\mathcal{M}_i| > 0Ni​=∣Mi​∣>0. To prevent long responses from dominating gradient updates while still accounting for sequence length, the authors employ square averaging, weighting each supervised token by Ni−1/2N_i^{-1/2}Ni−1/2​:

LCPT(θ;B)=−∑i∈BNi−1/2∑t∈Milog⁡πθ(zi,t∣vi,zi,<t)∑i∈BNi\mathcal{L}_{\mathrm{CPT}}(\theta; \mathcal{B}) = - \frac{\sum_{i \in \mathcal{B}} N_i^{-1/2} \sum_{t \in \mathcal{M}_i} \log \pi_\theta(z_{i,t} \mid v_i, z_{i,<t})}{\sum_{i \in \mathcal{B}} \sqrt{N_i}}LCPT​(θ;B)=−∑i∈B​Ni​​∑i∈B​Ni−1/2​∑t∈Mi​​logπθ​(zi,t​∣vi​,zi,<t​)​

They train with dynamic micro-batching, visual-encoder parallelism, and sequence packing up to each stage context limit, preserving per-example loss masks and image-text alignments.

Following CPT, the post-training pipeline combines OPD, parameter-space model merging, and GRPO-based reinforcement learning. Both post-training stages optimize a single set of weights to support both thinking and non-thinking modes. To support both deliberative chain-of-thought reasoning and low-latency direct responses within a single checkpoint, both OPD and RL assign training prompts to thinking and non-thinking modes at a 4:1 ratio. Because per-response loss averaging assigns lower per-token weight to final answer tokens in longer reasoning traces, allocating a higher proportion of prompts to thinking mode balances supervision across both paradigms.

OPD provides dense, token-level teacher supervision on trajectories sampled from the student policy. Given a student-generated prefix hi,t=(xi,yi,<t)h_{i,t} = (x_i, y_{i,<t})hi,t​=(xi​,yi,<t​) of response iii, the teacher evaluates the token yi,ty_{i,t}yi,t​ sampled by the rollout policy πθold\pi_{\theta_{\mathrm{old}}}πθold​​, yielding a token-level distillation signal applied identically in both modes:

ai,tKD=log⁡πT(yi,t∣hi,t)−log⁡πθold(yi,t∣hi,t)a_{i,t}^{\mathrm{KD}} = \log \pi_T(y_{i,t} \mid h_{i,t}) - \log \pi_{\theta_{\mathrm{old}}}(y_{i,t} \mid h_{i,t})ai,tKD​=logπT​(yi,t​∣hi,t​)−logπθold​​(yi,t​∣hi,t​)

where πT\pi_TπT​ denotes the teacher policy. Holding ai,tKDa_{i,t}^{\mathrm{KD}}ai,tKD​ fixed during gradient updates and letting ρi,t=πθ(yi,t∣hi,t)/πθold(yi,t∣hi,t)\rho_{i,t} = \pi_\theta(y_{i,t} \mid h_{i,t}) / \pi_{\theta_{\mathrm{old}}}(y_{i,t} \mid h_{i,t})ρi,t​=πθ​(yi,t​∣hi,t​)/πθold​​(yi,t​∣hi,t​) denote the importance ratio, the authors minimize the clipped actor objective over batch B\mathcal{B}B and scored token positions Ri\mathcal{R}_iRi​:

LOPD(θ)=−1∣B∣∑i∈B1∣Ri∣∑t∈Rimin⁡(ρi,tai,tKD,clip(ρi,t,0.8,1.2)ai,tKD)\mathcal{L}_{\mathrm{OPD}}(\theta) = - \frac{1}{|\mathcal{B}|} \sum_{i \in \mathcal{B}} \frac{1}{|\mathcal{R}_i|} \sum_{t \in \mathcal{R}_i} \min\left(\rho_{i,t} a_{i,t}^{\mathrm{KD}}, \mathrm{clip}(\rho_{i,t}, 0.8, 1.2) a_{i,t}^{\mathrm{KD}}\right)LOPD​(θ)=−∣B∣1​i∈B∑​∣Ri​∣1​t∈Ri​∑​min(ρi,t​ai,tKD​,clip(ρi,t​,0.8,1.2)ai,tKD​)

To combine domain adaptation with the broad instruction-following priors of the backbone, they merge once after OPD and before RL by interpolating the vision and language parameters of the OPD checkpoint with the corresponding post-trained Qwen3.5 checkpoint using equal weights.

The authors further refine the models via GRPO using task-specific verifiable rewards. For a prompt xxx from task family τ\tauτ, they sample GGG responses and compute scalar rewards ri=Rτ(x,yi)r_i = R_\tau(x, y_i)ri​=Rτ​(x,yi​), normalizing advantages across the group:

A^i=ri−rˉstd(r1,…,rG)+ϵA,rˉ=1G∑iri\widehat{A}_i = \frac{r_i - \bar{r}}{\mathrm{std}(r_1, \dots, r_G) + \epsilon_A}, \quad \bar{r} = \frac{1}{G} \sum_i r_iAi​=std(r1​,…,rG​)+ϵA​ri​−rˉ​,rˉ=G1​i∑​ri​

With ℓi,t=log⁡πθ(yi,t∣hi,t)\ell_{i,t} = \log \pi_\theta(y_{i,t} \mid h_{i,t})ℓi,t​=logπθ​(yi,t​∣hi,t​) and a frozen reference policy initialized from the pre-RL checkpoint, each online rollout batch B\mathcal{B}B minimizes:

LRL(θ)=1∣B∣∑i∈B1∣Ri∣∑t∈Ri[−A^iexp⁡(ℓi,t−sg⁡(ℓi,t))+0.01Ki,t]\mathcal{L}_{\mathrm{RL}}(\theta) = \frac{1}{|\mathcal{B}|} \sum_{i \in \mathcal{B}} \frac{1}{|\mathcal{R}_i|} \sum_{t \in \mathcal{R}_i} \left[ - \widehat{A}_i \exp\left(\ell_{i,t} - \operatorname{sg}(\ell_{i,t})\right) + 0.01 K_{i,t} \right]LRL​(θ)=∣B∣1​i∈B∑​∣Ri​∣1​t∈Ri​∑​[−Ai​exp(ℓi,t​−sg(ℓi,t​))+0.01Ki,t​]

where sg⁡(⋅)\operatorname{sg}(\cdot)sg(⋅) denotes the stop-gradient operator and Ki,tK_{i,t}Ki,t​ penalizes KL divergence from the reference policy. CPT employs hybrid AdamW-Muon optimization, combining AdamW updates with Muon orthogonalized momentum. Across all five model sizes, OPD and RL use a constant learning rate and a global batch size of 2,048 sampled responses.

Experiment

These experiments evaluate WeMM-Ecom across a 28-benchmark e-commerce suite covering evidence extraction, product interpretation, and decision making, plus 64 general-purpose multimodal and text benchmarks, with all model scales tested in both thinking and non-thinking modes. The results validate that domain-grounded e-commerce training yields broad gains over size-matched Qwen3.5 baselines and many larger open-source flagships, especially in product grounding and retrieval, while general capabilities are preserved or improved, particularly for compact models. Ablations confirm that the e-commerce advantages persist even when grounding benchmarks are excluded or scenario weighting changes, with only minor scenario-level trade-offs.

Continued pre-training data is organized into five e-commerce domains covering product perception and understanding, product information audit, product retrieval, general e-commerce knowledge and QA, and e-commerce content generation. Each record is assigned to the domain of its primary supervision objective, and e-commerce business records remain in the e-commerce pool regardless of modality. The domain scopes emphasize variant-level granularity, traceable evidence, and rule-conditioned outputs, with later training shifting toward auditing and reasoning. Records are counted once by their primary supervision objective rather than by source name or number of images, while general text-only records form a separate Pure Text pool. Product Information Audit is rule-conditioned and reviews listing consistency, image quality, inappropriate content, and short-title quality, whereas E-Commerce Content Generation applies rules to product-centric text creation.

The training setup spans four stages: two CPT stages consume the vast majority of training tokens, while OPD and RL contribute only a small additional budget. CPT stages rely on likelihood optimization with hybrid AdamW + Muon optimization, learning-rate warmup, and decay. OPD and RL switch to AdamW with constant learning rates, no warmup, and optimization signals based on teacher scores and task rewards, respectively. CPT Stage 1 and Stage 2 account for nearly all training tokens, with Stage 1 much larger than Stage 2. CPT uses hybrid AdamW + Muon optimization and learning-rate warmup, while OPD and RL use AdamW and constant learning rates. The optimization signal changes from likelihood during CPT to teacher scores during OPD and task rewards during RL.

WeMM-Ecom-35B-A3B achieves the highest overall e-commerce benchmark average among the compared flagship open-source models despite using substantially fewer parameters. The overall advantage is driven mainly by Product Retrieval and Product Grounding, and it remains consistent under alternative weighting schemes. Larger baselines still lead on several knowledge and entity-recognition benchmarks. It outperforms the strongest baseline in non-thinking mode by about 1.2 points on the overall average. The lead is maintained despite a parameter disadvantage of roughly 5x to 22x relative to compared models. Product Retrieval and Product Grounding are the main drivers of the overall edge. On Product Knowledge and Entity Recognition, multiple larger baselines score higher.

Dense WeMM-Ecom models improve with scale on e-commerce benchmarks, and the 9B model leads overall by outperforming Qwen3.5-9B and Valley3-32B in both thinking and non-thinking averages. Compact models also benefit strongly from scale, with the largest non-thinking gains over size-matched Qwen3.5 at the 0.8B and 2B sizes. Across task families, entity recognition and attribute extraction score much higher than e-commerce knowledge, though larger models substantially improve the weaker knowledge task. The dense 9B model achieves the highest overall e-commerce performance among the compared dense models, surpassing Qwen3.5-9B and Valley3-32B in both thinking and non-thinking modes. The largest non-thinking improvements over size-matched Qwen3.5 occur at the 0.8B and 2B scales. Entity recognition and attribute extraction are much stronger than e-commerce knowledge, and larger WeMM-Ecom models show the largest gains in the lower-scoring knowledge task.

WeMM-Ecom-35B-A3B is competitive with comparable 35B-A3B and 26B-A4B models on general benchmarks. It records the highest overall average in thinking mode and outperforms Qwen3.5-35B-A3B in non-thinking mode, while showing particular strength on DynaMath. Qwen variants occasionally lead on individual datasets, but WeMM-Ecom remains among the top scorers across the reported tasks. In thinking mode, WeMM-Ecom-35B-A3B achieves the highest overall average, narrowly ahead of both Qwen3.5-35B-A3B and Qwen3.6-35B-A3B. In non-thinking mode, WeMM-Ecom-35B-A3B outperforms Qwen3.5-35B-A3B by 1.6 points. On DynaMath, WeMM-Ecom-35B-A3B leads all compared models in both thinking and non-thinking modes; on LogicVista and CMMU (MCQ) it posts the strongest non-thinking score.

The experiments validate a training setup where continued pre-training data spans five e-commerce domains, including product understanding, auditing, retrieval, knowledge QA, and content generation, followed by a four-stage pipeline in which likelihood-based CPT consumes most tokens while OPD and RL use teacher scores and task rewards. The resulting WeMM-Ecom-35B-A3B achieves the highest overall e-commerce benchmark average among open-source flagship models despite using far fewer parameters, with its edge driven mainly by product retrieval and grounding, whereas larger baselines remain stronger on knowledge and entity recognition. Dense model results show consistent gains from scaling, especially for smaller sizes and weaker knowledge tasks. On general benchmarks, the model stays competitive, leading in thinking mode and showing particular strength on DynaMath.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp