Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2021 Jun 7;17(6):e1008971. doi: 10.1371/journal.pcbi.1008971

Analogous computations in working memory input, output and motor gating: Electrophysiological and computational modeling evidence

Rachel Rac-Lubashevsky 1,2,*, Michael J Frank 1,2
Editor: Daniel Bush3
PMCID: PMC8211210  PMID: 34097689

Abstract

Adaptive cognitive-control involves a hierarchical cortico-striatal gating system that supports selective updating, maintenance, and retrieval of useful cognitive and motor information. Here, we developed a task that independently manipulates selective gating operations into working-memory (input gating), from working-memory (output gating), and of responses (motor gating) and tested the neural dynamics and computational principles that support them. Increases in gating demands, captured by gate switches, were expressed by distinct EEG correlates at each gating level that evolved dynamically in partially overlapping time windows. Further, categorical representations of specific maintained items and of motor responses could be decoded from EEG when the corresponding gate was switching, thereby linking gating operations to prioritization. Finally, gate switching at all levels was related to increases in the motor decision threshold as quantified by the drift diffusion model. Together these results support the notion that cognitive gating operations scaffold on top of mechanisms involved in motor gating.

Author summary

How do humans decide which information is relevant to attend to in memory, which cognitive operation to take, and when? Flexibly updating, maintenance and retrieval of relevant information from working memory (WM) are thought to be managed by gating computations in the frontostriatal network, supporting higher order learning and cognitive flexibility. Using the reference-back-2 task, we tested the key properties of gating. Namely that they are selective (“content-addressable”) and that principles of cognitive “actions” (including input gating of WM, output gating from WM) are scaffold on top of the motor gating operations. Using trial-by-trial EEG indexing and quantitative computational modeling (the hierarchical drift-diffusion model) we showed that action selection at all three levels of gating have separable neural signatures but they operate partly in parallel, such that decisions about a response are processed to some degree even while the identity of the cognitive rule were uncertain. Furthermore, we showed analogous computations across levels of gating as selection of WM representation and of motor action lead to increase in the estimated decision threshold and to enhanced neural coding of the selected information thereby providing a novel link between WM gating and WM prioritization.

Introduction

Optimal flexible behavior requires an agent to not only respond to incoming sensory events but to adaptively adjust action selection based on context, including previous events in memory [1]. Moreover, while some events in memory need to be robustly maintained over time in the face of distracting interference, sometimes sensory events dictate that such memories should be disrupted and rapidly updated. This challenge is referred to as the stability vs flexibility tradeoff [24] and highlights the need for a context-dependent control mechanism that selectively gates information into and out of working-memory (WM) to guide actions [510]. Adaptive control is particularly crucial given a capacity-limited WM system in a complex environment, where only a subset of perceptual information is task-relevant and only a subset of currently maintained WM items may be useful for guiding ongoing behavior.

The PBWM (prefrontal cortex basal ganglia working memory) model is a computational model that leverages powerful mechanisms of dopaminergic reinforcement learning (RL) in basal ganglia (BG) so as to optimize gating policies that control access to and from prefrontal cortex, to be held in WM [911]. According to PBWM, gating of both motor and WM actions are implemented by a common canonical set of operations whereby phasic DA signals reinforce BG gating actions that yield successful task performance. A distinguishing characteristic of the PBWM model is that WM gating is an elaboration of the more established BG mechanism of motor gating [7,9,11]. Indeed, according to PBWM, WM gating can be further divided into input gating, whereby BG can control access to stored information in PFC, and output gating, whereby other BG circuits can control which among several maintained WM items should influence motor decisions (response gating; see Fig 1). Moreover, PBWM extensions further assume that frontostriatal gating processes operate across a spectrum of abstract actions ranging from action plans in premotor cortex (PMC) to context-relevant cognitive information (like rules and task sets) in more anterior PFC [1113]. Various imaging, lesion and pharmacological studies have provided support for PBWM gating mechanisms (see [1416] for reviews). These cognitive and motor gating circuits are nested within a cortico-striatal hierarchical system that is arranged on a rostral-caudal axis in the frontal lobe (Fig 1) [1720], such that the posterior response gate is dependent on, and constrained by, the more rostral cognitive gates [6,11,12]. Indeed, anatomical studies have revealed asymmetric topography with more fibers projecting information from anterior PFC to posterior BG [21]. Nevertheless, despite this converging evidence for hierarchical PFC-BG gating interactions, the core assumption that response, input and output gating share computational properties–or how they unfold in time–has not been rigorously tested.

Fig 1. Schematic of the PBWM architecture for canonical gating operations.

Fig 1

(a) The gating system is composed of three core circuits that are hierarchically arranged from left to right. For illustration the operations needed to solve the task used in this paper are shown. At the beginning of a trial, the memory layer actively maintains the information from the previous trial (e.g., “O” and “%”). Sensory information (e.g., the “X” in the visual input) is transiently represented in a prefrontal cortex layer (labeled “PFC-in”). The input gate controls whether the new visual information (e.g., “X”) is updated to be maintained in a PFC memory layer, and if so, to which address or anatomical “stripe” within that layer (selective gating). The colored frame in the visual input represents a task cue signifying the updating policy that should be taken by the input gate. In this example, the red frame indicates that memory should be updated, so the input gate selectively updates the right PFC stripe (corresponding with the letter category, replacing the “O” in memory with “X”). The output gate controls which memory representations is prioritized in PFC-out (e.g., a deep layer of the PFC) to influence subsequent processing (e.g., here the relevant representation in memory is “O” and not “%”, given that the input to be compared is in the letter category). The response gate controls which motor response to select (e.g., here “same” (S) or “different” (D)) in posterior prefrontal layer (labeled here PMC), by comparing the output-gated memory representation (“O”) with the current visual input (“X”). Gate switching at the output and response gates are reflected by the change in the active stripe between the previous trial (t-1) and in the current trial. (b) An example of a maintenance trial. The blue task cue indicates that the appropriate updating policy is maintenance, and thus sensory information (e.g., “X”) is prevented from being updated in PFC memory (the gating signal from the BG is therefore a No-Go, indicated by the red BG). Gate switching in the input gate corresponds with moving between updating state (as shown in a) and maintenance state (as shown in b). Yellow squares indicate active stripe selected by the corresponding gate. The orange square represents the newly updated stripe in memory. The predicted temporal order of the gating loops is depicted at the bottom right of the figure with input and output gating starting roughly at the same time continuing in parallel (indicated in orange) with output gating terminating later (serial termination indicated in grey). The response gate is expected to initiate with some delay due to conflict at upper levels, and to terminate even later than the output gate.

The N-back task is often used for examining variations in executive function [2223]. While the N-back likely depends on both input and output gating (and can be modeled with PBWM [24]), experimentally, it provides a coarse measurement of WM control processes that are confounded with a variety of complex cognitive processes (e.g., encoding, inhibition, binding, matching, maintenance, updating and removal). To address this issue, and to focus on input gating specifically, we recently developed the reference-back task [2529], a continuous WM updating task. Behavioral, EEG and fMRI data support the notion that the reference-back task taxes cortico-striatal input gating [27,29,30,31]. However, a core distinguishing feature of the PBWM framework from that of other gating models is that it affords selective gating, whereby items can be input gated to, and output gated from, distinct addresses in memory (represented as PFC “stripes” or ensembles in the PBWM model). Here we aimed to augment the reference-back task (see review [32]) to more directly assess these separable content-addressable input and output gating functions, while also assessing how they relate to response gating.

To do so, we amended the reference-back task to mirror the SIR2 task, one of the key tasks developed to illustrate the need for learning selective gating policies in PBWM [10]. To manipulate the need for selective gating in a content-addressable manner, the SIR2 task includes two separate store cues (S1 or S2) in which the associated WM items had to be updated independently to separable WM stores and then accessed independently in response to corresponding recall probes (R1 or R2), in arbitrary order and over intervening distractors [10]. Through RL, PBWM learned a selective input gating policy that placed S1 and S2 items into separate PFC stripes, and an output gating policy that accesses the appropriate stripe given the corresponding R1 or R2 probe, thus implementing content-addressable memory. Given the unpredictable order in which items are stored and recalled, models without selective gating policies cannot solve the SIR2 task. This same selective gating ability was shown to useful to perform complex, hierarchically structured tasks and for supporting generalizability and task structure learning [11,12,33,34]. However, the SIR2 task does not have psychometric properties useful for human experimentation.

The reference-back-2 task (Fig 2) retains all the key features of SIR2 and allows laboratory testing of content-addressable selective input and output gating. The reference-back-2 task, like the original reference-back, is a continuous WM updating task that is composed of two trial types. Updating trials require both a matching decision and WM updating, whereas maintenance trials are equivalent in their perceptual and decision making demands but do not require WM updating. To introduce the need for selective gating, the reference-back-2 task includes stimuli that belong to two different categories (e.g., symbol/letter), where only one of these representations is relevant on each trial. In updating trials (marked with a red frame), participants need to update only the stimulus in WM belonging to the same category as the presented stimulus, while continuing to maintain that of the other category; thus demanding selective input gating (see Fig 1). The input gate, gates relevant information (e.g., the probed “X”) into a specific WM memory address (stripe) given the appropriate context (e.g., the red frame indicates to update). Further, for making the matching decision, only the currently relevant category item should be considered; thus demanding selective output gating. The output gate selects amongst maintained WM representations (in the memory layer) and output gates relevant information for subsequent processing (e.g., given the letter category in the probe, the relevant representation in memory is “O” and not “%”). Finally, for motor responding, the participant needs to compare the probed stimulus (“X”) to the WM representation selected by the output gate (“O”), in order to respond “same” or “different”, thus demanding selective response gating.

Fig 2. Trial events in the reference-back-2 task.

Fig 2

Trials with red frame are updating trials, while blue trials are maintenance trials. On each trial, participants make a matching decision between the probe and last stimulus presented in red from the same category. Each side of the thought bubble represents an address (or PFC “stripe”) in WM. During updating, input gates assign information to an address based on its category. During output gating, the relevant category is accessed from memory for the decision. The response gate makes the same/different selection. See the method section for more detail.

Here, we aim to test four key predictions from PBWM. First, we assessed whether input, output, and response gating share analogous computations that evolve dynamically in time. In particular, in PBWM, gating signals are used to displace prefrontal activity states with new information. Thus, when gating demands (at any level) switch from one trial to the next, a transient period of conflict ensues in which the previous and currently relevant information are competing. As such, PBWM predicts gate switching will be associated with an independent response time cost that arises from PFC conflict analogous to that experienced when needing to switch motor responses in PMC [35]. Indeed, all levels of conflict are thought to recruit the same basal ganglia mechanism that slows down responses and increases decision threshold [12,35]. This prediction is also consistent with findings in which switching between objects in WM during cognitive operations gives rise to a performance cost [36,37]. In that literature, the slowing in switch trials is attributed to “attentional control”: the need to move the focus of attention to the other object in WM. Under this view, attention is allocated to only one process at a time thus creating a bottleneck that controls which WM representation to select (i.e., prioritize) and use to guide subsequent cognitive operations or action selection [38,39].

