Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

  • Article
  • Published:

Subjective confidence reflects representation of Bayesian probability in cortex

A Publisher Correction to this article was published on 09 March 2022

This article has been updated

Abstract

What gives rise to the human sense of confidence? Here we tested the Bayesian hypothesis that confidence is based on a probability distribution represented in neural population activity. We implemented several computational models of confidence and tested their predictions using psychophysics and functional magnetic resonance imaging. Using a generative model-based decoding technique, we extracted probability distributions from neural population activity in human visual cortex. We found that subjective confidence tracks the shape of the decoded distribution. That is, when sensory evidence was more precise, as indicated by the decoded distribution, observers reported higher levels of confidence. We furthermore found that neural activity in the insula, anterior cingulate and prefrontal cortex was linked to both the shape of the decoded distribution and reported confidence, in ways consistent with the Bayesian model. Altogether, our findings support recent statistical theories of confidence and suggest that probabilistic information guides the computation of one’s sense of confidence.

This is a preview of subscription content, access via your institution

Access options

Buy this article

Prices may be subject to local taxes which are calculated during checkout

Fig. 1: Overview of sources of noise and three observer models.
Fig. 2: Ideal observer predictions.
Fig. 3: Reported confidence, behavioural variability and decoded sensory uncertainty.
Fig. 4: Activity in dAI, dACC and left rlPFC over time.

Similar content being viewed by others

Data availability

The preprocessed behavioural and fMRI data for individual participants, as well as unthresholded statistical maps from the whole-brain univariate analysis, can be downloaded from https://doi.org/10.34973/983b-a047. To protect participant privacy, the raw data are available from the corresponding author upon request. Source data are provided with this paper.

Code availability

All custom code is available from the corresponding author upon request. Custom code for the probabilistic decoding technique can also be found at https://github.com/jeheelab/.

Change history

