Models#Benchmark#Model inference

WeChat open-sources WePM, a 4B model that retrieves, generates and decides

WeChat AI open-sourced WePM, a 4B model (~8GB in BF16) doing retrieval, generation and typed decisions, raising a joint score from 38.15 to 52.74.

A smartphone lying face up on a wooden desk beside a laptop edge, a dark notebook and a pen

WePM, published as WePocketModel, is a unified multimodal model family that Tencent’s WeChat AI released on November 20, 2026. One vision-language backbone produces all three outputs the team wanted from a single resident checkpoint: L2-normalized embeddings for retrieval, autoregressive text for generation, and typed decisions for routing. The technical report is arXiv 2611.27365, the code lives in Tencent/WePocketModel on GitHub, and the weights are on Hugging Face as tencent/WePocketModel1.0-4B and -2B under Apache-2.0. The headline comparison is memory: one 4B checkpoint at roughly 8GB in BF16 against 21–43GB for six stacks of separate generation, embedding and decision models.

Key points

  • The paper scores the three capabilities separately: 72.86 averaged over 30 embedding benchmarks, 62.41 over 39 generation benchmarks, and 61.11 over seven typed-decision benchmarks. On the shared retrieval-generation protocol the joint score reaches 52.74, against 38.15 for ULME, the strongest unified baseline.
  • The memory comparison counts BF16 weights only. Six stacks of specialist models occupy 21–43GB with harmonic scores of 64.21–64.82; WePM-4B needs about 8GB and scores 65.06, which is 61.9% less than the 21GB stack and 2.64 times its capability density.
  • Weights and code are Apache-2.0. The 4B repository holds five safetensors shards totalling about 9.1GB for 4.54B parameters; the Q4_K_M GGUF language file is about 2.7GB.

Background

An on-device app rarely runs on one capability. A personal assistant has to retrieve local content, generate a grounded reply, and then decide which action to fire next; handing each step to a specialist model keeps three vision encoders and three language backbones resident at once. WeChat AI frames the problem as duplicated capacity rather than weak models: the same vision-language machinery gets deployed several times over.

Unifying these paths is not new. After CLIP, VLM2Vec and UniME turned generative backbones into embedding models; FROMAGe, GRIT, CAFe and MMGen put retrieval and generation in one network; ULME is the strongest unified baseline in this paper. Decision is the third output, and the report argues that existing unified baselines have no native decision path at all, which is why the three-capability comparison is new work.

Our earlier on-device coverage took a different cut. Google’s Foresight runs an EmbeddingGemma plus a small model on a Mac for offline meeting notes. Nvidia’s Nemotron 3.5 Super VL shipped a 120B-parameter multimodal model next to a 24GB on-device Bolt model in the same release. WePM bets on collapsing the three outputs into one parameter set instead of matching a model to each surface.

The facts

Tencent published two sizes at once. Both the 4B and 2B checkpoints start from the Qwen3.5-4B/2B dense models and are fully fine-tuned. The paper says 4B was chosen because deployment profiling puts it near the practical ceiling for dense models on device-class hardware such as Apple’s M3; anything larger degrades interactive use.

ItemWePM-4BWePM-2B
Parameters4.54B, vision and aux included2.21B
BF16 weights~9.1GB on disk, 8.5GiB per card~4.4GB
Embedding dims2,048, Matryoshka to 64–2,048Same
LicenseApache-2.0, weights and codeSame
RuntimeTransformers, GGUFSame

Training used an 8,192-token maximum sequence and roughly 100 million cleaned samples spread across generation, embedding and decision data, sampled at a 7:5:1 ratio. The teachers were Qwen3.5-27B on the generation side and the in-house WeMM-9B for embeddings. Three mechanisms carry the method: MGVB splits a fixed visual-token budget into global, regional and fine-grained banks; ULKD replaces cross-task paired labels with teacher preference distributions; SEMO fixes per-task loss weights and exposure schedules and accumulates gradients sequentially to keep training memory down.

Deployment numbers are in the model card and README. BF16 on CUDA takes about 8.5GiB of weights with 16GiB of VRAM recommended; FP32 on CPU takes about 17GiB of weights with 24GiB of system RAM; the Q4_K_M GGUF with multimodal modules occupies about 3.19GiB on disk. The GitHub repository was created on November 16 and last pushed on November 23, with 23 stars as of that day. The 4B Hugging Face repo dates from November 17 and had 35 downloads and seven likes.

How the three tasks score

The shared-capability protocol reuses 16 benchmarks in five groups: image retrieval (MSCOCO, CIRR, VisDial), text retrieval (BEIR’s ArguAna, FiQA-2018, CQADupStack-Gaming, SCIDOCS), math and science reasoning (MMMU, MathVista, MathVision), visual question answering (MM-Vet, AI2D, VSR-ZeroShot) and OCR with document understanding (OCRBench, ChartQA, TextVQA). The joint score is a two-level arithmetic mean: average retrieval (image and text) and generation (math, VQA, OCR) separately, then average the two family scores.

GroupULME, best unified baselineWePMDelta
Image retrieval34.1341.30+7.17
Text retrieval32.7835.90+2.64
Math reasoning28.1658.60+30.44
Visual QA41.4660.84+19.38
OCR58.9381.18+19.32
Joint38.1552.74+14.59

The shape of that 52.74 matters. Its retrieval aggregate is 38.60, up from 33.46, and its generation aggregate is 66.87, up from 42.85. Most of the gain sits in math, VQA and OCR, so the unified model mainly adds generation without giving back retrieval quality.

