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

为遗传编程学习语义感知的搜索算子

Learning Semantics-aware Search Operators for Genetic Programming

Poznan University of Technology(波兹南理工大学)

Piotr Wyrwiński, Krzysztof Krawiec

AI总结:

本文提出一种语义感知搜索算子,利用图神经网络建模程序指令与数据的交互并生成节点显著性图,引导遗传编程搜索潜在高质量解,在符号回归基准上优于传统树基遗传编程及其消融变体。

摘要:

基于测试的程序合成中的适应度景观已知极为崎岖,即使对程序进行最小修改,也往往会导致其行为以及相应的适应度值发生根本性变化。因此,在遗传编程等迭代搜索算法中仅依赖适应度作为唯一指导是不必要的限制,尤其是当与纯粹的句法搜索算子结合时,这些算子对其对程序行为的影响一无所知。在本研究中,我们提出了一种语义感知的搜索算子,它将搜索引导至不仅实际有价值(高适应度)而且仅具有潜在价值的候选程序,即即使当前适应度较低,也很有可能被转化为高质量解。该方法的关键组件是一个图神经网络,它学习建模程序指令与已处理数据之间的交互,并生成一个表示可能搜索决策的图节点显著性图。当应用于一组符号回归基准时,所提出的方法优于传统的基于树的遗传编程以及该方法的消融变体。

英文摘要:

Fitness landscapes in test-based program synthesis are known to be extremely rugged, with even minimal modifications of programs often leading to fundamental changes in their behavior and, consequently, fitness values. Relying on fitness as the only guidance in iterative search algorithms like genetic programming is thus unnecessarily limiting, especially when combined with purely syntactic search operators that are agnostic about their impact on program behavior. In this study, we propose a semantics-aware search operator that steers the search towards candidate programs that are valuable not only actually (high fitness) but also only potentially, i.e. are likely to be turned into high-quality solutions even if their current fitness is low. The key component of the method is a graph neural network that learns to model the interactions between program instructions and processed data, and produces a saliency map over graph nodes that represents possible search decisions. When applied to a suite of symbolic regression benchmarks, the proposed method outperforms conventional tree-based genetic programming and the ablated variant of the method.

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

↑