跳到正文
arXiv cs.AI· Chen Zhang, Kepu Zhang, Jiatong Zhang, Xiao Zhang, Jun Xu·· 5 小时前AI 评分43

SandwichR 提出三明治推理:答案-推理-答案范式实现低延迟查询纠错

Sandwich Reasoning: An Answer-Reasoning-Answer Approach for Low-Latency Query Correction

AI 导读

研究者提出 Sandwich Reasoning(SandwichR),采用“答案-推理-答案”范式进行低延迟查询纠错,先输出初始纠错再做推理、最后给出优化后的最终纠错。

正文 · 原文

View PDF HTML (experimental)

Abstract:Query correction is a critical entry point in modern search pipelines, demanding high accuracy strictly within real-time latency constraints. Chain-of-Thought (CoT) reasoning improves accuracy but incurs prohibitive latency for real-time query correction. A potential solution is to output an answer before reasoning to reduce latency; however, under autoregressive decoding, the early answer is independent of subsequent reasoning, preventing the model from leveraging its reasoning capability to improve accuracy. To address this issue, we propose Sandwich Reasoning (SandwichR), a novel approach that explicitly aligns a fast initial answer with post-hoc reasoning, enabling low-latency query correction without sacrificing reasoning-aware accuracy. SandwichR follows an Answer-Reasoning-Answer paradigm, producing an initial correction, an explicit reasoning process, and a final refined correction. To align the initial answer with post-reasoning insights, we design a consistency-aware reinforcement learning (RL) strategy: a dedicated consistency reward enforces alignment between the initial and final corrections, while margin-based rejection sampling prioritizes borderline samples where reasoning drives the most impactful corrective gains. Additionally, we construct a high-quality query correction dataset, addressing the lack of specialized benchmarks for complex query correction. Experimental results demonstrate that SandwichR achieves SOTA accuracy comparable to standard CoT while delivering a 40-70% latency reduction, resolving the latency-accuracy trade-off in online search.
Comments: 11 pages, 4 figures. Accepted at CIKM 2026
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2601.03672 [cs.AI]
  (or arXiv:2601.03672v2 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2601.03672

arXiv-issued DOI via DataCite

Related DOI: https://doi.org/10.1145/3799682.3840714

DOI(s) linking to related resources

Submission history

From: Chen Zhang [view email]
[v1] Wed, 7 Jan 2026 07:52:30 UTC (352 KB)
[v2] Wed, 28 Oct 2026 03:46:37 UTC (403 KB)

来源:arXiv cs.AI · arxiv.org