# Improving Small Language Model Reasoning With A* Search
<!--
ref: @content/youtube/yc-root-access/improving-small-language-model-reasoning-with-a-search
tags: [small language models, inference-time scaling, tree search, A* search, self-critique, reasoning, reinforcement learning, credit assignment]
version: 2
updated_at: 2026-11-24T05:21:32.168Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=pcxB_CjPIp8)**

# Improving Small Language Model Reasoning With A* Search

*Synthesized from Alex in conversation with an unnamed host on YC Root Access, 2026-08-06.*

Alex, who is named only by first name in the source, describes a paper on inference-time search for small language models, recorded at Startup School. The transcript is a short, automatically generated one with some errors, so the figures below are the speaker's reported results.

## Core Thesis
Alex argues that small language models can reason better at inference time by searching a tree of candidate solutions with an A*-style cost, using the model's own self-criticism as the heuristic instead of an external reward model. The reported gains come on math benchmarks with a 4-billion-parameter Qwen 3 model, and hold when token budget and wall-clock time are matched.

## Key Insights
- **The problem.** Small models are cheaper and faster but weaker at multi-step reasoning. Distillation needs a large teacher model and a training run; Monte Carlo tree search needs reward models that are hard to train and host.
- **The method.** The question is the root node. Each selected node is expanded into two children by prompting the model. The same model then rates each node's answer from 0 to 100 as self-criticism. The next node to expand is chosen by an A*-inspired cost that combines depth with that score, so weak branches are pruned.
- **Example.** Two nodes at the same depth, scored 34 and 71, differ only by self-criticism, so the 34 branch is explored less.
- **Benchmarks.** Results are on GSM8K (high-school-level word problems) and a harder math set, with the same base model used for every method. The speaker says accuracy beats other test-time scaling methods on GSM8K.
- **Compute check.** At an equal token count the method gains about three to four percentage points, and at equal wall-clock time about three points, which the speaker presents as evidence the gain is not just extra compute.
- **Follow-on work.** His current direction is reinforcement learning for language agents with counterfactual reasoning, to assign credit for errors across steps. He calls this a separate line from runtime scaling.

## Actionable Takeaways
1. For small models, try a self-critique score as the search heuristic before adding an external reward model.
2. Compare test-time methods at matched token count and matched wall-clock time, not only on accuracy.
3. Expand each node into two children with a critique prompt, as in the example.
4. Judge scaling gains only at matched compute, since more search time alone can raise accuracy.

## Notable Quotes
> "Classical reinforcement learning is based primarily on correlation." — Alex

---

*Related: `@content/youtube/sequoia/ai-that-designs-its-own-chips-ricursives-anna-goldie-and-azalia-mirhoseini` · `@content/youtube/yc-root-access/any-horizon-reasoning-for-video-agents` · `@content/youtube/yc-root-access/leanagent-lifelong-learning-for-formal-theorem-proving` · `@content/youtube/aie/training-your-own-agent-models-with-rl-is-now-practical-jason-mancuso-modal` · `@content/youtube/sequoia/rich-sutton-and-khurram-javed-why-ai-models-stop-learning-and-how-to-start-it-again`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*