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.

7 min readIIBenchmarkedPreprint, not peer reviewed
Save
A pale wooden pegboard with a single deep blue peg and a straight thread, beside loose grey pegs and tangled thread.AI illustration
Illustration: AI generated

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.

Free membership

Read the rest of this story

Membership is free. You get every article in full, and can save stories and follow topics.

We send a sign-in link, no password needed. Already a member? Sign in

Readiness assessment

II
Benchmarked
LevelStatusEvidence
I  Lab onlyMetThe method is described in detail, with an algorithm, closed-form formulas and proofs, and was run in the authors' lab.
II  BenchmarkedMetResults are reported on public benchmarks: VerilogEval v2, RTLLM v2.1, ChipBench, CVDP cid003, HumanEval+, MBPP+ and LiveCodeBench v6. They include paired tests and confidence intervals.
III  Open sourceNot yetThe paper gives no link to code, edited weights or the agent harness. Appendix A lists the edited neuron locations, but not the weight values.
IV  In productionNot yetNo named organisation is documented as using the system.

What would move it up
Release of the edited weights (or edit scripts), the agent harness and the selection code would reach level III. Independent reruns on held-out benchmarks would add confidence.

The study

Musa Tur Farazi, Md Nasir Uddin, Soumik Bhattacharjee et al.. Kolpona: An Agentic Framework with Gradient-Free Neuron Programming for RTL Generation. arXiv, 25 November 2026. Read the paper

Preprint, not peer reviewed · Licence arXiv (no reuse) · Bangladesh University of Engineering and Technology, Dhaka · University of Asia Pacific, Dhaka

Notes

  1. Farazi, M. T., Uddin, M. N., Bhattacharjee, S., Sabrina, T. and Haider, C. M. R. Kolpona: An Agentic Framework with Gradient-Free Neuron Programming for RTL Generation. arXiv preprint 2611.33973, November 2026. Not peer reviewed. Source
  2. No code, weights or harness release is linked in the paper. Appendix A lists the edited neuron locations but not the weight values.
  3. Key figures: Qwen3.5-4B alone on VerilogEval v2, 31.7% to 55.4% (paired gain +23.7 points, 95% interval +17.6 to +30.1, 63 tasks better, 9 worse). Answers hitting the token limit fell from 152 to 25 of 312.
  4. Qwen3.8-27B system: VerilogEval v2 94.9% (base 73.1%), RTLLM v2.1 92.0% (base 66.0%), ChipBench 66.7%, CVDP cid003 59.0%. Run on one NVIDIA RTX 5090 with 32 GB, using the Red Hat AI 4-bit checkpoint. Source
  5. Python transfer of the 4B edits, one answer, no tools: HumanEval+ 84.8% to 91.5% (p = 0.027), MBPP+ 67.7% to 77.5% (p < 0.00001), LiveCodeBench 42.0% to 43.5% (within noise).
  6. Readiness: level II, Benchmarked. Public benchmark results are reported; no code or weights are released and no production use is documented.

Edited and signed by

Stefan PerdalFounder. Twenty-five years of building digital products.168 stories edited

Stefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.

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.

More on Code