Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Data driven multiscale modelling of paroxysmal brain transitions using DC-coupled electrophysiological data

  • Amirhossein Jafarian ,

    Roles Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Project administration, Software, Validation, Visualization, Writing – original draft, Writing – review & editing

    aj631@cam.ac.uk

    Affiliation MRC Cognition and Brain Sciences Unit, University of Cambridge, Cambridge, United Kingdom

  • Rob C. Wykes

    Roles Conceptualization, Data curation, Writing – original draft, Writing – review & editing

    Affiliations Research Department of Epilepsy, UCL Queen Square Institute of Neurology, London, United Kingdom, Centre for Nanotechnology in Medicine & Division of Neuroscience, University of Manchester, Manchester, United Kingdom

Abstract

We introduce a novel parameter estimation framework for a slow-fast neuronal model using DC-coupled electrophysiological data recorded from the WAG-Rij rat model of generalised seizures. In this animal model, fluctuations in extracellular potassium concentrations are hypothesised to drive infra-slow oscillations () that precede spike-wave discharges. We construct a biophysically motivated slow-fast dynamical system in which seizures are triggered by fluctuations in extracellular potassium concentrations to model the in vivo observations. Specifically, we interpret s dynamics (mathematically) as the integral transform (or low-pass filter) of extracellular potassium concentrations, facilitating real time tracking of physiological states. Model parameters are estimated from empirical data, using an expectation-maximisation approach that optimises a regularised likelihood function, while biological states are inferred through the unscented Kalman filter. The inferred model allows tracking changes in latent proxy of extracellular potassium concentrations from DC-coupled electrophysiological recordings (exhibiting paroxysmal transitions) under the assumption that in our preclinical model extracellular potassium dynamics contribute to seizure generation. We validate the consistency of inferred hidden biological states across longer datasets containing multiple seizure events that were not utilised during parameter estimation. The results demonstrate that s provide sufficient information to infer latent ionic dynamics and support the conceptualisation of seizure onset as bifurcation-driven transitions modulated by the ionic changes.

Introduction

Infra-slow neuronal oscillations (), defined as brain activity in the frequency range [1] encode critical information about brain dynamics including sleep regulation [25], resting-state networks [6,7], and neurological conditions such as epilepsy [811]. These slow oscillations are thought to arise from after-hyperpolarisation of ionic concentrations [1217]; long-lasting hyperpolarising potentials associated with astrocyte buffering of potassium dynamics [1821]); and network dynamics [2224]. Unlike conventional AC-coupled recordings, which capture high-pass filtered neuronal signals, DC-coupled recordings detect neuronal activity across a wider frequency range, including , offering a valuable biomarker for seizure transition [10]. We recently demonstrated that the use of DC-coupled electrophysiological recordings substantially enhances the precision and translational relevance of neuronal models of seizure dynamics [25].

In this study, we provide a data-driven framework for modelling laminar DC-coupled recordings from the WAG-Rij rat model of generalised seizures [10]. These recordings exhibit quasi-periodic paroxysmal transitions, that coincide with the rising phase of s. We hypothesise that are mathematically proportional to the leaky integral transform (or low pass filter) of extracellular potassium concentrations, which modulate seizure susceptibility. Our approach therefore should be considered as hypothesis-driven identification framework, rather than as direct measurements of extracellular potassium concentrations.

