Interictal spikes during spatial working memory carry helpful or distracting representations of space and have opposing impacts on performance

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 113,855 characters · extracted from preprint-html · click to expand
Interictal spikes during spatial working memory carry helpful or distracting representations of space and have opposing impacts on performance | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Interictal spikes during spatial working memory carry helpful or distracting representations of space and have opposing impacts on performance View ORCID Profile Justin D. Yi , Maryam Pasdarnavab , Laura Kueck , Gergely Tarcsay , View ORCID Profile Laura A. Ewell doi: https://doi.org/10.1101/2024.11.13.623481 Justin D. Yi 1 Anatomy & Neurobiology, School of Medicine, University of California , Irvine, Irvine, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Justin D. Yi Maryam Pasdarnavab 2 University of Bonn , Bonn, Germany Find this author on Google Scholar Find this author on PubMed Search for this author on this site Laura Kueck 2 University of Bonn , Bonn, Germany Find this author on Google Scholar Find this author on PubMed Search for this author on this site Gergely Tarcsay 1 Anatomy & Neurobiology, School of Medicine, University of California , Irvine, Irvine, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Laura A. Ewell 1 Anatomy & Neurobiology, School of Medicine, University of California , Irvine, Irvine, CA, USA 3 Center for Learning and Memory, University of California , Irvine, Irvine, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Laura A. Ewell For correspondence: lewell{at}hs.uci.edu Abstract Full Text Info/History Metrics Preview PDF SUMMARY In temporal lobe epilepsy, interictal spikes (IS) – hypersynchronous 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 epileptic mice while they performed a delayed alternation task. We found that IS disrupted performance when they were spatially non-restricted and occurred during running. In contrast, when IS were clustered at reward locations, animals performed 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 – suggesting they carry informative content for the memory task. Finally, a spiking model revealed that spatially clustered IS preserved hippocampal replay, while spatially dispersed IS disrupted replay by causing over-generalization. Together, these results show that IS can have opposing outcomes on memory. 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 1 – 6 . One clearly pathological feature of memory processing in TLE is that memory tasks promote interictal spikes (IS) 7 , 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 8 . Whether or not the underlying neural dynamics of IS resemble healthy processing and are thus helpful for memory performance, or are divergent enough to constitute interfering signals is an open question. The exact timing of IS during a memory task has different impacts on performance 9 – 11 , 12 , but the mechanisms of such timing selective impairments are poorly understood. It is known that spatial working memory task performance is disrupted in rodent models of TLE 13 , however, it is not known if the exact timing of IS with respect to different task phases contributes to the memory deficit. One possibility is that different phases of memory tasks rely on neural dynamics that are more or less similar to IS dynamics, and therefore more or less susceptible to interference. For example, as animals navigate the maze, the hippocampal network is in a low synchrony state and engages in movement related theta oscillations which orchestrate the sequential activation of individual neurons over second long time scales 14 – 18 . On the other hand, as animals consume reward or sit quietly during delay phases of the task, the network shifts to a high synchrony state and engages in brief periods of physiological network synchrony called sharp wave ripples (SWR) 19 , which replay memory relevant ensembles of neurons at compressed time scales 20 . It is possible that if IS recruit hippocampal neurons in a similar enough manner to how SWR do, and if they are activated in the same task contexts as SWR, then they may play a similar role in memory. 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 for IS and ripple oscillations for SWR), and coordinate with the cortex via sleep spindles 21 – 24 . Furthermore, in epilepsy, when IS rates go up during a memory task, SWR rates go down 25 , indicating that IS may actually replace SWR. If IS were simply hijacking SWR during working memory, it is plausible that task processes that rely on such activity would be maintained in epilepsy. Of course, this would depend on whether IS recruit proper memory relevant ensembles, which is not always the case 26 . A further complication is that SWR play diverse roles in memory tasks, such as amplifying salient cues, remote replay of past animal positions and rewards, or preplay of future trajectories 27 – 32 . Thus it is possible that IS can mimic some, but not all SWR dynamics. During active locomotion, IS may interact with theta oscillations in a way that SWR do not. During theta oscillations in healthy animals, co-active ensembles of neurons are relatively small, due to rhythmic inhibition, which ensures precise encoding of environments 33 , 34 . Notably, SWR, which recruit larger co-active ensembles, are very rarely observed during locomotion-related theta states 19 due to the elevated levels of inhibition which suppress synchrony and neuromodulatory signals that are strong during theta 35 . This suggests that hyper-synchrony during locomotive theta states is not a normal feature of healthy hippocampal circuits. Interestingly, when inhibition is reduced experimentally, theta oscillations during running can grow into large amplitude spikes that resemble bursts of interictal spikes 36 . Furthermore, in epilepsy, IS have been reported to encroach on theta states 23 , however whether IS during theta states impact memory is unknown. In other words, IS may create interference by promoting aberrant population level synchrony during theta states. Given the relationship between IS and SWR, the differing roles of SWR in memory, and the observations that IS can encroach on theta states, there are several possible ways in which IS could mechanistically alter spatial working memory. To study these questions, we employed in vivo electrophysiology in freely moving TLE mice while they performed the delayed alternation spatial working memory task. We characterized when IS occur with respect to task phase to interpret impacts on behavioral performance. To gain further mechanistic understanding of our observed results, we developed a behavioral model to explain interactions between IS rate and task engagement. Furthermore, we employed a machine learning-based decoding approach to study whether IS features might be informative of task demands. Finally, a spiking neural network model was created to test the impact of IS during working memory on hippocampal replay. 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 kainic acid (KA) injected mice were implanted with drivable microelectrodes 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 hours/mouse). As expected, mice injected with KA experienced frequent subclinical seizures (12 ± 11 of seizures/hour, Table 2 ), confirming that they suffer from focal temporal lobe epilepsy ( Figure 1A ). In addition to subclinical seizures, we observed seemingly sustained interictal spiking that was categorized into two types: solitary interictal spikes (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 37 ( Figure 1B-D , Table 3 ). View this table: View inline View popup Download powerpoint Table 1: Interictal and ictal spike detection parameters for each animal. Settings were optimized according to the procedure detailed in the Methods. View this table: View inline View popup Download powerpoint Table 2: Rates of spontaneous seizures during monitoring. Mean, maximum, and minimum seizure rates were pooled across all monitoring sessions. Seizures were defined as trains of spikes with inter-spike intervals less than 2 s with a train duration of at least 10 s. *Animal m7 was monitored during the light-cycle, whereas all others were monitored during the dark-cycle. View this table: View inline View popup Download powerpoint Table 3: Rates of interictal events during monitoring sessions. *Animal m7 was monitored during the light-cycle, whereas all others were monitored during the dark-cycle. Download figure Open in new tab 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 (ISI) 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 ISI greater than 2 seconds were considered solitary, and less than 2 seconds 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 ISI pairs which can be divided into “First”, “Within” and “Last” spikes of BIRDs or solitary spikes using the same 2 second threshold as in (B). 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 ( Figure 2A ) to receive food (or liquid sucrose for m7) rewards with a 30 second delay period between trials (see methods for training details) 38 . 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) ( Figure 2B ). The difference in behavior was also observed when averaging performance across the five sessions of testing ( Figure 2C ) (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) ( Figure 2C ). We also noted that despite poor overall performance, the KA group exhibited individual sessions of good performance ( Figure 2D ), suggesting that the mechanisms underlying poor performance may be dynamic. Download figure Open in new tab Figure 2: KA mice have impaired working memory performance. (A) The 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). (C) Furthermore, the mean performance across all 5 sessions was higher than chance (50%) only for control (CTRL) animals. (D) Day-to-day performance of KA animals was variable but interspersed with “good” sessions ( > 70% performance dashed line). IS occur during working memory and their spatial distribution correlates with memory performance To determine what mechanisms underlie impaired and variable memory performance in KA animals, we recorded hippocampal local field potentials 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) ( Figure 3 ). Spikes either occurred as solitary interictal spikes (IS) (0.027 ± 0.003 Hz) or in BIRDs (0.035 ± 0.003 Hz). BIRDs were typically short in duration (4.5 ± 0.42 seconds) 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 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 interictal spikes, which is a measure of how well spiking activity predicts mouse location, was quite variable across sessions ( Figure 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 39 . High spatial information of interictal spikes was weakly, but significantly associated with a better performance on the working memory task ( Figure 3B , right, p = 0.049; see Table 4 for further statistical details). View this table: View inline View popup Download powerpoint Table 4: GLM coefficients comparing spatial information (SI) to animals’ per session performance, adjusted R 2 = 0.085, d.f. = 33, dispersion = 0.035. Download figure Open in new tab Figure 3: IS and BIRDs occur during execution of a working memory task. (A) The locations of BIRDs (dark blue dots) and solitary IS (light blue dots) on the maze for all animals on 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 4 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 5 contains statistics for the comparisons shown in C, *** 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 6 ). The marginal (unconditional) fixed effect mean and 95% CI are shown in the blue shaded region. 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 22 , while BIRDs tended to occur when the mouse was running at faster speeds ( Figure 3C , see Table 5 for statistics). Interestingly the first spike in a BIRD had a speed-tuning distribution that overlapped with solitary IS ( Table 5 ), 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 associated with lower total information per spike ( Figure 3D , GLME fixed-effect for distance term, p-value = 0.02, Table 6 for more statistics). View this table: View inline View popup Download powerpoint Table 5: Running speeds of IS and BIRDs. Results of Wilcoxon rank sum test for the running speed distributions in Figure 3 . View this table: View inline View popup Download powerpoint Table 6: Coefficient values for the gamma GLME in Eq. 6 , estimated dispersion was 0.08. Adjusted R 2 = 0.82 SE = standard error, d.f. = degrees of freedom. 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 ( Figure 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 Figure 4B ), indicating that the interictal spike-generating process is non-stationary. To understand the zone-specific effects on the IS rate, we modeled the nonstationarity 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 ( Figure 4C ). Download figure Open in new tab 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 time spent and 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 ( Figure 4D ; η reward = [1.5, 2.3], 1 − α = 95% highest posterior density (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% 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 ( Figure 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 ( Figure 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 40 – 44 , and even into variables describing the animal’s behavioral state including position 45 – 47 and social context 48 . After non-linearly embedding each IS LFP into a 2-dimensional space ( Fig. 5A ), a bagged ensemble of trees binary classifier 49 , sometimes referred to as a “random forest” 50 , was trained to discriminate between IS which occurred at reward sites versus those that did not. The classifier’s performance as measured by the receiver operating characteristic (ROC, see Supplemental Figure S1 ) area-under-the-curve (AUC), was able to predict the animal’s mean performance on the alternation task ( Fig. 5B ). 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 helpful for solving the task. This is consistent with reports that SWR in healthy animals recruit cells which encode locations near rewarded locations 27 , 31 . 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 (Supplemental 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 27 . 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. Download figure Open in new tab Figure 5: The ability to decode reward zone occupancy from the IS LFP predicts animals’ memory performance. (A) The normalized LFP from each IS was non-linearly embedded into a 2-dimensional space using the t-SNE algorithm 96 . A bagged ensemble of trees binary classifier 49 , 50 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 7 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 v.s. 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 = 16299, 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 = 4721, sd = 1.2, p = < 0.001, two-sided t-test). 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 second 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 32 , 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 29 , 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 play the role of delay phase SWR. View this table: View inline View popup Download powerpoint Table 7: Coefficient values for the regression model in Figure 5B . Adjusted R 2 = 0.628 SE = standard error, d.f. = degrees of freedom. Comparison against constant model: F statistic = 11.1, p = 0.0206 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 51 . 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 hidden Markov model scheme (HMM, 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 ( Figure 6A ). Control animals’ performance also was represented with an HMM ( Supp. Fig. S2 ) of similar structure to that in Fig. 6B . Importantly, the probability of remaining in a perseveration state was lower in controls than epileptic mice ( Supp. Fig. S3 ). In agreement with computational and psychophysical investigations of reaction time and decision certainty 52 – 54 , mean time to exit the delay zone was inversely related to the probability of correct choice as summarized in Table 8 . View this table: View inline View popup Download powerpoint Table 8: The mean delay exit time (time to exit delay zone after 30 s interval elapsed) was estimated from 1000 samples drawn using the hierarchical bootstrap method 97 for each discrete state estimated by the Viterbi algorithm. Download figure Open in new tab 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 v.s. 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. 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 are 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) ( Figure 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 ( Figure 6 ). These results indicate that both engagement and perseveration are associated with baseline interictal activity during the delay period, and raises the interesting possibility that IS 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, the animal resorts to guessing. A simple model of interictal spikes and hippocampal place-coding reveals major differences between SWR and IS Replays during SWR 55 , 56 are thought to be important for prospective planning and consolidation of recent actions 28 , 32 , 57 , 58 . 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 inter-trial 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 spike-timing dependent plasticity (STDP; 59 – 61 ) to include IS which were simulated by delivering bursts of spikes to CA3 pyramidal cells ( Figure 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 high frequency oscillation (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 23 . Download figure Open in new tab Figure 7: Providing 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 interictal spikes 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) 10 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 59 , 60 , 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 62 to reconstruct the maze positions represented by the network activity during each replay event and in each simulated subfield ( Supp. Fig. S4B ). Like in previous reports using similar models 59 , 60 , 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 and B ). We were interested in how the spatial distribution of IS during exploration of the maze impacted the content of delay zone replays that replay 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 59 . Such cued replays were performed 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 at the same relative locations on the virtual maze (like in Figures 7 and Supp. Fig. S4 ) 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 zone was measured as as a function of distance between the place fields corresponding to cued cells and the reference point ( Fig. 8A and B ). In the high spatial information case, generalization of the replay beyond the cued zone ( r ≫ 0, i.e. beyond the case where # place cell spikes outside cue = # place cell spikes inside cue) was restricted to cue distances 70 cm). In the < 30 cm region, the r values of high and low spatial information converged ( Fig. 8B ). These results suggest that when IS are scattered across the maze, the network is unable to generate precise replays during the delay phase of the working memory task. For example, the animal would not be able to replay previously visited reward locations (or any other locations on the maze) in isolation. Such corruption of replay could drive the low performance we observed in animals that had IS with low spatial information. Download figure Open in new tab Figure 8: Low spatial information IS distributions lead to globally-impaired cued-replay. (A) A schematic demonstrating a simulated network with IS carrying high spatial information (left, blue) and the same for IS carrying low spatial information (right, green). The reference point is shown as a dashed box. In the low spatial information case, one IS (lightning bolt) was delivered at a random location on the maze which was changed for each trial. The mazes below show representative sessions and their IS/BIRDs (colored as in Fig. 3 ) with IS distributions which resemble these two statistical regimes (duplicated from Fig. 3 m1 d1, and m6 d1 left and right, respectively). The delay zone (boxed region) is not considered. (B) A cue zone was varied along one limb of the maze with respect to the rference point. The ratio of elicited place cell spikes outside and in the cue-zone was computed. The error bars show the standard error of the mean (SEM). The drop after 60 cm in the low spatial information case is likely due to edge effects from the “choice point” where simulated trials were initiated. The insets show schematic examples of cue-elicited spikes in each to extreme cueing situations. A one-way ANOVA was conducted between each pair of 10 simulations at each cue zone, ** p < 0.01, *** p < 0.001, p-values adjusted using Benjamini-Hochberg false discovery rate. DISCUSSION IS affect active encoding of spatial memory Our recordings in freely behaving epileptic mice reveal that interictal spikes (IS) occurred frequently during a hippocampal dependent spatial working memory task ( Fig. 1 and 2 ). IS rates were augmented during the active encoding phases of the task; both proximal to reward sites and also as animals ran down maze arms ( Fig. 3 ). These two IS patterns had different impacts on working memory performance. When IS were spatially unrestricted, and thus carried low spatial information, animals performed poorly. Our data suggest that BIRDs which sustain themselves during locomotion ( Figure 3C & D ) “smear” IS across the maze and are responsible for the low spatial information. On the other hand, when IS near reward sites were distinct in LFP shape from other IS on the maze ( Fig. 5 ), which is indicative of these IS reliably engaging ensembles with spatial information, animals performed well. First, considering the former 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, like described in 63 and 64 , allow IS to transiently break through even during locomotion. The mechanism allowing IS encroachment on theta states may be impaired inhibition in epilepsy, which may share commonalities with experimental blockade of CA2 inhibition of CA3 that enables the generation of IS-like events during theta 36 , referred to by the descriptive name of place-seizures or “pleizures” 65 . Another possibility is that cholinergic drive, which is typically high during running and is known to inhibit population synchrony 35 might be reduced in epilepsy. Our result that the spatial information of IS was correlated with memory performance ( Fig. 3B ), suggests that the smearing of IS by BIRDs is detrimental to memory performance. The detrimental effect may be a consequence of aberrant activation of place cells during those IS that occur during running, which according to 23 , significantly reduced individual cells’ spatial information. We hypothesize that ensembles formed by 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 64 , 66 – 70 . In the latter case we report IS being restricted to reward sites and exhibiting 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. This includes that IS rates are elevated in reward zones ( Fig. 4 ), which may be an analog to reward zone related increases in SWR that have been extensively explored in healthy animals 27 , 31 , 32 , 71 . We also see that the amplitude of IS are larger in rewarded contexts ( Fig. 5D ) which could be linked to mechanisms which drive increases in number of pyramidal cell recruited to SWR in rewarded contexts in healthy animals 27 . Finally, we find the ability to discriminate IS LFP waveforms triggered in reward zones from those triggered in other locations predicts memory performance ( Fig. 5B-C ), which to our knowledge has no analog for SWR that has been reported. There is a connection between reward-related neuromodulation and epilepsy in general 72 , 73 . Dopamine and serotonin receptors are a potential target for anti-convulsant drugs 74 – 76 . Dopamine is also of interest to IS specifically, since in slice preparations, adding dopamine agonists has been shown to increase the rate of epileptiform bursting 77 and its spread across cortical tissue 76 , 78 . 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, and whether the spiking content underlying IS is also modulated by reward in a way that explains performance. IS both aid and interfere with memory-based planning during inter-trial delay phases Our modeling results suggest that errors made in different behavioral states can be explained by the content replayed in the hippocampus during the delay period. 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. Furthermore, the cueing simulations in Figures 8 suggest a biologically plausible mechanism for error generation. 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 79 , 80 . 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 58 , 81 or to maintain an accurate cognitive map for alternation behavior 32 , or a mixture thereof 82 , 83 . 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 patter of IS elsewhere on the maze. IS gain estimation framework may simplify comparisons across epilepsy models To get a handle on behavior/location- and state-dependent changes in IS rate, we used hierarchical Bayesian models which factorized firing rate into animal- and zone- ( Fig. 4 ) and state-dependent terms ( Fig. 7 ). This factorization in the model’s structure relies on two key assumptions to handle variability in the IS rate: (1) that there is indeed some enduring “baseline” firing rate unique to each animal and (2) that the magnitude of modulations applied to the baseline are shared between animals. Furthermore, we relied on weakly informative priors to regularize estimation of these parameters to values that were physiologically plausible based on video-LFP monitoring data and on the range of values reported in the literature for animal models 23 , 37 and those found in human epilepsy monitoring studies 84 – 86 . This model structure allows us to sepa-rate inter-animal variability in IS rate from potentially meaningful fluctuations around this mean value that is “universal.” Therefore, the variables of study here are not the IS rates or burdens themselves which fluctuate between distinct regimes 37 , but instead the latent unit-less modula-tion factors η in equations 8 and 17 . This hierarchical paradigm may allow for more meaningful translational comparisons (i.e. between animal models of epilepsy or between species) of IS-induced memory deficits since variance introduced by subject- or systematic disease/model-differences can be accounted for as a part of the grouping structure of the model 87 . The unitless paradigm could also render meaningful estimates of η even when IS rates are highly variable between subjects or when IS rate is underestimated because monitoring time is limited due to clinical factors 85 , 88 , 89 . Limitations and future directions Our study makes several predictions about the impact of IS on working memory. First, although we did not record single units, our data suggest several possibilities about the relationship between IS and single cell dynamics. Several studies in rodents with TLE have revealed disruption of single-cell properties including reduction in place field specificity and stability 23 , 64 , 66 – 70 , contamination of phase-of-firing relationships to underlying theta and gamma oscillations 63 , 64 , 70 , 90 , 91 , and aberrant post-ictal remapping 92 . An interesting possibility is that IS, especially those that encroach on theta states 93 – 95 , contribute to the development of such single cell pathology. In addition, with follow up single unit studies, our predictions that hippocampal replay becomes generalized when IS are unrestricted during theta states can be directly tested. It will also be important to explore whether IS show the same impacts on working memory in female mice, as this study was limited to male mice. Finally, a key finding of this study is that IS are not always negative for memory processing - and in fact, at times seem to functionally replace SWR. Such complexity indicates that future studies aimed at targeting IS to ameliorate memory deficits will need to be ‘smart’. For example, studies employing optogentic blockade of all IS, versus selective blockage of those deemed more pathological will be essential to determine the proper course of therapeutic intervention. Author contributions Conceptualization, L.A.E, M.P., and J.D.Y.; methodology, L.A.E, M.P., G.T., and J.D.Y.; investigation, L.A.E, M.P., L.K., and J.D.Y.; writing – original draft, L.A.E and J.D.Y.; writing – review & editing, L.A.E, M.P.,L.K., G.T. and J.D.Y.; funding acquisition, L.A.E; resources, L.A.E. and M.P.; supervision, L.A.E. Declaration of interests The authors declare no competing interests. Lead contact Requests for further information and resources should be directed to and will be fulfilled by the lead contacts, Justin D. Yi ( justidy1{at}uci.edu ) and Laura A. Ewell ( la.ewell{at}gmail.com ). Data and code availability All code and data needed to reproduce the findings will be made available upon publication of this manuscript. 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 a temperature (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 Temporal Lobe Epilepsy Kainate injections were performed in 3-month-old C57BL/6 male mice. In one laboratory, mice were anesthetized with an intraperitoneal injection (0.1ml/10g body weight) of Ketamine (0.1 ml of 1g/ml; Bela-Pharm GmbH & Co. KG), Dormitor (0.1 ml of 1mg/ml Meditomidinhydrochloride; 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 mins before the surgery, and Xylocaine (AstraZeneca, Germany) 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, USA) was used for local anesthesia. Baytril (0.5 mg, bacon flavored tablet, Bio-Serv) was used for post-operative antibiotics 5 days post-op. Stereotactic injections were performed using a stereotactic frame (Kopf) and a microprocessor-controlled minipump (World Precision Instruments, Sarasota, Florida). 70nL of 20mM Kainate Acid (Tocris Bioscience) or saline was injected unilaterally into cortex above right hippocampus (M/L =1.5mm; A/P =1.9mm; 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 (5mg/ml Atipamezolhydrochloride (Orion Pharma) was injected interperitoneally (0.1ml/10g body weight). The incision was covered with an Antibiotic-Cream, Refobacin (1mg /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 (10mg /2ml, 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 (Tocris Bioscience, ItemNo: 0222:) was prepared by combining 50mg of KA powder with a 40mM Sodium hydroxylate solution to get a stock solution of 40mM 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 4 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 kOhms. To implant the microdrives, mice were injected with the analgesic buprenorphine (0.05 mg/kg body weight) and ketoprofen (5mg/kg body weight) to reduce pain. 20 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/minute. 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 two minutes 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 (5mg/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-8000 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 4 weeks after Kainate injection, a high-density linear silicon probe (Neuronexus, H64LP A1×64-Edge layout, 64 channels, 20 µ m spacing) was implanted in the cortex above the right hippocampus (AP -1.9 mm, ML +1.6 mm, 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 days using a microdrive (3D Neuro – R2Drive, 98 ) 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 99 . 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 Alteration (3) Free Alternation. During habituation the mouse freely explored the maze that was covered with 9 sugar pallets (3 per arm). The Habituation phase was continued daily until the mouse ate all pellets in under 5 minutes. 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 3 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 days 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 days where mice ran 15-30 trials with delays of 30 seconds between trails. Before and after behavioral sessions, mice were placed in a monitoring chamber (glass bowl) where they were video-LFP monitored for at least three hours per day. One mouse (implanted with a silicon probe) was implanted prior to any training and was run in an automated version of the Figure-8 maze (48 × 48 cm). One day prior to habituation, the mouse was placed on a 2 % citric acid water regiment 100 . 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 minutes, 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 hours overnight (6:30 pm to 7:30 am) to estimate seizure burden. Quantification and statistical analysis Interictal spike 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 interictal spikes. The LFP was down-sampled to 1000 Hz. The sign of the signal’s skew was estimated and used to ensure interictal spikes were oriented positively regardless of the original polarity of the signal. Then, the signals were band-pass filtered (see Table 1 ), and peaks with a minimum prominence above a tuned threshold ( Table 1 ) were counted as the location of interictal spikes. Detector tuning For each animal, random 3-minute segments were selected from representative 3 behavioral and 1 sleep sessions for a total of 12 minutes per animal. Windows around interictal and or ictal spikes were labeled manually using the MATLAB SignalLabeler GUI and used a “ground truth” for tuning the detector. The detector was run on this ground truth dataset and the threshold, low- and high-pass bands were varied to maximize the F 1/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 containing no detected spikes. True negatives were thus not evaluated. These values were used to calculate the Precision, Recall, and F 1/2 score using the following equations: The F 1/2 score was chosen to favor Precision roughly twice as much than 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 fitted 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 39 . 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 ( x i ). These were used to in the information rate (bits/s) formula provided by 39 , 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, I spike = I/ ∑ i λ i P ( x i ), was computed. This quantity was computed for each session. To study how locomotion impacts I spike , for each BIRD, i , we computed the distance traveled as 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 where the index k is a per-session index, and ⟨ d ⟩ k is the mean BIRD distance traveled within that session. The model was fitted in MATLAB using the fitglme() function and Gamma distribution with reciprocal link. Gamma regression was selected since 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 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 % 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, S z,a , we employed a Bayesian approach to infer zone-specific “gains,” η z , which were applied to an animal-specific “baseline” IS rate, ρ a as: where T z,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, , where β i and x i are generic regression coefficients and predictors.) The parameters to be estimated had priors of the following form: Therefore, the posterior distribution was expressed as The model was specified in the probabilistic programming language Turing.jl in Julia (version 1.10.2, 101 ), with packages managed with DrWatson.jl 102 . Four independent chains each run for 1000 iterations with 500 warm-up samples were run using the No-U Turns Sampler (NUTS, 103 ) with a target acceptance ratio of 65% to estimate a posterior distribution for the parameters. values and effective sample sizes (ESS) were checked to ensure convergence, mixing, and sampling efficacy of the Monte Carlo Markov chains. 95% 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, . 104 . 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 (AIC) values of approximately 1.30 × 10 4 for the full model versus 1.48 × 10 4 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 2000 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. An bagging ensemble of trees 49 , 50 was fit using MATLAB with 5-fold 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 5 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 v.s. outside reward zones, and IS at reward during correct v.s. 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—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 51 , 105 – 107 . Borrowing ideas from 51 , 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 In other words, the performance is like flipping a biased coin with probability of “heads” p s . The value of c i 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 Where ; is an entry in the transition matrix A ∈ ℝ N × N . The initial state on the first trial is drawn from where α 0 ∈ℝ N is the probability of initializing in each of the N states. These parameters were initialized as: where 𝕀 N × 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: and finally, each p s took one of N uniformly spaced values from 0.1 to 0.9. To train the HMM, all 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 108 . 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 109 . 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 97 was applied to estimate delay period exit times by stratifying the data into 3 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 1000 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 ( s i ), were used as a prior to parameterize a variant of the firing rate model. The model likelihood was specified as The variable S i is the number of spikes in the delay period on trial i. The term is the sum of gain terms each weighted by the marginal probability of being in state s i ∼ p ( s i ). T delay, i was defined 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 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 5000 samples from the NUTS sampler, initialized as before. To validate the model estimated gains , 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 and the distribution of marginal means counts conditioned on the Viterbi-estimated state, , were compared to their point-estimates from the observed data, 𝔼( S i ) and 𝔼( S i | s i ). Note that denotes samples from the posterior predictive distribution 104 . 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 59 and then updated by 60 to include CA1. Pyramidal cells (pyr., n = 1250 region) and interneurons (int., n = 100 per region) in CA1 and CA3 were modeled using the adaptive exponential leaky integrate-and-fire (AELIF, 110 ) model, where V ( t ) is the membrane potential, w ( t ) is an adaptation current, and I s ( t ) are the sum of synaptic currents. Furthermore, C m is the membrane potential, g L and E L 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 9 for values which approximately correspond to those in 59 ). The synaptic conductances g AMPA and g GABA were bi-exponential functions as in 59 , with E AMPA = 0 mV and E GABA = −90 mV. All neural simulations were specified and run in NEST v3.7 111 with Python 3.12.3. View this table: View inline View popup Download powerpoint Table 9: Spiking neuron parameters for model equations 18 . To simulate the plasticity induced by repeated exploration of a maze environment, we adopted a modified the place- and theta-modulated spike-timing-dependent plasticity (STDP) paradigm introduced in 59 and 60 ; a similar form model was experimentally validated in 61 . 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 minutes, 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 and given each a place field center x i 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 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 59 , 60 . Non-place cells fired with a mean rate of 0.1 Hz. To simulate ictal spikes which occur generally in the same location on the maze during exploration (for example, the reward ports), all CA3 pyramidal cells received a pulse of spikes at λ max = 2000 Hz described according to 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 independent probability of 1%. Since during exploration the pyramidal cell spiking was clamped to the rates above induce sequences encoded in the weight matrix tuned by STDP 59 – 61 both the internal dynamics of pyramidal cells and interneuron dynamics and synapses were neglected. The normalized synaptic weights, w ∈ [0, 1], were updated according to standard STDP rules 112 as where µ ± = 0 (weight-independent updating rule) and Δ t = t post − t pre , λ 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 60 , thus, , α = −1, τ ± = 62.5 ms, and w max = 40 nS. For CA3-to-CA1 synapses, nS, α = 0.4, τ + = 20 ms, τ − = 40 ms, and w max = 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 cells 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 20 nS. The connections between all other cell types are detailed in Table 10 . View this table: View inline View popup Download powerpoint Table 10: Synaptic parameters during “offline” state modeled after 59 . For comparing how the IS distributions on the maze affected network cueing, we simulated a case with high spatial information (the default described above) and low spatial information case by varying the location of IS uniformly over the interval [± 0 cm, ± 150 cm]. 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 500 nS from the simulated dentate gyrus. Cues were given to CA3 place cells on 20 cm wide intervals centered on equally spaced (5 cm) locations between 0 and 80 cm away from a reference point. The weight of each cue synapse was set to 80 nS. Only one network for each case was used, and 10 random seeds were used to initialize simulations at each cue center. Using the Scipy library, a one-way ANOVA was conducted at each cue center and p-values were corrected with a Benjamini-Hochberg false discovery rate procedure. 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, sampled at 1000 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 59 . 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 7th 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 1024 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 10 1.2 to 10 2.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 113 and the PyWavelets package 114 , 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 62 where δ ( x ) is the Dirac delta function, x i is the place field center, and n i [ t ] indicates the number of spikes neuron i fired within a discrete 25 ms time bin. A Supplement View this table: View inline View popup Download powerpoint Table A.1: LFP discriminability and SI independently explain animals’ performance. Adjusted R 2 = 0.86, d.f. = 4. Full model v.s. constant model F = 20.1, p = 0.008. Download figure Open in new tab Figure A.1: ROC curves for classifier IS performance. Download figure Open in new tab Figure A.2: Three-state HMM fit to control animals reflects improved performance both in (A) the high proportion of time in the engaged state in this representative animal and (B) the higher Bernoulli probability of successful alternation in the engaged state than that of controls. Download figure Open in new tab Figure A.3: The behavioral state HMM transition matricies from epileptic and control animals. (A) The width of the arrows show the relative probability of transitioning between each state. (B) The mean escape time from the perseveration state was compared and found to be elevated in the epileptic mice, which is consistent with the magnitudes of self-transition probabilities in (A). The red line indicates an exponential fit with mean T . Download figure Open in new tab Figure A.4: Replay events in silico are corrupted by recruiting off-target ensembles. (A) Raster plots of spontaneous place cell activity in CA3 and CA1 from control (dark blue) and epileptic (light blue) networks. (B) Zoomed-in single replay events, along with their respective population vector reconstructions as a black line, are also shown. Acknowledgments 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. Footnotes ↵ 5 Senior author ↵ 6 Lead contact ↵ * justidy1{at}uci.edu ** lewell{at}hs.uci.edu References 1. ↵ Helmstaedter , C. , Kurthen , M. , Lux , S. , Reuber , M. , and Elger , C. E. ( 2003 ) Chronic epilepsy and cognition: a longitudinal study in temporal lobe epilepsy . Ann. Neurol . 54 , 425 – 432 . OpenUrl CrossRef PubMed Web of Science 2. ↵ Hermann , B. P. , Seidenberg , M. , Dow , C. , Jones , J. , Rutecki , P. , Bhattacharya , A. , and Bell , B. ( 2006 ) Cognitive prognosis in chronic temporal lobe epilepsy . Ann. Neurol . 60 , 80 – 87 . OpenUrl CrossRef PubMed Web of Science 3. Stretton , J. , and Thompson , P. J. ( 2012 ) Frontal lobe function in temporal lobe epilepsy . Epilepsy Res . 98 , 1 – 13 . OpenUrl CrossRef PubMed 4. ↵ Arski , O. N. , Young , J. M. , Smith , M.-L. , and Ibrahim , G. M. ( 2021 ) The oscillatory basis of working memory function and dysfunction in epilepsy . Frontiers in Human Neuroscience 14 . https://www.frontiersin.org/journals/human-neuroscience/articles/10.3389/fnhum.2020.612024 . s doi: 10.3389/fnhum.2020.612024 . OpenUrl CrossRef 5. Fleury , M. , Buck , S. , Binding , L. P. , Caciagli , L. , Vos , S. B. , Winston , G. P. , Thompson , P. J. , Koepp , M. J. , Duncan , J. S. , and Sidhu , M. K. ( 2022 ) Episodic memory network connectivity in temporal lobe epilepsy . Epilepsia 63 , 2597 – 2622 . OpenUrl CrossRef PubMed 6. ↵ Caciagli , L. , Paquola , C. , He , X. , Vollmar , C. , Centeno , M. , Wandschneider , B. , Braun , U. , Trimmel , K. , Vos , S. B. , Sidhu , M. K. , Thompson , P. J. , Baxendale , S. , Winston , G. P. , Duncan , J. S. , Bassett , D. S. , Koepp , M. J. , and Bernhardt , B. C. ( 2023 ) Disorganization of language and working memory systems in frontal versus temporal lobe epilepsy . Brain 146 , 935 – 953 . OpenUrl CrossRef PubMed 7. ↵ Vivekananda , U. , Bush , D. , Bisby , J. A. , Diehl , B. , Jha , A. , Nachev , P. , Rodionov , R. , Burgess , N. , and Walker , M. C. ( 2019 ) Spatial and episodic memory tasks promote temporal lobe interictal spikes . Annals of Neurology 86 , 304 – 309 . OpenUrl CrossRef PubMed 8. ↵ Holmes , G. L. ( 2014 ) What is more harmful, seizures or epileptic EEG abnormalities? is there any clinical data? Epileptic disorders : international epilepsy journal with videotape 16 Spec No 1, S12 – 22 . http://dx.doi.org/10.1684/epd.2014.0686. doi: 10.1684/epd.2014.0686 . OpenUrl CrossRef 9. ↵ Horak , P. C. , Meisenhelter , S. , Song , Y. , Testorf , M. E. , Kahana , M. J. , Viles , W. D. , Bujarski , A. , Connolly , A. C. , Robbins , A. A. , Sperling , M. R. , Sharan , A. D. , Worrell , G. A. , Miller , R. , Gross , R. E. , Davis , K. A. , Roberts , D. W. , Lega , B. , Sheth , S. A. , Zaghloul , K. A. , Stein , J. M. , Das , S. R. , Rizzuto , D. S. , and Jobst , B. C. ( 2017 ) Interictal epileptiform discharges impair word recall in multiple brain areas . Epilepsia 58 , 373 – 380 . OpenUrl CrossRef PubMed 10. Quon , R. J. , Camp , E. J. , Meisenhelter , S. , Song , Y. , Steimel , S. A. , Testorf , M. E. , Andrew , A. S. , Gross , R. E. , Lega , B. C. , Sperling , M. R. , Kahana , M. J. , and Jobst , B. C. ( 2021 ) Features of intracranial interictal epileptiform discharges associated with memory encoding . Epilepsia 62 , 2615 – 2626 . http://dx.doi.org/10.1111/epi.17060. doi: 10.1111/epi.17060 . OpenUrl CrossRef PubMed 11. ↵ Camarillo-Rodriguez , L. , Leenen , I. , Waldman , Z. , Serruya , M. , Wanda , P. A. , Herweg , N. A. , Kahana , M. J. , Rubinstein , D. , Orosz , I. , Lega , B. et al. ( 2022 ) Temporal lobe interictal spikes disrupt encoding and retrieval of verbal memory: A subregion analysis . Epilepsia 63 , 2325 – 2337 . OpenUrl CrossRef PubMed 12. ↵ Kleen , J. K. , Scott , R. C. , Holmes , G. L. , and Lenck-Santini , P. P. ( 2010 ) Hippocampal interictal spikes disrupt cognition in rats . Ann. Neurol . 67 , 250 – 257 . OpenUrl CrossRef PubMed Web of Science 13. ↵ Naik , A. A. , Sun , H. , Williams , C. L. , Weller , D. S. , Julius Zhu , J. , and Kapur , J. ( 2021 ) Mechanism of seizure-induced retrograde amnesia . Prog. Neurobiol . 200 , 101984 . OpenUrl CrossRef PubMed 14. ↵ Vanderwolf , C. H. ( 1969 ) Hippocampal electrical activity and voluntary movement in the rat . Electroencephalogr. Clin. Neurophysiol . 26 , 407 – 418 . OpenUrl CrossRef PubMed Web of Science 15. Skaggs , W. E. , McNaughton , B. L. , Wilson , M. A. , and Barnes , C. A. ( 1996 ) Theta phase precession in hippocampal neuronal populations and the compression of temporal sequences . Hippocampus 6 , 149 – 172 . OpenUrl CrossRef PubMed Web of Science 16. Dragoi , G. , and Buzsàki , G. ( 2006 ) Temporal encoding of place sequences by hippocampal cell assemblies . Neuron 50 , 145 – 157 . OpenUrl CrossRef PubMed Web of Science 17. Foster , D. J. , and Wilson , M. A. ( 2007 ) Hippocampal theta sequences . Hippocampus 17 , 1093 – 1099 . OpenUrl CrossRef PubMed Web of Science 18. ↵ Buzsàki , G. , and Moser , E. I. ( 2013 ) Memory, navigation and theta rhythm in the hippocampal-entorhinal system . Nat. Neurosci . 16 , 130 – 138 . OpenUrl CrossRef PubMed 19. ↵ Buzsàki , G. ( 2015 ) Hippocampal sharp wave-ripple: A cognitive biomarker for episodic memory and planning . Hippocampus 25 , 1073 – 1188 . OpenUrl CrossRef PubMed 20. ↵ Wilson , M. A. , and McNaughton , B. L. ( 1994 ) Reactivation of hippocampal ensemble memories during sleep . Science 265 , 676 – 679 . OpenUrl Abstract / FREE Full Text 21. ↵ Bragin , A. , Wilson , C. L. , and Engel , J. , Jr . ( 2007 ) Voltage depth profiles of high-frequency oscillations after kainic acid-induced status epilepticus . Epilepsia 48 Suppl 5 , 35 – 40 . OpenUrl 22. ↵ Gelinas , J. N. , Khodagholy , D. , Thesen , T. , Devinsky , O. , and Buzsàki , G. ( 2016 ) Interictal epileptiform discharges induce hippocampal–cortical coupling in temporal lobe epilepsy . Nature medicine 22 , 641 – 648 . OpenUrl CrossRef PubMed 23. ↵ Ewell , L. A. , Fischer , K. B. , Leibold , C. , Leutgeb , S. , and Leutgeb , J. K. ( 2019 ) The impact of pathological high-frequency oscillations on hippocampal network activity in rats with chronic epilepsy . Elife 8 , e42148 . OpenUrl CrossRef PubMed 24. ↵ Dahal , P. , Ghani , N. , Flinker , A. , Dugan , P. , Friedman , D. , Doyle , W. , Devinsky , O. , Khodagholy , D. , and Gelinas , J. N. ( 2019 ) Interictal epileptiform discharges shape largescale intercortical communication . Brain 142 , 3502 – 3513 . OpenUrl CrossRef PubMed 25. ↵ Henin , S. , Shankar , A. , Borges , H. , Flinker , A. , Doyle , W. , Friedman , D. , Devinsky , O. , Buzsàki , G. , and Liu , A. ( 2021 ) Spatiotemporal dynamics between interictal epileptiform discharges and ripples during associative memory processing . Brain 144 , 1590 – 1602 . OpenUrl CrossRef PubMed 26. ↵ Valero , M. , Averkin , R. G. , Fernandez-Lamo , I. , Aguilar , J. , Lopez-Pigozzi , D. , Brotons-Mas , J. R. , Cid , E. , Tamas , G. , and Menendez de la Prida , L. ( 2017 ) Mechanisms for selective single-cell reactivation during offline sharp-wave ripples and their distortion by fast ripples . Neuron 94 , 1234 – 1247.e7 . OpenUrl CrossRef PubMed 27. ↵ Singer , A. C. , and Frank , L. M. ( 2009 ) Rewarded outcomes enhance reactivation of experience in the hippocampus . Neuron 64 , 910 – 921 . OpenUrl CrossRef PubMed Web of Science 28. ↵ Dragoi , G. , and Tonegawa , S. ( 2011 ) Preplay of future place cell sequences by hippocampal cellular assemblies . Nature 469 , 397 – 401 . OpenUrl CrossRef PubMed Web of Science 29. ↵ Jadhav , S. P. , Kemere , C. , German , P. W. , and Frank , L. M. ( 2012 ) Awake hippocampal sharp-wave ripples support spatial memory . Science 336 , 1454 – 1458 . OpenUrl Abstract / FREE Full Text 30. Pfeiffer , B. E. , and Foster , D. J. ( 2013 ) Hippocampal place-cell sequences depict future paths to remembered goals . Nature 497 , 74 – 79 . OpenUrl CrossRef PubMed Web of Science 31. ↵ Joo , H. R. , and Frank , L. M. ( 2018 ) The hippocampal sharp wave–ripple in memory retrieval for immediate use and consolidation . Nature Reviews Neuroscience 19 , 744 – 757 . OpenUrl CrossRef PubMed 32. ↵ Gillespie , A. K. , Maya , D. A. A. , Denovellis , E. L. , Liu , D. F. , Kastner , D. B. , Coulter , M. E. , Roumis , D. K. , Eden , U. T. , and Frank , L. M. ( 2021 ) Hippocampal replay reflects specific past experiences rather than a plan for subsequent choice . Neuron 109 , 3149 – 3163 . OpenUrl CrossRef PubMed 33. ↵ Csicsvari , J. , Hirase , H. , Czurkó , A. , Mamiya , A. , and Buzsàki , G. ( 1999 ) Oscillatory coupling of hippocampal pyramidal cells and interneurons in the behaving rat . J. Neurosci . 19 , 274 – 287 . OpenUrl Abstract / FREE Full Text 34. ↵ Klausberger , T. , Magill , P. J. , Màrton , L. F. , Roberts , J. D. B. , Cobden , P. M. , Buzsàki , G. , and Somogyi , P. ( 2003 ) Brain-state- and cell-type-specific firing of hippocampal interneurons in vivo . Nature 421 , 844 – 848 . OpenUrl CrossRef PubMed Web of Science 35. ↵ Vandecasteele , M. , Varga , V. , Berènyi , A. , Papp , E. , Barthó , P. , Venance , L. , Freund , T. F. , and 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. U. S. A . 111 , 13535 – 13540 . OpenUrl Abstract / FREE Full Text 36. ↵ Boehringer , R. , Polygalov , D. , Huang , A. J. Y. , Middleton , S. J. , Robert , V. , Wintzer , M. E. , Piskorowski , R. A. , Chevaleyre , V. , and McHugh , T. J. ( 2017 ) Chronic loss of CA2 transmission leads to hippocampal hyperexcitability . Neuron 94 , 642 – 655.e9 . OpenUrl CrossRef PubMed 37. ↵ Heining , K. , Kilias , A. , Janz , P. , Häussler , U. , Kumar , A. , Haas , C. A. , and Egert , U. ( 2019 ) Bursts with high and low load of epileptiform spikes show context-dependent correlations in epileptic mice . eneuro 6 . 38. ↵ Hoxha , M. , and Sabariego , M. ( 2020 ) Delayed alternation task for the study of spatial working and long term memory in rats . Bio Protoc . 10 , e3549 . OpenUrl 39. ↵ Skaggs , W. , Mcnaughton , B. , and Gothard , K. ( 1992 ) An information-theoretic approach to deciphering the hippocampal code . Advances in neural information processing systems 5 . 40. ↵ Navas-Olive , A. , Valero , M. , Jurado-Parras , T. , de Salas-Quiroga , A. , Averkin , R. G. , Gambino , G. , Cid , E. , and de la Prida , L. M. ( 2020 ) Multimodal determinants of phase-locked dynamics across deep-superficial hippocampal sublayers during theta oscillations . Nature communications 11 , 2217 . OpenUrl CrossRef PubMed 41. Navas-Olive , A. , Amaducci , R. , Jurado-Parras , M.-T. , Sebastian , E. R. , and de la Prida , L.M. ( 2022 ) Deep learning-based feature extraction for prediction and interpretation of sharp-wave ripples in the rodent hippocampus . eLife 11 . http://dx.doi.org/10.7554/{eLife}.77772. doi:10.7554/{eLife}.77772. 42. Navas-Olive , A. , Rubio , A. , Abbaspoor , S. , Hoffman , K. L. , and de la Prida , L.M. ( 2023 ) A machine learning toolbox for the analysis of sharp-wave ripples reveal common features across species . BioRxiv . http://biorxiv.org/lookup/doi/10.1101/2023.07.02.547382 . doi: 10.1101/2023.07.02.547382 . OpenUrl Abstract / FREE Full Text 43. Sebastian , E. R. , Quintanilla , J. P. , Sànchez-Aguilera , A. , Esparza , J. , Cid , E. , and de la Prida , L. M. ( 2023 ) Topological analysis of sharp-wave ripple waveforms reveals input mechanisms behind feature variations . Nature Neuroscience 26 , 2171 – 2181 . http://dx.doi.org/10.1038/s41593-023-01471-9. doi: 10.1038/s41593-023-01471-9 . OpenUrl CrossRef PubMed 44. ↵ Sebastian , E. R. , Esparza , J. , and M de la Prida , L. ( 2024 ) Quantifying the distribution of feature values over data represented in arbitrary dimensional spaces . PLoS Computational Biology 20 , e1011768 . http://dx.doi.org/10.1371/journal.pcbi.1011768. doi: 10.1371/journal.pcbi.1011768 . OpenUrl CrossRef 45. ↵ Agarwal , G. , Stevenson , I. H. , Berènyi , A. , Mizuseki , K. , Buzsàki , G. , and Sommer , F. T. ( 2014 ) Spatially distributed local fields in the hippocampus encode rat position . Science 344 , 626 – 630 . OpenUrl Abstract / FREE Full Text 46. Cao , L. , Varga , V. , and Chen , Z. S. ( 2021 ) Uncovering spatial representations from spatiotemporal patterns of rodent hippocampal field potentials . Cell reports methods 1 . 47. ↵ Douchamps , V. , di Volo , M. , Torcini , A. , Battaglia , D. , and Goutagny , R. ( 2024 ) Gamma oscillatory complexity conveys behavioral information in hippocampal networks . Nature Communications 15 , 1849 . OpenUrl CrossRef PubMed 48. ↵ Mohapatra , A. N. , Peles , D. , Netser , S. , and Wagner , S. ( 2024 ) Synchronized lfp rhythmicity in the social brain reflects the context of social encounters . Communications Biology 7 , 2 . OpenUrl CrossRef PubMed 49. ↵ Breiman , L. ( 1996 ) Bagging predictors . Machine learning 24 , 123 – 140 . OpenUrl 50. ↵ Breiman , L. ( 2001 ) Random forests . Machine learning 45 , 5 – 32 . OpenUrl CrossRef 51. ↵ Ashwood , Z. C. , Roy , N. A. , Stone , I. R. , Laboratory , I. B. , Urai , A. E. , Churchland , A. K. , Pouget , A. , and Pillow , J. W. ( 2022 ) Mice alternate between discrete strategies during perceptual decision-making . Nature Neuroscience 25 , 201 – 212 . OpenUrl CrossRef PubMed 52. ↵ Beck , J. M. , Ma , W. J. , Kiani , R. , Hanks , T. , Churchland , A. K. , Roitman , J. , Shadlen , M. N. , Latham , P. E. , and Pouget , A. ( 2008 ) Probabilistic population codes for bayesian decision making . Neuron 60 , 1142 – 1152 . OpenUrl CrossRef PubMed Web of Science 53. Churchland , A. K. , Kiani , R. , and Shadlen , M. N. ( 2008 ) Decision-making with multiple alternatives . Nature neuroscience 11 , 693 – 702 . OpenUrl CrossRef PubMed Web of Science 54. ↵ Kiani , R. , Corthell , L. , and Shadlen , M. N. ( 2014 ) Choice certainty is informed by both evidence and decision time . Neuron 84 , 1329 – 1342 . OpenUrl CrossRef PubMed 55. ↵ Pastalkova , E. , Itskov , V. , Amarasingham , A. , and Buzsaki , G. ( 2008 ) Internally generated cell assembly sequences in the rat hippocampus . Science 321 , 1322 – 1327 . OpenUrl Abstract / FREE Full Text 56. ↵ Malvache , A. , Reichinnek , S. , Villette , V. , Haimerl , C. , and Cossart , R. ( 2016 ) Awake hippocampal reactivations project onto orthogonal neuronal assemblies . Science 353 , 1280 – 1283 . OpenUrl Abstract / FREE Full Text 57. ↵ Drieu , C. , Todorova , R. , and Zugaro , M. ( 2018 ) Nested sequences of hippocampal as-semblies during behavior support subsequent sleep replay . Science 362 , 675 – 679 . OpenUrl Abstract / FREE Full Text 58. ↵ Mattar , M. G. , and Daw , N. D. ( 2018 ) Prioritized memory access explains planning and hippocampal replay . Nature neuroscience 21 , 1609 – 1617 . OpenUrl CrossRef PubMed 59. ↵ Ecker , A. , Bagi , B. , Vèrtes , E. , Steinbach-Nèmeth , O. , Karlócai , M. R. , Papp , O. I. , Miklós , I. , Hàjos , N. , Freund , T. F. , Gulyàs , A. I. 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 . OpenUrl CrossRef PubMed 60. ↵ Liu , C. , Todorova , R. , Tang , W. , Oliva , A. , and Fernandez-Ruiz , A. ( 2023 ) Associative and predictive hippocampal codes support memory-guided behaviors . Science 382 , eadi8237 . OpenUrl CrossRef PubMed 61. ↵ Liao , Z. , Terada , S. , Raikov , I. G. , Hadjiabadi , D. , Szoboszlay , M. , Soltesz , I. , and Losonczy , A. ( 2024 ) Inhibitory plasticity supports replay generalization in the hippocampus . Nature Neuroscience . http://dx.doi.org/10.1038/s41593-024-01745-w. doi: 10.1038/s41593-024-01745-w . OpenUrl CrossRef 62. ↵ Zhang , K. , Ginzburg , I. , McNaughton , B. L. , and Sejnowski , T. J. ( 1998 ) Interpreting neuronal population activity by reconstruction: unified framework with application to hippocampal place cells . Journal of neurophysiology 79 , 1017 – 1044 . OpenUrl CrossRef PubMed Web of Science 63. ↵ Lopez-Pigozzi , D. , Laurent , F. , Brotons-Mas , J. R. , Valderrama , M. , Valero , M. , Fernandez-Lamo , I. , Cid , E. , Gomez-Dominguez , D. , Gal , B. , and de la Prida , L. M. ( 2016 ) Altered oscillatory dynamics of ca1 parvalbumin basket cells during theta–gamma rhythmopathies of temporal lobe epilepsy . eneuro 3 . 64. ↵ Shuman , T. , Aharoni , D. , Cai , D. J. , Lee , C. R. , Chavlis , S. , Page-Harley , L. , Vetere , L. M. , Feng , Y. , Yang , C. Y. , Mollinedo-Gajate , I. et al. ( 2020 ) Breakdown of spatial coding and interneuron synchronization in epileptic mice . Nature neuroscience 23 , 229 – 238 . OpenUrl CrossRef PubMed 65. ↵ McHugh , T. ( 2023 ) Tom mchugh . Neuron 111 , 2951 – 2953 . OpenUrl CrossRef PubMed 66. ↵ Liu , X. , Muller , R. U. , Huang , L.-T. , Kubie , J. L. , Rotenberg , A. , Rivard , B. , Cilio , M. R. , and Holmes , G. L. ( 2003 ) Seizure-induced changes in place cell physiology: relationship to spatial memory . Journal of Neuroscience 23 , 11505 – 11515 . OpenUrl Abstract / FREE Full Text 67. Zhou , J.-L. , Shatskikh , T. N. , Liu , X. , and Holmes , G. L. ( 2007 ) Impaired single cell firing and long-term potentiation parallels memory impairment following recurrent seizures . European Journal of Neuroscience 25 , 3667 – 3677 . OpenUrl CrossRef PubMed Web of Science 68. Karnam , H. B. , Zhou , J.-L. , Huang , L.-T. , Zhao , Q. , Shatskikh , T. , and Holmes , G. L. ( 2009 ) Early life seizures cause long-standing impairment of the hippocampal map . Experimental neurology 217 , 378 – 387 . OpenUrl CrossRef PubMed Web of Science 69. Titiz , A. , Mahoney , J. , Testorf , M. , Holmes , G. , and Scott , R. ( 2014 ) Cognitive impairment in temporal lobe epilepsy: role of online and offline processing of single cell information . Hippocampus 24 , 1129 – 1145 . OpenUrl CrossRef PubMed Web of Science 70. ↵ Sakkaki , S. , Barriére , S. , Bender , A. C. , Scott , R. C. , and Lenck-Santini , P.-P. ( 2020 ) Focal dorsal hippocampal nav1 . 1 knock down alters place cell temporal coordination and spatial behavior. Cerebral Cortex 30 , 5049 – 5066 . OpenUrl PubMed 71. ↵ Ambrose , R. E. , Pfeiffer , B. E. , and Foster , D. J. ( 2016 ) Reverse replay of hippocampal place cells is uniquely modulated by changing reward . Neuron 91 , 1124 – 1136 . OpenUrl CrossRef PubMed 72. ↵ Starr , M. S. ( 1996 ) The role of dopamine in epilepsy . Synapse 22 , 159 – 194 . OpenUrl CrossRef PubMed Web of Science 73. ↵ Haut , S. R. , and Albin , R. L. ( 2008 ) Dopamine and epilepsy . Neurology 71 , 784 – 785 . https://www.neurology.org/doi/abs/10.1212/01.wnl.0000325637.38931.27 . doi: 10.1212/01.wnl.0000325637.38931.27 . arXiv: https://www.neurology.org/doi/pdf/10.1212/01.wnl.0000325637.38931.27 . OpenUrl CrossRef PubMed 74. ↵ Clinckers , R. , Smolders , I. , Meurs , A. , Ebinger , G. , and Michotte , Y. ( 2004 ) Anticonvulsant action of hippocampal dopamine and serotonin is independently mediated by d2 and 5-ht1a receptors . Journal of neurochemistry 89 , 834 – 843 . OpenUrl CrossRef PubMed 75. Hablitz , J. J. ( 2004 ) Regulation of circuits and excitability: implications for epileptogenesis . Epilepsy Currents 4 , 151 – 153 . OpenUrl CrossRef PubMed 76. ↵ Goda , M. , Kovac , S. , Speckmann , E.-J. , and Gorji , A. ( 2008 ) Glutamate and dopamine receptors contribute to the lateral spread of epileptiform discharges in rat neocortical slices . Epilepsia 49 , 237 – 247 . OpenUrl CrossRef PubMed 77. ↵ Suppes , T. , Kriegstein , A. , and Prince , D. ( 1985 ) The influence of dopamine of epileptiform burst activity in hippocampal pyramidal neurons . Brain research 326 , 273 – 280 . OpenUrl CrossRef PubMed Web of Science 78. ↵ Bandyopadhyay , S. , Gonzalez-Islas , C. , and Hablitz , J. J. ( 2005 ) Dopamine enhances spatiotemporal spread of activity in rat prefrontal cortex . Journal of neurophysiology 93 , 864 – 872 . OpenUrl CrossRef PubMed Web of Science 79. ↵ Igata , H. , Ikegaya , Y. , and Sasaki , T. ( 2021 ) Prioritized experience replays on a hippocampal predictive map for learning . Proceedings of the National Academy of Sciences 118 , e2011266118 . OpenUrl CrossRef PubMed 80. ↵ Garvert , M. M. , Saanum , T. , Schulz , E. , Schuck , N. W. , and Doeller , C. F. ( 2023 ) Hippocampal spatio-predictive cognitive maps adaptively guide reward generalization . Nature Neuroscience 26 , 615 – 626 . OpenUrl CrossRef PubMed 81. ↵ Jensen , K. T. , Hennequin , G. , and Mattar , M. G. ( 2024 ) A recurrent network model of planning explains hippocampal replay and human behavior . Nature Neuroscience ( 1 – 9 ). 82. ↵ Ólafsdóttir , H. F. , Bush , D. , and Barry , C. ( 2018 ) The role of hippocampal replay in memory and planning . Current Biology 28 , R37 – R50 . OpenUrl CrossRef PubMed 83. ↵ Diekmann , N. , and Cheng , S. ( 2023 ) A model of hippocampal replay driven by experience and environmental structure facilitates spatial learning . ELife 12 , e82301 . OpenUrl CrossRef PubMed 84. ↵ Gotman , J. ( 1991 ) Relationships between interictal spiking and seizures: human and experimental evidence . Canadian journal of neurological sciences 18 , 573 – 576 . OpenUrl CrossRef PubMed Web of Science 85. ↵ Losey , T. E. , and Uber-Zak , L. ( 2008 ) Time to first interictal epileptiform discharge in extended recording eegs . Journal of Clinical Neurophysiology 25 , 357 – 360 . OpenUrl CrossRef PubMed 86. ↵ Selvitelli , M. F. , Walker , L. M. , Schomer , D. L. , and Chang , B. S. ( 2010 ) The relationship of interictal epileptiform discharges to clinical epilepsy severity: a study of routine electroencephalograms and review of the literature . Journal of Clinical Neurophysiology 27 , 87 – 92 . OpenUrl CrossRef PubMed 87. ↵ Katahira , K. ( 2016 ) How hierarchical models improve point estimates of model parameters at the individual level . Journal of Mathematical Psychology 73 , 37 – 58 . OpenUrl CrossRef 88. ↵ Faulkner , H. J. , Arima , H. , and Mohamed , A. ( 2012 ) Latency to first interictal epileptiform discharge in epilepsy with outpatient ambulatory eeg . Clinical neurophysiology 123 , 1732 – 1735 . OpenUrl CrossRef PubMed 89. ↵ Burkholder , D. B. , Britton , J. W. , Rajasekaran , V. , Fabris , R. R. , Cherian , P. J. , Kelly-Williams , K. M. , So , E. L. , Nickels , K. C. , Wong-Kisiel , L. C. , Lagerlund , T. D. et al. ( 2016 ) Routine vs extended outpatient eeg for the detection of interictal epileptiform discharges . Neurology 86 , 1524 – 1530 . OpenUrl Abstract / FREE Full Text 90. ↵ Lenck-Santini , P.-P. , and Holmes , G. L. ( 2008 ) Altered phase precession and compression of temporal sequences by place cells in epileptic rats . Journal of neuroscience 28 , 5053 – 5062 . OpenUrl Abstract / FREE Full Text 91. ↵ Barry , J. M. , Sakkaki , S. , Barriere , S. J. , Patterson , K. P. , Lenck-Santini , P. P. , Scott , R. C. , Baram , T. Z. , and Holmes , G. L. ( 2016 ) Temporal coordination of hippocampal neurons reflects cognitive outcome post-febrile status epilepticus . EBioMedicine 7 , 175 – 190 . OpenUrl CrossRef PubMed 92. ↵ Zhou , J.-L. , Lenck-Santini , P.-P. , and Holmes , G. L. ( 2007 ) Postictal single-cell firing patterns in the hippocampus . Epilepsia 48 , 713 – 719 . OpenUrl CrossRef PubMed Web of Science 93. ↵ Chauviere , L. , Rafrafi , N. , Thinus-Blanc , C. , Bartolomei , F. , Esclapez , M. , and Bernard , C. ( 2009 ) Early deficits in spatial memory and theta rhythm in experimental temporal lobe epilepsy . Journal of Neuroscience 29 , 5402 – 5410 . OpenUrl Abstract / FREE Full Text 94. Ge , M. , Guo , J. , Xing , Y. , Feng , Z. , Lu , W. , Ma , X. , Geng , Y. , and Zhang , X. 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) . IEEE ( 2017 ):( 4256 – 4259 ). 95. ↵ Fu , X. , Wang , Y. , Ge , M. , Wang , D. , Gao , R. , Wang , L. , Guo , J. , and Liu , H. ( 2018 ) Negative effects of interictal spikes on theta rhythm in human temporal lobe epilepsy . Epilepsy & Behavior 87 , 207 – 212 . OpenUrl CrossRef PubMed 96. ↵ Van der Maaten , L. , and Hinton , G. ( 2008 ) Visualizing data using t-sne . Journal of machine learning research 9 . 97. ↵ Saravanan , V. , Berman , G. J. , and Sober , S. J. ( 2020 ) Application of the hierarchical bootstrap to multi-level data in neuroscience . Neurons, behavior, data analysis and theory 3 . 98. ↵ Vöröslakos , M. , Petersen , P. C. , Vöröslakos , B. , and Buzsàki , G. ( 2021 ) Metal microdrive and head cap system for silicon probe recovery in freely moving rodent . Elife 10 , e65859 . OpenUrl CrossRef PubMed 99. ↵ Tarcsay , G. , Boublil , B. L. , and Ewell , L. A. ( 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. 100. ↵ Urai , A. E. , Aguillon-Rodriguez , V. , Laranjeira , I. C. , Cazettes , F. , International Brain Laboratory , Mainen , Z. F. , and Churchland , A. K. ( 2021 ) Citric acid water as an alternative to water restriction for high-yield mouse behavior . eNeuro 8 , ENEURO.0230–20.2020. 101. ↵ Bezanson , J. , Edelman , A. , Karpinski , S. , and Shah , V. B. ( 2014 ) Julia: a fresh approach to numerical computing. corr abs/1411.1607 (2014) arXiv preprint arxiv: 1411.1607 . 102. ↵ Datseris , G. , Isensee , J. , Pech , S. , and Gàl , T. ( 2020 ) Drwatson: the perfect sidekick for your scientific inquiries . Journal of open source software 5 , 2673 . OpenUrl CrossRef 103. ↵ Hoffman , M. D. , and Gelman , A. ( 2011 ) The no-u-turn sampler: Adaptively setting path lengths in hamiltonian monte carlo . arxiv. arXiv preprint arxiv: 1111.4246 . 104. ↵ Gelman , A. , Carlin , J. B. , Stern , H. S. , and Rubin , D. B. Bayesian data analysis, Third Edition . Chapman and Hall/CRC ( 2013 ). 105. ↵ Escola , S. , Fontanini , A. , Katz , D. , and Paninski , L. ( 2011 ) Hidden markov models for the stimulus-response relationships of multistate neural systems . Neural computation 23 , 1071 – 1132 . OpenUrl CrossRef PubMed 106. Fründ , I. , Wichmann , F. A. , and Macke , J. H. ( 2014 ) Quantifying the effect of intertrial dependence on perceptual decisions . Journal of vision 14 , 9 – 9 . OpenUrl Abstract / FREE Full Text 107. ↵ Lueckmann , J.-M. , Macke , J. H. , and Nienborg , H. ( 2018 ) Can serial dependencies in choices and neural activity explain choice probabilities? Journal of Neuroscience 38 , 3495 – 3506 . OpenUrl Abstract / FREE Full Text 108. ↵ Rabiner , L. R. ( 1989 ) A tutorial on hidden markov models and selected applications in speech recognition . Proceedings of the IEEE 77 , 257 – 286 . OpenUrl CrossRef 109. ↵ Dalle , G. ( 2024 ) Hiddenmarkovmodels . jl: generic, fast and reliable state space modeling. Journal of Open Source Software 9 , 6436 . OpenUrl 110. ↵ Brette , R. , and Gerstner , W. ( 2005 ) Adaptive exponential integrate-and-fire model as an effective description of neuronal activity . Journal of neurophysiology 94 , 3637 – 3642 . OpenUrl CrossRef PubMed Web of Science 111. ↵ Espinoza Valverde , J. A. , Müller , E. , Haug , N. , Schöfmann , C. M. , Linssen , C. , Senk , J. , Spreizer , S. , Trensch , T. , Lober , M. , Jiang , H. , Kurth , A. , Acimovic , J. , Korcsak-Gorzo , A. , Welle Skaar , J.-E. , Terhorst , D. , Stapmanns , J. , Graber , S. , de Schepper , R. , Eppler , J. M. , Kunkel , S. , Mitchell , J. , Wybo , W. , Morrison , A. , Vogelsang , J. , Benelhedi , M. A. , Köhn , C. , Schmitt , F. , Manninen , T. , van Albada , S. , Gille , J. , Jenke , J. , and Plesser , H. E. Nest 3.7 ( 2024 ) https://zenodo.org/doi/10.5281/zenodo.10834751 . doi: 10.5281/ZENODO.10834751 . OpenUrl CrossRef 112. ↵ Gütig , R. , Aharonov , R. , Rotter , S. , and Sompolinsky , H. ( 2003 ) Learning input correlations through nonlinear temporally asymmetric hebbian plasticity . Journal of Neuroscience 23 , 3697 – 3714 . OpenUrl Abstract / FREE Full Text 113. ↵ Virtanen , P. , Gommers , R. , Oliphant , T. E. , Haberland , M. , Reddy , T. , Cournapeau , D. , Burovski , E. , Peterson , P. , Weckesser , W. , Bright , J. , van der Walt , S. J. , Brett , M. , Wilson , J. , Millman , K. J. , Mayorov , N. , Nelson , A. R. J. , Jones , E. , Kern , R. , Larson , E. , Carey , C. J. , Polat , İ. , Feng , Y. , Moore , E. W. , VanderPlas , J. , Laxalde , D. , Perktold , J. , Cimrman , R. , Henriksen , I. , Quintero , E. A. , Harris , C. R. , Archibald , A. M. , Ribeiro , A. H. , Pedregosa , F. , van Mulbregt , P. , and SciPy 1.0 Contributors ( 2020 ) SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python . Nature Methods 17 , 261 – 272 . doi: 10.1038/s41592-019-0686-2 . OpenUrl CrossRef PubMed 114. ↵ Lee , G. , Gommers , R. , Waselewski , F. , Wohlfahrt , K. , and O’Leary , A. ( 2019 ) Pywavelets: A python package for wavelet analysis . Journal of Open Source Software 4 , 1237 . OpenUrl CrossRef View the discussion thread. Back to top Previous Next Posted November 14, 2024. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Interictal spikes during spatial working memory carry helpful or distracting representations of space and have opposing impacts on performance Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Interictal spikes during spatial working memory carry helpful or distracting representations of space and have opposing impacts on performance Justin D. Yi , Maryam Pasdarnavab , Laura Kueck , Gergely Tarcsay , Laura A. Ewell bioRxiv 2024.11.13.623481; doi: https://doi.org/10.1101/2024.11.13.623481 Share This Article: Copy Citation Tools Interictal spikes during spatial working memory carry helpful or distracting representations of space and have opposing impacts on performance Justin D. Yi , Maryam Pasdarnavab , Laura Kueck , Gergely Tarcsay , Laura A. Ewell bioRxiv 2024.11.13.623481; doi: https://doi.org/10.1101/2024.11.13.623481 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Neuroscience Subject Areas All Articles Animal Behavior and Cognition (7651) Biochemistry (17743) Bioengineering (13927) Bioinformatics (42063) Biophysics (21499) Cancer Biology (18649) Cell Biology (25579) Clinical Trials (138) Developmental Biology (13409) Ecology (19947) Epidemiology (2067) Evolutionary Biology (24372) Genetics (15633) Genomics (22556) Immunology (17774) Microbiology (40502) Molecular Biology (17217) Neuroscience (88791) Paleontology (667) Pathology (2845) Pharmacology and Toxicology (4836) Physiology (7664) Plant Biology (15178) Scientific Communication and Education (2047) Synthetic Biology (4304) Systems Biology (9839) Zoology (2272)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2024) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00