arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.23136cs.NIcs.AIcs.LG
收藏

LLM辅助的非几何网络图中的A*搜索

LLM-Aided A* Search in Non-Geometric Network Graphs

KU 6G Research Centre, Department of Computer Science, Khalifa University, Abu Dhabi, UAE(KU 6G研究中心,计算机科学系,哈利法大学,阿布扎赫德,阿联酋)

Nouf Alabbasi, Esraa Ghourab, Omar Alhussein

AI总结:

针对非几何网络图最短路径问题,提出LLM辅助A*算法,利用LLM生成中间路标点引导搜索,结合路标距离作为启发式,减少约50%扩展节点,路径成本略有增加。

摘要:

在非几何网络图中寻找最短路径对知情搜索算法构成挑战,因为边权重编码任意度量(如延迟或货币成本)而非空间距离。其效率依赖于信息性启发式,在空间域中通常由几何距离提供,而非几何图则缺乏对应物。我们提出一种大语言模型(LLM)辅助的A*算法,其中LLM生成中间路标点,引导A*扩展朝向有希望的图区域。该方法的核心是路标距离,它既作为搜索的可容许路标(ALT)启发式,又作为紧凑的结构特征,提供给LLM以恢复其在非几何图上缺失的到目标距离信号。我们在多个图拓扑(最多2000个节点)上的全面实验表明,与最优解相比,LLM生成的路标点将扩展节点数减少约50%,同时仅引起边际路径成本增加。我们进一步分析了提示工程的影响,并表明融入紧凑结构特征(即启发式估计)比高级提示技术更有效。这些发现展示了将基于LLM的引导与经典搜索算法相结合以实现高效网络优化的潜力。

英文摘要:

Finding the shortest path in non-geometric network graphs, where edge weights encode arbitrary metrics such as latency or monetary cost rather than spatial distance, poses a challenge for informed search algorithms. Their efficiency depends on an informative heuristic, typically supplied in spatial domains by geometric distances that have no counterpart on non-geometric graphs. We propose a large language model (LLM)-aided A* algorithm in which an LLM generates intermediate waypoints that guide the A* expansion toward promising graph regions. At the core of the approach are landmark distances, which serve both as an admissible landmark-based (ALT) heuristic for the search and as a compact structural feature that, supplied to the LLM, restores the distance-to-destination signal it would otherwise lack on non-geometric graphs. Our comprehensive experiments on multiple graph topologies with up to 2,000 nodes demonstrate that LLM-generated waypoints reduce the number of expanded nodes by around 50% while incurring only a marginal path cost increase compared to the optimal solution. We further analyze the impact of prompt engineering and show that incorporating compact structural features, namely heuristic estimates, is more effective than advanced prompting techniques. These findings demonstrate the potential of combining LLM- based guidance with classical search algorithms for efficient network optimization.

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

↑