To capture the phenomenology of paroxysmal transitions in the animal model, we combine a well-established cortical column model [26,27] with laminar-specific slow extracellular potassium concentrations ( changes [28,29] building on prior empirical evidence, e.g., [3032]. The model separates fast neuronal dynamics (e.g., membrane potentials and synaptic activity) from activity-dependent potassium concentration dynamics enabling paroxysmal transitions autonomously, e.g., [29,3340]. The slow dynamics guide the fast subsystem across bifurcation points, leading to limit cycles or return to resting states. The bifurcation structure of the slow-fast model allows for smooth or abrupt transitions depending on , reflecting the heterogeneous seizure onset patterns observed in vivo.

Dysregulation of extracellular potassium concentrations could result in active DC shifts and ’s in electrophysiological recordings, which may contribute to seizure initiation [18,28,3032]. During the pre-ictal phase, neurons begin to fire rapidly but remain desynchronised, making their effects on local field potentials () subtle. However, as neuronal firing rates increase, extracellular potassium concentrations are expected to increase, potentially contributing to the DC shift in just before seizure onset [41]. Once the extracellular potassium concentration approaches or crosses a critical threshold, seizures are triggered. Alternatively impaired potassium buffering or clearance following neuronal activity elevates extracellular potassium constrain, and its slow removal by astrocytes and pumps causes rhythmic build-up and clearance. This cycle of excitability and recovery generates ’s in the . Our core hypothesis is that serve as an observable proxy for the underlying potassium concentrations dynamics in this model of absence epilepsy. By using DC-coupled data and modelling s as proxy of changes in extracellular potassium we develop a novel hypothesis-driven inference scheme for the multiscale slow-fast model of paroxysmal transitions.

A graphical illustration of the data-driven modelling framework is shown in Fig 1, comprising three main components: (i) specification of auxiliary observation equations (‘slow observations’) that mathematically link slow states to infra-slow oscillations; (ii) application of a regularised likelihood approach for data-driven modelling; and (iii) demonstration of the consistency and reproducibility of latent state estimation on unseen data. Glossaries of model variables are provided through Table 1–3.

thumbnail
Table 2. Glossary of time dependent variables in the slow-fast conductance-based model.

https://doi.org/10.1371/journal.pone.0353399.t002

thumbnail
Table 3. Parameters of the neuronal model (see also Fig 2).

https://doi.org/10.1371/journal.pone.0353399.t003

thumbnail
Fig 1. Schematic overview of the modelling and inference framework.

The central panel illustrates the proposed slow-fast model used to capture paroxysmal transitions in the WAG-Rij rat animal model of absence epilepsy. The neuronal dynamics within each cortical layer are regulated by layer-specific extracellular potassium concentrations. These ionic concentrations evolve on a slower timescale and act as modulators of neuronal excitability, enabling transitions into and out of seizure states. The right panel shows empirical DC-coupled full-bandwidth recordings treated as the readouts of fast neuronal states (e.g., synaptic and membrane dynamics). The left panel shows infra-slow oscillations (i.e., 0.01–0.1 Hz), mathematically modelled as the low passed transforms of laminar potassium concentrations (i.e., a proxy measurement rather than the concentration itself). A nonlinear state-space model identification is applied to infer latent variables of the model. Finally, we assess the consistency and reproducibility of the inferred dynamics using held-out data segments, not used during the model tuning.

https://doi.org/10.1371/journal.pone.0353399.g001

Materials and methods

Animal model of seizures

We studied DC-coupled electrophysiological data obtained from the WAG-Rij rat model of absence epilepsy, characterised by generalised spike and wave seizures discharges (SWDs) [10]. In brief, WAG-Rij rats were implanted with a 16-channel graphene micro-transistor array for recordings through cortical layers of the somatosensory cortex. Recording sessions in awake rats lasted 10–60 minutes and occurred twice weekly for ten weeks. All experiments were approved by the Home Office (license PPL70–13691) and the University College London Queen Square Institute of Neurology, Animal Welfare Ethical Review Body within the University College London.

Graphene solution-gated field-effect transistors exhibit excellent DC stability and low in vivo drift, enabling high-fidelity recording of DC shifts and infra-slow activity compared with conventional metal microelectrodes [42]. Our recordings showed stable baselines over the duration of the sessions, allowing reliable separation of structured infra-slow oscillatory events from any residual non-biological drift. Infra-slow activity was extracted from the DC-coupled data using a band-limited baseline-removal procedure where ultra-slow baseline drift was removed using a 0.001 Hz high-pass/baseline-removal filter, and faster electrophysiological activity was removed using a 0.1 Hz low-pass filter. This yielded the empirical ISO signal.

In adult WAG-Rij rats, cortical electrophysiological recordings display SWDs oscillating between , with episodes from a few seconds up to 40 seconds. By six months of age, these rats typically experience hundreds of SWDs daily. WAG-Rij rats also exhibit subtle behavioural changes during SWDs including facial muscle twitches, rapid breathing, head movements, and eye fluttering.

Multiscale model of seizures

To model electrophysiological data that undergo seizure transitions, we developed a phenomenological laminar-specific, conductance-based cortical column model that incorporates slow ionic-concentrations dynamics. This model extends prior works [26,27] by including activity-dependent extracellular potassium regulation, e.g., [29,40,43] following evidence that changes in modulate neuronal excitability. We express the model in a slow–fast state-space form as follows:

(1)(1-2)(1-3)

In Equation (1), is fast time scale biological processes (e.g., membrane potentials, conductance dynamics, firing rates and synaptic responses) and denotes the slow states (extracellular potassium concentrations dynamics) and sets the time-scale separation. Distal presynaptic inputs to fast-states are modelled as random fluctuations with Gaussian distributions, with mean firing rates and (small) noise covariance , , while slow-states are driven by (small) random perturbations (i.e., covariance of noise is small) which resembling small changes in the synaptic environments [44,45].

Equation (1-2) relates full-bandwidth recordings (denoted by ) and the hidden biological states through scaling factors . Equation (1-3) explains the relation between infra-slow oscillations () and the transformation of extracellular potassium concentrations, scaled by constant . The operator implements leaky integrator with characteristic cutoff frequency of 0.01 Hz. The observer equation in turn reflecting build up and clearance of ionic dynamics rather than a monotonic accumulation. In practice, to implement leaky integrator, one can augment the generative model with an auxiliary state defined as the leaky transform of the latent slow state. The evolution of is governed by with Hz.

Note that, is an indirect signature (a filtered proxy) of a latent ionic state, not the concentration itself. However, such observer equation facilitates data driven modelling.

The response of a neuronal model to the external inputs can be understood as a low pass filtering operation [4648]. The time scale separation ensures, slow states change negligibly to that of neuronal dynamics over a short time window—i.e., on a finite interval one can assume on average, slow dynamics are approximately constants [49]. This implies, a low pass filtered version of the slow states is observable in the output of the neuronal model.

The model of sensor noise and/or model inadequacy are denoted by , in equation (1-2) and (1-3), which are given by independent identically distributed Gaussian distributions with zero mean and unknown variances, i.e., and .

The neuronal dynamics associated with each cortical layer in Fig 2 is governed by the conductance-based Morris–Lecar models with a slow as follows:

thumbnail
Fig 2. Layer-specific slow-fast model of cortical dynamics.

Left panel: schematic of the proposed slow-fast dynamical system. Fast biological states (synaptic activity or membrane potentials) and slow ionic concentration (e.g., potassium concentration) interact through bidirectional feedback, forming a regulatory mechanism mediated by time scale separation constant . Disruptions of this regulation is hypothesised to underlie paroxysmal transitions. Right panel: cortical-column circuit with four neuronal populations: superficial pyramidal cells (SP), spiny stellate excitatory cells (SS), deep pyramidal neurons (DP) and inhibitory interneurons spanning supragranular, granular, and infragranular layers, with connectivity parameters detailed in Table 3. Each population is modelled with Morris–Lecar neuronal model equipped with slow extracellular potassium concentration dynamics. Layer-specific interactions between slow and fast states enable the generation of and transitions into and out of seizures across the layers by the model.

https://doi.org/10.1371/journal.pone.0353399.g002

(2-1)(2-2)(2-3)

The dynamics of a neuronal membrane is given by Equation (2-1), where the membrane potential and capacitance are denoted by , and C, respectively (the list of all acronyms and their units are provided in Tables 1–3). Constant passive leak current with a fixed conductance is denoted by and is a sigmoid transformation. A receptor time constant of a ion channel is (reciprocal of which is rate constants ) and the reversal equilibrium potentials are , , and . In the model, depolarisation is equipped with activity-dependent magnesium blocks, modelled as where the constant , determines the steepness of the voltage dependence. The external inputs to membrane, is a randomly generate fluctuations with Gaussian distribution denoted by .

Equation (2-2) represents the dynamics of the several conductance(s) , , , and . In equation (2-2) presynaptic firing rates (from distal populations) are denoted by, and scaled by connectivity matrix . The connectivity matric in equation (2-2) includes excitatory AMPA, and NMDA connection strengths () and inhibitory GABAergic connection strengths () (see Table 3). The extrinsic input to each conductance in equation (2-2) is denoted by (mean and covariance are denoted by and , respectively).

Equation (2-3) represents extracellular potassium concentration dynamics. In the absence of any biological feedback between neuronal substrate and potassium concentration (i.e., ) we expect a decay with the rate of −𝛾 of the variable to its equilibrium. In equation (2-3) parameter 𝛽 is called a fast-to-slow connection, that reflect the level of the regulation between slow and fast states. The random fluctuation input to , is denoted by (covariance is denoted by ) and the time scale separation constant between slow and fast states dynamics is denoted by .

We consider laminar specific dynamics of that regulates layer-specific neuronal dynamics [28]. The layer-specific interactions between slow and fast states allows the simulation of laminar specific DC level shifts across the layers as well as paroxysmal transitions. The infra-slow oscillations dynamics levels in electrophysiological recordings are different across the layers and provide information about the seizure dynamics that otherwise could not be gained by conventional (i.e., high passed filter) recordings.

We mathematically model as a low pass filtered proxy of trajectory. Biophysically, increases in result from heightened synaptic activity and impaired clearance mechanisms. The temporal integration of reflects the net depolarising or hyperpolarising drive over extended periods, consistent with changes in the infra-slow fluctuations.

The fast states of the model generate full-bandwidth data, while slow dynamics are related to infra-slow activity. The relation between empirical data and (hidden) slow and fast states at each layer of the cortex are given as follows:

(3-1)(3-2)(3-3)

The left-hand terms , and in equations (3-1) to (3-1) denote full-bandwidth data as the scaled (by sensor gains ) excitatory activities at the supra-granular (), granular () and infra-granular (, respectively. The activity at each layer, is given as the summation of the local and distal excitatory activities weighted by unknown (contribution of layer of the cortex into the activity of layer with ,). In equation (3-1), to (3−3), laminar infra-slow oscillations are denoted by , and which are modelled as leaky low pass transform functionals of layer specific extracellular potassium concentrations, scaled by parameters . These transforms mean that the observables capture cyclical build‑up and clearance of ionic dynamics around baseline rather than an ever‑increasing integral. Random effects are and () are modelled by identically independent distribution random in equations (3-1) to (3-3).

In principle, the relationship between the latent potassium dynamics in the model and actual extracellular potassium concentrations is governed by unknown calibration factors that would need to be established through direct potassium measurements. Accordingly, estimation of this variable should be interpreted as a latent proxy for potassium ionic dynamics and excitability in this animal model. While our estimation framework enables robust inference of the relative timing, laminar organisation, and seizure-associated modulation of this slow process, it does not permit direct quantification of absolute extracellular potassium concentrations.

Estimation procedure of multiscale model from DC-coupled data

We developed a regularised maximum-likelihood procedure to estimate the model parameters from the DC-coupled animal recordings, as detailed in Fig 3. For each candidate set of model parameters, we utilise an unscented Kalman filter (UKF) to estimate hidden states of the model from infra-slow oscillations and full-bandwidth data. The UKF is efficient in handling distribution of latent states up to the third order of the Taylor series expansion for any nonlinearity [50] and well established for real time monitoring and control [51]. Deterministic sampling known as unscented transform is used as part of the UKF to accurately capture the statistical properties of nonlinear transformations. This enables efficient estimation of hidden states distribution, facilitating calculation of the model likelihood [29,33].

thumbnail
Fig 3. Parameter estimation framework for slow-fast model using full-bandwidth data.

For each candidate set of the model parameters , hidden states are inferred from full-bandwidth and infra-slow oscillations data using UKF. The estimated states are then used to compute the negative log likelihood (of the observed data under the model) , regularised by norm of the parameters through a factor . The regularised negative log likelihood function is optimised using expectation-maximisation algorithm for estimating the model parameters.

https://doi.org/10.1371/journal.pone.0353399.g003

We introduce regularisation (on parameters norm) into the negative log-likelihood function to reduce the possibility of overfitting and improve generalisation. The regularisation parameter is selected based on Akaike information criterion (AIC) scores through greedy search where the first minimum amongst AIC scores is selected as the regularisation parameter. We consider mean field decomposition between sensor noise parameters and biological parameters due to their statistical independence.

Parameter estimation based on the likelihood procedure is performed using an expectation-maximisation (E-step and M-step) algorithm. In the E-step, the UKF is used to estimate the states of the model from the observables (i.e., full-bandwidth data as the observation of fast states and infra-slow oscillations as the observation of slow states). After estimating the distribution of the hidden states, we construct the likelihood function and perform the M-step which involves estimation of model parameters and estimation measurement noise covariance.

In the M-step, we first assume the measurement noise distribution and optimise the likelihood of the model with respect to model parameters. The resulting estimates are then used to update the sensor noise parameters, and this process is repeated until the convergence criteria are met. Next, the overall estimate of constant parameters is fed back into the E-step, and the iterations continue until no further improvements in the likelihood function. The EM is then carried out by introducing different regularisation and their efficacy is assessed through model comparison based on AIC.

We perform Monte Carlo experiments, e.g., [52], by re-estimating the model for different in the range . The mean and standard deviation of estimated parameters are then considered as the inference results. Using these estimations, we evaluate the consistency of tracking the slow potassium dynamics over the course unseen data segments.

Results

Model simulation

We first simulate the slow-fast model to examine whether slow extracellular potassium dynamics could induce seizure-like transitions. The simulation is shown in Fig 4, where build-up in triggered transitions into spike-and-wave discharges (SWDs) in the model’s output. This closely resemble the electrographic phenotype observed in the WAG-Rij rat model. The simulated SWDs exhibited oscillations which were preceded by infra-slow changes. The model produced a coupling between the integral transformed and , demonstrating that slow ionic dynamics are sufficient to generate seizure-like transitions endogenously.

thumbnail
Fig 4. Simulation of the slow-fast cortical column model reproducing seizure-like dynamics.

The centre panel shows the slow-fast cortical column model in which reciprocal feedback between and neuronal activity drives transitions into and out of seizures. The left panel illustrates simulated dynamics associated with the simulated full-bandwidth data reflecting 5-10 Hz SWDs characteristic of absence seizures in the right panel. The AC-coupled (high passed filter) data and time-frequency plots highlight the emergence of SWDs during seizure episodes. The bottom panel illustrates the relationship between the (leaky) integral transform of as an proxy. The model reproduces the gradual onset of seizures driven by slow ionic changes, consistent with the observed infra-slow activity in the WAG-Rij animal data.

https://doi.org/10.1371/journal.pone.0353399.g004

Parameter estimation from full-bandwidth data

We next apply the regularised likelihood procedure (Fig 3) to estimate model parameters from DC-coupled laminar recordings and s as shown in Fig 5. Parameters are estimated using the expectation-maximisation algorithm with the UKF for latent-states estimation [29].

thumbnail
Fig 5. Laminar recordings and preceding seizures in the WAG-Rij rat model.

DC-coupled recordings from the somatosensory cortex of a WAG-Rij rat, obtained using a 16-channel linear array of graphene solution-gated field-effect transistors. The recordings include layer-specific full-bandwidth local field potentials (black lines) including s (red lines). In the middle panel, laminar traces show the spatiotemporal structure of seizure-related activity. The yellow-shaded regions indicate the onset of infra-slow oscillatory phases that precede seizure initiation, reflecting slow ionic shifts that build up prior to the emergence of epileptiform activities. The data show layer-dependent DC shift before seizure onset. The right panel shows time frequency plots of the data which highlights seizure-associated SWDs in the 5-10 Hz range (the sampling frequency of the recorded data is 9.6 kHz).

https://doi.org/10.1371/journal.pone.0353399.g005

Specifically, we estimate all parameters governing the slow dynamics (i.e., layer-specific time constants, slow-to-fast connectivity, extrinsic inputs and time scale separation), the inputs to the fast sub-system, the contribution of distal layer activity to each cortical layer’s readout (interlaminar mixing weights), and sensor-noise parameters. The initial estimate for the time-scale separation parameter is the average inter-seizure intervals. All remaining parameters not directly related to dynamics are fixed at biologically plausible values to reduce inference complexity. The regularisation weight is systematically varied over and set equal to 4 based on the first minimum amongst AIC scores.

To assess robustness, we perform 100 Monte Carlo simulations by varying the initialisation of within . We provide the summary statistics (mean and standard deviation) in Table 3, which indicate tight distributions in the estimated parameters, particularly those related to extracellular potassium time constants and layer-specific connectivity. Note that the inferred slow-state dynamics should be interpreted as a latent proxy for potassium ionic dynamics and excitability. In the present framework, they represent ISO-constrained latent mesoscale states rather than direct ion-selective measurements. In effect, their principal value lies in their relative temporal evolution, laminar organisation, and coupling to seizure transitions, rather than in precise absolute concentration estimates.

Inferred latent trajectories are shown in Fig 6. These estimates show a reciprocal pattern of between superficial and deep layers, consistent with prior physiological studies [28]. The slow evolution of latent potassium levels correlates with transitions into and out of seizure states, supporting the hypothesis that paroxysmal dynamics arise from intrinsic changes in extracellular potassium concentrations.

thumbnail
Fig 6. Layer-specific estimation of latent proxy for potassium dynamics form DC-coupled data.

Right panel shows laminar DC-coupled data and the corresponding infra-slow oscillations. Estimated latent proxy for extracellular potassium concentrations at each layer are shown in the left panel using the inference procedure. The results reveal distinct, layer-specific ionic dynamics, with approximately reciprocal patterns observed between superficial and deep layers. Quantitatively, the mean (± variability) of in the superficial layer is, in the granular layer and in the deep layer 5 . These support the role of laminar in driving seizure transitions. Note that the inferred latent potassium dynamics are reported as dimensionless, because the calibration factors relating the latent slow states to actual extracellular potassium concentrations are unknown.

https://doi.org/10.1371/journal.pone.0353399.g006

Reproducibility and consistency of inference over unseen data

To assess the generalisability, we used a 220 second held-out data segment (not used during estimation) to reconstruct trajectories of extracellular potassium concentrations from the infrared models. Fig 7 overlays the estimated trajectories from the 100 Monte Carlo simulations. The inferred trajectories are consistent with those obtained on the training data, demonstrating reproducible dynamics and supporting the construct validity of the model. Across layers, the model achieved low variance and minimal inter-simulation deviation. This consistency across both training and unseen data confirms that s encodes reliable information about extracellular potassium concentration dynamics, and that the model can generalise beyond specific seizure instances.

thumbnail
Fig 7. Consistency and reproducibility of inferred latent proxy of potassium dynamics across unseen data.

Estimated expected values of from a , DC-coupled, full-bandwidth recording not used for parameter estimation, aggregated over 100 Monte Carlo runs. Layer-specific dynamics remain consistent with the training set. The plots show mean trajectories of across superficial granular, and deep cortical layers, aggregated over Monte Carlo simulations demonstrating generalisability. Mean(variability) of at: Superficial layer: , Monte Carlo variation = . Granular layer:, Monte Carlo variation = . Deep layer: , Monte Carlo variation = The reciprocal relationship between superficial and deep layer dynamics is preserved, underscoring the robustness of the estimation procedure. These findings further validate that the model can reliably track latent ionic dynamics from full-bandwidth DC-coupled data and supports its utility for real-time seizure monitoring. Note that the inferred latent potassium dynamics are reported as dimensionless, because the calibration factors relating the latent slow states to actual extracellular potassium concentrations are unknown.

https://doi.org/10.1371/journal.pone.0353399.g007

Discussion

We present a data-driven multiscale modelling framework capable of inferring hidden ionic dynamics underlying paroxysmal transitions in an animal model of absence epilepsy. Our innovation lies in leveraging variability in infra-slow oscillations, as an indirect proxy for the dynamics of transformed latent slow ionic/excitability states, alongside full-bandwidth data as the readout of fast neuronal activities. This approach increases available data points and information available for tracking hidden biological states and improves the identifiability, enabling accurate tracking of physiological processes that drive seizure transition. By modelling as the low-passed transformed proxy of latent extracellular potassium concentrations, our framework captures bifurcation properties of seizure dynamics. In fact, the slow-fast model can generate phase transitions with or without changes in infra-slow oscillations that are induced by sudden and smooth transitions in slow states, respectively, e.g., [28,53]. Linking infra-slow oscillations to the transformed latent slow excitability states not only provide a mechanistic interpretation of slow cortical fluctuations but also offers a biophysically grounded constraint for parameter inference.

Our data-driven modelling enables decomposition of seizure transitions into interpretable phases of build-up, onset, and resolution. Unlike AC-coupled data, which often removes pre-ictal shifts, DC recordings reveal gradual changes that are essential for reconstructing the full trajectory of latent causes of the paroxysmal events. The separation of fast and slow components, constrained by s, is analogous to dual Kalman filtering for nonlinear parameter estimation [54], but with a more physiologically grounded evolution pattern. Our results demonstrate that inferred proxy of dynamics vary across cortical layers and evolve on timescales compatible with s. These slow shifts precede seizure onsets and exhibit reciprocal patterns between superficial and deep layers, consistent with previous experimental findings [28,30,31].

However, while our model assumes that dynamics drive s and contribute to seizure initiation, we cannot rule out the possibility that is correlative rather than causal with slow ionic dynamics. In vivo DC-coupled electrophysiology recordings combined with potassium-selective microelectrodes measurements will be required to test this empirically. However, measuring extracellular potassium concentration dynamics in the awake brain with ion-selective probes is technically challenging and, to the best of our knowledge, has not been reported; such measurements are typically conducted in acute brain slices. Accordingly, our contribution should be understood primarily as a novel hypothesis‑driven identification of slow-fast dynamical systems rather than definitive empirical validation of potassium-driven causality.

The mesoscale model can be seen as an abstraction of more detailed computational models [17,5557]. For instance, the extended Hodgkin–Huxley model developed by Wei, Ullah [56] unifies neuronal spikes, seizures, and spreading depression (see Supplementary information). While our model simplifies these processes by abstracting energetic constraints, it retains the essential link between the extracellular potassium concentration and seizure onset, enabling efficient inference and potential real-time application.

The abstraction of the mesoscale slow–fast model comes with limitations. It does not capture all biophysical mechanisms (e.g., glial–neuronal volume regulation or oxygen-dependent ATPase dynamics), nor does it include multimodal data such as calcium imaging or hemodynamic signals for the inference. Future work could incorporate these modalities, and use advanced transformation mappings for nonlinear filtering of dynamical systems [51,58] to compensate for model inadequacy.

Despite these limitations, our results suggest that monitoring s as proxy measurements for seizure susceptibility windows could support the development of targeted intervention strategies. From a control-theoretic perspective, relative changes in , rather than their absolute measurements, may be sufficient for seizure prediction and treatment optimisation [51,57]. Practical control systems tuning (e.g., adjusting observer gains) could compensate for uncertainties in absolute [51]. In addition, monitoring within the neuronal system may suffice for online monitoring seizures, as empirical observation suggested dynamics of and glial activities are consistently changed during the paroxysmal transitions [17,22,23,5961].

Finally, the WAG-Rij rat model is pharmacologically responsive to human absence epilepsy treatments, making it a valuable translational platform. The consistency of inferred dynamics across unseen data suggests that our generative model effectively captures mechanisms of seizure dynamics. As such, this approach may be extended to human intracranial recordings to support real-time seizure tracking in clinical settings.

Supporting information

S1 Appendix. A detailed biophysical model of paroxysmal transitions.

This supporting information file contains the supplementary description of the extended Hodgkin-Huxley model simulation and includes Fig S1, showing membrane dynamics, extracellular potassium concentration dynamics, and the relationship between ISO and the transformed extracellular potassium signal.

https://doi.org/10.1371/journal.pone.0353399.s001

(DOCX)

References

  1. 1. Aladjalova NA. Infra-slow rhythmic oscillations of the steady potential of the cerebral cortex. Nature. 1957;179(4567):957–9. pmid:13430746
  2. 2. Lemieux M, Chen J-Y, Lonjers P, Bazhenov M, Timofeev I. The impact of cortical deafferentation on the neocortical slow oscillation. J Neurosci. 2014;34(16):5689–703. pmid:24741059
  3. 3. Achermann P, Dijk DJ, Brunner DP, Borbély AA. A model of human sleep homeostasis based on EEG slow-wave activity: quantitative comparison of data and simulations. Brain Res Bull. 1993;31(1–2):97–113. pmid:8453498
  4. 4. Ruskin DN, Bergstrom DA, Kaneoke Y, Patel BN, Twery MJ, Walters JR. Multisecond oscillations in firing rate in the basal ganglia: robust modulation by dopamine receptor activation and anesthesia. J Neurophysiol. 1999;81(5):2046–55. pmid:10322046
  5. 5. van Putten MJ, Tjepkema-Cloostermans MC, Hofmeijer J. Infraslow EEG activity modulates cortical excitability in postanoxic encephalopathy. Journal of Neurophysiology. 2015;113(9):3256–67.
  6. 6. Damoiseaux JS, Rombouts SARB, Barkhof F, Scheltens P, Stam CJ, Smith SM, et al. Consistent resting-state networks across healthy subjects. Proc Natl Acad Sci U S A. 2006;103(37):13848–53. pmid:16945915
  7. 7. Van Someren EJ, et al., Slow brain oscillations of sleep, resting state, and vigilance, in Progress in brain research. 2011, Elsevier. p. 3–15.
  8. 8. Hashimoto H, Khoo HM, Yanagisawa T, Tani N, Oshino S, Kishima H, et al. Phase-amplitude coupling between infraslow and high-frequency activities well discriminates between the preictal and interictal states. Sci Rep. 2021;11(1):17405. pmid:34465798
  9. 9. Hashimoto H, Khoo HM, Yanagisawa T, Tani N, Oshino S, Kishima H, et al. Coupling between infraslow activities and high-frequency oscillations precedes seizure onset. Epilepsia Open. 2020;5(3):501–6. pmid:32913958
  10. 10. Bonaccini Calia A, Masvidal-Codina E, Smith TM, Schäfer N, Rathore D, Rodríguez-Lucas E, et al. Full-bandwidth electrophysiology of seizures and epileptiform activity enabled by flexible graphene microtransistor depth neural probes. Nat Nanotechnol. 2022;17(3):301–9. pmid:34937934
  11. 11. de Goede AA, van Putten MJAM. Infraslow activity as a potential modulator of corticomotor excitability. J Neurophysiol. 2019;122(1):325–35. pmid:31116669
  12. 12. Hotson JR, Prince DA. A calcium-activated hyperpolarization follows repetitive firing in hippocampal neurons. J Neurophysiol. 1980;43(2):409–19. pmid:6247461
  13. 13. Jahnsen H, Llinás R. Ionic basis for the electro-responsiveness and oscillatory properties of guinea-pig thalamic neurones in vitro. J Physiol. 1984;349:227–47. pmid:6737293
  14. 14. Kandel ER, Spencer WA. Electrophysiology of hippocampal neurons. II. After-potentials and repetitive firing. J Neurophysiol. 1961;24:243–59. pmid:13751138
  15. 15. Traub RD, Miles R, Jefferys JG. Synaptic and intrinsic conductances shape picrotoxin-induced synchronized after-discharges in the guinea-pig hippocampal slice. J Physiol. 1993;461:525–47. pmid:8350274
  16. 16. Watson BO. Cognitive and Physiologic Impacts of the Infraslow Oscillation. Front Syst Neurosci. 2018;12:44. pmid:30386218
  17. 17. Raimondo JV, Burman RJ, Katz AA, Akerman CJ. Ion dynamics during seizures. Front Cell Neurosci. 2015;9:419. pmid:26539081
  18. 18. Jefferys JG. Nonsynaptic modulation of neuronal activity in the brain: electric currents and extracellular ions. Physiol Rev. 1995;75(4):689–723. pmid:7480159
  19. 19. Yamada M, Inanobe A, Kurachi Y. G protein regulation of potassium ion channels. Pharmacol Rev. 1998;50(4):723–60. pmid:9860808
  20. 20. Kuga N, Sasaki T, Takahara Y, Matsuki N, Ikegaya Y. Large-scale calcium waves traveling through astrocytic networks in vivo. J Neurosci. 2011;31(7):2607–14. pmid:21325528
  21. 21. Kaiser DA. Astrocytes and Infra-Low Frequencies. Restoring the Brain. Routledge. 2020. p. 80–6.
  22. 22. Steriade M, Nuñez A, Amzica F. A novel slow (< 1 Hz) oscillation of neocortical neurons in vivo: depolarizing and hyperpolarizing components. J Neurosci. 1993;13(8):3252–65. pmid:8340806
  23. 23. Steriade M, Nuñez A, Amzica F. Intracellular analysis of relations between the slow (< 1 Hz) neocortical oscillation and other sleep rhythms of the electroencephalogram. J Neurosci. 1993;13(8):3266–83. pmid:8340807
  24. 24. Drew PJ, Mateo C, Turner KL, Yu X, Kleinfeld D. Ultra-slow Oscillations in fMRI and Resting-State Connectivity: Neuronal and Vascular Contributions and Technical Confounds. Neuron. 2020;107(5):782–804. pmid:32791040
  25. 25. Jafarian A, Wykes RC. Impact of DC-Coupled Electrophysiological Recordings for Translational Neuroscience: Case Study of Tracking Neural Dynamics in Rodent Models of Seizures. Frontiers in Computational Neuroscience. 2022;16:900063.
  26. 26. Suffczynski P, Kalitzin S, Lopes Da Silva FH. Dynamics of non-convulsive epileptic phenomena modeled by a bistable neuronal network. Neuroscience. 2004;126(2):467–84. pmid:15207365
  27. 27. Jafarian A, Hughes LE, Adams NE, Lanskey JH, Naessens M, Rouse MA, et al. Neurochemistry-enriched dynamic causal models of magnetoencephalography, using magnetic resonance spectroscopy. Neuroimage. 2023;276:120193. pmid:37244323
  28. 28. de Curtis M, et al. Potassium dynamics and seizures: Why is potassium ictogenic?. Epilepsy Research. 2018;143:50–9.
  29. 29. Jafarian A, Freestone DR, Nesic D, Grayden DB. Slow-Fast Duffing Neural Mass Model. Annu Int Conf IEEE Eng Med Biol Soc. 2019;2019:142–5. pmid:31945864
  30. 30. de Curtis M, Avoli MA. Initiation, propagation, and termination of partial (focal) seizures. Cold Spring Harbor Perspectives in Medicine. 2015;5(7):a022368.
  31. 31. de Curtis M, Gnatkovsky V. Reevaluating the mechanisms of focal ictogenesis: The role of low-voltage fast activity. Epilepsia. 2009;50(12):2514–25. pmid:19674056
  32. 32. Jefferys JG. Basic mechanisms of epilepsy. Epilepsia. 2009;:15–9.
  33. 33. Jafarian A, Freestone DR, Nesic D, Grayden DB. Identification of A Neural Mass Model of Burst Suppression. Annu Int Conf IEEE Eng Med Biol Soc. 2019;2019:2905–8. pmid:31946498
  34. 34. Liley DTJ, Walsh M. The Mesoscopic Modeling of Burst Suppression during Anesthesia. Front Comput Neurosci. 2013;7:46. pmid:23641211
  35. 35. Jirsa VK, Stacey WC, Quilichini PP, Ivanov AI, Bernard C. On the nature of seizure dynamics. Brain. 2014;137(Pt 8):2210–30. pmid:24919973
  36. 36. Stefanovski L, Triebkorn P, Spiegler A, Diaz-Cortes M-A, Solodkin A, Jirsa V, et al. Linking Molecular Pathways and Large-Scale Computational Modeling to Assess Candidate Disease Mechanisms and Pharmacodynamics in Alzheimer’s Disease. Front Comput Neurosci. 2019;13:54. pmid:31456676
  37. 37. Lundstrom BN. Modeling multiple time scale firing rate adaptation in a neural network of local field potentials. J Comput Neurosci. 2015;38(1):189–202. pmid:25319064
  38. 38. Deco G, Jirsa VK, Robinson PA, Breakspear M, Friston K. The dynamic brain: from spiking neurons to neural masses and cortical fields. PLoS Comput Biol. 2008;4(8):e1000092. pmid:18769680
  39. 39. Robinson PA, Rennie CJ, Rowe DL, O’Connor SC, Wright JJ, Gordon E, et al. Neurophysical modeling of brain dynamics. Neuropsychopharmacology. 2003;28 Suppl 1:S74-9. pmid:12827147
  40. 40. Zhao X, Robinson PA. Generalized seizures in a neural field model with bursting dynamics. J Comput Neurosci. 2015;39(2):197–216. pmid:26282528
  41. 41. Truccolo W, Donoghue JA, Hochberg LR, Eskandar EN, Madsen JR, Anderson WS, et al. Single-neuron dynamics in human focal epilepsy. Nat Neurosci. 2011;14(5):635–41. pmid:21441925
  42. 42. Masvidal-Codina E, Illa X, Dasilva M, Calia AB, Dragojević T, Vidal-Rosas EE, et al. High-resolution mapping of infraslow cortical brain activity enabled by graphene microtransistors. Nat Mater. 2019;18(3):280–8. pmid:30598536
  43. 43. O’Leary T, Williams AH, Franci A, Marder E. Cell types, network homeostasis, and pathological compensation from a biologically plausible ion channel expression model. Neuron. 2014;82(4):809–21. pmid:24853940
  44. 44. Patriarca M, et al. Diversity and noise effects in a model of homeostatic regulation of the sleep-wake cycle. 2012.
  45. 45. Finke C, Vollmer J, Postnova S, Braun HA. Propagation effects of current and conductance noise in a model neuron with subthreshold oscillations. Math Biosci. 2008;214(1–2):109–21. pmid:18457848
  46. 46. Jansen BH, Rit VG. Electroencephalogram and visual evoked potential generation in a mathematical model of coupled cortical columns. Biol Cybern. 1995;73(4):357–66. pmid:7578475
  47. 47. Connelly WM, Laing M, Errington AC, Crunelli V. The Thalamus as a Low Pass Filter: Filtering at the Cellular Level does Not Equate with Filtering at the Network Level. Front Neural Circuits. 2016;9:89. pmid:26834570
  48. 48. Bédard C, Kröger H, Destexhe A. Model of low-pass filtering of local field potentials in brain tissue. Physical Review E—Statistical, Nonlinear, and Soft Matter Physics. 2006;73(5):051911.
  49. 49. Kuehn C. Multiple time scale dynamics. Springer. 2015.
  50. 50. Wan EA, Van Der Merwe R. The unscented Kalman filter for nonlinear estimation. In: Proceedings of the IEEE 2000 adaptive systems for signal processing, communications, and control symposium, 2000.
  51. 51. Schiff SJ. Neural control engineering: the emerging intersection between control theory and neuroscience. MIT Press. 2011.
  52. 52. Freestone DR, Aram P, Dewar M, Scerri K, Grayden DB, Kadirkamanathan V. A data-driven framework for neural field modeling. Neuroimage. 2011;56(3):1043–58. pmid:21329758
  53. 53. Saggio ML, Crisp D, Scott JM, Karoly P, Kuhlmann L, Nakatani M, et al. A taxonomy of seizure dynamotypes. Elife. 2020;9:e55632. pmid:32691734
  54. 54. Wan E, Nelson A. Dual Kalman filtering methods for nonlinear prediction, smoothing and estimation. Advances in neural information processing systems. 1996;9.
  55. 55. Y Ho EC, Truccolo W. Interaction between synaptic inhibition and glial-potassium dynamics leads to diverse seizure transition modes in biophysical models of human focal seizures. J Comput Neurosci. 2016;41(2):225–44. pmid:27488433
  56. 56. Wei Y, Ullah G, Schiff SJ. Unification of neuronal spikes, seizures, and spreading depression. J Neurosci. 2014;34(35):11733–43. pmid:25164668
  57. 57. Ullah G, Wei Y, Dahlem MA, Wechselberger M, Schiff SJ. The Role of Cell Volume in the Dynamics of Seizure, Spreading Depression, and Anoxic Depolarization. PLoS Comput Biol. 2015;11(8):e1004414. pmid:26273829
  58. 58. Baek S-J, Hunt BR, Kalnay E, Ott E, Szunyogh I. Local ensemble Kalman filtering in the presence of model bias. Tellus A: Dynamic Meteorology and Oceanography. 2006;58(3):293.
  59. 59. Amzica F, Steriade M. Neuronal and glial membrane potentials during sleep and paroxysmal oscillations in the neocortex. J Neurosci. 2000;20(17):6648–65. pmid:10964970
  60. 60. LeBeau FEN, Towers SK, Traub RD, Whittington MA, Buhl EH. Fast network oscillations induced by potassium transients in the rat hippocampus in vitro. J Physiol. 2002;542(Pt 1):167–79. pmid:12096059
  61. 61. Amzica F, Steriade M. The K-complex: its slow (<1-Hz) rhythmicity and relation to delta waves. Neurology. 1997;49(4):952–9. pmid:9339673