# Editing 16 neurons without training lifts Qwen3.5-4B on VerilogEval chip-design tasks

A preprint from two Bangladeshi universities rewrites single neurons inside open models to remove bad coding habits. Combined with tool-using agents, a 27B Qwen model on one 32 GB graphics card tops published scores on hardware-design benchmarks.

- Category: Code
- Readiness level: II (Benchmarked) on Science Underway's four-step scale, as proposed
- Published: 2026-11-27
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/editing-16-neurons-without-training-lifts-qwen3-5-4b-on-verilogeval-chip-design

## The study

Kolpona: An Agentic Framework with Gradient-Free Neuron Programming for RTL Generation (preprint, not peer reviewed). arXiv 2611.33973. https://arxiv.org/abs/2611.33973

## At a glance

- What it shows: Changing a handful of neurons inside a small open AI model, without retraining it, raised the share of chip-design tasks it solved from about a third to more than half. Adding several AI agents and a way to pick the best answer pushed a larger model above every published rival the authors compared against.
- What it does not show: It does not show that the neuron edits help an already strong model, or that the system works on real, large industrial chip designs. No code or edited model has been released.
- Why it matters: Improving a model for a niche task usually means costly retraining on large sets of checked examples. This points to a cheaper route for tasks where answers can be checked automatically.

## What the study shows

The task is writing RTL code. RTL, or register-transfer level code, is the text description of a digital circuit that chip tools turn into hardware. It is usually written in a language called Verilog. A design counts as correct if it passes a test program, called a testbench, that simulates the circuit.

The authors start with Qwen3.5-4B, a small open-weight model. They look for repeated mistakes it makes on practice tasks. Examples include reasoning that loops until it runs out of space, writing a port twice, and confusing the two kinds of reset a circuit can have. For each habit they write one neuron directly into the model using a formula, with no gradient training (the usual way models learn, by small repeated weight updates). An edit is kept only if it wins a paired comparison against the unedited model on fresh practice tasks.

The authors report that 16 edited neurons raised the model's own score on VerilogEval v2, a public benchmark of 156 design tasks, from 31.7% to 55.4%. Much of this came from ending runaway reasoning. Before the first edits, about half of its answers hit the length limit with no design. After them, about one in twelve did. The same edits roughly doubled its score on RTLLM v2.1, a second benchmark never used to build them.

At answer time, ten agents each try the task. Each can compile its design, edit it and submit it. A selection step then picks one design without seeing any correct answer. It groups designs that behave the same in simulation, takes a vote, runs long simulations to split near-matches, asks the model to judge between groups and checks examples copied from the task text.

On a larger model, Qwen3.8-27B, run on one 32 GB graphics card, the authors report 94.9% on VerilogEval v2 and 92.0% on RTLLM v2.1. The base model answering once scored 73.1% and 66.0%. The authors say this beats every published system in their comparison, including Claude Opus 4.7 at 86.9% on VerilogEval. Almost all of this 27B gain comes from the agents and selection. That model carries only one small edit, which left practice accuracy unchanged.

The neuron edits, built only from hardware tasks, also improved the small model on Python. Answering once without tools, it rose from about 85% to about 92% on HumanEval+ and from about 68% to about 78% on MBPP+, two standard Python coding tests. On the harder LiveCodeBench the edits made no clear difference.

The paper is a preprint and has not been peer reviewed. On our readiness scale it sits at level II, Benchmarked: results are on public benchmarks, but no code or weights have been released.

## Our reading

In our reading, the paper contains two separate results, and they should not be blended. The first is that a few surgically written neurons can fix a small model's bad habits. The second is that agents plus careful answer selection lift a strong model to the top of the table. The neuron editing drives the small-model story. It contributes almost nothing to the headline 27B scores.

The editing result is the more novel one. The edits remove obstacles rather than teach new skills. The model already knew how to write most designs. It was tripping over loops, syntax slips and misread reset wording. Where the errors were real logic mistakes, as in state-machine designs, the edits barely helped. The authors say this openly, and it fits earlier work suggesting weight edits remove obstacles more easily than they add abilities.

The top-of-table claim needs care. The final selection stage of the 27B system was tuned while looking at VerilogEval outputs, so that benchmark partly served as a development set. The rival scores were taken from other papers and leaderboards, not rerun under the same setup. The cleaner evidence is on RTLLM v2.1, ChipBench and CVDP, which the authors say were run once with the frozen system. Two of these are small, with 50 and 30 tasks, so the uncertainty ranges are wide.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/editing-16-neurons-without-training-lifts-qwen3-5-4b-on-verilogeval-chip-design

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
