arXiv:2503.10881cs.CL2025-03被引 1

通过一致性检测与融合提升大模型生成可靠性,计算开销更低。

SCE: Scalable Consistency Ensembles Make Blackbox Large Language Model Generation More Reliable

  • 用语义一致性判断输出对,筛选可靠结果
  • 相比基线性能更好,计算成本大幅降低
  • 适合需要高可靠性的黑盒大模型应用

大语言模型虽表现卓越,但各具优劣,单一模型难以在所有任务中胜出。集成多个模型可提升生成可靠性,但传统集成方法计算开销高。本文提出可扩展的一致性集成框架SCE,通过提示词引导生成一致输出。SCE包含两个核心组件:SCE-CHECK通过语义等价性评估响应对的一致性;SCE-FUSION则融合最高分一致响应,优化集体优势并缓解潜在缺陷。为提升多查询场景下的可扩展性,提出新方法YOPO,将成对比较的推理复杂度从二次方降至常数时间。在多个基准数据集上的实证评估表明,SCE-CHECK显著优于传统基线,在性能提升的同时大幅降低计算开销。

原文摘要 · Abstract (English)

Large language models (LLMs) have demonstrated remarkable performance, yet their diverse strengths and weaknesses prevent any single LLM from achieving dominance across all tasks. Ensembling multiple LLMs is a promising approach to generate reliable responses but conventional ensembling frameworks suffer from high computational overheads. This work introduces Scalable Consistency Ensemble (SCE), an efficient framework for ensembling LLMs by prompting consistent outputs. The SCE framework systematically evaluates and integrates outputs to produce a cohesive result through two core components: SCE-CHECK, a mechanism that gauges the consistency between response pairs via semantic equivalence; and SCE-FUSION, which adeptly merges the highest-ranked consistent responses from SCE-CHECK, to optimize collective strengths and mitigating potential weaknesses. To improve the scalability with multiple inference queries, we further propose ``{You Only Prompt Once}'' (YOPO), a novel technique that reduces the inference complexity of pairwise comparison from quadratic to constant time. We perform extensive empirical evaluations on diverse benchmark datasets to demonstrate \methodName's effectiveness. Notably, the \saccheckcomponent outperforms conventional baselines with enhanced performance and a significant reduction in computational overhead.

大模型集成生成可靠性高效推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。