SeqLLM: Augmenting LLMs with Behavioral-Sequence Modeling for High-Stakes Decisions at WeChat Pay

Guilin Li, Jiaxing Zhang, Matthias Hwai Yong Tan, Bo Wang, Weiran HuangarXiv 2026

TL;DR

SeqLLM bridges the gap between large language models (LLMs) and behavioral sequence modeling, allowing joint reasoning over unstructured text and long transaction streams without suffering from catastrophic forgetting. Fully deployed at WeChat Pay, it boosts merchant risk screening precision from 92.0% to 97.5% while maintaining strong general language capabilities and training up to 4.8× more efficiently than existing baselines.

What Problem Does This Paper Address?

In high-stakes risk control scenarios—such as screening millions of merchants daily at WeChat Pay—the trickiest fraud cases cannot be solved by looking at a single data type. A merchant’s text profile or a user complaint might sound slightly suspicious, and their transaction statistics might look normal on paper. However, when you analyze the interaction between the text and the long, timestamped sequence of behavioral events (e.g., unusual nighttime payment clusters spanning multiple provinces targeting elderly users), the fraud becomes obvious.

While LLMs excel at understanding text, they cannot natively process long behavioral sequences. Past attempts to fix this typically fall into two traps:

  1. Text Serialization: Converting transaction logs into raw text creates massive, low-density inputs that overwhelm the LLM's attention mechanism.
  2. Continual Pre-Training (CPT): Teaching the LLM discrete behavior tokens via standard pre-training causes "catastrophic forgetting," severely degrading the model's core language and reasoning skills.

The authors tackle this challenge by introducing a framework that injects native behavioral sequence modeling into a pretrained LLM while fully preserving its language competence.

Methods

SeqLLM achieves this balance through three core architectural components:

  1. Behavioral Vocabulary: Instead of treating an entire transaction event as a single ID or serializing it into text, SeqLLM factorizes events into compact, field-level tokens (e.g., <Time:Thu_00h>, <Channel:Scan QR>, <Amount:200-500 CNY>). This compresses sequence lengths by roughly 6×.
  2. Behavior Projector: A lightweight, two-layer MLP with a residual connection maps these behavior tokens into the LLM's native semantic space. It is trained using a two-stage curriculum: translation (mapping tokens back to natural language descriptions) followed by multi-event reasoning.
  3. Prefix-Guided Capability Injection: Instead of standard CPT, which applies next-token loss across the entire sequence, SeqLLM uses instruction-conditioned Supervised Fine-Tuning (SFT). By framing sequence completion under a specific task prefix and masking the loss on the historical context, parameter updates are confined to specific pathways, preventing general language degradation.
Figure 1: Overview of SeqLLM. (a) At inference, projected behavior tokens are interleaved with the task prefix and textual context for joint text–behavior reasoning. (b) Phase 1 grounds text-initialized behavior tokens through token translation and multi-event reasoning. Phase 2 jointly mixes task-prefixed sequence completion with general-instruction SFT, applying loss only to response tokens. This injects sequence modeling without behavior-oriented CPT or a separate capability-recovery stage. The resulting behavior-capable SeqLLM backbone is adapted through risk-control SFT for deployment.

Datasets

The framework was evaluated across both massive industrial datasets and standard public benchmarks:

  • WeChat Pay Dataset: Consists of ~20M unlabeled merchant behavior sequences for capability injection, and 4.06M labeled merchants for downstream risk fine-tuning.
  • MovieLens-20M & Amazon Reviews: Used to evaluate next-item prediction, preference classification, and review generation.
  • RecIF: A large-scale public recommendation benchmark containing 96M interactions.
  • RecProbe: A novel evaluation suite constructed by the authors from RecIF data to specifically test an LLM's semantic understanding of behavior tokens across four distinct tasks (e.g., Video-Topic Matching).

Key Insights and Ideas

  • Localization Prevents Forgetting: Standard CPT updates the model's weights broadly and disruptively. By conditioning sequence modeling on a task prefix, prefix-guided SFT keeps per-layer weight changes small and uniform, protecting the model's original knowledge base.
Figure 2: Per-layer relative weight change after sample-aligned CPT and prefix-guided SFT training from the same Qwen3-8B backbone.
  • The Power of Modality Synergy: Risk detection relies heavily on the interplay between text and behavior. As shown in the paper's ablation studies, a model restricted to behavior-only or text-only inputs performs significantly worse than a joint model.
Table 2: Offline merchant-risk precision under controlled input modalities.

Key Results

  • Production Impact at WeChat Pay: In a three-month shadow deployment screening millions of merchants daily, SeqLLM improved risk screening precision to 97.5% compared to the text-only production baseline's 92.0%. Post-launch, merchant appeals dropped from 12% to ~2%.
Table 3: Merchant screening: three-month shadow evaluation and subsequent production. All metrics are weekly-averaged; appeal and exoneration rates are operational indicators collected after the two systems are officially deployed.
  • Downstream Fraud Detection Boost: Using SeqLLM's pretrained behavior embeddings to initialize an existing transaction-pair fraud detector yielded massive online A/B testing gains, including a +26.8 percentage point increase in [email protected]%.
Figure 3: Online A/B gains from SeqLLM-initialized behavior em- beddings. Blue bars show absolute percentage-point gains over the baseline; absolute values are withheld for business confidentiality.
  • Public Benchmarks & Efficiency: On the RecIF benchmark, SeqLLM outperformed the state-of-the-art OpenOneRec pipeline while requiring 4.8× fewer GPU-days and completely bypassing the need for a complex, separate language-distillation recovery stage.

Limitations and Future Work

Not explicitly discussed in the paper.

Summary updated

BibTeX
@misc{li2026seqllm,
  author = {Guilin Li and Jiaxing Zhang and Matthias Hwai Yong Tan and Bo Wang and Weiran Huang},
  title = {{SeqLLM: Augmenting LLMs with Behavioral-Sequence Modeling for High-Stakes Decisions at WeChat Pay}},
  year = {2026},
  eprint = {2608.03063},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.03063},
}
Figure