- Rating
- 5
- Clarity
- 4
- Confidence
- 5
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
This is an excellent paper which goes beyond the current state of principled behavioural analysis in neuroscience describing a method to fit deep neural network models to sequential choice data. They apply their method to analyse the learning trajectories of individual mice on the (IBL et al., 2020) task. In particular, they compare three model architectures: 1-layer linear (1L), 2-layer linear (2L) and 2-layer nonlinear (2NL) networks. The results show that the 2NL network provides the best fit for the vast majority of mice, indicating that both depth and nonlinearity are important to describe the learning trajectories. Further, the authors show that the parameters of their fits (initialisation, learning rate and softmax gain) are key determinants of the shape and success of learning trajectories across mice.
Strengths and weaknesses
The main strength of this paper is that it extends current behavioural model fitting approaches to deeper (and nonlinear) neural networks. This is a relatively new model class for neuroscience which goes beyond previous "shallow" single-layer stimulus-action association models to include a model of the state discovery and representation learning process. Fitting such models is tricky, as their high expressivity causes them to have multiple equivalent parameter settings (degeneracy) which can lead to multiple explanations for the underlying circuit mechanisms. They can also be difficult to interpret if made too complex and expressive. I believe the authors have done a good job at applying their fitting approach to interpretable deep network models and have hence uncovered core components that these should have to capture the mice's learning trajectories. This, however, also leads to what I think is the main weakness of the paper, which is that it lacks a mechanistic explanation for the advantage of the nonlinearity, apart from the known greater expressivity of the network. Moving from 1L to 2L networks gives rise to saddle points and stage-like transitions in the learning dynamics, but it is unclear whether the nonlinearity yields yet another qualitative difference in the learning trajectories or whether 2NL networks are just able to fit the transition times and intermediate behaviour more closely due to their greater expressivity. Addressing this point would greatly strengthen the significance of the paper's claims.
Questions
-
How do the authors interpret the 2NL model's contribution of the left stimulus channel to the rightward decision (Figure 2B)? This is interesting as it allows the model to capture the "negative slope" or incorrect (opposite) association of stimulus position with left/right decisions, which is a commonly observed phenomenon in mice learning this task. In Liebana et al., 2025 (Figures S10B and S10E) the authors propose another potential mechanism for this incorrect association, involving cross-connections between the left/right stimulus channels. It could be very informative if the authors of this paper try their fitting algorithm on 2L networks (both linear and nonlinear) relaxing the constraint of independent/diagonal stimulus channels.
-
How sensitive is the fitting algorithm to the choice of regularisation? The authors motivate their choice of regularisation to "enforce boundedness of the parameters, facilitate convergence, and mitigate non-identifiability of 1L networks". They show that regularisation is required to identify data generated by 1L networks in model recovery experiments, but those same experiments also show that 2L networks are the most poorly identified of the 3 models by their algorithm. From the model recovery experiments in Figure S2 it seems like the 2NL network can achieve AIC values similar to those of ground truth 2L network data, making me wonder whether another choice of regularisation would more strongly distinguish between the 2L and 2NL architectures (especially given the greater expressivity of 2NL networks). Further, I am surprised that in several figures throughout the paper (e.g. Fig. 3C, Fig S3E) the 2L model appears to fit mouse behaviour worse than the 1L model, given that it has enough expressivity to capture 1L network behaviour from Theorem 3.1.
-
The bimodality of the learning trajectories seems to be an intrinsic property of the learning dynamics due to the symmetry of the task and network architecture. Nonetheless, in Figure S3D one can notice that, likely due to the initialisation found by the fitting algorithm, the learning trajectories after the initial bifurcation do not remain symmetric. Do the authors think that the trajectories on the side of the bifurcation that differs from the subject's behaviour should count towards the goodness of fit score?
-
With regards to the comment on lines 252-255, I think Liebana et al., 2025 does not claim that single-layer (1L) networks cannot capture the mice's bias, but rather that 1L networks cannot capture the long periods of L-shaped psychometric curves (with one half flat and the other sloped; described as "one-sided strategies" associating only one of the two stimuli with choice) that develop from initially biased mice. They explain that this is due to the 1L network's lack of a fixed (saddle) point in its learning dynamics for a network configuration that captures this behaviour. As such, 1L networks are not able to capture the full learning trajectories of mice that are initially biased, as these mice develop long-lasting one-sided strategies whereas 1L networks start developing slope on the flat side of the psychometric curve as soon as the bias reverses. In this paper, this can be seen in the "1-Layer Linear" column of Fig 2C where the left side of the psychometric curve does not remain flat after the bias reversal, whereas it can in 2L and 2NL networks (and does for the mouse).
-
What is the authors' interpretation of the PC1 vector showing that variation in the initial second layer weights for the stimulus-independent channel is an important source of the variance in learning trajectories (Fig 4D)? Could it be indicating varying handedness of the mice or maybe varying degrees of comfort with one choice over the other due to positioning on the experimental rig?
I would consider raising my overall rating if the authors provide satisfactory answers and make corresponding modifications to the manuscript in response to these questions.
Minor comments:
- Could you add a legend to the PC flattened vectors in Fig S9C, S11C? (showing which component corresponds to C, R, L as in Fig 4D)
- Is the difference between 2NL and 2L AIC in Fig S11A significant? May be good to show statistical significance for comparison claims more generally throughout the paper.
Limitations
yes
Paper formatting concerns
none
We sincerely thank the reviewer for their positive assessment of our paper, and their thoughtful feedback and questions. We are grateful for the opportunity to raise our score, and we appreciate the recognition of deeper (i.e. not “shallow”) neural networks as a relatively new model class with which to model animal learning. Below, we address each of your points in detail and summarize the improvements we will make to our paper.
Learning opposite associations. We thank the reviewer for this great question. In the case of Mouse 36 (shown in Fig. 2B), the mouse appears to be heavily right biased early in training and subsequently becomes more balanced (e.g. as seen by its psychometric curve later in training). Interestingly, the constant channel’s contribution to the output Q-value difference reverses (to favoring ‘left’ over ‘right’) while the left channel still favors ‘right’. This highlights an interesting consequence of having three separate channels (bias, left, and right): the three channels can each act separately, and consequently the model can “choose” how much to weight decision-making biases (as embodied by the constant channel) relative to perceptual information (as embodied by the stimulus channel). For Mouse 36 (studied in Fig. 2), since the constant channel becomes ‘left’ favoring later in training while the stimulus channel favors ‘right’, it suggests that the mouse may exhibit leftward preferences for small-contrast inputs but favor ‘right’ for larger-contrast inputs.
We also appreciate the suggestion to relax the constraint that the layer-one weights are diagonal, and think that it would constitute important future work (though we would invite the reviewer to suggest further thoughts relating to this).
Regularization. In our preliminary experiments as well as in our present work we have only explored using small levels of regularization (e.g. λθ1∈{0,0.5,1}). As a result, the regularization cost is much smaller than the negative log-likelihood term (which is summed over ~10,000 trials of data), and optimization is largely driven by minimizing the negative log-likelihood term. We have not explored the effects of having a large regularization term because this may restrict the kinds of learning dynamics observable in fitted networks and potentially curtail parameter recovery. Rather, we have largely focused on motivating the need to add small, nonzero ridge regularization for three key reasons. First, it prevents inferred parameters from diverging during optimization. Second, in preliminary experiments, we found that adding ridge regularization can facilitate quicker convergence to genuine minima (and, in particular, where the Hessian of the objective function is positive definite). Third, based on our identifiability theorem (Thm 3.1), adding even mild ridge regularization to the initial weights of a 2L model will prevent the inferred first-layer weights from being arbitrarily large, avoiding the hypotheses of Thm 3.1. Intuitively, because of this regularization, the 2L model can no longer perfectly mimic a 1L model’s learning dynamics, meaning that it is conceivable that the 2L model could provide different, and in some cases worse, qualitative fits after fitting and re-training.
We appreciate the reviewer’s point about distinguishing between the 2L and 2NL model classes with regularization. We found this to be an interesting idea, and we have spent some time thinking about how this could be achieved. We would be curious to hear if the reviewer has any further thoughts or ideas about this.
Bimodality. In our analyses of model bias as well as the small-contrast sensitivity over training, we evaluate goodness of fit using the top 10% of re-trained models. Given that models tended to exhibit this bifurcation phenomenon, we chose not to use the full distribution of re-trained models because models that evolve in the opposite direction (e.g. develop an opposite side-bias) from that of the true mouse would unfairly penalize the goodness of fit score. Rather, we interpret our goodness of fit score as a measure of how well the true mouse could belong within at least some part of the distribution of all trained models.
1L model bias clarification. We appreciate and agree with the reviewer’s clarification. When we mention Liebana et al.’s finding that 1L models cannot adequately capture the range of biases seen in mice, we meant to refer to the supposed inability of 1L models to maintain a strong bias throughout training. However, this is precisely a phenomenon that we do see in some of our fitted 1L models (e.g. Fig. S3D). It is for this reason that we wish to highlight the fact that 1L models, when fit to single animals, can exhibit and maintain strong biases throughout much of training; we will update our discussion to reflect this clarification. We welcome the reviewer to provide further clarification into this issue.
Interpreting the PC1 vector. This is a very interesting question. Given that PC1 isolates the initial constant channel weights in the second-layer and that these initial weights are opposite in sign, we could interpret these weights as corresponding to a preexisting task bias, reflecting a tendency of a given mouse to favor one direction over the other at the start of training. Moreover, a variety of experimental and internal factors could give rise to such a tendency. However, given that PC1 (for the Pan-Vazquez et al. dataset) does not meaningfully correlate with mouse bias or accuracy (Fig. S10D), it is possible that PC1 is reflective of bias early in training, but not necessarily reflective of bias that is sustained across the whole training process.
Minor comments. Thank you for bringing this to our attention. We will add a legend, as in Fig. 4D, to the Figs. S9C and S11C. We thank the reviewer for this suggestion. In Fig. S11A we only report the mean and SEM for the per-trial AIC differences; we would be happy to evaluate the statistical significance for our final paper.