Latest / AI & agents

LLM Verified with MCTS

github.com · Open source · Maintained

Search for verified programs with an LLM using Monte Carlo tree search

Visit github.com ↗Share

  • AI & agents
  • Open source
  • Jupyter Notebook
  • Day-7 check
  • Day-30 check
Stars
297
Forks
29
Open issues
6
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

This weekend project uses Monte Carlo tree search to explore possible programs written with an LLM. Partial programs are checked by a verifier at each step, which steers the search toward passing programs, and it suits researchers interested in combining language models with formal verification.

Repository description on GitHub: “LLM verified with Monte Carlo Tree Search”

What it does

  • Searches for verified programs with Monte Carlo tree search and an LLM
  • Checks partial programs with a verifier at each step
  • Supports Dafny, Coq, Lean, Scala and Rust
  • Example run logs included in the log directory

Good for

  • Synthesize a program that passes a formal verifier in Dafny or Lean
  • Test whether a smaller model can match stronger ones with verifier-guided search

Suits: Researchers combining language models with formal verification.

Worth knowing: Relies on GPU access; the authors tested it on a machine with two A100s

What you can try

Open the Jupyter notebooks in the GitHub repository and run them.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw LLM Verified with MCTS on , when namin posted it to Show HN. GitHub listed no published releases for namin/llm-verified-with-monte-carlo-tree-search when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 102 points, 15 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 102 points, 15 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: namin/llm-verified-with-monte-carlo-tree-search
  2. Found: namin posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was LLM Verified with MCTS released?
No dated release record is available. Kip found it on Show HN on 11 Nov 2023.
Is LLM Verified with MCTS open source?
Its source is public on GitHub at namin/llm-verified-with-monte-carlo-tree-search under the MIT licence.
What does LLM Verified with MCTS run on?
Command line.
Is LLM Verified with MCTS free?
It is open source, so the code is free to read and run; check the licence for terms.
Is LLM Verified with MCTS still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorynamin/llm-verified-with-monte-carlo-tree-search
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-38235407. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.