Manuscript Offprint

arXiv:2610.12325

Prior or Feedback? What an LLM Uses When Adapting Neural Operators

Julian Chan, Javier Mora Jimenez

Abstract

Do LLM scientific agents rely only on their initial task context, or do they adapt their decisions in response to experimental feedback? We study this question in neural operator adaptation, where a large language model (LLM) selects fine-tuning configurations under a limited trial budget. Across transfers within and between partial differential equation (PDE) families, the LLM achieves lower held-out test nRMSE than random search and Bayesian optimisation in nearly every matched comparison. Endpoint performance alone cannot distinguish what happens, so we verify each attribution with controlled interventions. Before observing any validation score, the LLM's first configuration already ranks near the top of the corresponding random-search pool, indicating a useful initial bias. A complementary cold-start intervention shows that the selected base learning rate shifts with the PDE description. Once feedback becomes available, reassigning validation scores among evaluated configurations changes the next proposal in every case tested, whereas a value-preserving rewrite produces no comparable aggregate effect. These interventions establish that the LLM's decision-level actions respond to the given task and observed outcomes, showing that it combines a task-dependent prior with sensitivity to experimental feedback.

1 Introduction

Scientific agents operate sequentially: they propose actions, observe outcomes, and decide what to try next. Recent LLM-based systems extend this loop to hypothesis generation and refinement [Lu et al., 2024, Gottweis et al., 2026]. As such systems run more autonomous experiments, trusting their conclusions increasingly requires checking whether their decisions respond to the evidence they collect. Once the sequence ends, a benchmark score measures overall performance but does not reveal which inputs shaped each decision.

We study this distinction in a bounded experimental loop where a frozen large language model (LLM) selects fine-tuning configurations for a pretrained neural operator. The LLM adaptation policy can propose and revise configurations, but cannot alter the data, action space, trial budget, or external evaluation protocol. At each search trial, the selected configuration is executed and scored.

The LLM receives a natural-language description of a target partial differential equation (PDE), the history of previously evaluated configurations and validation scores, and training diagnostics. Before the first evaluation, only the problem description is available. We use cold-start prior to denote the preference induced by the LLM policy at this stage. The term refers to policy behaviour and does not imply pretrained knowledge of the underlying physics. After the first evaluation, subsequent proposals can additionally depend on validation feedback. We therefore ask whether the cold-start prior provides a useful starting point and whether later experimental outcomes causally change the policy’s actions.

∗^{*}Equal contribution.

Accepted at the AI for Science workshop (NeurIPS 2026).

We study these questions using a pretrained Fourier neural operator (FNO), a neural operator architecture for learning solution maps between function spaces [Li et al., 2021, Kovachki et al., 2023]. We fine-tune this FNO after the target physical regime shifts away from its pretraining distribution. Such shifts can degrade surrogate accuracy, and recent work addresses them through model scaling or broader pretraining across PDE families [McCabe et al., 2023, Herde et al., 2024, Hao et al., 2024, McCabe et al., 2026]. We instead hold the pretrained checkpoint and target-regime data fixed and study how effectively different policies configure adaptation under a small experimental budget. This setting reflects applications in which target-regime data are costly to generate and only a limited number of fine-tuning attempts are feasible [Carey et al., 2025, Luna Gutierrez et al., 2026]. Best practices for adapting these models remain unsettled [Medvedev et al., 2026, Song et al., 2026], and configuring the adaptation calls for machine learning expertise that domain scientists often do not have [Liu and Wang, 2026]. At each trial, a policy selects the optimiser, schedule, base learning rate, parameter-block multipliers, weight decay, rollout length, data loss, and two auxiliary physics-loss weights, then fine-tunes a fresh copy of the FNO. Model size and epochs are fixed across policies and excluded from the action space, so performance differences arise only from configuration choices. Each policy receives 20 trials to identify settings that transfer well.

We compare policies with progressively richer information. Random search uses neither problem context nor previous outcomes, whereas a Tree-structured Parzen Estimator (TPE), which handles mixed categorical and continuous spaces, models the observed configuration–score history [Bergstra et al., 2011, Akiba et al., 2019]. The LLM receives this same history together with the PDE description and training diagnostics. All three policies operate under the same 20-trial budget, but differ in their proposal mechanisms, computational cost, and available information. Endpoint performance can therefore show whether the LLM is competitive under this budget, but not which of its additional inputs influence its decisions. This motivates the controlled input interventions below.

We test which displayed inputs shape those decisions by intervening on one input at a time: at cold start we vary the displayed problem description, and once a history has accumulated we reassign validation scores among the evaluated configurations. Neither intervention retrains the policy or alters the downstream optimisation task.

References (57)