References

  1. Pouget, A., Drugowitsch, J. & Kepecs, A. Confidence and certainty: distinct probabilistic quantities for different goals. Nat. Neurosci. 19, 366–374 (2016).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  2. Meyniel, F., Sigman, M. & Mainen, Z. F. Confidence as Bayesian probability: from neural origins to behavior. Neuron 88, 78–92 (2015).

    Article  CAS  PubMed  Google Scholar 

  3. Hangya, B., Sanders, J. I. & Kepecs, A. A mathematical framework for statistical decision confidence. Neural Comput. 28, 1840–1858 (2016).

    Article  PubMed  PubMed Central  Google Scholar 

  4. Mamassian, P. Visual confidence. Annu. Rev. Vis. Sci. 2, 459–481 (2016).

    Article  PubMed  Google Scholar 

  5. Kepecs, A. & Mainen, Z. F. A computational framework for the study of confidence in humans and animals. Phil. Trans. R. Soc. B 367, 1322–1337 (2012).

    Article  PubMed  PubMed Central  Google Scholar 

  6. Sanders, J. I., Hangya, B. & Kepecs, A. Signatures of a statistical computation in the human sense of confidence. Neuron 90, 499–506 (2016).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  7. Barthelmé, S. & Mamassian, P. Flexible mechanisms underlie the evaluation of visual confidence. Proc. Natl Acad. Sci. USA 107, 20834–20839 (2010).

    Article  PubMed  PubMed Central  Google Scholar 

  8. Adler, W. T. & Ma, W. J. Comparing Bayesian and non-Bayesian accounts of human confidence reports. PLoS Comput. Biol. 14, e1006572 (2018).

    Article  PubMed  PubMed Central  Google Scholar 

  9. Denison, R. N., Adler, W. T., Carrasco, M. & Ma, W. J. Humans incorporate attention-dependent uncertainty into perceptual decisions and confidence. Proc. Natl Acad. Sci. USA 115, 11090–11095 (2018).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  10. van Bergen, R. S., Ji Ma, W., Pratte, M. S. & Jehee, J. F. M. Sensory uncertainty decoded from visual cortex predicts behavior. Nat. Neurosci. 18, 1728–1730 (2015).

    Article  PubMed  PubMed Central  Google Scholar 

  11. Navajas, J. et al. The idiosyncratic nature of confidence. Nat. Hum. Behav. 1, 810–818 (2017).

    Article  PubMed  PubMed Central  Google Scholar 

  12. Bertana, A., Chetverikov, A., van Bergen, R. S., Ling, S. & Jehee, J. F. M. Dual strategies in human confidence judgments. J. Vis. 21, 21 (2021).

    Article  PubMed  PubMed Central  Google Scholar 

  13. Honig, M., Ma, W. J. & Fougnie, D. Humans incorporate trial-to-trial working memory uncertainty into rewarded decisions. Proc. Natl Acad. Sci. USA 117, 8391–8397 (2020).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  14. Kepecs, A., Uchida, N., Zariwala, H. A. & Mainen, Z. F. Neural correlates, computation and behavioural impact of decision confidence. Nature 455, 227–231 (2008).

    Article  CAS  PubMed  Google Scholar 

  15. Masset, P., Ott, T., Lak, A., Hirokawa, J. & Kepecs, A. Behavior- and modality-general representation of confidence in orbitofrontal cortex. Cell 182, 112–126.e18 (2020).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  16. Kiani, R. & Shadlen, M. N. Representation of confidence associated with a decision by neurons in the parietal cortex. Science 324, 759–764 (2009).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  17. Green, D. M. & Swets, J. A. Signal Detection Theory and Psychophysics (Wiley, 1966).

  18. van Bergen, R. S. & Jehee, J. F. M. Modeling correlated noise is necessary to decode uncertainty. NeuroImage 180, 78–87 (2018).

    Article  PubMed  Google Scholar 

  19. Appelle, S. Perception and discrimination as a function of stimulus orientation: the “oblique effect” in man and animals. Psychol. Bull. 78, 266–278 (1972).

    Article  CAS  PubMed  Google Scholar 

  20. Girshick, A. R., Landy, M. S. & Simoncelli, E. P. Cardinal rules: visual orientation perception reflects knowledge of environmental statistics. Nat. Neurosci. 14, 926–932 (2011).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  21. Goris, R. L. T., Movshon, J. A. & Simoncelli, E. P. Partitioning neuronal variability. Nat. Neurosci. 17, 858–865 (2014).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  22. Singer, T., Critchley, H. D. & Preuschoff, K. A common role of insula in feelings, empathy and uncertainty. Trends Cogn. Sci. 13, 334–340 (2009).

    Article  PubMed  Google Scholar 

  23. Behrens, T. E. J., Woolrich, M. W., Walton, M. E. & Rushworth, M. F. S. Learning the value of information in an uncertain world. Nat. Neurosci. 10, 1214–1221 (2007).

    Article  CAS  PubMed  Google Scholar 

  24. Rushworth, M. F. S. & Behrens, T. E. J. Choice, uncertainty and value in prefrontal and cingulate cortex. Nat. Neurosci. 11, 389–397 (2008).

    Article  CAS  PubMed  Google Scholar 

  25. Fleming, S. M. & Dolan, R. J. The neural basis of metacognitive ability. Phil. Trans. R. Soc. B 367, 1338–1349 (2012).

    Article  PubMed  PubMed Central  Google Scholar 

  26. Chang, L. J., Yarkoni, T., Khaw, M. W. & Sanfey, A. G. Decoding the role of the insula in human cognition: functional parcellation and large-scale reverse inference. Cereb. Cortex 23, 739–749 (2013).

    Article  PubMed  Google Scholar 

  27. Neubert, F.-X., Mars, R. B., Sallet, J. & Rushworth, M. F. S. Connectivity reveals relationship of brain areas for reward-guided learning and decision making in human and monkey frontal cortex. Proc. Natl Acad. Sci. USA 112, E2695–E2704 (2015).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  28. Desikan, R. S. et al. An automated labeling system for subdividing the human cerebral cortex on MRI scans into gyral based regions of interest. NeuroImage 31, 968–980 (2006).

    Article  PubMed  Google Scholar 

  29. Kriegeskorte, N., Simmons, W. K., Bellgowan, P. S. & Baker, C. I. Circular analysis in systems neuroscience: the dangers of double dipping. Nat. Neurosci. 12, 535–540 (2009).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  30. Esterman, M., Tamber-Rosenau, B. J., Chiu, Y. C. & Yantis, S. Avoiding non-independence in fMRI data analysis: leave one subject out. NeuroImage 50, 572–576 (2010).

    Article  PubMed  Google Scholar 

  31. Gold, J. I. & Shadlen, M. N. The neural basis of decision making. Annu. Rev. Neurosci. 30, 535–574 (2007).

    Article  CAS  PubMed  Google Scholar 

  32. De Martino, B., Fleming, S. M., Garrett, N. & Dolan, R. J. Confidence in value-based choice. Nat. Neurosci. 16, 105–110 (2013).

    Article  PubMed  Google Scholar 

  33. Stolyarova, A. et al. Contributions of anterior cingulate cortex and basolateral amygdala to decision confidence and learning under uncertainty. Nat. Commun. 10, 4704 (2019).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  34. van Bergen, R. S. & Jehee, J. F. M. Probabilistic representation in human visual cortex reflects uncertainty in serial decisions. J. Neurosci. 39, 8164–8176 (2019).

    Article  PubMed  PubMed Central  Google Scholar 

  35. Walker, E. Y., Cotton, R. J., Ma, W. J. & Tolias, A. S. A neural basis of probabilistic computation in visual cortex. Nat. Neurosci. 23, 122–129 (2020).

    Article  CAS  PubMed  Google Scholar 

  36. Fleming, S. M., Huijgen, J. & Dolan, R. J. Prefrontal contributions to metacognition in perceptual decision making. J. Neurosci. 32, 6117–6125 (2012).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  37. Grinband, J., Hirsch, J. & Ferrera, V. P. A neural representation of categorization uncertainty in the human brain. Neuron 49, 757–763 (2006).

    Article  CAS  PubMed  Google Scholar 

  38. Yoshida, W. & Ishii, S. Resolution of uncertainty in prefrontal cortex. Neuron 50, 781–789 (2006).

    Article  CAS  PubMed  Google Scholar 

  39. Karlsson, M. P., Tervo, D. G. R. & Karpova, A. Y. Network resets in medial prefrontal cortex mark the onset of behavioral uncertainty. Science 338, 135–139 (2012).

    Article  CAS  PubMed  Google Scholar 

  40. Kolling, N., Behrens, T. E. J., Mars, R. B. & Rushworth, M. F. S. Neural mechanisms of foraging. Science 335, 95–98 (2012).

    Article  Google Scholar 

  41. Kolling, N. et al. Value, search, persistence and model updating in anterior cingulate cortex. Nat. Neurosci. 19, 1280–1285 (2016).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  42. Shenhav, A., Cohen, J. D. & Botvinick, M. M. Dorsal anterior cingulate cortex and the value of control. Nat. Neurosci. 19, 1286–1291 (2016).

    Article  CAS  PubMed  Google Scholar 

  43. Bang, D., Ershadmanesh, S., Nili, H. & Fleming, S. M. Private–public mappings in human prefrontal cortex. eLife 9, e56477 (2020).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  44. Morales, J., Lau, H. C. & Fleming, S. M. Domain-general and domain-specific patterns of activity supporting metacognition in human prefrontal cortex. J. Neurosci. 38, 3534–3546 (2018).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  45. Shekhar, M. & Rahnev, D. Distinguishing the roles of dorsolateral and anterior PFC in visual metacognition. J. Neurosci. 38, 5078–5087 (2018).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  46. Shin, H., Zou, Q. & Ma, W. J. The effects of delay duration on visual working memory for orientation. J. Vis. 17, 10 (2017).

    Article  PubMed  PubMed Central  Google Scholar 

  47. Harrison, S. A. & Tong, F. Decoding reveals the contents of visual working memory in early visual areas. Nature 458, 632–635 (2009).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  48. Rademaker, R. L., Chunharas, C. & Serences, J. T. Coexisting representations of sensory and mnemonic information in human visual cortex. Nat. Neurosci. 22, 1336–1344 (2019).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  49. Li, H.-H., Sprague, T. C., Yoo, A. H., Ma, W. J. & Curtis, C. E. Joint representation of working memory and uncertainty in human cortex. Neuron 109, 3699–3712.e6 (2021).

    Article  CAS  PubMed  Google Scholar 

  50. Serences, J. T. Value-based modulations in human visual cortex. Neuron 60, 1169–1181 (2008).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  51. Sereno, M. I. et al. Borders of multiple visual areas in humans revealed by functional magnetic resonance imaging. Science 268, 889–893 (1995).

    Article  CAS  PubMed  Google Scholar 

  52. Deyoe, E. A. et al. Mapping striate and extrastriate visual areas in human cerebral cortex. Proc. Natl Acad. Sci. USA 93, 2382–2386 (1996).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  53. Engel, S. A., Glover, G. H. & Wandell, B. A. Retinotopic organization in human visual cortex and the spatial precision of functional MRI. Cereb. Cortex 7, 181–192 (1997).

    Article  CAS  PubMed  Google Scholar 

  54. Kleiner, M., Brainard, D. H. & Pelli, D. G. What’s new in Psychtoolbox-3? Perception 36 (Suppl.), 14 (2007).

    Google Scholar 

  55. Jenkinson, M., Bannister, P., Brady, M. & Smith, S. M. Improved optimization for the robust and accurate linear registration and motion correction of brain images. NeuroImage 17, 825–841 (2002).

    Article  PubMed  Google Scholar 

  56. Reuter, M., Schmansky, N. J., Rosas, H. D. & Fischl, B. Within-subject template estimation for unbiased longitudinal image analysis. NeuroImage 61, 1402–1418 (2012).

    Article  PubMed  Google Scholar 

  57. Smith, S. M. Fast robust automated brain extraction. Hum. Brain Mapp. 17, 143–155 (2002).

    Article  PubMed  PubMed Central  Google Scholar 

  58. Smith, S. M. & Brady, J. M. SUSAN—a new approach to low level image processing. Int. J. Comput. Vis. 23, 45–78 (1997).

    Article  Google Scholar 

  59. Jenkinson, M., Beckmann, C. F., Behrens, T. E. J., Woolrich, M. W. & Smith, S. M. FSL. NeuroImage 62, 782–790 (2012).

    Article  PubMed  Google Scholar 

  60. Zhang, Y., Brady, M. & Smith, S. M. Segmentation of brain MR images through a hidden Markov random field model and the expectation-maximization algorithm. IEEE Trans. Med. Imaging 20, 45–57 (2001).

    Article  CAS  PubMed  Google Scholar 

  61. Brouwer, G. J. & Heeger, D. J. Cross-orientation suppression in human visual cortex. J. Neurophysiol. 106, 2108–2119 (2011).

    Article  PubMed  PubMed Central  Google Scholar 

  62. Hedges, L. V. & Olkin, I. Statistical Methods for Meta-analysis (Academic Press, 1985).

  63. Fieller, E. C. & Pearson, E. S. Tests for rank correlation coefficients: II. Biometrika 48, 29–40 (1961).

    Google Scholar 

  64. Schuirmann, D. J. A comparison of the two one-sided tests procedure and the power approach for assessing the equivalence of average bioavailability. J. Pharmacokinet. Biopharm. 15, 657–680 (1987).

    Article  CAS  PubMed  Google Scholar 

  65. Cohen, J. A power primer. Psychol. Bull. 112, 155–159 (1992).

    Article  CAS  PubMed  Google Scholar 

  66. Smith, S. M. & Nichols, T. E. Threshold-free cluster enhancement: addressing problems of smoothing, threshold dependence and localisation in cluster inference. NeuroImage 44, 83–98 (2009).

    Article  PubMed  Google Scholar 

  67. Winkler, A. M., Ridgway, G. R., Webster, M. A., Smith, S. M. & Nichols, T. E. Permutation inference for the general linear model. NeuroImage 92, 381–397 (2014).

    Article  PubMed  Google Scholar 

  68. Nichols, T. E. & Hayasaka, S. Controlling the familywise error rate in functional neuroimaging: a comparative review. Stat. Methods Med. Res. 12, 419–446 (2003).

    Article  PubMed  Google Scholar 

  69. Sallet, J. et al. The organization of dorsal frontal cortex in humans and macaques. J. Neurosci. 33, 12255–12274 (2013).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  70. Furmanski, C. S. & Engel, S. A. An oblique effect in human primary visual cortex. Nat. Neurosci. 3, 535–536 (2000).

    Article  CAS  PubMed  Google Scholar 

  71. Wei, X. X. & Stocker, A. A. A Bayesian observer model constrained by efficient coding can explain “anti-Bayesian” percepts. Nat. Neurosci. 18, 1509–1517 (2015).

    Article  CAS  PubMed  Google Scholar 

  72. Dworkin, J. D. et al. The extent and drivers of gender imbalance in neuroscience reference lists. Nat. Neurosci. 23, 918–926 (2020).

    Article  CAS  PubMed  Google Scholar 

  73. Ress, D., Backus, B. T. & Heeger, D. J. Activity in primary visual cortex predicts performance in a visual detection task. Nat. Neurosci. 3, 940–945 (2000).

    Article  CAS  PubMed  Google Scholar 

  74. Baird, B., Smallwood, J., Gorgolewski, K. J. & Margulies, D. S. Medial and lateral networks in anterior prefrontal cortex support metacognitive ability for memory and perception. J. Neurosci. 33, 16657–16665 (2013).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  75. McCurdy, L. Y. et al. Anatomical coupling between distinct metacognitive systems for memory and visual perception. J. Neurosci. 33, 1897–1906 (2013).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  76. Ye, Q., Zou, F., Lau, H., Hu, Y. & Kwok, S. C. Causal evidence for mnemonic metacognition in human precuneus. J. Neurosci. 38, 6379–6387 (2018).

    Article  CAS  PubMed  Google Scholar 

  77. Drugowitsch, J., Mendonça, A. G., Mainen, Z. F. & Pouget, A. Learning optimal decisions with confidence. Proc. Natl Acad. Sci. USA 116, 24872–24880 (2019).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  78. Kastner, S. et al. Increased activity in human visual cortex during directed attention in the absence of visual stimulation. Neuron 22, 751–761 (1999).

    Article  CAS  PubMed  Google Scholar 

  79. Sreenivasan, K. K. & D’Esposito, M. The what, where and how of delay activity. Nat. Rev. Neurosci. 20, 466–481 (2019).

    Article  CAS  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

