arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.03132cs.LGcs.AIcs.NE
收藏

对比概念树搜索用于大语言模型辅助算法发现

Contrastive Concept-Tree Search for LLM-Assisted Algorithm Discovery

NTT Research(NTT研究院);Stanford University(斯坦福大学)

Timothee Leleu, Sudeera Gunathilaka, Federico Ghimenti, Surya Ganguli

AI总结:

本研究提出对比概念树搜索(CCTS)方法,通过提取层次化概念表示和对比学习模型,提升LLM辅助算法发现的搜索效率和可解释性。

摘要:

大型语言模型(LLM)辅助算法发现是一种迭代的、黑箱优化过程,用于近似解决目标任务,其中LLM提出候选程序,外部评估者提供任务反馈。尽管在该主题上已有大量研究并取得令人鼓舞的结果,但如何最大限度地利用LLM对可能程序空间的内部表示以提高性能仍然是一个开放问题。在此,我们介绍了对比概念树搜索(CCTS),它从生成的程序中提取层次化的概念表示,并学习一个对比概念模型,以指导父节点选择。通过使用高绩效和低绩效解决方案之间的似然比分数重新加权父节点,CCTS将搜索偏向于有用的的概念组合,而非误导性的组合,通过显式概念层次结构而非LLM构建的算法谱系来提供指导。我们展示了CCTS在基于适应度的基线方法上提高了搜索效率,并在一系列开放的Erdős型组合学问题基准上产生了可解释的、任务特定的概念树。我们的分析表明,收益主要来自于学习哪些概念应避免。我们进一步在受控的合成算法发现环境中验证了这些发现,该环境在定性上重现了与LLM观察到的搜索动态。

英文摘要:

Large language Model (LLM)-assisted algorithm discovery is an iterative, black-box optimization process over programs to approximatively solve a target task, where an LLM proposes candidate programs and an external evaluator provides task feedback. Despite intense recent research on the topic and promising results, how can the LLM internal representation of the space of possible programs be maximally exploited to improve performance is an open question. Here, we introduce Contrastive Concept-Tree Search (CCTS), which extracts a hierarchical concept representation from the generated programs and learns a contrastive concept model that guides parent selection. By reweighting parents using a likelihood-ratio score between high- and low-performing solutions, CCTS biases search toward useful concept combinations and away from misleading ones, providing guidance through an explicit concept hierarchy rather than the algorithm lineage constructed by the LLM. We show that CCTS improves search efficiency over fitness-based baselines and produces interpretable, task-specific concept trees across a benchmark of open Erdős-type combinatorics problems. Our analysis indicates that the gains are driven largely by learning which concepts to avoid. We further validate these findings in a controlled synthetic algorithm-discovery environment, which reproduces qualitatively the search dynamics observed with the LLMs.

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

↑