basin
Beware of Sharp Minima: Loss Landscape Geometry Predicts the Generalizability of Hydrological Models
Lee, Max Nghiem, Janssen, Joseph, Lai, Ching-Yao
In hydrology, many parameter configurations exhibit comparable performance on training data, but a (seemingly random) subset of these fail to generalize under climate change, leading to poor post-deployment performance. In this paper, we aim to demonstrate that this failure to generalize may be a result of the underlying structure of the loss landscape at these local extrema. Specifically, we hypothesize that parameter sets at sharp minima have poor generalization ability while parameter sets at flat minima have strong generalization ability. While optimizing for flat minima has gained significant attention in computer science--most notably through algorithms like Sharpness-Aware Minimization (SAM)--these techniques remain largely unexplored in the hydrology community. We evaluate the effectiveness of SAM in finding more generalizable deep learning models using the CAMELS dataset, a standard benchmark in hydrology. By demonstrating the link between flat solutions and improved test accuracy, our work highlights practical, easily implementable methods that hydrologists can use to improve model generalization.
HydroFM: Toward a Hydrological Foundation Model through Process-Informed Adaptation
Bi, Yutong, Liu, Xiaofeng, Yang, Yuan, Dudley, Carson, Magdaleno, Reiden, Currie, William S., Oymak, Samet
Reliable streamflow prediction across diverse watersheds requires models that can generalize beyond the hydrological conditions represented in observational training data. Although time-series foundation models offer broadly pretrained temporal representations, their effective adaptation to hydrological prediction and generalization beyond observed basins remain open challenges. We present HydroFM, a step toward a hydrological foundation model that combines general-purpose temporal pretraining, hydrology-specific architectural adaptation, and process-informed training. Training combines uncalibrated SWAT+ simulations from 56,011 watersheds across the CONUS alongside streamflow observations from 590 CAMELS basins, gradually shifting toward observed data. We evaluate 14-day probabilistic streamflow forecasts on temporally held-out observations and 1,788 unseen basins. HydroFM performs comparably to a task-specific encoder-decoder LSTM on the temporal holdout but achieves much higher skill at the unseen gauges. At day 14, median Nash-Sutcliffe efficiency is 0.713, compared with 0.599 for fine-tuned Chronos-2 and 0.364 for the LSTM. HydroFM also improves probabilistic scores relative to fine-tuned Chronos-2, although prediction intervals under-cover. Within a fixed training-window budget, simulations improve performance beyond the observational training basins while leaving temporal-holdout performance largely unchanged. Gains are largest in small basins and those most similar to the training set at day 1, but shift toward large, strongly regulated, and more novel basins at longer leads. These findings support process-informed adaptation as an important step toward hydrological foundation models.
What Makes a Good Symbol for Hybrid Discrete-Continuous Planning?
Pan, Yiyuan, Liu, Changliu, Mao, Jiayuan
The physical world has continuous state and action spaces, yet robot planning often benefits from hybrid discrete-continuous formulations that explicitly expose combinatorial structure, such as contact modes or discrete primitive actions. Existing methods typically rely on human-defined symbol sets or symbols derived from language supervision, without asking what makes a symbol computationally useful. In this paper, we take an inference-algorithm--centric view to define usefulness: a good symbol should expose the discrete commitments that simplify solving the original planning problem. We first introduce the concept of solver-sufficient symbolization by studying finite-horizon piecewise-affine systems, for which solver sufficiency can be precisely characterized, and develop a counterexample-guided algorithm for symbol invention. We then extend this principle to invent symbols for optimization objectives parameterized by general neural networks as energy functions, showing that solver-sufficient symbols can nevertheless be induced from their continuous optimization landscapes. Experiments on simulated and real-robot tasks show that the resulting symbols reduce solving cost while preserving solution quality, while also improving interpretability and steerability. Furthermore, our theoretical and algorithmic insights help explain why certain human-defined symbols are computationally useful.
CA-EC: Contour-Assisted Evolutionary Computation With Peak Structure Learning
Zhang, Jun, Qian, Tong, Ding, Hua, Yu, Wei-Jie, Zhan, Zhi-Hui, Li, Jian-Yu
The solutions evaluated during the run of an evolutionary algorithm (EA) carry information about the peak structure of the fitness landscape. This paper proposes contour-assisted evolutionary computation (CA-EC), which estimates the locations, heights and shapes of the peaks from the contours (level sets) of a surface interpolating the evaluated solutions and directs the search to unexplored peaks. Peaks are identified by a persistence-filtered merge tree of superlevel sets in two dimensions and by hill climbing with ray-cast level sets in higher dimensions. Around a smooth peak in $d$ dimensions, the volume of the superlevel set raised to the power $2/d$ vanishes linearly at the peak height and its centroid approaches the peak location linearly; fitting these laws to nested level sets extrapolates peak height and location, and second moments give the shape. CA-EA inserts contour steps into a genetic algorithm, differential evolution or particle swarm optimization, each starting local search from the extrapolated location of a peak selected by extrapolated height. CA-SAEA, for expensive optimization, enters each peak at the surface maximum and samples it with the estimated shape within its own trust radius; since maps built from few solutions rank peaks unreliably, it maintains several candidate peaks and progressively reduces them to one. On two-dimensional benchmarks, CA-EA requires substantially fewer evaluations than the underlying EAs; with $50d$ evaluations, CA-SAEA reaches lower errors than DYCORS and TS-DDEO on most functions in five to twenty dimensions, and than DYCORS in thirty.
Game408: Deep Reasoning from Clues to Actions in Long-Horizon Narrative Game Worlds
Wang, Jing, Jin, Modi, Chen, Shichao
Long-horizon narrative reasoning games require agents to integrate clues, retrieve memories, acquire evidence and advance the story through concrete actions. Reasoning and execution are interdependent during interaction, while a shared outcome signal makes it difficult to distinguish errors in intent from failures in execution. To address this problem, we construct Game408, a dataset for game reasoning that provides fine-grained supervision across 54 games, 408 checkpoints, and over 24K human reasoning and action records. Building on Game408, we introduce GameHunter. Supervised fine-tuning establishes reasoning and action generation, followed by stage-wise decoupling through action bootstrapping to focus on execution. Local distillation on autonomous trajectories then jointly trains reasoning and actions for sustained coordination. Experiments show that GameHunter outperforms general-purpose models and existing game agents in both task completion rate and action selection accuracy on long-horizon reasoning games. Ablations validate the effectiveness of stage-wise decoupling and local distillation for autonomous trajectory generation.
Digital-physical testbed for ship autonomy studies in the Marine Cybernetics Laboratory basin
Gezer, Emir Cem, Moreau, Mael Korentin Ivan, Hรธgden, Anders Sandneseng, Nguyen, Dong Trong, Skjetne, Roger, Sรธrensen, Asgeir
The algorithms developed for Maritime Autonomous Surface Ships (MASS) are often challenging to test on actual vessels due to high operational costs and safety considerations. Simulations offer a cost-effective alternative and eliminate risks, but they may not accurately represent real-world dynamics for the given tasks. Utilizing small-scale model ships and robotic vessels in conjunction with a laboratory basin provides an accessible testing environment for the early stages of validation processes. However, designing and developing a model vessel for a single test can be costly and cumbersome, and researchers often lack access to such infrastructure. To address these challenges and enable streamlined testing, we have developed an in-house testbed that facilitates the development, testing, verification, and validation of MASS algorithms in a digital-physical laboratory. This infrastructure includes a set of small-scale model vessels, a simulation environment for each vessel, a comprehensive testbed environment, and a digital twin in Unity for visualization and remote control. With this, we aim to establish a design and verification pipeline that progresses from low-fidelity simulations, through potential-flow-based simulations of each vessel, to model-scale testing in the laboratory basin. Further advancement allows moving towards half-scale validation with R/V milliAmpere1 and full-scale validation with R/V Gunnerus. In this work, we present the testbed and its components and demonstrate its use for early-stage development of ship autonomy guidance, navigation, and control (GNC) algorithms. Model-scale hydrodynamic scaling, thruster characterization, and uncertainty propagation remain limitations for later-stage validation.
Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data
Pham, Bao, Zaki, Mohammed J., Ambrogioni, Luca, Krotov, Dmitry, Negri, Matteo
When do language diffusion models memorize their training data, and how to quantitatively assess their true generative regime? We address these questions by showing that Uniform-based Discrete Diffusion Models (UDDMs) fundamentally behave as Associative Memories (AMs) $\textit{with emergent creative capabilities}$. The core idea of an AM is to reliably recover stored data points as $\textit{memories}$ by establishing distinct basins of attraction around them. Historically, models like Hopfield networks use an explicit energy function to guarantee these stable attractors. We broaden this perspective by leveraging the observation that energy is not strictly necessary, as basins of attraction can also be formed via conditional likelihood maximization. By evaluating token recovery of $\textit{training}$ and $\textit{test}$ examples, we identify in UDDMs a sharp memorization-to-generalization transition governed by the size of the training dataset: as it increases, basins around training examples shrink and basins around unseen test examples expand, until both later converge to the same level. Crucially, we can detect this transition using only the conditional entropy of predicted token sequences: memorization is characterized by vanishing conditional entropy, while in the generalization regime the conditional entropy of most tokens remains finite. Thus, conditional entropy offers a practical probe for the memorization-to-generalization transition in deployed models.
Causal Time Series Modeling of Supraglacial Lake Evolution in Greenland under Distribution Shift
Hossain, Emam, Ferdous, Muhammad Hasan, Dunmire, Devon, Subramanian, Aneesh, Gani, Md Osman
Causal modeling offers a principled foundation for uncovering stable, invariant relationships in time-series data, thereby improving robustness and generalization under distribution shifts. Yet its potential is underutilized in spatiotemporal Earth observation, where models often depend on purely correlational features that fail to transfer across heterogeneous domains. We propose RIC-TSC, a regionally-informed causal time-series classification framework that embeds lag-aware causal discovery directly into sequence modeling, enabling both predictive accuracy and scientific interpretability. Using multi-modal satellite and reanalysis data-including Sentinel-1 microwave backscatter, Sentinel-2 and Landsat-8 optical reflectance, and CARRA meteorological variables-we leverage Joint PCMCI+ (J-PCMCI+) to identify region-specific and invariant predictors of supraglacial lake evolution in Greenland. Causal graphs are estimated globally and per basin, with validated predictors and their time lags supplied to lightweight classifiers. On a balanced benchmark of 1000 manually labeled lakes from two contrasting melt seasons (2018-2019), causal models achieve up to 12.59% higher accuracy than correlation-based baselines under out-of-distribution evaluation. These results show that causal discovery is not only a means of feature selection but also a pathway to generalizable and mechanistically grounded models of dynamic Earth surface processes.
Utilizing Earth Foundation Models to Enhance the Simulation Performance of Hydrological Models with AlphaEarth Embeddings
Qu, Pengfei, Ye, Lei, Ouyang, Wenyu, Zhang, Chi, Chai, Yikai, Xu, Shuolong, Piao, Yongri, Zhang, Miao, Lu, Huchuan
Accurate prediction in ungauged basins (PUB) requires effective transfer across hydrologically diverse regions. While deep learning has advanced large-sample hydrological modeling, its cross-regional generalization depends in part on the static basin descriptors used to guide model behavior. Earth Foundation Models (EFMs) provide a promising alternative by learning environmental representations from multi-modal satellite data. In this study, we evaluate the 64-dimensional AlphaEarth Foundations (AEF) embeddings as a new form of static basin representation and assess their value for streamflow prediction under both in-sample (IS) and out-of-sample (OOS) settings using the CAMELS dataset. Results show that AEF embeddings offer higher OOS robustness than CAMELS attributes, despite nearly identical IS performance. Mutual-information analysis reveals statistical associations between AEF embeddings and conventional catchment attributes related to terrain, vegetation, and rooting characteristics. We further investigate similarity-based donor-basin selection for PUB using CAMELS attributes and AEF embeddings. Across 100 target basins, AEF static inputs generally improved PUB performance. With AEF inputs, similarity-based donor selection outperformed random selection for smaller donor pools, but its advantage diminished as pool size increased. Adding more donor basins did not consistently improve performance. Leave-one-cluster-out experiments showed AEF input benefits depended on basin partitioning, suggesting that transferability remains sensitive to the catchment conditions represented during training. Overall, this study demonstrates that Earth Foundation Model embeddings provide a transferable representation for PUB prediction and underscores the importance of basin representation quality and donor pool design, motivating future research toward unified hydrological foundation models.
The Circuit Basis of Metacognitive Failure in Language Models: Interference and Hallucination
Liang, Qiyao, Miikkulainen, Risto, Fiete, Ila
Language models often answer with high confidence, as measured by output entropy, even when they are wrong. We study two situations that lead to such errors, knowledge conflict, where the context contradicts a fact stored in the weights and the two sources interfere, and missing knowledge, where the fact was never learned and the model hallucinates. To control what the model knows, we fine-tune it on synthetic facts that map arbitrary entity identifiers to random codes, installed through LoRA adapters on the MLP, query-key (QK), or value-output (VO) components of the transformer. Our analysis suggests that MLP is the main substrate for storing facts in basins, regions where a fact's representations converge, while QK steers generation toward a basin or the context, and VO writes the retrieved content into the residual stream. Under knowledge conflict, the form of interference depends on how the fact is learned. A fact learned from a single phrasing yields to the context, with each adapter leaving an error pattern consistent with its circuit role. A fact learned from many phrasings overrides the context, and under contradiction the answer starts on the stored code and drifts away from it. Under missing knowledge, the hidden state reaches no basin, yet every adapter placement produces confident hallucinations, VO most of all. In both situations, output entropy reflects how sharply the model commits rather than whether the answer is correct, even though the model's representations still separate correct answers from errors. Across 12 pretrained models, the hallucination rate falls with scale, but a growing fraction of the remaining hallucinations are confident. In the models we study, the gap between confidence and correctness does not close with scale, and flagging these errors requires confidence that reflects where the answer comes from, rather than how sharply the model commits to it.