arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.16045cs.AI
收藏

POaaS:最小编辑提示优化作为服务以提升准确性和减少幻觉于设备端sLLMs

POaaS: Minimal-Edit Prompt Optimization as a Service to Lift Accuracy and Cut Hallucinations on On-Device sLLMs

Electronics and Telecommunications Research Institute(电子电信研究院)

Jungwoo Shim, Dae Won Kim, Sun Wook Kim, Soo Young Kim, Myungcheol Lee, Jae-geun Cha, Hyunhwa Choi

AI总结:

针对设备端sLLMs的不完美提示问题,POaaS通过轻量专家模块和严格约束实现高效优化,提升准确性和事实性,优于传统搜索方法。

摘要:

小语言模型(sLLMs)越来越多地部署在设备端,不完美的用户提示(拼写错误、意图不明确或上下文缺失)可能引发事实错误和幻觉。现有的自动提示优化(APO)方法为大型云LLM设计,依赖搜索生成长的结构化指令;在设备端约束下,同一小模型需同时担任优化器和求解器,这些流程可能浪费上下文甚至影响准确性。我们提出了POaaS,一种最小编辑提示优化层,将每个查询路由到轻量专家(Cleaner、Paraphraser、Fact-Adder)并严格约束漂移和长度合并输出,采用保守跳过策略处理规范提示。在严格固定模型设置下,使用Llama-3.2-3B-Instruct和Llama-3.1-8B-Instruct,POaaS在任务准确性和事实性方面均优于代表性的APO基线,且在token删除和混合情况下恢复达+7.4%。总体而言,每查询的保守优化是设备端sLLMs替代搜索密集APO的实用替代方案。

英文摘要:

Small language models (sLLMs) are increasingly deployed on-device, where imperfect user prompts--typos, unclear intent, or missing context--can trigger factual errors and hallucinations. Existing automatic prompt optimization (APO) methods were designed for large cloud LLMs and rely on search that often produces long, structured instructions; when executed under an on-device constraint where the same small model must act as optimizer and solver, these pipelines can waste context and even hurt accuracy. We propose POaaS, a minimal-edit prompt optimization layer that routes each query to lightweight specialists (Cleaner, Paraphraser, Fact-Adder) and merges their outputs under strict drift and length constraints, with a conservative skip policy for well-formed prompts. Under a strict fixed-model setting with Llama-3.2-3B-Instruct and Llama-3.1-8B-Instruct, POaaS improves both task accuracy and factuality while representative APO baselines degrade them, and POaaS recovers up to +7.4% under token deletion and mixup. Overall, per-query conservative optimization is a practical alternative to search-heavy APO for on-device sLLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