A Skill-Guided LLM Agent for Process-Aware Calibration of Large-Scale Hydrological Models: Demonstration with VIC v5.1.0
Abstract. Calibrating large-scale hydrological models is challenging because heterogeneous land-surface processes and parameter interactions complicate error diagnosis and physically meaningful parameter adjustment. Conventional optimization can identify high-performing parameter sets but provides limited process-level explanations. Although large language models (LLMs) offer opportunities for knowledge-guided calibration, explicit hydrological reasoning linked to testable adjustment hypotheses and simulation-based verification remains underdeveloped. We develop a Skill-guided LLM agent for process-aware calibration. The framework organizes hydrological knowledge into reusable procedural guidance through four domain-specific Skills: Diagnosis, Adjustment, Evaluation, and Verification. In a closed-loop workflow, the agent interprets streamflow error signatures, formulates process-level hypotheses, proposes physically constrained parameter adjustments, and evaluates their effects through deterministic simulations. The framework was implementedusingVICv5.1.0 coupled with RVIC in the Jialing River Basin. Under the same model-evaluation budget, it was compared with an LLM-based approach without Skill guidance and the SCE-UA algorithm. Relative to the baseline parameter configuration, the Skill-guided approach increased the Nash–Sutcliffe efficiency (NSE) from 0.690 to 0.716 and reduced mean absolute peak-timing error across the same stations and flood events from 23.22 to 9.89 days. Improvements were not consistent across all hydrological signatures. Calibration trajectories showed how process diagnoses informed parameter interventions and how simulation feedback supported their verification. Local sensitivity analysis showed that parameter sensitivities differed between the initial and optimized configurations. These results demonstrate the feasibility of integrating structured hydrological knowledge, LLM reasoning, and deterministic simulations into a traceable, hypothesis-driven calibration framework for process-based hydrological models.
This manuscript proposes a Skill-guided LLM framework for VIC model calibration. The idea is interesting, particularly the attempt to integrate hydrological knowledge with iterative model evaluation. However, I have several major concerns regarding the fairness of the experimental comparisons and the implementation of the proposed framework.
My examination of the archived code also suggests several discrepancies between the manuscript and the actual implementation. Moreover, several elements of the repository suggest that substantial parts of the research workflow may have been carried out using AI agents, with little evidence of adequate human review or validation of the resulting code and outputs. These concerns further undermine my confidence in the reliability of the reported results. I cannot recommend the manuscript for publication.
Major Comments:
1. The manuscript repeatedly states that all methods were compared under the same evaluation budget. However, run_noskill_oneshot.py indicates that NoSkill-LLM was evaluated using a single parameter proposal and one VIC–RVIC simulation, whereas Skill-guided LLM received up to 50 iterations with simulation feedback. This comparison therefore confounds the benefit of Skill guidance with that of iterative optimization. The GLM run also appears to stop after 19 evaluations, while DeepSeek was extended from 30 to 50 evaluations. The authors should clarify the actual budgets and provide a controlled comparison with equal feedback opportunities.
2. Section 3.2 describes 2016–2018 as an independent validation period. However, agent.py appears to evaluate validation NSE during calibration, reject candidates when validation performance deteriorates, and include validation metrics in the LLM's history. If this code was used in the reported experiments, the validation period was not independent.
Furthermore, the archived scripts suggest that ERA5 precipitation was multiplied by 0.89 before calibration, improving baseline NSE from 0.252 to 0.690. This substantial forcing adjustment is not adequately documented. The authors should clarify the preprocessing steps and repeat the evaluation using a genuinely independent validation period. Notably, the best Skill-guided DeepSeek configuration shows no validation NSE improvement over the baseline (0.644 versus 0.644, Table A2).
3. The repository README indicates that the three-layer architecture was adapted from Community HydroAgent, which is not cited in the manuscript. The authors should clarify the relationship to this framework and distinguish their original contributions from existing approaches.
In addition, Section 2.2 describes four Skills, but _registry.json defines five workflow steps, with only Diagnosis and Adjustment apparently provided directly to the LLM. The Verification Skill is not separately implemented as described, and some proposed components appear inactive. The manuscript should more accurately reflect the actual implementation and explain which components contribute to the reported results.
4. The SCE-UA implementation appears to use a linear multiplier range of [0.1, 500.0] for Ds, resulting from its small baseline value (0.001). Uniform sampling over this range heavily favors parameter values far from the baseline, potentially compromising optimization efficiency within only 50 evaluations.
In contrast, the LLM is guided toward relatively small local parameter adjustments. Table 4 shows that simply increasing depth by 20% improves NSE from 0.690 to 0.6978. The failure of SCE-UA to improve the baseline may therefore reflect its configuration rather than an inherent advantage of LLM-based calibration. A better-conditioned SCE-UA setup or an alternative low-budget optimizer, such as DDS, would provide a fairer benchmark.
5. The reported reduction in peak-timing error from 23.22 to 9.89 days is presented as an important hydrological improvement. However, Fig. 4b suggests that the metric is based on differences between observed and simulated annual maximum-flow dates rather than matched flood events.
In years with multiple storms, the annual maxima may correspond to different events. Consequently, changes in relative peak magnitude can alter the calculated timing error without improving the simulated timing of individual floods. This is particularly concerning given the reported errors of several tens of days.
The authors should provide the exact metric definition, annual peak dates, and event-matching procedure. An event-based timing evaluation would be more appropriate for supporting the claimed improvement in flood-response dynamics.
6. The archived materials appear insufficient to reproduce the reported experiments. Several required configuration files, preprocessing scripts, and calibration logs are missing, while the code contains hardcoded local paths and limited documentation.
The LLM configuration also raises concerns: llm_clients.py appears to contain undocumented third-party proxy, while model names differ across the code and manuscript. The original prompts are written in Chinese?
The authors should provide a complete, runnable experimental package, including model configurations, preprocessing scripts, prompts, calibration traces, and clear documentation of the LLM models and endpoints used. Any exposed credentials should also be removed and revoked.
Minor Comments
1. Missing spatial validation results. Section 3.1 states that additional stations were used for spatial transfer evaluation, but no corresponding results are presented. Please provide these results or revise the description.
2. Section 2.3.2 describes six diagnostic categories, whereas scheme_library.py defines seven. The NSE verification tolerance and hypothesis-verification logic also appear to differ from the manuscript. These discrepancies should be clarified.
3. Several typographical errors remain, including "Dsicussion," "Conslusion," and "interpretatio." Figure labels and captions also need proofreading. Table A1 combines GPT and GLM results without sufficient explanation, and the reference entries for Prakash and Mishra and McMillan should be checked.