The role of reinforcement learning in perceptual decision-making
Abstract
Evidence accumulation is an important core component of perceptual decision-making that allows organisms to mitigate the e ects of environmental uncertainty by combining information in time. Simple theoretical models of evidence accumulation have been successful in critical aspects of performance in psychophysical tasks, capturing the inter-dependence between accuracy and reaction time (RT). Yet substantial ambiguity remains concerning key features of this class of models.(...)
Full text
André Gil Fernandes de Mendonça Dissertation presented to obtain the Ph.D. degree in Biology | Neuroscience Instituto de Tecnologia Química e Biológica António Xavier | Universidade Nova de Lisboa Oeiras, December, 2015 Insert here an image with rounded corners The role of reinforcement learning in perceptual decision-making
André Gil Fernandes de Mendonça Dissertation presented to obtain the Ph.D. degree in Biology | Neuroscience Instituto de Tecnologia Química e Biológica António Xavier | Universidade Nova de Lisboa Oeiras, December, 2015 The role of reinforcement learning in perceptual decision-making Research work coordinated by:
The role of reinforcement learning in perceptual decision-making. Andr´ e Gil Fernandes de Mendonc¸a A Dissertation Presented to the Faculty of Universidade Nova de Lisboa in Candidacy for the Degree of Doctor of Philosophy Zachary F. Mainen December 2015
To Rita iii
Acknowledgments {I’m not good with acknowledgments. I always feel that I won’t be able to find the right words for what I mean. Thus, I decided to take the words of others. I love music and dance. Consider this a mashed-up playlist, a medley of lyrics. Some songs remind me of the footnoted people, some are in there just because the lyrics for some reason match a story or a place, sometimes both, sometimes none. So, don’t read too much in-between the lines as sometimes they’re just meant to be silly. Also, I’m always scared that I might have forgotten someone. If I did, I’m sorry.. . } Everyday when I wake up, I thank the lord I’m Welsh.1He said, I locked you in this body, I meant it as a kind of trial. You can use it for a weapon, or to make some woman smile.2{But, I asked,}who’ll be my role-model, now that my role-model is gone, gone?3 {I was lucky enough to be part of a we}and we’ll never be royals, royals. It don’t run in our blood, that kind of luxe just ain’t for us. We crave a different kind of buzz.4And they said it changes when the sun goes down, yeah, they said it changes when the sun goes down.5 {Much, much later}she said it grieves me so to see you in such pain, I wish there was something I could do to make you smile again.6{Oh! But you did!} {Looking back, when my despair was too much, not all was lost as you gave me the space and}you came to take us, all things go, all things go, to re-create us.7And if my parents are crying, then I’ll dig a tunnel from my window to yours, yeah, a tunnel from my window to yours.8{Truth 1To my sister, Rute 2To my parents, Elisa and Vitoriano 3To my family, specially ´ Alvaro, Gabi, Sim˜ao and T´omas 4To elas. . . 5. . . and to eles, they know who they are 6To Ana 7To Zach 8To Maria iv
is}triangles are my favorite shape, three points where two lines meet, toe to toe, back to back.9{But time is short and I came to realize:}it’s the final countdown, the final countdown, the final countdown.10 {“I have to finish this...”}and never mind that noise you heard, it’s just the beasts under your bed, in your closet, in your head.11 Sometimes I wonder if the world’s so small, that we can never get away from the sprawl, living in the sprawl.12 ’Cause they know, and so do I, the high road is hard to find, a detour to your new life.13 {I learned that you should}blow steam in the face of the beast - “sky could fall down, wind could cry now. Look at me motherfucker, I smile!”.14 Hang on to the good days, I can lean on my friends, they help me going through hard times.15 And if I made a fool, if I made a fool, if I made a fool, on the road, there’s always this and if I’m sewn into submission I can still come home to this.16 {Because}I feel your whisper across the sea, I keep you with me in my heart, you make it easier when life gets hard.17 Bad mistakes - I’ve made a few. I’ve had my share of sand kicked in my face but I’ve come through.18 But there’s one sound, that no one knows: what does the fox say?19 We are the people that rule the world, a force running in every boy and girl, all rejoicing in the world.20 {And}I try to laugh about it, cover it 9To Alex 10To Eric 11To Gil 12To Patr´ıcia 13To Anna 14To Zaca 15To Rita F´elix 16To Chico, Timon, Nico, Andreia, Sam, Rodrigo 17To Inˆes 18To Masa 19To the lab 20To Joe v
all up with lies, I try and laugh about it.21 Ooh, when all I was searching for was me. Keep your head up, keep your heart strong.22 “Bamos l´a cambada, todos `a molhada que isto ´e futebol total.”23 Some of those that work forces are the same that burn crosses. Uggh! Killing in the name of!24 Lose yourself to dance, lose yourself to dance, lose yourself to dance!25 ’Cause we are the champions, my friends, and we’ll keep on fighting ’til the end. We, are the champions.26 And if I had the choice, yeah, I’d always wanna be there, those were the best days of my life.27 Decisions are made and not bought. But I thought this wouldn’t hurt a lot. I guess not.28 21To Marta 22To Susana 23To Rui 24To Alfonso 25To Antonia 26To Pedro 27To INDP 2008 28To the whole CNP vi
T´ıtulo O papel da aprendizagem por refor¸co em sistemas de decis˜ao perceptuais. Resumo A acumula¸c˜ao de evidˆencias ´e uma componente importante nas tomadas de decis˜ao perceptuais (perceptual decision-making, PDM) que permite aos organismos mitigar os efeitos de incerteza no ambiente atrav´es da combina¸c˜ao temporal de informa¸c˜ao. Os modelos te´oricos mais simples de acumula¸c˜ao de evidˆencias tˆem sido bem sucedidos a descrever aspectos relacionados ao desempenho em tarefas psicof´ısicas, capturando a interdependˆencia entre precis˜ao e tempos de reac¸c˜ao (reaction times, RTs). No entanto, outros aspectos chave deste tipo de modelos permanecem substancialmente amb´ıguos. Um fen´omeno que ainda n˜ao ´e bem compreendido reside no facto de nem todas as decis˜oes beneficiarem de acumula¸c˜ao de evidˆencia na mesma escala de tempo. Por exemplo, ratos que executam uma tarefa de discrimina¸c˜ao auditiva parecem integrar evidˆencia durante mais de um segundo. Mas, perante uma tarefa de categoriza¸c˜ao de misturas de odores os benef´ıcios de integrar por mais tempo desaparecem. Uma poss´ıvel explica¸c˜ao ´e a de que os mecanismos de integra¸c˜ao neurais s˜ao espec´ıficos `a modalidade sensorial. Diferen¸cas nas velocidades de precis˜ao (speedaccuracy tradeoff, SAT) tˆem sido propostas como poss´ıveis explica¸c˜oes para as diferen¸cas observadas entre estudos extremamente semelhantes. Uma proposta alternativa ´e que as diferen¸cas de tempo surgem a partir de diferen¸cas nos requisitos computacionais. Dado que esp´ecie, modalidade e a estrutura de tarefa tˆem variado entre os diversos estudos, distinguir entre todas as possibilidades, a partir dos dados existentes, ´e extremamente dif´ıcil. vii
2 Odor identification and mixture categorization 24 2.1 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . 25 2.2 Introduction........................... 26 2.3 Animalsubjects......................... 28 2.3.1 Training and testing apparatus . . . . . . . . . . . . 28 2.3.2 Reaction time paradigm . . . . . . . . . . . . . . . . 34 2.3.3 Statistical and behavioral analysis . . . . . . . . . . 35 2.4 Behavioral results . . . . . . . . . . . . . . . . . . . . . . . . 36 2.4.1 Odor identification versus odor categorization . . . . 36 2.4.2 Odor mixture identification task . . . . . . . . . . . 38 3 Noise and uncertainty in olfactory decisions 40 3.1 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . 41 3.2 Introduction........................... 42 3.3 Sensory noise and the diffusion-to-bound model . . . . . . . 44 3.3.1 Model implementation . . . . . . . . . . . . . . . . . 46 3.3.2 Model fitting . . . . . . . . . . . . . . . . . . . . . . 48 3.3.3 Model comparison . . . . . . . . . . . . . . . . . . . 50 3.3.4 Fitting individual rats . . . . . . . . . . . . . . . . . 50 3.3.5 Fitting both tasks simultaneously . . . . . . . . . . . 53 3.4 Additional sources of noise . . . . . . . . . . . . . . . . . . . 57 3.4.1 Whitening of DDM responses . . . . . . . . . . . . . 58 3.4.2 Random weight noise . . . . . . . . . . . . . . . . . 61 4 Reward, errors and biases 64 4.1 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . 65 4.2 Introduction........................... 66 4.3 Session-by-session performance and choice bias . . . . . . . 67 4.4 Trial-by-trial changes in choice bias . . . . . . . . . . . . . . 72 xiv
5 Reinforcement learning and uncertainty 79 5.1 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . 80 5.2 Introduction........................... 81 5.3 DDM with side bias . . . . . . . . . . . . . . . . . . . . . . 83 5.3.1 Model implementation . . . . . . . . . . . . . . . . . 83 5.3.2 Model fitting results . . . . . . . . . . . . . . . . . . 86 5.4 Reinforcement learning with DDM - the adaptive diffusion- to-boundmodel......................... 87 5.4.1 Model implementation . . . . . . . . . . . . . . . . . 88 5.4.2 Model fitting . . . . . . . . . . . . . . . . . . . . . . 91 5.4.3 Fitting results . . . . . . . . . . . . . . . . . . . . . 94 5.4.4 Model predictions . . . . . . . . . . . . . . . . . . . 96 5.4.5 Analysis of category bound fluctuations . . . . . . . 100 5.5 The two-race accumulator model . . . . . . . . . . . . . . . 105 6 Neural signatures of weight updating 109 6.1 Chapter Summary . . . . . . . . . . . . . . . . . . . . . . . 110 6.2 Introduction...........................111 6.2.1 Neural predictions of RL-DDM . . . . . . . . . . . . 112 6.2.2 Time wagering task, the OFC and VS . . . . . . . . 114 6.3 The effect of trial outcome in OFC and VS . . . . . . . . . 116 6.3.1 Generalized linear model implementation . . . . . . 119 6.3.2 GLM results . . . . . . . . . . . . . . . . . . . . . . 120 6.3.3 Example cells . . . . . . . . . . . . . . . . . . . . . . 122 6.4 Stimulus updating in OFC and VS . . . . . . . . . . . . . . 123 6.4.1 Generalized linear model implementation . . . . . . 124 6.4.2 GLM results . . . . . . . . . . . . . . . . . . . . . . 125 6.4.3 Example cells . . . . . . . . . . . . . . . . . . . . . . 127 xv
7 Discussion 130 7.1 Speed-accuracy tradeoffs depend on the nature of the task athand..............................131 7.2 Perceptual decision-making is driven by sensory uncertainty................................132 7.3 . . . but also by category uncertainty. . . . . . . . . . . . . . 133 7.4 Category uncertainty does not imply noise, just a bad strategy. ...............................134 7.5 The neural circuitry of olfactory decision-making. . . . . . . 138 7.6 Future directions. . . . . . . . . . . . . . . . . . . . . . . . . 144 7.7 Finalremarks. .........................148 References 150 Appendices 171 xvi
List of Tables 3.1 DDM best-fit parameters for individual rats and tasks. . . . 51 3.2 DDM best-fit parameters for identification and categorizationtasks............................. 53 3.3 DDM goodness-of-fit for identification and categorization tasks. .............................. 55 3.4 Parameters for DDM convolved with Gaussian kernel. . . . 59 3.5 Parameters for DDM with random weights noise. . . . . . . 61 4.1 Spearman’s rank correlation statistics for session-by-session performance and individual rats. . . . . . . . . . . . . . . . 68 4.2 Individual rats’ Spearman’s rank correlation statistics for choice bias on a day-by-day basis. . . . . . . . . . . . . . . . 69 5.1 Fitted parameters and comparative goodness-of-fit for all versions of DDM used in this thesis. . . . . . . . . . . . . . 95 6.1 Spearman’s rank correlation between GLM estimators for OFCdata.............................125 6.2 Spearman’s rank correlation between GLM estimators for VSdata..............................127 xvii
List of Figures 2.1 Two-alternative odor choice task. . . . . . . . . . . . . . . . 29 2.2 Stimulus design and task differences. . . . . . . . . . . . . . 31 2.3 Tasks training and testing time-line. . . . . . . . . . . . . . 33 2.4 Comparison between odor identification and mixture categorizationtasks. ........................ 37 2.5 Odor mixture identification task. . . . . . . . . . . . . . . . 39 3.1 Drift-diffusion model. . . . . . . . . . . . . . . . . . . . . . . 43 3.2 Three-layered DDM model. . . . . . . . . . . . . . . . . . . 45 3.3 Individual behavioral data and DDM fits. . . . . . . . . . . 52 3.4 Overall behavioral data and DDM fits. . . . . . . . . . . . . 54 3.5 Failure to fit performance in one task and predict the other. 56 3.6 Failure to simultaneously fit performance on identification and categorization tasks with DDM. . . . . . . . . . . . . . 57 3.7 DDM convolution with Gaussian kernel. . . . . . . . . . . . 60 3.8 DDM with random trial-by-trial weight fluctuations. . . . . 62 3.9 DDM with random trial-by-trial weight fluctuations fits bothtasks. ........................... 63 4.1 Session-by-session stable performance in behavioral data. . 70 4.2 Individual rats’ session-by-session bias. . . . . . . . . . . . . 71 4.3 Overall session-by-session performance and bias. . . . . . . 72 xviii
4.4 Reward history effects are still present despite overall stabilized performance. . . . . . . . . . . . . . . . . . . . . . . 75 4.5 Updating curves for change in choice bias after an error response for both tasks. . . . . . . . . . . . . . . . . . . . . 76 4.6 Conditional psychometric curves for trials Tand T−2 after an easy trial error in identification task. . . . . . . . . . . . 77 4.7 Updating curves for change in choice bias after rewarded trials for all individual rats and tasks. . . . . . . . . . . . . 78 5.1 DDM with reward bias. . . . . . . . . . . . . . . . . . . . . 84 5.2 DDM+bias fails to predict categorization task. . . . . . . . 87 5.3 DDM with bias and stimulus learning. . . . . . . . . . . . . 89 5.4 Stimulus learning influence on identification task. . . . . . . 92 5.5 Fitting landscapes for learning parameter. . . . . . . . . . . 94 5.6 Fitting landscapes for RL-DDM . . . . . . . . . . . . . . . . 95 5.7 DDM with bias and stimulus learning explains identification and categorization task simultaneously. . . . . . . . . . 97 5.8 DDM+bias and RL-DDM predictions for full updating curves. 98 5.9 DDM+bias with random weights fluctuations predictions for changes in choice bias. . . . . . . . . . . . . . . . . . . . 99 5.10 RL-DDM predictions for changes in reaction times. . . . . . 100 5.11 Weight fluctuations amplify errors in categorization task. . 104 5.12 Model weights correlate with rats’ local bias. . . . . . . . . 105 5.13 Two-race model with learning also explains identification and categorization task simultaneously. . . . . . . . . . . . . 108 6.1 RL-DDM predictions for change in evidence rate after trial outcome..............................113 6.2 Time wagering confidence task. . . . . . . . . . . . . . . . . 117 6.3 OFC and VS recordings. . . . . . . . . . . . . . . . . . . . . 118 xix
6.4 Average firing rate GLM parameters for current choice and previous trial outcome. . . . . . . . . . . . . . . . . . . . . . 121 6.5 PETHs for example OFC cell modulated by previous outcome.123 6.6 PETHs for example VS cell modulated by previous outcome.124 6.7 Average firing rate GLM parameters for current choice and previous trial outcome interacting with stimulus difficulty. . 126 6.8 Slope of linear regressions for GLM difficulty parameters. . 127 6.9 PETHs for example OFC cell modulated by previous outcome and difficulty. . . . . . . . . . . . . . . . . . . . . . . . 128 6.10 PETHs for example VS cell modulated by previous outcome anddifficulty...........................129 7.1 RL-DDM predictions with threshold increase for both tasks. 136 2 PETHs for OFC-39. . . . . . . . . . . . . . . . . . . . . . . 172 3 PETHsforVS-23. .......................173 xx
Abbreviations 2RM . . . . . . . . . . . Two-Race accumulation Model BIC . . . . . . . . . . . . Bayesian Information Criterion DDM . . . . . . . . . . Drift-Diffusion Model DDM+bias . . . Drift-Diffusion Model with choice Bias DM . . . . . . . . . . . . Decision-Making DV . . . . . . . . . . . . . Decision Variable EDM . . . . . . . . . . Economical Decision-Making EOG . . . . . . . . . . . Electro-OlfactoGram FOF . . . . . . . . . . . Frontal Orienting Fields GLM . . . . . . . . . . Generalized Linear Model LIP . . . . . . . . . . . . Lateral Intra-Parietal area MC . . . . . . . . . . . . Mitral Cell ML . . . . . . . . . . . . Matching Law NS . . . . . . . . . . . . . Nervous System OB . . . . . . . . . . . . . Olfactory Bulb OFC . . . . . . . . . . . Orbito Frontal Cortex OT . . . . . . . . . . . . . Olfactory Tubecule PDM . . . . . . . . . . Perceptual Decision-Making PETH . . . . . . . . . Peri-Event Time Histogram 1
PIR . . . . . . . . . . . . PIRiform cortex PPC . . . . . . . . . . . Posterior Parietal Cortex QM . . . . . . . . . . . . Quantum Mechanics RDK . . . . . . . . . . Random-Dot Kinematogram RL . . . . . . . . . . . . . Reinforcement Learning RL-DDM . . . . . . Reinforcement Learning Drift-Diffusion Model RT . . . . . . . . . . . . . Reaction Time SA . . . . . . . . . . . . . Sequential Analysis SAT . . . . . . . . . . . Speed-Accuracy Tradeoff SDT . . . . . . . . . . . Signal Detection Theory VS . . . . . . . . . . . . . Ventral Striatum VTA . . . . . . . . . . . Ventral Tegmental Area 2
Chapter 1 Introduction “Every puzzle has an answer” – Professor Layton, Professor Layton and the Curious Village 3
works (Von Neumann, 1956; Laughlin & Sejnowski, 2003). However, a different interpretation for the same result is that monkeys are in fact inferring sub-optimally (Beck et al., 2012). In that particular study, Beck et al. suggest that all noise might be purely driven by sensors and amplified by choices that suffered deterministic (but suboptimal) approximations. It is clear that individuals are not optimal in some particular cases (Yu & Cohen, 2008). The instructions given or the environmental set up might make the same subject oscillate from an observable optimal strategy to a non-optimal one (Summerfield & Tsetsos, 2012). In particular, a study in humans showed that subjects exposed to a rapidly changing perceptual environment were best explained by a non-optimal strategy (working memory rather than Bayesian inference; Summerfield, Behrens, & Koechlin, 2011). Considering that many results have showed that humans and monkeys can classify optimally visual information (Stocker & Simoncelli, 2006; Michel & Jacobs, 2008; Anderson, 1991; Ashby & Gott, 1988), one is led to conclude that the nature of the task at hand plays a significant role in understanding the strategies conducted by the NS. The gaps between optimal and non-optimal strategies might tell us more of how the brain copes with the external environment and help explain part of the observed variability of many tasks (Summerfield & Tsetsos, 2012). Last but not least, if one considers the artificial setting of a controlled lab environment and its intrinsic difference with bona fide habitats, then one is led to the conclusion that these studies might help shed light on what are the significant evolutionary traits that emerged in the NS. 1.4 Sensory uncertainty In PDM the main focus of research has been on the mechanisms by which observers categorize sensory signals. PDM tasks typically require subjects 10
to classify noisy sensory information. Here we explore how that sensory uncertainty has been defined and addressed in the field. 1.4.1 Perceptual decision-making PDM is the process by which sensory information is used to guide behavior toward the external world. This involves gathering, evaluating and integrating information that was acquired through the senses. This information is then taken into account to produce judgments about the environment and conduct motor responses (Gold & Shadlen, 2007). At any given point in time, the state of the world must be inferred based on noisy data provided by the sensory systems. This makes behavior critically dependent on the ability to quickly and accurately decide amongst the possible states. For instance, deciding whether or not a predator is present in a rich environment can dictate the survival chances of an animal. Various factors must be taken into account before committing to a decision and executing the appropriate behavioral response, including prior knowledge (discussed below). An important factor is the quality of the evidence derived from the sensory observations, then transformed into a decision variable (DV) that is interpreted by the decision layer/rule to produce a particular percept and choice (Gold & Shadlen, 2007). A conceptually simple and recurrently used approach is to consider a rule that places a decision criterion on the DV. The magnitude of the DV will then reflect the balance of support/opposition for a given choice, allowing the decision maker to achieve different goals; these might include accuracy, reward maximization or even targeting a particular decision time (Gold & Shadlen, 2007). 11
1.4.2 Signal detection theory The study of perception and psychophysics has been a focus of decision theory since the XIX century (Fechner, 1948; Smith, 1994). Mathematical descriptions have been brought forward ever since, being signal detection theory (SDT) one of most historically relevant (Green & Swets, 1966). SDT describes the process wherein inherent sensitivity of subjects to relevant stimuli is combined to generate choices, setting a framework to understand performance in perceptual tasks (Green & Swets, 1966). According to SDT, the decision-maker obtains an observation of noisy evidence from the stimulus, which gives rise to the DV that is then evaluated according to the decision rule. In simple binary decisions, the DV is typically related to the likelihood ratio of the different alternatives, and then compared to a given criterion. This criterion can also incorporate different priors (through Bayes rule, for instance) and value, allowing a flexible structure to hypothesize about PDM (Gold & Shadlen, 2007; Glimcher & Fehr, 2014). 1.4.3 Sequential analysis SDT is focused on the nature of the decision before the DV has been completely evaluated. Sequential analysis (SA) is a natural extension to SDT that accommodates multiple pieces of evidence observed over time (Wald & Wolfowitz, 1949). The conceptual idea resides in that a decisionmaker can benefit from multiple samples of a noisy distribution of variables that represent a stimulus. After each acquisition step, the DV is calculated from the evidence obtained up to that point and compared to the decision rule. This iterative process is then typically compared to a positive and negative criterion, each corresponding to a particular choice. Once the DV exceeds a criterion bound, a decision is made. The advantage of this 12
framework is that it allows predictions of how response times are generated (Edwards, 1965). Several versions of sequential sampling models have been instantiated in the past (Gold & Shadlen, 2007; Luce, 1986; Townsend & Ashby, 1983; Vickers, 1970; Vickers, Carterette, & Friedman, 2014; Usher & McClelland, 2001; Ratcliff & Smith, 2004). A particular important instantiation are random walk models. In these models the DV is a cumulative sum of evidence over discrete time steps. If the evidence is the logarithm of the likelihood ratio, then this process corresponds to the statistically-optimal Sequential Probability Ratio Test (Wald & Wolfowitz, 1949). Instead, if the evidence is sampled from a Gaussian distribution in infinitesimal time steps, the process is termed diffusion with drift or bounded diffusion (Ratcliff, 1978). While many models provide an account of either RT (Townsend & Ashby, 1983) or accuracy (Green & Swets, 1966), sequential sampling models relate shapes of RT distributions with probabilities of correct and incorrect responses, thereby explaining how RT and choice accuracy jointly vary as a function of the experimental conditions of interest. An important part of SA is that it allows quantification of the noise associated to psychophysical processes. Additionally, SA can be used to model and explain neurophysiological data (Gold & Shadlen, 2007; Sajda, Philiastides, Heekeren, & Ratcliff, 2011). For instance, recordings of neural activity in primates performing a random dot kinematogram (RDK) task have shown neural correlates resembling SA DVs (Roitman & Shadlen, 2002). 1.4.4 Accumulator models and Speed-accuracy tradeoffs Evidence accumulation is an important core component of perceptual decision-making that allows organisms to mitigate the effects of environmental uncertainty by combining information in time (Roitman & Shadlen, 2002; Palmer, Huk, & Shadlen, 2005; Chittka, Dyer, Bock, & 13
Dornhaus, 2003; Histed, Carvalho, & Maunsell, 2012; Bowman, Kording, & Gottfried, 2012; Brunton, Botvinick, & Brody, 2013; Gold & Shadlen, 2007; Ratcliff & McKoon, 2008). Simple theoretical models of evidence accumulation based on a random walk-to-bound have been successful in critical aspects of the performance of psychophysical tasks, capturing the dependence of accuracy (psychometric) and reaction time (chronometric) functions. Key elements of these models have begun to be tested both by searching for neural activity corresponding to model variables (Kiani, Hanks, & Shadlen, 2008; Roitman & Shadlen, 2002; Hanks, Ditterich, & Shadlen, 2006; Erlich, Brunton, Duan, Hanks, & Brody, 2015; Hanks et al., 2015) and by the use of more sophisticated task design and modeling (Brunton et al., 2013; Zariwala, Kepecs, Uchida, Hirokawa, & Mainen, 2013). Yet substantial ambiguity remains concerning nearly all critical features of this class of models, including the basic mechanisms supporting integration, how a bound is determined and the origins of apparent randomness. One widely observed but not well-understood phenomenon is that not all kinds of decisions appear to benefit from accumulation of evidence over the same time scale. For example, monkeys performing integration of random dot motion (Roitman & Shadlen, 2002) and rats performing a click train discrimination task (Brunton et al., 2013) appear to integrate evidence over one second. But rats performing an odor mixture categorization task fail to benefit from odor sampling beyond 200-300 ms (Uchida & Mainen, 2003; Zariwala et al., 2013). A possible explanation is that neural integration mechanisms are specific to a given species and sensory modality. However, even animals performing apparently similar odor-based show integration over very different time windows (Rinberg, Koulakov, & Gelperin, 2006b; Abraham et al., 2004). Motivation for speed vs. accuracy, or speed-accuracy tradeoff (SAT) (Palmer et al., 2005; Khan & Sobel, 2004; Hanks et al., 2006) has been proposed as a possible expla- 14
nation for differences seen across similar studies, although manipulation of motivation in one case failed to support this explanation (Zariwala et al., 2013). An alternative proposal is that differences in reaction time (RT) arise from different computational requirements of different tasks (Uchida, Kepecs, & Mainen, 2006; Zariwala et al., 2013; Summerfield & Tsetsos, 2012). Given that species, modality and task structure all vary across the different studies in question, distinguishing amongst these possibilities from existing data is difficult. 1.5 Actions, categories and the ever-changing environment Although sensory information is ambiguous in PDM, a problem that arises from a simplistic approach is that a significant subset of these tasks present over-trained subjects that have developed a clear idea of how the sensory-to-action contingencies should work (Britten, Shadlen, Newsome, & Movshon, 1993). It is the identity of the stimulus, and thus, sensory uncertainty that is driving decisions in these type of tasks. However, what happens when these contingencies are not clear? How does a subject pick from a set of actions when perceptual categories and respective context might be changing on a trial-by-trial basis? Or when a subject believes the environment to be changing? Here we explore how other sources of uncertainty (that also exist in PDM, see Busse et al., 2011 for an example) have been defined and addressed in the field of economic decision-making (EDM). 1.5.1 Matching law Most behavioral decisions have the intrinsic goal of accomplishing a “reward”. Food (Derusso et al., 2010), water (Uchida & Mainen, 2003), sex 15
(Nomoto & Lima, 2015), or social interactions (Marquez, Rennie, Costa, & Moita, 2015), have all been used as rewards for an animal. On the opposite scale, punishments have also been used as they generate negative action values that shun particular decisions (Paton, Belova, Morrison, & Salzman, 2006). A logical starting point is to consider that the net value of a particular decision is dictated by the needs that an agent wishes to satisfy. By this premise, an animal will choose to perform certain actions in detriment of others, so to maximize the rate of obtained reward - this is known as the matching law (ML). The ML was first formulated by Herrnstein (1961) following an experiment with pigeons on concurrent variable interval schedules. Pigeons were presented with two buttons in a box, each with varying rates of food reward. The pigeons tended to peck the button that yielded the greater food reward more often than the low reward option. The ratio of their rates to the two buttons matched the ratio of reward rates on the two buttons. In operant conditioning, ML is then defined as the quantitative relationship between the relative rates of response and reinforcers in a concurrent reinforcement schedule. In the case of the pigeons, if the two response alternatives Aand Bare offered, the ratio of response rates to Aand Bequals the ratio of reinforcements yielded by each response: RA RB =rA rB (1.1) being Rthe amount of responses for a particular side and rthe reward frequency of that same option. 1.5.2 Reinforcement learning Value is a concept that has been key in the study of behavioral decision making. Following rewards and avoiding punishment are extremely important not only for Herrnstein’s pigeons but for the behavior of any animal. 16
However, ML does not address the issue of how these action values are accessed by the agent or even implemented in the brain. When it comes to classical conditioning, reinforcement learning (RL) models have been very successful in describing EDM. RL emerged from the fields of experimental psychology (Rescorla & Wagner, 1972) and machine learning (Sutton & Barto, 1998), and it describes a mechanism for how the value of a particular stimulus or action is learned. Its basic premise is that values are updated by considering a prediction error (i.e., how surprising a given outcome is) and the weight that that particular error should have (learning rate). A simple version of these class of models is to consider the trial-by-trial learning rule known as the Rescorla-Wagner delta rule: w7→ w+αδµ (1.2) where αis the learning rate, which can be interpreted as the associability of the stimulus, µ, with the reward; and wthe weight that maps a stimulus to an action. The crucial term here is to consider the prediction error, δ=r−wµ, which dictates how far of predicting the reward, r, might the stimulus be (or not) and thus updated accordingly. 1.5.3 Value-based decision-making In EDM tasks stimuli are usually unambiguous, and thus sensory uncertainty very much reduced (Sutton & Barto, 1998; Daw, Niv, & Dayan, 2005; Kable & Glimcher, 2007; Rushworth, Noonan, Boorman, Walton, & Behrens, 2011). Nevertheless, the nature of these tasks is still challenging as the value associated between the action options might drift or jump unpredictably across the experiment (Behrens, Woolrich, Walton, & Rushworth, 2007; Summerfield et al., 2011), within the course of a single session (Corrado, Sugrue, Seung, & Newsome, 2005) or even because the value of different choices are comparable and noisy (Kable & Glimcher, 17
2007). In these particular cases the identity of the stimulus was clear to the agent, but its relative value and prospective action were uncertain (Louie, Khaw, & Glimcher, 2013). In most EDM tasks the choice process is usually modeled by assuming a greedy policy (the most valuable option available to the agent) or by a “softmax” function that permits some level of noise in the decision process. However, these models exist at a meta-process modeling level and lack process implementation and development (Lindland, Sindre, & Solvberg, 1994). Namely, they lack mechanisms that explain how a particular stimulus might be integrated, compared and classified by a neural network, and thus dictate the action to pursue. Fusing RL models with accumulator models might help shed light on some of these issues (Summerfield & Tsetsos, 2012). 1.5.4 Orbitofrontal cortex and ventral striatum One important issue in both PDM and EDM is the neural implementation of these conceptual models, specially when considering the crosstalk between the two fields, as we propose to do here. A potentially interesting candidate to look at is the orbitofrontalcortex (OFC). The role of OFC has been investigated in olfactory-guided decision (Feierstein, Quirk, Uchida, Sosulski, & Mainen, 2006; Kepecs, Uchida, Zariwala, & Mainen, 2008). Neurons in the OFC were found to encode information that was dependent of trial timing (Feierstein et al., 2006). Before a decision was made, OFC neurons encoded information about stimuli, but not about choice. Later in a trial, when the animal was moving towards the choice port, OFC neurons encoded choice direction. After the animal reached the choice port, OFC neurons encoded information about goal properties, such as goal location and/or reward presence. 18
These findings are in concordance with the view of OFC as playing a central role in goal monitoring (Padoa-Schioppa & Assad, 2008; Schoenbaum, Takahashi, Liu, & McDannald, 2011; Takahashi et al., 2013). OFC activity was also found to be encoding decision confidence in rats performing an odor mixture categorization task (Kepecs, Uchida, Zariwala, & Mainen, 2008). Evaluation, or performance monitoring, is necessary to analyze the efficacy or optimality of a decision with respect to its goals (Shadlen & Kiani, 2013). OFC is particularly important for reward-based behaviors when values are inferred, for instance using model-based RL algorithms (Daw & Doya, 2006). Additionally, OFC has been shown to keep track of absolute stimulus value (Kable & Glimcher, 2009) and to encode value in a “common currency” that allows comparison between variables that exist at different domains (Summerfield & Tsetsos, 2012). OFC has been suggested as a direct player in voluntary choice via its interconnectivity with the ventral striatum (Kable & Glimcher, 2009). Ventral striatum (VS) has been shown to share a similarly important role in evaluation of performance (Botvinick, Niv, & Barto, 2009). This area was found to interact with OFC to guide optimal courses of action that ultimately lead to rewards (Hare, O’Doherty, Camerer, Schultz, & Rangel, 2008; McDannald, Lucantonio, Burke, Niv, & Schoenbaum, 2011; Simmons, Ravel, Shidara, & Richmond, 2007). Moreover, VS neurons also correlate with decision confidence in odor categorization (Costa, 2015). A cortico-striatal circuit involving OFC and VS could then be extremely relevant to evaluate decisions and optimize actions, while taking into account confidence estimates that arise from sensory inputs (Uchida et al., 2006). 19
2.2 Introduction The quote “Fast is fine, but accuracy is everything” has been attributed to famous gambler and deputy sheriff Wyatt Earp in various contexts. Notoriously, it was replicated by American actor Kevin Costner in the movie of the same name (Kasdan, 1994). However, many historians believe that the sentence originated from a Greek student of Socrates, Xenophon. Regardless of the dispute, the fact that one lived in the XIX century while the other in 300 BC tells us that the interplay between accuracy and speed has been a philosophical point of discussion throughout the years. Relationships between accuracy and speed of decision-making, or speed-accuracy tradeoffs (SATs), have been extensively studied in humans and other species including monkeys, rodents and insects (Gold & Shadlen, 2007; Luce, 1986; Palmer et al., 2005; Roitman & Shadlen, 2002; Uchida, Poo, & Haddad, 2014; Chittka et al., 2003; Chittka, Skorupski, & Raine, 2015; Uchida & Mainen, 2003; Abraham et al., 2004; Rinberg et al., 2006b; Histed et al., 2012; Zariwala et al., 2013; Bowman et al., 2012). In many ways Earp’s quote seems to be true. Still, many other situations might favor fast decisions such as environments in which resources are scarce (competition) or contexts of predator presence (survival; Dawkins, 2004). It would only be natural to assume that many evolutionary pressures potentiated fine tuning of SATs (Gold & Shadlen, 2007; Dawkins, 2004). However, the range of SATs observed varies widely across studies for reasons that are unclear. For example, reported increases in RT with increased difficulty of perceptual discrimination range from over 500 ms in humans (Palmer et al., 2005) and monkeys (Roitman & Shadlen, 2002) performing a RDK task, to 100 ms in mice performing a visual contrast detection task (Histed et al., 2012), to less than 30 ms in rats performing 26
an odor mixture discrimination task (Uchida & Mainen, 2003). It is not known what accounts for such different degrees of SAT observed across different studies. Motivation for speed vs. accuracy is thought to be a key parameter affecting SAT (Khan & Sobel, 2004) and is a possible explanation for the differences observed across similar studies showing SAT of smaller (Uchida & Mainen, 2003) or larger (Abraham et al., 2004; Rinberg et al., 2006b) magnitudes. Two alternative possibilities are that longer SATs reflect neural mechanisms that are species-specific and/or sensory modality-specific. An additional explanation is that SAT differences arise from differences in the underlying computational requirements of different decision-making tasks (Zariwala et al., 2013). Given that species, modality, task structure all vary across the different studies in question, these possibilities are not distinguishable from existing data. Our strategy was to compare SATs in two behavioral tasks that were identical except for the nature of the stimuli that gives rise to task difficulty. The first was a stimulus noise driven task in which the difficulty was increased by lowering stimulus concentration. We named this task “odor identification”. The second was an odor mixture categorization task (Uchida & Mainen, 2003) in which the difficulty was increased by making the stimuli closer to a decision or category boundary. Thus, by having the same subjects performing two tasks that were different only for the set of stimuli, and by holding species, modality and motivation, we were in a condition that allowed us to test if SAT was dependent on the nature of the task. Our motivation was to create two extremely similar tasks that required different strategies and in that way explore and understand what dictates SAT. Below, we will depict the odor-guided tasks that compose the core behavioral data analyzed in this thesis. We will also show the differences 27
that exist between the two tasks and that motivated the central topic of this study. 2.3 Animal subjects Four Long Evans rats (200-250 g at the start of training) were trained and tested in accordance with European Union Directive 86/609/EEC and approved by Direc¸c˜ao-Geral de Veterin´aria (DGV) of Portugal. Rats were trained and tested on three different tasks: (1) a two-alternative choice odor identification task; (2) a two-alternative choice odor mixture categorization task (Uchida & Mainen, 2003); and (3) a two-alternative choice “odor mixture identification” task. The same rats performed all three tasks that differ on the nature of the presented stimulus while all other task variables were held constant (Figure 2.1). Rats were pairhoused and maintained on a normal 12 hr light/dark cycle and tested during the daylight period. Rats were allowed free access to food but were water-restricted. Water was available during the behavioral session and for 20 minutes after the session at a random time as well as on non-training days. Water availability was adjusted to ensure animals maintained no less than 85% of ad libitum weight at any time. 2.3.1 Training and testing apparatus The behavioral apparatus for the task was designed by Z.F.M. in collaboration with M. Recchia (Island Motion Corporation, Tappan, NY). The behavioral control system (BControl) was developed by Z.F.M, C. Brody (Princeton University) in collaboration with A. Zador (Cold Spring Harbor Laboratory). The behavioral setup consisted of a box (27 ×36 cm) with a panel containing three conical ports (2.5 cm diameter, 1 cm depth; Uchida & Mainen, 2003). Each port was equipped with an infrared photodiode/phototransistor pair that registered a digital signal when the rats 28
a Odor Port Choice Port Choice Port Trial start Trial start Stimulus Choice Outcome Correct Error OH Odor Port Odor Valve Choice Port Water Valve dodor RT MT dwater dinter-trial b Figure 2.1. Two-alternative odor choice task. (a) Rats were trained in a behavioral box to signal a choice between left and right port after sampling a central odor port. The sequence of events is illustrated using a schematic of the ports and the position of the snout of the rats. (b) Illustration of the timing of events in a typical trial. Nose port photodiode and valve command signals are shown (thick lines). A trial is initialized after a rat pokes into a central odor port. After a randomized delay dodor a pure odor or a mixture of odors is presented, dependent of the task at hand. The rat can sample freely and respond by moving into a choice port in order to get a water reward. Each of these ports is associated to one of two odors – odor A ((R)-()-2-Octanol) and odor B ((S)-(+)-2-Octanol). Highlighted by the grey box, reaction time (RT) is the amount of time the rats spend in the central odor port. snout was introduced into the port (“nose poke”), allowing us to determine the position of the animal during the task with high temporal precision. Odors were delivered from the center port and water from the left and right ports. Odor delivery was controlled by a custom made olfactometer (Uchida & Mainen, 2003) designed by Z.F.M in collaboration with 29
M. Recchia. During training and testing the rats alternated between two different boxes. The test odors were S-(+) and R-(-) stereoisomers of 2-octanol, chosen for their identical vapor pressures and similar intensities (Uchida & Mainen, 2003; Taniguchi, Kashiwayanagi, & Kurihara, 1992; Pierce, Zeng, Aronov, Preti, & Wysocki, 1995; Laska, Psychologie, M¨unchen, & M¨unchen, 2004). In the odor identification task, difficulty was manipulated by using different concentrations of pure odors, ranging from 10−4 to 10−1(v/v) (Figure 2.2a). The different concentrations were produced by serial liquid dilution using an odorless carrier, propylene glycol (1,2- propanediol). In the odor mixture categorization task, we used binary mixtures of these two odorants at different ratios, with the sum held constant: 0/100, 20/80, 32/68, 44/56 and their complements (100/0, etc.; Figure 2.2b). Difficulty was determined by the distance of the mixtures to the category boundary (50/50), denoted as “mixture contrast” (e.g. 80/20 and 20/80 stimuli correspond to 60% mixture contrast). Choices were rewarded at the left choice port for odorant A(identification task; Figure 2.2c,d) or for mixtures A/B > 50/50 (categorization task; Figure 2.2e,f) and at the right choice port for odorant B(identification task) or for mixtures A/B < 50/50 (categorization task). In both tasks, the set of eight stimuli were randomly interleaved within the session. During testing, the probability of each stimulus being selected was the same. We define as “mixture categorization task” sessions in which mixtures with a total odor concentration of 10−1(v/v) were used. For the “odor mixture identification”, we used the same mixture contrasts with total concentrations ranging from 10−1to 10−4prepared using the diluted odorants used for the identification task (Figure 2.5a). In each session, four different mixture pairs were pseudo-randomly selected from the total set of 32 stimuli (8 contrasts at 4 different total concentrations). 30
Identification (Id.) Task Categorization (Cat.) Task c d a b e 10-4 10-1 Odor A Log conc. (v/v) 10-1 10-4 Log conc. (v/v) Odor B f 10-4 10-1 Odor A Log conc. (v/v) 10-1 10-4 Log conc. (v/v) Odor B B A 0 100 32 68 44 56 56 44 68 32 100 0 20 80 80 20 B A 0 10 0 0 0 0 0 0 0 -¹ 10-² 10-⁴ 10-³ 10-⁴ 10-³ 10-¹ 10-² 0.10 0.1 Odor A conc. (v/v) Odor B conc. (v/v) 0.10 0.1 Odor A conc. (v/v) Odor B conc. (v/v) Figure 2.2. Stimulus design and task differences. (a,b) In the odor detection task, the odorants were presented independently at concentrations ranging 10−1to 10−4(v/v) and sides rewarded accordingly (a). For the mixture categorization task, the two odorants were mixed in different ratios presented at a fixed total concentration of 10−1, and rats were rewarded according to the majority component (b). Each dot represents one of the 8 stimuli presented for each task. (c,d) Linear space representation of all stimuli presented in identification (c) and categorization task (d). All stimuli above the dashed identity line indicate a right side choice, and all stimuli below a left choice. (e,f) Same as (c,d) in a logarithmic scale. 31
For all the different experiments, four of the eight stimuli presented in each session were rewarded on the left (A > B) and the other four were rewarded on the right (A<B). Each stimulus was presented with equal probability and corresponded to a different filter in the manifold. The training sequence consisted of: (I) handling (2 sessions); (II) water port training (1 session); (III) odor port training, in which a nose poke at the odor sampling port was required before water was available at the choice port. The required center poke duration was increased from 0 to 300 ms (4 - 8 sessions); (IV) introduction of test odors at a concentration of 10−1, rewarded at left and right choice ports according to the identity of the odor presented (1 - 5 sessions); (V) introduction of increasingly lower concentrations (5 - 10 sessions); (VI) training on odor identification task (10 - 20 sessions); (VII) testing on odor identification task (14 - 16 sessions); (VIII) training on mixture categorization task (10 - 20 sessions); (IX) testing on mixture categorization task (14 - 15 sessions); (X) testing on mixture identification task (12 - 27 sessions) (Figure 2.3). During training, in phases VI and VIII, we used adaptive algorithms to adjust the difficulty and to minimize bias of the animals. We computed an online estimate of bias: bt= (1 −τ)Ct+τbt−1(2.1) where btis the estimated bias in the current trial, bt−1is the estimated bias in the previous trial, Ctis the choice of the current trial (0 if right, 1 if left) and τis the decay rate (τ= 0.95 in our experiments). The probability, p, of being presented with a right-side rewarded odor was adjusted to counteract the measured bias using: pR= 1 −1 1 + e(bt−b0)/γ (2.2) 32
II 1 I 2 III 4 - 8 sessions IV 1 - 5 V 5 - 10 sessions VI - Id training 10 - 20 sessions VII - Id testing 14 - 16 sessions VIII - Cat training 10 - 20 sessions IX - Cat testing 14 - 15 sessions X - Mixture Id testing 12 - 27 sessions Figure 2.3. Tasks training and testing time-line. (I) Handling (2 sessions). (II) Water port training (1 session). (III) Odor port training (4 - 8 sessions). (IV) Pure odor training (1 - 5 sessions). (V) Introduction of lower concentrations (5 - 10 sessions). (VI) Odor identification training (10 - 20 sessions). (VII) Odor identification testing (14 - 16 sessions). (VIII) Mixture categorization training (10 - 20 sessions); (IX) Mixture categorization testing (14 - 15 sessions). (X) Mixture identification testing (12 - 27 sessions). Each session represents a different day. Grey boxes highlight the behaviorial data presented in Chapter 2 to 5. where b0is the target bias (set to 0.5), and γ(set to 0.25) describes the degree of non-linearity. Analogously, the probability of a given stimulus difficulty was dependent on the performance of the animal, i.e., the relative probability of difficult stimuli was set to increase with performance. Performance was calculated in an analogous way as Equation 2.1 at the current trial but ct became rt– the outcome of the current trial (0 if error, 1 if correct). A difficulty parameter, δ, was adjusted as a function of the performance, δt+1 =−1 + 2 e(pt−p0)/γ (2.3) 33
where p0is the target performance (set to 0.95). The probability of each stimulus difficulty, ϕ, was drawn from a geometric cumulative distribution function (GEOCDF, Matlab): ϕt+1 =1−GEOCDFi, |δt+1| PN j=1 1−GEOCDFj, |δt+1|(2.4) where Nis the number of stimulus difficulties in the session, and takes a value from 2 to 4 (when N= 1, i.e. only one stimulus difficulty, this algorithm is not needed); icorresponds to the stimulus difficulty and is an integer from 1 to 4 (when δ > 0, the value 1 corresponds to the easiest stimuli and 4 to the most difficult one, and vice-versa when δ < 0). In this way, when |δ|is close to 0, corresponding to an average performance close to 0.95, the distribution of stimuli was close to uniform (i.e. all difficulties are equally likely to be presented). When performance is greater, then the relative probability of difficult trials increased; conversely, when the performance is lower, the relative probability of difficult trials decreased. Training phases VI and VIII were interrupted for both tasks when number of stimulus difficulties N= 4 and difficulty parameter δstabilized on a session-by-session basis. Each rat performed one session of 90 – 120 minutes per day (250 - 400 trials), 5 days per week for a period of ∼120 weeks. During testing, the adapting algorithms were turned off and each task was tested independently. 2.3.2 Reaction time paradigm The timing of task events are illustrated in Figure 2.1. Rats initiated a trial by entering the central odor-sampling port, which triggered the delivery of an odor with delay (dodor) drawn from a uniform distribution with a range of [0.3, 0.6] s. The odor was available for up to 1 s after odor 34
onset. Rats could exit from the odor port at any time after odor valve opening, and make a movement to either of the two reward ports. Trials in which the rat left the odor sampling port before odor valve opening (∼4% of trials) or before a minimum odor sampling time of 100 ms had elapsed (∼1% of trials) were considered invalid. Odor delivery was terminated as soon as the rat exited the odor port. Reaction time (the odor sampling duration) was calculated as the difference between odor valve actuation until odor port exit (Figure 2.1b) minus the delay from valve opening to odor reaching the nose. This delay was measured with a photo ionization detector (mini-PID, Aurora Scientific, Inc) and had a value of 53 ms. Reward was available for correct choices for up to 4 s after the rat left the odor sampling port. For correct trials, water was delivered from gravity-fed reservoirs regulated by solenoid valves after the rat entered the choice port, with a delay (dwater) drawn from a uniform distribution with a range of [0.1, 0.3] s. Trials in which the rat failed to respond to one of the two choice ports within the reward availability period (0.5% of trials) were also considered invalid. Reward amount (wrew), determined by valve opening duration, was set to 0.024 ml and calibrated regularly. A new trial was initiated when the rat entered odor port, as long as a minimum interval (dinter−trial), of 4 s from water delivery, had elapsed. Error choices resulted in water omission and a “time-out” penalty of 4 s added to dinter−trial. Behavioral accuracy was defined as the number of correct choices over the total number of correct and incorrect choices. Invalid trials (in total 5.8 ±0.8% of trials, mean ±SEM, n = 4 rats) were not included in the calculation of performance accuracy or reaction times. 2.3.3 Statistical and behavioral analysis All the behavioral, statistical analysis, fittings and computational simulations were performed in Matlab R . For more details please refer to Vicente (2015). 35
3.2 Introduction Itis commonly assumed that perceptual decisions are difficult because of sensory uncertainty, i.e. noise in the stimulus or stimulus transduction processes (Green & Swets, 1966). Both response time and accuracy depend on the amount of sensory noise (and thus difficulty) of a perceptual judgment. These effects have been long explored in the field of neuroscience (Green & Swets, 1966; Stevens, 1975; Ratcliff, 1978). Theories of stimulus scaling and decision mapping, which are essential for the understanding of accuracy, are the fundamental principles behind signal detection theory (Green & Swets, 1966; Macmillan & Creelman, 1991). Conversely, response time has long been addressed by sequential sampling theory (Luce, 1986). The crosstalk and interplay between these two fields is what gave rise to accumulation and diffusion models in decision-making (Palmer et al., 2005; Ratcliff & McKoon, 2008). The phenomenon of stimulus noise is what is believed to be the instigator of SATs in perceptual decision making (Gold & Shadlen, 2007) and can be captured by diverse integration models, such as the accumulator model (Smith & Vickers, 1988), the two-race competition model (Usher & McClelland, 2001) and the drift-diffusion model (DDM; Figure 3.1). These models have been used to explain a wide range of response time and choice behavior data in species from primates (Palmer et al., 2005; Hanks, Kiani, & Shadlen, 2014) to insects (DasGupta, Ferreira, & Miesenb¨ock, 2014). The DDM posits that decisions are made when a decision variable (DV), whose drift rate µinfluences the accumulating evidence, reaches a response bound θ(Ratcliff, 1978; Ratcliff & McKoon, 2008; Bogacz, Brown, Moehlis, Holmes, & Cohen, 2006; Link, 1992). The drift rate is proportional to the strength of the evidence but noise gives rise to variability in the response even upon repeated presentation of the same stimulus (Ratcliff, 1978). The average path of diffusion for a given stimulus 42
Time Evidence Criterion for “go left” Criterion for “go right” θ µ -θ Figure 3.1. Drift-diffusion model. An example path of a “go left” decision. The model integrates noisy momentary evidence over time and makes a decision when one of the criteria is reached. The accuracy and speed of the model depends of the signal-to-noise ratio, i.e. the drift rate µ, here represented as the black arrow. is what is defined as mean drift-rate. If one considers the variance of the noise process to be constant over time, mean drift rate can be considered a proxy for signal-to-noise ratio (Gold & Shadlen, 2007). Still, the DDM is not exclusive to sensory uncertainty and noise. Ratcliff and Smith have shown this by adding parameter variability at various levels of the diffusion model (Ratcliff, 1978; Ratcliff & Smith, 2004). These studies focused on differences between correct and error response times and distributions. By looking into a wide range of perceptual and memory tasks, they showed that certain behavioral traits are only explainable if one takes extra forms of variability into account. Multiple versions of accumulator models have been shown to replicate similar results (Ratcliff & Smith, 2004; Usher & McClelland, 2001; Smith & Vickers, 1988). And in many cases deep-level analysis have revealed that distinguishing between these different models might be an extremely fastidious and difficult task (Ditterich, 2006; Ratcliff & Smith, 43
2004). However, the DDM does offer the advantage of closed form analytical solutions and a framework that is easy to replicate and test in-silico (Ratcliff, 1978). In fact, given the correct neural-network architecture, the DDM is, in many cases, equivalent to other integration models (Gold & Shadlen, 2007; Ratcliff & Smith, 2004; Churchland et al., 2011; Drugowitsch et al., 2012). Considering these ideas, we investigated the amount of noise existent in our two tasks, by taking a modeling strategy with the DDM framework as a starting point. However, we decided to implement a flexible model structure (Figure 3.2) that allowed us to change the model iteratively and generalize/hypothesize what might be occurring at a neural level. We did so in order to test which variables are fundamental to explain the differences seen between the identification and categorization tasks and shed light over which sources of uncertainty are needed to explain our behavioral data. 3.3 Sensory noise and the diffusion-to-bound model In order to explore further which variables might be constraining the rats’ behavioral performance, we implemented a diffusion-to-bound model of the kind commonly used to explain performance and reaction time in psychophysical tasks (DDM; Figure 3.2). Perceptual intensity in olfaction, as in other modalities (Palmer et al., 2005; Brunton et al., 2013), can be well-described using a power law (Stevens, 1957, 1975; Wojcik & Sirotin, 2015). We therefore defined the mean strength of sensory evidence µfor each odor using a power law of the odor concentration (Figure 2.4a-b), µi(ci) = kcβ i(3.1) 44
where kand βare free parameters (Palmer et al., 2005). We constrained kand βto be identical between the two odors, which were stereoisomers with identical vapor pressures and similar intensities (Uchida & Mainen, 2003; Taniguchi et al., 1992; Pierce et al., 1995; Laska et al., 2004). IntegrationSensory Decision Drift diffusion model (DDM) Figure 3.2. Three-layered DDM model. The model consists of three layers Sensory, Integration and Decision. At the Sensory layer, concentrations are transformed into rates that are contaminated with noise σ. These rates are then integrated over time (Integration layer) and combined into a Decision layer. The model’s choice will be the bound that is hit first by the evidence particle e. Note that the choice of weights (-1 and 1) for the Decision layer allows it to effectively be a Drift-Diffusion model with collapsing bounds. This model presents 6 parameters. The DDM is composed of sensory, integration and decision layers. The sensory layer implements a transformation of concentrations into momentary evidence for odors Aand B. Evidence at each time step is drawn from a normal distribution mi(t) : N(µi, σ), where σ= 1 is the standard deviation of the variability corrupting the true rate, µi. The integration layer, which also consists of two units, integrates the noisy evidence over time independently for each odor. The last step of the model consists of 45
a unit that takes the difference between the two integrated inputs. If this difference exceeds a given bound, θor −θ, the model stops and makes a choice according to the bound that was hit: left for θ, right for −θ. Finally, we allowed for a time-dependent decrease in the bound height (“collapsing bound”) with exponential decay rate 1/τθ, as has been used to mimic an urgency signal (Churchland et al., 2011; Drugowitsch et al., 2012). 3.3.1 Model implementation For a given stimulus with concentrations cAand cBwe define the accumulated evidence at time t,e(t). The diffusion process has the following properties: at time t= 0 the accumulated combined evidence is zero, e(0) = 0; and the momentary evidence miis a random variable that is independent at each time step. We discretized time in steps of 1 ms and run numerical simulations of multiple runs/trials. For each new time step t=n∆twe generate a new momentary evidence draw: µi(t) = min∆t=Nkcβ i, σ(3.2) that is, through a normally distributed random generator with a mean of kcβ i, in which we define kas the sensitive parameter, and βas the exponent parameter. σdefines the amount of noise in the generation of momentary evidences. We set σto 1, making kcβ iequivalent to the signal-to-noise ratio for a particular stimulus and respective combination of concentrations (cA,cB). Integrated evidences (s1,s2) are simply the integration of the momentary evidences over time si(t) = Zt 0 mi(τ)dτ (3.3) 46
We translate this in our discretized version as a cumulative sum at all time steps, effectively being: sin∆t= n X j=0 mij∆t.(3.4) We then define the decision variable accumulated evidence as: e(t) = s1(t)−s2(t) (3.5) or in it’s discretized version: en∆t=s1n∆t−s2n∆t(3.6) We also define the decision bound and make it collapse over time through an exponential decay. Thus, at timestep nthe bound is: θ(t) = θn∆t=θ0e−n∆t/τθ(3.7) where we define θ0as the bound height at the starting point of integration (t= 0) and τθas the bound height mean lifetime. This τθdefines the level of urgency in a decision, the smaller it becomes, the more urgent a given decision will become, given rise to more errors (Churchland et al., 2011; Drugowitsch et al., 2012). The model iteratively compares the accumulated evidence at each time step to the bound, if en∆t)> θn∆tor en∆t)<−θn∆tthen the integration process stops. We define time at the decision tdas the time when crossing occurred, and a choice is made for trial T: CT=choice = left, e(td)>0 right, e(td)<0 (3.8) 47
and end up setting e(td) to θ(td) or −θ(td), according to the crossed threshold. This is important for later versions of the model in order to avoid overshooting learning (Chapter 5). Additionally our model incorporates a lapse rate for the decision, lr. That is, for any decision there is a chance lrthat the model will make the opposite decision randomly and regardless of the stimulus being presented. This is necessary to fit a saturated response for the very easy trials, as they never reach complete 100% accuracy. These lapse rates are typically needed for this type of models and have been hypothesized in the past to be due to effects of attention and/or exploration (Wichmann & Hill, 2001). Lastly, the reaction time for a particular trial is then corrected considering a non-decision time variable tND that scales the reaction times given by the integration process: t0=tND +td(3.9) The model is run for 1,000,000 trials for each combination of parameters unless when explicitly said otherwise in the text. Free parameters for this particular version of the model are 6: sensitivity (k), exponent (β), non-decision time (tND), initial bound height (θ0), collapsing bound mean lifetime (τβ) and lapse rate (lr). 3.3.2 Model fitting We fit our models through log-likelihood maximization (Palmer et al., 2005). However, we differ from that study by using an urgency signal in the form of a collapsing bound, plus trial-by-trial variation of bias and stimulus weights (Chapter 5). For that reason, we cannot apply the same or even any closed form analytical predictions (Ratcliff, 1978). Thus, we simulate numerically every single iteration of the model by discretizing time in 1 48
ms time bins. For any particular combination of parameters, we simulate 1,000,000 trials. Let tT(x) be the mean response time of our simulated trials for a given stimulus x. Considering a Gaussian approximation of the reaction time distribution, the likelihood LTof the observed mean response time ¯ tT(x) given the predicted response is: LT(x) = 1 σ¯ t√2πexp"−tT(x)−¯ tT(x)2 2σ2 ¯ t#(3.10) where σ¯ tis the predicted standard error of the mean given nobserved trials. This means that even though the estimate of tTfrom the model is obtained by simulating 1,000,000 trials, the expected variance of those responses is set to consider the observed number of trials in the data for a given stimulus. σ¯ tis also corrected to have a residual time variance of (0.1tND)2in order to prevent the overall variance from approaching zero in easy trials (Palmer et al., 2005). For accuracy we assume a binomial distribution. The likelihood of LP of the observed responses rout of ntrials given the predicted simulated proportion Pcis: LP(x) = n! r!(n−r)!Pc(x)r1−Pc(x)n−r(3.11) The log-likelihoods are then summed over the stimulus strength conditions ln(L) = X x lnLT(x)+X x lnLP(x)(3.12) This quantity is maximized iteratively adjusting the model parameters through the usage of MatlabR function fminsearch (Nelder-Mead simplex algorithm), by minimizing −ln(L). 49
3.3.3 Model comparison Throughout this study we compare the quality of different models in explaining our behavioral data. Direct comparison between models with the same number of parameters can be done by evaluating directly the loglikelihoods. However, this becomes troublesome when comparing models with a different number of parameters. For comparison between models with different number of parameters we use Bayesian information criterion (BIC) for model selection (Schwarz, 1978). For each model we calculate the BIC (Wit, van den Heuvel, & Romeijn, 2012): BIC =−2ln(L) + q·ln(n) (3.13) where qis the number of free parameters fitted and nthe number of data points to be fitted (16 for isolated fits, 32 for simultaneous fits). Each model has a BIC associated to it. The difference between the BICs (∆BIC) dictates the explanatory strength of one model in relation to the other. The model with the lower BIC is preferred and the evidence in favor is strong if ∆BIC > 6 in comparison with the higher BIC model (Kass & Raftery, 1995). Note that the estimate for BIC in the independent fits (Figure 3.4) is probably under-estimated, as the approximation used for Equation 3.13 considers that qn(Wit et al., 2012). 3.3.4 Fitting individual rats In order to validate our implemented DDM with collapsing bounds and to control for in-between subject variability, we fitted our DDM to each individual rat and task (Figure 3.3). Each rat presented a clear difference between the amount of RT traded for accuracy dependent on the task at hand and each individual DDM captured this property. By analyzing the DDMs’ parameters and their respective values (Table 3.1), we can see that each rat presents a unique solution for each individual task. However, a 50
closer inspection reveals that for certain parameters this is more prone than for others. Subjective and context dependent parameters such as tND, integration threshold (Palmer et al., 2005), lapses (Wichmann & Hill, 2001) and collapse bound rate (Drugowitsch et al., 2012) are not surprisingly variable between rats. However, parameters that are related to stimulus such as kand βare more variable between tasks than in between rats, in particular for sensitivity parameter kin which we see a 10- fold decrease for all rats except #2 (Table 3.1). These results indicate that the difference in stimulus between the two tasks plays a more significant effect than in-between subject variability. Rat Task k β θ0τθ(ms) tND(ms) lr(%) ln(L) #1 Id. 0.325 0.408 8.98 405 252 4.85 -18.4 Cat. 0.089 0.636 6.37 562 253 0 -21.9 #2 Id. 0.445 0.485 9.52 346 309 1.80 -19.8 Cat. 0.501 0.861 4.87 547 314 1.66 -21.8 #3 Id. 0.425 0.450 11.7 471 254 2.49 -32.2 Cat. 0.019 0.513 11.3 775 177 0 -29.9 #4 Id. 0.711 0.514 14.5 552 265 2.60 -40.4 Cat. 0.013 0.533 15.6 838 107 0 -25.9 Table 3.1. DDM best-fit parameters for individual rats and tasks. 51
of Gaussian noise (defined as “memory noise”) showed aptitude to capture categorization performance (Kepecs, Uchida, & Mainen, 2008). Our novel identification task allows us to further explore these results by having a better grasp of the amount of sensory noise that the rats are subjected to. In particular, the addition of a DDM allows us to quantify the influence and effects of sensory versus “memory” noise. In this section we explored what occurs when additional noise is added at the decision layer (after integration layer). 3.4.1 Whitening of DDM responses Our first approach was to consider the simplest version of DDM (Figure 3.1). In this particular case we decided to ignore the collapsing bound so that we could infer the performance and reaction times continuously by taking into account the closed form solutions of DDM (Palmer et al., 2005). These solutions predict that for accuracy the observed curve should be of the form: PC(x) = 1−lr 1 + e−2θk|x|β(3.14) and for RTs: tT(x) = θ kxβtanh θkxβ+tND (3.15) The introduction of Gaussian noise at the decision layer (Kepecs, Uchida, & Mainen, 2008) can be interpreted in multiple ways: due to an ongoing change of the stimulus representation of the boundary, a noisy memory of that same boundary (Kepecs, Uchida, Zariwala, & Mainen, 2008) or an everlasting change in the rodent’s choice function (for example, an ongoing change of the temperature parameter of a “softmax” choice function; Sutton & Barto, 1998). Regardless of the scenario, these hypotheses would generate the same observation at the level of the chrono- 58
and psycho-metric functions as they would add white noise to the responses of a hypothetically ideal DDM (Ratcliff, 1978). We tested this by creating a new function for both performance and RTs. We convolve Equations 3.14 and 3.15 to a Gaussian Kernel (Figure 3.7) with zero mean, g(0, σ2) . ˜ PC(x)=(PC∗g)(x) = Z∞ −∞ PC(x−χ) exp −x2 2σ2dχ (3.16) ˜ tT(x) = (tT∗g)(x) = Z∞ −∞ tT(x−χ) exp −x2 2σ2dχ (3.17) which can now be fed into the log-likelihood function from Equation 3.12. We now force this model to fit both tasks simultaneously, but assuming that all DDM parameters have to be shared between tasks plus σ. The model fits can be found in Figure 3.7 and its respective parameters in Table 3.4. k β θ tND(ms)lr(%) σ 2.55 0.512 3.54 266 2.86 0.753 Table 3.4. Parameters for DDM convolved with Gaussian kernel. By adding this “whitening” of the DDM functions we were able to fit both tasks with the same set of parameters. These results indicate that an additional source of variability, that was not originally accounted for in the simple DDM, is influencing performance in these olfactory tasks. 59
σ Time Evidence Criterion for “go left” Criterion for “go right” θ µ -θ a 50 100 Accuracy (%) 300 400 RT (ms) 10-4 10-1 Log conc. (v/v) 50 100 Accuracy (%) 10-4 10-1 Log conc. (v/v) 300 400 RT (ms) 0 100 Contrast (%) 0 100 Contrast (%) b c Identification (Id) Gaussian Categorization (Cat) Figure 3.7. DDM convolution with Gaussian kernel. (a) Crono- and psychometric DDM functions are convoluted with a Gaussian kernel with width σ.(b,c) Fitting results for accuracy and RTs for both identification (a) and categorization (b) tasks. Solid black line – best fitted model to both datasets. Error bars are mean ±SEM over trials and rats. 60
3.4.2 Random weight noise We now aimed to understand what is the source behind the whitening of our accumulator model responses. To do that we recovered our original discretized three-layer DDM (Figure 3.2). In that particular version of the model we combined the integrated evidences by considering optimal weights 1 and −1 (Equation 3.5). We now relax this assumption and define w1and w2: e(t) = w1s1(t) + w2s2(t) (3.18) influencing our accumulated evidence particle eon a trial-by-trial basis. Each trial a new set of weights are picked from two random distribution Nwiwith mean 1 and -1 respectively, but with shared variance of σ2 w (Figure 3.8). This effectively is equivalent to adding random noise to the drift rates that compose our DDM (Ratcliff & Smith, 2004). This model has the 6 original parameters from the DDM plus the weights noise σw. We simulated 1,000,000 trials and fit the model to both datasets iteratively (Figure 3.9). These fluctuations allowed us to find a convergent solution for both tasks (Table 3.5). k β θ τθtND(ms)lr(%) σw 2.43 0.651 10.1 820 2.86 280 0.409 Table 3.5. Parameters for DDM with random weights noise. These results show the existence of an additional source of variability that affects the mapping of stimuli into actions. However, the nature of this variability is still unclear as many explanations (or a combination of them) could instigate similar results – random noise injected by the brain, a deliberate strategy from the rats, an imperfect memory representation of the boundary and/or the effects of learning still occurring. 61
IntegrationSensory Decision DDM with random weight fluctuations Figure 3.8. DDM with random trial-by-trial weight fluctuations. DDM (Figure 3.2) is expanded to include random weight fluctuation for stimulus weights wion a trial-by-trial basis. This is done by feeding the Decision layer with random weights sampled from a Gaussian process. This model presents 7 parameters (6 from the original DDM + 1 more for the variance of the Gaussian process). In the next Chapters we explore potential sources that could be originating these apparent differences between fast (stimulus related) and slow (trial-by-trial) sources of noise. 62
50 100 Accuracy (%) 300 400 RT (ms) 10-4 10-1 Log conc. (v/v) 50 100 Accuracy (%) 10-4 10-1 Log conc. (v/v) 300 400 RT (ms) 0 100 Contrast (%) 0 100 Contrast (%) a b Identification (Id) Categorization (Cat) Figure 3.9. DDM with random trial-by-trial weight fluctuations fits both tasks. (a,b) Choice accuracy and reaction times in identification task (a) and categorization task (b). Solid black lines show fits of the model to the identification (a), and categorization task (b). Error bars show SEM across rats and trials. 63
Chapter 4 Reward, errors and biases “I am error” – A bearded host, The Legend of Zelda II 64
4.1 Chapter Summary In the previous Chapter we were unable to fit both odor identification and mixture categorization tasks simultaneously, indicating that stimulus noise was insufficient to explain the observed differences between them. Additionally, we demonstrated that by adding a “slow” type of noise we were able explain both tasks. In this Chapter, we aim to explore what might be the fundamental principle(s) behind such “slow” noise. We do so by taking a purely behavioral analysis approach of both performance and choice biases. Our analysis is divided at two levels of resolution – session-by-session and trialby-trial. Thus, this Chapter is divided in three sections: •Introduction – a brief introduction regarding rewards and how Matching law might give rise to changes in choice bias. •Session-by-session performance and choice bias – in this section we look at performance and choice bias fluctuations at a sessionby-session level. •Trial-by-trial changes in choice bias – in which we increase our lens resolution and look at performance and bias on a trial-by-trial basis. 65
4.2 Introduction Until now we have considered that all uncertainty comes from stochasticity in incoming sensory evidence. However, one possible explanation for the overestimate of accuracy in the categorization task is an additional source of variability that impacts this task preferentially (Uchida et al., 2006; Zariwala et al., 2013). But what is the nature of such variability? A previous study in rodent visual contrast discrimination showed that, despite obtaining overall high-quality psychometric curves, many sessions presented responses with large biases and high error rates (Busse et al., 2011). The analyzed mice had suboptimal strategies that were influenced by nonvisual factors. In particular, past choices and reward expectations. The field of decision-making has long recognized reward expectation as playing a significant role in animal behavior (Herrnstein, 1961, 1970, 1974; Herrnstein & Loveland, 1975; Corrado et al., 2005; Kepecs, Uchida, Zariwala, & Mainen, 2008; Zariwala et al., 2013; Lau & Glimcher, 2005). In fact, learning theory focuses on the study of allocation of behavior in response to the rate of received rewards (Sutton & Barto, 1998). Historically, Richard Herrnstein is considered to be the grandfather of reward influences as he proposed the renowned Matching Law (Herrnstein, 1961, 1970, 1974; Herrnstein & Loveland, 1975). ML states that the choice ratio of one particular behavior from a set of behaviors should be proportional to the ratio of the average reinforcement received for that same behavior. This fundamental relationship in neuroscience has now been well established and confirmed across a variety of species (Corrado et al., 2005; Baum, 1983, 1979; Busse et al., 2011; Gallistel, Mark, King, & Latham, 2001; Davison & Baum, 2000) More recent versions of ML by Baum (Baum, 1974, 1979, 1983), Davison (Davison & Baum, 2000; Baum & Davison, 2004) and Gallistel 66
(Gallistel et al., 2001; Mark & Gallistel, 1994) have described a wide variety of behaviors under different reinforcement contingencies and reinforcement manipulations (e.g. delay, reward type, value). These observations have brought forward the importance of observing the dynamics of a biological system as it operates in a state of apparent flux. More specifically and related to the scope of this thesis, matching law and the pursue for rewards have been shown to create biases (Baum, 1974, 1979, 1983). In fact, given the right conditions the emergence of these choice biases might be considered as an optimal strategy (Baum, 1983). Furthermore, reward schedules have been shown to modulate value-based decision making (Corrado et al., 2005; Lau & Glimcher, 2005). However, reward expectations go to deeper levels than just action selection and value. For instance, reward expectation has been shown to influence performance and RTs in perceptual tasks (Zariwala et al., 2013; Lauwereyns, Watanabe, Coe, & Hikosaka, 2002; Roesch & Olson, 2004), implying that perception can actually be influenced by rewards. Taking this knowledge into consideration, we hypothesized that ongoing fluctuations in the animals’ mapping from odors to choice directions or, equivalently, their representation of the categorical boundary, might limit performance. Such fluctuations might be generated by reward expectations and reinforcement-driven learning processes. To explore this we decided to take a look at performance and choice biases (Busse et al., 2011). 4.3 Session-by-session performance and choice bias We first verified that the animals’ had learned each task fully. To do so we quantified the performance of each rat at a session-by-session level. We consider the number of correct responses rand divide it by the total 67
in the same direction as the prior trial and ∆CB(xT−1)<0 indicating a greater likelihood of making a choice in the opposite direction. We also calculated the equivalent updating curves conditional on the trial being incorrect and a given stimulus being delivered (Figure 4.5). These responses are more noisy and thus more difficult to analyze (due to the fact that error trials are less than correct trials). At first glance, these results seem be in agreement with what was reported for rewarded trials, as the sign is in the opposite direction. However, a closer analysis of the curve’s shape indicates that the error for that particular trial is more likely to be repeated when compared to the mean response. The explanation for this resides on the fact that our measurement is in relation to the mean psychometric curve, and thus reflecting a bout of incorrect trials. To illustrate this point we plotted the conditional psychometric curves in identification task for trials Tand T−2 after an easy trial error (10−1A/0B) at T−1 in relation to the mean psychometric curve (Figure 4.6). What we saw was a change in the direction of the psychometric curve towards the mean (from green curve towards red in Figure 4.6), as expected from prediction error, albeit it not being sufficiently large to move above the mean performance. In general, rats showed a tendency to repeat a choice in the same direction that was rewarded in the previous trial (“win-stay”; Figure 4.7), consistent with previous results (Busse et al., 2011). But this analysis revealed a qualitative difference between the identification and categorization tasks with respect to how the stimulus in the past trial impacted the change in bias (Figure 4.4). For the identification task, the influence of the previous trial was stimulus independent (Figure 4.4e, one-way ANOVA, F(3,12) = 2.0, p= 0.17). In contrast, for the categorization task (Figure 4.4f) the influence of the previous trial showed a graded dependence on the stimulus, being larger for a difficult previous choice than for an easier one (F(3,12) = 25.4, p < 10−5). For error conditioned updating curves it 74
Identification (Id) - after correct Categorization (Cat) - after correct 12% 36% 100% 60% b 0 0 1 1 Fraction left choices 0100 Conc. odor A (%) 50 50 10-1 10-2 10-4 10-3 a 0 0 1 1 Fraction left choices Log conc. A-B (v/v) -10-1 10-3 -10-3 10-1 −10 0 30 ∆ choice bias (%) e 10-4 10-1 Log conc. (v/v) Previous stim. −10 0 30 ∆ choice bias (%) f 0 100 Contrast (%) Previous stim. Log conc. (v/v) Previous stim. −30 0 30 -1 -4 4 1 ∆ choice bias (%) c Conc. odor A (%) Previous stim. −30 0 30 ∆ choice bias (%) 0 68 10032 d Figure 4.4. Reward history effects are still present despite overall stabilized performance. (a,b) Psychometric functions for mean (black solid line) and conditional curves following a reward and a given stimulus. For the identification task all four stimuli from 10−1to 10−4are depicted (a). For the categorization task from 100 to 12% mixture contrast (b). Green points and lines represent trials following a right-reward (B > A) and blue trials following a left-reward (A > B). Lines represent fits of a cumulative Gaussian to the data (Busse et al., 2011). Red arrows in (a) elucidate the measured change in choice bias. (c,d) Full updating curves for change in choice bias. Change in choice bias after a correct choice and a given stimulus. Data presented for identification (c) and categorization task (d). (e,f) Collapsed change in choice bias plotted as a function of the previous difficulty, for plots in (a,b). All four different odor concentrations for identification task (e); and all mixture contrasts for categorization (f). Error bars represent SEM over 4 rats. 75
−30 20 ∆ choice bias (%) 0 0 100 Contrast (%) Previous stim. Identification (Id) - after error Categorization (Cat) - after error Log conc. (v/v) Previous stim. −30 0 20 ∆ choice bias (%) 10-4 10-1 Conc. odor A (%) Previous stim. −30 0 30 ∆ choice bias (%) 0 68 10032 Log conc. (v/v) Previous stim. −30 0 30 -1 -4 4 1 ∆ choice bias (%) ab cd Figure 4.5. Updating curves for change in choice bias after an error response for both tasks. (a,b,c,d) Change in choice bias after an error and a given stimulus. Data presented for identification (a,b) and categorization task (c,d). (a,c) Change in choice bias modulated by stimulus concentration. (b,d) Change in choice bias modulated by stimulus difficulty (contrast). Curves show a symmetric effect to what is seen in correct trials. Error bars show SEM across rats. was not possible to infer with reliability the stimulus dependence due to the smaller number of trials (Figure 4.5). These results were also consistent at the individual rat level, as all rats show no effect of stimulus difficulty in change of choice bias for the identification task (rat 1, F(3,59) = 2.5, p= 0.069; rat 2, F(3,59) = 2.34, p= 0.08; rat 3, F(3,55) = 2.46, p= 0.07; rat 4, F(3,51) = 1.54, p= 0.21). On the other hand, for the categorization task all rats showed stimulus 76
0 1 Fraction left choices Log conc. A-B (v/v) -10-1 -10-3 10-3 10-1 T-2 T mean Figure 4.6. Conditional psychometric curves for trials Tand T−2 after an easy trial error in identification task. Mean psychometric curve for all trials is shown in black. Green line depicts the psychometric curve for all trials that preceded an easy left decision error; red line the psychometric curve in trials that followed that same error. Note that performance improved in relation to the green line, despite the red line being below the black line. This fact explains the inversion seen in Figure 4.5. difficulty modulation in choice biases (rat 1, F(3,55) = 4.39, p < 0.01; rat 2, F(3,55) = 11.7, p < 10−5; rat 3, F(3,55) = 22.7, p < 10−4; rat 4, F(3,51) = 3.35, p < 0.05). These results suggest that rewards have an important role in these two tasks. However, the effects of reward expectations were unaccounted for in our previous DDM. More specifically, the interaction with stimulus difficulty seen for the categorization task led us to hypothesize that reinforcement learning plays a vital role, despite the fact that at a higher resolution the rats seem to not be improving over sessions (Figure 4.3). 77
−10 0 30 ∆ choice bias (%) 0 100 −10 0 30 ∆ choice bias (%) 0 100 −10 0 30 ∆ choice bias (%) 0 100 Contrast (%) Previous stim. −10 0 30 ∆ choice bias (%) 0 100 Contrast (%) Previous stim. Identification (Id) Categorization (Cat) Log conc. (v/v) Previous stim. Log conc. (v/v) Previous stim. −10 0 30 ∆ choice bias (%) Rat 1 Rat 2 10-4 10-1 −10 0 30 ∆ choice bias (%) 10-4 10-1 −10 0 30 ∆ choice bias (%) Rat 3 10-4 10-1 −10 0 30 ∆ choice bias (%) 10-4 10-1 Rat 4 Rat 1 Rat 2 Rat 3 Rat 4 a b Figure 4.7. Updating curves for change in choice bias after rewarded trials for all individual rats and tasks. (a,b) Change in choice bias after rewarded choice and a given stimulus. Data presented for identification (a) and categorization task (b) for all 4 rats. Error bars show SEM across sessions. 78
Chapter 5 Reinforcement learning and uncertainty “Everything not saved will be lost” – Quit screen message, Nintendo 79
5.1 Chapter Summary In the previous Chapter we saw that despite the fact that performance was not improving over sessions, there was an effect of “updating” in the rats’ choice biases on a trial-by-trial basis. We further demonstrated that the nature of this updating was task specific. In this Chapter, we aim to explore what might be the rules behind these updating effects. We do so by combining our DDM model with an RL delta rule. We will see that our model is able to fit both tasks simultaneously and predict a series of different behavioral results, validating our proposed framework. This chapter is divided in four sections: •Introduction – a brief introduction about signal detection theory, sequential analysis and reinforcement learning. •DDM with side bias – in this section we implement a model that includes a basic form of side bias that follows rewards and avoids errors. We demonstrate that just reward matching is insufficient to explain our behavioral data. •Reinforcement learning with DDM - the adaptive diffusion- to-bound model – where we further extend our model to now include stimulus dependent learning, fit the behavioral data and generate predictions. These predictions are then compared to the behavioral data. This section is the fundamental core of this thesis as it exposes its main findings. •The two-race accumulator model – in which we present a second version of an accumulator model combined with a RL rule. We demonstrate how these type of models can be generalized to different forms. 80
5.2 Introduction Wehave seen that there is a difference in the way speed and accuracy trade in odor identification and mixture categorization. In regards to the identification task the amount of SAT is much larger than categorization. That difference is probably due to the fact that the most difficult stimuli in the identification task are below detection threshold and thus signal-to-noise ratio massively reduced. In signal detection theory (SDT) the decision-maker obtains an observation of noisy evidence from the stimulus, that observation is then evaluated according to a given decision rule (Green & Swets, 1966; St¨uttgen, 2011). In simple binary decisions, the decision variable is typically related to the likelihood ratio of the different alternatives, and then compared to a criterion (Gold & Shadlen, 2007; Glimcher & Fehr, 2014). Sequential analysis (SA) is a natural extension to SDT that combines multiple pieces of evidence observed over time. Conceptually, the idea is that in the presence of uncertainty or noise, the decision maker can benefit from sampling multiple times from the noisy distribution of values representing the stimulus (Luce, 1986; Townsend & Ashby, 1983; Vickers, 1970; Vickers et al., 2014; Gregson, 2014; Usher & McClelland, 2001; Ratcliff & Smith, 2004). The parameters of these sequential sampling models allow quantifying several latent psychophysical processes, namely the speed of sensory information processing, given by the rate of accumulation; response caution, from the bound height; and the amount of time spent on processes unrelated to decision formation (Ratcliff & McKoon, 2008). In recent years, integrator models have gained prominence in the field of decision-making due to their ability to explain several features of behavioral and neural data (Ratcliff, Van Zandt, & McKoon, 1999; Palmer et al., 2005). However, decisions might be exposed to noise at a second layer that is not addressed by SDT or the SA framework in its simplistic form (although 81
see Krajbich, Armel, & Rangel, 2010; Krajbich & Rangel, 2011; Krajbich, Lu, Camerer, & Rangel, 2012; Milosavljevic, Malmaud, Huth, Koch, & Rangel, 2010 for applications of integration models in value-based choices). In fact, our lack of fitting capacity of a simple DDM that has shared properties between the two tasks points in that direction. Specifically, we saw that there is a “slow” component of noise that is not integrated within the course of a trial but shows influence on a trial-by-trial basis. This has not been the first time these influences have been observed in rodents (Busse et al., 2011). In that particular study, Busse et al. combined a SDT framework with a value-based decision model (Corrado et al., 2005; Lau & Glimcher, 2005) in order to create an extended probabilistic choice model. This model was successful in explaining the observed effects of choice bias in a 2AFC task. However, this model is related to a general bias that might be reflecting a form of Herrnstein’s matching law (Herrnstein, 1961, 1970, 1974; Herrnstein & Loveland, 1975; Baum, 1983; Busse et al., 2011). For our particular case the existence of a stimulus dependent change in bias appears to be a missing piece of the puzzle. In this Chapter we focused our attention in reinforcement learning (RL). In classical conditioning, reinforcers are delivered independently of any action taken by the animal (Rescorla, 1988). In instrumental conditioning, the actions of a subject determine what reinforcer is obtained (Dickinson, 1980; Mackintosh, 1983; Shanks, 1995). Learning about stimuli or actions taking into account just rewards and errors (punishments) is the core concept behind the principles of RL (Sutton & Barto, 1998, 1990). In both classical and instrumental conditioning predicting a reward has been shown to play an important role in explaining a multitude of different behaviors (Shanks, 1995; Sutton & Barto, 1990). In particular, the Rescorla-Wagner delta-rule (Rescorla & Wagner, 1972) gives a concise account of certain aspects of conditioning and behavior (Mackintosh, 1983; Gallistel, 1993; Shanks, 1995). 82
What we aimed to do in this Chapter was to combine these two fields of knowledge. We hypothesized that our two tasks exist at a plane in which the interaction between a detection process and a value-guided choice is of paramount importance. 5.3 DDM with side bias The most simplistic version of a standard diffusion-to-bound model does not predict changes in choice bias at any level (both at session-by-session and trial-by-trial levels). We therefore sought to extend the model with an extra source of variability that can account for the choice biases. Our first approach was to consider a general reward bias that has been reported in rodents performing a visual discrimination task (Busse et al., 2011). Our first question was to address whether this model could replicate what was seen in the data and in particular for the categorization task. 5.3.1 Model implementation This first extended version of our three layered DDM (Figure 5.1) is in all ways similar to the previous one (Figure 3.2), except for two parts: when defining the accumulated evidence e; and a trial-to-trial dependency that was not present in the previous model. We define bias term b, a scalar that is taken into account at each trial. This scalar sets the initial value of accumulated evidence: e(t= 0) = e0=wbb=wb(5.1) wbis a weight parameter that determines how strong bis for this particular trial. As bis simply a constant that is modulated by the value of wb(i.e. they tradeoff) we set it to 1. The process then continues normally with 83
variability in the drift rate (Ratcliff, 1978), though not from a stochastic source, but from a deterministic learning rule. We updated the stimulus weights with a variation of the delta rule. But, critically, the error signal was based on the difference between the actual outcome and a quantitative estimate of the expected outcome. To achieve this, we used the difference between the rewarded outcome of the choice (λ, taking the values -1, 1 and 0, as before) and the relative amount of sensory evidence at the time of the choice, e(td). We normalized by dividing the maximum possible evidence, which is the value of the bound at time 0, θ0, giving: ∆~w =αλ−e(td) θ0~s (5.12) in which αis the learning rate. After updating, the weights are normalized before starting the next trial through the following rule (Dayan & Abbott, 2005): ~w =~w k~w k=~w pw2 1+w2 2 (5.13) This normalization step is not necessary, but important to avoid explosion in weight values and thus stabilize the fitting procedure. All the results presented in this thesis have been validated with this normalization, with a different type of normalization (cutoff at 1 and −1) and without (data not shown). Initial value for wbis set to zero (unbiased), and (w1,w2) to perfect drift-diffusion (1/√2, -1/√2). The model is run for 1,000,000 trials for each combination of parameters unless when explicitly detailed otherwise. Free parameters for this version of the model are 7 – sensitivity (k), exponent (β), non-decision time (tND), initial bound height (θ0), collapsing bound mean lifetime (τ), lapse rate (lr) and stimulus learning rate (α). 90
This learning rule introduces just one new parameter, the learning rate, α. To see the effect of this rule, consider that the stopping rule dictates that sensory evidence e(td) must reach the bound for a decision to be taken. However, because the bound height is collapsing, i.e. monotonically decreasing in time according to θ(t) = θ0e−t/τ , the evidence at the time the choice is made must decrease in time. Trials with more difficult stimuli and longer decision times will therefore be associated with on average lower evidence at decision time (Churchland, Kiani, & Shadlen, 2008; Drugowitsch et al., 2012); this implies more weight change or updating. The bias term, wb, represents stimulus-independent effects such as biases associated with the reward port itself. It is also equivalent to specifying the starting position in the drift-diffusion process or changing the bound heights (Ratcliff, 1978; Mulder et al., 2012). As stated above, the input bis constant and unvarying from trial to trial (b= 1), but wbis updated on a trial-by-trial manner though independently of the presented stimulus through Equation 5.3 with learning bias set by Equation 5.8. The amount of change in wbis set to mimic the stimulus independent change in bias component seen in the data (Figure 5.2c). Note that by adding trial-by-trial learning we have effectively created a model that not only has integration of evidence within a trial, as it also integrates across recent trial outcomes. Furthermore, by separating the stimulus dependent and stimulus-independent components we can distinguish the effect of reward on bias and its interaction with stimulus. 5.4.2 Model fitting Here, to test the ability of the RL-DDM to capture performance in both tasks, we again used the procedure of first fitting one task (identification) and then attempting to predict the second task (categorization). The addition of the reinforcement learning rule preserved the ability of the model to fit the identification task (Figure 5.4). This is expected, as 91
the DDM was already doing a good job fitting this task (Figure 3.5). Visual inspection of the fitting landscape showed that the RL-DDM was not well-constrained by the identification data (Figure 5.5a). We therefore attempted to fit the odor categorization data by only changing the learning rate, α. We implemented this by changing slightly our original fitting procedure. 50 100 Accuracy (%) a b 300 400 RT (ms) 10-4 10-1 Log conc. (v/v) 10-4 10-1 Log conc. (v/v) d 300 400 RT (ms) 10-4 10-1 Log conc. (v/v) Learning inactivated (αs= 0) Learning activated (αs= 9.8x10-3) 50 100 Accuracy (%) c 10-4 10-1 Log conc. (v/v) Figure 5.4. Stimulus learning influence on identification task. (a,b) Accuracy and reaction times plotted as a function of odor concentration (v/v) for the identification task. Line indicates DDM fit from Figure 3.4a. (c, d) Same as (a,b) but with stimulus learning activated with the best estimated parameter to fit categorization task. 92
We expanded the likelihood function (Equation 3.12) to constrain the learning parameter. For the identification data we allow all the parameters to change except the stimulus-learning α. ln(LI|α) = X c ln LT(c|α)+X c ln LP(c|α)(5.14) Where crepresents each individual concentration stimulus given. For the categorization data we allow αto change given that all the other parameters are held fixed. ln LC|k, β, tND, θ0, τ, lr=X m ln hLTm|k, β, tND, θ0, τ, lri +X m ln hLPm|k, β, tND, θ0, τ, lri(5.15) Where mrepresents each individual mixture. We then maximize the sum of the two log-likelihoods: ln L= ln LI|α+ ln LC|k, β, tND, θ0, τ, lr(5.16) We found that it was now possible to fit simultaneously the psychometric and chronometric curves of both identification and categorization tasks with a single set of parameters. Note that the inclusion of αhad a reduced effect for identification when the best fit parameter αwas activated (small decrease of performance for 10−4, however this was not a significant effect, t-test p= 0.75). This justified the inclusion of the fitting rule from Equation 5.16. Visual inspection of the fitting landscapes showed that, by taking into account the categorization data and Equation 5.16, αis now better constrained (Figure 5.5b). Lastly, we tested that our fitting procedure was converging to a stable solution. Visual inspection of the log-likelihood fitting landscapes showed that our model is converging into the maximum value possible (Figure 5.6, 93
θ αs (x10-3) 0 15.8 30 2.8 10 20 015.8 30 2.8 10 20 ba Identification data Id. and Cat. data θ Figure 5.5. Fitting landscapes for learning parameter when considering likelihood functions from Equation 3.12 (a) and 5.16 (b). (a,b) Fitting landscapes for αversus DDM threshold θ0for identification data before (a) and after accounting categorization data (b). Color map indicates minimum log likelihood in blue and maximum in red. White lines indicate the parameters that best fit all data. Note that the landscape is not well constrained for identification data only (a), but when accounted the categorization data αhas now a unique solution (b). best estimates highlighted in white). Best fitting parameters can be found in Table 5.1. 5.4.3 Fitting results As highlighted in the previous section, we found that it was now possible to fit simultaneously the psychometric and chronometric curves of both identification (Figure 5.7a,b) and categorization (Figure 5.7c,d) tasks with a single set of parameters (Table 5.1). Because the RL-DMM has one additional parameter, we conducted a Bayesian information criterion (BIC) analysis, which measures fitting quality with appropriate penalties for the number of parameters (Schwarz, 1978). The BIC model comparison showed that the RL-DDM with stimulus-dependent RL had superior performance to the vanilla DDM and its various variants (Figures 3.5 and 94
5.2) except the case of DDM with random weight noise (Figure 3.8; Table 5.1). Model Procedure k β θ0τ(ms) tND (ms) lr(%) α σwBIC DDM Fit Id., pred. Cat. 1.12 ×1000.479 11.1 441 274 3.06 n/a n/a 2208 DDM Fit Cat., pred. Id. 7.86 ×10−20.580 10.0 649 220 2.37 n/a n/a 3628 DDM Simul. fit 2.18 ×10−40.213 14.9 505 180 3.00 n/a n/a 2848 DDM+bias Fit Id., predict Cat. 1.92 ×1000.604 10.7 344 285 2.77 n/a n/a 2763 RL-DDM Fit Id., αfit to Cat. 1.92 ×1000.604 10.7 344 285 2.77 9.81 ×10−3n/a 170 DDM+random Fit Id., σwfit to Cat. 2.43 ×1000.651 10.1 820 280 4.54 n/a 0.409 132 Table 5.1. Fitted parameters and comparative goodness-of-fit for all versions of DDM used in this thesis. 0 15.8 30 2.8 10 20 αs (x10-3) a c b d β 0 0.68 1.2 0 15.8 30 k 0 3.4 8 0 15.8 30 θ 0 15.8 34 Lapse prob. (%) 3 15 30 θ θ θ Figure 5.6. Fitting landscapes for RL-DDM that maximize likelihood function from Equation 5.16. Color map indicates minimum log likelihood in blue and maximum in red. White lines indicate the parameters that best fit the data (Table 5.1). 95
5.4.4 Model predictions The RL-DDM also generated a prediction for the shape of historydependent choice bias (“updating”) for both tasks (Figure 5.7e,f). It is important to note that these functions were not fit, since the only data used for the fits were the trial-averaged accuracy and RT curves. Remarkably, the predictions of the model closely matched the data both qualitatively and quantitatively. For the categorization task, as expected, the model captured the strong dependence of the updating curve on stimulus difficulty (Figure 5.7f). This is due to the fact that for easy stimuli the predicted probability of a rewarded trial (i.e. the value of the evidence at stopping time) is nearly equal to 1 and there is little surprise and thus reduced learning. For the identification task the model was also able to capture the relative lack of stimulus dependence of the updating curve (Figure 5.7e). This is explained by the fact that there is a larger contribution of the stimulus-independent updating term (b) to choice bias, given the low stimulus concentrations in this task. This is in agreement with RL not affecting the model’s performance in identification (Figure 5.4), suggesting that identification is less susceptible to this form of variability, i.e. category boundary fluctuations. An intuition for such an effect is provided further below. These effects were also observable when considering the full updating curves (Figure 5.8). We have shown that ongoing changes of stimulus weights due to learning (equivalent to changing the categorization boundary) is capable of explaining both the accuracy and RT data on two tasks. But is learning necessary? Trial-by-trial random weight fluctuations can explain and actually outperform RL-DDM on the account of average behavioral data (Table 5.1). However, this version of the model has uncorrelated trial-by- trial noise, failing to predict the reward and stimulus dependent updating curves (Figure 5.10) and can therefore be rejected. 96
50 100 Accuracy (%) a b c d Identification (Id) Categorization (Cat) 300 400 RT (ms) 10-4 10-1 Log conc. (v/v) 50 100 Accuracy (%) 10-4 10-1 Log conc. (v/v) 300 400 RT (ms) 0 100 Contrast (%) 0 100 Contrast (%) −10 0 30 ∆ choice bias (%) f 0 100 Contrast (%) Previous stim. −10 0 30 ∆ choice bias (%) e 10-4 10-1 Log conc. (v/v) Previous stim. Figure 5.7. DDM with bias and stimulus learning explains identification and categorization task simultaneously. (a,b,c,d) Choice accuracy (fraction of correct trials) and odor sampling duration in identification task (a,b) and categorization task (c,d). Solid black line represents model with 6 parameters from the DDM fitted to identification task, plus the learning term, αs, that was allowed to change in order to fit the categorization task. (f,g) Changes in choice bias conditional on rewarded previous trial stimulus, for identification (f) and categorization (g) tasks. Red points correspond to behavioral data, and solid red line to the predicted change from the model fitted to (a-d). Shaded red area corresponds to the 95% confidence interval of the model when considering the observed number of trials in the behavioral data. 97
Identification (Id) Log conc. (v/v) Previous stim. −30 0 30 -1 -4 4 1 ∆ choice bias (%) a Log conc. (v/v) Previous stim. −30 0 30 -1 -4 4 1 ∆ choice bias (%) b Conc. odor A (%) Previous stim. −30 0 30 ∆ choice bias (%) 0 68 100 32 c Conc. odor A (%) Previous stim. −30 0 30 ∆ choice bias (%) 0 68 100 32 d DDM + Bias RL-DDM Categorization (Cat) DDM + Bias RL-DDM Figure 5.8. DDM+bias and RL-DDM predictions for full updating curves. (a,b,c,d) Change in choice bias after a correct choice and a given stimulus. Data presented for identification (a,b) and categorization tasks (c,d). Solid lines represent the predictions for DDM with bias (a,c) and RLDDM (b,d). Error bars show SEM across rats’ means. Shaded areas the predicted SEM from the model considering the same number of trials as observed in the data. The RL-DDM model not only predicts changes in bias on a trial-by- trial basis but also changes in RTs. By changing the integration weights we effectively changed the drift-rate and starting position of integration. A rewarded difficult stimulus should originate an increase of µin the rewarded direction. This implies an increase of choice bias accompanied by a decrease in integration time necessary to hit the same bound. 98
−10 0 30 ∆ choice bias (%) 10-4 10-1 Log conc. (v/v) Previous stim. −10 0 25 ∆ choice bias (%) 0 100 Contrast (%) Previous stim. Identification (Id) Categorization (Cat) b a Figure 5.9. DDM+bias with random weights fluctuations predictions for changes in choice bias. (a,b) Changes in choice bias after a correct choice and a given stimulus for both identification (a) and categorization (b) tasks. Solid lines represent the predictions for DDM+bias with random weights (Figure 3.8). Error bars show SEM across rats. We tested this prediction by looking at the change in RTs following a reward and a given stimulus difficulty in a similar way to what was done for choice bias (Figure 5.9). The obtained curves did show qualitative similar results despite not as striking as what was seen for choice bias. The model predicted that difficult rewarded stimuli should be followed by faster decisions towards the same direction in both tasks. As a final test of the RL-DDM we assessed whether it could predict the behavioral results for all the intermediate concentration levels of the mixture task. To do so, we fitted the model to the 8 pure odor stimuli (equivalent to the identification task) and the additional 6 highest concentration mixtures (equivalent to the categorization task). We then tested whether this model could predict the remaining 18 points (Figure 2.5a). Thus, we required the model to generalize to a novel set of stimuli on which it was not trained, a rigorous form of cross-validation. 99
combined before the decision layer (Figure 5.12a). This model quantifies the absolute evidence contrasting with the relative computation done in DDM (Ratcliff & McKoon, 2008; Usher & McClelland, 2001). Thus, for this version we now have two integration particles: ei=~wiZri(t)dt ±wb(5.20) The two races now compete and the decision made will correspond to the race that first reaches criterion θ. It is important to note that this model can be made equivalent to our RL-DDM due to the incorporation of a collapsing bound (Churchland et al., 2008; Gold & Shadlen, 2007). A collapsing bound can be thought of as an urgency signal that forces the DDM to commit to a faster decision by sacrificing the magnitude of the evidence difference. For 2RM we implemented a different learning rule that maintained the same flavor as our previously implemented delta rule. ∆~wi=αλ−f(~wi~r)f0(~wi~r)~r =α(λ−y)y(1 −y)~r (5.21) in which yis the logistic function that we used to apply the gradient descent learning while fitting our data iteratively. It can be though of as the predicted outcome expected by our model and depends on the difference between evidences ∆e(highlighted by the red line in Figure 5.12a). y=f(∆e) = 1 1 + exp ∆e(5.22) We followed a similar fitting procedure as what was done for the DDM: first we fitted the integration and stimulus dependent parameter do the identification task and then allowed the learning rate to change in order to 106
fit the categorization data. As we can see from Figure 5.12b-e we obtained similar results to what was seen for RL-DDM. This model demonstrates that the integration process can be implemented in a variety of ways and reemphasized that confidence based reinforcement learning is of paramount importance to explain mixture categorization performance. 107
A B rA=k A [ ] rB=k B [ ] L R w 11 w 12 w 21 w22 µ L=w11rA+w12rB µ R=w21rA+w22rB Evidence Time 0 Two - Race Model 50 100 Accuracy (%) b c e f Identification (Id) Categorization (Cat) 300 400 RT (ms) 10-4 10-1 Log conc. (v/v) 50 100 Accuracy (%) 10-4 10-1 Log conc. (v/v) 300 400 RT (ms) 0 100 Contrast (%) 0 100 Contrast (%) −10 0 30 ∆ choice bias (%) g 0 100 Contrast (%) Previous stim. −10 0 30 ∆ choice bias (%) d 10-4 10-1 Log conc. (v/v) Previous stim. a Figure 5.13. Two-race model with learning also explains identification and categorization task simultaneously. (a) RL-2RM is analogous to RLDDM with the only difference existing at the decision particle – in this case two simultaneous races occur and the decision is made when one hits the threshold. Weights are updated every trial depending on the difference between evidences (highlighted in red) and according to Equation 5.21. (b,c,d,e,f,g) Model’s fits (b,c,e,f) and predictions (d,g) for both identification and categorization task. 108
Chapter 6 Neural signatures of weight updating “Accept change” – Track changes option, Microsoft Word 109
6.1 Chapter Summary In the previous Chapter we saw that RL was essential to explain our behavioral data. In particular, the inclusion of this rule in a drift-to- bound model allowed us to predict and explain the changes in choice biases observed in the data. We further validated our model by showing that it was able to predict a completely new set of data, the hybrid odor mixture identification task. In this Chapter, we look into neural signatures of RL-like updating. For that we study what type of changes we expect to see in neural data if our model is correct. We tested modulation of previous outcome and difficulty in firing rates by taking Generalized linear models and fitting them to our neural data. This chapter is divided in three sections: •Introduction – a detailed introduction about the neural prediction from RL-DDM is given. Additionally, we introduce our candidate areas for such representations - the PIR, OFC and VS. Lastly, we give a brief background on the neural data used in this Chapter and how it was collected. •The effect of trial outcome in OFC and VS – in this section we implement a GLM that estimates the relative influence of trial outcome in OFC and VS while rats perform mixture categorization. We demonstrate that rewards modulate the activity of these neurons. •Stimulus updating in OFC – where we further explore the interaction of stimulus and rewards in our GLM fits. We see that OFC is modulated by previous trial outcome and difficulty. 110
6.2 Introduction Rats are exposed to two different sources of uncertainty while discriminating odors (Chapters 2 to 5). We showed that one of these sources is related to uncertainty in regards to the category bound separation, the iso-concentration line of 50% contrast. We were able to grasp this idea by introducing a deterministic rule of RL, showing that these results can be explained by not adding a new source of noise but an apparent sub-optimal strategy (Beck et al., 2012). We now ask the question of how this might be implemented in the brain. The DDM is a good outline to understand how noisy inputs can tamper with decisions. It also permits quantitative predictions that are easily tested and have successfully been used to explain a variety of complex behaviors (Milosavljevic et al., 2010; Ratcliff & McKoon, 2008; Ratcliff et al., 1999; Krajbich et al., 2012; Mulder et al., 2012; Krajbich & Rangel, 2011; Ditterich, 2006; Ratcliff & Smith, 2004; DasGupta et al., 2014; Ratcliff & Rouder, 1998; Bogacz et al., 2006; Bowman et al., 2012; Gold et al., 2008; Usher & McClelland, 2001; Drugowitsch et al., 2012; Lak et al., 2014; Hanks et al., 2015; Kiani et al., 2008; Churchland et al., 2011; Krajbich et al., 2010; Beck et al., 2008; Laska et al., 2004; Palmer et al., 2005; Gold & Shadlen, 2007; Ratcliff, 1978; Smith & Vickers, 1988; Hanks et al., 2014; Churchland et al., 2008; Brunton et al., 2013). However, a diffusion particle treats excitation and inhibition symmetrically, has unlimited negative values and originates responses dependent of two thresholds. All these facts challenge the concept of a direct implementation by a neural network (Usher & McClelland, 2001; Ratcliff & Smith, 2004; Gold & Shadlen, 2007). It also brings forward the issue of how to implement decisions with more than two choices (Churchland et al., 2008). Nevertheless, DDM can be thought of as a theoretical abstraction that allows testing of clear predictions (Palmer et al., 2005). Additionally, 111
the DDM can be set up in a variety of different hypothesized neural architectural implementations (Gold & Shadlen, 2007; Hanks et al., 2015). In fact, throughout this thesis, we tried to maintain a layered structure for our computational models so that we could shed light on how these might be implemented in the brain and respective neural network. The more closely related and neuron inspired 2RM (Usher & McClelland, 2001) showed us that the important question is not so much how DDM might be working in the brain, but related to identifying which areas might be contributing to the apparent implementation of sensory, integration and decision layers. 6.2.1 Neural predictions of RL-DDM Our RL-DDM model has clear predictions of what should be occurring at the integration process and the combined evidence particle of Equation 5.9. The average path for a given stimulus has a particular drift rate µ. This average path is highlighted by the black arrow in illustrative Figure 6.1a. Let us consider a trial in which a given drift rate originated a “left” decision. If this decision is correct, our model predicts an increase in weights from feedback of Equation 5.12, which then reflects an increase in drift rate for the following trial, coherent with the idea of more frequent and faster left choices (Figures 5.8 and 5.10). Conversely, an error should have the opposite effect (Figure 6.1). What are the implications and predictions for our neural data? The first prediction is that the untampered sensory representations (before weight multiplication) should be unaltered by this outcome dependency. The second prediction is that downstream, when sensory representations are transformed into action values, these evidence accumulation neurons should present a neural activity change in the direction of the rewarded side. If a unit has a given drift rate for a particular bound then it should increase its neural activity after a reward. Conversely it should 112
decrease as it receives an omission (Figure 6.1b, blue path represents a correct trial, red path an incorrect one). Time Evidence Firing rate (Hz) Criterion for “go left” Criterion for “go right” θ µ -θ µ µ Time Evidence Firing rate (Hz) θ -θ Time Evidence Firing rate (Hz) θ -θ Error Correct a b Figure 6.1. RL-DDM predictions for change in evidence rate after trial outcome. (a) A given stimulus has an average drift path that defines drift-rate µ, i.e. the mean rate of evidence for that particular stimulus and choice. (b) RL-DDM predictions after a given decision: if a decision is followed by a reward one expects to see an increase in µand thus an increase of evidence (firing rate). Conversely the opposite effect should occur for an error trial. Blue highlights the change after a correct trial, red an incorrect trial, black the mean response and green an individual trial race contaminated by noise. Unfortunately, we were not able to collect electrophysiological responses from our subjects in the scope of this study (Vicente, 2015). Nevertheless, previously collected data for the categorization task might allow us to test these predictions (Miura, Mainen, & Uchida, 2012; Costa, 2015). Piriform cortex (PIR) is the main olfactory processing cortex (Haberly, 2001; Rennaker, Chen, Ruyle, Sloan, & Wilson, 2007; Wilson, 2003; John- 113
son, Illig, Behan, & Haberly, 2000; Wilson, 2000). It has been shown to be a highly associational cortex that identifies odorant mixtures in an apparent sparse representation (Stettler & Axel, 2009). However, one can easily use PIR electrophysiological information to decode odor identity (Miura et al., 2012). In fact, Miura et al. recorded from areas of anterior PIR (less associational than posterior PIR) while rats performed the mixture categorization task. They observed that taking into account a reduced number of cells (approximately 50) one could easily outperform the behavioral accuracy of the rats. This is in agreement with what we would predict from our RL-DDM model. But lack of observation does not mean proof of concept (Chalmers, 1999). Ideally, we aimed to test if changes of evidence accumulation occur after trial outcome feedback. 6.2.2 Time wagering task, the OFC and VS The orbitofrontal cortex (OFC) and ventral striatum (VS) are two brain regions implicated in behavioral supervision and outcome evaluation (Wallis, 2007; Feierstein et al., 2006; Wallis & Miller, 2003; Padoa- Schioppa & Assad, 2006; Hikosaka & Watanabe, 2000; Roesch, Stalnaker, & Schoenbaum, 2006; Murray, O’Doherty, & Schoenbaum, 2007; Bowman et al., 2012; Illig, 2005; Lak et al., 2014; Mulder et al., 2012; Simmons et al., 2007; Grinband, Hirsch, & Ferrera, 2006; Stages, 2002; Lak et al., 2014; Changeux & Dehaene, 2008; Lau & Glimcher, 2005; Green, Benson, Kersten, & Schrater, 2010). In particular, for the categorization task, neurons in the OFC were found to encode information about presented stimuli, in the period of time before a decision was made (Feierstein et al., 2006). In the same study, OFC neurons were also encoding choice direction, when the animal was moving towards the choice port. These findings are in concordance with the view of OFC as playing a central role in goal monitoring, shown in the context of reward-based decision making (Balleine & Dickinson, 1998; Burke, Franz, Miller, & Schoenbaum, 2008; 114
Fellows, 2011; Morrison & Salzman, 2011; Padoa-Schioppa & Assad, 2008; Padoa-Schioppa & Cai, 2011; Roesch, Taylor, & Schoenbaum, 2006; Schoenbaum et al., 2011; Schultz, Tremblay, & Hollerman, 2000; Takahashi et al., 2013; Wallis, 2012). OFC activity was also found to be encoding decision confidence in rats performing the odor categorization task (Kepecs, Uchida, Zariwala, & Mainen, 2008). Sharing a similarly important role in evaluation of performance is the VS (Botvinick et al., 2009). This area was found to interact with OFC to guide optimal courses of actions that ultimately lead to rewards (Hare et al., 2008; McDannald et al., 2011; Simmons et al., 2007). Moreover, it is very likely that activity in VS neurons also correlates with decision confidence (Daniel & Pollmann, 2012; Hebart, Schriever, Donner, & Haynes, 2014). Costa and Mainen developed a similar behavioral setup that allowed testing these issues of reward expectation, magnitude, confidence and uncertainty in both behavior and neural responses (Costa, 2015). In particular, they developed a waiting time wagering task (Figure 6.2a) that was in all ways similar to our categorization task except for the fact that rewards were largely delayed after the choice was made. This randomized delay, combined with catch trials, was used to test how confident rats would be after committing to a particular response (Kepecs, Uchida, Zariwala, & Mainen, 2008; Lak et al., 2014; Costa, 2015). They found that waiting time was correlated with stimulus difficulty, predicted outcome and choice, indicating that rats were wagering the level of certainty of their own perceptual decisions. Additionally, they found that these behavioral variables were correlated with neural activity in OFC and VS, suggesting that these areas code the value of each port adaptively. Costa and Mainen also introduced the concept of blocked trials in mixture categorization (Figure 6.2b). This was done in order to manipulate reward size and identify its effects in confidence reports. They showed 115
6.3.3 Example cells We now examined units that showed a large effect of both β1and β2. For that we looked at the strongest effect (taking into account the sum of both p-values) for both OFC (cell #39) and VS (cell #23). Visual examination of the obtained cells show that they have slightly different profiles. The full peri-event time histograms (PETH) with 25ms time window profiles can be found in Appendix 2 and 3. We synthesize the observed patterns and profiles in the following paragraphs. OFC cell #39 demonstrated integration from odor valve on until entrance in choice poke. When we conditioned the PETHs to trials that followed a particular outcome (reward vs no reward), we saw that neural activity went up following a rewarded trial when compared to mean activity (Figure 6.5, blue lines compared to black lines). Conversely, the same was observed for trials that were unrewarded for that side (Figure 6.5, red lines compared to black lines). The effect was sustained from start of stimulus presentation until choice port poke in. VS cell #23 showed slightly different properties from the OFC cell. This cell fires throughout the course of the entire reward poke in until the rat pokes out. This cell might be reflecting the value of the choice port after a particular decision has been made, and thus used to evaluate the quality of that decision (Costa, 2015). We see that previous outcome changes the way this cell fires throughout the course of reward port events in the same direction: rewarded trials increased the firing rate for this unit and unrewarded trials decreased it (Figure 6.6). These results apparently confirm our prediction of outcome modulation of evidence, value and thus neuronal activity. However, these modulations might be due to mere presence of rewards, i.e. a general bias that is reflected in the neural population. This is specially an issue if one considers that Costa and Mainen used blocked trials for reward. Thus, our observed changes in neural activities might be due to spurious influences of those 122
0 6 -400 0 400 Time(ms) Firing rate (Hz) -1000 0-500 Time(ms) 10000 500 Time(ms) Odor valve on Odor poke out Choice poke in OFC cell #39 Figure 6.5. PETHs for example OFC cell modulated by previous outcome. Three plots are presented with alignment to three different events: odor valve on (beginning of stimulus presentation), odor poke out and choice poke in. Blue lines represent PETH done in trials that followed a rewarded left side choice. Red lines represent trials that followed an unrewarded trial or a right side reward. Black lines depict the average PETH. All lines are mean ±SEM over trials. same trials. Still, our RL-DDM can make an even stronger prediction of how updating should influence neural activity in a trial-by-trial basis. 6.4 Stimulus updating in OFC and VS As seen from Chapter 5, RL-DDM was implemented taking into account stimulus strength. We defined category uncertainty as the challenge to keep track of the true category boundary. As stimuli become closer to that categorical boundary, uncertainty regarding its true mapping should give rise to a larger effect of updating (Figure 5.7f). That is, our stimulus learning rule from Equation 5.12 dictates that learning should be larger when a stimulus is difficult than when compared to an easy stimulus. 123
0 13 -400 0 400 Time(ms) Firing rate (Hz) -1000 0-500 Time(ms) 10000 500 Time(ms) Odor poke out Choice poke in Choice poke out VS cell #23 Figure 6.6. PETHs for example VS cell modulated by previous outcome. Three plots are presented with alignment to three different events: odor poke out, odor poke in and choice poke out (end of trial). Blue lines represent PETH done in trials that followed a rewarded left side choice. Red lines represent trials that followed an unrewarded trial or a right side reward. Black lines depict the average PETH. All lines are mean ±SEM over trials. We tested this prediction by further expanding our GLM in order to incorporate stimulus difficulty and thus test if units in OFC and VS show outcome modulation of neural activity that is stimulus dependent. 6.4.1 Generalized linear model implementation To further expand the GLM from Equation 6.3, we defined rewarded outcome variables that depend of stimulus difficulty. Thus, binary variable η indicates trials that were difficult (6% contrast), νmedium difficulty trials 124
(12%) and εeasy trials (60%). In this way we introduced more estimators to fit: f(t) = β0+β1c(t) + β2λ(t−1)η(t−1) +β3λ(t−1)ν(t−1) +β4λ(t−1)ε(t−1) (6.4) By separating the trials into η,νand ε, we estimated the relative influence of each type of trials with β2,β3and β4. 6.4.2 GLM results We fitted 59 OFC and 64 VS units and obtained the equivalent number of estimators for difficulty and outcome modulation (Figure 6.7). For OFC, correlation between the different estimators can be found in Table 6.1. The influence of previous stimuli in current firing rates was correlated with difficult stimuli. Conversely, medium and easy stimuli showed no correlation. Estimators ρ p β1,β20.350 0.01 β1,β30.193 0.14 β1,β40.165 0.21 Table 6.1. Spearman’s rank correlation between GLM estimators for OFC data. For VS, correlation between the different estimators can be found in Table 6.2. In this case, the effect of stimulus difficulty had no additional modulation in firing rates. To better understand these effects, we compared the slopes of linear regressions done to the plots of Figure 6.7. The obtained slopes for OFC 125
OFC VS −0.1 0 0.1 −0.8 0 0.8 β1 (choice) d −0.1 0 0.1 −0.4 0 0.4 β1 (choice) b −0.1 0 0.1 −0.4 0 0.4 β1 (choice) e −0.1 0 0.1 −0.4 0 0.4 β1 (choice) f −0.1 0 0.1 −0.4 0 0.4 β1 (choice) c −0.1 0 0.1 −0.8 0 0.8 β1 (choice) β2 (prev. ∆ = 6%) β2 (prev. ∆ = 6%) a β3 (prev. ∆ = 20%) β3 (prev. ∆ = 20%) β4 (prev. ∆ = 60%) β4 (prev. ∆ = 60%) Figure 6.7. Average firing rate GLM parameters for current choice and previous trial outcome interacting with stimulus difficulty. (a,b,c) Previous outcome estimators for difficult choices (a), medium difficulty (b) and easy choices (c) as a function of choice estimator β1for OFC neural data. (d,e,f). Same as (a,b,c) but for VS data. Black indicate cells that show significance (p < 0.05) for both plotted estimators, light gray for choice components and dark gray for previous outcome components. Dark lines represent best linear regressions for the plotted data. 126
Estimators ρ p β1,β20.200 0.11 β1,β30.237 0.06 β1,β40.167 0.19 Table 6.2. Spearman’s rank correlation between GLM estimators for VS data. showed a property that resembles the choice bias updating curves (Figure 6.8a). They indicate that the previous outcome had a larger influence in neural activity when the stimulus was difficult (6% contrast). For the VS, these slopes show that the change is not dependent of difficulty as much as they depend of outcome (Figure 6.8b). b a 6 20 60 0 1 2 Prev. contrast (%) Regression slope 6 20 60 0 1 2 Prev. contrast (%) Regression slope OFC VS Figure 6.8. Slope of linear regressions for GLM difficulty parameters. (a,b) Best fit slopes of the linear regressions of Figure 6.7 plotted as a function of previous contrast for both OFC (a) and VS (b) data. Filled point indicate significance in Spearmann’s rank correlation (Tables 6.1 and 6.2). 6.4.3 Example cells Visual inspections of OFC #39 (Figure 6.9) shows that neuronal activity is greatly modulated by the previous outcome, if that same trial was of a difficult kind (green lines). However, despite overall activity going up, the dynamics revealed to be rich as, for example, there is an inversion of 127
sign when the rat leaves the decision poke. Comparatively, easy trials did not modulate as much the mean response as it coarsely overlaps with the mean PETH (grey lines). 0 9 -400 0 400 Time(ms) Firing rate (Hz) -1000 0-500 Time(ms) 10000 500 Time(ms) Odor valve on Odor poke out Choice poke in OFC cell #39 Figure 6.9. PETHs for example OFC cell modulated by previous outcome. Three plots are presented with alignment to three different events: odor valve on (beginning of stimulus presentation), odor poke out and choice poke in. Green lines represent PETH done in trials that followed a 6% contrast left choice that was rewarded. Gray lines represent trials that followed a 60% contrast left side reward. Black lines depict the average PETH. All lines are mean ±SEM over trials. VS cell #39 also demonstrated an increase of firing rate after a difficult rewarded decision (Figure 6.10). This increase was specially significant in the moments immediately following entrance at the choice poke. Conversely, easy trials showed no modulation of activity when compared with a difficult trial. Taking these results into account, we concluded that neural activity at both OFC and VS show modulation of previous outcomes in current choices. Additionally, OFC activity showed interaction between outcomes and difficulty, a result that is expected from an evidence accumulating particle, according to RL-DDM. VS, on the other hand, did not show this 128
0 18 -400 0 400 Time(ms) Firing rate (Hz) -1000 0-500 Time(ms) 10000 500 Time(ms) Odor poke out Choice poke in Choice poke out VS cell #23 Figure 6.10. PETHs for example VS cell modulated by previous outcome. Three plots are presented with alignment to three different events: odor poke out, choice poke in and choice poke out (end of trial). Green lines represent PETH done in trials that followed a 6% contrast left choice that was rewarded. Gray lines represent trials that followed a 60% contrast left side reward. Black lines depict the average PETH. All lines are mean ± SEM over trials. modulation at a population level, as only 3% of the recorded cells showed modulation of difficulty. These results and possible explanations/issues for the observed differences are explored in more detail in the next Chapter. 129
Chapter 7 Discussion “Did I ever tell you what the definition of insanity is? Insanity is doing the exact... same fucking thing... over and over again expecting... shit to change... That. Is. Crazy.” – Vass, Far Cry 3 130
7.1 Speed-accuracy tradeoffs depend on the nature of the task at hand. Our results demonstrate that rats show different speed-accuracy tradeoffs (SAT) depending on the task at hand. When challenged to identify odors at low concentrations, rats show a significant increase of reaction time that is accompanied by performance degradation (Figure 2.4c,d). In contrast, when the challenge is to categorize mixtures of two odors in different proportions, rats show only a small increase in reaction time (Figure 2.4e,f). In most perceptual decision-making tasks (PDM), errors are assumed to arise from uncertainty about the stimulus, or noise in the respective sensory system. This implies that performance typically increases with stimulus sampling duration (Brunton et al., 2013; Kiani & Shadlen, 2009). However, there are situations, such as the odor mixture categorization task presented in this thesis and described before (Uchida & Mainen, 2003; Zariwala et al., 2013), where SAT is not observed, suggesting that the rapid performance observed in this task is not simply a tradeoff of accuracy for speed. In fact, a single sniff is all a rat needs to perform at maximum level for the categorization task (Uchida & Mainen, 2003). We also controlled for changes in total concentration of mixtures (Figure 2.2). We saw scaling of the same effect within each concentration level, i.e. total concentration modulated reaction time greatly, but, within same total concentration, mixture contrasts did not (Figure 2.5c). Conversely, mixture contrast was still degrading performance (Figure 2.5b). Does this imply that SATs are not existent in mixture categorization? This is not necessarily the case as other variables might modulate performance and RTs, such as reward magnitude, reward rate and training (Zariwala et al., 2013). However, considering our results, it is clear that the currency used between speed and accuracy is intrinsically different and modulated by the 131