{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2608-03063","title":"SeqLLM: Augmenting LLMs with Behavioral-Sequence Modeling for High-Stakes Decisions at WeChat Pay","arxiv_id":"2608.03063","date":"2026-08-04","proceeding":null,"authors":["Guilin Li","Jiaxing Zhang","Matthias Hwai Yong Tan","Bo Wang","Weiran Huang"],"abstract":"Merchant risk control at large payment platforms screens tens of millions of merchants daily, where false positives harm legitimate merchants and false negatives leave harmful activity undetected. The hardest cases require jointly understanding a merchant's textual profile and long behavioral sequence. Large language models (LLMs) excel at text but cannot natively model such sequences, while adapting them often causes catastrophic forgetting. We present SeqLLM, a framework that adds behavioral-sequence modeling to a pretrained LLM while preserving its language ability. SeqLLM combines three components: a compact discrete vocabulary that represents behavioral events as native tokens; a lightweight projector, trained with a two-stage alignment curriculum, that grounds these tokens in the LLM's semantic space; and prefix-guided capability injection, which acquires sequence-modeling ability through task-prefixed supervised fine-tuning rather than continual pre-training. SeqLLM is deployed at WeChat Pay, screening millions of merchants daily. Against the production DeepSeek-based LLM baseline, it raises screening precision from 92.0% to 97.5%. Its pretrained behavior-token embeddings also improve Precision@Top-0.01% by 26.8 percentage points in a production fraud detector serving billion-scale transaction traffic. Beyond payments, SeqLLM achieves state-of-the-art results on public recommendation benchmarks. On MovieLens and Amazon, it surpasses the strong User-LLM baseline by up to 32% relative Recall@5 while retaining markedly stronger language ability. On RecIF, it improves Pass@32 by 14.2% over the full OneRec-8B pipeline using only one-fifth of its GPU-days.","url_abs":"https://arxiv.org/abs/2608.03063","url_pdf":"https://arxiv.org/pdf/2608.03063","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2608.03063","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.03063"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/125jx/SeqLLM","reach":null}],"summary":{"ran":22},"by_repo_kind":{"found_in_text":{"samples":22,"ran":22,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":22,"samples":[{"code_sha256_prefix":"a9d547ed25699663","entry":"build_messages","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_merchant_risk/eval_qwen.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_merchant_risk/eval_qwen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a9d547ed25699663"}},{"code_sha256_prefix":"dbea5358be6b5ad0","entry":"create_score_evaluation_response","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"src/llamafactory/api/chat.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/src/llamafactory/api/chat.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dbea5358be6b5ad0"}},{"code_sha256_prefix":"87e572c2db63c80c","entry":"delta_tensor","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_pathway.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_pathway.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"87e572c2db63c80c"}},{"code_sha256_prefix":"112358561b0af55b","entry":"format_ceval_row","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/prepare_probe_ceval.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/prepare_probe_ceval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"112358561b0af55b"}},{"code_sha256_prefix":"f14488cc9ee1ddb7","entry":"get_answer_field","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_item_understanding_task/score_recprobe.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_item_understanding_task/score_recprobe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f14488cc9ee1ddb7"}},{"code_sha256_prefix":"c0566fe2b533f9d2","entry":"load_data","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_merchant_risk/eval_qwen.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_merchant_risk/eval_qwen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c0566fe2b533f9d2"}},{"code_sha256_prefix":"4b88e2ae47a5240f","entry":"load_from_datasets","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/prepare_probe_ceval.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/prepare_probe_ceval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4b88e2ae47a5240f"}},{"code_sha256_prefix":"f46e12435fa63248","entry":"load_from_lm_eval","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/prepare_probe_ceval.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/prepare_probe_ceval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f46e12435fa63248"}},{"code_sha256_prefix":"ffd4c6463dd0a477","entry":"load_jsonl","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_item_understanding_task/infer_recprobe_vllm.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_item_understanding_task/infer_recprobe_vllm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ffd4c6463dd0a477"}},{"code_sha256_prefix":"c0076b4def6a0c11","entry":"load_named_tensor","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_repr.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_repr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c0076b4def6a0c11"}},{"code_sha256_prefix":"201af73b8d437c26","entry":"load_probe_texts","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_repr.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_repr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"201af73b8d437c26"}},{"code_sha256_prefix":"1bc57da0f5eb3318","entry":"load_tensor","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_delta_w.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_delta_w.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1bc57da0f5eb3318"}},{"code_sha256_prefix":"0b654505f598166a","entry":"load_tensor","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_pathway.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_pathway.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b654505f598166a"}},{"code_sha256_prefix":"62b201e03cfc4192","entry":"load_tensor","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_subspace.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_subspace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"62b201e03cfc4192"}},{"code_sha256_prefix":"664fe94bfeb615b9","entry":"load_weight_map","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_delta_w.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_delta_w.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"664fe94bfeb615b9"}},{"code_sha256_prefix":"58d75c2293203d66","entry":"load_weight_map","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_pathway.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_pathway.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"58d75c2293203d66"}},{"code_sha256_prefix":"ef5dd0b120e5f712","entry":"load_weight_map","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_subspace.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_subspace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ef5dd0b120e5f712"}},{"code_sha256_prefix":"4932f33dac65acc6","entry":"parse_choice","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_item_understanding_task/score_recprobe.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_item_understanding_task/score_recprobe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4932f33dac65acc6"}},{"code_sha256_prefix":"ff1bfaa829457c53","entry":"parse_conclusion","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_merchant_risk/eval_qwen.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_merchant_risk/eval_qwen.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ff1bfaa829457c53"}},{"code_sha256_prefix":"cfc3315f8c3b8152","entry":"parse_layer_module","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_subspace.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_subspace.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cfc3315f8c3b8152"}},{"code_sha256_prefix":"9dc07e12c02ddfeb","entry":"parse_ranking","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_item_understanding_task/score_recprobe.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_item_understanding_task/score_recprobe.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9dc07e12c02ddfeb"}},{"code_sha256_prefix":"25cadb2dfd196cf0","entry":"relative_frobenius","repo":"125jx/SeqLLM","repo_kind":"found_in_text","path":"evaluation/eval_cpt_sft/eval_delta_w.py","file_url":"https://github.com/125jx/SeqLLM/blob/HEAD/evaluation/eval_cpt_sft/eval_delta_w.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"25cadb2dfd196cf0"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}