Second, we tested the core PBWM prediction that output gating is used to enhance the representation associated with the currently relevant category (bolded representation in Fig 2). Previous work has shown that focused attention to one WM item prioritizes it. Directing attention to a specific WM content during the retention interval using an external cue (retro-cue; see review by [40]) or by instructing participants to refresh (“think of”) [41,42] puts such content in a privileged state where it is more resistant to perceptual interference, has better memory strength (reduced errors at retrieval) and heightened accessibility for later use [38,40,43,44]. WM prioritization is marked by sustained, elevated neural activity [4547] and persistent alpha suppression [48] that increases decodability of the prioritized representations [4851]. Such an account is consistent with output gating, but to date the gating WM literature and the WM prioritization literature have not been linked. To this end, we aimed to directly test the prediction that output gating (and switches thereof) places demands on prioritization to increase neural discriminability between the two candidate categories. Analogously, we also predicted that response switching will boost the neural indexing of the corresponding motor action representation, given that switches at the motor level place additional demands on response gating.

Third, we tested the prediction that input, output and response gating are processed in parallel. Converging evidence from neural network modeling of hierarchical rule learning [11,12,52], and experimental work with cognitive-control tasks (e.g., [5355]) suggest that WM and action selection are managed by independent mechanisms, operating mostly in parallel on different levels of information. In biologically inspired models of PBWM [11,12,52], parallel processing can occur when PFC projections to lower level striatum are strong, resulting in faster accumulation of evidence across levels of the hierarchy to favor a single response. The evidence for parallel processing across levels of information is also well documented in task switching literature when task sets and responses both switch [5355] but also when context and items in WM both switch [56]. Parallel processing in these cases is signified by under-additive interactions reflecting that the cost of switching two levels of decision was less than the sum of their individual durations.

However, the PBWM modeling simulations and EEG work suggest that processing is not perfectly parallel: indeed, conflict about the task-set in PFC has to be resolved before motor action selection can be informed by the task-set. In the model, the degree of this influence is controlled by projections to the STN leading to an increase in decision threshold that prevents interference in stimulus-response mappings across task-sets [12]. Relatedly, in EEG data, switches in higher level task rules gave rise to anterior EEG signatures which precede those of more posterior motor EEG signatures [35]. Therefore, while there is evidence for simultaneous accumulation of evidence for decision across levels, there is also evidence for serial termination where response decision is delayed by conflict at the higher cognitive level. We aimed to assess whether neural markers of input, output and response gating are separately detectable, and whether their temporal order will also exhibit this partly parallel dynamic.

Finally, we tested whether the behavioral costs associated with gate switching can be assessed more quantitatively by computational models that summarize the impact of BG gating on response time distributions. The behavioral dynamics of BG gating neural networks at the motor level can be approximated by the drift diffusion model (DDM) [57]. Moreover, in these models and related electrophysiological data, premotor conflict (e.g., following switches), lead downstream in the BG to an increase in the effective “decision threshold”, buying more time to allow more cautious and deliberate response selection [35,5860]. Hierarchical PFC-BG models further suggest that this same computation is recruited when conflict occurs at higher level prefrontal task representations, preventing the lower level corticostriatal circuit from selecting actions until such conflict is resolved [12]. Thus according to PBWM, conflict at the WM levels (switches in WM gating) should give rise to an increase in the motor response decision threshold. We thus aimed to test whether neural markers of response switching and conflict are also impacted by switches of WM input and output gating, and whether they are accompanied by a concomitant change in decision threshold.

In sum, the current study was designed to test the hypotheses that selective input, output and response gating are managed by analogous computations and that they are distinguishable temporally. Very little is known on the order in which selective cognitive and action decisions are operating and how they unfold in time. This is important, in part, because input and output gating rely on close cortico-striatal circuits that may require high temporal resolution to disentangle. Furthermore, we investigate the functional role of WM gating and response gating. We employ a trial-by-trial indexing approach of EEG signals to quantify the implications of selective gating on the prioritization of WM and action representations. Finally, we will examine if the same control mechanisms that are engaged to response conflict during motor switching are also recruited in response to cognitive conflict arising from multiple items or task rules held in WM. To quantify these dynamics, we will employ an abstract mathematical model, the hierarchical drift-diffusion model (HDDM) [35,61].

Results

We first assessed the most basic prediction that switches at each gating level (input, output, response) will translate into separable costs on behavior. Three-way repeated-measures ANOVAs were run on mean RT and mean error rate as a function of switches in input (update, maintain) × output category (letters, symbols) × response (same, different).

For RT, significant main effects were observed for switches at all levels: input (F1,29 = 103.99, p < .001, ηp2 = .78), output (F1,29 = 54.06, p < .001, ηp2 = .65) and response (F1,29 = 5.40, p = .03, ηp2 = .16). The faster RT for repeats than for switches is consistent with the canonical gating model in which a switch at any level incurs conflict and delays motor responding. Significant under-additive interactions (Fig 3) were also observed between input × output (F1,29 = 57.81, p < .001, ηp2 = .67), input × response (F1,29 = 81.51, p < .001, ηp2 = .74), and output × response (F1,29 = 36.51, p < .001, ηp2 = .56). The three-way interaction was also significant (F1,29 = 18.39, p < .001, ηp2 = .39) indicating that the under-additive interactions between switches at two levels is limited to the case where the third level was not switching.

Fig 3. Behavioral effects of switching in gating demands.

Fig 3

Mean RT (a-c) and error rate (d-f) demonstrate under-additive interactions at all levels (output and response, input and response and, input and output).

For error rate, the only significant effect was for the 2-way input × response interaction (F1,29 = 43.00, p < .001, ηp2 = .60), such that switches in input gating demands were related to increased accuracy for response switching (Fig 3). This result indicates a speed-accuracy tradeoff given the RT results from that same interaction; this will be further investigated with the DDM model below. None of the main effects nor the other interactions were significant (F1,29<3.7, p>.06). Note that an extended five-way ANOVA was also conducted with WM state (updating, maintenance), updating frequency (rare, frequent) and the three gating levels (switch, repeat) in input, output and response gating. The results of this larger analysis are reported in S1 Text and S1 Fig.

Temporal evolution of neural gating dynamics across levels

Given that switches in gating demands at all levels had observable effects on behavior, but with under-additive interactions, we also assessed whether such switches would be observable in neural activity. The impact of gating was most observable during switch trials, which induce a transient period of conflict in cortex (the equivalent of an ERP in the model) [12,35,62]. Notably, these models are hierarchical, such that neural signatures of gate switching evolve in time, with higher level gates inducing conflict prior to the response gate (Fig 4A; [62]). As noted in the introduction these processes are predicted to evolve partly in parallel leading to under-additive interaction but also to terminate serially. Indeed, previous behavioral work has showed evidence for a combination of parallel and serial processing among cognitive and response selections, a result that was captured using the same hierarchical PFC-BG neural network model [52].

Fig 4.

Fig 4

(a) Summed activation over units in PFC-BG neural network, showing impact of gate switch vs repeat early in PFC and later in motor cortex (adapted from [62]). (b-c) Current study. (b) Scalp map topography for the predictors that survived permutation correction for the three gating types (input in updating trials, output, response in three rows from top to bottom). The color in the scalp map represent the t-value of the average regression weights in each electrode at the time range indicated above each scalp map. Input, output and response gating signatures evolve sequentially in time, but with clear temporal overlap. (c) Grand ERP plots at representative electrodes from the significant univariate patterns show significant and dissociable effects for switching during input, output and response gating. The shaded error bars represent standard error of the mean (SEM) and the black markers on the x-axis reflect the time points where the difference between switch and repeat was significant.

To evaluate whether gating processes are observable and whether they evolve in parallel or in serial, we focus on trial-to-trial switches that place demands on input, output, and response gating independently. Accordingly, we leverage three orthogonal switch versus repeat trial contrasts to index gating demands: (a) Input gating: The transition from maintenance trials to updating trials requires a shift from a closed to an open input gate, in order to selectively update the task-relevant category. These switch trials are compared to update repeat trials. (b) Output gating: The relevant category for guiding the match decision is selected from within memory using output gating. When the category switches across trials, a new address must be accessed, placing higher demands on the output gate relative to when the category repeats. (c) Response gating: Switches of the same/different response should result in transient conflict at the level of the response decision relative to repeats.

We used a regression approach to extract spatiotemporal clusters that reflect the three gating effects on the trial-by-trial EEG signal, controlling for RT and multiple comparisons (see Methods; [63,64]). The results of this regression analysis yielded significant univariate patterns for WM input gating, output gating and response gating (Fig 4B). Notably, the neural markers of all three gating levels (input, output and response) evolved dynamically in order (Fig 4B), but with substantial overlap in time (410ms– 470ms), consistent with previous empirical studies and hierarchical computational models of cortico-striatal circuitry [12,52]. The response index also persisted on its own after the input and output gate signatures (see Fig 4B). The distinct univariate patterns of activity for each gating level, with largely overlapping time windows, provides neural and temporal support for the PBWM prediction that WM is managed by independent gate selection mechanisms operating mostly in parallel [52]. A closer look at these univariate patterns showed distinct ERP components for each level of gating at sites where the univariate patterns had maximal activity (Fig 4C). Specifically, the switch in the input gate to WM in updating trials showed increase in amplitude in the parietal P3b [65]. The same parietal site also showed a positive effect for response switching but at a later time window in the positive slow wave (PSW) component [66]. Finally, output switching was associated with a frontally negative enhancement in the N2 time range [67]. We speculate about the role of these ERP effects in the Discussion.

Gating as a prioritization mechanism

Having identified putative neural signatures of gating operations, we next sought to assess the functional impact of gate switching in terms of prioritization of task-relevant representations. The reference-back-2 task employed in this study is suited to study this question: in every trial, two representations are held in WM. Only one, however, is relevant to guide action selection (and to be selectively updated in WM when needed), while the other representation is prospectively relevant and therefore still requires maintenance. This design allowed us to test if selection within WM (output gating) shares the same neural manifestation as action selection (response gating). We leveraged a trial-by-trial indexing approach [63,64]. Thus in contrast to the last section, in which we identified neural signatures of gate switching, here we used GLM to extract spatiotemporal clusters in the EEG signal that reflect the representations themselves (e.g., relevant category and response), controlling for RT, WM state (update, maintenance) and multiple comparisons ([63,64] see methods).

Supporting the notion that switches at the relevant level enhance the need for gating, we found that the trial-wise neural similarity increased following switches of the relevant gate (see Fig 5B and 5C). Specifically, output switching enhanced the neural difference between the two categories whereas response switching enhanced the neural difference between the two motor action representations. These increases in discriminability were very transient in maintenance trials (only around 200ms) while in updating trials, the benefit for output switching lasted throughout the trial (180-450ms; see Fig 5B). This finding is consistent with the PBWM model scheme in which selective updating of WM further enhances activity in the memory layer (Fig 1) which is compounded with impact of output and response switching operations. Together these results support the notion that selective gating at both cognitive and the motor level share the functional role of prioritization that increases the neural index of the representation selected by the relevant gate.

Fig 5. Temporal dynamics of neural prioritization by gating.

Fig 5

