Kolpona: An Agentic Framework with Gradient-Free Neuron Programming for RTL Generation
Authors: Musa Tur Farazi, Md Nasir Uddin, Soumik Bhattacharjee, Tishna Sabrina, Chowdhury Mohammad Rakin Haider
Organizations: Department of Computer Science and Engineering, Bangladesh University of Engineering and Technology (BUET), Dhaka-1000, Bangladesh · Department of Electrical and Electronic Engineering, University of Asia Pacific, Dhaka, Bangladesh
Open-weight large language models (LLMs) for register-transfer level (RTL) design are usually improved by fine-tuning on curated Verilog corpora, which needs large sets of verified designs and GPU training. We present Kolpona, an agentic framework that improves such models without gradient training. Its first component is neuron programming, a new form of weight-space programming (WSP) that writes single neurons in closed form into the weights to remove failure habits found on practice tasks, and keeps each edit only when testbench results on fresh tasks favour it. At inference time, tool-using agents propose designs, and a label-free selection stage delivers one design per task from the specification, the candidates and their simulations alone. On Qwen3.5-4B, edits to 16 neurons raise the VerilogEval v2 pass@1 of the model alone from 31.7% to 55.4%, and the full framework reaches 77.6%. On Qwen3.8-27B, Kolpona lifts pass@1 from 73.1% to 94.9% on VerilogEval v2 and from 66.0% to 92.0% on RTLLM v2.1 on a single 32 GB GPU, above every published system in our comparison. The RTL edits also carry over to Python and raise the pass@1 of the 4B model alone from 84.8% to 91.5% on HumanEval+ and from 67.7% to 77.5% on MBPP+.
Figures & tables
Figure 1: Overview of Kolpona. Neuron programming writes single MLP neurons that remove failure habits found on practice tasks, and it keeps an edit only if a paired testbench comparison favours it. At inference time, the edited model runs N tool-using agents and a label-free selection stage, which delivers one design per task without any testbench or reference design.
Figure 2: A program is one MLP neuron with three hand-written vectors. The trigger opens only where a habit starts, the read measures a signal that the model computes and the write moves the logits of chosen tokens. In the reset example, the sign of p⊤x decides between the two possible next tokens.
Figure 3: Label-free selection on a toy task with ten candidates. (1) Equal outputs under s0 form groups, and the vote takes the largest. (2) Long runs split groups that agree only on short runs. (3) For Kolpona, a knockout of same-model duels starts from the smallest group, with group sizes hidden. (4) Tables copied from the specification can overturn a pick that contradicts them.
Figure 4: Pass@1 (%) of our systems, their base models and published systems ( Yu et al., 2026a ) on four RTL benchmarks.
Figure 5: Ablation of the delivered pass@1. Each point adds one stage, and the last point is the share of tasks that some agent solves, an upper bound for any selection. Table 4 lists the numbers.
Figure 6: Qwen3.5-4B alone after each round of weight edits, on VerilogEval v2. (a) Pass@1 overall and by task type. (b) Outcome of the 312 answers per round.
Base
Single
Best
Benchmark
model
agent
Pass@1
95% CI
of N
Kolpona (Qwen3.8-27B)
VerilogEval v2
73.1
85.3
94.9
90.2–97.4
96.2
RTLLM v2.1
66.0
80.8
92.0
81.2–96.8
96.0
ChipBench
56.7
59.7
66.7
48.8–80.8
83.3
CVDP cid003
37.2
52.9
59.0
47.9–69.2
71.8
Table 1: Main results in %. Base is the unedited model without tools. Single agent, pass@1 with its 95% Wilson interval ( Wilson, 1927 ) and best of N follow Equations 5 , 6 and 7 .
Figure 7: General coding, pass@1 (%). (a) LiveCodeBench v6 problems released from February to April 2025. (b) HumanEval+ and MBPP+ with the extended tests. Published values come from the official leaderboards and model cards.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Program
Location
Trigger → effect
Evidence, before → after
Reasoning control
Wait suppression
L31 n4356
always → Wait −6 , other hedges held
loop escapes 1277 of 170, pass 10.220.3%
Loop relay
L19 n6263 → L31 n8873
detected reasoning loop → ends the loop
token-limit hits 399 of 512
Syntax
Binary digits
L31 n5807
after a binary base → digits 2–9 blocked
pass 13.317.2%
Base flip
L23 n4706
binary base before a digit 2–9 → decimal base
20 of 64 targets flipped
Appendix
Table 2: Programs of Kolpona-mini. A relay passes a marker from an early neuron to a late one. Evidence comes from paired runs on practice tasks unless noted.
Round
Main programs added
Pass@1
Gain
95% CI
Better / worse
unedited
–
31.7
1
loop control, binary digits
44.6
+12.8
[ +7.4 , +18.6 ]
45 / 12
2
reset wording, port header
49.0
+17.3
[ +11.2 , +23.4 ]
53 / 10
3
loop relay, parameter relay
54.2
+22.4
[ +16.4 , +28.5 ]
59 / 9
4
syntax guards
55.4
+23.7
[ +17.6 , +30.1 ]
63 / 9
Appendix
Table 3: Qwen3.5-4B alone on VerilogEval v2 after each round of edits (one-shot prompt, two samples per task). Gains are paired against the unedited model, with 95% bootstrap intervals over tasks.
Kolpona (Qwen3.8-27B)
Benchmark
Base
Single agent
Vote
+ long runs
+ judgement
+ directed runs, examples
Best of N
VerilogEval v2
73.1
85.3
89.1
89.7
91.7
94.9
96.2
RTLLM v2.1
66.0
80.8
84.0
84.0
88.0
92.0
96.0
ChipBench
56.7
59.7
66.7
66.7
66.7
66.7
83.3
CVDP cid003
37.2
52.9
61.5
60.3
60.3
59.0
71.8
Kolpona-mini (Qwen3.5-4B)
Appendix
Table 4: Ablation of the delivered pass@1 (%), stage by stage. Each column after the single agent adds one stage of selection to the previous one, and best of N bounds any selection. Base is the unedited model with one answer per task and no tools, and edited is the model of Kolpona-mini under the same protocol, on VerilogEval its model-alone state of Table 3 . Judgement is the confirmed knockout for Kolpona and the unanimous rule for Kolpona-mini.
Table 5: Kolpona-mini with N=5 agents and Kolpona with N=10 agents on Python benchmarks, pass@1 (%). HumanEval+ and MBPP+ show base and plus tests, and their reference values are plus-test scores.
Figure 8: Kolpona on VerilogEval task Prob096. Left, one agent’s conversation, abridged, with the model’s own words in italics. Right, the selection among all candidates and the delivered design.
1SKLP, Institute of Computing Technology, Chinese Academy of Sciences · University of the Chinese Academy of Sciences · School of Advanced Interdisciplinary Sciences