Skip to content
Preprint

LLM-Guided Graph Generation for Structure-Based Local Improvement Methods

Aug 2026 · 0 citations · 27 references
Computer Science

TL;DR

An automatic pipeline that is problem-agnostic to all problems in the MiniZinc format is built, finding that algorithm selection achieves a 39.6% average problem-weighted win rate against a one-shot Gurobi baseline, more than doubling the best single configuration (19.3%).

Abstract

Large neighborhood search normally selects a random subset of decision variables for iterative optimization. To efficiently solve various problems, researchers tend to design variable selection strategies that take into account structural features across different domains. In this paper, we build an automatic pipeline that is problem-agnostic to all problems in the MiniZinc format. By prompting an LLM with our semantic guidelines, we guide the LLM to produce a graph generator that maps any instance of a problem type to a uniform weighted graph, where nodes represent decision variables and edges represent constraint relationships. These problem-agnostic graphs guide our structure-based local improvement (SLIM) framework for variable selection. Meanwhile, the weighted graph enables all problem instances to share the same generic graph representation, from which the same graph features can be extracted and used for configuration selection. We evaluated our pipeline on instances across 20 MiniZinc competition problems, finding that algorithm selection achieves a 39.6% average problem-weighted win rate against a one-shot Gurobi baseline, more than doubling the best single configuration (19.3%). A post-hoc configuration and a feature ablation indicate a headroom of up to 44.0%, demonstrating that LLM-based semantic generation enables effective automated structure and feature extraction for constraint optimization.

View source

Similar papers

Conference 2026

Learning Unified Graph and Language Representations for SMT Algorithm Selection

Evaluated across nine SMT logics, SMT-Select consistently outperforms existing selectors and SMT-COMP winning solvers and closes at least 30% of the performance gap between the competition winner and the virtual best solver (VBS).

Zhengyang Lu, Paul Sarnighausen-Cahn, Jiahao Chen et al. · 0 citations
Preprint Aug 2026

DGA$_2$D: Directed Graph-Guided Automated Algorithm Design with Large Language Models

A Directed Graph-Guided Automated Algorithm Design framework, termed DGA$_2$D, which structures the open-ended program space as a directed graph, where each node represents a functional operator that can be instantiated using one of multiple candidate code implementations, while directed walks constitute complete algor...

Jiale Zhao, Zi-Mu Chen, Sirui Mao et al. · 1 citation
Book Open access Jul 2026

One-for-All Community Search on Unseen Graphs

A Spectral-Aware Feature Alignment module to unify feature dimensionality and align cross-domain semantics in a community-aware manner and a Graph Diffusion Tokenized Transformer that constructs hybrid token sequences from local and global structural contexts for Transformer encoding, and applies diffusion-based refine...

Mo Li, Zhaosong Zhao, Linlin Ding et al. · 0 citations
Preprint Jul 2026

OptGraph: Large Language Models Enhanced Evolutionary Optimization Via Graph Retrieval-Augmented Generation

OptGraph is the first optimization agentic workflow that introduces graph retrieval-augmented generation (GraphRAG) and first constructs reusable experience as a typed graph, capturing the relationships among modeling patterns, problem formalization, implementation details, and error corrections.

Xianchao Xiu, Jianhao Li, Huangyue Chen et al. · 1 citation
Preprint Jul 2026

Adaptive Graph-of-Islands Evolution for Automatic Feature Engineering with LLMs

T TOPOFE is introduced, a framework that formulates AutoFE as graph-structured multi-island evolutionary program search that produces feature sets with lower redundancy and higher representational coverage, while the learned topology graph acquires meaningful task-specific transfer structure correlated with downstream...

Sha Li, Naren Ramakrishnan · 0 citations
Preprint Aug 2026

RamseyGadgets: A Graph Construction Dataset for LLMs

A novel dataset of 70 underexplored graph construction problems that require finding Ramsey-good graphs with special properties, which shows that LLMs achieve only 37.70% accuracy on the hard-tier problems in this dataset, with Gemma-4-31B achieving the highest performance out of the five.

Zohair Raza Hassan, Deepak Pandita · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.