arXiv:2608.29665cond-mat.mtrl-sciAug 2026

Manuscript Offprint

arXiv:2608.29665

Evaluating a 4B open-weights local LLM for agentic DFT workflows: a literature reproducibility audit

Shambhu Bhandari Sharma

Abstract

Agentic workflows in materials science relying on hosted commercial models face severe reproducibility, economic, and data-privacy constraints. To explore fully local agentic science, this work evaluates an open-weights qwen3:4b model executing an autonomous scientific pipeline across varying hardware constraints. Applied to pentagonal two-dimensional materials, the system extracts parameters from unstructured text, translates them into density functional theory (DFT) inputs, and drives simulations to convergence under a strict neurosymbolic architecture where agents propose and deterministic code disposes. The workflow is guarded by verbatim text grounding and multi-pass inference unions to counteract hardware-induced structural collapse. Evaluated against 201 expert judgements, the extractor achieves 95.7% precision (95% CI 90.3–98.1%) and 67.3% recall (59.8–74.0%), ensuring extracted parameters are strictly factual. However, precision identifying absent parameters does not exceed 47.0%, establishing that the measured omission rate constitutes a loose upper bound on true literature incompleteness. Across three hardware configurations, complete GPU residency governs extraction quality more fundamentally than weight or cache precision, raising Matthews' correlation from 0.414 to 0.530 at fixed quantisation, and to 0.560 with an unquantised cache. A corpus-scale audit indicates only 19 (33.3%) of the 57 studies are reproducible in principle, reporting every method parameter needed to re-initialise the calculation. Driven to convergence, the workflow reproduces published lattice constants with a mean absolute relative error of 2.3% where the relaxed structure retains its prototype, establishing that lightweight open-weights models can reliably drive autonomous agentic workflows when bounded by deterministic code gates.

Keywords: agentic workflows; open-weights LLM; local inference; neurosymbolic architecture; reproducibility auditing; density functional theory; information extraction; penta-monolayers; two-dimensional materials

1 Introduction

Large language model (LLM) agents are already driving autonomous workflows across computational chemistry and materials science. Recent pipelines span the entire research lifecycle, from coupling expert tools for chemical planning and executing robotic synthesis [1–3], to orchestrating density functional theory (DFT) calculations through hierarchical multi-agent frameworks [4, 5]. Within materials informatics, transformer-based architectures have firmly established the viability of extracting composition-property records at corpus scale [6, 7]. These systems depend on grammar-constrained decoding to ensure parseable output and strict grounding techniques to verify generated statements against source texts [8], and must confront known reproducibility issues with non-deterministic floating-

point math during inference [9].

However, almost all of these agentic systems share a critical dependency: they are driven by hosted, closed-weight frontier models. This reliance on commercial APIs introduces significant operational and epistemological vulnerabilities. A workflow tied to a commercial key ceases to run when the endpoint is repriced, the model is reversioned, or the key expires, meaning long-term reproducibility is never guaranteed. Furthermore, metered inference is billed per token, making iterative debugging prohibitively expensive. Frontier inference also carries a measurable energy cost per query [10]. Crucially, much computational chemistry operates on isolated networks where proprietary data cannot be sent to third-party endpoints, rendering cloud-hosted models unusable.

Fortunately, capability on agentic tasks appears to depend more on interface design than raw param-eter count. Recent studies demonstrate that tool-augmented smaller models can outperform larger unconstrained baselines [11]. A 4B retrosynthesis planner surpasses a 7B reasoning baseline given a constrained tool interface [12], and 7-8B chemistry agents on a consumer GPU have matched datacentre-hosted equivalents [13].

While the Δ\Delta-project established that independent DFT codes agree closely given identical inputs [14], it presupposed that methodological parameters are completely and transparently reported in the source text. Whether computational literature, spanning both peer-reviewed articles and preprints, provides sufficient methodological transparency to enable autonomous simulation recomputation across an entire corpus remains completely untested in density functional theory.

This work applies a fully open-source, local agentic workflow to address this critical gap: how often does a first-principles study report sufficient parameters to permit independent replication? Every component runs locally and unmetered, on an open-weights qwen3:4b model [15] on a single local GPU via Ollama [16] and the SIESTA electronic structure package [17]. Bounding the model's autonomy is the central architectural constraint: agents select among named options rather than free-form arguments, and every proposal passes a deterministic code gate before reaching a calculation or tally [18].

The contributions are threefold: a neurosymbolic architecture spanning extraction, input translation, and autonomous execution; a taxonomy of silent failure modes including head-truncated prompts and structural collapse under incomplete GPU residency [19]; and a case study auditing 57 first-principles studies of pentagonal lattice-based [20] two-dimensional materials, recomputing published lattice constants against fresh SIESTA calculations.