Skip to content
Preprint

Can LLMs be Used to Simplify Algorithms? Simpler Algorithms for Vertex Coloring and Edge Connectivity

Aug 2026 · 1 citation · 36 references
Computer Science

TL;DR

This paper studies how well LLMs can simplify algorithms by evaluating three different LLMs on ten different algorithmic problems, and results in the discovery of two novel algorithms.

Abstract

Having simple algorithms is important for the practical adoption of new algorithms. However, simplifying existing algorithms is a field that does not usually receive a lot of attention from the theoretical computer science community. It also seems like a task that LLMs might perform well. Thus, in this paper we study how well LLMs can simplify algorithms by evaluating three different LLMs on ten different algorithmic problems. Our study resulted in the discovery of two novel algorithms. The first algorithm is for vertex coloring, and gives a refined bound for the so-called asymmetric palette sparsification proposed by Assadi and Yazdanyar [SOSA 2025] with a very simple proof. The second is a further simplification of the algorithm of Saranurak [SOSA 2021] for deterministically computing a global minimum cut in an unweighted graph using expanders.

View source

Similar papers

Review Open access Aug 2026

Graph Coloring Algorithms and Their Applications in Combinatorial Optimization: A Survey

This survey draws together the problem’s theoretical core – vertex, edge, face, list and total coloring – with the algorithms built to solve it and the industries that now depend on those algorithms.

Jisha Ann Abraham, C. Wilfred, Thomaskutty Stephen · 0 citations
Preprint Aug 2026

Stochastic Gradient Meets Randomized Rounding: New Algorithms for Node-Weighted Steiner Problems

A new $O(\log n)$ approximation algorithm for Node Weighted Steiner Tree and Node Weighted Steiner Forest that matches the bounds of Klein&Ravi, but has the advantage that they work in the online setting when the terminal pairs are revealed in random order.

Joseph Koutsoutis, Jessica Lerner, Roie Levin et al. · 0 citations
Preprint Aug 2026

Matchings via Random Greedy Independent Set: A Simpler Algorithm and Analysis

In contrast to the previous work, this analysis avoids consideration of fractional matchings and yields a significantly shorter and more direct proof of the approximation factor for the basic algorithm.

A. Mcgregor · 0 citations
Preprint Aug 2026

Triangle-Free Coloring in LOCAL via Resilient Lov\'asz Local Lemma

The Pettie-Su's algorithm is adapted so that the resulting LLL instances can be solved in $\log^{O(1)}\log n$ rounds, by employing the'resilience'definition of Davies [SODA 2023].

Peter Davies-Peck, Xusheng Zhang · 0 citations

HP-MC: Quickly Computing Maximum Clique Sizes of Large Sparse Graphs

This work presents a novel algorithm named HP-MC that, like prior approaches, is based on the branch and bound search, but which outperforms the leading maximum clique codes on large sparse graphs of various topologies by up to 10x on average.

Cameron Bradley, M. Burtscher · 0 citations

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