Skip to main content
Springer logoLink to Springer
. 2024 Jan 11;7(2):195–206. doi: 10.1007/s42113-023-00194-1

Of Rodents and Primates: Time-Variant Gain in Drift–Diffusion Decision Models

Abdoreza Asadpour 1, Hui Tan 1,2, Brendan Lenfesty 1, KongFatt Wong-Lin 1,
PMCID: PMC11111503  PMID: 38798787

Abstract

Sequential sampling models of decision-making involve evidence accumulation over time and have been successful in capturing choice behaviour. A popular model is the drift–diffusion model (DDM). To capture the finer aspects of choice reaction times (RTs), time-variant gain features representing urgency signals have been implemented in DDM that can exhibit slower error RTs than correct RTs. However, time-variant gain is often implemented on both DDM’s signal and noise features, with the assumption that increasing gain on the drift rate (due to urgency) is similar to DDM with collapsing decision bounds. Hence, it is unclear whether gain effects on just the signal or noise feature can lead to a different choice behaviour. This work presents an alternative DDM variant, focusing on the implications of time-variant gain mechanisms, constrained by model parsimony. Specifically, using computational modelling of choice behaviour of rats, monkeys, and humans, we systematically showed that time-variant gain only on the DDM’s noise was sufficient to produce slower error RTs, as in monkeys, while time-variant gain only on drift rate leads to faster error RTs, as in rodents. We also found minimal effects of time-variant gain in humans. By highlighting these patterns, this study underscores the utility of group-level modelling in capturing general trends and effects consistent across species. Thus, time-variant gain on DDM’s different components can lead to different choice behaviours, shed light on the underlying time-variant gain mechanisms for different species, and can be used for systematic data fitting.

Supplementary Information

The online version contains supplementary material available at 10.1007/s42113-023-00194-1.

Keywords: Perceptual decision-making, Time-variant gain, Urgency signal, Cognitive computational modelling, Drift–diffusion model

Introduction

Choice accuracy and response times, especially in perceptual decision-making, have often been mathematically modelled by the drift–diffusion process (Ratcliff et al., 2016). There is neural evidence (Roitman & Shadlen, 2002) and underlying computational principles (e.g. Bogacz et al. (2006) and Gold and Shadlen (2007)) that support noisy temporal accumulation of evidence over time during decision formation. In this context, the drift–diffusion model (DDM) has emerged as a popular framework for describing decision-making dynamics (Ratcliff et al., 2016). In reaction time (RT) tasks, in which participants report their choices freely, the DDM is commonly used to account for the observed choice accuracy (psychometrics) and RTs (chronometrics). While the standard DDM has been extensively applied and studied, there is an ongoing need for alternative models that can capture more nuanced aspects of decision-making behaviour.

The standard DDM can be described by a stochastic differential equation (Wiener process) (Ratcliff, 1978; Ratcliff et al., 2016):

dX=μdt+dtση 1

where X denotes some internal decision variable, μ is some drift rate (velocity), η is a random variable that follows a Gaussian distribution with a mean of 0 and standard deviation of 1, σ is the noise size (standard deviation), and t is the time with time step dt. External stimulus or signal is encoded in the drift rate μ, while the noise term (ση) can be due to external stimulus (Ratcliff et al., 2016) or noise within the brain (Faisal et al., 2008), or both (Wang, 2002).

It should be noted in Eq. (1) the additive influence of signal and noise on the integrative process. During decision formation in a two-choice task, the decision variable X has to be integrated over time in Eq. (1) such that it reaches either a prescribed upper or lower decision bound or threshold, symbolising one of the two choices being made (assuming that the initial decision variable X lies between these two bounds or thresholds). It is immediately clear that error choices in the model arise purely from the noise term. Moreover, the simplicity of the model is conducive to elegant closed-form analytical solution derivations or approximations (e.g. Broderick et al., 2009; Murphy et al., 2016; Ratcliff, 1978; Smith & Ratcliff, 2022).

Averaging across trials, the standard DDM is known to produce equal mean correct and error RTs for the same signal-to-noise ratio (e.g. for the same task difficulty) (Ratcliff, 1978). Long-tailed RT distributions are also typical. Hence, standard DDM cannot account for experimental data with slower or faster error RTs or shorter tail RT distributions (Ratcliff et al., 2016). These could potentially be caused by some sense of urgency, i.e. urge to make a choice (e.g. forced to report a choice in the presence of a set time deadline) (Harris & Hutcherson, 2022). Thus, additional features are required to be incorporated into the basic DDM, leading to various DDM variants.

An approach to account for faster error RTs than correct RTs is to vary the starting point of the DDM across trials (Nguyen & Reinagel, 2022; Ratcliff & Rouder, 1998), akin to some prior noisy initial bias. To enable slower error RTs than correct RTs, one route is to have the DDM’s drift rate vary across trials such that the overall error RTs are slower than that of correct RTs (Nguyen & Reinagel, 2022; Ratcliff & Rouder, 1998). Alternatively, by decreasing the DDM’s decision bound or threshold over time (collapsing bound or threshold) within a trial, slower error than correct RTs and shorter tail RT distributions can be produced—this mimics a form of urgency signal (Ditterich, 2006; Drugowitsch et al., 2012; Hawkins et al., 2015).

