SIA: A Synthesize-Inject-Align Framework for Knowledge-Grounded and Secure E-commerce Search LLMs with Industrial Deployment DOI: XXXXXXX.XXXXXXX Conference: Make sure to enter the correct conference title from your rights confirmation email; June 03–05, 2018; Woodstock, NY ISBN: 978-1-4503-XXXX-X/2018/06 CCS: Computing methodologies Natural language processing CCS: Information systems Information retrieval CCS: Security and privacy Software and application security CCS: Information systems Data mining CCS: Applied computing Electronic commerce

Zhouwei Zhai, Mengxiang Chen, Anmeng Zhang · 2026

Read SIA: A Synthesize-Inject-Align Framework for Knowledge-Grounded and Secure E-commerce Search LLMs with Industrial Deployment DOI: XXXXXXX.XXXXXXX Conference: Make sure to enter the correct conference title from your rights confirmation email; June 03–05, 2018; Woodstock, NY ISBN: 978-1-4503-XXXX-X/2018/06 CCS: Computing methodologies Natural language processing CCS: Information systems Information retrieval CCS: Security and privacy Software and application security CCS: Information systems Data mining CCS: Applied computing Electronic commerce by Zhouwei Zhai, Mengxiang Chen, Anmeng Zhang (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-16137.txt.

Introduction

Zhai, Chen, and Zhang ground e-commerce search models in product facts safely. Shop search models hallucinate when product knowledge shifts fast. Jailbreak attacks add a compliance risk on top. Their SIA frame runs synthesize, inject, and align stages. Stage one builds text from knowledge graphs and behavior logs. Safety-aware data and reasoning chains enrich the corpus. Depth up-scaling then injects domain knowledge with few moved weights. Dual-path alignment tunes tasks and adversarial safety together. Live A/B tests at JD.com lift core search metrics.

Catalog record

CREATORZhouwei Zhai, Mengxiang Chen, Anmeng Zhang
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE39110
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.16137

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

SIA: A Synthesize-Inject-Align Framework for Knowledge-Grounded and Secure E-commerce Search LLMs with Industrial Deployment DOI: XXXXXXX.XXXXXXX Conference: Make sure to enter the correct conference title from your rights confirmation email; June 03–05, 2018; Woodstock, NY ISBN: 978-1-4503-XXXX-X/2018/06 CCS: Computing methodologies Natural language processing CCS: Information systems Information retrieval CCS: Security and privacy Software and application security CCS: Information systems Data mining CCS: Applied computing Electronic commerce Zhouwei Zhai, Mengxiang Chen, Anmeng Zhang Abstract . Large language models offer transformative potential for e - commerce search by enabling intent - aware recommendations. However, their industrial deployment is hindered by two critical challenges: (1) knowledge hallucination due to insufficient encoding of dynamic, fine - grained product knowledge, and (2) security vulnerabilities under jailbreak attacks that threaten compliance. To address these issues, we propose SIA—a Synthesize - Inject - Align framework for building knowledgeable and secure e - commerce search LLMs. Our approach first synthesizes high - quality natural language corpus by combining structured knowledge graphs with unstructured behavioral logs, augmented with reasoning chains and safety - aware data. We then introduce a parameter - efficient pre - training strategy based on Depth Up - Scaling to inject domain knowledge while preserving general capabilities. Finally, a dual - path alignment method via multi - task instruction tuning and adversarial training strengthens both task performance and safety robustness. The framework has been deployed at JD.com,China’s largest self - operated e - commerce platform, where A/B tests across five core search scenarios demonstrate significant improvements in key business metrics, validating its industrial effectiveness and scalability. 1. Introduction As a core component of the digital economy, e-commerce search systems directly determine user experience and platform efficiency. LLMs ( 4 ; 1 ; 42 ; 11 ) present an opportunity to shift the paradigm of e-commerce search from "keyword matching" toward "intent understanding + reasoning-based guidance." However, the large-scale deployment of general-purpose LLMs in e-commerce faces two major challenges: first,e-commerce knowledge hallucination—general models lack deep encoding of dynamic and fine-grained e-commerce knowledge (e.g., SKU relations, user behaviors), leading to factual errors; second,security and compliance risks—general safety guardrails can be easily bypassed by jailbreak prompts (e.g., inducing recommendations of prohibited goods), posing legal and risk-control hazards. For knowledge injection, existing studies enhance knowledge density through continued pre-training on domain corpora ( 13 ) and fine-tuning (e.g., EcomGPT ( 26 ; 24 ) , eCeLLM ( 30 ) ), but these often trigger catastrophic forgetting. Parameter-efficient fine-tuning methods such as LoRA and Adapter ( 17 ; 16 ; 8 ; 45 ) reduce costs, yet their limited parameter capacity struggles to encode complex knowledge ( 3 ) . Retrieval-augmented generation (RAG) ( 21 ) relies on retrieval accuracy and introduces additional latency. In terms of application, many LLM-enhanced solutions employ distilled smaller models, which compromises reasoning capability ( 15 ; 27 ) ; generative retrieval methods ( 41 ; 2 ) directly generate product IDs but are constrained by catalog scale and update frequency ( 32 ) . For safety alignment, existing approaches (e.g., RLHF ( 29 ) , DPO ( 34 ) ) primarily rely on general safety datasets and lack coverage of e-commerce-specific risks. The core difficulty lies in: how to inject large-scale, heterogeneous, and dynamic e-commerce knowledge without sacrificing general reasoning ability, while establishing robust safety guardrails? To address this, we propose the SIA (Synthesize, Inject, Align) framework, an end-to-end solution encompassing "data synthesis → knowledge injection → domain alignment" to develop an e-commerce search LLM that is both knowledge-grounded and safety-compliant. Our main contributions are as follows: • Novel e-commerce knowledge data synthesis method : Combining knowledge graphs and behavioral logs, we leverage LLMs to generate high-quality natural language corpora, synthesize explicit chain-of-thought data to enhance reasoning, and construct safety-aware pre-training data to mitigate knowledge sparsity and security vulnerabilities at the source. • Efficient knowledge injection pre-training technique : We introduce a parameter expansion approach based on Depth Up-Scaling ( 20 ) coupled with layer initialization and learning strategies, to inject massive e-commerce knowledge and safety corpora while preserving general capabilities and alleviating forgetting. • Fine-grained domain-enhanced alignment method : We design a dual-path alignment strategy combining multi-task instruction tuning on the task side and adversarial training on the safety side, along with a balanced mix of general alignment data, to strengthen model performance on e-commerce subtasks and robustness in high-sensitivity dimensions. • Industrial-scale validation and deployment : Our method has been deployed on the JD.com platform. A/B testing across scenarios including search suggestion, product title generation, review summarization, query correction, and safety moderation demonstrates significant improvement in key metrics, proving its industrial applicability and reusability. 2. Related Work 2.1. Domain Adaptation of Large Language Models Adapting general-purpose large language models to vertical domains is a prominent research focus. Mainstream approaches, such as Continued Pre-training (CPT), offer the most direct means to inject domain knowledge into models, significantly reducing the perplexity of domain-specific texts ( 13 ) . However, CPT is often prone to the risk of catastrophic forgetting. Although mixing in general-domain data replay ( 12 ) is a common mitigation strategy, balancing domain depth with general breadth remains challenging at an industrial scale. Techniques represented by LoRA ( 17 ) and Adapter ( 16 ) achieve adaptation by freezing most parameters and fine-tuning only a small set of incremental parameters, yet they struggle with tasks requiring deep integration into complex knowledge systems, such as e-commerce SKU graphs. EcomGPT ( 26 ; 24 ) and eCeLLM ( 30 ) enhance performance on e-commerce tasks through domain-specific CPT and supervised fine-tuning, but do not adequately address the retention of general capabilities or domain-specific safety considerations.RAG ( 21 ) introduces external knowledge via retrieval without updating model parameters, thereby reducing hallucinations. However, its effectiveness is constrained by retrieval accuracy, and long-context retrieval can easily introduce noise that degrades generation quality. 2.2. LLMs in E-Commerce Search E-commerce search has evolved from traditional keyword matching techniques, such as TF-IDF ( 36 ) , to semantic matching ( 18 ; 35 ) . This evolution has entered a new phase characterized by large language model (LLM) augmentation, generative retrieval, and conversational shopping guides, driven by the rise of LLMs. LLM augmentation primarily leverages LLMs for query expansion ( 28 ; 7 ; 31 ) , intent classification ( 44 ) , or relevance judgment ( 39 ; 9 ) . However, due to the stringent industrial requirement for millisecond-level inference latency, only distilled small models can typically be deployed, compromising their complex reasoning capabilities.Generative retrieval attempts to directly generate document identifiers ( 41 ; 2 ; 23 ) , aiming to replace traditional index-and-retrieval pipelines. Yet, its scalability and real-time performance face significant challenges within e-commerce product catalogs characterized by billions of listings and high-frequency updates.Conversational shopping guides utilize APIs such as ChatGPT to enable natural interaction ( 10 ) . However, lacking deep awareness of platform-specific product attributes, promotion rules, and inventory status, they are prone to generating “e-commerce hallucinations.” 2.3. LLM Safety and Alignment Ensuring the safety and compliance of LLMs primarily relies on two categories of methods: RLHF ( 29 ) and red teaming. RLHF, as the dominant alignment paradigm, commonly employs the PPO algorithm (

Read the complete text