(a) Trial-by-trial indexing of gated representations. Univariate patterns were identified for each representation of interest using GLM. Trial by trial similarity indices obtained by computing the dot-product between the 2D voltage-time map on individual trials with that of the mask for the relevant representation. As an example, the similarity computation with the category mask is shown. This similarity index is obtained over sliding window time bins (red rectangle). The result is a temporally evolving EEG index of similarity in time points for which the mask was significant (see methods for more detail). (b-c) The temporal dynamics of similarity indices to the relevant representations in updating (left) and maintenance (right) trials. (b) The neural similarity to the selected category enhanced following switches in the output gate. (c) The neural similarity to the selected action enhanced following switches in the response gate. Note that the GLM mask of action was significant in two time windows (in an early window between 100-500ms and in a later window 670-800ms) that are separated by the black dashed line (in between these periods the mask was not significant, and hence there is no similarity to plot). The shaded error bars represent standard error of the mean (SEM). The black markers on the x-axis reflect the time points where the similarity index differed between switch and repeat (see methods for more detail).

Gate switching at any level increases decision threshold

The behavioral results described above revealed that switches at any level of gating were related to increased RT cost. To further decompose separable cognitive processes that give rise to such changes in RT, we leveraged the drift diffusion model (DDM). As noted in the introduction, various studies have suggested that dorsomedial frontal cortex detects response conflict (which is elevated following switches) and it recruits prefrontal sub-thalamic pathway mechanisms that increase the effective decision threshold [5759]. In the DDM, changes in the threshold are used as a cognitive control mechanism that regulates the speed-accuracy tradeoff, with larger thresholds related to slower but more accurate decisions. Importantly this threshold parameter is separable from impacts of other parameters (such as the rate of evidence accumulation or “drift rate”, whereby a slower drift rate would lead to slower but less accurate decisions). Thus to properly test out PBWM prediction, we relied on the joint distribution of RTs and error rates and fit the DDM.

To illustrate the functional importance of the decision threshold on optimal behavior during conflict, consider the following example. Imagine you are driving in the morning from home on your routine way to work but this morning you have to first stop by the dentist for a scheduled appointment. You get to the intersection near your work place where you always take a left to get to work so the visual information of the familiar intersection gives rise to a prepotent response to turn left. However, now you also need to consider your goal in WM that you first need to get to your dentist appointment. You then need to retrieve the directions to the dentist from memory before you can decide if it requires going left or right. This situation is referred to as a response conflict because the incorrect habitual response to turn left competes with the context-dependent correct response, which may be to turn right. Such conflict is thought to be managed by an interaction between the medial PFC and the STN that can temporarily pause the response gate by sending diffused excitatory projections to the GPi through a “hyperdirect” pathway that bypasses the striatum. This excitatory projection to the GPi, temporarily suppresses the response gate [68,69] preventing it from selecting any response including the premature response that was activated based on the visual input alone. Neural models and previous empirical findings demonstrated that such response conflict is reflected by a mid-frontal EEG signature that triggers the increase of the decision threshold on the response gate via the mPFC-STN network [35,58,7074]. The additional time provided by the increased decision threshold, allows a more cautious and deliberate response selection that also considers the evidence provided by WM information. An important extension of previous findings that we aimed to test here was whether information selection to or in WM by the input and the output gate, also manifests as a cognitive conflict that delays responses until the WM conflict is resolved, as predicted by hierarchical models of PFC-BG [12].

Bayesian parameter estimation with HDDM revealed that the DDM provided an adequate fit to choice proportions and response time distributions (Figs 6 and S2 and S3). Moreover, switches at each independent level of gating (input, output, and response) were related to increased decision thresholds (see Fig 7 for statistics). Notably, in updating trials, such effects were incrementally larger when switches were closer to the response level. This result supports the notion that response conflict has preferential impact on motor decision threshold, but that switches in higher level gates can nevertheless recruit the same process.

Fig 6. Model fit.

Fig 6

(a) Behavioral RT distributions across the group are shown for switching at each level (red line) together with posterior predictive simulation from the HDDM (light blue) in updating trials. Distributions of correct (the right positive tail) and incorrect (left negative tail) trials show good correspondence between data and model. (b) Model fit with Quantile-Quantile plots. Model fit to behavior can be more precisely viewed using quantile-quantile plots, showing quantiles of the empirical behavioral RT distributions (black) against the 50 simulation of RT distribution (colored lines, capturing model uncertainty) from the posterior predictive of the HDDM model, for correct response (positive RT) and incorrect responses (negative RT) in updating trials. Quantiles were computed at the group level. The empirical RT was mostly within the range of the simulated RT with a small over-estimation at the right tail of the distribution.

Fig 7. Under-additive interaction between gating selections.

Fig 7

Decision threshold parameter estimates from HDDM in updating (orange bars) and maintenance trials (green bars), exhibit main effects of gate switching at each independent level of gating (input, output, and response), and under-additive interactions between gate switches in input-output, input-response, and output-response. Error bars reflect within-subject 95% highest density interval of the posterior distribution, in each case relative to maintenance repeat trials.

Relatedly, parameter estimates revealed under-additive interactions (Fig 7) that mirrored those described in behavioral summary statistics above, and are also consistent with the EEG findings that gate switches overlapped in time. Specifically switching both input and output gates increased threshold to a similar level as switching only one gate, again suggesting that input and output gating in WM are two independent selection mechanisms that can be managed simultaneously. Furthermore, in updating trials, the threshold was most strongly elevated by response gate, such that any additional conflict at the cognitive level (by input or output switch) did not further elevate the threshold much when response conflict was present. Conversely, in maintenance trials, input gate switching (i.e., switching to a maintenance policy by closing the gate) had the strongest impact on threshold whenever another gate was switching with it. We speculate about potential mechanisms for this effect in the discussion.

Discussion

These findings provide heretofore untested empirical support for the PBWM theoretical framework in which working memory involves a hierarchy of (content-addressable) selective input, output, and response gating operations. First, we developed a task that separately taxes the need for input and output gating processes, motivated directly by the computations in PBWM. The cortico-striatal gating framework offers a theory of selective gating that includes not only plausible mechanisms for learning and generalization of gating policies [6,7,9,18,62] but also supports advanced cognitive control functions, like hierarchical control [12], higher order learning, and cognitive flexibility [11] in complex tasks like the reference-back-2 task used in this study. The previous reference-back task focused on input gating [26,27,29,32] and its correlates in PFC and BG [30]. Here, we augmented that task by adding the need to track two independent categories over trials, thereby taxing selective input gating, while also orthogonally manipulating output gating. The advantage of the reference-back-2 task is that it is a continuous task that manipulates selective input and output gating demands to/from a particular address in memory, while preserving the need for continued maintenance of other information across trials.

Second, we confirmed the basic prediction that neural correlates of input, output, and response gating evolve dynamically and have analogous effects on behavior. The mass-univariate analysis of the EEG provided the temporal confirmation of this prediction by showing distinct spatiotemporal patterns for each gating level (input, output, response) that were independent and partially overlapping in time (see [53] for similar conclusions in PBWM simulations and behaviorally in a hierarchical rule task). An ERP analysis of selected electrodes where the observed mass-univariate response was maximal, showed that each gating decision was marked with a different ERP component, suggesting again that each gating decision engages a separate mechanism. Specifically, input switching to an updating policy was marked by an increase in the P3b component, possibly reflecting the change in the relevance of the perceptual stimulus for the updating of WM (triggered by the switch in the task cue) [65,66]. This is consistent with previous work with the reference-back that has linked the P3b component to the categorization of the stimulus as goal-relevant [28] or as meaningful for behavioral adaptation in a context-specific manner [75]. The N2-like enhancement during output switching potentially reflects the increased need for response monitoring [67] induced by the conflict in the output gate. Such interpretation would be consistent with the predicted dependency between hierarchical gating loops such that conflict at the higher level output gate may also temporarily increase response conflict [12]. Finally, response switching was marked by an increase in the posterior PSW amplitude, possibly reflecting difficulty in selection or preparation of an action that is different from that already planned or still in memory from the previous trial [66,76].

Third, we found that output gating (and particularly, switches therein) enhances the neural index of WM content selectively for the relevant category. The probabilistic and unpredictable switching between categories imposed a dynamic need to access distinct “addresses” within WM to update to, and read out from. This task property also had the important advantage of overcoming the challenge of measuring memory prioritization without being contaminated by the removal of irrelevant information [77] that often coincides with such prioritization manipulations (e.g., [38]). The similarity measure analysis suggested that neural representations of relevant WM categories were enhanced following WM gate switches at the corresponding levels. Analogously, neural representations of motor responses were enhanced following response switches. We thus propose that gating operations, perhaps implemented by corticostriatal circuits, are partially responsible for previous observations of prioritization. Similar conclusions have been made in attentional shift experiments in which one or another stimulus category becomes relevant, and where striatal activity dictates whether PFC selectively enhances posterior representations of the relevant category [78]. Nevertheless, further investigations are needed to determine which neural mechanisms provide prioritization gain during gate switching. For example, gate switching may change the “active neural trace” (e.g., [50]) of representations or it may increase their accessibility for read-out (e.g., in other prefrontal layers as in PBWM). Other studies suggest that prioritization does not simply amplify relevant representations but that it also modifies the formatting of the non-selected representation so that they are less similar to the form that would be read out (e.g., [79,80]). Future research should also test whether gate switching facilitates coupling between cognitive rules and relevant task features like action representations. [81,82]

Finally, the above neural and behavioral findings were further supported by quantitative computational modeling using HDDM. Hierarchical PFC-BG models suggest that conflict at the level of PFC representations recruits the same mechanism to prevent premature motor responding [12,35]. We thus assessed whether gate switches at all levels of the WM hierarchy are quantitatively related to adjustments in decision threshold that is thought to reflect cognitive control, thus related to slower but more accurate responding (Fig 7). We found that switches at any gating level were related to increases in the estimated decision threshold. This finding builds on previous studies showing that switches or response conflict gives rise to increased threshold via PFC-BG mechanisms [5760], but extends it to confirm the hierarchical PFC-BG model prediction that such effects hold for switches at more cognitive levels [12].

Furthermore, by comparing the impacts of threshold adjustment when multiple gates are switching, the HDDM analysis provided some further insight into the observed parallel processing patterns in RT and in the EEG. First, threshold adjustments were under-additive, with largest adjustments dictated predominantly by switches in response gate for updating trials, but by switches in input gating for maintenance trials (i.e., the need to close the gate to prevent updating). We speculate that closing the gate over WM might also recruit the same prefrontal sub-thalamic pathway thought to be involved in transient response inhibition (e.g., [70,83]), therefore switching to a maintenance mode might have a larger impact on motor gating than switching to an updating mode. A limited finding that is consistent with this hypothesis is the previous observation in the reference-back task [27] that input switching to maintenance (gate closing) was marked by a mid-frontal EEG signature that has previously been associated with the triggering of the mPFC-STN network during response conflict [58,70]. Future research should test the possible similarities in the neural mechanisms that are triggered by response inhibition vs cognitive inhibition in WM.

Notably, these threshold effects were obtained even though drift rate was also allowed to vary by condition (see S4 Fig). In the DDM, (lower) drift rates can also capture slowed RT when a condition is more difficult, as opposed to a control mechanism. Accordingly, we did observe that drift rates were slower in conditions that required more cognitive processing to succeed: updating vs. maintenance trials and switches at the cognitive level vs. switches at the response level. In both cases additional cognitive processing is required: updating trials require replacing WM content in addition to accessing previous content for responding, and switches at the cognitive levels are known to be more difficult than simple response switches (e.g., [84]). These findings boost the interpretation that gate switches at any given level are specifically related to elevated decision thresholds, while accounting for impact of difficulty on drift rate.