Another intuitively equivalent approach is to increase the drift rate over time via a time-variant gain modulation mechanism (Ditterich, 2006; Smith & Ratcliff, 2009; Standage et al., 2011; Zhou et al., 2009). In such models, the variance grows faster than the drift rate such that later choices are more inaccurate. Mathematically, the urgency signal can be implemented either as a time-variant multiplicative factor on the signal and noise (e.g. Ditterich, 2006) or as an additive time-variant input signal (e.g. Kelly et al., 2021; Murphy et al., 2016). Multiplicative time-variant gain modulation can also be considered a form of gating, attentional, or arousal enhanced signal (e.g. Cisek et al., 2009; Niyogi & Wong-Lin, 2013; Smith & Ratcliff, 2009; Thura et al., 2012).

In many instances, time-variant gain modulation is implemented on both the drift rate and noise term of a DDM (e.g. Ditterich, 2006). Therefore, it is unclear what the behavioural consequences would be if time-variant gain exclusively affects the DDM’s drift rate or noise. Based on a fitted time-dependent gain DDM (model 4) in Ditterich (2006), we have previously observed, using computational simulations, that time-variant gain only in the noise term of this DDM leads to slower error RTs, while time-variant gain only in the drift rate (i.e. signal) of the DDM leads to faster error RTs (Tan et al., 2023) (illustrated in Fig. 1A). However, as this was based on modifications of a model in Ditterich (2006) with parameters originally fitted to monkey data (Roitman & Shadlen, 2002), further evidence is needed to validate those results.

Fig. 1.

Fig. 1

Schematic diagram to illustrate the different effects on DDM’s choice behaviour with time-variant gain on drift rate or noise. A Blue: increasing only signal strength over time leads to more correct decisions at a later time—slower correct choices than error choices. Red: increasing only noise level over time causes errors at a later time to be more likely—slower error choices than correct choices. Dashed lines: decision thresholds in which a choice is committed upon reaching one of them. B Time-variant gain function γ(t) evolving over time for different parameter sets

To address this, in this study, we aimed to contribute to introducing an alternative parsimonious model with the ability of capturing general trends and effects of decision-making behaviour consistent across subjects in different species. We used different time-variant gain DDMs, optimally and separately fitted to choice behavioural data of three species (rats, monkeys, and humans) performing the same visual motion direction discrimination task. In particular, we demonstrated that, indeed, time-variant gain just on the drift rate could account for rat data with faster error RTs, but applying this gain only to the noise term might be suitable to account for slower error RTs (as in monkey data). For human data, time-variant gain might have minimal effects.

Methods

Data Description

This study utilised three separate datasets from three different species. All three datasets involved the standard random-dot kinematogram in which the species had to visually discriminate the direction of coherent motion of stochastic moving dots. Task difficulty was controlled such that with lower percentage of dots moving coherently (i.e. lower motion strength) in the same direction, the task became more difficult. Both choice accuracy and RT were recorded for each motion strength (pseudo-randomly presented across trials).

The first dataset was obtained from the classic study by Roitman and Shadlen (2002), in which two macaque monkeys were used. Although both single neuronal activities were recorded, we only considered the choice behavioural data. This was also the dataset used by Ditterich (2006). The second and third datasets were from Shevinsky and Reinagel (2019) in which 51 humans and 11 rats performed the same motion discrimination task as in Roitman and Shadlen (2002). For further details, refer to the original papers.

Description of Models

The parameter values of the one-dimensional DDM used were directly based on a model in Ditterich (2006), which readily accounted for the behaviour and (selected time sections of the) neuronal activity time course of non-human primates in a classic two-alternative, forced-choice RT task (Roitman & Shadlen, 2002). In our investigation, we aim to extend this model by focusing on time-variant gain mechanisms as an alternative modelling approach to explore the implications of time-variant gain on decision-making while maintaining model parsimony. In particular, we only focused on model 4 in Ditterich (2006), in which the decision bounds or thresholds are constant and time-variant gain modulation multiplied both the drift rate and noise term of the DDM.

In the presence of an urgency signal, γ(t), the model is modified such that

dX=μinitialγtdt+dtγtσinitialη 2

where μinitial=kc, and c is the motion strength (coherence) (c=1 for fully coherent motion), while k is some proportional constant. The noise level (standard deviation), σinitial=σ01+c, for some constant σ0. The time-variant gain function was described by a logistic function, constrained to be 1 at time 0, but with an additional parameter allowing scaling of the gain range (Ditterich, 2006):

γt=syexp(sx(t-d))1+exp(sx(t-d))+1+1-syexp(-sxd)1+exp-sxd 3

where d, sx, and sy are model parameters. Figure 1B illustrates how the parameters affect the shape of this function.

Note that the variance was assumed to increase with the absolute value of the motion strength c, with twice the variance for a fully coherent stimulus as compared to a pure noise stimulus. If this dependency is removed, the model could still readily fit the experimental data of Roitman and Shadlen (2002), albeit not as well (Ditterich, 2006). Hence, for clarity of argument, we later removed from the noise term this dependency of c such that the noise term only depended on σ0, as follows:

