Skip to main content

Main menu

  • HOME
  • CONTENT
    • Early Release
    • Featured
    • Current Issue
    • Issue Archive
    • Collections
    • Podcast
  • ALERTS
  • FOR AUTHORS
    • Information for Authors
    • Fees
    • Journal Clubs
    • eLetters
    • Submit
    • Special Collections
  • EDITORIAL BOARD
    • Editorial Board
    • ECR Advisory Board
    • Journal Staff
  • ABOUT
    • Overview
    • Advertise
    • For the Media
    • Rights and Permissions
    • Privacy Policy
    • Feedback
    • Accessibility
  • SUBSCRIBE

User menu

  • Log out
  • Log in
  • My Cart

Search

  • Advanced search
Journal of Neuroscience
  • Log out
  • Log in
  • My Cart
Journal of Neuroscience

Advanced Search

Submit a Manuscript
  • HOME
  • CONTENT
    • Early Release
    • Featured
    • Current Issue
    • Issue Archive
    • Collections
    • Podcast
  • ALERTS
  • FOR AUTHORS
    • Information for Authors
    • Fees
    • Journal Clubs
    • eLetters
    • Submit
    • Special Collections
  • EDITORIAL BOARD
    • Editorial Board
    • ECR Advisory Board
    • Journal Staff
  • ABOUT
    • Overview
    • Advertise
    • For the Media
    • Rights and Permissions
    • Privacy Policy
    • Feedback
    • Accessibility
  • SUBSCRIBE
PreviousNext
Featured ArticleResearch Articles, Neurobiology of Disease

Behavioral Timing of Interictal Spikes, But Not Rate, Correlates with Impaired Working Memory Performance

Justin D. Yi, Maryam Pasdarnavab, Laura Kueck, Gergely Tarcsay and Laura A. Ewell
Journal of Neuroscience 8 October 2025, 45 (41) e0193252025; https://doi.org/10.1523/JNEUROSCI.0193-25.2025
Justin D. Yi
1Anatomy & Neurobiology, School of Medicine, University of California, Irvine, Irvine, California 92617
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Maryam Pasdarnavab
2University of Bonn, Bonn 53113, Germany
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Laura Kueck
2University of Bonn, Bonn 53113, Germany
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Gergely Tarcsay
1Anatomy & Neurobiology, School of Medicine, University of California, Irvine, Irvine, California 92617
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Laura A. Ewell
1Anatomy & Neurobiology, School of Medicine, University of California, Irvine, Irvine, California 92617
3Neurobiology of Brain and Behavior, Charlie Dunlop School of Biological Sciences, University of California, Irvine, Irvine, California 92617
4Center for Learning and Memory, University of California, Irvine, Irvine, California 92617
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Laura A. Ewell
  • Article
  • Figures & Data
  • Info & Metrics
  • eLetters
  • Peer Review
  • PDF
Loading

Abstract

In temporal lobe epilepsy, interictal spikes (IS)—hyper-synchronous bursts of network activity—occur at high rates in between seizures. We sought to understand the influence of IS on working memory by recording hippocampal local field potentials from male epileptic mice while they performed a delayed alternation task. Interestingly, the rate of IS during behavior did not correlate with performance. Instead, we found that IS were correlated with worse performance when they were spatially non-restricted and occurred during running. In contrast, when IS were clustered at reward locations, animals tended to perform well. A machine learning decoding approach revealed that IS at reward sites were larger than IS elsewhere on the maze, and could be classified as occurring at specific reward locations. Finally, a spiking neural network model revealed that spatially clustered IS preserved hippocampal replay, while spatially dispersed IS disrupted replay by causing over-generalization. Together, these results show that the spatial specificity of IS on the maze, but not rate, correlates with working memory deficits.

  • hippocampus
  • kainic acid
  • mouse
  • place cell
  • replay
  • temporal lobe epilepsy

Significance Statement

In people with epilepsy, the hippocampus can generate large electrical discharges in the period between seizures called interictal spikes (IS). Previous studies have proposed that interictal spikes cause memory impairments. We use a mouse model of epilepsy and computer simulations to study how IS impact navigation to remembered rewards. We find that when IS occur uncontrollably throughout the maze memory performance is worse, and in contrast, when they are sequestered to reward locations memory performance is better. Together our results show that interictal spikes are correlated with corrupted memory depending on when and where they occur during learning.

Introduction

Temporal lobe epilepsy (TLE) is the most common focal epilepsy syndrome, and is often comorbid with cognitive impairments. Deficits in episodic memory and working memory are common (Helmstaedter et al., 2003; Hermann et al., 2006; Stretton and Thompson, 2012; Arski et al., 2021; Fleury et al., 2022; Caciagli et al., 2023). One clearly pathological feature of memory processing in TLE is that memory tasks promote interictal spikes (IS; Vivekananda et al., 2019), hyper-synchronous network events observed as large spikes in local field potential (LFP) recordings. The recruitment of elevated IS rates during memory tasks suggests that the network mechanisms that promote IS may be hijacking dynamics that are typically engaged by memory processes (Holmes, 2014). It is known that spatial working memory task performance is disrupted in rodent models of TLE (Naik et al., 2021), however, it is not known if the exact timing of IS with respect to different task phases (i.e., navigational epochs vs delay/memory maintenance epochs) contributes to the memory deficit as has been found in other memory models (Kleen et al., 2010; Horak et al., 2017; Quon et al., 2021; Camarillo-Rodriguez et al., 2022).

For example, as healthy animals navigate an environment, the hippocampal network is in a low synchrony state due to rhythmic inhibition (Csicsvari et al., 1999; Klausberger et al., 2003; Vandecasteele et al., 2014) in which theta oscillations orchestrate the sequential activation of individual place cells over second long time scales (Vanderwolf, 1969; Skaggs et al., 1996; Dragoi and Buzsáki, 2006; Foster and Wilson, 2007; Buzsáki and Moser, 2013). Hippocampal dis-inhibition during theta states leads to aberrant population synchrony. For example, when inhibition is reduced experimentally, theta oscillations during running can grow into large amplitude spikes that resemble bursts of IS (Boehringer et al., 2017). In epileptic rodents, IS have been reported to encroach on theta states and impact place cell spatial coding (Ewell et al., 2019).

As healthy animals consume reward or sit quietly during delay phases of the task, the hippocampus shifts to a high synchrony state and engages in brief periods of physiological network synchrony called sharp wave ripples (SWR; Buzsáki, 2015), which replay memory relevant ensembles of neurons at compressed time scales (Wilson and McNaughton, 1994; Singer and Frank, 2009; Dragoi and Tonegawa, 2011; Jadhav et al., 2012; Pfeiffer and Foster, 2013; Joo and Frank, 2018; Gillespie et al., 2021). There is evidence to suggest that there are parallels between IS and SWR neuronal dynamics and that, in principle, they could partially fulfill analogous functional roles. For example, both recruit ensembles of CA1 pyramidal cells, are accompanied by brief fast oscillations measured in cell layer LFP [pathological high frequency oscillations (HFOs) for IS and ripple oscillations for SWR], and coordinate with the cortex via sleep spindles (Bragin et al., 2007; Gelinas et al., 2016; Dahal et al., 2019; Ewell et al., 2019). Furthermore, in epilepsy, when IS rates go up during a memory task, SWR rates go down (Henin et al., 2021), indicating that IS may actually replace SWR. It is not known whether, like SWR, IS can support diverse roles in memory tasks, such as amplifying salient cues, remote replay of past animal positions and rewards, or preplay of future trajectories (Singer and Frank, 2009; Dragoi and Tonegawa, 2011; Jadhav et al., 2012; Pfeiffer and Foster, 2013; Joo and Frank, 2018; Gillespie et al., 2021).

We conduct in vivo electrophysiology and behavioral analysis in freely moving epileptic mice to test the hypothesis that IS may create spatial memory interference by promoting aberrant population level synchrony during theta states. Furthermore, we use machine learning analysis of IS recordings and build a spiking neural network model to assess the plausibility that IS may maintain reward-related working memory representations during offline states.

Materials and Methods

Experimental model and study participant details

Subjects

All experimental procedures were performed as approved by the Institutional Animal Care and Use Committee at the University of California, Irvine and according to National Institutes of Health and institutional guidelines or following European (2010/63/EU) and federal law (TierSchG, TierSchVersV) on animal care and use and approved by the county of North Rhine-Westphalia (81-02.04.2018.A006/2–mittel). All the experiments were performed using male C57BL/6 mice (Charles River). All mice were single housed under a 12 h light-/dark-cycle, in at 22 ± 2°C and humidity 55 ± 10%. Food and water were available ad libitum except for during the working memory task period when mice were either food restricted to maintain 85% of their initial weight or given a 2% citric acid water replacement when a sugar water reward was given. All efforts were made to minimize pain and reduce the number of animals used.

Method details

Kainate induction of chronic TLE

Kainate injections were performed in 3-month-old C57BL/6 male mice. In one laboratory, mice were anesthetized with an intraperitoneal injection (0.1 ml/10 g body weight) of Ketamine (0.1 ml of 1 g/ml; Bela-Pharm GmbH & Co. KG), Dormitor (0.1 ml of 1 mg/ml Medetomidine hydrochloride; Orion Pharma) and Sodium chloride (0.8 ml of 0.9%; Fresenius Kabi Deutschland). Analgesia (5 mg/kg of Gabrilen, Ketoprofen) was given subcutaneously 30 min before the surgery, and Xylocaine (AstraZeneca) was used for local anesthesia. In the other laboratory, anesthesia was induced with 3–4% isoflurane and maintained at 1–2% isoflurane. Lidocaine (2 mg/kg Patterson Veterinary Supply) was used for local anesthesia. Baytril (0.5 mg, bacon flavored tablet, Bio-Serv) was used for post-operative antibiotics 5 d post-op.