We thank A. Sanfey and R. Cools for helpful discussions, C. Beckmann for advice on statistical analyses and P. Gaalman for MRI support. This work was supported by European Research Council Starting Grant No. 677601 (to J.F.M.J.). The funder had no role in study design, data collection and analysis, decision to publish or preparation of the manuscript.

Author information

Authors and Affiliations

Authors

Contributions

L.S.G., R.S.v.B. and J.F.M.J. conceived and designed the experiments. L.S.G. collected the data. L.S.G. analysed the data, with help from J.F.M.J. L.S.G. and J.R.H.C. constructed the ideal observer models, with help from J.F.M.J. L.S.G., J.R.H.C., R.S.v.B. and J.F.M.J. wrote the manuscript.

Corresponding author

Correspondence to Janneke F. M. Jehee.

Ethics declarations

Competing interests

The authors declare no competing interests.

Peer review

Peer review information

Nature Human Behaviour thanks Dan Bang, Pascal Mamassian and Peter Murphy for their contribution to the peer review of this work.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Extended data

Extended Data Fig. 1 Trial structure.

Each trial started with the presentation of an oriented grating (1500 ms) followed by a 6000-ms fixation interval and two 4500-ms response intervals, during which the participant first reported the orientation of the previously seen stimulus by rotating a bar, and then indicated their level of confidence in this judgment on a continuous scale. Trials were separated by a 1500-ms intertrial interval. Stimulus, response bar and confidence scale are not drawn to their true scale and contrast.

