AlgoSkill: Learning to Design Algorithms by Scheduling Human-Like Skills

Xinyuan Song, Zekun Cai, Liang Zhao
6/29/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Designing an algorithm from a natural-language problem statement requires identifying the problem structure, reading constraints, choosing a suitable paradigm, checking correctness, and refining complexity. Existing large language model (LLM) methods often rely on direct generation or generic self-refinement, leaving these steps implicit.

Show full abstract

We propose AlgoSkill, which models algorithm design as sequential decision-making over a typed library of algorithmic skills, including abstraction, constraint analysis, state design, data-structure selection, proof checking, counterexample construction, and complexity refinement. A learned scheduler proposes skills from the current design state, while a Monte Carlo Tree Search (MCTS) controller explores skill sequences using verification feedback from compilation, testing, stress testing, and complexity analysis. Experiments on competitive programming and combinatorial optimization benchmarks show that AlgoSkill improves over direct LLM generation, chain-of-thought prompting, self-refinement, and MCTS without typed skills. Ablations show that typed skills, verification-based repair, and search-based scheduling each contribute to performance. These results support treating automatic algorithm design as verification-guided skill scheduling rather than one-shot code generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{song2026algoskill,
  title  = {AlgoSkill: Learning to Design Algorithms by Scheduling Human-Like Skills},
  author = {Xinyuan Song and Zekun Cai and Liang Zhao},
  year   = {2026},
  eprint = {2606.29999},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.29999v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.29999.svg)](https://codeofpaper.com/paper/2606.29999)

Discussion