NetBench
What does domain adaptation teach a language model about high-performance networking?
- Status
- Released v1.1.0 · paper under review
- Authors
- Licence
- Code Apache-2.0 · data CC-BY-4.0
The problem
Teams adapt general language models to a specialist field in three ways: they fine-tune them, continue their pre-training on domain text, or give them retrieval over a document store. NetBench asks what each of those methods actually changes about what a model knows of high-performance networking: bulk data transfer, congestion control, bottleneck diagnosis, and the parameters that govern them.
Why it is hard
- The questions have to come from the research literature and be answerable from it, without leaking into the data the models are trained on.
- A fair comparison needs every model to answer the same items under the same protocol. Retrieval also sees source passages that closed-book models never do, so its advantage has to be reported separately.
- LLM judges grade at scale, but their scores mean little until people check them.
- With a couple of hundred questions, statistical significance is easy to reach. Whether a difference matters has to be decided before anyone looks at the results.
My role
I am the first author of NetBench, with R. M. Swargo and Dr. Md Arifuzzaman. All three of us reviewed every question in the benchmark, and that review removed 9 of the 242.
The approach
One data pipeline feeds six self-contained modules, from collecting papers to the analysis that produces every table and figure. Local open-weight models write, validate, and calibrate every benchmark item; no paid API generates or filters any of them.
- Collect papersAcquire open-access PDFs and remove duplicates.
- Build the corpusConvert PDFs to cleaned text.
- Generate dataWrite the HPN-QA benchmark and separate instruction-tuning data.
- Adapt and answerFine-tune, pre-train, or add retrieval, then answer every item.
- Judge and analyseLLM judges score; analysis code builds every table and figure.
The benchmark, HPN-QA
HPN-QA has 242 open-ended questions, 233 of them scored, generated from 175 open-access publications. Each answer is graded against a reference on correctness, completeness, clarity, and conciseness. The items fall into 10 categories, deliberately uneven because they follow the literature's own emphasis, and four splits: 200 test, 30 dev, 8 adversarial, and 4 synthesis items that combine two papers.
Explore the benchmark
Pick a category, a difficulty, or a question type, and open any reference answer. The items expert review removed can be shown with the reason for each.
Six sample questions from the test split. With JavaScript on, every question can be filtered and read.
In the context of high-speed interconnects like InfiniBand, what is the fundamental difference between using the IPoIB (IP over InfiniBand) protocol versus the native RDMA (Remote Direct Memory Access) interface?
Reference answer
The primary difference lies in the transport layer and overhead. IPoIB allows for the use of the TCP/IP protocol stack over the InfiniRand fabric, which introduces significant processing overheads such as interrupt handling and kernel-level buffer management. In contrast, the native RDMA interface (ibverbs) allows for direct memory-to-memory transfers between applications on different nodes, bypassing the CPU and the heavy TCP/IP stack. This reduction in software overhead is critical for achieving the low latencies (as low as 1.3 microseconds) and high bandwidths offered by modern high-speed interconnects.
Why is it insufficient to use simple queuing delay measurements at a single point in time to distinguish between elastic and inelastic cross traffic?
Reference answer
A single-point measurement of queuing delay fails because a flow's share of queue occupancy is fundamentally proportional to its throughput, regardless of whether the competing traffic is elastic or inelastic. In both scenarios, if the throughput of the flows remains the same, the resulting queue occupancy and self-inflicted delay will appear nearly identical. Therefore, observing a spike in delay does not reveal the underlying nature of the competing traffic; one must instead observe how the cross-traffic rate fluctuates in response to controlled perturbations to determine if it is reacting to available bandwidth (elastic) or not (inelastic).
In the context of high-performance networking, what are the consequences of incorrectly sizing router buffers for long-lived TCP Reno flows?
Reference answer
For a single TCP Reno flow, the classic rule of thumb is that the buffer size should be at least one BDP. This ensures that even when the congestion window is reduced due to packet loss (e.g., by half), there is enough buffered capacity to prevent the sender from running out of in-flight data, thereby maintaining 100% link utilization. If the buffer is smaller than the BDP, the link may experience periods of underutilization during the recovery phase of the congestion control algorithm.
In the context of prediction-guided network control, what is the purpose of a 'model residual' and how is it utilized to improve performance estimation?
Reference answer
A model residual represents the discrepancy or difference between the performance predicted by a fast, approximate simulator and the actual measurements observed on the live network system. Instead of relying solely on the potentially inaccurate simulator, the control system uses an online-learned corrective overlay to capture this residual. By integrating this error term back into the predictive process, the system can use a corrected version of the model that more accurately reflects real-world performance, thereby enabling more precise optimization of network configurations while maintaining a safety envelope.
Why does a multi-hop, connection-splitting approach offer a deployment advantage over traditional end-to-end congestion control mechanisms that require explicit rate feedback from every router?
Reference answer
Traditional explicit rate feedback schemes are difficult to deploy because they necessitate updates to every router along the entire network path. In contrast, a connection-splitting approach, such as the one used in LGCC, allows for the deployment of specialized congestion control mechanisms specifically on the wireless segments. This can be achieved by updating only the end systems and introducing intermediate controllers at loop intersection points, thereby avoiding the need to modify the entire internetwork infrastructure and reducing the deployment barrier.
Why must SUSS implement packet pacing alongside the accelerated congestion window growth, and what specific network failure mode is this intended to prevent?
Reference answer
SUSS implements packet pacing to manage the increased density of data packets resulting from the accelerated expansion of the congestion window. Without pacing, the rapid surge in the window size could cause a high-density burst of packets to be released into the network simultaneously. This sudden burstiness can lead to short-term buffer overflows at the bottleneck router, causing packet loss and potentially triggering premature congestion signals. Pacing ensures that the additional data is spread out over the RTT, maintaining a controlled transmission rate and preventing the negative consequences of traffic surges.
Difficulty is measured, not authored: a three-model calibration ladder answered every item. Reference answers are model-written and were reviewed by all three authors. Source quotes are left out because they belong to the cited papers. Data: HPN-QA v5.0, NetBench, CC-BY-4.0.
Decisions
- Measure difficulty instead of assigning it. A weak, a mid-sized, and a strong model answer every item, and the label records which of them succeed: 77 easy, 99 medium, and 66 hard. The ladder overrode the generator's own guess on 144 of 242 items.
- Run cheap, auditable checks before any LLM critic. Schema checks, exact quote matching against the source, an 8-gram leak check against the training corpus, and near-duplicate removal carry the load. An LLM critic comes last, and an item gets one rewrite at most.
- Keep closed-book and retrieval results apart. Retrieval sees passages the other variants never do, so a gap between them is an information-access effect, reported in its own table and never as model quality.
- Fix the statistics before reading the results. Paired Wilcoxon tests with Benjamini–Hochberg correction at q = 0.05, plus a rule that a difference counts only if it moves at least 0.25 on the 1–5 scale, has an effect size d_z of at least 0.2, and is significant.
- Ship the excluded items, flagged. The 9 questions expert review removed stay in the release with their reasons, so anyone can audit how 242 became 233.
The study
Eight open-weight models from 1B to 27B parameters answer every item in up to eight variants, alongside three frontier API models answering closed-book. Two independent LLM judges score every answer, and a two-expert human study validates the primary judge.
| Model | Closed-book | With retrieval (RAG) | ||||||
|---|---|---|---|---|---|---|---|---|
| Instruct | LoRA SFT | Full SFT | CPT + SFT | LoRA CPT + SFT | Instruct | CPT + SFT | LoRA CPT + SFT | |
| Small | ||||||||
| llama-3.2-1b | 2.40 | 2.73 | 2.68 | 2.77 | 2.82 | 2.93 | 3.01 | 3.12 (best for this model) |
| gemma-3-1b | 2.40 | 2.62 | 2.63 | 2.52 | 2.74 | 3.02 (best for this model) | 2.84 | 2.91 |
| qwen3.5-2b | 2.63 | 3.24 | 3.32 | 3.45 | 3.35 | 3.88 | 3.90 | 4.00 (best for this model) |
| Medium | ||||||||
| llama-3.1-8b | 3.30 | 3.55 | 3.42 | 3.56 | 3.55 | 3.96 | 4.09 | 4.11 (best for this model) |
| qwen3.5-9b | 3.71 | 3.72 | 3.71 | 3.82 | 3.81 | 4.36 (best for this model) | 4.32 | 4.27 |
| gemma-3-12b | 3.61 | 3.49 | 3.52 | 3.54 | 3.54 | 4.30 (best for this model) | 4.10 | 4.14 |
| Large | ||||||||
| gemma-3-27b | 3.80 | 3.64 | 3.50 | not run | 3.71 | 4.43 (best for this model) | not run | 4.14 |
| qwen3.5-27b | 4.14 | 4.03 | 3.99 | not run | 4.09 | 4.53 (best for this model) | not run | 4.47 |
| API baselines | ||||||||
| gpt-4o | 4.22 | not run | not run | not run | not run | not run | not run | not run |
| gemini-2.5-pro | 4.36 | not run | not run | not run | not run | not run | not run | not run |
| claude-sonnet-4-6 | 4.40 | not run | not run | not run | not run | not run | not run | not run |
Five research questions frame the study: which adaptation recipe moves networking knowledge, how consistent the effects are across model families and sizes, what retrieval adds compared with changing the weights, how close adapted open models come to frontier APIs and at what inference cost, and how often statistical significance overstates a difference that matters.
make reproduce regenerates every CSV, table, and figure behind the paper from the committed judged outputs, and fails if anything comes back different. It runs on every push.
The paper is under review. The table shows its headline scores; the analysis behind them will appear here once it is published.
What's next
The paper comes first. The release is honest about its limits: each run used a single seed, the benchmark itself is model-generated and then expert-reviewed, and the API baselines were not run with retrieval. Source PDFs, the text corpus, and model weights are not redistributed, and the repository explains which steps can be re-run and which cannot.
Links and citation
Code on GitHub ↗Zenodo archive ↗Benchmark card ↗
N. H. Neom, R. M. Swargo, M. Arifuzzaman. NetBench, v1.1.0. Zenodo, 2026. doi:10.5281/zenodo.21892017