arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.02535cs.CLcs.AI
收藏

ModeX:无需评估器的开放生成最佳-N选择

ModeX: Evaluator-Free Best-of-N Selection for Open-Ended Generation

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Hyeong Kyu Choi, Sharon Li

AI总结:

ModeX提出一种无需外部评估器的最佳-N选择方法,通过识别主导语义共识的模态输出,提升开放生成任务的鲁棒性与效率。

摘要:

选择多个随机生成输出中的高质量结果仍是大型语言模型(LLMs)面临的基本挑战,特别是在开放性任务中不存在标准答案。尽管Best-of-N和自一致性方法表明聚合多个生成可以提高性能,但现有方法通常依赖外部评估器、奖励模型或精确字符串匹配投票,限制了其适用性和效率。我们提出Mode Extraction(ModeX),一种无需评估器的最佳-N选择框架,通过识别生成文本中主导语义共识的模态输出,将多数投票推广到开放性文本生成。ModeX在候选生成上构建相似性图,并递归应用谱聚类选择代表质心,无需额外推理或辅助模型。我们进一步将此选择原则实例化为ModeX-Lite,一种改进的ModeX版本,具有早期剪枝以提高效率。在开放性任务——包括文本摘要、代码生成和数学推理——中,我们的方法一致优于标准单路径和多路径基线,提供了一种计算高效且稳健的开放性文本生成解决方案。代码在https://github.com/deeplearning-wisc/ModeX上发布。

英文摘要:

Selecting a single high-quality output from multiple stochastic generations remains a fundamental challenge for large language models (LLMs), particularly in open-ended tasks where no canonical answer exists. While Best-of-N and self-consistency methods show that aggregating multiple generations can improve performance, existing approaches typically rely on external evaluators, reward models, or exact string-match voting, limiting their applicability and efficiency. We propose Mode Extraction (ModeX), an evaluator-free Best-of-N selection framework that generalizes majority voting to open-ended text generation by identifying the modal output representing the dominant semantic consensus among generated texts. ModeX constructs a similarity graph over candidate generations and recursively applies spectral clustering to select a representative centroid, without requiring additional inference or auxiliary models. We further instantiate this selection principle as ModeX-Lite, an improved version of ModeX with early pruning for efficiency. Across open-ended tasks -- including text summarization, code generation, and mathematical reasoning -- our approaches consistently outperform standard single- and multi-path baselines, providing a computationally efficient solution for robust open-ended text generation. Code is released in https://github.com/deeplearning-wisc/ModeX.

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

↑