dX=μinitialγtdt+dtγtσ0η 4

The decision formation process for the standard DDM starts with an initial value of 0. The upper threshold for a correct choice (for positive drift rates) is when X reaches some decision threshold, Z=1, while the lower threshold for an error choice (for positive drift rates) is when X reaches Z=-1. Once a threshold is reached, the integration process is ceased, and the time duration from stimulus onset is defined as the decision time, tdecision. The response time RT, which has been measured by Roitman and Shadlen (2002), is given by RT=tdecision+tresidual. In Ditterich (2006), tresidual is assumed to be normally distributed with mean t¯residual and standard deviation σresidual.

Based on this model, we explored the following four cases: (i) time-variant gain on both drift rate and noise term with noise depending on c (to act as the control condition); (ii) time-variant gain on both drift rate and noise term with noise independent of c; (iii) time-variant gain only on noise term (independent of c); and (iv) time-variant gain only on drift rate (with noise term independent of c).

Model Fitting and Statistical Analyses

For model fitting, we opted for group-level analysis. This approach was chosen to effectively capture general trends and effects consistent across participants within each species. By focusing on group-level patterns, we aim to identify broad behavioural trends in decision-making that are common across rats, monkeys, and humans.

To feed real data into PyDDM (Shinn et al., 2020) for model 4 in Ditterich (2006), we converted RTs and other time-related parameters from milliseconds to seconds. Then, utilising the monkey dataset from Roitman and Shadlen (2002), we selected epochs with RTs between 0.1 and 1.65 s, as considered in Huk and Shadlen (2005). For the human and rat datasets from Shevinsky and Reinagel (2019), we chose the best unbiased epochs with RTs between 0.1 and 2.5 s.

In our analyses, we employed the ‘LossRobustLikelihood’ function from the PyDDM package for model fitting. This function calculates the negative log likelihood of the probability distribution functions (PDFs) in the data, thereby incorporating robustness to outliers. Contrary to approaches that focus solely on mean RT and accuracy, this likelihood-based approach assesses the probability of the entire observed dataset given the parameters of the model. This methodology ensures that our fitting procedure accounts for the entire distribution of RTs and choices, rather than just their summary statistics.

For each dataset, we fitted all four cases of the time-variant gain DDM for a trial duration of 5 s and dt=0.01 s using the PyDDM solver, a flexible and user-friendly software for simulating and fitting generalised DDMs (Shinn et al., 2020). Due to the stochastic nature of the PyDDM solver and the possibility of different estimated parameters for each run, we executed the code 18 times using a robust negative log likelihood as the loss function. For the next step, we generated a model squared error distribution for each case. Using the Kruskal–Wallis test (Kruskal & Wallis, 1952) as well as the pairwise comparisons with Tukey’s honestly significant difference (HSD) procedure (Tukey, 1949) and assuming the same squared error distribution for all cases, we then determined if there were statistically significant differences in the cases’ squared errors. The case with the lowest mean squared error over all runs was considered the best-fitted case. For further analysis in each case, we selected the fitted model with the smallest squared error among the runs. Since we have seven parameters for all cases, to investigate the models’ complexity cost, we calculated Akaike information criterion (AIC) (Akaike, 1974) for each case using the following equation:

AIC=14-2×(loglikelihood) 5

For RT PDFs, motion strengths of 3.2% and 12.8% for monkeys, 2% and 12% for humans, and 10% and 50% for rats were selected to represent the relatively difficult and easy tasks, respectively, with a sufficient number of trials to generate smooth RT distributions.

Hardware, Software, and Codes and Data Accessibility

For model fitting, we used Python 3, PyCharm 2023.1.2, and PyDDM 0.7.0, whereas for statistical analyses and plots, we used MATLAB version 2023a. Windows machines with 14 CPU cores, Intel i9-13900H, and 64-GB RAM were used.

The source codes, generated data, and analyses that support the findings of this study are available at https://github.com/abasadpour/UrgencyDDMonSpecies. The PyDDM solver is available via Shinn et al. (2020). The original datasets of the monkeys, humans, and rats are openly available via the original studies (Roitman & Shadlen, 2002; Shevinsky & Reinagel, 2019).

Results

Our investigative approach focused on identifying the optimal model parameters for time-variant gain DDM on the choice behavioural data of three different species. Specifically, we explored the following four types or cases of the model (model 4, in Ditterich (2006)). Case (i) had time-variant gain on both drift rate and noise term with noise depending on the motion coherence, c, of the stimulus, as in Ditterich (2006). This would act as the control condition. Case (ii) was a slight variation of Case (i), with time-variant gain on both drift rate and noise term, but with the noise independent of c. The latter eliminated a possible confounding factor, while branching off into two other cases: Case (iii) had time-variant gain only on noise term (independent of c), while Case (iv) had time-variant gain only on drift rate with noise term independent of c.