Extended Data Fig. 2 Orientation and uncertainty decoding performance.

The orientation of the presented stimulus, and associated uncertainty, decoded from activity patterns in areas V1-V3. (a) Orientation decoding performance was quantified by means of the circular equivalent of the Pearson correlation coefficient between presented and decoded orientations. Correlation coefficients were computed for each subject individually and then averaged across subjects (N = 32). Presented and decoded orientations were significantly correlated (z = 83.58, p < 0.001, r = 0.60, 95% CI = [0.58, 0.61]). (b-d) To assess the degree to which the decoder captured uncertainty contained in neural population activity, we compared decoded uncertainty to behavioral variability, the rationale being that a more precise representation in cortex should also result in more precise behavioral estimates (see also10). (b) Corroborating our approach, we found that decoded uncertainty was greater for oblique compared to cardinal orientation stimuli (correlation distance-to-cardinal and decoded uncertainty: z = 2.95, p = 0.002, ρ = 0.025, 95% CI = [0.0083 0.041]). This finding was paralleled by the imprecision in observer behaviour (correlation distance-to-cardinal and behavioral variability: t(287) = 13.60, p < 0.001, r = 0.63, 95% CI = [0.55, 0.69]). (c-d) In addition, behavioral orientation responses were more precise when the decoded probability distributions indicated greater certainty in cortex, (c) both across orientation stimuli (correlation decoded uncertainty and behavioral variability: t(287) = 2.30, p = 0.011, r = 0.13, 95% CI = [0.019, 0.25]), and (d) when controlling for orientation (t(286) = 1.68, p = 0.047, r = 0.099, 95% CI=[−0.017, 0.21]). Altogether, this further underscores the validity of the decoding approach and shows that decoded uncertainty reliably characterizes the degree of imprecision in cortical representations of the stimulus (see10,18 for further proof of this approach). Note that these are partial residual plots, which is why the data is centered around 0. Error bars (a-b) represent ± 1 s.e.m. (c-d) Shades of red indicate ten equal-size bins of increasing decoded uncertainty, dots represent individual observers (N = 32).