The single-task tables show what “unified” costs. WePM-4B averages 62.41 on generation, 0.58 above Qwen3.5-4B; it ranks first on 14 of the 39 benchmarks and second on eight, but scores 68.13 on MMStar against 71.13 and 35.78 on MM-Vet against 38.07. Its embedding average of 72.86 beats the dedicated Qwen3-VL-Embedding-8B by 0.04. Its decision average of 61.11 beats d3-mini-4.5B by 0.05. The 2B model posts 70.73, 55.69 and 55.81, matching the dedicated Qwen3-VL-Embedding-2B on retrieval. Nothing loses; nothing wins by much.

The memory comparison

The paper builds six specialist stacks as the Cartesian product of two generators (Qwen3.5-4B, MiniCPM-o-4.5-9B) and three embedding models (WeMM-Embedding-2B, UEmbed-4B, Qwen3-VL-Embedding-8B), each paired with the same d3-mini-4.5B decision component. At two bytes per parameter the lightest stack comes to 8+4+9=21GB and the heaviest to 18+16+9=43GB, which lines up with the published checkpoint sizes.

Because WePM exposes all three capabilities from one checkpoint, its 4B parameters count once: 8GB. Its harmonic score is 65.06 against 64.21–64.82 for the six stacks, the best of which (M5, at 33GB) reaches 64.82. The 61.9% saving is measured against the lightest stack, (21−8)/21. Capability density is defined as families times quality divided by resident memory: 0.244=3×0.6506/8 for WePM against 0.092=3×0.6421/21 for M1, hence the 2.64x.

The accounting deserves care. These figures cover BF16 weights only; KV cache, activations and framework overhead are excluded, and the README says so. The 8GB is the paper’s figure of four billion parameters at two bytes each, while the five shards actually downloaded total about 9.1GB, which the model card rounds to 8.5GiB. Only the Q4_K_M quantisation gets under 3.2GiB, and the paper reports no accuracy for it. One of the three embedding models (WeMM-Embedding-2B, used in two of the six stacks) is Tencent’s own, so the specialist line-up is not entirely external.

What others say

Jiqizhixin covered the release on November 23 and called it a Swiss Army knife for on-device applications, attributing the work to Tencent’s WeChat pattern-recognition team. Its figures match the paper: 38.15 to 52.74, 21–43GB, 61.9%. It also says both local demos were built on a Mac with an M5 chip, a detail that appears nowhere in the paper or the repository.

The paper’s own limitations section is more useful than most. WePM shows some degradation in agentic capability relative to its original Qwen backbone, because post-training focused on unifying multimodal behaviour rather than on dedicated tool-use or multi-step training. SEMO derives task weights from a static analysis of the training mixture rather than adapting to training dynamics. No on-device latency or power figures appear anywhere in the report.

The demos need separating from the release. The repository embeds two videos, a Personal Agent and a Game Assistant, described as running fully on device, and leaves an HTML comment saying device, memory footprint, precision and latency still need to be captured. What is reproducible is the examples directory: generation, embedding and decision scripts for both GPU and CPU, run on generic inputs rather than the demo workflow. The game example in the press coverage — a player asking for a workbench to be placed in the box by the door — exists only in that article.

Community response is close to zero. Hacker News has no thread, the GitHub repo has 23 stars and no forks, and the 4B weights had 35 downloads with the GGUF build at 96, less than a week after release.

For contrast, Google’s Gemini Decision 1 makes decision a cloud API: one forward pass scores candidates, billed per input token with no charge for output. Both projects treat decisions as structured output rather than free text, but one rents the capability per call and the other keeps it resident.

Our take

Teams already running an embedding model and a vision-language model side by side on device are the natural audience. Their constraint is not capability but the memory budget two resident checkpoints consume. One checkpoint with three interfaces plausibly halves the resident footprint, and Matryoshka embeddings let a deployment drop from 2,048 dimensions to 64. The 3.19GiB Q4_K_M build is a same-day download for anyone with a laptop.

The result has limits worth stating. The wins on the single-task tables are 0.04 on embedding, 0.05 on decision and 0.58 on generation, and two generation benchmarks land clearly below the original Qwen3.5-4B. This shows that sharing parameters did not break any capability; it does not show one model beating every specialist. The 61.9% is weights only, with runtime memory still unaccounted for in both the paper and the repository.

The most product-like demo, the assistant that chains retrieval, generation and decision, runs straight into the admitted weakness: agentic ability is worse than the base backbone, and the model card warns that structured decisions should be validated before they trigger real actions. Embedding and generation are usable now; decision is better tried read-only first.

Three questions stay open. Chinese and multilingual retrieval is not evaluated separately: the 30 embedding benchmarks come from MTEB, with no per-language breakdown. Nobody published how much accuracy each capability loses after quantisation. And neither document gives first-token latency for the 2B model on real hardware.

Running it on device

The repository targets Python 3.10–3.13, with CUDA 12.8 PyTorch wheels for GPU and a separate CPU path. Four examples cover text generation, interleaved image-text generation, embeddings and decisions:

git clone https://github.com/Tencent/WePocketModel
cd WePocketModel
python -m venv .venv && source .venv/bin/activate
python -m pip install -r inference/requirements.txt
bash examples/gpu/embedding/run.sh
bash examples/gpu/decision/run.sh

To inspect the weights before installing anything, pull the whole repository:

hf download tencent/WePocketModel1.0-4B --local-dir checkpoints/WePocketModel1.0-4B

For the smaller download, the README quotes 3.19GiB on disk for the GGUF build:

WEPM_MODEL=tencent/WePocketModel1.0-4B-GGUF bash examples/cpu/generation/run.sh single_text