Next, we used the PyDDM optimisation algorithm (Shinn et al., 2020) to fit all of the above four cases separately to each behavioural dataset per species. In particular, we used the monkey data from Roitman and Shadlen (2002) and the human and rat data from Shevinsky and Reinagel (2019). Importantly, all three datasets made use of the same experimental task paradigm, a visual motion discrimination task using standard random-dot kinematogram stimulus in a reaction time setting. We shall discuss the model fitting results in the following species order: monkeys, humans, and then rats.

Time-Variant Gain on Both Drift Rate and Noise Accounts for Monkey Data Best

Figure 2A shows the trend of the mean correct and error RTs across different motion strengths of the monkey data and all four cases of the model. By visual inspection, one could observe that Cases (i) and (ii) provided the best RT fit, with slower error than correct RTs. Case (iii) also had slower error RTs, albeit poorer fit. In particular, for intermediate-motion strengths, the model had much higher error RTs compared to monkey data. Case (iv) gave the worst fit, with faster error RTs. These were also indicated in the insets in Fig. 2A, which show the absolute differences between the fitted and actual mean RTs.

Fig. 2.

Fig. 2

Time-variant gain on both drift rate and noise fits monkey data best. Estimated models for four cases based on monkey choice behavioural data (choice accuracy and reaction time (RT) distributions) in Roitman and Shadlen (2002). A Insets: absolute differences between the fitted and actual mean RTs. B Cases in the same order as in A. Inset: absolute differences between the fitted and actual choice accuracies. C Probability density functions (PDFs) of the correct and error RTs for selected motion strengths. D Model squared error and model AIC for each case. E Normalised values of the model parameters for the four cases. Legend order based on ranking of model fitting in D, best at the top. Inset: timecourse of fitted time-variant gain function for each case. Time from stimulus onset

In terms of choice accuracy, Cases (i)–(iii) readily fitted the data, but Case (iv) performed more poorly for lower motion strengths (Fig. 2B). The inset in Fig. 2B clearly indicated this. By comparing the RT probability density functions (directly related to RT histograms) (Fig. 2C), one could see how Case (iv) struggled with the fitting—its RT PDFs were skewed leftward away from the data (Fig. 2C, bottom). If we consider time-variant gain on the DDM’s drift rate as increasing signal over time (within a trial), decisions made later within a trial are going to consist of more correct choices than errors. However, the monkey data generally has slower error RTs, which this model struggles to fit. This led to RT distributions, especially error RT distributions, not being properly fitted by Case (iv). This was observed in our previous work (Tan et al., 2023).

The model squared error and AIC for each case again showed that Cases (i) and (ii) provided the best fit, with Case (ii) perhaps gaining a slight advantage, whereas Cases (iii) and (iv) performed significantly worse (p < 0.05). Next, we compared the normalised fitted model parameters for all cases. We found that the parameter Sy for Case (iv) attained too high a value as compared to those of the other cases while Sx reached near the fitting boundary (i.e. 0) (Fig. 2E). As the parameter Sy controls the amplitude of the gain function (Eq. (3)), one could see that for small Sx, the gain continued to rise linearly over a long period of time (Fig. 2E, inset).

Thus, the above results support our previous simulated results for the monkey data (Tan et al., 2023). Specifically, at least for the monkey data, time-variant gain only on drift rate enhances the signal at later times, leading to more correct but slower RTs, while time-variant gain only on noise term (with or without dependency on signal/stimulus c) leads to opposite model correct-vs-error RT trend (Fig. 1A). We shall next further investigate the two other species.

Minimal and Indistinguishable Time-Variant Gain Effects for Human Data

In the human data of Shevinsky and Reinagel (2019), error RTs were generally slower than correct choices, as in the monkey (Roitman & Shadlen, 2002) data, albeit only slightly (Fig. 3A). Interestingly, for very high motion strengths, human error RTs increased with increasing motion strengths, unlike in the monkey data. This could be due to high inter-participant variability.

Fig. 3.

Fig. 3

Minimal and indistinguishable time-variant gain effects for human data. Estimated models for four cases based on human choice behavioural data (choice accuracy and reaction time distributions) in Shevinsky and Reinagel (2019). Labels as in Fig. 2. **p < 0.01 in D

Figure 3A shows the trend of the mean correct and error RTs across different motion strengths for all four cases of the model. One could observe that none of the cases provides good RT fit (Fig. 3A). All cases struggled with exhibiting slower error RTs, specifically for higher motion strengths. In terms of choice accuracy, all cases performed more poorly at intermediate motion strengths (Fig. 3B). The RT PDFs showed that the RT PDFs for the higher motion strength (12% coherence) were not captured well by all the cases (Fig. 3C).

The model squared errors were very close to each other, with Case (iv) providing the best fit only marginally (Fig. 3D). However, the AIC analysis revealed a different aspect: even though Case (iv) had the lowest squared error, it exhibited a significantly higher AIC value of 33,075 (p < 0.001), compared to the other cases (Cases (i) to (iii)), which hovered around 32,100, without any notable differences. When we compared the normalised fitted model parameters for all cases, we found that the amplitude parameter Sy differed the most across all the cases (Fig. 3E), and this was further evidenced in the fitted time-variant gain function timecourse (Fig. 3E, inset). Interestingly, the time-variant gain for Case (iv) was the smallest, very close to the value of 1, i.e. almost minimal gain influence. This was not surprising, given that the majority of error RTs were generally rather close to the correct RTs in the human data (except for high motion strengths, which had substantially fewer error trials).