Stereotactic injections were performed using a stereotactic frame (Kopf) and a microprocessor-controlled minipump (World Precision Instruments). Seventy nanoliters of 20 mM Kainate Acid (Tocris Bioscience) or saline was injected unilaterally into cortex above right hippocampus (M/L = 1.5 mm; A/P = 1.9 mm; D/V = 1.1 mm from skull surface at bregma) using a 10 ml Nanofil syringe (WPI). For animals anesthetized with Ketamine, after suturing, the antagonist Antisedan (5 mg/ml Atipamezole hydrochloride (Orion Pharma) was injected intraperitoneally (0.1 ml/10 g body weight). The incision was covered with an Antibiotic-Cream, Refobacin (1 mg/g Gentamicin) or Neosporin First Aid antibiotic-cream. Immediately after surgery we gave 1 ml of a 5% Glucosteril solution subcutaneously. Four hours after surgery, status epilepticus was terminated using diazepam (10 mg /2 ml, Ratiopharm) injected subcutaneously (0.1 ml/20 g body weight), or lorazepam (7.5 mg/kg, MWI Veterinary supply) injected subcutaneously. Ketoprofen or carprofen (5 mg/kg, Rimadyl, MWI Veterinary supply) was also injected subcutaneously on the three following days to mitigate pain. Animals were left to rest for at least 1 week before starting handling.

Kainic acid (KA, Tocris Bioscience, ItemNo: 0222) was prepared by combining 50 mg of KA powder with a 40 mM Sodium hydroxylate solution to get a stock solution of 40 mM Kainate. Aliquots were stored at −20°C and mixed 1:1 with 0.9% NaCl solution to obtain 20 mM KA.

Tetrode recording

Double bundle microdrives (Axona) comprised two bundles of four tetrodes separated by 3 mm to target bilateral hippocampus. The tetrodes were made of tungsten wire (Tungsten 99.95%, California Fine Wire Company) and plated with a gold solution to have impedance ∼200 kΩ. To implant the microdrives, mice were injected with the analgesic buprenorphine (0.05 mg/kg body weight) and ketoprofen (5 mg/kg body weight) to reduce pain. Twenty minutes later, mice were anesthetized initially with 3–4% isoflurane using an oxygen/air mixture (25/75%), placed on a regulated heating plate (TCAT-2LV, Physitemp) to retain the body temperature at 37°C, and head-fixed in a stereotactic frame. Anesthesia was performed via a mask with isoflurane 1–2% at a gas flow of about 0.5 ml/min. After removing the skin and other tissues from the skull, a layer of Optibond (OptibondTM 3FL, KERR) was applied. Reference and ground screws were placed anterior to the bregma. Two craniotomies were drilled for tetrode implantation bilaterally (−2 mm AP, ±1.5 mm ML) with a dental drill. After removing the dura, tetrodes were placed in 70% ethanol for 2 min before being implanted in the cortex above the hippocampus (∼0.6 mm DV). After placing the tetrodes, they were covered with heated gelatinous paraffin to protect them from the dental cement. Paraffin was made with 40 g of solid wax and 50 ml oil that were mixed at 100∘ C. The microdrive was fixed in place using dental cement (Paladur powder and liquid, Kulzer). Mice were injected with glucose monohydrate (Glucosteril, Fresenius Kabi Deutschland; injection volume 0.25 ml, s.c.) and were kept single housed on a heat-pad. They were carefully monitored twice daily and injected with the analgesic ketoprofen (5 mg/kg) to reduce pain on the following four days. One week after implantation, LFP recordings were acquired using a Neuralynx system (Digital Lynx 4SX, Sample Rates 32 kHz, filtering 1–8,000 Hz) and Cheetah 6.4.1.

Over several weeks, tetrodes were turned to the following configuration. On each side, one tetrode was positioned in the cortex for reference, complemented by three tetrodes in left and right hippocampus spanning CA1 to the dentate gyrus.

Linear probe recording

Four weeks after Kainate injection, a high-density linear silicon probe (Neuronexus, H64LP A1×64-Edge layout, 64 channels, and 20 μm spacing) was implanted in the cortex above the right hippocampus (AP −1.9 mm, ML +1.6 mm, and DV 0.8 mm). Anesthesia and post-operative care was done as for KA injections described above with the exception including dexamethasone (MWI Veterinary Supply, 2–4 mg/kg, i.p.) during implantation and buprenorphine (MWI Veterinary Supply, 0.05 mg/kg, s.c.) and carprofen (5 mg/kg, Rimadyl, MWI Veterinary supply) was used for peri-operative analgesia. After the mouse recovered for 1 week, the probe was lowered manually over 5 d using a microdrive (3D Neuro–R2Drive, Vöröslakos et al., 2021) to a depth of approximately 2.4 mm. During all recording sessions, the probe was connected to an OpenEphys (OE) Acquisition Board via a 64-channel Intan Omnetics headstage. The signal was recorded using a custom Bonsai workflow, where the OE board output was recorded using an Intan Rhd2000 Evaluation Board Node sampled at 30 kHz (Tarcsay et al., 2022).

Spatial alternation task

Memory task training started two weeks after KA induction. The maze apparatus is a Figure 8 shape (dimension 80 × 90 cm). Mice were trained to perform spatial alternation to receive sugar pellet rewards (200 mg, Test Diet). Mice were food restricted to 85% of their baseline weight. Training consisted of three phases: (1) habituation, (2) forced alternation, and (3) free alternation. During habituation the mouse freely explored the maze that was covered with nine sugar pallets (3 per arm). The Habituation phase was continued daily until the mouse ate all pellets in under 5 min. During the forced alternation phase mice were guided to alternate between right and left side of the maze using barriers placed on the maze by the experimenter. During the free alternation phase, the mouse was allowed to freely choose between visiting the two sides of the maze and only visits the opposite arm from the previous trial were rewarded with a sugar pellet and considered “correct.” Mice reached training criteria when they performed >80% correct choices on 2/3 consecutive sessions of the free alteration phase. During the three phases of training, there was never a delay between trials. After reaching criteria, food restriction was terminated. The mice ate freely and rested for 5–7 d before microdrive implantation was performed. After surgery, mice were retrained to run with cables and again reached criteria before being passed to the memory testing phase. Testing comprised 5 d where mice ran 15–30 trials with delays of 30 s between trials. Before and after behavioral sessions, mice were placed in a monitoring chamber (glass bowl) where they were video-LFP monitored for at least 3 h per day.

One mouse (implanted with a silicon probe) was implanted prior to any training and was run in an automated version of Figure 8 maze (48 × 48 cm). One day prior to habituation, the mouse was placed on a 2% citric acid water regiment (Urai et al., 2021). Video tracking was controlled by a Bonsai workflow and maze doors and reward ports (Sanworks, Mouse Port Assembly) were operated by an Arduino micro-controller which interfaced with Bonsai. When the mouse broke an IR beam to drink, approximately 10 μl of 5% sucrose water was dispensed as a reward. The training schedule was similar to that for the mice run on the non-automated maze, but involved habituation to the maze and automatic doors rather than eating food pellets.

On all behavior days, the mouse rested in a home cage immediately before and after the maze session for ∼15 min, during which the LFP was recorded. After the completion of all behavioral days, the mouse was video monitored in a home cage once for 14 h overnight (6:30 P.M. to 7:30 A.M.) to estimate seizure burden.

Quantification and statistical analysis

IS detector

All signal processing was done in MATLAB (R2024a and R2024b, The Mathworks). Single channel LFP signals were selected based on their location being in the hippocampus (confirmed by histology) and on the amplitude of IS. The LFP was down-sampled to 1,000 Hz. The sign of the signal’s skew was estimated and used to ensure IS were oriented positively regardless of the original polarity of the signal. Then, the signals were band-pass filtered (Table 1), and peaks with a minimum prominence above a tuned threshold (Table 1) were counted as the location of IS.

View this table:
  • View inline
  • View popup
Table 1.

Interictal and ictal spike detection parameters for each animal

Detector tuning

For each animal, random 3-min segments were selected from representative three behavioral and one sleep sessions for a total of 12 min per animal. Windows around interictal and/or ictal spikes were labeled manually using the MATLAB SignalLabeler GUI and used as a “ground truth” for tuning the detector. One trained author (J.D.Y.) manually labeled the raw LFPs, where the sign of the LFP was flipped such the largest events faced negatively. IS were inspected visually for large negative deflections that strongly deviated from baseline. The start and end of the window were defined as when the envelope of the IS amplitude returned to the baseline level by visual inspection. Under this manual method, the window range had a mean = 100 ms, standard deviation = 92 ms, a minimum = 14 ms, max = 724 ms. The detector was run on this ground truth dataset and the threshold, low- and high-pass bands were varied to maximize the F1/2 score for each animal (Table 1). True positives (TP) were counted if the detector labeled exactly one spike within the labeled window. False positives (FPs) were either (1) any additional spikes within a labeled window or (2) any spike outside a window. False negatives (FNs) were windows that contained no detected spike. True negatives were not evaluated. These values were used to calculate the Precision, Recall, and F1/2 score using the following equations:Precision=TPTP+FP,(1) Recall=TPTP+FN,(2) Fβ=(1+β2)Precision×Recall(β2×Precision)+Recall.(3) The F1/2 score was chosen to favor Precision roughly twice as much as Recall (β = 1/2; i.e., only selecting events that are very high above the noise floor) to avoid including non-interictal/ictal spike noise contaminating the data.

Binning maze zones

For a given session, the trajectory of the animal was plotted and segmented into zones. Trajectories across sessions were aligned and binned into 4×4 cm bins. Each trajectory was fit by a rectangle and a dissecting line after calculating the coordinates of the four corners and the center of the maze. Coordinates were used to break the maze into zones with user-defined size including delay (40 cm of central arm), stem and choice (15×15 cm), outer arm, and reward zones (15×25 cm). To perform trial-wise analyses, the session was parsed into individual trials based on the sequence of entering the zones. For the automated maze, spurious “positions” that were outside the maze due to tracking errors were removed manually by inspection post hoc.

Spatial information of interictal activity

To get a sense of the “spread” of spikes on the maze, we treated the IS as if they were generated from a single “place cell” and applied spatial information analysis to its activity (Skaggs et al., 1992). First, the maze was binned into a 15×15 grid, and the occupancy and number of spikes was calculated to get rates, λi, and occupancy probabilities, P(xi). These were used in the information rate (bits/s) formula provided by Skaggs et al. (1992):I=∑iλiP(xi)log2λi∑iλiP(xi),(4) where the original integral has been replaced by a sum over occupied spatial bins, each indexed by i. Finally, to get information per spike (bits/spike), the quantity, Ispike=I/∑iλiP(xi) , was computed. This quantity was computed for each session.

To study how locomotion impacts Ispike, for each brief rhythmic interictal discharge (BIRD), i, we computed the distance traveled as:di=∑j‖x→ij−x→i(j−1)‖2,(5) which is the sum of distances along the path defined by successive spikes indexed by j (compare to simple displacement from the position at the start and end of the BIRD). The operator || · ||2 is the Euclidean norm. A generalized linear model with mixed effects (GLME) was then fit, with specification:Ispikek∼1+⟨dk⟩+(1|animal),(6) where the index k is a per-session index, and 〈dk〉 is the mean BIRD distance traveled within that session. The model was fit in MATLAB using the fitglme() function and Gamma distribution with reciprocal link. Gamma regression was selected since Ispikek∈[0,∞) and diverged from a normal distribution when inspected on a quantile-quantile plot. For each session, the alternation task performance was also fit to compare the spatial information to performance as:Performance∼1+Ispikek.(7) The MATLAB fitglm() function was used to fit the regression and dispersion was estimated from the data.

Zone-specific IS rate analysis

Mouse location was binned into zones of the maze: “Delay,” “Choice,” “Reward,” and “Outer Arm” regions of interest. For each zone, the observed spike counts were calculated by calculating the number of IS in a given zone. These observed counts were compared to expected counts which were calculated by multiplying the percent of time in each zone by the total spike count. Observed and expected spike counts were compared with a χ2 test.

To estimate the zone-specific influence on the observed IS number of spikes for a given animal in each zone, Sz,a, we employed a Bayesian approach to infer zone-specific “gains,” ηz, which were applied to an animal-specific “baseline” IS rate, ρa as:Sa,z∼Poisson(Tz,aρaηz),(8) where Tz,a is the number of seconds in the zone z spent by animal a. [Note the correspondence of this parametrization to that of a standard generalized linear model (GLM) with a Poisson distribution and log link function via the identity, e∑iβixi=Πieβixi , where βi and xi are generic regression coefficients and predictors.] The parameters to be estimated had priors of the following form:ρa∼pa=LogNormal(−1,0.3),(9) ηz∼p(ηz)=LogNormal(0,1).(10) Therefore, the posterior distribution was expressed asp(θ|Sz,a)∝p(Sz,a|θ)p(θ)=Poisson(Tz,aρaηz)p(ρa)p(ηz).(11) The model was specified in the probabilistic programming language Turing.jl in Julia (version 1.10.2, Bezanson et al., 2014), with packages managed with DrWatson.jl (Datseris et al., 2020). Four independent chains, each run for 1,000 iterations with 500 warm-up samples, were run using the No-U Turns Sampler (NUTS, Hoffman and Gelman, 2011) with a target acceptance ratio of 65% to estimate a posterior distribution for the parameters. R^ values and effective sample sizes were checked to ensure convergence, mixing, and sampling efficacy of the Monte Carlo Markov chains.

Ninety-five percent credible intervals (1 − α) were estimated for each parameter by using the highest posterior density (HPD) method. The credible interval for each ηz was compared to a “null” value of 1, and for those which did not overlap with 1, a “significance level” was estimated by lowering the (HPD) threshold α until the credible interval contained 1.

To assess the model fit, samples from the posterior predictive distribution were taken and used to generate “replicates” of the data, Sirep. (Gelman et al., 2013). The distribution of means of the replicates were compared to each observed data point for agreement. As a check of model specification sensitivity, mean squared errors were calculated for this model using the replicates and observed data, and then compared against a “clamped” model fit where ηz = 1 for all zones. The two models had Akaike information criterion values of approximately 1.30 × 104 for the full model versus 1.48 × 104 for the clamped model. Thus, the full model was retained for its interpretability and improved prediction performance.

IS LFP embedding and classification

For each IS that occurred on the maze, the single channel LFP signal was extracted ±100 ms from the detection time. Then, the LFP was down-sampled to 2,000 Hz and transformed to a z-score. The LFPs for each animal on all delayed alternation behavior sessions were then non-linearly embedded with t-SNE (with default parameters) to get a 2-D feature vector. A bagging ensemble of trees (Breiman, 1996, 2001) was fit using MATLAB with fivefold cross-validation (including stratification into groups with similar proportions of each discrete class) to classify whether or not the IS occurred in either reward zone based on the feature vector’s position in 2-D space. The area-under-the-curve (AUC) of the receiver operating characteristic (ROC) curve was computed and compared to the animals mean performance over five sessions using standard linear regression. Note that the qualitative results did not change when the classifier was trained on the full-dimensional LFP waveforms instead of the t-SNE embedding, suggesting the embedding faithfully reduces the dimensionality by persevering relevant features.

To compare the amplitudes of the IS events under different conditions, the root-mean-squared (rms) amplitude was computed for each IS. To compare across animals, the raw rms values were divided by the standard deviation of the rms for all the IS of a given animal. Two-sample t-tests were used to compare the distributions of amplitudes between IS inside versus outside reward zones, and IS at reward during correct versus incorrect trials.

Inferring trial-to-trial behavioral state from task performance

The efficacy of decision-making depends in part on the underlying behavioral state of the animal, e.g., whether the animal is engaged with the task or has a lapse in performance. This dependency of task performance and neural dynamics on a latent behavioral state has been modeled using models that capture auto-regressive dependencies across trials (Escola et al., 2011; Fründ et al., 2014; Lueckmann et al., 2018; Ashwood et al., 2022).

Borrowing ideas from Ashwood et al. (2022), we modeled the trial-to-trial performance using a hidden Markov model (HMM) with states inferred from the data as follows. Consider discrete states indexed as s ∈ {1, 2, …, N}. The probability of an animal making a “correct” choice on trial i depends on the state as:p(ci=Correct|si)∼Bernoulli(ps).(12) In other words, the performance is like flipping a biased coin with probability of “heads” ps. The value of ci is considered as the “emission” of the hidden Markov chain. The state can change from trial-to-trial, and thus the probabilities of transitioning between different states are expressed as:p(si|si−1′)∼ass′,(13) where ass′ is an entry in the transition matrix A∈RN×N . The initial state on the first trial is drawn from:p(s0)∼Categorical(α0),(14) where α0∈RN is the probability of initializing in each of the N states. These parameters were initialized as:Ainit.=1+ϵ1+NϵIN×N,(15) where IN×N is the identity matrix, ϵ=0.5 is a parameter to control the relative strength of transitions between states versus persisting within the same state, the initial state as:α0=[1/N,…,1/N]⊤,(16) and finally, each ps took one of N uniformly spaced values from 0.1 to 0.9.

To train the HMM, all of the choice data for each trial from each epileptic animal was concatenated into a vector and the end of each session was noted. Then, the Baum–Welch expectation-maximization procedure was applied to this concatenated vector (re-initializing when a session ended) to find the optimal values of the initial state distribution, the transition matrix, and the emission probabilities for each state (Rabiner, 1989). Using the optimized HMM parameters, the most likely state sequence given the observed choice data was computed using the Viterbi algorithm. Marginal probabilities of each state were also estimated using the forward-backwards scheme. HMM algorithms were used from the HiddenMarkovModels.jl software package in Julia (Dalle, 2024). This procedure was conducted for N = 2 and N = 3. The two HMMs had similar log-likelihoods after Baum–Welch estimation (−324.8 and −323.5 respectively), and so only the N = 3 case was retained for further analysis. Finally, the hierarchical bootstrap method (Saravanan et al., 2020) was applied to estimate delay period exit times by stratifying the data into three states, then sampling with replacement a single trial from an animal weighted by the number of trials that animal had within that state until the a sample of the same size as the original data in each state was generated. The mean of these samples was computed for 1,000 replicas.

Inferring behavioral state-dependent IS activity in the delay zones

The inferred marginal probabilities of each state sequence from the forward-backward algorithm, p(si), were used as a prior to parameterize a variant of the firing rate model. The model likelihood was specified as:p(Si|si;ρa)∼Poisson(Tdelay,iρaΣi=1Nηsip(si)),ρa∼p(ρa)=i.i.d.max(Normal(0.5,0.5),0),ηsi∼p(ηsi)=i.i.d.LogNormal(0,1).(17) The variable Si is the number of spikes in the delay period on trial i. The term ∑i=1Nηip(si) is the sum of gain terms ηsi each weighted by the marginal probability of being in state si ∼ p(si). Tdelay,i was defined as the time in seconds the animal spent in the delay zone at the start of the trial i. This model can be interpreted as applying a state-specific scalar gain ηsi to an underlying animal-specific firing rate ρa. The prior for ρa was chosen to be weakly informative of the fact that the previous Bayesian model returned animal-specific mean rates centered around 0.5 Hz, truncated at zero to exclude negative rates. Modifying the standard deviation of this prior from 0.5 to [0.1, 0.8] had no effect on the qualitative conclusions of the inferences. The model was again estimated in Turing.jl using 5,000 samples from the NUTS sampler, initialized as before.

To validate the model estimated gains ηsi , the discrete state sequence from the Viterbi algorithm was used to group spike counts into N distributions. A Kruskal–Wallis test was used to compare the spike count distributions. As posterior predictive checks, the means of the posterior mean ρa values were compared to the observed mean rate of IS from the data. Also, the distribution of predicted marginal mean spike counts E(Sirep.) and the distribution of marginal means counts conditioned on the Viterbi-estimated state, E(Sirep.|si) , were compared to their point-estimates from the observed data, E(Si) and E(Si|si) . Note that Sirep. denotes samples from the posterior predictive distribution (Gelman et al., 2013).

In silico model of IS and place coding replay

Spiking model of hippocampal replay

To isolate the effects of IS on hippocampal coding required for behavioral navigation, we modified the spiking neural network model of place cell replay in CA3 described by Ecker et al. (2022) and then updated by Liu et al. (2023) to include CA1. Pyramidal cells (pyr., n = 1,250 region) and interneurons (int., n = 100 per region) in CA1 and CA3 were modeled using the adaptive exponential leaky integrate-and-fire (AELIF, Brette and Gerstner, 2005) model:CmdVdt=−(gL(V(t)−EL)−gLΔTeV(t)−θΔT+Is(t)+w(t)),τwdwdt=a(V(t)−EL)−w(t),if spike,w←w+b,Is(t)=gAMPA(t)(V−EAMPA)+gGABA(t)(V−EGABA),(18) where V(t) is the membrane potential, w(t) is an adaptation current, and Is(t) are the sum of synaptic currents. Furthermore, Cm is the membrane potential, gL and EL are the leak current conductance and reversal potential, θ is the spike threshold, ΔT is the threshold sharpness, τw is the time constant for adaptation, a and b are parameters specifying how the adaptation current evolves between and following neuron spikes, respectively (see Table 2 for values which approximately correspond to those in Ecker et al., 2022). The synaptic conductances gAMPA and gGABA were bi-exponential functions as in Ecker et al. (2022), with EAMPA = 0 mV and EGABA = −90 mV. All neural simulations were specified and run in NEST v3.7 (Espinoza Valverde et al., 2024) with Python 3.12.3.

View this table:
  • View inline
  • View popup
Table 2.

Spiking neuron parameters for model Equation 18

To simulate the plasticity induced by repeated exploration of a maze environment, we adopted a modified place- and theta-modulated spike-timing-dependent plasticity (STDP) paradigm introduced in Ecker et al. (2022) and Liu et al. (2023); a similar form model was experimentally validated in Liao et al. (2024). The original model only considered a single 3 m long linear track, whereas our task involves alternating across two separate arms of a maze. Therefore, to understand whether the two arms are re-activated during replay separately, we modified the “exploration” paradigm to take place on two 150 cm arms pointed left and right, with the mouse starting at the midpoint and “teleporting” back to the midpoint once it reached either end. For 10 min, leftward and rightward trajectories were chosen at random according to a 90% chance of alternation. The simulated mouse ran at 35 cm/s with a theta oscillation frequency of fθ=7  Hz. In both CA1 and CA3, 30% of pyramidal cells were selected as place cells. Each was given a place field with center xi drawn uniformly from the total length of the maze. During the “exploration” phase, only pyramidal cells were simulated as inhomogeneous Poisson processes with firing rates as:λi(t)=λmax[12+12cos(2πfθt+πσsign(xi)(x(t)−xi)]e−(x(t)−xi)22σ2,(19) where the maximum firing rate at the center of the place field was λmax=20  Hz, and the width of the place field was σ = 7 cm. This equation encapsulates place tuning and theta phase precession (Ecker et al., 2022; Liu et al., 2023). Non-place cells fired with a mean rate of 0.1 Hz. To simulate IS which clustered at the same location of the maze during exploration (for example, the reward ports), all CA3 pyramidal cells received a pulse of spikes at λmax=2,000  Hz described according to:λIS(t)=λmax∑xISj∈[−100cm,+100cm]e−(x(t)−xISj)22σ2,(20) where σIS = 4 cm. A single spike train was drawn from λIS(t) and broad-casted to all the CA3 pyramidal cells, but each neuron only received each spike with an independent probability of 1%. During exploration the pyramidal cell spiking was clamped to λi(t) induce sequences encoded in the weight matrix tuned by STDP (Ecker et al., 2022; Liu et al., 2023; Liao et al., 2024) . The normalized synaptic weights, w ∈ [0, 1], were updated according to standard STDP rules (Gütig et al., 2003) as:Δw={−λαwμ−e−|Δt|τ−ifΔt≤0λ(1−w)μ+e−|Δt|τ+ifΔt>0,(21) where μ± = 0 (weight-independent updating rule) and Δt = tpost − tpre, λ is the step size parameter, α is an asymmetric parameter controlling synaptic depression, and τ+ and τ− are the time scales of facilitation and depression respectively. For CA3-to-CA3 pyramidal neuron synapses STDP was symmetrically facilitating as in Liu et al. (2023), thus, λ=0.08wmax  nS, α = −1, τ± = 62.5 ms, and wmax=40  nS. For CA3-to-CA1 synapses, λ=0.8wmax  nS, α = 0.4, τ+ = 20 ms, τ− = 40 ms, and wmax=40  nS. Weights were initialized as 0.3LogNormal(0,1) nS for CA3 and 0.7LogNormal(0,1) nS for CA1. Synapses were formed between CA3 pyramidal neurons recurrently and fed forward to CA1 neurons with 10% probability for each pair of cells. The training procedure above was repeated 10 times for control and epileptic conditions to generate different replicas.

To simulate spontaneous replay during “offline” states such as the delay period between trials, the full network with pyramidal cells and interneurons with AELIF dynamics was constructed. The final pyramidal-to-pyramidal cell weights learned by STDP after all exploration trials were used to parameterize static synapses. CA3 pyramidal cells were stimulated by background activity from the dentate gyrus that was assumed to have a pooled rate of 12 Hz and synaptic weight of 15 nS. The connections between all other cell types are detailed in Table 3.

View this table:
  • View inline
  • View popup
Table 3.

Synaptic parameters during “offline” state modeled after (Ecker et al., 2022)

For comparing how the IS distributions on the maze affected network cueing, we simulated a case with high spatial information where IS were given to only CA3 cells with place fields at ±100 cm (i.e., the “reference point”), and a case with low spatial information where the place cells which were stimulated varied uniformly over the interval (±0 cm, ±150 cm) on each trial. All spikes from the IS were delivered to active place cells (defined as when place cells achieved 10% of their maximum firing rate). To “cue” replay, the weight of background activity was reduced to 10 nS, and CA3 place cells associated with different zones were stimulated with a 20 ms burst of spikes sampled from a Poisson process at 30 Hz with a synaptic weight of 80 nS from the simulated dentate gyrus. Cues were given to CA3 place cells on 20 cm wide intervals centered on equally spaced (20 cm) locations between 0 and 80 cm away from a reference point. Ten independent networks were trained for 300 s, and then for each case, 10 random seeds were used to initialize simulations for each cue center.

Analysis of simulated LFP

The “LFP” proxy of the network was computed as the sum of all synaptic currents delivered to a random subset of 200 CA1 pyramidal cells:LFP(t)=14πσr∑igi(t)(V(t)−Ei),(22) sampled at 1,000 Hz where the extracellular conductivity σ =0.3 S/m and the distance from each current source to the electrode was set to be r = 5 μm. The choice of these parameters only affects a scalar gain (Ecker et al., 2022). Replay events were detected by detecting peaks with a prominence of 1 mV and minimum distance of 200 samples on the lowpass filtered LFP at 200 Hz with a seventh order Butterworth filter. Once the peaks were found, 150 ms on either side of the peak were selected and used for further analysis. The power spectral density (PSD) of the LFP was estimated using Welch’s method with 256 samples per segment, 32 sample overlap, and 1,024 FFT points. The PSD was computed on 5 s long segments of spontaneous activity from each of the 10 replica networks. The continuous wavelet transform (CWT) was computed on the averaged replay LFP using a complex Morlet wavelet with bandwidth of 1.5 and center frequency of 1.0 at 200 logarithmically spaced frequency bands between 101.2 and 102.5 Hz. To compute the CWT, only one replica network was selected and the replays over 5 s were used for averaging. Signal processing was done using Scipy (Virtanen et al., 2020) and the PyWavelets package (Lee et al., 2019).

Analysis of simulated replay events

After replays were detected by the LFP, the place cell activity was extracted and used to reconstruct the maze position using the population vector method (Zhang et al., 1998):x^[t]=argmaxx∑iδ(x−xi)ni[t],(23) where δ(x) is the Dirac delta function, xi is the place field center, and ni[t] indicates the number of spikes neuron i fired within a discrete 25 ms time bin.

Results

Epileptic mice exhibit persistent focal interictal activity

To test how hippocampal dynamics during spatial working memory are impacted by interictal activity, saline (control) or KA injected mice were implanted with drivable micro-electrodes which were positioned in the hippocampus over several days (Table 1). Once electrodes were in their final positions mice were video monitored to determine rates of seizures and interictal discharges during restful periods (total of 13.0 ± 2.0 monitoring h/mouse). As expected, mice injected with KA experienced frequent subclinical seizures (12 ± 11 of seizures/hour, Table 4), confirming that they suffer from focal TLE (Fig. 1A). In addition to subclinical seizures, we observed seemingly sustained interictal spiking that was categorized into two types: solitary IS and chains of spikes called brief interictal rhythmic discharges (BIRDs). Events were classified as solitary IS or BIRDs based on inter-spike intervals similar to Heining et al. (2019, Fig. 1B–D, Table 5).

Figure 1.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 1.

KA mice exhibit spontaneous seizures and interictal activity. A, Two examples of seizures recorded from the hippocampus bilaterally where the right hemisphere was injected with KA. Spikes were detected continuously both during subclinical seizures and in the interictal period. B, For each KA animal, the inter-spike intervals between each interictal spike (IS) was used to classify IS as solitary IS or chains of IS called brief rhythmic interictal discharges (BIRDs). IS with inter-spike intervals greater than 2 s were considered solitary, and <2 s as part of BIRDs. C, Examples of solitary IS (light blue dots) and BIRDs (dark blue dots), with BIRD durations shown as bars. D, A Poincaré plot shows a sampling of inter-spike interval (ISI) pairs which can be divided into “First,” “Within,” and “Last” spikes of BIRDs or solitary spikes using the same 2 s threshold as in (B).

View this table:
  • View inline
  • View popup
Table 4.

Rates of spontaneous seizures during monitoring

View this table:
  • View inline
  • View popup
Table 5.

Rates of interictal events during monitoring sessions

Epileptic mice have impaired performance on a spatial working memory task

In addition to video-LFP-monitoring, mice were recorded during daily behavior sessions comprising a spatial working memory task flanked by rest sessions. While performing the delayed alternation spatial working memory task, mice had to alternate between visiting two sides of a Figure 8 shaped maze (Fig. 2A) to receive food (or liquid sucrose for m7) rewards with a 30 s delay period between trials (see Methods for training details; Hoxha and Sabariego, 2020). Over the five sessions of testing, control mice (n=6) performed significantly better than KA mice [n = 7; repeated measures ANOVA, F(1, 11)= 7.25, p = 0.021; Fig. 2B]. The difference in behavior was also observed when averaging performance across the five sessions of testing (Fig. 2B; control, n=6,76.4±3.1% ; KA, n=7,59.34±5.2% , unpaired t-test, d.f. = 11, t-stat = 2.69, p = 0.021). Notably, the KA group did not perform better than the chance level of 50% correct choices (one sample t-test, t-stat = 0.63, d.f. = 6, p = 0.55), whereas control mice did perform significantly higher than chance level (one sample t-test, t-stat = 3.2, d.f. = 5, p = 0.023; Fig. 2B). We also noted that despite poor overall performance, the KA group exhibited individual sessions of good performance (Fig. 2C), suggesting that the mechanisms underlying poor performance may be dynamic.

Figure 2.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 2.

IS burden does not correlate with impaired spatial working memory performance in KA mice. A, Figure 8 maze used for delayed spatial alternation with salient locations highlighted. B, Control animals’ performance in the delayed alternation task (dark blue line) was significantly higher than that of KA animals (light blue). Furthermore, the mean performance across all five sessions was higher than chance (50%) only for control (CTRL) animals, shown as dots on the far right. C, Day-to-day performance of KA animals was variable but interspersed with “good” sessions (>70% performance dashed line). D, The mean IS rate during behavior varied across sessions. (E), Showing no systematic trend over time. F, Finally, the IS rate burden was not found to be significantly correlated with session performance.

IS occur during working memory and their spatial distribution, but not rate, correlates with memory performance

To determine what mechanisms underlie impaired and variable memory performance in KA animals, we recorded hippocampal LFPs during task performance. Animals had high rates of IS while performing the working memory task (0.50 ± 0.07 Hz, n = 35 sessions = 7 animals × 5 sessions; Fig. 2D). While IS rates varied between sessions (Fig. 2E), surprisingly, the mean rate of spikes during each session was not significantly correlated with performance (Pearson r = −0.12, p = 0.49; Fig. 2F).

Given the mean rate of spikes during the task did not correlate with behavioral performance, we examined whether the fine details of where spikes with respect to the mouse’s navigational behaviors could explain spatial memory deficits. Spikes either occurred as solitary IS (0.027 ± 0.003 Hz) or in BIRDs (0.035 ± 0.003 Hz), and were pooled to test the overall impact of all spikes on behavior. BIRDs were typically short in duration (4.5 ± 0.42 s) and comprised several spikes (14 ± 2 spikes). We noted that for some mice the spatial distribution of spikes were confined to specific areas of the maze, and were even consistent across sessions of memory testing (e.g., m1 and m7, Fig. 3A). Other mice exhibited patterns of spiking that extended across large portions of the maze and were more variable session to session (e.g., m3 and m6). Consistent with this observation, we found that the spatial information of IS, which is a measure of how well spiking activity predicts mouse location, was quite variable across sessions (Fig. 3B, left), with some sessions exceeding values of 2 bits/spike. Such high values of spatial information match those reported for individual place cells in healthy hippocampus (Skaggs et al., 1992). High spatial information of IS was weakly, but significantly correlated with a better performance on the working memory task (Fig. 3B, right, p = 0.049; see Table 6 for further statistical details).

Figure 3.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 3.

Spatial clustering of IS during working memory correlates with performance. A, The locations of BIRDs (dark blue dots) and solitary IS (light blue dots) on the maze for all animals shown for three of the five sessions. B, The spatial information per interictal spike was computed for each session (N = 35 = 7 mice × 5 sessions, left). Higher values of spatial information corresponded to a higher alternation performance predicted by a GLM (right; p = 0.049, see Table 6 for details). C, The running speed during solitary spikes (light blue), BIRDs (dark blue), and the first spike of each BIRD (dashed) was compared to reveal that BIRDs occur at faster running speeds than solitary IS or the first spike in each BIRD. Table 7 contains statistics for the comparisons shown in C, ***p < 0.001, n.s. p > 0.05. D, Using a GLME, it was found that working memory sessions that had BIRDs associated with long running trajectories significantly explained lower values of spatial information (fixed-effect for distance term, p-value = 0.02, see Table 8). The marginal (unconditional) fixed-effect mean and 95% CI are shown in the blue shaded region.

View this table:
  • View inline
  • View popup
Table 6.

GLM coefficients comparing spatial information (SI) to animals’ per-session performance, adjusted R2 = 0.085, d.f. = 33, dispersion = 0.03

To further investigate contributions to the variable nature of spatial information of interictal spiking, we calculated running speeds at the times of IS and BIRDs. Solitary IS occurred during periods of rest as reported by others (Gelinas et al., 2016), while BIRDs tended to occur when the mouse was running at faster speeds (Fig. 3C, see Table 7 for statistics). Interestingly the first spike in a BIRD had a speed-tuning distribution that overlapped with solitary IS (Table 7), indicating that BIRDs may initiate from quiet restful states but can encroach onto running states if the animal begins movement mid-BIRD. We reasoned that BIRDs during running would drive lower spatial information, and indeed sessions with BIRDs that spanned larger distances on the maze were correlated with lower total information per spike (Fig. 3D, GLME fixed-effect for distance term, p-value = 0.02, Table 8 for more statistics).

View this table:
  • View inline
  • View popup
Table 7.

Running speeds of IS and BIRDs

View this table:
  • View inline
  • View popup
Table 8.

Coefficient values for the gamma GLME in Equation 6, estimated dispersion was 0.08

The distribution of IS in the behavioral maze is augmented in specific spatial zones of the maze

To see whether IS were more likely to occur at specific maze locations, we divided the maze into “Delay,” “Choice,” “Reward,” and “Outer Arm” zones and calculated both the total time each animal occupied that zone and the IS rate in that zone (Fig. 4A,B). The occupancy distribution was significantly different from the distribution of spikes in each zone (χ2 test, p-value = 2.6 × 10−9, dof = 1, χ2 stat: 35.44 Fig. 4B), indicating that the IS-generating process is non-stationary. To understand the zone-specific effects on the IS rate, we modeled the non-stationarity as a non-homogeneous Poisson process in which a “baseline” spike rate, ρa, which is specific to each animal, is scaled by zone-specific gain factor, ηz, unique to each zone but shared between all animals (Fig. 4C).

Figure 4.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 4.

IS and BIRD rates are augmented in certain spatial zones of the maze. A, For choice, delay, outer arm, and reward zones, (B) the proportion of time spent and the proportion of IS in each zone differed significantly from each other (χ2 test, p-value = 2.6 × 10−9, dof = 1, χ2 stat: 35.44 ). C, To examine how each zone affected the IS rate of each animal, a Bayesian model was estimated (see Methods for details), where a zone-specific gain ηz = 1 was interpreted as a “neutral” effect. D, The “outer arms” and “reward” zones had 95% highest posterior density (HPD) intervals of ηouter arm = [1.1, 1.6] and ηreward = [1.5, 2.3], respectively. E, As a posterior predictive check, the distributions of IS spike counts actually observed were compared to those predicted by the Bayesian model. The bulk of the distributions (i.e., for means <400 spikes) agree whereas observed over-dispersion in the tails was not fully captured.

The posterior distributions of ηz in each zone were compared to a null value of 1 indicating the absence of a zone-specific modulatory effect on the IS rate. The “Reward” zone’s gain significantly deviated from 1 (Fig. 4D; ηreward = [1.5, 2.3], 1 − α = 95% HPD interval, N = 7 animals × 5 sessions × 4 zones) and the “Outer Arm” zones’ term also deviated from 1 (ηouter arm = [1.1, 1.6] HPD interval). In other words, the IS rate was significantly elevated from baseline when the animal occupied reward zones and when the animal ran down outer arms to the reward zones, but the IS rate was consistent with baseline at all remaining locations on the maze. These results are consistent with our findings regarding spatial information, as we would expect that sessions with IS augmented at reward sites would have high spatial information, whereas sessions that had IS while the animal ran down outer arms of the maze would drive lower spatial information.

The model’s fit and inferences were inspected to assess model plausibility. We validated the model’s inferences by confirming that the distribution of posterior means of ρa [0.46 ± 0.23 Hz, n = 7 mice, mean ± 95% confidence interval (CI)] agreed with the “naïve” time averaged IS rate (0.50 ± 0.07 Hz, n = 7 mice × 5 sessions), which was not explicitly given as data to the model. The mean values predicted by the model were compared directly to the observed data, where it was found the model distribution qualitatively agreed with the observed data (Fig. 4E).

Reward zone LFP discriminability predicts animals’ working memory performance

Given the significantly elevated IS rate in reward zones (Fig. 4D), which in some animals exhibited place cell like precision across sessions (Fig. 3), we hypothesized that the IS LFP at reward zones may contain latent information regarding the location of the animal on the maze. Several studies have shown that features of the hippocampal LFP signal can be decoded to reveal a continuum of generating mechanisms (Navas-Olive et al., 2020, 2022, 2023; Sebastian et al., 2023, 2024), and even into variables describing the animal’s behavioral state including position (Agarwal et al., 2014; Cao et al., 2021; Douchamps et al., 2024) and social context (Mohapatra et al., 2024). After non-linearly embedding each IS LFP into a two-dimensional space (Fig. 5A), a bagged ensemble of trees binary classifier (Breiman, 1996), sometimes referred to as a “random forest” (Breiman, 2001), was trained to discriminate between IS which occurred at reward sites versus those that did not. The classifier’s performance as measured by the ROC (Fig. S1; AUC), was able to predict the animal’s mean performance on the alternation task (Fig. 5B, Table 9). Furthermore, when considering a classifier on only spikes that occurred in the reward zones, east and west reward sites could also be discriminated above chance level (Fig. 5C). This suggests that mice which generate IS in reward zones that are sufficiently distinct from IS in other locations on the maze have better spatial working memory, and that reward-IS carry spatial signals that are informative and potentially could be useful for solving the task. This is consistent with reports that SWR in healthy animals recruit cells which encode locations near rewarded locations (Singer and Frank, 2009; Joo and Frank, 2018). The effect of classifier AUC on predicting animals’ performance was consistent when controlling for mean spatial information, suggesting that both discriminability of reward-related IS and spatial information of IS are important and explain different aspects of the variance (Table S1). Interestingly, IS which occurred in reward zones had significantly larger relative amplitudes than those that occurred in other locations on the maze (Fig. 5D). Similarly, when considering only IS within reward zones, the relative amplitudes for those which occurred during correct choices were also significantly larger than those during incorrect choices (Fig. 5D). This is consistent with reports that SWR in healthy animals at reward sites are larger in amplitude and longer in duration than at unrewarded locations (Singer and Frank, 2009). Thus, the reward-related changes in IS features we have observed mirror those of reward SWR, suggesting that the decodability and amplitude differences we observe in IS may be driven by similar mechanisms that also recruit larger SWR and engage ensembles that encode locations near rewards.

Figure 5.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 5.

The ability to decode reward zones from the IS LFP predicts animals’ memory performance. A, The normalized LFP from each IS was non-linearly embedded into a two-dimensional space using the t-SNE algorithm (Van der Maaten and Hinton, 2008). A bagged ensemble of trees binary classifier (Breiman, 1996, 2001) was trained on the embedded IS LFP to decode whether the IS happened within a reward zone (blue) or not (gray dots). The t-SNE embedding of two representative animals’ LFP are shown. B, The classification was evaluated using the receiver operating characteristic (ROC) area-under-the-curve (AUC). The AUC value was associated with the animal’s mean performance across the five sessions of behavior (p = 0.0206, see Table 9 for further details). Solid line is the mean and light lines are 95% CI of the regression model, error bars show 95% CI of individual data points. C, The analysis was repeated for IS generated in reward zones only to see if animals maintained a representation of east versus west reward zones. The population mean of the AUC values was significantly greater than 0.5 chance level (tStat = 2.24, df = 6, sd = 0.12, p = 0.033, one-sided t-test; *p < 0.05). D, The root-mean-squared amplitude, normalized by the standard deviation per given animal, was computed for each IS waveform. The left panel shows IS at reward zones was larger than all other zones (tStat =−40, df = 16,299, sd = 1.3, two-sided t-test; ****p < 0.001). The right shows for spikes in reward zones only, IS during which the animal was rewarded were slightly larger (tStat =−8.2, df = 4,721, sd = 1.2, p = <0.001, two-sided t-test).

View this table:
  • View inline
  • View popup
Table 9.

Coefficient values for the regression model in Figure 5B

Task engagement state is related to performance and IS rates during the delay phase

A key phase of working memory is the delay phase. In our case, this corresponds to the 30 s period between trials when animals must maintain representations of the past to inform future decisions or “hold on” to a future plan. In healthy animals, it is known that SWR during delay phases often replay locations of recently visited reward locations (Gillespie et al., 2021), which is thought to support future decisions to not revisit that location on the next trial. Furthermore, interrupting SWR in between components comprising a multi-step task selectively impairs memory performance (Jadhav et al., 2012), suggesting that SWR are critical for memory processes which take place on similar timescales as behavior. We therefore were interested in IS in the delay phase and whether or not delay phase IS could play a similar role to that of delay phase SWR.

First, we accounted for variations in engagement with the memory task which may co-vary with IS rates. Task engagement is known to fluctuate in healthy animals between distinct states with different error rates (Ashwood et al., 2022). Therefore, we first estimated distinct task engagement states. Using the mice’s trial-to-trial performance, we inferred three discrete task-related behavioral states corresponding to low [p(Correct) = 19%], medium (53%), and high (75%) success rates using a HMM scheme (Fig. 6). Naturally, the medium level state is consistent with a random guess, and the high-level engaged state corresponds to performing the task correctly with few errors. The low performance state is consistent with the strategy of perseveration, i.e., choosing the last visited site repeatedly. Within a single day, the mice typically transitioned from an initial “guessing” state to an “engaged” state, or relatively less often a “perseveration” state characterized by many errors in a row (Fig. 6A). Control animals’ performance also was represented with an HMM (Fig. S2) of similar structure to that in Figure 6B. Importantly, the probability of remaining in a perseveration state was lower in controls than in epileptic mice (Fig. S3). In agreement with computational and psycho-physical investigations of reaction time and decision certainty (Beck et al., 2008; Churchland et al., 2008; Kiani et al., 2014), mean time to exit the delay zone was inversely related to the probability of correct choice as summarized in Table 10.

Figure 6.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 6.

Mice switch between distinct behavioral states with differing IS rates from trial-to-trial. A, The performance of two example animals are shown. The shaded areas represent the estimated marginal probability of being in one of three states (B) determined using a hidden Markov model. The trial-to-trial performance was partitioned into three states. The dots show the outcome (correct vs incorrect) for each trial. B, The probability of a correct alternation followed a Bernoulli random variable (rounded here for simplicity of interpretation). C, In the state labeled as “Guess,” the rate of IS in the delay zones was down-modulated by a gain term ηGuess = [0.27, 0.65], indicating a 95% HPD excluding unity. The other gain terms were consistent with unity, i.e., a neutral effect on the baseline rate.

View this table:
  • View inline
  • View popup
Table 10.

The mean delay exit time (time to exit delay zone after 30 s interval elapsed) was estimated from 1,000 samples drawn using the hierarchical bootstrap method (Saravanan et al., 2020) for each discrete state estimated by the Viterbi algorithm

To understand the relationship between the inferred task-related behavioral state and IS, we examined whether the rate of IS in the delay zone on each trial was different in each state. We found that the distributions of the rate of delay zone IS in each behavioral state, estimated by the Viterbi algorithm, did not share a common center location, suggesting that the rate of IS in the delay zone is related to behavioral performance (Kruskal–Wallis rank sum test χ2 approximation, p-value <0.0001, χ2 = 19.4, dof = 2). To estimate the magnitude of state-specific effects on IS rate, a firing rate model similar to the maze zone analysis (Fig. 4) was built to infer a “baseline” IS rate only in the delay zone for each animal, ρa (0.51 ± 0.36 Hz, n = 7 mice, mean ± 95% CI of posterior means; Fig. 6C). With the interpretation of a gain of 1 being a neutral effect, the model predicts that the “guess” state (ηGuess = [0.27, 0.65], 95% HPD credible interval, N = 504 = 7 animals × 5 sessions × M trials/day, where M is different for each animal on each day) was associated with a significant reduction in delay zone IS, while both perseveration (ηPerseveration = [0.51, 1.26]) and engagement (ηEngaged = [0.51, 1.22]) IS rates were not modulated and were thus relatively high (Fig. 6). Given the bimodal effect of high rates of IS during the delay phase on behavioral performance (i.e., high rates associated with strong and poor performance), we turned to a modeling approach to investigate potential replay content during IS.

A simple model of IS and hippocampal place coding

Replays during SWR (Pastalkova et al., 2008; Malvache et al., 2016) are thought to be important for prospective planning and consolidation of recent actions (Dragoi and Tonegawa, 2011; Drieu et al., 2018; Mattar and Daw, 2018; Gillespie et al., 2021). We sought to assess the plausibility that IS during behavior (at reward and on outer arms) interfere with mechanisms of spatial memory, especially in regards to replay events during offline states and intertrial periods (i.e., during the delay phase). Therefore, we built an idealized model of CA3 and CA1 place coding. We modified an existing model of place coding induced by STDP (Ecker et al., 2022; Liu et al., 2023; Liao et al., 2024) to include IS which were simulated by delivering bursts of spikes to CA3 pyramidal cells (Fig. 7A–C). A single burst was delivered per trial in the same relative location in the track. In the model, a mouse “explores” a linear track where it can go left or right with 90% chance of picking the opposite of the last trial (Fig. 7C) and is “teleported” back to the center of the maze to begin the next trial. After training with STDP, the spontaneous network activity was then studied to get a general sense of HFO dynamics in the epileptic network. Networks that received interictal-like pulses on the maze produced larger amplitude and higher frequency HFOs compared to control networks (Fig. 7D–G). Simply by including interictal-like stimuli during training, the network spontaneously generated population events that recapitulated the major qualitative differences observed in the LFPs of ripples and pathological HFOs (Ewell et al., 2019).

Figure 7.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 7.

Providing interictal spikes (IS)-like input to a model of hippocampal place coding induces IS with spontaneous high frequency oscillations (HFOs). A–C, A schematic of the “exploration” phase of the spiking model. The virtual track was divided into two halves and IS were delivered at two locations shown schematically by the lightning bolts. B, The STDP weight updating rules for pyramidal cell synapses during exploration are shown schematically. Representative simulated LFP traces generated from a (D) control and (E) epileptic network are shown with scale bars (250 ms and 1 or 2 mV, respectively). F, Ten replica networks were created and the resulting spectrograms of their spontaneous replay-like bursts are shown with the group means in dark lines. G, The mean replay oscillations from one replica network are shown along with their continuous wavelet transforms.

We then studied the spiking content of spontaneously generated replay events in the model. Like previous reports (Ecker et al., 2022; Liu et al., 2023), we observed spontaneous “replay” events of place cells in the offline state in control and epileptic networks (Supp. Fig. S4A). We used the population vector approach (Zhang et al., 1998) to reconstruct the maze positions represented by the network activity during each replay event and in each simulated subfield (Fig. S4B). Like in previous reports using similar models (Ecker et al., 2022; Liu et al., 2023), such replays were generally longer lasting and involved longer trajectories than are observed in real data, but nonetheless give a lens for comparing between control and epileptic networks.

Spatial distribution of IS during simulated online exploration affects the quality of offline replay events

Our in vivo experiments showed significant variability in the distributions of IS on the maze (Fig. 3A,B). We were interested in how the spatial distribution of IS during exploration of the maze impacted the content of replay of remote locations (like reward locations). We simulated “cued” replay by stimulating a subset of place cells with a brief pulse of activity to induce a population event (Ecker et al., 2022). Such cued replays were performed in networks that were trained in two cases that reflected the two extreme patterns of IS distributions we observed in our real data (Fig. 8A): the first regime (high spatial information) where simulated IS were delivered to place cells with fields at the same relative locations on the virtual maze and a second regime (low spatial information) where the location of each IS was varied randomly from trial-to-trial. We considered the location of the IS in the high information case as a “reference point.” Then, the relative spread of replay content beyond the cued arm was measured as the number of spikes in the un-cued arm of the maze. This metric served as a proxy of replay “contamination” or over-generalization (Fig. 8B). This was measured as a function of distance between the place fields corresponding to cued cells and the reference point (Fig. 8A,C). In the high spatial information case, over-generalization of the replay beyond the cued zone was restricted to cue distances <30 cm from the reference point. In the low spatial information case, over-generalization occurred at all cue distances from the reference point. In the <30 cm region, the level of contamination between high and low spatial information were both elevated (Fig. 8C). In contrast to both conditions, control networks had low levels of contamination regardless of the distance to the reference point (Fig. 8C). These results suggest that when IS are scattered across the maze, the network is unable to generate precise replays during offline states and potentially during the delay phase of the working memory task. For example, an animal with broadly distributed spikes would not be able to replay previously visited reward locations (or any other locations on the maze) in isolation. In contrast, an animal with IS restricted to just the rewarded areas could still achieve replays with contamination levels comparable to controls but only for maze locations far from reward. Our model predicts corruption of replay could partially explain the low performance we observed in animals that had IS with low spatial information.

Figure 8.
  • Download figure
  • Open in new tab
  • Download powerpoint
Figure 8.

Spatial spread of IS leads to impaired replay in a hippocampus network model. A, In the IS data in vivo, we found two broad regimes: one where IS were restricted in space (high spatial info, blue), and one where IS were spread across the maze (low spatial info, green). To assess whether these disparate spatial statistics would differentially affect the hippocampal network, we trained the network in Figure 7 on two different cases: one where on each trial, the IS (lightning bolt) was delivered to place cells at the same reference point on each arm (dashed line), and another where the IS was distributed uniformly in space. These cases were referred to as high and low spatial information simulations, respectively. A control network was also created, where no IS were delivered. B, Representative examples of cued replays which led to high and low contamination replays, respectively. “Contamination” refers to the spread of the replay onto the un-cued arm. The trajectory of the contaminated replay is highlighted by the green curved arrow. The asterisks show the location of the place fields cued, the blue dashed lines show the location of the dashed lines in panel A. C, The number of contaminating spikes was low and constant in the control network, and was independent of the distance between the cued location and the reference point. In the high spatial information network, significantly worse contamination emerged for cues near to the reference point (<30 cm), and was reduced to near control levels for cues further from the reference point. For low spatial information networks, replay was contaminated above control levels at all cue distances. Error bars show one standard error of the mean.

Discussion

IS correlate with impaired spatial memory in a spatially specific manner

Our recordings in freely behaving epileptic mice reveal that IS occurred frequently during a hippocampal dependent spatial working memory task (Figs. 1 and 2). While the average rate of spikes during the task did not correlate with memory impairments (Fig. 2), the spatial specificity of IS did. IS rates were augmented during the active encoding phases of the task and either occurred clustered, proximal to reward sites or dispersed on maze arms (Fig. 3). Spatially dispersed IS that carried low spatial information correlated with poor performance. In part, the dispersed pattern of IS could be explained by the fact that BIRDs were sustained during locomotion (Fig. 3C,D) and thus “smeared” IS across the maze. On the other hand, when IS were clustered near reward sites, they were spatially informative and were distinct in LFP shape from other IS on the maze and between reward locations (Fig. 5). Thus IS at reward sites may be reliably engaging ensembles with spatial information, supporting better memory performance.

First, considering the case where IS were spread across the maze, our observations raise the possibility that altered rates and phase-of-firing of inhibitory neurons during theta states (Lopez-Pigozzi et al., 2016; Shuman et al., 2020) allow IS to transiently break through even during locomotion. Similarly, others have observed that dis-inhibiting CA3 enables the generation of IS-like events during theta (Boehringer et al., 2017; McHugh, 2023). Another possibility is that cholinergic drive, which is typically high during running and is known to inhibit population synchrony (Vandecasteele et al., 2014) might be reduced in epilepsy. We hypothesize that place cell recruitment during spatially non-specific IS are a mechanism that contribute to the observed reduction in place field specificity and stability in epileptic mice reported in several studies (Liu et al., 2003; Zhou et al., 2007; Karnam et al., 2009; Titiz et al., 2014; Ewell et al., 2019; Sakkaki et al., 2020; Shuman et al., 2020).

We also observed cases when IS were restricted to reward sites and exhibited reward-related changes, which taps into an interesting line of investigation between reward and replay-based memory mechanisms. We find a suite of reward-related changes in IS that mirror those which have been reported for SWR in health (Singer and Frank, 2009; Ambrose et al., 2016; Joo and Frank, 2018; Gillespie et al., 2021). For example, we observed that the amplitude of IS were larger in rewarded contexts (Fig. 5D) which could be linked to mechanisms that drive increases in the number of pyramidal cells recruited to SWR in rewarded contexts in healthy animals (Singer and Frank, 2009). Finally, we found that the ability to discriminate IS LFP waveforms triggered in reward zones from those triggered in other locations predicted memory performance (Fig. 5B,C), which to our knowledge has no analog for SWR that has been reported. Thinking more broadly, there is a connection between reward-related neuromodulation and epilepsy in general (Starr, 1996; Haut and Albin, 2008). In slice experiments, adding dopamine agonists increases the rate of epileptiform bursting and propagation distance (Suppes et al., 1985; Bandyopadhyay et al., 2005; Goda et al., 2008), and dopamine and serotonin receptors are a potential target for anticonvulsant drugs (Clinckers et al., 2004; Hablitz, 2004; Goda et al., 2008). Future work should focus on dissecting whether activity in the dopamine system can explain the reward-related changes in IS rate and waveform changes we have observed.

IS may both aid and interfere with memory-based planning remote replay

Our modeling results suggest that errors made in different behavioral states can be explained by the content replayed in the hippocampus during remote replay which would likely occur during the delay period of our working memory task. While we do not directly observe the spiking content replayed in each IS in vivo, the decoding analysis in Figure 5 suggests that working memory may depend on generating delay and choice zone IS which have features that are distinct from those of reward zone IS (suggestive of engagement of distinct neuronal ensembles). Furthermore, the cueing simulations in Figure 8 suggest a biologically plausible mechanism for error generation.

We found both engagement and perseveration are associated with baseline interictal activity during the delay period (Fig. 6). In conjunction with our modeling results, we speculate that IS during the delay phase are mimicking delay phase SWR replay dynamics, but that the content of replay is either helpful (engagement) or harmful (perseveration). In contrast, when there is no information available, reflected by suppressed IS rates during delay, we speculate that the animal resorts to guessing. In the case of perseveration, spread of replay content to un-cued areas during IS in the delay zone could lead to the mouse repeatedly visiting the last visited reward area due to a failure to form a cognitive representation of state transitions needed to complete the task efficiently (Igata et al., 2021; Garvert et al., 2023). However, if the replay during an IS remains contained to the cued area (perhaps in the Engaged state, or if the animal has “high information” IS spatial distribution as like in Fig. 8) this could enable the ability to make optimal plans (Mattar and Daw, 2018; Jensen et al., 2024) or to maintain an accurate cognitive map for alternation behavior (Gillespie et al., 2021), or a mixture thereof (Ólafsdóttir et al., 2018; Diekmann and Cheng, 2023). In other words, the IS-induced replay could serve a role analogous to SWR-mediated replay under certain conditions but can also generate completely pathological activity depending on the pattern of IS elsewhere on the maze.

Limitations and future directions

Our study makes several predictions about the impact of IS on working memory that can be directly tested with future single unit studies. As mentioned above, several studies in rodents with TLE have revealed disruption of single-cell properties exhibited during theta states such as reductions in place field specificity and stability (Liu et al., 2003; Zhou et al., 2007; Karnam et al., 2009; Titiz et al., 2014; Ewell et al., 2019; Sakkaki et al., 2020; Shuman et al., 2020), contamination of phase-of-firing relationships to underlying theta and gamma oscillations (Lenck-Santini and Holmes, 2008; Barry et al., 2016; Lopez-Pigozzi et al., 2016; Sakkaki et al., 2020; Shuman et al., 2020), and aberrant post-ictal remapping (Zhou et al., 2007). We predict that IS, especially those that encroach on theta states (Chauviere et al., 2009; Ge et al., 2017; Fu et al., 2018), contribute to the development of such single-cell pathology. Additionally, based on our simulations, we predict that IS could contribute to problems with hippocampal replay such that replay is over-generalized when IS are unrestricted during theta states.

Our simulations based on Ecker et al. (2022) include only STDP. However, emerging evidence has implicated a non-Hebbian form of plasticity called behavioral time-scale plasticity (BTSP) in the formation, updating, and remodeling of hippocampal place cell representations (Bittner et al., 2017; Milstein et al., 2021; Grienberger and Magee, 2022; Vaidya et al., 2025). Recent computational models (Madar et al., 2025; Vaidya et al., 2025; Wu and Maass, 2025) have provided frameworks to simulate BTSP, however we chose not to include BTSP mechanisms in our simulations because there are important unanswered questions regarding the physiology underlying BTSP in epilepsy. For example, there are changes to dendritic calcium dynamics in epilepsy (Masala et al., 2023) and death of EC layer 3 projections to CA1 (Du et al., 1993, 1995; Schwarcz et al., 2000; Feng et al., 2025). Given these changes to elements of the BTSP circuit in epilepsy, it is difficult to model, but it is worth noting that interpretations from our simulations may be limited.

A key prediction of this study is that IS may not always be negative for memory processing. In fact, we predict that at times IS seem to functionally replace SWR (i.e., at reward sites, and sometimes during delay periods). Such complexity indicates that future studies aimed at targeting IS to ameliorate memory deficits will need to be “smart.” For example, studies employing optogenetic blockade of all IS, versus selective blockage of those deemed more pathological will be essential to determine the proper course of therapeutic intervention.

Data and Code Availability

All code and data needed to reproduce the findings is available for free as a Github repository (EwellNeuroLab: InterictalSpikes-Behavior). Model code is available on Github (justidy1: IctalPlaceCell). Raw recordings will be made available upon reasonable request.

Footnotes

  • This work was funded by NIH R01 1R01NS128222-01 (to L.A.E.), American Epilepsy Society Grant 835029 (to L.A.E.), VolswagenStiftung Freigeist Fellowship (to L.A.E.), and National Institute of Neurological Disorders and Stroke Grant T32 5T32NS045540-20 (to J.D.Y.). The authors thank all members of the lab for their support. We also thank Jonathan Ewell for reading the manuscript and providing feedback.

  • ↵*J.D.Y. and M.P. contributed equally to this work.

  • ↵#Senior author and Lead contact.

  • The authors declare no competing financial interests.

  • This paper contains supplemental material available at: https://doi.org/10.1523/JNEUROSCI.0193-25.2025

  • Correspondence should be addressed to Laura A. Ewell at lewell{at}hs.uci.edu.

This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International license, which permits unrestricted use, distribution and reproduction in any medium provided that the original work is properly attributed.

References

  1. ↵
    1. Agarwal G,
    2. Stevenson IH,
    3. Berényi A,
    4. Mizuseki K,
    5. Buzsáki G,
    6. Sommer FT
    (2014) Spatially distributed local fields in the hippocampus encode rat position. Science 344:626–630. https://doi.org/10.1126/science.1250444
    OpenUrlAbstract/FREE Full Text
  2. ↵
    1. Ambrose RE,
    2. Pfeiffer BE,
    3. Foster DJ
    (2016) Reverse replay of hippocampal place cells is uniquely modulated by changing reward. Neuron 91:1124–1136. https://doi.org/10.1016/j.neuron.2016.07.047
    OpenUrlCrossRefPubMed
  3. ↵
    1. Arski ON,
    2. Young JM,
    3. Smith ML,
    4. Ibrahim GM
    (2021) The oscillatory basis of working memory function and dysfunction in epilepsy. Front Hum Neurosci 14:1–16. https://doi.org/10.3389/fnhum.2020.612024
    OpenUrlCrossRef
  4. ↵
    1. Ashwood ZC,
    2. Roy NA,
    3. Stone IR,
    4. Laboratory IB,
    5. Urai AE,
    6. Churchland AK,
    7. Pouget A,
    8. Pillow JW
    (2022) Mice alternate between discrete strategies during perceptual decision-making. Nat Neurosci 25:201–212. https://doi.org/10.1038/s41593-021-01007-z
    OpenUrlCrossRefPubMed
  5. ↵
    1. Bandyopadhyay S,
    2. Gonzalez-Islas C,
    3. Hablitz JJ
    (2005) Dopamine enhances spatiotemporal spread of activity in rat prefrontal cortex. J Neurophysiol 93:864–872. https://doi.org/10.1152/jn.00922.2004
    OpenUrlCrossRefPubMed
  6. ↵
    1. Barry JM,
    2. Sakkaki S,
    3. Barriere SJ,
    4. Patterson KP,
    5. Lenck-Santini PP,
    6. Scott RC,
    7. Baram TZ,
    8. Holmes GL
    (2016) Temporal coordination of hippocampal neurons reflects cognitive outcome post-febrile status epilepticus. EBioMedicine 7:175–190. https://doi.org/10.1016/j.ebiom.2016.03.039
    OpenUrlPubMed
  7. ↵
    1. Beck JM,
    2. Ma WJ,
    3. Kiani R,
    4. Hanks T,
    5. Churchland AK,
    6. Roitman J,
    7. Shadlen MN,
    8. Latham PE,
    9. Pouget A
    (2008) Probabilistic population codes for Bayesian decision making. Neuron 60:1142–1152. https://doi.org/10.1016/j.neuron.2008.09.021
    OpenUrlCrossRefPubMed
  8. ↵
    1. Bezanson J,
    2. Edelman A,
    3. Karpinski S,
    4. Shah VB
    . “Julia: a fresh approach to numerical computing.” 2014. corr abs/1411.1607. Preprint, arXiv:1411.1607.
  9. ↵
    1. Bittner KC,
    2. Milstein AD,
    3. Grienberger C,
    4. Romani S,
    5. Magee JC
    (2017) Behavioral time scale synaptic plasticity underlies ca1 place fields. Science 357:1033–1036. https://doi.org/10.1126/science.aan3846
    OpenUrlAbstract/FREE Full Text
  10. ↵
    1. Boehringer R,
    2. Polygalov D,
    3. Huang AJY,
    4. Middleton SJ,
    5. Robert V,
    6. Wintzer ME,
    7. Piskorowski RA,
    8. Chevaleyre V,
    9. McHugh TJ
    (2017) Chronic loss of CA2 transmission leads to hippocampal hyperexcitability. Neuron 94:642–655.e9. https://doi.org/10.1016/j.neuron.2017.04.014
    OpenUrlCrossRefPubMed
  11. ↵
    1. Bragin A,
    2. Wilson CL,
    3. Engel JJ
    (2007) Voltage depth profiles of high-frequency oscillations after kainic acid-induced status epilepticus. Epilepsia 48 Suppl 5:35–40. https://doi.org/10.1111/j.1528-1167.2007.01287.x
    OpenUrl
  12. ↵
    1. Breiman L
    (1996) Bagging predictors. Mach Learn 24:123–140. https://doi.org/10.1023/A:1018054314350
    OpenUrlCrossRef
  13. ↵
    1. Breiman L
    (2001) Random forests. Mach Learn 45:5–32. https://doi.org/10.1023/A:1010933404324
    OpenUrlCrossRefPubMed
  14. ↵
    1. Brette R,
    2. Gerstner W
    (2005) Adaptive exponential integrate-and-fire model as an effective description of neuronal activity. J Neurophysiol 94:3637–3642. https://doi.org/10.1152/jn.00686.2005
    OpenUrlCrossRefPubMed
  15. ↵
    1. Buzsáki G
    (2015) Hippocampal sharp wave-ripple: a cognitive biomarker for episodic memory and planning. Hippocampus 25:1073–1188. https://doi.org/10.1002/hipo.22488
    OpenUrlCrossRefPubMed
  16. ↵
    1. Buzsáki G,
    2. Moser EI
    (2013) Memory, navigation and theta rhythm in the hippocampal-entorhinal system. Nat Neurosci 16:130–138. https://doi.org/10.1038/nn.3304
    OpenUrlCrossRefPubMed
  17. ↵
    1. Caciagli L
    , et al. (2023) Disorganization of language and working memory systems in frontal versus temporal lobe epilepsy. Brain 146:935–953. https://doi.org/10.1093/brain/awac150
    OpenUrlCrossRefPubMed
  18. ↵
    1. Camarillo-Rodriguez L
    (2022) Temporal lobe interictal spikes disrupt encoding and retrieval of verbal memory: a subregion analysis. Epilepsia 63:2325–2337. https://doi.org/10.1111/epi.17334
    OpenUrlCrossRefPubMed
  19. ↵
    1. Cao L,
    2. Varga V,
    3. Chen ZS
    (2021) Uncovering spatial representations from spatiotemporal patterns of rodent hippocampal field potentials. Cell Rep Methods 1:100101. https://doi.org/10.1016/j.crmeth.2021.100101
    OpenUrlPubMed
  20. ↵
    1. Chauviere L,
    2. Rafrafi N,
    3. Thinus-Blanc C,
    4. Bartolomei F,
    5. Esclapez M,
    6. Bernard C
    (2009) Early deficits in spatial memory and theta rhythm in experimental temporal lobe epilepsy. J Neurosci 29:5402–5410. https://doi.org/10.1523/JNEUROSCI.4699-08.2009
    OpenUrlAbstract/FREE Full Text
  21. ↵
    1. Churchland AK,
    2. Kiani R,
    3. Shadlen MN
    (2008) Decision-making with multiple alternatives. Nat Neurosci 11:693–702. https://doi.org/10.1038/nn.2123
    OpenUrlCrossRefPubMed
  22. ↵
    1. Clinckers R,
    2. Smolders I,
    3. Meurs A,
    4. Ebinger G,
    5. Michotte Y
    (2004) Anticonvulsant action of hippocampal dopamine and serotonin is independently mediated by d2 and 5-ht1a receptors. J Neurochem 89:834–843. https://doi.org/10.1111/j.1471-4159.2004.02355.x
    OpenUrlCrossRefPubMed
  23. ↵
    1. Csicsvari J,
    2. Hirase H,
    3. Czurkó A,
    4. Mamiya A,
    5. Buzsáki G
    (1999) Oscillatory coupling of hippocampal pyramidal cells and interneurons in the behaving rat. J Neurosci 19:274–287. https://doi.org/10.1523/JNEUROSCI.19-01-00274.1999
    OpenUrlAbstract/FREE Full Text
  24. ↵
    1. Dahal P,
    2. Ghani N,
    3. Flinker A,
    4. Dugan P,
    5. Friedman D,
    6. Doyle W,
    7. Devinsky O,
    8. Khodagholy D,
    9. Gelinas JN
    (2019) Interictal epileptiform discharges shape large-scale intercortical communication. Brain 142:3502–3513. https://doi.org/10.1093/brain/awz269
    OpenUrlCrossRefPubMed
  25. ↵
    1. Dalle G
    (2024) Hiddenmarkovmodels.jl: generic, fast and reliable state space modeling. J Open Source Softw 9:6436. https://doi.org/10.21105/joss.06436
    OpenUrl
  26. ↵
    1. Datseris G,
    2. Isensee J,
    3. Pech S,
    4. Gál T
    (2020) DrWatson: the perfect sidekick for your scientific inquiries. J Open Source Softw 5:2673. https://doi.org/10.21105/joss.02673
    OpenUrl
  27. ↵
    1. Diekmann N,
    2. Cheng S
    (2023) A model of hippocampal replay driven by experience and environmental structure facilitates spatial learning. Elife 12:e82301. https://doi.org/10.7554/eLife.82301
    OpenUrlCrossRefPubMed
  28. ↵
    1. Douchamps V,
    2. di Volo M,
    3. Torcini A,
    4. Battaglia D,
    5. Goutagny R
    (2024) Gamma oscillatory complexity conveys behavioral information in hippocampal networks. Nat Commun 15:1849. https://doi.org/10.1038/s41467-024-46012-5
    OpenUrlPubMed
  29. ↵
    1. Dragoi G,
    2. Buzsáki G
    (2006) Temporal encoding of place sequences by hippocampal cell assemblies. Neuron 50:145–157. https://doi.org/10.1016/j.neuron.2006.02.023
    OpenUrlCrossRefPubMed
  30. ↵
    1. Dragoi G,
    2. Tonegawa S
    (2011) Preplay of future place cell sequences by hippocampal cellular assemblies. Nature 469:397–401. https://doi.org/10.1038/nature09633
    OpenUrlCrossRefPubMed
  31. ↵
    1. Drieu C,
    2. Todorova R,
    3. Zugaro M
    (2018) Nested sequences of hippocampal assemblies during behavior support subsequent sleep replay. Science 362:675–679. https://doi.org/10.1126/science.aat2952
    OpenUrlAbstract/FREE Full Text
  32. ↵
    1. Du F,
    2. Whetsell Jr WO,
    3. Abou-Khalil B,
    4. Blumenkopf B,
    5. Lothman EW,
    6. Schwarcz R
    (1993) Preferential neuronal loss in layer iii of the entorhinal cortex in patients with temporal lobe epilepsy. Epilepsy Res 16:223–233. https://doi.org/10.1016/0920-1211(93)90083-J
    OpenUrlCrossRefPubMed
  33. ↵
    1. Du F,
    2. Eid T,
    3. Lothman E,
    4. Kohler C,
    5. Schwarcz R
    (1995) Preferential neuronal loss in layer iii of the medial entorhinal cortex in rat models of temporal lobe epilepsy. J Neurosci 15:6301–6313. https://doi.org/10.1523/JNEUROSCI.15-10-06301.1995
    OpenUrlAbstract/FREE Full Text
  34. ↵
    1. Ecker A
    , et al. (2022) Hippocampal sharp wave-ripples and the associated sequence replay emerge from structured synaptic interactions in a network model of area ca3. Elife 11:e71850. https://doi.org/10.7554/eLife.71850
    OpenUrlCrossRefPubMed
  35. ↵
    1. Escola S,
    2. Fontanini A,
    3. Katz D,
    4. Paninski L
    (2011) Hidden Markov models for the stimulus-response relationships of multistate neural systems. Neural Comput 23:1071–1132. https://doi.org/10.1162/NECO_a_00118
    OpenUrlCrossRefPubMed
  36. ↵
    1. Espinoza Valverde JA
    , et al. (2024) Nest 3.7.
  37. ↵
    1. Ewell LA,
    2. Fischer KB,
    3. Leibold C,
    4. Leutgeb S,
    5. Leutgeb JK
    (2019) The impact of pathological high-frequency oscillations on hippocampal network activity in rats with chronic epilepsy. Elife 8:e42148. https://doi.org/10.7554/eLife.42148
    OpenUrlCrossRefPubMed
  38. ↵
    1. Feng Y, et al.
    (2025) Distinct changes to hippocampal and medial entorhinal circuits emerge across the progression of cognitive deficits in epilepsy. Cell Rep 44:115131. https://doi.org/10.1016/j.celrep.2024.115131
    OpenUrlPubMed
  39. ↵
    1. Fleury M,
    2. Buck S,
    3. Binding LP,
    4. Caciagli L,
    5. Vos SB,
    6. Winston GP,
    7. Thompson PJ,
    8. Koepp MJ,
    9. Duncan JS,
    10. Sidhu MK
    (2022) Episodic memory network connectivity in temporal lobe epilepsy. Epilepsia 63:2597–2622. https://doi.org/10.1111/epi.17370
    OpenUrlCrossRefPubMed
  40. ↵
    1. Foster DJ,
    2. Wilson MA
    (2007) Hippocampal theta sequences. Hippocampus 17:1093–1099. https://doi.org/10.1002/hipo.20345
    OpenUrlCrossRefPubMed
  41. ↵
    1. Fründ I,
    2. Wichmann FA,
    3. Macke JH
    (2014) Quantifying the effect of intertrial dependence on perceptual decisions. J Vis 14:9–9. https://doi.org/10.1167/14.7.9
    OpenUrlAbstract/FREE Full Text
  42. ↵
    1. Fu X,
    2. Wang Y,
    3. Ge M,
    4. Wang D,
    5. Gao R,
    6. Wang L,
    7. Guo J,
    8. Liu H
    (2018) Negative effects of interictal spikes on theta rhythm in human temporal lobe epilepsy. Epilepsy Behav 87:207–212. https://doi.org/10.1016/j.yebeh.2018.07.014
    OpenUrlPubMed
  43. ↵
    1. Garvert MM,
    2. Saanum T,
    3. Schulz E,
    4. Schuck NW,
    5. Doeller CF
    (2023) Hippocampal spatio-predictive cognitive maps adaptively guide reward generalization. Nat Neurosci 26:615–626. https://doi.org/10.1038/s41593-023-01283-x
    OpenUrlCrossRefPubMed
  44. ↵
    1. Ge M,
    2. Guo J,
    3. Xing Y,
    4. Feng Z,
    5. Lu W,
    6. Ma X,
    7. Geng Y,
    8. Zhang X
    (2017) Transient reduction in theta power caused by interictal spikes in human temporal lobe epilepsy. In: 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp 4256–4259. Jeju, Korea (South): IEEE.
  45. ↵
    1. Gelinas JN,
    2. Khodagholy D,
    3. Thesen T,
    4. Devinsky O,
    5. Buzsáki G
    (2016) Interictal epileptiform discharges induce hippocampal–cortical coupling in temporal lobe epilepsy. Nat Med 22:641–648. https://doi.org/10.1038/nm.4084
    OpenUrlCrossRefPubMed
  46. ↵
    1. Gelman A,
    2. Carlin JB,
    3. Stern HS,
    4. Rubin DB
    (2013) Bayesian data analysis, Ed 3. Boca Raton, FL: Chapman and Hall/CRC.
  47. ↵
    1. Gillespie AK,
    2. Maya DAA,
    3. Denovellis EL,
    4. Liu DF,
    5. Kastner DB,
    6. Coulter ME,
    7. Roumis DK,
    8. Eden UT,
    9. Frank LM
    (2021) Hippocampal replay reflects specific past experiences rather than a plan for subsequent choice. Neuron 109:3149–3163. https://doi.org/10.1016/j.neuron.2021.07.029
    OpenUrlCrossRefPubMed
  48. ↵
    1. Goda M,
    2. Kovac S,
    3. Speckmann EJ,
    4. Gorji A
    (2008) Glutamate and dopamine receptors contribute to the lateral spread of epileptiform discharges in rat neocortical slices. Epilepsia 49:237–247. https://doi.org/10.1111/j.1528-1167.2007.01385.x
    OpenUrlPubMed
  49. ↵
    1. Grienberger C,
    2. Magee JC
    (2022) Entorhinal cortex directs learning-related changes in ca1 representations. Nature 611:554–562. https://doi.org/10.1038/s41586-022-05378-6
    OpenUrlCrossRefPubMed
  50. ↵
    1. Gütig R,
    2. Aharonov R,
    3. Rotter S,
    4. Sompolinsky H
    (2003) Learning input correlations through nonlinear temporally asymmetric Hebbian plasticity. J Neurosci 23:3697–3714. https://doi.org/10.1523/JNEUROSCI.23-09-03697.2003
    OpenUrlAbstract/FREE Full Text
  51. ↵
    1. Hablitz JJ
    (2004) Regulation of circuits and excitability: implications for epileptogenesis. Epilepsy Curr 4:151–153. https://doi.org/10.1111/j.1535-7597.2004.44011.x
    OpenUrlCrossRefPubMed
  52. ↵
    1. Haut SR,
    2. Albin RL
    (2008) Dopamine and epilepsy. Neurology 71:784–785. https://doi.org/10.1212/01.wnl.0000325637.38931.27
    OpenUrlCrossRefPubMed
  53. ↵
    1. Heining K,
    2. Kilias A,
    3. Janz P,
    4. Häussler U,
    5. Kumar A,
    6. Haas CA,
    7. Egert U
    (2019) Bursts with high and low load of epileptiform spikes show context-dependent correlations in epileptic mice. eNeuro 6:1. https://doi.org/10.1523/ENEURO.0299-18.2019
    OpenUrlCrossRefPubMed
  54. ↵
    1. Helmstaedter C,
    2. Kurthen M,
    3. Lux S,
    4. Reuber M,
    5. Elger CE
    (2003) Chronic epilepsy and cognition: a longitudinal study in temporal lobe epilepsy. Ann Neurol 54:425–432. https://doi.org/10.1002/ana.10692
    OpenUrlCrossRefPubMed
  55. ↵
    1. Henin S,
    2. Shankar A,
    3. Borges H,
    4. Flinker A,
    5. Doyle W,
    6. Friedman D,
    7. Devinsky O,
    8. Buzsáki G,
    9. Liu A
    (2021) Spatiotemporal dynamics between interictal epileptiform discharges and ripples during associative memory processing. Brain 144:1590–1602. https://doi.org/10.1093/brain/awab044
    OpenUrlCrossRefPubMed
  56. ↵
    1. Hermann BP,
    2. Seidenberg M,
    3. Dow C,
    4. Jones J,
    5. Rutecki P,
    6. Bhattacharya A,
    7. Bell B
    (2006) Cognitive prognosis in chronic temporal lobe epilepsy. Ann Neurol 60:80–87. https://doi.org/10.1002/ana.20872
    OpenUrlCrossRefPubMed
  57. ↵
    1. Hoffman MD,
    2. Gelman A
    . “The no-u-turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo.” 2011. Preprint, arXiv:1111.4246.
  58. ↵
    1. Holmes GL
    (2014) What is more harmful seizures or epileptic EEG abnormalities? Is there any clinical data? Epileptic Disord 16 Spec No 1:S12–22. https://doi.org/10.1684/epd.2014.0686
    OpenUrl
  59. ↵
    1. Horak PC
    , et al. (2017) Interictal epileptiform discharges impair word recall in multiple brain areas. Epilepsia 58:373–380. https://doi.org/10.1111/epi.13633
    OpenUrlCrossRefPubMed
  60. ↵
    1. Hoxha M,
    2. Sabariego M
    (2020) Delayed alternation task for the study of spatial working and long term memory in rats. Bio Protoc 10:e3549. https://doi.org/10.21769/BioProtoc.3549
    OpenUrl
  61. ↵
    1. Igata H,
    2. Ikegaya Y,
    3. Sasaki T
    (2021) Prioritized experience replays on a hippocampal predictive map for learning. Proc Natl Acad Sci 118:e2011266118. https://doi.org/10.1073/pnas.2011266118
    OpenUrlCrossRefPubMed
  62. ↵
    1. Jadhav SP,
    2. Kemere C,
    3. German PW,
    4. Frank LM
    (2012) Awake hippocampal sharp-wave ripples support spatial memory. Science 336:1454–1458. https://doi.org/10.1126/science.1217230
    OpenUrlAbstract/FREE Full Text
  63. ↵
    1. Jensen KT,
    2. Hennequin G,
    3. Mattar MG
    (2024) A recurrent network model of planning explains hippocampal replay and human behavior. Nat Neurosci 27:1340–1348. https://doi.org/10.1038/s41593-024-01675-7
    OpenUrlCrossRefPubMed
  64. ↵
    1. Joo HR,
    2. Frank LM
    (2018) The hippocampal sharp wave-ripple in memory retrieval for immediate use and consolidation. Nat Rev Neurosci 19:744–757. https://doi.org/10.1038/s41583-018-0077-1
    OpenUrlCrossRefPubMed
  65. ↵
    1. Karnam HB,
    2. Zhou JL,
    3. Huang LT,
    4. Zhao Q,
    5. Shatskikh T,
    6. Holmes GL
    (2009) Early life seizures cause long-standing impairment of the hippocampal map. Exp Neurol 217:378–387. https://doi.org/10.1016/j.expneurol.2009.03.028
    OpenUrlCrossRefPubMed
  66. ↵
    1. Kiani R,
    2. Corthell L,
    3. Shadlen MN
    (2014) Choice certainty is informed by both evidence and decision time. Neuron 84:1329–1342. https://doi.org/10.1016/j.neuron.2014.12.015
    OpenUrlCrossRefPubMed
  67. ↵
    1. Klausberger T,
    2. Magill PJ,
    3. Márton LF,
    4. Roberts JDB,
    5. Cobden PM,
    6. Buzsáki G,
    7. Somogyi P
    (2003) Brain-state- and cell-type-specific firing of hippocampal interneurons in vivo. Nature 421:844–848. https://doi.org/10.1038/nature01374
    OpenUrlCrossRefPubMed
  68. ↵
    1. Kleen JK,
    2. Scott RC,
    3. Holmes GL,
    4. Lenck-Santini PP
    (2010) Hippocampal interictal spikes disrupt cognition in rats. Ann Neurol 67:250–257. https://doi.org/10.1002/ana.21896
    OpenUrlCrossRefPubMed
  69. ↵
    1. Lee G,
    2. Gommers R,
    3. Waselewski F,
    4. Wohlfahrt K,
    5. O’Leary A
    (2019) Pywavelets: a python package for wavelet analysis. J Open Source Softw 4:1237. https://doi.org/10.21105/joss.01237
    OpenUrlCrossRef
  70. ↵
    1. Lenck-Santini PP,
    2. Holmes GL
    (2008) Altered phase precession and compression of temporal sequences by place cells in epileptic rats. J Neurosci 28:5053–5062. https://doi.org/10.1523/JNEUROSCI.5024-07.2008
    OpenUrlAbstract/FREE Full Text
  71. ↵
    1. Liao Z,
    2. Terada S,
    3. Raikov IG,
    4. Hadjiabadi D,
    5. Szoboszlay M,
    6. Soltesz I,
    7. Losonczy A
    (2024) Inhibitory plasticity supports replay generalization in the hippocampus. Nat Neurosci 27:1987–1998. https://doi.org/10.1038/s41593-024-01745-w
    OpenUrlCrossRefPubMed
  72. ↵
    1. Liu C,
    2. Todorova R,
    3. Tang W,
    4. Oliva A,
    5. Fernandez-Ruiz A
    (2023) Associative and predictive hippocampal codes support memory-guided behaviors. Science 382:eadi8237. https://doi.org/10.1126/science.adi8237
    OpenUrlCrossRefPubMed
  73. ↵
    1. Liu X,
    2. Muller RU,
    3. Huang LT,
    4. Kubie JL,
    5. Rotenberg A,
    6. Rivard B,
    7. Cilio MR,
    8. Holmes GL
    (2003) Seizure-induced changes in place cell physiology: relationship to spatial memory. J Neurosci 23:11505–11515. https://doi.org/10.1523/JNEUROSCI.23-37-11505.2003
    OpenUrlAbstract/FREE Full Text
  74. ↵
    1. Lopez-Pigozzi D,
    2. Laurent F,
    3. Brotons-Mas JR,
    4. Valderrama M,
    5. Valero M,
    6. Fernandez-Lamo I,
    7. Cid E,
    8. Gomez-Dominguez D,
    9. Gal B
    (2016) Altered oscillatory dynamics of ca1 parvalbumin basket cells during theta–gamma rhythmopathies of temporal lobe epilepsy. eNeuro 3:1. https://doi.org/10.1523/ENEURO.0284-16.2016
    OpenUrlCrossRefPubMed
  75. ↵
    1. Lueckmann JM,
    2. Macke JH,
    3. Nienborg H
    (2018) Can serial dependencies in choices and neural activity explain choice probabilities? J Neurosci 38:3495–3506. https://doi.org/10.1523/JNEUROSCI.2225-17.2018
    OpenUrlAbstract/FREE Full Text
  76. ↵
    1. Madar AD,
    2. Jiang A,
    3. Dong C,
    4. Sheffield ME
    (2025) Synaptic plasticity rules driving representational shifting in the hippocampus. Nat Neurosci 28:1–13. https://doi.org/10.1038/s41593-025-01894-6
    OpenUrl
  77. ↵
    1. Malvache A,
    2. Reichinnek S,
    3. Villette V,
    4. Haimerl C,
    5. Cossart R
    (2016) Awake hippocampal reactivations project onto orthogonal neuronal assemblies. Science 353:1280–1283. https://doi.org/10.1126/science.aaf3319
    OpenUrlAbstract/FREE Full Text
  78. ↵
    1. Masala N
    , et al. (2023) Targeting aberrant dendritic integration to treat cognitive comorbidities of epilepsy. Brain 146:2399–2417. https://doi.org/10.1093/brain/awac455
    OpenUrlPubMed
  79. ↵
    1. Mattar MG,
    2. Daw ND
    (2018) Prioritized memory access explains planning and hippocampal replay. Nat Neurosci 21:1609–1617. https://doi.org/10.1038/s41593-018-0232-z
    OpenUrlCrossRefPubMed
  80. ↵
    1. McHugh T
    (2023) Tom McHugh. Neuron 111:2951–2953. https://doi.org/10.1016/j.neuron.2023.09.008
    OpenUrlCrossRefPubMed
  81. ↵
    1. Milstein AD,
    2. Li Y,
    3. Bittner KC,
    4. Grienberger C,
    5. Soltesz I,
    6. Magee JC,
    7. Romani S
    (2021) Bidirectional synaptic plasticity rapidly modifies hippocampal representations. Elife 10:e73046. https://doi.org/10.7554/eLife.73046
    OpenUrlCrossRefPubMed
  82. ↵
    1. Mohapatra AN,
    2. Peles D,
    3. Netser S,
    4. Wagner S
    (2024) Synchronized LFP rhythmicity in the social brain reflects the context of social encounters. Commun Biol 7:2. https://doi.org/10.1038/s42003-023-05728-8
    OpenUrlPubMed
  83. ↵
    1. Naik AA,
    2. Sun H,
    3. Williams CL,
    4. Weller DS,
    5. Zhu JJ,
    6. Kapur J
    (2021) Mechanism of seizure-induced retrograde amnesia. Prog Neurobiol 200:101984. https://doi.org/10.1016/j.pneurobio.2020.101984
    OpenUrlCrossRefPubMed
  84. ↵
    1. Navas-Olive A,
    2. Valero M,
    3. Jurado-Parras T,
    4. de Salas-Quiroga A,
    5. Averkin RG,
    6. Gambino G,
    7. Cid E
    (2020) Multimodal determinants of phase-locked dynamics across deep-superficial hippocampal sublayers during theta oscillations. Nat Commun 11:2217. https://doi.org/10.1038/s41467-020-15840-6
    OpenUrlCrossRefPubMed
  85. ↵
    1. Navas-Olive A,
    2. Amaducci R,
    3. Jurado-Parras MT,
    4. Sebastian ER
    (2022) Deep learning-based feature extraction for prediction and interpretation of sharp-wave ripples in the rodent hippocampus. Elife 11:e77772. https://doi.org/10.7554/eLife.77772
    OpenUrlCrossRefPubMed
  86. ↵
    1. Navas-Olive A,
    2. Rubio A,
    3. Abbaspoor S,
    4. Hoffman KL
    . “A machine learning toolbox for the analysis of sharp-wave ripples reveal common features across species.” 2023. BioRxiv.
  87. ↵
    1. Ólafsdóttir HF,
    2. Bush D,
    3. Barry C
    (2018) The role of hippocampal replay in memory and planning. Curr Biol 28:R37–R50. https://doi.org/10.1016/j.cub.2017.10.073
    OpenUrlCrossRefPubMed
  88. ↵
    1. Pastalkova E,
    2. Itskov V,
    3. Amarasingham A,
    4. Buzsaki G
    (2008) Internally generated cell assembly sequences in the rat hippocampus. Science 321:1322–1327. https://doi.org/10.1126/science.1159775
    OpenUrlAbstract/FREE Full Text
  89. ↵
    1. Pfeiffer BE,
    2. Foster DJ
    (2013) Hippocampal place-cell sequences depict future paths to remembered goals. Nature 497:74–79. https://doi.org/10.1038/nature12112
    OpenUrlCrossRefPubMed
  90. ↵
    1. Quon RJ
    , et al. (2021) Features of intracranial interictal epileptiform discharges associated with memory encoding. Epilepsia 62:2615–2626. https://doi.org/10.1111/epi.17060
    OpenUrlPubMed
  91. ↵
    1. Rabiner LR
    (1989) A tutorial on hidden Markov models and selected applications in speech recognition. Proc IEEE 77:257–286. https://doi.org/10.1109/5.18626
    OpenUrlCrossRef
  92. ↵
    1. Sakkaki S,
    2. Barrière S,
    3. Bender AC,
    4. Scott RC,
    5. Lenck-Santini PP
    (2020) Focal dorsal hippocampal nav1. 1 knock down alters place cell temporal coordination and spatial behavior. Cereb Cortex 30:5049–5066. https://doi.org/10.1093/cercor/bhaa101
    OpenUrlCrossRefPubMed
  93. ↵
    1. Saravanan V,
    2. Berman GJ,
    3. Sober SJ
    (2020) Application of the hierarchical bootstrap to multi-level data in neuroscience. Neuron Behav Data Anal Theory 3:1. https://nbdt.scholasticahq.com/article/13927-application-of-the-hierarchical-bootstrap-to-multi-level-data-in-neuroscience
    OpenUrlCrossRef
  94. ↵
    1. Schwarcz R,
    2. Eid T,
    3. Du F
    (2000) Neurons in layer iii of the entorhinal cortex: a role in epileptogenesis and epilepsy? Ann N Y Acad Sci 911:328–342. https://doi.org/10.1111/j.1749-6632.2000.tb06735.x
    OpenUrlPubMed
  95. ↵
    1. Sebastian ER,
    2. Quintanilla JP,
    3. Sánchez-Aguilera A,
    4. Esparza J,
    5. Cid E
    (2023) Topological analysis of sharp-wave ripple waveforms reveals input mechanisms behind feature variations. Nat Neurosci 26:2171–2181. https://doi.org/10.1038/s41593-023-01471-9
    OpenUrlCrossRefPubMed
  96. ↵
    1. Sebastian ER,
    2. Esparza J,
    3. de la Prida LM
    (2024) Quantifying the distribution of feature values over data represented in arbitrary dimensional spaces. PLoS Comput Biol 20:e1011768. https://doi.org/10.1371/journal.pcbi.1011768
    OpenUrlPubMed
  97. ↵
    1. Shuman T
    , et al. (2020) Breakdown of spatial coding and interneuron synchronization in epileptic mice. Nat Neurosci 23:229–238. https://doi.org/10.1038/s41593-019-0559-0
    OpenUrlCrossRefPubMed
  98. ↵
    1. Singer AC,
    2. Frank LM
    (2009) Rewarded outcomes enhance reactivation of experience in the hippocampus. Neuron 64:910–921. https://doi.org/10.1016/j.neuron.2009.11.016
    OpenUrlCrossRefPubMed
  99. ↵
    1. Skaggs WE,
    2. McNaughton BL,
    3. Wilson MA,
    4. Barnes CA
    (1996) Theta phase precession in hippocampal neuronal populations and the compression of temporal sequences. Hippocampus 6:149–172. https://doi.org/10.1002/(SICI)1098-1063(1996)6:2¡149::AID-HIPO6¿3.0.CO;2-K
    OpenUrlCrossRefPubMed
  100. ↵
    1. Skaggs W,
    2. Mcnaughton B,
    3. Gothard K
    (1992) An information-theoretic approach to deciphering the hippocampal code. Adv Neural Inf Process Syst 5:1030–1037. https://proceedings.neurips.cc/paper_files/paper/1992/file/5dd9db5e033da9c6fb5ba83c7a7ebea9-Paper.pdf
    OpenUrl
  101. ↵
    1. Starr MS
    (1996) The role of dopamine in epilepsy. Synapse 22:159–194. https://doi.org/10.1002/(SICI)1098-2396(199602)22:2¡159::AID-SYN8¿3.0.CO;2-C
    OpenUrlCrossRefPubMed
  102. ↵
    1. Stretton J,
    2. Thompson PJ
    (2012) Frontal lobe function in temporal lobe epilepsy. Epilepsy Res 98:1–13. https://doi.org/10.1016/j.eplepsyres.2011.10.009
    OpenUrlCrossRefPubMed
  103. ↵
    1. Suppes T,
    2. Kriegstein A,
    3. Prince D
    (1985) The influence of dopamine of epileptiform burst activity in hippocampal pyramidal neurons. Brain Res 326:273–280. https://doi.org/10.1016/0006-8993(85)90036-8
    OpenUrlCrossRefPubMed
  104. ↵
    1. Tarcsay G,
    2. Boublil BL,
    3. Ewell LA
    (2022) Low-cost platform for multianimal chronic local field potential video monitoring with graphical user interface (GUI) for seizure detection and behavioral scoring. eNeuro 9:ENEURO.0283–22.2022. https://doi.org/10.1523/ENEURO.0283-22.2022
    OpenUrl
  105. ↵
    1. Titiz A,
    2. Mahoney J,
    3. Testorf M,
    4. Holmes G,
    5. Scott R
    (2014) Cognitive impairment in temporal lobe epilepsy: role of online and offline processing of single cell information. Hippocampus 24:1129–1145. https://doi.org/10.1002/hipo.22297
    OpenUrlCrossRefPubMed
  106. ↵
    1. Urai AE,
    2. Aguillon-Rodriguez V,
    3. Laranjeira IC,
    4. Cazettes F
    , International Brain Laboratory, Mainen ZF, Churchland AK (2021) Citric acid water as an alternative to water restriction for high-yield mouse behavior. eNeuro 8:ENEURO.0230–20.2020.https://doi.org/10.1523/ENEURO.0230-20.2020
    OpenUrlCrossRef
  107. ↵
    1. Vaidya SP,
    2. Li G,
    3. Chitwood RA,
    4. Li Y,
    5. Magee JC
    (2025) Formation of an expanding memory representation in the hippocampus. Nat Neurosci 28:1–9. https://doi.org/10.1038/s41593-025-01986-3
    OpenUrl
  108. ↵
    1. Vandecasteele M,
    2. Varga V,
    3. Berényi A,
    4. Papp E,
    5. Barthó P,
    6. Venance L,
    7. Freund TF,
    8. Buzsáki G
    (2014) Optogenetic activation of septal cholinergic neurons suppresses sharp wave ripples and enhances theta oscillations in the hippocampus. Proc Natl Acad Sci USA 111:13535–13540. https://doi.org/10.1073/pnas.1411233111
    OpenUrlAbstract/FREE Full Text
  109. ↵
    1. Van der Maaten L,
    2. Hinton G
    (2008) Visualizing data using t-SNE. J Mach Learn Res 9:2579–2605. https://www.jmlr.org/papers/v9/vandermaaten08a.html
    OpenUrlCrossRefPubMed
  110. ↵
    1. Vanderwolf CH
    (1969) Hippocampal electrical activity and voluntary movement in the rat. Electroencephalogr Clin Neurophysiol 26:407–418. https://doi.org/10.1016/0013-4694(69)90092-3
    OpenUrlCrossRefPubMed
  111. ↵
    1. Virtanen P
    , et al. (2020) SciPy 1.0: fundamental algorithms for scientific computing in python. Nat Methods 17:261–272. https://doi.org/10.1038/s41592-019-0686-2
    OpenUrlCrossRefPubMed
  112. ↵
    1. Vivekananda U,
    2. Bush D,
    3. Bisby JA,
    4. Diehl B,
    5. Jha A,
    6. Nachev P,
    7. Rodionov R,
    8. Burgess N,
    9. Walker MC
    (2019) Spatial and episodic memory tasks promote temporal lobe interictal spikes. Ann Neurol 86:304–309. https://doi.org/10.1002/ana.25519
    OpenUrlCrossRefPubMed
  113. ↵
    1. Vöröslakos M,
    2. Petersen PC,
    3. Vöröslakos B,
    4. Buzsáki G
    (2021) Metal microdrive and head cap system for silicon probe recovery in freely moving rodent. Elife 10:e65859. https://doi.org/10.7554/eLife.65859
    OpenUrlCrossRefPubMed
  114. ↵
    1. Wilson MA,
    2. McNaughton BL
    (1994) Reactivation of hippocampal ensemble memories during sleep. Science 265:676–679. https://doi.org/10.1126/science.8036517
    OpenUrlAbstract/FREE Full Text
  115. ↵
    1. Wu Y,
    2. Maass W
    (2025) A simple model for behavioral time scale synaptic plasticity (BTSP) provides content addressable memory with binary synapses and one-shot learning. Nat Commun 16:342. https://doi.org/10.1038/s41467-024-55563-6
    OpenUrlPubMed
  116. ↵
    1. Zhang K,
    2. Ginzburg I,
    3. McNaughton BL,
    4. Sejnowski TJ
    (1998) Interpreting neuronal population activity by reconstruction: unified framework with application to hippocampal place cells. J Neurophysiol 79:1017–1044. https://doi.org/10.1152/jn.1998.79.2.1017
    OpenUrlCrossRefPubMed
  117. ↵
    1. Zhou JL,
    2. Lenck-Santini PP,
    3. Holmes GL
    (2007) Postictal single-cell firing patterns in the hippocampus. Epilepsia 48:713–719. https://doi.org/10.1111/j.1528-1167.2006.00942.x
    OpenUrlCrossRefPubMed
  118. ↵
    1. Zhou JL,
    2. Shatskikh TN,
    3. Liu X,
    4. Holmes GL
    (2007) Impaired single cell firing and long-term potentiation parallels memory impairment following recurrent seizures. Eur J Neurosci 25:3667–3677. https://doi.org/10.1111/j.1460-9568.2007.05598.x
    OpenUrlCrossRefPubMed
Back to top

In this issue

The Journal of Neuroscience: 45 (41)
Journal of Neuroscience
Vol. 45, Issue 41
8 Oct 2025
  • Table of Contents
  • About the Cover
  • Index by author
  • Masthead (PDF)
Email

Thank you for sharing this Journal of Neuroscience article.

NOTE: We request your email address only to inform the recipient that it was you who recommended this article, and that it is not junk mail. We do not retain these email addresses.

Enter multiple addresses on separate lines or separate them with commas.
Behavioral Timing of Interictal Spikes, But Not Rate, Correlates with Impaired Working Memory Performance
(Your Name) has forwarded a page to you from Journal of Neuroscience
(Your Name) thought you would be interested in this article in Journal of Neuroscience.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Print
View Full Page PDF
Citation Tools
Behavioral Timing of Interictal Spikes, But Not Rate, Correlates with Impaired Working Memory Performance
Justin D. Yi, Maryam Pasdarnavab, Laura Kueck, Gergely Tarcsay, Laura A. Ewell
Journal of Neuroscience 8 October 2025, 45 (41) e0193252025; DOI: 10.1523/JNEUROSCI.0193-25.2025

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
Respond to this article
Request Permissions
Share
Behavioral Timing of Interictal Spikes, But Not Rate, Correlates with Impaired Working Memory Performance
Justin D. Yi, Maryam Pasdarnavab, Laura Kueck, Gergely Tarcsay, Laura A. Ewell
Journal of Neuroscience 8 October 2025, 45 (41) e0193252025; DOI: 10.1523/JNEUROSCI.0193-25.2025
Twitter logo Facebook logo Mendeley logo
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Jump to section

  • Article
    • Abstract
    • Significance Statement
    • Introduction
    • Materials and Methods
    • Results
    • Discussion
    • Data and Code Availability
    • Footnotes
    • References
  • Figures & Data
  • Info & Metrics
  • eLetters
  • Peer Review
  • PDF

Keywords

  • hippocampus
  • kainic acid
  • mouse
  • place cell
  • replay
  • temporal lobe epilepsy

Responses to this article

Respond to this article

Jump to comment:

No eLetters have been published for this article.

Related Articles

Cited By...

More in this TOC Section

Research Articles

  • Increased perceptual reliability reduces membrane potential variability in cortical neurons
  • Synergistic geniculate and cortical dynamics facilitate a decorrelated spatial frequency code in the early visual system
  • Is the whole the sum of its parts? Neural computation of consumer bundle valuation in humans
Show more Research Articles

Neurobiology of Disease

  • The psychedelic psilocin suppresses activity of central amygdala corticotropin releasing factor receptor 1 neurons and decreases ethanol drinking in female mice
  • Noninvasive Biomarkers for Assessing the Excitatory/Inhibitory Imbalance in Children with Epilepsy
  • Common Mechanism Underlying Synaptic Dysfunction Caused by Preformed Fibril-Induced Accumulation of α-Synuclein or Tau in a Culture Propagation Model
Show more Neurobiology of Disease
  • Home
  • Alerts
  • Follow SFN on BlueSky
  • Visit Society for Neuroscience on Facebook
  • Follow Society for Neuroscience on Twitter
  • Follow Society for Neuroscience on LinkedIn
  • Visit Society for Neuroscience on Youtube
  • Follow our RSS feeds

Content

  • Early Release
  • Current Issue
  • Issue Archive
  • Collections

Information

  • For Authors
  • For Advertisers
  • For the Media
  • For Subscribers

About

  • About the Journal
  • Editorial Board
  • Privacy Notice
  • Contact
  • Accessibility
(JNeurosci logo)
(SfN logo)

Copyright © 2025 by the Society for Neuroscience.
JNeurosci Online ISSN: 1529-2401

The ideas and opinions expressed in JNeurosci do not necessarily reflect those of SfN or the JNeurosci Editorial Board. Publication of an advertisement or other product mention in JNeurosci should not be construed as an endorsement of the manufacturer’s claims. SfN does not assume any responsibility for any injury and/or damage to persons or property arising from or related to any use of any material contained in JNeurosci.