A key property of the cortico-striatal model that gained support by current findings is that higher order cognitive “actions” (input and output gating operations) scaffold on top of the canonical computational motor gating operations. Indeed, striatal dysfunctions such as in Parkinson’s disease causes not only progressive motor degeneration but also cognitive deficits that are both related to the dysfunction of the gating system [85]. More recent work also found that degraded ability to perform selective updating of WM is the key marker of the cognitive deficits in Parkinson’s [86].

Lastly, our study has various limitations. First and foremost, while the EEG method allowed us to assess the temporal dynamics of gating signals and representation decoding, it does not afford the ability to assess the involvement of corticostriatal circuits specifically. Functional imaging studies have implicated striatum in input gating in the reference back task [30], and output gating in other tasks [6], but testing the involvement of this circuit in selective content-addressable gating awaits further study.

Second, with the aim to increase our understanding of the latent cognitive processes that give rise to the full behavior in the reference-back-2 task and not just the mean RT and error rate, we leveraged the HDDM framework. However, it is likely that the decision process engaged during working memory gating diverges from that assumed by the standard DDM, and other models should be considered in future work (including those with time-varying drift rates and/or boundaries). Such models are difficult to estimate, but recent tools open the door for such investigations [87]. Moreover, future research could also employ a model-based approach where neural patterns are linked to cognitive mechanisms through computational models (e.g., [58,88]).

Methods

Ethics statement

All participants were compensated for their participation and gave written informed consent as approved by the Human Research Protection Office of Brown University under protocol 0901992629, “Learning and Decision Making Genetics and EEG”

Participants