Time-Variant Gain on Drift Rate Accounts for Rat Data Best

In the rodent data of Shevinsky and Reinagel (2019), error RTs were generally faster than correct RTs as motion strengths increased, unlike the above primate data (Fig. 4A). One could observe that Case (iv) provided the best fit for correct RTs, error RTs, and choice accuracy (Fig. 4A–C). Further, Cases (i)–(iii) were unable to separate correct and error RTs, while Case (i) was unable to fit choice accuracy for high motion strengths.

Fig. 4.

Fig. 4

Time-variant gain on drift rate fits rat data best. Estimated models for four cases based on rat choice behavioural data (choice accuracy and reaction time distributions) in Shevinsky and Reinagel (2019). Labels as in Fig. 2

The model squared error again showed that Case (iv) provided the best fit while Case (i) had the worst fit (p < 0.05) (Fig. 4D). Complementing this, the AIC analysis corroborated Case (iv)’s superior fitting, as it, alongside Case (ii), exhibited the lowest mean AIC values at around 34,260, significantly lower than those of Cases (i) and (iii) (p < 0.05). As in the other datasets, the normalised fitted model parameters for all cases revealed the amplitude parameter Sy differed the most across all the cases (Fig. 4E), and this was further supported in the fitted time-variant gain function timecourse (Fig. 4E, inset). Moreover, Case (i) showed substantial deviation of values for model parameters Sx (slope of gain function) and σ0 (noise level). With Case (iv), we have provided an alternative cognitive model (time-variant gain on drift rate) for the rat data in Shevinsky and Reinagel (2019).

Discussion

In this work, with a focus on introducing an alternative parsimonious model, we investigated whether time-variant gain only on the noise term of a DDM leads to slower error RTs than correct RTs, while time-variant gain only on the drift rate of a DDM generates faster errors (Fig. 1A). Importantly, our approach focused on identifying general trends and effects consistent across subjects in each species. This perspective was crucial for highlighting the utility of group-level modelling in revealing broad behavioural trends in decision-making processes. Intuitively, one can consider time-variant gain on the DDM’s noise term as increasing the noise over time (within a trial), causing some form of signal-independent urgency to force a choice. Thus, decisions made at a later time (within a trial) are going to consist of more errors than correct ones, hence slower decisions (Fig. 1A). The effect is similar to the collapsing decision bound models (Ditterich, 2006; Drugowitsch et al., 2012; Hawkins et al., 2015).

In contrast, time-variant gain on the drift rate or signal effectively increases the signal strength over time, leading to improved accurate choices but at later times, as compared to error choices with the same stimulus or signal (Fig. 1A). One may be tempted to consider time-variant gain only on drift rate as a form of temporal enhancement of sensory signals, e.g. via attentional or arousal mechanisms (e.g. Smith & Ratcliff, 2009). However, one cannot associate its equivalence to collapsing bound DDM (Ditterich, 2006; Drugowitsch et al., 2012; Hawkins et al., 2015) despite their intuitive similarity. This is due to the choice biases (towards correct decisions) already inbuilt within the drift rate.

In this study, these separate time-variant gain mechanisms, together with the original time-variant gain DDM (model 4) of Ditterich (2006), were evaluated on monkey, human, and rat choice behavioural data performing the same motion discrimination task. Model parameter optimisation was conducted separately on the datasets. For monkey behavioural data from Roitman and Shadlen (2002), we found DDM with time-variant gain on both drift rate and noise term (Cases (i) and (ii)) to fit the data the best (Fig. 2). Interestingly, with regard to behavioural data, we found that even when noise term was independent of motion strength, the model could still capture the data almost equally well as the model (4) in Ditterich (2006), if not slightly better (Fig. 2D). We also found DDM with time-variant gain only on noise term (Case (iii)) could exhibit slower error RTs even though the fit was not as good, while time-variant on drift rate was unable to show that (Fig. 2A). This supported our earlier computational simulation observations (Tan et al., 2023).

For human behavioural data, our results showed that DDM with time-variant gain only on drift rate (Case (iv)) gave the best fit (Fig. 3). However, the fitting fitness (squared error) was comparable across all the cases (Fig. 3D). Interestingly, the AIC analysis revealed that despite Case (iv) having the lowest squared error, it exhibited a notably higher AIC, indicating a potential overfitting compared to Cases (i), (ii), and (iii), which had AIC values without significant differences. This suggests that while Case (iv) might provide a marginally better fit in terms of squared error, its complexity does not necessarily translate into a proportionally better model for the data. Further, the best-fitted case had minimal gain influence (with values near 1) (Fig. 3E). This lack of distinguishability across the cases and the minimal gain effects (of the best-fitted case) could be due to the relatively smaller difference between correct and error RTs, possibly caused by high variability among the human participants. Other human studies (e.g. Palmer et al., 2005; Smith & Ratcliff, 2022) also showed small differences in correct and error RTs, and that a standard DDM suffices to account for human choice behaviour. In other modelling studies such as in Nguyen and Reinagel (2022), response bias or across-trial variability in the drift rate is an alternative approach to account for the finer aspects of human behavioural data.

