arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.09211cs.CLcs.AI
收藏

DICE:通过 SLM 引导的思维链校正实现 LLM 中的结构化推理

DICE: Structured Reasoning in LLMs through SLM-Guided Chain-of-Thought Correction

Shanghai Jiao Tong University(上海交通大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Yiqi Li, Yusheng Liao, Zhe Chen, Yanfeng Wang, Yu Wang

AI总结:

本文提出轻量级框架 DICE,利用微调后的 SLM 通过两阶段数据构建与双调优策略校正 LLM 的 CoT 输出,在保持推理能力的同时显著提升结构化格式与内容准确性。

摘要:

在执行带有用户特定要求(例如严格输出格式)的推理任务时,大语言模型(LLM)往往优先考虑推理,而不是遵守详细指令。由于计算成本高昂且参数访问受限,在监督数据集上微调 LLM 来解决这一问题并不现实。为此,我们提出 DICE,这是一个轻量级框架,引导小语言模型(SLM)通过思维链(CoT)校正来精炼 LLM 的输出。DICE 将该过程解耦:首先提示 LLM 生成自然语言响应,随后使用经过训练的 SLM 分析并精炼这些输出,以满足结构化输出规范。该框架在确保输出符合用户需求的同时,保留了 LLM 广泛的知识与推理能力。具体而言,DICE 首先通过两阶段方法构建结构化 CoT 适配数据集,随后采用双调优策略微调 SLM,使其以“先分析后回答”的模式生成结构化输出。实验表明,DICE 将 LLM 输出的平均格式准确率和内容正确率分别提高了 35.4% 和 29.4%,相较其他具有竞争力的基线取得了最先进(SOTA)性能。

英文摘要:

When performing reasoning tasks with user-specific requirements, such as strict output formats, large language models (LLMs) often prioritize reasoning over adherence to detailed instructions. Fine-tuning LLMs on supervised datasets to address this is impractical due to high computational costs and limited parameter access. To tackle this, we propose DICE, a lightweight framework that guides small language models (SLMs) to refine LLMs' outputs through chain-of-thought (CoT) correction. DICE decouples the process by first prompting LLMs to generate natural language responses, then using trained SLMs to analyze and refine these outputs to meet structured output specifications. This framework preserves LLMs' broad knowledge and reasoning capabilities while ensuring the outputs conform to user demands. Specifically, DICE first constructs structured CoT adaptation datasets via a two-stage method and subsequently applies a dual-tuning strategy to fine-tune SLMs for generating structured outputs in an analyze-then-answer pattern. Experiments demonstrate that DICE improves the average format accuracy and content correctness of LLM outputs by 35.4\% and 29.4\%, respectively, achieving state-of-the-art (SOTA) performance over other competitive baselines.

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

↑