Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Aug 13;121(33):e2401032121.
doi: 10.1073/pnas.2401032121. Epub 2024 Aug 5.

The neural basis of swap errors in working memory

Affiliations

The neural basis of swap errors in working memory

Matteo Alleman et al. Proc Natl Acad Sci U S A. .

Abstract

When making decisions in a cluttered world, humans and other animals often have to hold multiple items in memory at once-such as the different items on a shopping list. Psychophysical experiments in humans and other animals have shown remembered stimuli can sometimes become confused, with participants reporting chimeric stimuli composed of features from different stimuli. In particular, subjects will often make "swap errors" where they misattribute a feature from one object as belonging to another object. While swap errors have been described behaviorally and theoretical explanations have been proposed, their neural mechanisms are unknown. Here, we elucidate these neural mechanisms by analyzing neural population recordings from monkeys performing two multistimulus working memory tasks. In these tasks, monkeys were cued to report the color of an item that either was previously shown at a corresponding location or will be shown at the corresponding location. Animals made swap errors in both tasks. In the neural data, we find evidence that the neural correlates of swap errors emerged when correctly remembered information is selected from working memory. This led to a representation of the distractor color as if it were the target color, underlying the eventual swap error. We did not find consistent evidence that swap errors arose from misinterpretation of the cue or errors during encoding or storage in working memory. These results provide evidence that swap errors emerge during selection of correctly remembered information from working memory, and highlight this selection as a crucial-yet surprisingly brittle-neural process.

Keywords: neural population; swap errors; working memory.

PubMed Disclaimer

Conflict of interest statement

Competing interests statement:The authors declare no competing interest.

Figures

Fig. 1.
Fig. 1.
The retrospectively and prospectively cued working memory tasks, as well as the behavioral modeling approach. (A) Schematic of the retrospective task. (B) Schematic of the prospective task, note that the order of the cue and stimuli is switched with respect to the respective task shown in (A). (C) Schematic of the possible trial outcomes: correct response (close to the target), a guess (uniform random), and a swap (close to the distractor). (D) Schematic of the behavioral modeling approach. Each trial response is explained in terms of three parameters: the rate of swap errors, the rate of guesses, and the dispersion around the target response. A single model is fit hierarchically across all the sessions, where the session level parameters (Middle) are modeled as being sampled from a distribution of animal-level parameters (Top). The model is fit separately for each animal. (E) Histograms of the errors from the target (Left) and the distractor stimulus (Right) for Monkey E (Top) and Monkey W (Bottom) on retrospective trials. The dashed black line is the posterior predictive distribution from the behavioral model. The concentration around zero for the plots on the Right indicates that both monkeys make swap errors. (F) The inferred rate of each response type on retrospective trials for each session (points) and both monkeys (colors). (G) An example session from Monkey E on the retrospective task. Each point is the response on a particular trial. The triangle is the three-dimensional simplex for the probabilities of each response type. Each of the three corners represent probability 1 of a particular response type. Colored points have probability >0.5 of belonging to their respective response type. (HJ) The same as (EG) but for prospective trials, and the example session in (J) is from Monkey W.
Fig. 2.
Fig. 2.
The neural correlates of swap errors in the retrospectively cued working memory task. (A) Schematic of an example trial during the first delay period of the retrospective task. The nominal (gray star) and misbound (purple star) representations are shown for this example trial. The misbound representation manifests as a swapped representation of the upper and lower colors (green-upper, blue-lower to blue-upper, and green-lower). (B) The average (Top bar) and aggregate posterior (distribution) across sessions for the pmisbind parameter in the neural mixture model for the first delay period. Values close to one indicate an association between swap errors and misbound representations; values close to zero indicate that trials with swap errors are still associated with the nominal representation. (C) Schematic of the cross-validated version of the analysis. Nominal and misbound representations (stars) are constructed for each trial using the same kind of linear model as used in the neural mixture model. The model is fit only on likely correct trials. Then, held-out correct trials and swap trials (circles) are projected onto the dimension connecting the nominal and misbound representations (dashed line). The distance is normalized to be between zero and one. (D) Time course of evidence for an association between swap errors and the misbound representation under the analysis in (C), for each monkey (Top and Bottom) as well as centered on the time of sample (Left) and cue (Right) presentation. (E) Schematic of the same example trial from above, showing the contrast between the nominal representation (gray stars) and the misselected colors representation (Top, pink star) as well as the misinterpreted cue representation (Bottom, orange star). (F) The average (contour outline) and aggregate posterior (heatmap) evidence for the nominal, misselected colors, and misinterpreted cue representations under the neural mixture model in delay 2. (G) (Top) Schematic of the cross-validated version of the analysis. Correct, color selection, and cue interpretation prototypes are constructed using a linear model fit on likely correct trials. Then, held-out correct trials and likely swap trials are projected along the axes connecting the nominal representation with each of the error representations and normalized as before. (Bottom) The estimated average geometry of these three hypothesized representations, all distances are significantly greater than zero for both monkeys. (H) Time course of evidence for the misselected colors and misinterpreted cue representations for both monkeys (Top and Bottom) as well as centered on the cue presentation (Left) and appearance of the response wheel (Right). (I) The difference between the evidence for an association between swap errors and the alternative representations in delay 1 and delay 2 under the neural mixture model for each session (Left) and averaged across all sessions (Right; positive values indicate more evidence for correlates in delay 2).
Fig. 3.
Fig. 3.
The neural correlates of swap errors in the prospectively cued working memory task. (A) Schematic of an example trial in the prospective task, showing the nominal (gray star) and misinterpreted cue (orange star) representations. (B) Schematic of the decoder generalization analysis used in this figure. A linear decoder is trained to discriminate between trials with an upper or lower cue using only likely correct trials (Left). Then, that same decoder is tested on likely swap trials (Right). (C) The performance of a decoder trained and tested during delay 1 on likely correct trials (Left x-axis) and trained on likely correct but tested on likely swap trials (Left y-axis), for each session (points) and the difference between the two averaged across sessions (Right). (D) Schematic of an example trial in the prospective task, showing the nominal as well as the misbound color (Top, purple star) and misselected cue (Bottom, pink star) representations. (E) The average (contour outline) and aggregate posterior evidence for the association of the nominal, misbound, and misselected representations with swap errors under the neural mixture model. (F) The analysis schematized in (B) applied to the second delay period. (G) The same decoding approach schematized in (B) and applied to delay 1 and 2 in (C and F), respectively. Here, we compare across delay periods for likely correct trials (Left) and likely swap trials (Right).

Update of

References

    1. Luck S. J., Vogel E. K., The capacity of visual working memory for features and conjunctions. Nature 390, 279–281 (1997). - PubMed
    1. Wilken P., Ma W. J., A detection theory account of change detection. J. Vis. 4, 1120–1135 (2004). - PubMed
    1. Zhang W., Luck S. J., Discrete fixed-resolution representations in visual working memory. Nature 453, 233–235 (2008). - PMC - PubMed
    1. Bays P. M., Catalao R. F., Husain M., The precision of visual working memory is set by allocation of a shared resource. J. Vis. 9, 7.1–11 (2009). - PMC - PubMed
    1. Bays P. M., Wu E. Y., Husain M., Storage and binding of object features in visual working memory. Neuropsychologia 49, 1622–1631 (2011). - PMC - PubMed

LinkOut - more resources