With regard to rat behavioural data, we found the model with time-variant gain only on drift rate provided the best fit (Fig. 4), consistent with our earlier observation on generating faster error RTs (Tan et al., 2023). This assertion was further strengthened by the AIC analysis, which indicated that Cases (ii) and (iv), particularly Case (iv), had the most favourable balance between model complexity and fit, as evidenced by their significantly lower AIC values compared to Cases (i) and (iii) (p < 0.05). Interestingly, models with time-variant gain on both drift rate and noise (Cases (i) and (ii), especially Case (i)) were unable to replicate the data as well. This could perhaps be due to the equal modulatory factors on these two terms in the models, hence permitting less flexibility.

By comparing the best-fitted case for each species, we found substantial variability in the amplitudes of the time-variant gain functions (Fig. S1). Specifically, the time-variant gain amplitude decreases from rats, to monkeys and then humans. An interesting side observation was that the gain function for monkeys changed substantially only within a relatively short duration of time within a critical decision formation epoch. This duration was comparable to the modelled gain time constant (~ 190 ms) in Niyogi and Wong-Lin (2013), which used a more biologically based decision model to account for the data of Roitman and Shadlen (2002). Taken together, our results shed light on the possible different mechanisms or strategies during perceptual decision formation across the species.

Our work has focused on capturing choice behaviour in different species, but the neural network mechanism(s) to separately instantiate the gain modulation of either the network’s signal or noise is still unclear, especially in more biologically based decision models (e.g. Wang, 2002; Wong & Wang, 2006) wherein signal and noise reside within neuronal input–output functions. In particular, in more biological models of decision-making (e.g. Wong and Wang (2006)), the neural response (e.g. neural firing rate), f is dependent on the input–output or transfer function F, generally some nonlinear function, such that f=F(Itotal), where Itotal is the total input (current) to the neurons. Time-variant gain, γ(t), typically operates such that f=γtF(Itotal), i.e. acting as a multiplicative gain factor on the input–output function (e.g. Niyogi and Wong-Lin (2013)).

Although F is generally nonlinear, the operating regime may span around the approximately linear part of the function (e.g. see Wong and Wang (2006)). For clarity of explanation, suppose this is the case, and that the noise is additive and separate from the signal, such that Itotal=Isignal+Inoise, then f=γtFItotal=γtIsignal+γtInoise, thus demonstrating the apparent difficulty in separate gains on the input signal and noise terms.

As mentioned above, noise in decision systems can be contributed by internal noise (in the brain) or external (stimulus) noise, or both, i.e. Inoise=Iinternalnoise+Iexternalnoise. If there is a time-variant gain acting on the sensory evidence signal, which may constitute the major source of noise (as possibly in non-human primates), then both decision signal (drift rate) and noise may be affected by this time-variant gain. In contrast, if there is a different internally generated major source of noise (as possibly in rats), then time-variant gain may effectively not operate much on the noise. This still leaves us with the question on how time-variant gain only on drift rate may possibly arise.

From several neurophysiological studies, it is known that noise in neurons can be attributed to the barrage of balanced excitatory and inhibitory (E/I balance) synaptic currents such that the average synaptic input can be relatively small while its variance (noise) is large (see e.g. Okun and Lampl (2009), and also references in Niyogi and Wong-Lin (2013)). Transient E/I imbalance, e.g. due to unequal (heterogeneous) chemical neuromodulation (e.g. Eckhoff et al., 2009; McBurney-Lin et al., 2019), may lead to larger proportional change in the average signal but smaller proportional change in its variance (noise). This may effectively lead to time-variant gain on the DDM’s drift rate being affected more than on its noise. For example, transient activity of the neuromodulator norepinephrine has been known to be associated with enhanced neural signal-to-noise ratio in perceptual tasks (Aston-Jones & Cohen, 2005).

In this work, we have focused on group-level analyses as our main aim was to explore how introducing time-variant gain parameters could impact the fit of decision-making models to empirical data, rather than seeking a generalised model to apply to new datasets. Future work can apply individual-level modelling rather than group level to investigate the interplay of individual differences and varied strategies in decision-making. Additionally, further research could explore larger datasets, enhancing model robustness and validation. Implementing cross-validation methods would provide deeper insights into the generalisability of decision-making models. These directions, vital for advancing our understanding, promise to address current limitations and broaden our comprehension of diverse choice behavioural dynamics. Taken together, from a cognitive computational science viewpoint, we have shown that time-variant gain on the drift and noise term for a DDM can differently affect choice behaviour, account for different species’ choice behaviour, and can be useful for systematic fitting of choice behavioural data.

Supplementary Information

Below is the link to the electronic supplementary material.

Acknowledgements

We thank Saugat Bhattacharyya for useful discussion.

Author Contribution

AA, HT, and KW-L designed and conceptualised analyses. AA and HT performed the simulations. AA, HT, and BL performed statistical analyses. AA, BL, and KW-L validated the codes, data, and analyses. AA, BL, and KW-L wrote the paper. KW-L supervised the research.