Thirty-two right-handed adults (aged 18–24; 18 female) with normal or corrected-to-normal vision completed the experiment. All spoke English natively, were screened for neurological medications/conditions. Two participants were excluded from the analysis, due to technical problems with the experiment. All behavioral and EEG data has been made available on Dryad (https://doi.org/10.5061/dryad.00000002t [89]).

Stimuli and procedure

Stimuli presentation and behavioral data collection were implemented using the Psychophysics Toolbox extensions in Matlab [9091]. One out of four possible stimuli was presented on each trial. The stimuli were each of a distinct category: letters (“X”, “O”) and symbols (“%”, “#”) with two stimuli in each category. The stimuli appeared in a random order. Each trial started with a presentation of a stimulus inside a colored frame (red or blue), that indicated whether it was an updating trial or a maintenance trial. Participants had to make a matching decision between the presented stimulus and the last item category that was presented inside the updating color (e.g., red). Therefore, letters had to be compared with letters, and symbols with symbols. For all trials (regardless of blue or red) required participants to follow the same rule of comparing the stimulus with that of the corresponding category in the most recent updating trial. Participants were instructed about the meaning of the color (i.e., which one corresponded to reference to be updated and which one indicated the stimulus should only be compared to that in memory). The selected reference color (red or blue) was counterbalanced between participants. The color of the frame in each trial was biased with 75% probability for one color in the first six blocks of the experiment and 75% probability for the other color for the last six blocks of the experiment. The order of color bias was chosen randomly. The biased color manipulation allowed us to have a more stable measure of selective output gating where the relevant category changed (output switch) but fewer trials in which there was also a color (input policy) switch. Participants were instructed that there will be a color bias that will flip once during the experiment. “Same” and “different” responses were indicated by using the right and left index fingers, respectively, to press ‘Z’ and ‘/’ on the keyboard. Response mappings were chosen randomly for each participant.

Stimulus presentation was limited to 3 sec. The response was followed by an inter-trial interval that was jittered between 800–1000 ms. Participants were instructed to keep their eyes fixated on the center of the screen throughout the experimental blocks. The first two trials in a block were always updating trials with stimuli from the two categories. Participants were instructed that accuracy will not be measured in the first two trials in the block. The experiment comprised of 12 blocks, including 90 trials each. Participants had to reach 80% accuracy on the practice block before they began the experiment. Participants were allowed to repeat the practice block up until 4 times.

Electroencephalogram (EEG) Recording and processing

Scalp voltage was measured using 62 Ag/AgCl electrodes referenced to a site immediately posterior to Cz using a Synamps2 system (bandpass filter 0.5–100 Hz, 500-Hz sampling rate). Preprocessing was conducted using the EEGLAB and ERPLAB toolboxes [9293]. During pre-processing, data were low-pass filtered at 30 Hz and high-pass filtered at 0.1 Hz. Epochs were segmented from -200 to +800 ms surrounding stimulus onset and were baseline corrected from –200 to 0 ms before the onset of the stimulus. The epoched data were visually inspected and those containing large artifacts due to facial electromyographic (EMG) activity or other artifacts (except for eye blinks) were manually removed. Independent components analysis (ICA) was next conducted using EEGLAB’s runica algorithm. Components containing blink, oculomotor artifacts, or other artifacts that could be clearly distinguished from genuine neural activity signals, were subtracted from the data.

Data processing for univariate EEG analysis

To extract the neural correlates in the EEG signal of conditions of interest we employed a mass univariate approach. A multiple regression analysis was conducted for each participant, in which the EEG amplitude at each electrode site and time point was predicted by the conditions of interest while controlling for other factors such as RT (such an approach was recently used [63,64]). For the regression analysis, the EEG signal recorded with 500 Hz sampling rate was down-sampled by a factor of 4, resulting in 125 time points for the selected window of -200:800 ms around stimulus onset. The EEG signal was z-scored before it was entered to the robust multilinear regression analysis to account for remaining noise in the data [64].

Two separate multilinear regressions were run. The first regression assessed the neural correlates for gate switching. It included 7 regression factors: log of RT (to remove variability due to slower responses in some conditions; [64]), and 6 contrasts dummy coded as 1 and 0: WM state (updating vs maintenance), input gating (WM state switch vs repeat), output gating (category switch vs repeat), response gating (action switch vs repeat), bias (frequent updating vs rare updating), and finally one interaction between WM state × input gating (to search for a selective input gating pattern in updating trials).

The other regression assessed the neural prioritization of representations, i.e. to identify an EEG signal that differentiates between representations at each gating level. The second regression included 4 factors: log of RT and 3 contrasts dummy coded as 1 and 0: WM state (updating vs maintenance), category (symbols vs letters) and action (same vs different).

Statistical analysis of GLM weights

Statistics on the regression weights were performed across participants for all electrodes and time points by testing the significance of each point against 0. To correct for multiple comparisons, we performed cluster-mass correction by permutation testing [94] with custom written Matlab scripts. All analysis code has been made available on Zenodo (https://doi.org/10.5281/zenodo.4623800 [89]). Cluster-based test statistics were calculated by taking the sum of the t-values within a cluster of significant points with threshold for a t test significance level of P = 0.001. This was repeated 1000 times, generating a distribution of maximum cluster-mass statistics under the null hypothesis. Only clusters with greater mass than the maximum cluster mass obtained with 95% chance permutations were considered significant [64]. The results of the second regression analysis yielded significant univariate patterns for the two representation types (category and action). Note that a different regression model was also run to assess the neural correlates of stimulus representations. This regression produced a significant univariate pattern only for the “O” representation but not for any of the other stimuli. Therefore, we did not continue with further analyses related to stimulus similarity.

Trial-by-trial similarity index

Using the GLM masks we then computed the dot product between individual trials (voltage maps of electrode * time) and the identified masks (electrode * time maps of t-values of significant pixels; [64]). This computation produced a trial-level similarity measure (see Fig 5A) that presumably reflects how similar the EEG signal of the probed representation in memory on a given trial to the mask activity of this representation. To visualize the temporal dynamics of the EEG index (Fig 5B), the similarity measure procedure was calculated in sliding time bins of 40 ms across the epoch, and applied only to time bins in which the original mask was significant. The similarity index was calculated 121 times in each trial, with a 32ms overlap between time bins. The temporal similarity indexing was obtained by calculating the mean similarity between trials where one representation was probed and when the other one was probed. The effect of gate switch and repeat on the similarity index was calculated using t-tests on the individual time bins.

Note that to test the effect of gate switching on prioritization, we excluded trials from the temporal dynamic analysis where the same stimulus was repeated from the previous trial. This exclusion allowed us to control for impact of perceptual switches that could have elicited an involuntary stimulus-driven enhancement of memory representations that match the probed category stimulus (e.g., [28,95]). Therefore, we restricted analysis to output repeat trials involving a perceptual change (e.g., from “X” to “O”), while output switch trials also included a category change (e.g., from “X” to “%”).

Drift diffusion modeling

The DDM is a common sequential sampling model of two-choice RT tasks. The advantage of this model is that it can translate response time distributions and error rates to the underlying generative parameters in each task condition, and it has previously been used to summarize decision dynamics that arise from BG gating [35,5860]. The core parameters in the model are threshold (or boundary separation) a, drift rate v, and non-decision time t. Threshold is the distance between the response boundaries, where higher threshold indicates that more evidence needs to be accumulated before committing to a choice, leading to slower but more accurate responses. Conflict or switching in motor responses leads to elevated decision thresholds [35,5860]. Drift rate is the rate in which evidence is accumulated. Larger drift rates are usually interpreted to reflect higher quality of evidence that is expressed by faster and more accurate response times. Finally, non-decision time captures the processes that are not related to the decision making process such as stimulus encoding and motor execution.

We tested whether the DDM provides a good model of RT distributions of correct and incorrect choices during the reference-back-2 task in which the decision threshold can be adjusted as a function of conflict or switches at any gate level (while allowing the drift rate to also vary by condition)). The underlying decision-making process during the reference-back-2 task were estimated from the DDM likelihood functions [35]. We used hierarchical Bayesian estimation of DDM parameters, where individual’s fit is constrained and informed by the group distribution leading to more accurate estimation of parameters at both the individual and group level [35].

Parameter estimation in the Hierarchical Bayesian framework used the Markov-chain Monte-Carlo (MCMC). HDDM is especially beneficial for estimating individual parameters while optimizing the tradeoff between random and fixed-effects [35]. The first two trials in each block, omission trials, and trials with very fast RT (<200ms) were excluded from the analysis. RT was limited to 3sec. There were three thousand samples generated from the posterior using four chains. The first thousand (burn-in) and every second (thinning) were discarded. Proper chain convergence was tested between the MCMC chains, using the Rˆ statistic [96], which measures the degree of variation between chains relative to the variation within chains. The maximum Rˆ value across all parameters in all eight models was 1.03, indicating that all chains converged successfully [97].

Statistical analysis was performed on the group mean posteriors. The Deviance Information Criterion (DIC) was used for model comparison [98] which balances model fit against complexity. We first tested the simplest model where the five conditions (WM state, input switching, output switching, response switching, and updating frequency) were used as regression weights without interactions and with group level estimates (DIC: 29339). We systematically added interactions, and the model with the best fit was one in which drift rate and threshold exhibited 4-way interactions (DIC 28806). This best fitting model was estimated again allowing for subject-level estimates in each condition (DIC 27232):

Threshold ~ a_mr + Update_frequency + (WM state × input × output × response) +…

Drift rate ~ v_mr + Update_frequency + (WM state × input × output × response).

A_mr is the intercept for threshold and v_mr is the intercept for drift-rate, Update_frequency reflects the high or low frequency of updating, and the 4-way interaction captured all combinations of switch or repeat during updating and maintenance trials (15 combinations in total). Within subject regressions were used such that all gate switch effects are evaluated relative to the maintenance repeat condition (the intercept), using patsy in HDDM. Significance was determined if the 95% confidence interval of the posterior mean did not overlap with 0.

Behavior characterization and model validation

We first plotted the overall RT distributions for each gating condition and interaction, separately for updating and for maintenance trials (Figs 6 and S2) using Gramm plotting toolbox [99]. This plot showed that the HDDM model captures choice proportions (of correct and incorrect trials) and the different shape of the RT distributions within each gating condition, simultaneously. A critical test of a the DDM model is that it can capture the full RT distributions in each condition. Although we used model fit statistics (DIC) to select the best-fitting model, it is also important to validate that the best fitting model can capture the observed response proportions and RT distributions. For this model validation we generated quantile- quantile plots describing the correspondence between behavior and DDM predictions (Figs 7 and S3) [99]. We compared the shape of the empirical RT distribution to the shape of the simulated RT distribution by plotting each data against a theoretical normal distribution. The plots in Figs 7 and S3 exhibit the RTs on the y-axis as a function of the estimated quantiles on the x-axis based on the inverse of the continuous cumulative distribution function (quantile function) that was estimated at the group level. RTs of the model were simulated 50 times from the posterior predictive of the HDDM model and plotted on top of each other to show the uncertainty in the model. As can be seen, the empirical RT was mostly within the range of the simulated RT with a small over-estimation at the right tail of the distribution.

Supporting information

S1 Fig. Behavior effects of gate switching.

Mean RT (A-C) and Error rate (D-F) demonstrate differences in performance across all levels of gate switching and interactions between gating levels (output and response, input and response and, input and output) in maintenance trials (left panels) and updating trials (right panels).

(TIF)

S2 Fig. Model fit.

Behavioral RT distributions across the group are shown for switching at each level (red line) together with posterior predictive simulation from the HDDM (light blue). Distributions of correct (the right positive tail) and incorrect (left negative tail) trials in updating trials (left) and maintenance trials (right) show good correspondence between data and model.

(TIF)

S3 Fig. Model fit with Quantile-Quantile plots.

Model fit to behavior can be more precisely viewed using quantile-quantile plots, showing quantiles in updating (left) and maintenance (right) trials, of the empirical behavioral RT distributions (black) against the 50 simulation of RT distribution (colored lines, capturing model uncertainty) from the posterior predictive of the HDDM model, for correct response (positive RT) and incorrect responses (negative RT). Quantiles were computed at the group level.

(TIF)

S4 Fig. Drift rate parameter estimations from the HDDM.

Drift rate in updating (orange bars) and maintenance trials (green bars) exhibit slowing (lower drift) in conditions that required more cognitive processing and exhibit facilitative interactions between gate switches. A possible interpretation for the facilitation finding is that WM updating decisions increase the mutually facilitative effect of switching across the gating system. The relative drift rates are presented as positive for plotting convenience.

(TIF)

S1 Text. The extended behavior results.

(DOCX)

Acknowledgments

We thank Romy Frömer and Matt Nassar for providing code used in the EEG analyses.

Data Availability

All behavior and EEG data files used for the analyses of the paper are available from the Dryad, Dataset at: https://datadryad.org/stash/share/TPUcBEhvZTS8nCGJA9xJoAG7LyfL5Pgo2_q3A66i-c4; DOI: https://doi.org/10.5061/dryad.00000002t.

Funding Statement

MJF received funding from the National Institutes of Health under award number R01 MH084840-08A1. https://www.nih.gov/grants-funding RRL was supported by THE ISAREL SCIENCE FOUNDATION (grant No. 96/19) https://www.isf.org.il/#/support-channels/1/10 RRL was supported by Fulbright United states - Israel Educational Foundation. https://fulbright.org.il/program/1/35 The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Miller EK, Cohen JD. An integrative theory of prefrontal cortex function. Annual review of neuroscience. 2001; 24: 167–202. doi: 10.1146/annurev.neuro.24.1.167 [DOI] [PubMed] [Google Scholar]
  • 2.Braver TS. The variable nature of cognitive control: a dual mechanisms framework. Trends in cognitive sciences. 2012; 16: 106–113. doi: 10.1016/j.tics.2011.12.010 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Dreisbach G, Fröber K. On how to be flexible (or not): Modulation of the stability-flexibility balance. Current Directions in Psychological Science. 2019; 28: 3–9. [Google Scholar]
  • 4.Goschke T, Bolte A. Emotional modulation of control dilemmas: The role of positive affect, reward, and dopamine in cognitive stability and flexibility. Neuropsychologia. 2014; 62: 403–423. doi: 10.1016/j.neuropsychologia.2014.07.015 [DOI] [PubMed] [Google Scholar]
  • 5.Braver TS, Cohen JD. On the control of control: The role of dopamine in regulating prefrontal function and working memory. Control of cognitive processes: Attention and performance XVIII. 2000: 713–737. [Google Scholar]
  • 6.Chatham CH, Frank MJ, Badre D. Corticostriatal output gating during selection from working memory. Neuron. 2014; 81: 930–942. doi: 10.1016/j.neuron.2014.01.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Frank MJ, Loughry B, O’Reilly RC. Interactions between frontal cortex and basal ganglia in working memory: a computational model. Cognitive, Affective, & Behavioral Neuroscience. 2001; 1: 137–160. [DOI] [PubMed] [Google Scholar]
  • 8.Frank MJ, O’Reilly RC. A mechanistic account of striatal dopamine function in human cognition: psychopharmacological studies with cabergoline and haloperidol. Behavioral neuroscience. 2006; 120: 497–517. doi: 10.1037/0735-7044.120.3.497 [DOI] [PubMed] [Google Scholar]
  • 9.Hazy TE, Frank MJ, O’Reilly RC. Banishing the homunculus: making working memory work. Neuroscience. 2006; 139: 105–118. doi: 10.1016/j.neuroscience.2005.04.067 [DOI] [PubMed] [Google Scholar]
  • 10.O’Reilly RC, Frank MJ. Making working memory work: a computational model of learning in the prefrontal cortex and basal ganglia. Neural computation. 2006; 18: 283–328. doi: 10.1162/089976606775093909 [DOI] [PubMed] [Google Scholar]
  • 11.Frank MJ, Badre D. Mechanisms of hierarchical reinforcement learning in corticostriatal circuits 1: computational analysis. Cerebral Cortex. 2012; 22: 509–26. doi: 10.1093/cercor/bhr114 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Collins AG, Frank MJ. Cognitive control over learning: Creating, clustering, and generalizing task-set structure. Psychological Review. 2013; 120: 190–229. doi: 10.1037/a0030852 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Cisek P. Cortical mechanisms of action selection: the affordance competition hypothesis. Philosophical Transactions of the Royal Society B: Biological Sciences. 2007; 362:1585–1599. doi: 10.1098/rstb.2007.2054 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Frank MJ. Computational models of motivated action selection in corticostriatal circuits. Current Opinion in Neurobiology. 2011;21: 381–386. doi: 10.1016/j.conb.2011.02.013 [DOI] [PubMed] [Google Scholar]
  • 15.Chatham CH, Badre D. Multiple gates on working memory. Current opinion in behavioral sciences. 2015; 1: 23–31. doi: 10.1016/j.cobeha.2014.08.001 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Cools R. Chemistry of the Adaptive Mind: Lessons from Dopamine. Neuron. 2019; 104: 113–131. doi: 10.1016/j.neuron.2019.09.035 [DOI] [PubMed] [Google Scholar]
  • 17.Badre D. Cognitive control, hierarchy, and the rostro–caudal organization of the frontal lobes. Trends in cognitive sciences. 2008; 12: 193–200. doi: 10.1016/j.tics.2008.02.004 [DOI] [PubMed] [Google Scholar]
  • 18.Badre D., & Frank M. J. Mechanisms of hierarchical reinforcement learning in cortico–striatal circuits 2: Evidence from fMRI. Cerebral Cortex. 2012; 22: 527–536. doi: 10.1093/cercor/bhr117 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Badre D., Kayser A. S., & D’Esposito M. Frontal cortex and the discovery of abstract action rules. Neuron. 2010; 66: 315–326. doi: 10.1016/j.neuron.2010.03.025 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Koechlin E., Ody C., & Kouneiher F. The architecture of cognitive control in the human prefrontal cortex. Science. 2003; 302: 1181–1185. doi: 10.1126/science.1088545 [DOI] [PubMed] [Google Scholar]
  • 21.Verstynen T. D., Badre D., Jarbo K., & Schneider W. Microstructural organizational patterns in the human corticostriatal system. Journal of Neurophysiology. 2012; 107: 2984–2995. doi: 10.1152/jn.00995.2011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Jaeggi S. M., Buschkuehl M., Perrig W. J., & Meier B. The concurrent validity of the N-back task as a working memory measure. Memory. 2010; 18: 394–412. doi: 10.1080/09658211003702171 [DOI] [PubMed] [Google Scholar]
  • 23.Kane M. J., Conway A. R., Miura T. K., & Colflesh G. J. Working memory, attention control, and the N-back task: a question of construct validity. Journal of Experimental Psychology: Learning, Memory, and Cognition. 2007; 33: 615–622 doi: 10.1037/0278-7393.33.3.615 [DOI] [PubMed] [Google Scholar]
  • 24.Chatham C. H., Herd S. A., Brant A. M., Hazy T. E., Miyake A., O’Reilly R., & Friedman N. P. From an executive network to executive control: A computational model of the n-back task. Journal of Cognitive Neuroscience. 2011; 23: 3598–3619. doi: 10.1162/jocn_a_00047 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Rac-Lubashevsky R., & Kessler Y. Dissociating working memory updating and automatic updating: The reference-back paradigm. Journal of Experimental Psychology: Learning, Memory, and Cognition. 2016; 42; 951–969. doi: 10.1037/xlm0000219 [DOI] [PubMed] [Google Scholar]
  • 26.Rac-Lubashevsky R., & Kessler Y. Decomposing the n-back task: An individual differences study using the reference-back paradigm. Neuropsychologia. 2016; 90: 190–199. doi: 10.1016/j.neuropsychologia.2016.07.013 [DOI] [PubMed] [Google Scholar]
  • 27.Rac-Lubashevsky R., & Kessler Y. Oscillatory correlates of control over working memory gating and updating: An EEG study using the reference-back paradigm. Journal of Cognitive Neuroscience. 2018; 30: 1870–1882. doi: 10.1162/jocn_a_01326 [DOI] [PubMed] [Google Scholar]
  • 28.Rac-Lubashevsky R., & Kessler Y. Revisiting the relationship between the P3b and working memory updating. Biological Psychology. 2019; 148: 107769. doi: 10.1016/j.biopsycho.2019.107769 [DOI] [PubMed] [Google Scholar]
  • 29.Rac-Lubashevsky R., Slagter H. A., & Kessler Y. Tracking real-time changes in working memory updating and gating with the event-based eye-blink rate. Scientific Reports. 2017; 7: 1–9. doi: 10.1038/s41598-016-0028-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Nir-Cohen G., Kessler Y., & Egner T. Neural substrates of working memory updating. Journal of Cognitive Neuroscience. 2020. Furthcoming. doi: 10.1162/jocn_a_01625 [DOI] [PubMed] [Google Scholar]
  • 31.Verschooren S, Kessler Y, Egner T. Evidence for a single mechanism gating perceptual and long-term memory information into working memory. Cognition. 2021; 212: 1–9. doi: 10.1016/j.cognition.2021.104668 [DOI] [PubMed] [Google Scholar]
  • 32.Trutti AC, Verschooren S, Forstmann BU, Boag RJ. Understanding subprocesses of working memory through the lens of model-based cognitive neuroscience. Current Opinion in Behavioral Sciences. 2021; 38: 57–65. [Google Scholar]
  • 33.Kriete T., & Noelle D.C. Generalization benefits of output gating in a model of prefrontal cortex. Connection Science. 2011; 23: 119–129. [Google Scholar]
  • 34.Kriete T., Noelle D. C., Cohen J. D., & O’Reilly R. C. Indirection and symbol-like processing in the prefrontal cortex and basal ganglia. Proceedings of the National Academy of Sciences. 2013; 110: 16390–16395. doi: 10.1073/pnas.1303547110 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Wiecki T.V. & Frank M.J. A computational model of inhibitory control in frontal cortex and basal ganglia. Psychological Review. 2013; 120: 329–355. doi: 10.1037/a0031542 [DOI] [PubMed] [Google Scholar]
  • 36.Garavan H. Serial attention within working memory. Memory & cognition. 1998; 26: 263–76. doi: 10.3758/bf03201138 [DOI] [PubMed] [Google Scholar]
  • 37.Oberauer K. Selective attention to elements in working memory. Experimental psychology. 2003; 50:257. doi: 10.1026//1618-3169.50.4.257 [DOI] [PubMed] [Google Scholar]
  • 38.Oberauer K. Working memory and attention–A conceptual analysis and review. Journal of Cognition. 2019; 2: 1–23. doi: 10.5334/joc.54 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Olivers C. N., & Roelfsema P. R. Attention for action in visual working memory. Cortex. 2020; 131: 179–194. doi: 10.1016/j.cortex.2020.07.011 [DOI] [PubMed] [Google Scholar]
  • 40.Souza AS, Oberauer K. In search of the focus of attention in working memory: 13 years of the retro-cue effect. Attention, Perception, & Psychophysics. 2016; 78: 1839–60. doi: 10.3758/s13414-016-1108-5 [DOI] [PubMed] [Google Scholar]
  • 41.Johnson MK. MEM: Mechanisms of recollection. Journal of cognitive neuroscience. 1992; 4:268–80. doi: 10.1162/jocn.1992.4.3.268 [DOI] [PubMed] [Google Scholar]
  • 42.Souza AS, Rerko L, Oberauer K. Refreshing memory traces: Thinking of an item improves retrieval from visual working memory. Annals of the New York Academy of Sciences. 2015; 1339:20–31. doi: 10.1111/nyas.12603 [DOI] [PubMed] [Google Scholar]
  • 43.Myers N. E., Stokes M. G., & Nobre A. C. Prioritizing information during working memory: beyond sustained internal attention. Trends in Cognitive Sciences. 2017; 21: 449–461. doi: 10.1016/j.tics.2017.03.010 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Olivers C. N., Peters J., Houtkamp R., & Roelfsema P. R. Different states in visual working memory: When it guides attention and when it does not. Trends in Cognitive Sciences. 2011; 15: 327–334. doi: 10.1016/j.tics.2011.05.004 [DOI] [PubMed] [Google Scholar]
  • 45.D’Esposito M., & Postle B. R. The cognitive neuroscience of working memory. Annual Review of Psychology. 2015; 66: 115–142. doi: 10.1146/annurev-psych-010814-015031 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.LaRocque J. J., Lewis-Peacock J. A., & Postle B. R. Multiple neural states of representation in short-term memory? It’s a matter of attention. Frontiers in Human Neuroscience. 2014; 8: 1–14. doi: 10.3389/fnhum.2014.00001 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Stokes M. G. ‘Activity-silent’ working memory in prefrontal cortex: a dynamic coding framework. Trends in Cognitive Sciences. 2015; 19: 394–405. doi: 10.1016/j.tics.2015.05.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Günseli E., Fahrenfort J. J., van Moorselaar D., Daoultzis K. C., Meeter M., & Olivers C. N. EEG dynamics reveal a dissociation between storage and selective attention within working memory. Scientific Reports. 2019; 9: 1–13. doi: 10.1038/s41598-018-37186-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.LaRocque J. J., Lewis-Peacock J. A., Drysdale A. T., Oberauer K., & Postle B. R. Decoding attended information in short-term memory: an EEG study. Journal of Cognitive Neuroscience. 2013; 25: 127–142. doi: 10.1162/jocn_a_00305 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.LaRocque J. J., Riggall A. C., Emrich S. M., & Postle B. R. Within-category decoding of information in different attentional states in short-term memory. Cerebral Cortex. 2017; 27: 4881–4890. doi: 10.1093/cercor/bhw283 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Lewis-Peacock J. A., & Postle B. R. Decoding the internal focus of attention. Neuropsychologia, 2012; 50: 470–478. doi: 10.1016/j.neuropsychologia.2011.11.006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Ranti C., Chatham C. H., & Badre D. Parallel temporal dynamics in hierarchical cognitive control. Cognition. 2015; 142: 205–229. doi: 10.1016/j.cognition.2015.05.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Brown J. W., Reynolds J. R., & Braver T. S. A computational model of fractionated conflict-control mechanisms in task-switching. Cognitive Psychology. 2007; 55: 37–85. doi: 10.1016/j.cogpsych.2006.09.005 [DOI] [PubMed] [Google Scholar]
  • 54.Korb F. M., Jiang J., King J. A., & Egner T. Hierarchically organized medial frontal cortex-basal ganglia loops selectively control task-and response-selection. Journal of Neuroscience. 2017; 37: 7893–7905. doi: 10.1523/JNEUROSCI.3289-16.2017 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Sali A. W., Jiang J., & Egner T. Neural Mechanisms of Strategic Adaptation in Attentional Flexibility. Journal of Cognitive Neuroscience. 2020; 32: 989–1008. doi: 10.1162/jocn_a_01541 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Risse S., & Oberauer K. Selection of objects and tasks in working memory. Quarterly Journal of Experimental Psychology. 2010; 63: 784–804. [DOI] [PubMed] [Google Scholar]
  • 57.Ratcliff R., & Frank M. J. Reinforcement-based decision making in corticostriatal circuits: mutual constraints by neurocomputational and diffusion models. Neural Computation. 2012; 24: 1186–1229. doi: 10.1162/NECO_a_00270 [DOI] [PubMed] [Google Scholar]
  • 58.Cavanagh J. F., Wiecki T. V., Cohen M. X., Figueroa C. M., Samanta J., Sherman S. J., et al. Subthalamic nucleus stimulation reverses mediofrontal influence over decision threshold. Nature Neuroscience. 2011; 14: 1462–1467. doi: 10.1038/nn.2925 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Frank M. J., Gagne C., Nyhus E., Masters S., Wiecki T. V., Cavanagh J. F., et al. fMRI and EEG predictors of dynamic decision parameters during human reinforcement learning. Journal of Neuroscience. 2015; 35: 485–494. doi: 10.1523/JNEUROSCI.2036-14.2015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60.Herz D. M., Zavala B. A., Bogacz R., & Brown P. Neural correlates of decision thresholds in the human subthalamic nucleus. Current Biology. 2016; 26: 916–920. doi: 10.1016/j.cub.2016.01.051 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61.Ratcliff R., & McKoon G. The diffusion decision model: theory and data for two-choice decision tasks. Neural Computation. 2008; 20: 873–922. doi: 10.1162/neco.2008.12-06-420 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.Collins A. G., Cavanagh J. F., & Frank M. J. Human EEG uncovers latent generalizable rule structure during learning. Journal of Neuroscience. 2014; 34: 4677–4685. doi: 10.1523/JNEUROSCI.3900-13.2014 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Collins A. G. E., & Frank M. J. Neural signature of hierarchically structured expectations predicts clustering and transfer of rule sets in reinforcement learning. Cognition. 2016; 152: 160–169. doi: 10.1016/j.cognition.2016.04.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Collins A. G., & Frank M. J. Within-and across-trial dynamics of human EEG reveal cooperative interplay between reinforcement learning and working memory. Proceedings of the National Academy of Sciences. 2018; 15: 2502–2507. doi: 10.1073/pnas.1720963115 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Verleger R. Effects of relevance and response frequency on P3b amplitudes: Review of findings and comparison of hypotheses about the process reflected by P3b. Psychophysiology. 2020; 57:e13542. doi: 10.1111/psyp.13542 [DOI] [PubMed] [Google Scholar]
  • 66.Erb CD, Cavanagh JF. Layers of latent effects in cognitive control: An EEG investigation. Acta psychologica. 2019; 195:1–1. doi: 10.1016/j.actpsy.2019.02.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67.Cavanagh JF, Zambrano-Vazquez L, Allen JJ. Theta lingua franca: A common mid-frontal substrate for action monitoring processes. Psychophysiology. 2012; 49:220–38. doi: 10.1111/j.1469-8986.2011.01293.x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68.Bogacz R, Gurney K. The basal ganglia and cortex implement optimal decision making between alternative actions. Neural computation. 2007; 19:442–77. doi: 10.1162/neco.2007.19.2.442 [DOI] [PubMed] [Google Scholar]
  • 69.Frank MJ. Hold your horses: a dynamic computational role for the subthalamic nucleus in decision making. Neural networks. 2006; 19:1120–36. doi: 10.1016/j.neunet.2006.03.006 [DOI] [PubMed] [Google Scholar]
  • 70.Aron A. R., Durston S., Eagle D. M., Logan G. D., Stinear C. M., & Stuphorn V. Converging evidence for a fronto-basal-ganglia network for inhibitory control of action and cognition. Journal of Neuroscience. 2007; 27: 11860–11864. doi: 10.1523/JNEUROSCI.3644-07.2007 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71.Frank MJ, Moustafa AA, Haughey HM, Curran T, Hutchison KE. Genetic triple dissociation reveals multiple roles for dopamine in reinforcement learning. Proceedings of the National Academy of Sciences. 2007; 104:16311–6. doi: 10.1073/pnas.0706111104 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 72.Isoda M, Hikosaka O. Role for subthalamic nucleus neurons in switching from automatic to controlled eye movement. Journal of Neuroscience. 2008; 28:7209–18. doi: 10.1523/JNEUROSCI.0487-08.2008 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.Zaghloul KA, Weidemann CT, Lega BC, Jaggi JL, Baltuch GH, Kahana MJ. Neuronal activity in the human subthalamic nucleus encodes decision conflict during action selection. Journal of Neuroscience. 2012; 32:2453–60. doi: 10.1523/JNEUROSCI.5815-11.2012 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.Zavala B, Tan H, Ashkan K, Foltynie T, Limousin P, Zrinzo L, et al. Human subthalamic nucleus–medial frontal cortex theta phase coherence is involved in conflict and error related cortical monitoring. Neuroimage 15; 137:178–87. doi: 10.1016/j.neuroimage.2016.05.031 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 75.Nassar MR, Bruckner R, Frank MJ. Statistical context dictates the relationship between feedback-related EEG signals and learning. Elife. 2019; 8:e46975. doi: 10.7554/eLife.46975 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 76.Schneider D, Zickerick B, Thönes S, Wascher E. Encoding, storage, and response preparation—Distinct EEG correlates of stimulus and action representations in working memory. Psychophysiology. 2020; 57:e13577. doi: 10.1111/psyp.13577 [DOI] [PubMed] [Google Scholar]
  • 77.Lewis-Peacock J. A., Kessler Y., & Oberauer K. The removal of information from working memory. Annals of the New York Academy of Sciences. 2018; 1424: 33–44. doi: 10.1111/nyas.13714 [DOI] [PubMed] [Google Scholar]
  • 78.van Schouwenburg M. R., den Ouden H. E., & Cools R. The human basal ganglia modulate frontal-posterior connectivity during attention shifting. Journal of Neuroscience. 2010; 30: 9910–9918. doi: 10.1523/JNEUROSCI.1111-10.2010 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79.van Loon A. M., Olmos-Solis K., Fahrenfort J. J., & Olivers C. N. Current and future goals are represented in opposite patterns in object-selective cortex. ELife. 2018; 7: e38677. doi: 10.7554/eLife.38677 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 80.Yu Q., Teng C., & Postle B. R. Different states of priority recruit different neural representations in visual working memory. PLoS Biology. 2020; 18: e3000769. doi: 10.1371/journal.pbio.3000769 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 81.Kikumoto A., & Mayr U. Conjunctive representations that integrate stimuli, responses, and rules are critical for action selection. Proceedings of the National Academy of Sciences. 2020; 117: 10603–10608. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 82.Olivers C. N., & Roelfsema P. R. Attention for action in visual working memory. Cortex. 2020; 131: 179–194. doi: 10.1016/j.cortex.2020.07.011 [DOI] [PubMed] [Google Scholar]
  • 83.Jahfari S., Ridderinkhof K. R., Collins A. G., Knapen T., Waldorp L. J., & Frank M. J. Cross-task contributions of frontobasal ganglia circuitry in response inhibition and conflict-induced slowing. Cerebral Cortex. 2019; 29: 1969–1983. doi: 10.1093/cercor/bhy076 [DOI] [PubMed] [Google Scholar]
  • 84.Kiesel A., Steinhauser M., Wendt M., Falkenstein M., Jost K., Philipp A. M., et al. Control and interference in task switching—A review. Psychological Bulletin, 2010; 136: 849–874. doi: 10.1037/a0019842 [DOI] [PubMed] [Google Scholar]
  • 85.Wiecki TV, Frank MJ. Neurocomputational models of motor and cognitive deficits in Parkinson’s disease. In Progress in brain research. 2010. (Vol. 183, pp. 275–297). Elsevier. doi: 10.1016/S0079-6123(10)83014-6 [DOI] [PubMed] [Google Scholar]
  • 86.Salmi J., Ritakallio L., Fellman D., Ellfolk U., Rinne J. O., & Laine M. Disentangling the role of working memory in Parkinson’s disease. Frontiers in Aging Neuroscience. 2020; 12: 1–17. doi: 10.3389/fnagi.2020.00001 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 87.Fengler A., Frank M., Govindarajan L., & Chen T. Likelihood Approximation Networks (LANs) for Fast Inference of Simulation Models in Cognitive Neuroscience. 2020; 1: 37. Available from: doi: 10.1186/s43058-020-00025-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 88.Turner B. M., Palestro J. J., Miletić S., & Forstmann B. U. Advances in techniques for imposing reciprocity in brain-behavior relations. Neuroscience & Biobehavioral Reviews. 2019; 102: 327–336. doi: 10.1016/j.neubiorev.2019.04.018 [DOI] [PubMed] [Google Scholar]
  • 89.Ratz-Lubashevsky Rachel; Frank Michael(2021), Data for: Analogous computations in working memory input, output and motor gating: Electrophysiological and computational modeling evidence, Dryad, Dataset, 10.5061/dryad.00000002t [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 90.Brainard D. H. The psychophysics toolbox. Spatial Vision. 1997; 10: 433–436. [PubMed] [Google Scholar]
  • 91.Pelli D. G. The Video Toolbox software for visual psychophysics: Transforming numbers into movies. Spatial Vision. 1997; 10: 437–442. [PubMed] [Google Scholar]
  • 92.Delorme A., & Makeig S. EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis. Journal of Neuroscience Methods. 2004; 134: 9–21. doi: 10.1016/j.jneumeth.2003.10.009 [DOI] [PubMed] [Google Scholar]
  • 93.Lopez-Calderon J, Luck SJ. ERPLAB: an open-source toolbox for the analysis of event-related potentials. Frontiers in human neuroscience. 2014; 8:213. doi: 10.3389/fnhum.2014.00213 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 94.Nichols T. E., & Holmes A. P. Nonparametric permutation tests for functional neuroimaging: a primer with examples. Human brain mapping. 2002; 15: 1–25. doi: 10.1002/hbm.1058 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 95.van Ede F., Board A. G., & Nobre A. C. Goal-directed and stimulus-driven selection of internal representations. Proceedings of the National Academy of Sciences. 2020; 117: 24590–24598. doi: 10.1073/pnas.2013432117 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 96.Gelman A. Inference and monitoring convergence. Markov chain Monte Carlo in practice. 1996; 1: 131–143. [Google Scholar]
  • 97.Gelman A., & Rubin D. B. Inference from iterative simulation using multiple sequences. Statistical Science. 1992; 7: 457–472. [Google Scholar]
  • 98.Spiegelhalter D. J., Best N. G., Carlin B. P., & Van Der Linde A. Bayesian measures of model complexity and fit. Journal of the Royal Statistical Society: Series b (statistical methodology). 2002; 64: 583–639. [Google Scholar]
  • 99.Morel. Gramm: grammar of graphics plotting in Matlab. Journal of Open Source Software. 2018; 3: 568, 10.21105/joss.00568. [DOI] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1008971.r001

Decision Letter 0

Daniel Bush, Samuel J Gershman

Transfer Alert

This paper was transferred from another journal. As a result, its full editorial history (including decision letters, peer reviews and author responses) may not be present.

18 Feb 2021

Dear Dr. Rac-Lubashevsky,

Thank you very much for submitting your manuscript "Analogous computations in working memory input, output and motor gating: Electrophysiological and computational modeling evidence" for consideration at PLOS Computational Biology.

As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments. In particular, the authors should endeavour to improve the readability of the manuscript and clarify the presentation of their figures and results. 

We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts.

Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Daniel Bush

Associate Editor

PLOS Computational Biology

Samuel Gershman

Deputy Editor

PLOS Computational Biology

***********************

Reviewer's Responses to Questions

Comments to the Authors:

Reviewer #1: “Analogous computations in working memory input, output and motor gating: Electrophysiological and computational modeling evidence,” Rac-Lubashevsky and Frank. This is an interesting and carefully carried out EEG study of the “reference-back-2” working memory task that uses quantitative fits to the PBWM model to derive EEG correlates of gating operations specified by PBWM. This work makes a potentially very impactful contribution to the study of the neural bases of cognitive control because, as the authors state in the Introduction, “to date the gating WM literature and the WM prioritization literatures have not been linked.” Indeed, this statement could have been lifted from a grant proposal submitted by this reviewer just two months ago. My overall assessment is that I’m very enthusiastic about this work. However, there are several points where the exposition could be clearer, and some where the authors might consider making contact with other literature.

Overall, the paper would be easier to read if the Introduction were more coherent with the rest of the manuscript. For example, there are several constructs and/or distinctive empirical patterns that pop up in the Results section that relate to ideas introduced in the Introduction, but for which different words are used. For example, in the Intro we read that “switches give rise to a transient period of conflict;” but only in the Results are we told why: “In PBWM, gating signals are used to displace prefrontal activity states with new information.” This same section of the results introduces the importance of under-additive interactions, and these are illustrated in Figure 3. Only further along in this section is it explicitly stated that hierarchical gating processes that “evolve partly in parallel lead to under-additive interactions.” This is an important pattern in the data that returns several times, and its significance really should have been introduced in the portion of the Introduction that introduces the architecture of the PBWM. Additionally, the at-face-value contradiction of a hierarchically organized set of operations and “partly” parallel engagement needs to be explained more explicitly. E.g., even later we will encounter HDDM modeling of gating operations; is it perhaps possible that there is leakage from the decision that’s underway at, say, the input gating level that gets the output gating operation started before input gating is finished? Whether or not this is true, there are presumably quantifiable dynamics in PBWM that would provide a more rigorous level of understanding than just the verbal statement that some of these processes can be “partly” parallel. (Additionally, whatever the answer is, it’d be helpful if an illustration of these dynamics could also be incorporated into Figure 1; perhaps a timeline of when different elements of the model are engaged?)

It strikes me as backward to say that “WM prioritization is thought to support ‘controlled attention’ by enhanding top-down influence…” Isn’t WM prioritization itself an example of controlled attention?

Is “BG gating” (p. 9) different from “gating”?

Contact with other literature. I’m hesitant to write this, because the authors already do a good job of citing a lot of the relevant literature, but there are some additional areas where contact can be made with work that one doesn’t necessarily classify as “PLoS Computational Biology”. The first is that the reference-back-2 is reminiscent of the “Garavan task,” a running span task that Hugh Garavan published back in the 90s(?) that, for a while at least, captured a lot of interest in the cognitive psychology of cognitive control. A second oldie is Marcia Johnson’s MEM, particularly the ‘refresh’ operation in relation to the increased decodability described here. Indeed, one of the things that so appealing about models like PBWM is that they posit explicit quantifiable mechanisms that can either ‘confirm’ and elaborate on older verbal models (as may be the case here with ‘refresh’), or, in other cases, provide better accounts. More recently than MEM, studies of retrocuing effects in working memory, some of them already cited, are germane. One question I’m thinking about came up in a finding of ‘enhanced decodability’ that Sprague and Serences interpreted as evidence for reactivation of ‘activity-silent’ components of a stimulus representation, but that others argued might just be akin to the sharpening one can see in bump attractor models when more energy is added. Do the present findings shed light on this, or is there perhaps a ‘future direction’ with this approach that could do so?

Finally, thinking about Figure 4, is there a way to relate any of the “gating components” extracted by the model to more classical ERP components, or perhaps to something like frontal midline theta?

Other comments

- There’s reference to RL in the intro, but no apparent explicit role for RL in the Results. But presumably there are prediction errors associated with many of the operations carried out in performing this task. Even if they’re not explicitly modeled here, some consideration of how they would be incorporated into a more complete simulation would be useful? This is also another chance to make contact with other literature, in that the model that underlies the Olivers and Roelfsema (2020) commentary (which is cited) very explicitly incorporates principles of RL on a trial-by-trial basis.

- The comparisons of 2-back vs. reference-back-2 tasks feel forced. For example, on one hand, reference-back-2 could also be thought to require “encoding, inhibition, binding, matching, maintenance, updating and removal,” and on the other hand, these operations derive from intuition, but people have successfully trained 3-layer RNNs to perform n-back tasks, and these models don’t explicitly implement most of these operations.

- Relatedly, in the Discussion (page 22, Line 485), the authors claim that the reference-back-2 task can assess prioritization without being contaminated by removal. However, when a certain category is prioritized (say, letter) and the item needs to be updated (X -> O), the old item still needs to be removed.

- Figure colors: The authors tend to use very similar colors in figures which are hard to distinguish. For example, Figure 1 uses light and dark orange, and bar graphs in later figures were colored with slightly different shades of green, blue or orange. Maybe consider using colors with higher contrast.

- Figures 5 and 8 have a lot of bar graphs that are difficult to grok.

a. All the figures look kind of similar and it is not easy to tell what metrics and what kind of comparisons they are showing without perusing the figure captions and main text. The authors can consider using letter indices (A, B ..) instead of “left corner”, “top” to refer to specific graphs. Consider using titles and sub-titles for columns/rows to refer to groups of figures, e.g., for the 4 RT graphs and the 4 Error Rate graphs.

b. Even though in each group there are 4 figures with 4 bars each, upon a closer look, there are only 8 distinct bars (repeat, input, output, resp, input+output, input+resp, output+resp, and all-sw), with a lot of redundancy. I understand the authors want to showcase the separate interactions, but maybe they can condense the plots into 1 or 2, or think of a clearer and more concise way to present the data.

c. Consider using asterisks and brackets to indicate significant main effects and interactions: right now it’s hard to see what the authors are trying to show us. Also it is not easy to locate the “under-additive interactions” just by looking at the bars. Highlight them in some way.

- Figure 5 (page 16):

a. Panel a is not clear. It seems to be a cartoon/schematic as we don’t know what the GLM mask is for (category or response). Moreover, the text around the heatmap is too small to decipher, the figure titles are not informative, and the axes are not labeled. And, where is the “red rectangle” that the caption referred to Line 369)?

b. In Panel b, it might be better if authors can have a significance bar that indicate time frames with significant differences between switch and repeat conditions. And why the big swaths of white on the bottom row?

- Both Figures 6 and 7 show that the HDDM fits the data well. Maybe one figure is sufficient and move the other one to the Supplemental Materials?

- Page 20: Line 440 says “drift rate was also allowed to vary by condition” whereas Line 449 says that the decision threshold effect holds “while accounting for impact of difficulty on drift rate.” I thought “accounting for …” means to “hold constant”? Please clarify

Why is drift rate negative? Does this correspond to a reduction of drift rate? Because drift rate also increases as it goes from high to low (response) level, why is the story mainly about the decision threshold but not about drift rate?

- Linking gating and prioritization: seems like looking at the similarity of EEG pattern to the masks that care about the representation (category or response) is a weird way of decoding… The word “decoding” gets used a lot, and often not very precisely. Here, you are not decoding an item’s identity per se, but rather looking at how much the brain signal looks like the pattern that is distinguishing the items?

- P. 23, line 509: should it be “than” instead of “then”?

Reviewer #2: PCOMPBIOL-D-21-00030

Analogous computations in working memory input, output and motor gating:

Electrophysiological and computational modeling evidence

By Rac-Lubashevsky and Frank

SUMMARY

This study utilized behavior paradigms, EEG, decoding analyses of EEG signals, and a DDM to evaluate the PBWM (prefrontal cortex basal ganglia working memory) model that posits working memory involves a hierarchy of selective input, output, and response gating operations. They adapted the reference-back task, which had previously been used to study PFC-BG connections related to input gating, to require subjects to track two independent categories over trials, which allowed the experimenters to require input gating while orthogonally manipulating output gating. Univariate analysis of EEG data showed a confirmation of their hypothesis that neural correlates of different gating types evolve dynamically and have similar behavioral effects. They found that motor responses were enhanced following responses switches, and that the decodability of the relevant WM category was enhanced after an ‘output gate switch’. This could result from a change in the “active neural trace” or an increase in the accessibility for “read-out”. Regardless, they argue that the cognitive gating operations are implemented by similar cortico-striatal circuits that have been linked to motor gating operations. The authors then used computational modeling, HDDM (hierarchical Bayesian estimation of DDM parameters), to corroborate their findings. They found that switches at any gating level related to increases in the decision threshold. Finally, the researchers also described the “under-additive” interactions when more than one type of switching was needed. The results suggest that actions selection is at least partially parallel, and that decisions are processed even while the identity of the cognitive rule is uncertain.

EVALUATION

This study is well motivated and addresses and important question about the neural mechanisms of working memory. The reference-back task paradigm is an appropriate choice and well suited for the EEG approach taken. The addition of the DDM modeling allowed them to support and extend their findings. My biggest area of concern is in how the data are presented and how the results are explained (e.g., in Figs 3, 6, 7, and 8). The plots are too cluttered, with insufficiently contrasting colors for different conditions, and without any visual markers of statistical significance for key findings. Also, while the DDM modeling was used to support their findings, its inclusion is not sufficiently justified and should be more clearly motivated.

MAJOR CONCERNS

1. THEORY EXPLANATION. The description of the PBWM architecture in Figure 1 is quite confusing. There are so many different uses of colored arrows, colored arrow heads, colored letters, yellow squares, etc. It is really challenging to follow and does not serve the authors well in explaining the proposed gating model. This figure should be reconceptualized and more clearly explained to the reader.

2. DATA PRESENTATION. The presentation of the data severely limits their interpretability and impact. For example, Figs 3, 6, 7, and 8 present large piles of data that are insufficiently labeled, poorly differentiated by subtle color variations (dark green vs. light green), and poorly organized so that interpreting the results is challenging if not nearly impossible. I cannot emphasize how much the use of “dark green / light green” contrasting colors makes these plots even worse. This comes up often and cannot be overlooked. Many subplots in these figures lack titles or other organizational signposts to help explain the results. The Results section is littered with statistical comparisons and significance results which are not found in the figures referenced. This puts the onus on the reader to “figure things out” which is not acceptable. Also, bar plots are presented without the underling individual data points, and often it is not clear if the error bars shown are STD, SEM, or 95% CI.

3. MODEL JUSTIFICATION. The use of the computational model is not sufficiently justified in the paper. It is unclear what value is added by the modeling that was not already found from the EEG results. I believe their *is* value added, but this needs to be spelled out in detail for the reader. In the Introduction, the authors say that the DDM can approximate BG dynamics, which is helpful, but not sufficient motivation for the added complexity (and inherent assumptions) of the model. The indecipherable Figure 8 compounds this issue by obscuring the results of the model. The metrics in this figure are explained in a single line: “We thus assessed whether gate switches at all levels of the WM hierarchy are quantitatively related to adjustments in decision threshold (thought to reflect cognitive control, thus related to slower but more accurate responding), or whether any such effects could be attributed to alterations in drift rate (thought to reflect increased difficulty and thus slower and less accurate) (Fig. 8).” This needs to be fleshed out more, especially for readers who are less familiar with DDMs and how their parameters may correspond to different neural mechanisms. Finally, near the end of the Discussion, the authors note a limitation of the HDDM framework that opens up more questions: “other models should be considered in future work (including those with time-varying drift rates and/or boundaries)”. It is unclear why their current model cannot address these issues.

4. WHY THE BG? The only evidence presented that supports the supposition that the BG is involved in the gating mechanisms being targeted here is based on the HDDM model, which itself is built on assumptions. There is no direct evidence in the EEG data of the BG involvement, of course, because of the ‘inverse problem’ and the impossibility of localizing the source of EEG signals. However, there are analytic approximations (e.g., Loreta variants) for localizing electrical potentials from scalp recordings. Some approach like this should be used attempted to justify the neural circuit claims of the PBWM model. Relying on assumptions of the HDDM model alone to describe the involvement of the BG is insufficient without a significant amount of further explanation and justification.

MINOR CONCERNS

a. Fig. 5 notes that it contains a “red rectangle” to indicate the sliding window for the similarity index, which is not present. That section of the figure, panel a, is confusing, with impossibly small labels, and overall hard to interpret.

b. The concept of “under-additive” interaction should be better explained in the text. This is a concept that may not be self-evident and as a reader I had to spend time try to understand the specific point made in the context of this paper.

c. Figs. 6 and 7 could easily be combined into one smaller plot. The display of every level in multiple subplots is unnecessary when the main take away is a lack of difference.

d. Fig. 5b is using SEM, not 95% Cis, for error shades, so significance between conditions needs to explicitly marked in the figure, else the errors should be switched to 95% CIs.

e. Fig. 1 could be improved by following conventions from other model diagrams, such as an LSTM unit: https://www.researchgate.net/figure/The-structure-of-the-Long-Short-Term-Memory-LSTM-neural-network-Reproduced-from-Yan_fig8_334268507.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: Yes

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, PLOS recommends that you deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions, please see http://journals.plos.org/compbiol/s/submission-guidelines#loc-materials-and-methods

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1008971.r003

Decision Letter 1

Daniel Bush, Samuel J Gershman

17 Apr 2021

Dear Dr. Rac-Lubashevsky,

We are pleased to inform you that your manuscript 'Analogous computations in working memory input, output and motor gating: Electrophysiological and computational modeling evidence' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Daniel Bush

Associate Editor

PLOS Computational Biology

Samuel Gershman

Deputy Editor

PLOS Computational Biology

***********************************************************

Reviewer's Responses to Questions

Comments to the Authors:

Reviewer #1: It is interesting and important, but kind of "inside baseball" for the general public.

Reviewer #2: The authors have sufficiently addressed our concerns.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Brad Postle

Reviewer #2: No

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #2: Yes

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1008971.r004

Acceptance letter

Daniel Bush, Samuel J Gershman

2 Jun 2021

PCOMPBIOL-D-21-00030R1

Analogous computations in working memory input, output and motor gating: Electrophysiological and computational modeling evidence

Dear Dr Rac-Lubashevsky,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Zita Barta

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Behavior effects of gate switching.

    Mean RT (A-C) and Error rate (D-F) demonstrate differences in performance across all levels of gate switching and interactions between gating levels (output and response, input and response and, input and output) in maintenance trials (left panels) and updating trials (right panels).

    (TIF)

    S2 Fig. Model fit.

    Behavioral RT distributions across the group are shown for switching at each level (red line) together with posterior predictive simulation from the HDDM (light blue). Distributions of correct (the right positive tail) and incorrect (left negative tail) trials in updating trials (left) and maintenance trials (right) show good correspondence between data and model.

    (TIF)

    S3 Fig. Model fit with Quantile-Quantile plots.

    Model fit to behavior can be more precisely viewed using quantile-quantile plots, showing quantiles in updating (left) and maintenance (right) trials, of the empirical behavioral RT distributions (black) against the 50 simulation of RT distribution (colored lines, capturing model uncertainty) from the posterior predictive of the HDDM model, for correct response (positive RT) and incorrect responses (negative RT). Quantiles were computed at the group level.

    (TIF)

    S4 Fig. Drift rate parameter estimations from the HDDM.

    Drift rate in updating (orange bars) and maintenance trials (green bars) exhibit slowing (lower drift) in conditions that required more cognitive processing and exhibit facilitative interactions between gate switches. A possible interpretation for the facilitation finding is that WM updating decisions increase the mutually facilitative effect of switching across the gating system. The relative drift rates are presented as positive for plotting convenience.

    (TIF)

    S1 Text. The extended behavior results.

    (DOCX)

    Attachment

    Submitted filename: Reviewers comments final.docx

    Data Availability Statement

    All behavior and EEG data files used for the analyses of the paper are available from the Dryad, Dataset at: https://datadryad.org/stash/share/TPUcBEhvZTS8nCGJA9xJoAG7LyfL5Pgo2_q3A66i-c4; DOI: https://doi.org/10.5061/dryad.00000002t.


    Articles from PLoS Computational Biology are provided here courtesy of PLOS

    RESOURCES