Skip to content

EMNLP papers

Search EMNLP papers by title, author, or track. Open a paper’s abstract to read more.

Explore the EMNLP analysis

Search results

2,741–2,760 of 4,478

  • EMNLP · Industry

    LLP: LLM-Based Product Pricing in E-commerce

    Hairu Wang, Sheng You, Qingheng Zhang, Xike Xie, Shuguang Han, Yuchen Wu, Fei Huang, Jufeng Chen

    Abstract

    Setting appropriate prices for second-hand products remains challenging for inexperienced individual sellers on Consumer-to-Consumer (C2C) e-commerce platforms. Existing regression-based approaches rely on static product–price mappings, making it difficult to capture subtle condition differences expressed in colloquial product descriptions. Inspired by recent breakthroughs in Large Language Models (LLMs), we present LLP, a retrieval-then-generation framework that generates price suggestions based on dynamically retrieved comparable products. LLP employs bidirectional reasoning to generate high-quality rationales as supervision, and subsequently applies retrieval-aware policy optimization to further improve both reasoning faithfulness and pricing accuracy. At inference time, LLP employs entropy-guided filtering to discard low-confidence price predictions. Extensive evaluations demonstrate the effectiveness of our method. It raises the static adoption rate (SAR) from 40% to 72%, while increasing GMV by 0.7% and CTCVR by 1.4%. LLP is now fully deployed in Xianyu, serving millions of individual sellers daily.

    Abstract source
  • EMNLP · Industry

    Inventory-Grounded Policy-Level Optimization for Training-Free AI Search

    Wei Zhou, Tiandeng Wu, Jiandong Ding, Zhufeng Fan, Yi Cao

    Abstract

    Early in deployment, an AI search system typically operates over a frequently updated product catalog, so the available items and their properties cannot be treated as stable knowledge that can be encoded in fixed prompts or strategies. Fine-tuning, reinforcement learning, and static prompt patches fit poorly: labels are scarce, rewards drift with inventory, model releases are costly, and prompt fixes quickly stale. We present Inventory-Grounded Policy-Level Optimization (IGPO), a training-free approach for fixed AI search pipelines. IGPO separates policy from environment facts: it learns Policy Guidelines for acting on runtime inventory evidence rather than memorizing available materials. Online, IGPO grounds each query by probing the inventory and constructing an inventory portrait, then injects relevant Policy Guidelines into the retrieval and selection prompts. Offline, stochastic rollouts are grouped by query—mixed outcome groups directly yield contrastive signal, and an inventory-guided exploration loop distinguishes missed retrieval routes from cases where no matching support is found under the observed inventory evidence. Since May 2026, IGPO has been deployed in a commercial smart-assistant AI search system. A 14-day online A/B test of the complete IGPO treatment shows a 3.17% relative CTR lift and a 38.9% reduction in audited bad cases.

    Abstract source
  • EMNLP · Industry

    How Much Should the Agent See? A Disclosure Axis for LLM Data-Analyst Agents

    Athira M V, Aditya Challa, Jaya Tripathi, Saroj Mohanty, Santosh Kumar Choudhary, Sravan Danda, Ruchika Mehra Jain, Snehanshu Saha

    Abstract

    Existing LLM data-analyst benchmarks fix data access at full disclosure and evaluate only on answer accuracy. But real deployments rarely grant full access. No prior work, to our knowledge, asks *"what’s the least amount of information needed for the agent to work?"*. In this article, we treat dataset disclosure as a controlled treatment along a *graduated information-disclosure* (GID) axis: C_0 (column names) and C_\infty (full table) bracket a nested chain C_1 \subseteq \dots \subseteq C_5 that adds per-column metadata, dataset purpose, summary statistics, sampled cells, and sampled rows. We maintain agent architecture, tool registry, and decoding fixed, and score the final reports on a 14-attribute rubric across a 6 \times 4 \times 12 panel of frontier models, planted-signal datasets, and disclosure levels. At a high level, from C_0 to C_\infty, seven attributes rise and five fall. However, the rise/fall pattern has nuance, the optimal intermediate level depends on several factors including models, datasets and attributes. Level C_1 - one sentence of types and units beyond column names - matches (statistically) C_\infty on signal recovery and decoy rejection at {\sim}49\times lower prompt-token cost. The key takeaway from this work is - **current LLM data-science agents can act on partial information alone**, so row-level records need never leave the institution. Hence, the current framework also offers a way to enforce data boundary constraints (required by GDPR) without compromising on quality.

    Abstract source
  • EMNLP · Industry

    LocalSUG: City-Preference-Enhanced LLM for Query Suggestion in Local-Life Services

    Jinwen Chen, Shiwen Zhang, Shuai Gong, Zheng Zhang, Yachao Zhao, Lingxiang Wang, Haibo Zhou, Wei Lin, Hainan Zhang

    Abstract

    In local-life service platforms, query suggestion reduces user effort by generating candidate queries from input prefixes. Traditional multi-stage systems rely heavily on historical popular queries, limiting their ability to capture long-tail and emerging demand. Although LLMs provide strong semantic generalization, their deployment in local-life services faces three challenges: insufficient city-preference awareness, exposure bias in preference optimization, and strict online latency constraints. We propose LocalSUG, an LLM-based query suggestion framework for local-life services. LocalSUG mines city-preference-enhanced candidates from term co-occurrence and injects them into prompts as dynamic references rather than fusing them into model parameters. This allows the model to adapt to changing city preferences, such as merchant openings or closures, while reducing stale or locally invalid suggestions. We further introduce a beam-search-driven GRPO algorithm to align training with inference-time decoding and optimize relevance together with business-oriented rewards. Finally, quality-aware beam acceleration and vocabulary pruning reduce online latency while preserving generation quality. Offline evaluations and large-scale online A/B testing show that LocalSUG improves CTR by +0.35% and reduces the low/no-result rate by 3.98%, demonstrating its effectiveness in real-world deployment.

    Abstract source
  • EMNLP · Industry

    Complete or Abstain? Aligning SQL Completion with User Preferences

    Xintong Hu, Defeng Xie, Yuxiang Wang, Chunyou Li, Haining Xie, Hao Liu, Haozhe Feng, Yang Li, Danqing Huang, Debiao He, Xiao Yan, Jiawei Jiang, Peng Chen

    Abstract

    SQL code completion boosts developer productivity by predicting missing snippets from editing SQL contexts. However, existing solutions yield low acceptance since they cannot abstain when no suggestion is needed and lack SQL-specific training. To address both limitations, we introduce PACE-SQL, a preference-aligned framework that improves SQL completion accuracy and user preference alignment. We build two datasets with completion and abstention samples: WeSQL-1.5M from real-world interaction logs to capture authentic user preferences, and OpenSQL-FIM from public SQL corpora. We adopt continual pretraining and supervised fine-tuning to improve completion quality, and design a reward function in the reinforcement learning to enhance alignment with user preferences. Experiments show PACE-SQL improves Exact Match and Edit Similarity scores by 9.67% and 7.52% over the best baseline on WeSQL-1.5M and raises online user acceptance rate from 5% to 29%.

    Abstract source
  • EMNLP · Industry

    Scaling Reinforcement Learning for Content Moderation with Large Language Models

    Rui Liu, Yuchen Lu, Zhenyu Hou, Fangzhou Xiong, Xiaoyang Zhang, Changshu Jian, Zhicheng Zhu, Jiayuan Ma, Jacob Tao, Merve Unlu Menevse, Han Li, Chaitali Gupta, Xiaochang Peng, Suwen Lin, Chongyang Bai, Shike Mei, Hang Cui, Yang Qin, Shuo Tang, Jason Gaedtke, Arpit Mittal, Hamed Firooz

    Abstract

    Large-scale content moderation requires models that can apply complex, evolving policies under limited expert supervision. We present an empirical study of reinforcement learning (RL) for policy-grounded moderation across three production-derived tasks. Using established RL and inference primitives, we develop three integrity-specific designs: a policy-grounded full-trace reward, rationale-marginalized Monte Carlo scoring, and policy-structured reflection. Each design addresses an observed failure mode, including reasoning-length collapse and polarized confidence estimates. Across the three tasks, RL-Only systems trained on 200–836 labeled examples remain competitive with supervised fine-tuning (SFT) systems trained on thousands of examples, corresponding to up to approximately one order of magnitude greater label efficiency at the evaluated operating points. Performance generally improves with additional data and training compute before saturating, although larger rollout counts exhibit variability. The strongest SFT→RL systems attain point-estimate performance comparable to policy-trained full-time employee (FTE) reviewers across the three tasks.

    Abstract source
  • EMNLP · Industry

    Auditing and Repairing LLM-as-Judge Failures in a Production Text-to-SQL Pipeline

    Haowei Liu, Hsin-Tai Wu, Yi Fang

    Abstract

    Production text-to-SQL pipelines often end with an LLM-as-judge that nobody has checked against humans. We audited ours and found it broken: the deployed gpt-4o-mini judge agreed with two-author gold at Cohen’s κ = 0.04 on a disagreement-enriched set and 0.42 on a uniform-random spot-check, with most over-flags traceable to a single mechanism we call Grade-Hallucination. Replacing it with self-hosted Qwen3.6-27B (κ = 0.72) reaches the same range as Claude Opus 4.7 (κ = 0.71); the comparison is underpowered at n = 96, but the deployment decision is driven by Qwen costing about 1/300 per call. Ensembling is not a free win: pairing the weak judge with a stronger one degrades agreement; three strong judges with unanimity routing reach κ = 0.79 at 89.7% auto-coverage. Applying the audit recipe out-of-domain flags 25.5% of BIRD-financial’s expert-authored gold SQLs as likely substantive issues under our annotation protocol. Code and pre-registration are at https://anonymous.4open.science/r/synca-audit-CBE1; the datasets are deferred to the post-publication release for anonymization reasons.

    Abstract source
  • EMNLP · Industry

    Multi-Stage Proxy Retrieval for Illiquid Bond Pricing

    Arturo Oncevay, Joy Prakash Sain, Chen Ling, Simerjot Kaur, Charese Smiley, Xiaomo Liu

    Abstract

    Identifying proxy issuers and bonds is a critical but largely manual step in illiquid corporate bond pricing, requiring analysts to navigate sparse public information and inconsistent industry signals. We present a modular pipeline for proxy retrieval that integrates issuer profiling with hierarchical industry classification and multi-stage retrieval over issuers. We evaluate alternative design choices across hierarchical classification and reranking stages to understand how structured representations and industry-aware signals influence performance. Experiments on a large internal dataset show that domain-adapted embeddings and explicit industry hierarchy signals are primary drivers of quality across stages. The evaluated system produces issuer-level proxy shortlists rather than final bond prices. Pilot deployment experience highlights the value of modular, cost-aware designs for robust proxy retrieval in enterprise settings.

    Abstract source
  • EMNLP · Industry

    How LLMs Fail and Generalize in RTL Coding for Hardware Design?

    Guan-Ting Liu, Chao-Han Huck Yang, Chenhui Deng, Brucek Khailany, Yu-Chiang Frank Wang

    Abstract

    Translating sequential programming priors into the parallel temporal logic of hardware design remains a crucial bottleneck for large language models (LLMs). To investigate this, we introduce an operational error taxonomy grounded in the Register-Transfer Level (RTL) coding pipeline. Our taxonomy categorizes failures into extraction/syntax (L1), compilation/elaboration (L2), and testbench-observed functional (L3) stages under a fixed evaluator. Evaluations reveal an empirical ceiling on the VerilogEval benchmark, as frontier models plateau at a 90.8% initial pass rate. Furthermore, we expose a striking surface convergence gap: optimization readily eliminates syntax errors but concurrently exacerbates deeper functional failures. Our findings demonstrate that alignment techniques merely teach models to compile. While test-time scaling can patch solvable errors, RTL coding capacity remains bounded by pretraining knowledge. Addressing challenges in the current LLM-based hardware generation pipeline requires more studies in model reasoning rather than alignment interventions.

    Abstract source
  • EMNLP · Industry

    Data Scout: Targeted Web Crawling for Domain-Specific Pretraining Corpora

    Chirag Garg, Eelaaf Zahid, Farhan Ahmed, Jay Gala, Eric K Butler, Heiko Ludwig

    Abstract

    The dominant approach to building domain-specific pretraining corpora is to filter large web archives such as CommonCrawl. This works well for popular domains but breaks down for specialized ones, where relevant content is sparse and often beyond the reach of popularity-driven crawlers. We present **Data Scout**, which inverts this: instead of filtering an archive, it directs a targeted crawl. An LLM expands a root topic into a taxonomy and thousands of search queries; the returned URLs (*seeds*) are grouped by subdomain and screened with a user-supplied classifier (the *probe*), admitting each subdomain on the basis of a small sample. This works because relevance has a sharp boundary at the subdomain level: in mathematics, a page is 21x more likely to be relevant than one on a sibling subdomain. With the FineMath classifier as the probe, **21.9%** of crawled pages are high-quality math content, **70x** the 0.31% rate from filtering a comparable web sample, so the crawl wastes far less effort. But the payoff is not just efficiency: 63.2% of these pages are missing from CommonCrawl altogether, yet just as useful for training. Continued pretraining of Llama-3.2-3B on 1.9B Data Scout tokens matches FineMath corpus on GSM8k. Because the probe is the only domain-specific component, Data Scout can in principle apply to any domain with such a classifier.

    Abstract source
  • EMNLP · Industry

    Mosaic: Automated Intent Description Generation for Multi-Label Classification

    Ajay Chatterjee, Eric Crestan, Raunak Saha, Rotem Mordoch, Swarnangsu Acharyya

    Abstract

    Traditional intent classifiers map utterances directly to intent categories using labeled examples. In contrast, LLM-assisted zero-shot intent classifiers rely on natural language descriptions alongside intent labels to determine the most appropriate categories for a given utterance. As intent taxonomies grow and evolve, descriptions must define clear boundaries among overlapping intent categories. Maintaining them is costly because it requires domain expertise and continual updates to keep pace with changing product and user behavior. We present MOSAIC (Multi-label Ontology Synthesis for Automated Intent Classification), a deployed system that automatically generates and updates intent descriptions for an existing taxonomy. MOSAIC analyzes unlabeled user utterances to identify coherent clusters. It associates cluster-level evidence with the existing intent taxonomy. Then, it synthesizes discriminative descriptions that define each category’s semantic boundary. On a 140-class production deployment, MOSAIC approaches the quality of expert-written descriptions while reducing taxonomy revision time from 2-4 weeks to less than 30 minutes. On the public NLU++ and Multi³NLU++ benchmark datasets, MOSAIC-generated descriptions do match or exceed the performance of expert-written descriptions.

    Abstract source
  • EMNLP · Industry

    Towards Fluid Consultations: Design and Real-World Evaluation of a Multi-Agent, Full-Duplex Health AI Assistant

    Zhoujian Sun, Minghui Yang, Jian Wang, Jinjie Gu, Junwei Liu

    Abstract

    Access to reliable health consultation is a critical global challenge. While large language models show promise, their practical utility is typically limited by high input barriers, lack of adaptive response strategies for complex scenarios, and insufficient real-world evaluation. To address these gaps, we present a novel health AI assistant that integrates a low-latency full-duplex voice interface with a Multi-Agent System (MAS). The full-duplex design supports natural turn-taking, significantly lowering interaction barriers and quadrupling average conversation depth from 2.62 to 10.16 turns compared to text-based baselines. Furthermore, our MAS architecture decouples clinical reasoning from general conversation, effectively managing complex queries and boosting clinical performance scores by over 30% compared to single-agent baselines. We conducted the first large-scale analysis of an LLM-based health assistant deployed to the general public (N > 5,000), demonstrating superior user engagement and providing empirical evidence on the safety and utility of deploying such systems in realistic environments.

    Abstract source
  • EMNLP · Industry

    Beyond Semantic IDs: Encoding Business-Value Ranking into Document Identifiers for Generative Retrieval

    Gui Ling, Zhihong Chen, Yu Li, Tong Xiong, Kunhai Lin, Kaixuan Zhang, Yuliang Yan, Dan Ou, Tanghaihong, Bo Zheng

    Abstract

    Generative Retrieval (GR) formulates retrieval as a sequence-to-sequence generation task, assigning each document a document identifier (DocID) and retrieving it through autoregressive decoding, making DocID design a critical factor in retrieval quality. However, existing schemes based on discrete representation learning suffer from inherent collision issues and create a mismatch between the DocID’s encoding objective and the system’s business optimization target. To address these limitations, we propose Cluster-Ranked Identifier (CRID), which decouples DocID into semantic clustering and business-value ranking, yielding collision-free identifiers that support incremental updates via intra-cluster reranking. We further introduce an analytical framework that decomposes retrieval gains into personalized preference and statistical prior generalization, revealing how semantic cluster size governs the balance between the two components. Experiments on a Taobao e-commerce corpus of over 300M items show that CRID surpasses the strongest embedding-based retrieval baseline on top-K Hitrate, and delivers +1.06% GMV in full-traffic deployment.

    Abstract source
  • EMNLP · Industry

    PULSAR: Pooled Unified Late-interaction Search And Retrieval for Enterprise Visual Document RAG

    Ben Constable, Anup Roy, Vishal Sharma, Rishabh Upadhyay, Robin Mills, Aidan Millar

    Abstract

    Institutional investors search visually dense pitch decks, board packs, and diligence materials that change hourly near deal closing. OCR followed by figure verbalisation is costly to refresh at this scale and can lose chart detail. We present PULSAR, a production vision-first retrieval system deployed at Mubadala Investment Company. PULSAR indexes page images with a frozen ColPali-style backbone and uses a pooled two-stage late-interaction index: compact page summaries support initial retrieval, followed by exact MaxSim rescoring over a finer pooled representation. On ViDoRe V3, this design reduces median vector-search latency by 15.1 times against an unpooled configuration with less than 0.01 absolute NDCG@10 and Recall@10 loss; production median vector-search latency is 156 ms. Under concurrent load, the pooled index sustains approximately 88 times higher QPS than an unpooled index. The event-driven ingestion path is estimated to be approximately 20 times cheaper per page than the OCR+verbalisation baseline it replaced. Since March 2026, PULSAR has served 78 thousand documents and approximately 2.4 million pages across more than 3,000 deals. At the production top K, it more than doubles answer-fact recall over the OCR+verbalisation baseline.

    Abstract source
  • EMNLP · Industry

    ASSERT: A Measurement Pipeline for GenAI Audits

    Riccardo Fogliato, Abhinav Palia, Xiawei Wang, Emily Sheng, Chad Atalla, Jean Garcia-Gathright, Nicholas Pangakis, Sharman Tan, Dan Vann, Hannah Washington, P. Alex Dow, Heba Elfardy, Hanna Wallach, Sandeep Atluri

    Abstract

    Audits of generative AI (GenAI) systems often summarize behavior as a reported rate: how often the audited system complies with policy. Researchers and stakeholders use that rate to compare systems, track regressions, and gate deployment. A reported rate reflects both the system under audit and the measurement choices behind it, so a change in the rate can leave it unclear whether the system or those choices moved. We introduce ASSERT, a specification-driven measurement pipeline for GenAI audits that ties each reported rate to a written specification of the measurement choices used to produce it. ASSERT helps draft a behavioral rubric and test cases, then runs the audit against a GenAI system and returns a reported rate. In a case study on conversational deception, we observe that the reported rate moves substantially with the dialogue setup, the simulated user, the judge, and the evidence bar for non-compliance. These measurement choices substantially change the reported rate and can reorder GenAI system rankings. Because each reported rate is tied to an explicit specification, differences across audits are easier to attribute and interpret.

    Abstract source
  • EMNLP · Industry

    SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositories

    Aditya Bharat Soni, Rajat Ghosh, Vaishnavi Bhargava, Valerie Chen, Debojyoti Dutta

    Abstract

    Software testing is essential for maintaining software reliability, yet issue reproduction tests are often missing when bugs are reported. Automatically generating such tests can accelerate debugging, support test-driven development, and improve automated software engineering systems that rely on execution-based verification. Existing approaches largely depend on proprietary language models, limiting accessibility and reproducibility. We present SWE-Tester a framework for training open-source large language models to generate issue reproduction tests from natural language issue reports. To support this task, we curate a dataset of 41K training instances from 2.6K open-source GitHub repositories. Fine-tuning on this dataset improves issue reproduction performance across multiple model families, yielding gains of up to 10% points in success rate and 21% in change coverage on SWT-Bench Verified. We further study the effects of model size, training data scale, and inference-time compute, observing consistent improvements along all three axes. Our results demonstrate that open-source models can be effectively specialized for issue reproduction test generation and provide a scalable foundation for future software testing and automated issue-resolution systems.

    Abstract source
  • EMNLP · Industry

    Quality Over Clicks: Iterative Reinforcement Learning for Early-Stage E-Commerce Query Suggestion

    Qi Sun, Kejun Xiao, Huaipeng Zhao, Tao Luo, Xiaoyi Zeng

    Abstract

    Existing dialogue systems rely on query suggestion to enhance user engagement. Recent approaches mainly optimize generative models using click-through rate (CTR) models to align with user preferences. However, these methods are less effective in early-stage deployment scenarios, where click feedback is sparse and insufficient for training a reliable CTR model. To bridge this gap, we propose QualEQS, a quality-first iterative reinforcement learning framework for e-commerce query suggestion. We formalize actionable suggestion quality along three dimensions that directly affect downstream usability: answerability, factuality, and information gain. To continuously improve from online traffic without click supervision, we further propose group-level disagreement among candidate suggestions to identify ambiguous query contexts and mine hard training cases for iterative refinement. We also introduce EQS-Benchmark, a dataset of 16,949 real-world e-commerce queries for offline training and evaluation. Experiments show that our quality-based offline metrics correlate strongly with online performance, providing a practical evaluation recipe for sparse-feedback deployment. In both offline and online settings, QualEQS consistently outperforms strong baselines, yielding a 6.81% improvement in online ChatPV in a real-world enterprise-level conversational shopping assistant system.

    Abstract source
  • EMNLP · Industry

    The Blocker Beasts and How to Tame Them: Schema-Driven Extraction in the Connective AI Layer of Network Operation

    Madhava Gaikwad, Mohan Maddula

    Abstract

    In the Microsoft Azure datacenter network, a technician repairs a link and an on-call engineer, on a different shift and a different continent, decides whether the repair holds. The only channel between them is the technician’s free-text note. When the note omits the measurements the engineer needs, the ticket stalls: the median blocked ticket took 7.0 days to resolve, of which roughly one hour was engineering work. The rest was waiting for an account of the work that the note did not carry.We treat the note as the object to be repaired. A pipeline in production for ten months parses each note at write time into two lightweight schemas, STAR and ECO, using deterministic rules for measurements and a language model for prose. It reaches 0.913 F1 against a 2,141-note gold standard, above a stronger frontier model working alone, and across a staggered rollout of 450+ datacenters the deployed package cuts time-to-repair by 3.4 days. Resolution time falls steeply in a completeness score, at a rate that holds across five physically unrelated failure types, which is what we would expect if the constraint were in the handoff rather than in the physical work.

    Abstract source
  • EMNLP · Industry

    MixEmb: Importance-Aware Quantization and Caching Co-Design for Industrial Decentralized Embedding Training

    Zhida Jiang, Zhen Chen, Zhaolong Xing, Jiaxing Wang, Saixing Gao, Baopeng Yuan, Hao Wang, Yin Xu, Lin Liu, Dongyue Wang, Ke Zhang

    Abstract

    Industrial recommendation training increasingly relies on decentralized multi-GPU infrastructure, yet sparse embedding tables remain a major bottleneck due to significant storage, lookup, and communication overhead. Most existing works typically optimize only one of these bottlenecks or are designed for parameter server architectures, making them less effective in industrial decentralized training stacks. To tackle these challenges, we propose MixEmb, a practical framework for efficient decentralized embedding training through importance-aware quantization and caching. We first design a novel importance metric, i.e., embedding score, which can distinguish the contribution of embedding vectors based on spatial heterogeneity and temporal dynamics. Guided by embedding scores, MixEmb employs mixed precision quantization and hierarchical caching at fine-grained vector level. Besides, our key finding is that quantization and caching decisions are tightly coupled. Instead of naive combination, we delicately integrate them into a unified training framework through coupled co-design. A theoretical convergence analysis is also provided for MixEmb. We implement and evaluate MixEmb in real-world training scenarios. Across three workloads, MixEmb attains up to 1.55× speedup and 3.54× compression ratio compared to state-of-the-art methods.

    Abstract source
  • EMNLP · Industry

    Session-Guided Pre-training for Query Understanding: Constraining Mask Prediction and Improving Query Fine-tunability

    Sosuke Nishikawa, Naoki Yoshinaga

    Abstract

    Large-scale search systems must process vast numbers of diverse, short queries for query understanding (QU) tasks such as named entity recognition (NER) and query classification, under strict latency constraints. Yet general-purpose language models (LMs), trained largely on context-rich open-domain text, are poorly matched to context-poor queries; large generative LMs also incur high serving costs. To achieve accurate and efficient QU, we introduce SEG-QU, a session-guided continual pre-training framework that tailors standard encoder pre-training objectives to search queries. It jointly optimizes token- and query-level objectives over session-derived query pairs: Session-Guided Masked Language Modeling (SG-MLM) reduces uncertainty in single-query MLM, while Same-Session Query Prediction (SSQP) improves downstream fine-tunability. On commercial-search NER and classification tasks, SEG-QU outperforms encoder baselines and fine-tuned generative LMs up to 43\times larger, while requiring substantially lower latency and energy. SEG-QU also transfers effectively to a public e-commerce benchmark. Our code is publicly available at https://github.com/lycorp-jp/segqu.

    Abstract source