Extended Data Fig. 3 Oblique effect in reported confidence and decoded uncertainty.

Effect of stimulus orientation on reported confidence (a) and decoded uncertainty (b). Each participant’s data were first binned based on the absolute distance between presented stimulus orientation and the nearest cardinal axis (equal-width bins), and then averaged across trials and finally across subjects (error bars represent ± 1 s.e.m). Dashed lines indicate best-fitting function (least-squares; quadratic for confidence, linear for decoded uncertainty). Functions were fitted on the trial-by-trial data for each participant, and averaged across participants.

Extended Data Fig. 4 Relationship between decoded uncertainty and reported confidence across different numbers of voxels.

Correlation coefficients between decoded uncertainty and reported confidence as a function of the number of voxels included in the ROI, both across all orientations (a) and after removing the effect of stimulus orientation (b). Voxels within V1-V3 were ranked and selected for multivariate analysis based on their response to the visual localizer stimulus (see Methods), using a lenient statistical threshold of p < 0.01, uncorrected. The results proved reasonably robust to variations in the number of voxels selected for analysis. Dark red line indicates group average correlation coefficients, error bars denote ± 1 s.e.m.

Extended Data Fig. 5 No effects of overall BOLD or eyetracking measures on confidence.

Reported confidence is not significantly correlated with the mean BOLD response to the stimulus in areas V1-V3 (z = 0.73, p = 0.47, ρ = 0.0062, 95% CI=[−0.010, 0.023]; equivalence test: z=−0.094, p<0.001), nor with mean eye position (mean absolute distance to screen center; z=−1.38, p=0.17, ρ = −0.012, 95% CI=[−0.030, 0.0051]; equivalence test: z=−0.088, p<0.001), eye blinks (z=0.99, p=0.32, ρ = 0.0087, 95% CI=[−0.0086, 0.026]; equivalence test: z=−0.11, p<0.001), or the number of breaks from fixation during stimulus presentation (z=0.57, p=0.57, ρ = 0.0050, 95% CI=[−0.012, 0.022]; equivalence test: z=−0.11, p < 0.001), suggesting that participants did not rely on heuristics in terms of eye position (‘did I look at the stimulus?’) or eye blinks (‘were my eyes closed?’) for reporting confidence. It furthermore rules out simple heuristic explanations in terms of attentional effort (‘my mind was elsewhere’, ‘I didn’t really try that hard’), as the mean BOLD response to the stimulus tends to increase with attention in these areas73. Shaded blue represents ± 1 s.e.m. Gray dots denote individual observers (N = 32).