Funding

AA and KW-L were supported by HSC R&D (STL/5540/19) and MRC (MC_OC_20020).

Declarations

Ethics Approval

This is a computational modelling study using open datasets, and no ethical approval is required.

Consent to Participate

Not applicable.

Consent for Publication

Not applicable.

Competing Interests

The authors declare no competing interests.

Footnotes

Abdoreza Asadpour and Hui Tan are joint first authors.

Publisher's Note

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

References

  1. Akaike H. A new look at the statistical model identification. IEEE Transactions on Automatic Control. 1974;19(6):716–723. doi: 10.1109/TAC.1974.1100705. [DOI] [Google Scholar]
  2. Aston-Jones G, Cohen JD. An integrative theory of locus coeruleus-norepinephrine function: Adaptive gain and optimal performance. Annual Review of Neuroscience. 2005;28(1):403–450. doi: 10.1146/annurev.neuro.28.061604.135709. [DOI] [PubMed] [Google Scholar]
  3. Bogacz R, Brown E, Moehlis J, Holmes P, Cohen JD. The physics of optimal decision making: A formal analysis of models of performance in two-alternative forced-choice tasks. Psychological Review. 2006;113:700–765. doi: 10.1037/0033-295X.113.4.700. [DOI] [PubMed] [Google Scholar]
  4. Broderick T, Wong-Lin KF, Holmes P. Closed-form approximations of first-passage distributions for a stochastic decision-making model. Applied Mathematics Research Express. 2009;2009(2):123–141. doi: 10.1093/amrx/abp008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Cisek P, Puskas GA, El-Murr S. Decisions in changing conditions: The urgency-gating model. Journal of Neuroscience. 2009;29(37):11560–11571. doi: 10.1523/JNEUROSCI.1844-09.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Ditterich J. Stochastic models of decisions about motion direction: Behavior and physiology. Neural Networks. 2006;19(8):981–1012. doi: 10.1016/j.neunet.2006.05.042. [DOI] [PubMed] [Google Scholar]
  7. Drugowitsch J, Moreno-Bote R, Churchland AK, Shadlen MN, Pouget A. The cost of accumulating evidence in perceptual decision making. Journal of Neuroscience. 2012;32(11):3612–3628. doi: 10.1523/JNEUROSCI.4010-11.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Eckhoff P, Wong-Lin KF, Holmes P. Optimality and robustness of a biophysical decision-making model under norepinephrine modulation. Journal of Neuroscience. 2009;29(13):4301–4311. doi: 10.1523/JNEUROSCI.5024-08.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Faisal, A. A., Selen, L. P. J., & Wolpert, D. M. (2008). Noise in the nervous system. Nature Reviews Neuroscience, 9(4), 292–303. 10.1038/nrn2258 [DOI] [PMC free article] [PubMed]
  10. Gold JI, Shadlen MN. The neural basis of decision making. Annual Review of Neuroscience. 2007;30(1):535–574. doi: 10.1146/annurev.neuro.29.051605.113038. [DOI] [PubMed] [Google Scholar]
  11. Harris A, Hutcherson CA. Temporal dynamics of decision making: A synthesis of computational and neurophysiological approaches. Wires Cognitive Science. 2022;13(3):e1586. doi: 10.1002/wcs.1586. [DOI] [PubMed] [Google Scholar]
  12. Hawkins GE, Forstmann BU, Wagenmakers E-J, Ratcliff R, Brown SD. Revisiting the evidence for collapsing boundaries and urgency signals in perceptual decision-making. Journal of Neuroscience. 2015;35(6):2476–2484. doi: 10.1523/JNEUROSCI.2410-14.2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Huk AC, Shadlen MN. Neural activity in macaque parietal cortex reflects temporal integration of visual motion signals during perceptual decision making. Journal of Neuroscience. 2005;25(45):10420–10436. doi: 10.1523/JNEUROSCI.4684-04.2005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Kelly, S. P., Corbett, E. A., & O’Connell, R. G. (2021). Neurocomputational mechanisms of prior-informed perceptual decision-making in humans. Nature Human Behaviour, 5(4), 467–481. 10.1038/s41562-020-00967-9 [DOI] [PubMed]
  15. Kruskal WH, Wallis WA. Use of ranks in one-criterion variance analysis. Journal of the American Statistical Association. 1952;47:583–621. doi: 10.2307/2280779. [DOI] [Google Scholar]
  16. McBurney-Lin J, Lu J, Zuo Y, Yang H. Locus coeruleus-norepinephrine modulation of sensory processing and perception: A focused review. Neuroscience & Biobehavioral Reviews. 2019;105:190–199. doi: 10.1016/j.neubiorev.2019.06.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Murphy, P. R., Boonstra, E., & Nieuwenhuis, S. (2016). Global gain modulation generates time-dependent urgency during perceptual choice in humans. Nature Communications, 7, 13526. 10.1038/ncomms13526 [DOI] [PMC free article] [PubMed]
  18. Nguyen, Q. N., & Reinagel, P. (2022). Different forms of variability could explain a difference between human and rat decision making. Frontiers in Neuroscience, 16, 794681. 10.3389/fnins.2022.794681 [DOI] [PMC free article] [PubMed]
  19. Niyogi RK, Wong-Lin K. Dynamic excitatory and inhibitory gain modulation can produce flexible, robust and optimal decision-making. PLOS Computational Biology. 2013;9(6):e1003099. doi: 10.1371/journal.pcbi.1003099. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Okun M, Lampl I. Balance of Excitation and Inhibition. Scholarpedia. 2009;4(8):7467. doi: 10.4249/scholarpedia.7467. [DOI] [Google Scholar]
  21. Palmer, J., Huk, A. C., & Shadlen, M. N. (2005). The effect of stimulus strength on the speed and accuracy of a perceptual decision. Journal of Vision,5(5), 376–404. 10.1167/5.5.1 [DOI] [PubMed]
  22. Ratcliff R. A theory of memory retrieval. Psychological Review. 1978;85(2):59–108. doi: 10.1037/0033-295X.85.2.59. [DOI] [Google Scholar]
  23. Ratcliff R, Rouder JN. Modeling response times for two-choice decisions. Psychological Science. 1998;9(5):347–356. doi: 10.1111/1467-9280.00067. [DOI] [Google Scholar]
  24. Ratcliff R, Smith PL, Brown SD, McKoon G. Diffusion decision model: Current issues and history. Trends in Cognitive Sciences. 2016;20(4):260–281. doi: 10.1016/j.tics.2016.01.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Roitman JD, Shadlen MN. Response of neurons in the lateral intraparietal area during a combined visual discrimination reaction time task. Journal of Neuroscience. 2002;22(21):9475–9489. doi: 10.1523/JNEUROSCI.22-21-09475.2002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Shevinsky, C. A., & Reinagel, P. (2019). The interaction between elapsed time and decision accuracy differs between humans and rats. Frontiers in Neuroscience, 13, 1211. 10.3389/fnins.2019.01211 [DOI] [PMC free article] [PubMed]
  27. Shinn M, Lam NH, Murray JD. A flexible framework for simulating and fitting generalized drift-diffusion models. eLife. 2020;9:e56938. doi: 10.7554/eLife.56938. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Smith PL, Ratcliff R. An integrated theory of attention and decision making in visual signal detection. Psychological Review. 2009;116(2):283–317. doi: 10.1037/a0015156. [DOI] [PubMed] [Google Scholar]
  29. Smith PL, Ratcliff R. Modeling evidence accumulation decision processes using integral equations: Urgency-gating and collapsing boundaries. Psychological Review. 2022;129(2):235–267. doi: 10.1037/rev0000301. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Standage, D., You, H., Wang, D., & Dorris, M. (2011). Gain modulation by an urgency signal controls the speed–accuracy trade-off in a network model of a cortical decision circuit. Frontiers in Computational Neuroscience, 5, 7. 10.3389/fncom.2011.00007 [DOI] [PMC free article] [PubMed]
  31. Tan, H., Faraz, M., Lenfesty, B., Asadpour, A., & Wong-Lin, K. (2023). Time-variant gain in noise but not signal in drift-diffusion model leads to slower error decisions. PsyArXiv. 10.31234/osf.io/my4xp
  32. Thura D, Beauregard-Racine J, Fradet C-W, Cisek P. Decision making by urgency gating: Theory and experimental support. Journal of Neurophysiology. 2012;108(11):2912–2930. doi: 10.1152/jn.01071.2011. [DOI] [PubMed] [Google Scholar]
  33. Tukey JW. Comparing individual means in the analysis of variance. Biometrics. 1949;5(2):99–114. doi: 10.2307/3001913. [DOI] [PubMed] [Google Scholar]
  34. Wang X-J. Probabilistic decision making by slow reverberation in cortical circuits. Neuron. 2002;36(5):955–968. doi: 10.1016/S0896-6273(02)01092-9. [DOI] [PubMed] [Google Scholar]
  35. Wong K-F, Wang X-J. A recurrent network mechanism of time integration in perceptual decisions. Journal of Neuroscience. 2006;26(4):1314–1328. doi: 10.1523/JNEUROSCI.3733-05.2006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Zhou X, Wong-Lin K, Philip H. Time-varying perturbations can distinguish among integrate-to-threshold models for perceptual decision making in reaction time tasks. Neural Computation. 2009;21(8):2336–2362. doi: 10.1162/neco.2009.07-08-817. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

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

Supplementary Materials

Data Availability Statement

For model fitting, we used Python 3, PyCharm 2023.1.2, and PyDDM 0.7.0, whereas for statistical analyses and plots, we used MATLAB version 2023a. Windows machines with 14 CPU cores, Intel i9-13900H, and 64-GB RAM were used.

The source codes, generated data, and analyses that support the findings of this study are available at https://github.com/abasadpour/UrgencyDDMonSpecies. The PyDDM solver is available via Shinn et al. (2020). The original datasets of the monkeys, humans, and rats are openly available via the original studies (Roitman & Shadlen, 2002; Shevinsky & Reinagel, 2019).


Articles from Computational Brain & Behavior are provided here courtesy of Springer

RESOURCES