arXiv:2610.10850cs.LGOct 2026

Manuscript Offprint

arXiv:2610.10850

Similar Predictive Fit but Different Latent Dynamics: Characterizing Learned Dynamical Structure in Personalized Models of Brain Disorders

Rita Huan-Ting Peng, Nhat Bui

Abstract

As AI models move toward clinical decision-making and personalized treatment, understanding what a model learns becomes important beyond predictive accuracy alone. This is particularly relevant in clinical populations, where patients are heterogeneous and latent representations learned by large-scale models remain difficult to interpret. We investigate whether personalized latent dynamics can reveal clinically associated differences even when predictive fit is similar. We employ a lightweight CNN–Transformer EEG foundation model, pretrained on the large-scale Temple University EEG Corpus (TUEG), to extract segment-level EEG representations. Using the Temple University Epilepsy Corpus (TUEP) as a clinical testbed, these representations are mapped to a shared latent-state space, and sparse multinomial logistic transition distributions (mLTD) are fit independently to each subject to obtain personalized latent transition-dependency graphs WnW_n. Group analyses use n=198n=198 labeled subjects (99 epilepsy / 99 non-epilepsy). At k=4k=4, epilepsy subjects exhibit substantially denser learned dependency structure than non-epilepsy subjects (mean nonzero dependencies: 10.01 vs. 5.67; Mann–Whitney p=1.1×10−7p=1.1 \times 10^{-7}), with the same group-level pattern observed at k=6k=6 (19.90 vs. 13.46; p=5.2×10−5p=5.2 \times 10^{-5}). Graph-derived features retain moderate subject-level group discrimination under stratified 5-fold subject-wise cross-validation (AUROC 0.68 at k=4k=4 and 0.65 at k=6k=6). In contrast, within-subject held-out log-likelihood is nearly identical between groups at k=4k=4 ( −0.992-0.992 vs. −0.991-0.991; p=0.95p=0.95), and next-state prediction is similarly matched (AUROC 0.855 vs. 0.861; p=0.54p=0.54). Therefore, similar predictive fit does not imply similar learned dynamics: the two groups are comparably predictable under their personalized models while differing substantially in the internal dynamical structure learned by those models. This distinction is important even before individual latent states acquire clinical interpretation, because predictive equivalence alone is insufficient to establish that personalized models have learned equivalent internal dynamics. These findings motivate complementary evaluation of predictive validity and learned dynamical structure before extending such models toward intervention-aware patient world modeling.

Keywords: patient world models; personalized dynamical models; EEG foundation models; latent dynamics; epilepsy; transition-dependency graphs.

1 Introduction

Artificial intelligence (AI) is increasingly being developed for clinical applications, including personalized treatment and intervention-related decision-making [Rajpurkar et al., 2022, Vasey et al., 2022]. In neurological disorders, machine-learning approaches are also being explored for personalized and adaptive interventions, including closed-loop brain stimulation [Chandrabhatla et al., 2023]. Patient world models extend this direction by seeking to represent how an individual's state evolves over time and, ultimately, how that trajectory may change under intervention. Nevertheless, the development and evaluation of AI models still focuses heavily on predictive performance, while providing more limited understanding of what information these models learn internally. This issue becomes increasingly important as models are pretrained on large-scale heterogeneous data and transferred across tasks, populations, or disorders, as in foundation models [Rajpurkar et al., 2022]. In clinical applications, limited understanding of learned representations may introduce uncertainty into their interpretation and use for decision-making. This issue is particularly relevant because patient populations are heterogeneous, disease-related alterations may differ substantially across individuals, and learned latent states often lack definitive state-level clinical ground truth. A model may therefore achieve good predictive performance without clearly revealing what patient-specific information it has learned.

This challenge is particularly relevant for neurological disorders, where brain activity is inherently dynamic and disease-related alterations may be expressed not only in static neural patterns, but also in how neural states evolve over time. Epilepsy provides a particularly clear example: it has long been conceptualized as a dynamical disorder involving transitions among different brain states, and contemporary work increasingly emphasizes the time-evolving organization of epileptic brain networks [Da Silva et al., 2003, Bröhl et al., 2024]. EEG directly measures electrical brain activity with high temporal resolution, making it well suited for investigating such temporal organization. For personalized patient models, it is therefore important not only to identify latent brain states, but also to characterize how these states evolve over time and how previous states are related to future states. However, comparable predictive performance does not necessarily indicate that personalized models have learned similar temporal organization. Even when subject-specific models achieve comparable predictive fit, their learned patterns of temporal dependencies may differ substantially across individuals or clinical groups. Predictive performance alone may therefore overlook clinically associated differences in the dynamical structure learned by these personalized models. This leads to a simple but important question:

If personalized models achieve similar predictive performance, does this necessarily mean that they have learned similar temporal dynamics?

We therefore test the hypothesis that similar predictive fit does not necessarily imply similar learned latent dynamical structure.

Motivating progression. Preliminary analyses from the same research program provide two earlier levels of evidence motivating the present study (Appendix A). First, our lightweight EEG foundation model was pretrained on approximately 18,800 hours of the large-scale Temple University EEG Corpus (TUEG) and demonstrated competitive frozen cross-disorder transfer on Temple University Hospital Abnormal EEG Corpus (TUAB) and Temple University Epilepsy Corpus (TUEP), with an elbow near k=4 for latent-state discovery. Second, comparison with an independently pretrained encoder (LUNA-Base) showed that absolute state-occupancy patterns were strongly encoder-dependent, whereas occupancy-informed alignment yielded descriptive concordance of epilepsy-associated occupancy changes ( rΔ=0.96r_{\Delta}=0.96; exploratory). Building on these findings, we move beyond representation and state occupancy to subject-specific temporal dynamics. State occupancy describes where and how often a subject visits latent states, but not how the subject moves between them.

Present study. We investigate this question using scalp EEG, with epilepsy as a clinical testbed. Using the TUEP [Obeid and Picone, 2016], frozen representations from our EEG foundation model are mapped to a shared latent-state space, and the temporal dependencies among these states are modeled independently for each subject using multinomial logistic transition distributions (mLTD) [Tank et al., 2021]. For each subject, mLTD estimates a sparse latent transition-dependency graph WnW_{n} that summarizes predictive temporal dependencies among latent states. We then evaluate the resulting personalized models from two complementary perspectives. First, predictive validity asks whether an individual's model can predict that same subject's held-out trajectory. Second, characterization of learned dynamical structure asks how the model organizes temporal dependencies within that individual and whether this organization contains clinically associated information.

Our goal is not to classify epilepsy, but to use epilepsy versus non-epilepsy as a clinical contrast to examine whether similar predictive fit can be associated with different learned dynamical structures.

Contributions. We (i) separate within-subject predictive validity from characterization of learned dynamical structure; (ii) demonstrate a fit–structure dissociation that is robust across k=4 and k=6 latent-state resolutions; and (iii) show that personalized dependency structure contains moderate epilepsy-associated information. These results motivate structural characterization before extending personalized dynamical models toward intervention-conditioned patient world modeling.

The present study is observational and presents this pipeline as an intermediate step for evaluating personalized dynamical models before their extension toward intervention-aware clinical applications.