Extended Data Fig. 6 Effects of decoded uncertainty and reported confidence on the BOLD response in precuneus, supplementary motor area, dorsal perigenual anterior cingulate cortex, ventral posterior cingulate cortex, dorsal posterior cingulate cortex, and stimulus-driven voxels in V1-V3.

Group-average correlation coefficients for the relationship between decoded uncertainty and BOLD contrast, and reported confidence and BOLD contrast, in six ROIs. (a) In precuneus, the effects of both decoded sensory uncertainty and reported confidence on BOLD peaked around the same time, i.e. during the second half of the response window. This finding is consistent with previous work suggesting that precuneus may represent uncertainty in memory but not in perception74,75,76. (b) In supplementary motor area, both decoded uncertainty and reported confidence modulated cortical activity relatively early in the response window, while the effects of confidence lingered until after observers gave their response. (c-d) In dorsal perigenual anterior cingulate cortex and ventral posterior cingulate cortex, decoded uncertainty had a moderate effect on the BOLD response. Reported confidence modulated cortical activity during as well as shortly after the response window. (e) In dorsal posterior cingulate cortex, the modulatory effect of both decoded uncertainty and reported confidence on the cortical response was largest around the onset of the response window. (f) Stimulus-driven voxels in early visual cortex were modulated by both decoded uncertainty and reported confidence, most notably during the first portion of the response interval. Given the timing of the effect (and taking into account the hemodynamic delay), this likely does not reflect uncertainty in the sensory representation per se, but is consistent with anticipatory processes or working memory-related signals potentially influenced by the imprecision in the cortical stimulus representation77,78,79. Please note there is no net effect of uncertainty on the overall (univariate) BOLD response during the decoding window (stimulus presentation; dashed lines). (a-f) Horizontal lines indicate statistical significance (p < 0.05, FWER-controlled). Error bars represent ± 1 s.e.m. Dark gray area marks stimulus presentation window, light gray area marks response window.

