← 研踪 PaperTrailarXiv:2612.00779 · v1
Dynamic Processing During Generation: Quality Checking and Rewind in the LLM Inference Server
首次提交 2026-12-01 10:38
版本更新 2026-12-01 10:38
雷达观测 2026-12-02 23:12
摘要
Serving-side components of LLM inference have so far targeted speed, leaving output quality to the model. We propose the Quality Checker (QC), a form of intelligent inference serving: while the large model generates, the server hands each paragraph to a checker and, depending on the verdict, continues, rewinds and rewrites, or ends the thinking phase. Rewind stores no snapshot: the server cancels the request and continues from the kept output, so the prefix cache leaves only tens to about a hundred tokens to recompute, with no scheduler change. We implement QC in SGLang and evaluate it on a character-level 27B model, with four conclusions. (1) Asking whether a response contains a hallucination does not work: all four checkers are near chance. (2) The server holds the complete session and should make the question narrow: rules do verbatim checks, and the checker only judges whether session facts are consistent. Asked this way, a 27B dense model without decision training gets every item right regardless of material length and placement, a decision-trained 35B-A3B is sensitive to placement, and neither 9B nor 122B-A10B is good enough. (3) Rewind needs a clue: in production cases where the model denies a tool that is in its tool list, rewriting with only a new random seed lowers the share of outputs still denying from 69% to 47%, while writing the checker's clue into the context brings it to 11%. (4) Repetition must also be asked narrowly: comparing the new paragraph pairwise with earlier ones raises AUC from 0.94-0.95 to 0.99, and rules plus ending the thinking phase when the budget runs out cut severe loops from 5.2% to 0.3%.
作者备注:Full text in English (pp. 1-31) followed by the full text in Chinese (pp. 32-51). 51 pages, 1 figure, 17 tables
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-12-01 10:38 · 最新观测版本
Dynamic Processing During Generation: Quality Checking and Rewind in the LLM Inference Server
Serving-side components of LLM inference have so far targeted speed, leaving output quality to the model. We propose the Quality Checker (QC), a form of intelligent inference serving: while the large model generates, the server hands each paragraph to a checker and, depending on the verdict, continues, rewinds and rewrites, or ends the thinking phase. Rewind stores no snapshot: the server cancels the request and continues from the kept output, so the prefix cache leaves only tens to about a hundred tokens to recompute, with no scheduler change. We implement QC in SGLang and evaluate it on a character-level 27B model, with four conclusions. (1) Asking whether a response contains a hallucination does not work: all four checkers are near chance. (2) The server holds the complete session and should make the question narrow: rules do verbatim checks, and the checker only judges whether session facts are consistent. Asked this way, a 27B dense model without decision training gets every item right regardless of material length and placement, a decision-trained 35B-A3B is sensitive to placement, and neither 9B nor 122B-A10B is good enough. (3) Rewind needs a clue: in production cases where the model denies a tool that is in its tool list, rewriting with only a new random seed lowers the share of outputs still denying from 69% to 47%, while writing the checker's clue into the context brings it to 11%. (4) Repetition must also be asked narrowly: comparing the new paragraph pairwise with earlier ones raises AUC from 0.94-0.95 to 0.99, and rules plus ending the thinking phase when the budget runs out cut severe loops from 5.2% to 0.3%.
查看此版本解读 →查看此版本原文 ↗