Extended Data Fig. 7 Effects of decoded uncertainty and reported confidence on the BOLD response in dAI, dACC and rlPFC, after accounting for trial-by-trial fluctuations in behavioral response times.

Behavioral response time effects were linearly regressed out from decoded uncertainty and reported confidence, prior to computing the Spearman correlation coefficient between decoded uncertainty (reported confidence) and the BOLD response at different moments in time after stimulus presentation. The remaining analysis steps are identical to those in the main text. Removing the effect of behavioral response time did not qualitatively change the pattern of results in any of these ROIs. Horizontal lines indicate statistical significance (p < 0.05, FWER-controlled). Dark gray area marks stimulus presentation window, light gray area denotes response window. Error bars represent ± 1 s.e.m.

Extended Data Fig. 8 Effects of decoded uncertainty (or reported confidence) on the BOLD response in dAI, dACC and rlPFC, after controlling for confidence (or decoded uncertainty).

Reported confidence (or decoded uncertainty) was linearly regressed on both decoded uncertainty (or reported confidence) and the BOLD response at different moments in time after stimulus presentation. The residuals of these fits were then used to compute the group-averaged correlation coefficient between cortical response amplitude and decoded uncertainty (red) or reported confidence (blue). For all ROIs, the results are qualitatively similar to the main results reported in Fig. 4 in the main text. Horizontal lines indicate statistical significance (p < 0.05, FWER-controlled). Dark gray area marks stimulus presentation window, light gray area denotes response window. Error bars represent ± 1 s.e.m.

Extended Data Fig. 9 Activity in dAI, dACC, and left rlPFC mediates the relationship between decoded uncertainty and reported confidence.

To assess the degree to which the cortical activity in these regions mediates the observed relationship between decoded uncertainty and reported confidence, we performed the following analysis. We first modeled both uncertainty and confidence as a function of the overall BOLD signal in a given ROI at each timepoint, and then used the residuals of these fits to compute the Spearman correlation coefficient between decoded uncertainty and reported confidence when controlled for the BOLD signal. From the resulting correlation coefficient, we subtracted the (baseline) correlation coefficient that was obtained while we did not control for the BOLD signal (see Fig. 3c). We observed a significant net effect at various moments in time, which indicates that there was a reliable reduction in the strength of the inverse (negative) correlation coefficient between uncertainty and confidence when we controlled for BOLD intensity. This suggests that the level of cortical activity in these windows (partially) mediates the relationship between decoded uncertainty and reported confidence. Horizontal lines indicate statistical significance (p < 0.05, FWER-controlled). Dark gray area marks stimulus presentation window, light gray area denotes response window. Dashed lines indicate the decoding window used in the main analyses (Fig. 3b-c and Extended Data Fig. 2). Error bars represent ± 1 s.e.m.

Extended Data Fig. 10 Decoding results over time.

Does reported confidence similarly reflect imprecision in the cortical representation when the orientation is held in visual working memory? To address this question, the analyses of Fig. 3b-c and Extended Data Fig. 2 were repeated over time, using a sliding window of size 3 s (2 TRs). We focused on successive intervals from 1.5 s before to 13.5 s after stimulus onset (which roughly corresponds to the onset of the response window after accounting for hemodynamic delay). Benchmark tests verified that the decoded probability distributions reliably predict the orientation of the presented stimulus (a), and variability in the observer’s behavioral estimates (b-c) over extended periods of time. Having established that the decoded distributions meaningfully reflect the degree of imprecision in the cortical representation, we next investigated the extent to which decoded uncertainty predicts reported confidence during the retention interval. We found a reliable negative relationship between decoded uncertainty and reported confidence that held up well into the delay period (d). This is consistent with an imprecise working memory trace in V1-V3 that influences subjective confidence. Please note, however, that our design does not warrant strong conclusions regarding the nature of this representation: due to fMRI’s low temporal resolution, it is difficult to say whether these signals are purely perceptual or working memory-related (see e.g.47, for similar rationale), and later TRs could simply reflect the visual presentation of the response bar, rather than memory-based signals. (a-d) Data are centered to the middle of the analysis window (of size 2 TRs). Horizontal lines indicate statistical significance (p < 0.05, FWER-controlled). Dark gray area marks stimulus presentation window, light gray area denotes response window. Dashed lines indicate the decoding window used for the main analyses (i.e., Fig. 3b,c and Extended Data Fig. 2). Shaded regions represent ± 1 s.e.m. (standard errors in (a) are too small to be visible).

Supplementary information

Supplementary Information

Supplementary Table 1.

Reporting Summary.

Supplementary Data

Three-dimensional visualization of downstream clusters significantly modulated by uncertainty decoded from visual cortex (P < 0.05, FWER-controlled; also see Fig. 4).

Source data

Source Data Fig. 2

Statistical source data.

Source Data Fig. 3

Statistical source data.

Source Data Fig. 4

Statistical source data.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Geurts, L.S., Cooke, J.R.H., van Bergen, R.S. et al. Subjective confidence reflects representation of Bayesian probability in cortex. Nat Hum Behav 6, 294–305 (2022). https://doi.org/10.1038/s41562-021-01247-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1038/s41562-021-01247-w

This article is cited by

Search

Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing