Skip to main content

This is a preprint.

It has not yet been peer reviewed by a journal.

The National Library of Medicine is running a pilot to include preprints that result from research funded by NIH in PMC and PubMed.

bioRxiv logoLink to bioRxiv
[Preprint]. 2025 Aug 19:2025.07.18.665446. [Version 2] doi: 10.1101/2025.07.18.665446

Correctness is its own reward: bootstrapping error signals in self-guided reinforcement learning

Ziyi Gong 1, Fabiola Duarte 1, Richard Mooney 1,2, John Pearson 1,3
PMCID: PMC12393258  PMID: 40894534

Abstract

Reinforcement learning (RL) offers a compelling account of how agents learn complex behaviors by trial and error, yet RL is predicated on the existence of a reward function provided by the agent’s environment. By contrast, many skills are learned without external guidance, posing a challenge to RL’s ability to account for self-directed learning. For instance, juvenile male zebra finches first memorize and then train themselves to reproduce the song of an adult male tutor through extensive practice. This process is believed to be guided by an internally computed assessment of performance quality, though the mechanism and development of this signal remain unknown. Here, we propose that, contrary to prevailing assumptions, tutor song memorization and performance assessment are subserved by the same neural circuit, one trained to predictively cancel tutor song. To test this hypothesis, we built models of a local forebrain circuit that learns to use contextual input from premotor regions to cancel tutor song auditory input via plasticity at different synaptic loci. We found that, after learning, excitatory projection neurons in these circuits exhibited population error codes signaling mismatches between the tutor song memory and birds’ own performance, and these signals best matched experimental data when networks were trained with anti-Hebbian plasticity in the recurrent pathway through inhibitory interneurons. We also found that model learning proceeds in two stages, with an initial phase of sharpening error sensitivity followed by a fine-tuning period in which error responses to the tutor song are minimized. Finally, we showed that the error signal produced by this model can train a simple RL agent to replicate the spectrograms of adult bird songs. Together, our results suggest that purely local learning via predictive cancellation suffices for bootstrapping error signals capable of guiding self-directed learning of natural behaviors.

1. Introduction

The ability to acquire and maintain skilled motor behaviors is among the most impressive capabilities humans possess, from hitting a major league baseball to performing a Bach concerto. Yet learning these highly refined skills requires extensive practice, typically without the aid of external rewards or punishments. As part of this process, learners must therefore assess their own progress, presumably through a comparison of sensory feedback with some desired state. That is, for self-guided reinforcement learning to be possible, agents must somehow construct an internal reward function, a representation of high-quality performance capable of guiding subsequent behavioral adjustments.

In nature, the song copying behavior of male zebra finches provides a sophisticated example of precisely this type of learning. Early in development, juveniles memorize the courtship song of an adult male tutor during an initial “sensory” phase of learning, using it to guide independent practice in the subsequent “sensorimotor” phase, with the goal of replicating the tutor song (Roberts & Mooney, 2013). This copying process has typically been understood through the framework of reinforcement learning (RL) (R. Chen & Goldberg, 2020; Doya & Sejnowski, 1998; Fee & Goldberg, 2011; Sutton & Barto, 2018). In RL, animals alter their behaviors over time to gain rewards or avoid punishments, operationalized as maximizing the total reward delivered by the environment. In multiple species, such learning is known to be subserved by dopaminergic neurons in the ventral tegmental area (VTA), whose responses signal the mismatch between actual and expected reward (Gershman & Uchida, 2019; Gershman et al., 2024; Markowitz et al., 2018, 2023; Reynolds & Wickens, 2002; Schultz, 2007; Tsai et al., 2009; Yagishita et al., 2014). Likewise, dopamine has also been shown to be a critical driver for song learning in zebra finches (Gadagkar et al., 2016; Hisey et al., 2018; Hoffmann et al., 2016; Kasdin et al., 2025; Qi et al., 2025; Xiao et al., 2018), though in this case, it is an internally-generated reinforcement signal tracking performance quality relative to some standard (R. Chen & Goldberg, 2020; Doya & Sejnowski, 1998; Gadagkar et al., 2016; Kasdin et al., 2025; Qi et al., 2025). The fact that this standard — a particular tutor song — is not innate but learned thus raises the question of how juveniles bootstrap these performance errors.

Previous studies have implicated multiple interconnected auditory nuclei in signaling errors in birds’ own songs (Bolhuis & Moorman, 2015; Keller & Hahnloser, 2009; Mandelblat-Cerf et al., 2014), including regions projecting to VTA (R. Chen et al., 2019; Kearney et al., 2019; Keller & Hahnloser, 2009; Mandelblat-Cerf et al., 2014). Hypothetically, a neuron representing evaluative information should deviate from its baseline activity when sensory feedback during singing differs from desired behavior, while its activity should remain the same when performance meets expectations or the bird is silent. Indeed, certain neurons from Field L, caudolateral mesopallium (CLM) and ventral intermediate acropallium (Aiv) in adult birds respond to disruptive auditory feedback presented during singing but not to uninterrupted singing nor playback of normal or distorted song during non-singing periods (Keller & Hahnloser, 2009; Mandelblat-Cerf et al., 2014). Moreover, this error information is likely to converge in the intermediate arcopallium (Aiv) (Mandelblat-Cerf et al., 2014), since Aiv projects directly to VTA and pitch-dependent optogenetic activation of Aiv → VTA terminals results in negative reinforcement of syllable pitch in adult birds (Kearney et al., 2019).

Another important finding is that several of these auditory regions directly or indirectly receive premotor inputs from area HVC (proper name) (Akutagawa & Konishi, 2010; Mandelblat-Cerf et al., 2014; Nottebohm et al., 1982; Roberts et al., 2017). The presence of sensorimotor inputs to sensory regions suggests the possibility of corollary discharge mechanisms for the cancellation of self-generated sensory input, similar to those observed in mice (Harmon et al., 2024; Schneider et al., 2014, 2018), primates (Crapse & Sommer, 2008), and weakly electric fish (Dempsey et al., 2019; Kennedy et al., 2014; Wallach & Sawtell, 2023). Likewise, there is evidence in adult birds that premotor input from HVC to auditory regions may govern the selective engagement of error-responding neurons during singing (R. Chen & Goldberg, 2020; Kearney et al., 2019; Mandelblat-Cerf et al., 2014). Interestingly, HVC neurons have been found to exhibit tutor-song responsiveness in awake birds at early ages (Adret et al., 2012; Mackevicius et al., 2020; Moseley et al., 2017; Nick & Konishi, 2005; Schroeder & Remage-Healey, 2024; Vallentin et al., 2016), a feature which declines with age (Nick & Konishi, 2005) and disappears in adults (Nick & Konishi, 2001; Schmidt & Konishi, 1998). Thus, both the sensory and premotor information necessary for computing performance errors are present directly upstream of VTA, though the mechanism by which vocal performance error is computed remains unknown.

Here, inspired by these corollary discharge ideas, we hypothesize that during the sensory phase of learning, local learning rules in auditory areas of juvenile finches facilitate predictive cancellation of a copy of tutor song using cues provided by premotor inputs. That is, we propose that tutor song memorization and performance error computation are not separate processes but subserved by a single circuit mechanism. As a result, projection neurons in these areas gradually form a sparse population error code sufficient for guiding reinforcement learning in the sensorimotor phase (Fig. 1A). To test this possibility, we implemented a set of models varying in circuit structure, locus of plasticity, and type of learning rule, comparing against existing data recorded in auditory nuclei. We found that a balanced excitatory-inhibitory network with anti-Hebbian plasticity in the recurrent connections involving interneurons was most consistent with experimental data. Moreover, in analyzing the learning dynamics of this network, we found that the “error landscape” — the geometry of population responses — exhibits two phases during the sensory learning period: During the first phase, the gain of error responses increases, sharpening the error landscape. In the second phase, the minimum of this landscape moves to align with the tutor song. Lastly, we found that, using the error codes acquired by fitting to real zebra finch song data, we could train a simple agent to accurately copy a tutor song spectrogram via reinforcement learning. Together, these findings show that purely local learning mechanisms for predictive cancellation are sufficient for estimating multidimensional performance errors, signals sufficient to enable self-guided learning of natural behaviors.

Figure 1: Learning to cancel tutor song results in an error landscape sufficient for subsequent motor learning.

Figure 1:

(A) Schematic of the general hypothesis. Neuronal responses to sensory input define a multi-dimensional, time-dependent “error landscape.” During the sensory learning phase, local learning rules increase the landscape’s curvature (sensitivity to error) and move its minimum toward the target tutor song (red dot). In the subsequent sensorimotor learning phase, this error serves as a negative reward, and reinforcement learning algorithms refine the bird’s own song by performing error minimization on this landscape. (B) General model structure. A sparse coding model maps tutor song to auditory input, which is sent on to meet song-locked premotor timing input in secondary auditory nuclei. Local plasticity rules in these regions gradually learn to perform predictive cancellation of this pattern, giving rise to sparse error codes.

2. Results

To test for the emergence of error codes via local learning, we implemented a simplified model of the interconnected auditory areas of the forebrain as a single network receiving two inputs: upstream auditory input and premotor input (Fig. 1B). For the upstream auditory input, we assumed a sparse encoding of the song spectrogram (Schneider & Woolley, 2013; Smith & Lewicki, 2006) and trained a classic sparse coding model (Olshausen & Field, 1996) using a combination of adult male zebra finch songs (Koch, 2024), immature vocalizations (Brudner et al., 2023), and noise caused by behaviors such as flapping. The outputs of this model were then used as the firing rates of the auditory input population (Fig. S1; see Methods).

For premotor input, we assumed a sparse, sequential activity pattern in which individual units burst at well-defined moments during the song, similar to observed activity in HVC (Hahnloser et al., 2002; Long et al., 2010). While this pattern is well-documented in adult finches, it has also been observed that HVC contains tutor-song-selective neurons at early ages (Adret et al., 2012; Moseley et al., 2017; Nick & Konishi, 2005; Schroeder & Remage-Healey, 2024; Vallentin et al., 2016). However, to test the sensitivity of our results to the precision of this premotor sequence, we also replicated our experiments using a “developing” premotor input in which the peak time and peak width of premotor input are initially strongly irregular and only gradually become regular over learning. We found that using such premotor input for training does not affect the ability of the network to learn error codes that match experiments (Fig. S2; see below).

We modeled the local auditory circuit as consisting of a single population of excitatory projection neurons receiving excitatory premotor input and both excitatory and inhibitory sensory input from the sparse coding network. In other models, we added to this excitatory population a reciprocally connected pool of local inhibitory interneurons. To test the effect of different types of local learning rules and synaptic loci, we considered four models: (1) A feedforward network of excitatory neurons, with anti-Hebbian plasticity in premotor → E connections (Fig. 2A) and three balanced excitation-inhibition (EI) networks of interconnected excitatory (E) and inhibitory (I) neurons (Fig. 2B) with differing loci of learning: (2) anti-Hebbian premotor → E connections; (3) anti-Hebbian E → E connections; or (4) Hebbian E → I and I → E connections†. That is, in Hebbian plasticity models, a synapse was strengthened (or weakened) if the pre- and postsynaptic neurons were co-active (or not co-active) (Fig. 2C), while for anti-Hebbian models, the contingency was reversed. For simplicity, we implemented this learning using bilinear plasticity rules (Brown et al., 1990).

Figure 2: Four classes of models for local learning.

Figure 2:

(A) Feedforward model. Song-related premotor input directly drives excitatory neurons in secondary auditory areas, which receive both excitatory and inhibitory input from primary auditory areas. Plasticity takes place at the premotor→secondary auditory synapse (1). (B) Balanced excitation-inhibition (EI) networks with three potential sites of plasticity (2–4). As in (A), excitatory neurons in secondary auditory areas receive input from both primary auditory areas and premotor areas, as well as a local population of inhibitory interneurons. Numbers indicate the site(s) of plasticity in each of the three models. (C) Schematic of rate-based Hebbian and anti-Hebbian plasticity rules. Hebbian rules strengthen synaptic connections when postsynaptic excitation exceeds a threshold θ. Anti-Hebbian rules do the reverse. (D) Distributions of initial recurrent weights for the four types of connections. The bins at zero represent the 50% of connections in each model type that are set to 0 for sparsity. In general, inhibitory weights need to be stronger than excitatory weights to achieve EI balance. A detailed description of the parameters and construction of weights is in Methods and Table 1. (E) Illustration of EI balance. Left vertical axis: density of the distributions of E→E (blue), I→E (red), and their net inputs (gray); right vertical axis: output firing rate of the f-I curve (black). EI balance is achieved when the distribution of net inputs lies near the activation threshold of the f-I curve.

To achieve excitatory-inhibitory balance, we initialized the recurrent connection weights of the EI networks to be strong and random, with means obeying the balanced condition (van Vreeswijk & Sompolinsky, 1996) (Fig. 2D), such that the net recurrent input to a neuron lay within the linear regime of its activation function, even if recurrent excitation or inhibition would separately have produced runaway or silent activity, respectively (Fig. 2E). Together, these models produced sparse activity at biologically plausible firing rates while allowing us to consider multiple possibilities for both circuit connectivity and the locus of synaptic plasticity during learning.

2.1. Learning predictive cancellation enables neurons to signal error

We simulated the sensory phase of learning by training each of our models to cancel sparse auditory embeddings of the spectrograms of real adult male zebra finch songs (Fig. 1B). As expected, anti-Hebbian learning reduced the activity at both the population and individual neuron levels (Fig. 3A-B), and plastic weights projecting to the excitatory neurons of auditory regions were more negatively correlated with tutor song input after learning (Fig. S3), allowing local input to cancel the expected auditory pattern of the tutor songs.

Figure 3: Neurons produce sparse error codes after learning to cancel tutor song auditory patterns.

Figure 3:

(A) Two example neurons in the E→I→E model decrease firing over learning. Gray dashed vertical lines mark song onset. Other models are qualitatively similar. (B) Population mean firing rates decrease over training, relative to the initial population means. Feedforward and non-recurrent models exhibit the largest percent decreases. (C) Quality of cancellation (see Methods) in the four models as functions of premotor projection density, plasticity threshold θactive, and excitatory neuron activation threshold θE. Positive (or negative) quality of cancellation indicates lower (or higher) similarity of population activity with tutor song patterns after training. Widths of the shaded areas denote 1 s.d. across 20 initializations of each model. Models with recurrent plasticity perform best in the physiological regime of sparse inputs and low firing thresholds. (D) Learned singing responses under practice and perturbation. Raster plots show the responses of all excitatory neurons during singing under conditions of correct song (matching the tutor song), weak perturbation (small added noise), strong perturbation (strong added noise), and deafening (no auditory input). Neurons are sorted by the difference between auditory input (bird’s own song) patterns and the sample-averaged tutor song pattern. (E) Population mean rates in the correct (black), deafened (grey), weak perturbation (dotted red), and strong perturbation (solid red) cases during singing. The purple bar in each subplot indicates the 100-ms white noise perturbation to the auditory feedback of the bird’s own song. Only the E→ E model fails to exhibit a population response to error. (F) Percentages of active excitatory neurons (r¯≥3Hz, see Methods) in different models, averaged across all samples, from the earliest perturbation onset to 100 ms after the latest perturbation offset. Except for the E→ E model, a denser set of neurons are active during perturbed singing than during correct singing. Note that the learning rate is set to zero in (D-F).

Comparing across models, we found that while firing rate reductions were more pronounced in the feedforward and premotor→E models (Fig. 3B), the quality of tutor song cancellation depended on multiple parameters. In particular, we probed how the cancellation depended on three important and experimentally measurable quantities: the density of premotor synapses, the equilibrium threshold of plasticity, and the excitatory neuron firing threshold (Fig. 3C). When premotor projection density is sparse, as observed in experiments (Mandelblat-Cerf et al., 2014; Roberts et al., 2017), cancellation is more effective in the E → E and E → I→ E models than the models with premotor→ E plasticity, because the latter models must directly store negative images of tutor song patterns in the limited premotor→ E weights. In this sparse premotor projection scenario, the error codes in the feedforward and premotor→ E models are degraded (Fig. S4). Furthermore, the quality of cancellation remains relatively stable over different plasticity thresholds across all models, while for the excitatory neuron firing threshold, the feedforward and premotor→ E models fail to cancel tutor song patterns unless the excitatory neurons are hard to activate, while the E → E and E → I→ E models favor intermediate to low thresholds (Fig. 3C). Thus, models with recurrent plasticity are more robust to different parameter values in our models.

Having verified that models could reliably cancel tutor song, we then proceeded to assess their error-coding capacity by testing their responses to unanticipated auditory inputs. Following experiments in which the responses of auditory neurons were probed by playing either undistorted or noise-corrupted recordings of the bird’s own song (Keller & Hahnloser, 2009; Mandelblat-Cerf et al., 2014), we set the learning rates of our fully-trained models to zero and observed their responses under these conditions. To simulate the correct singing case, in which the bird’s own song matches the tutor song, we randomly selected samples from tutor song data as the auditory inputs. In response to these stimuli, most excitatory neurons in a local forebrain circuit exhibited low transient activity (Fig. 3D). In contrast, when the auditory feedback of the bird’s own song was perturbed by directly adding 100ms of white noise to the stimulus, these neurons displayed heterogeneous error responses, with larger firing rates on trials with larger mismatch between auditory feedback and the sample-averaged tutor song. This finding was also replicated with stronger white noise perturbation. In addition, when the auditory feedback was removed, simulating the case of singing in deafened birds, neurons weakly signaled the inverse pattern of tutor song—indicative of predictive cancellation. At the population level, the mean rates (Fig. 3E) and percentages of active neurons within the perturbation time window (Fig. 3F) of the excitatory population were increased by perturbation and deafening in all but the E → E model. Though the E → E model did not exhibit a mean population error response, it nonetheless showed heterogeneous error responses like the others (Fig. S5A-D).

We also observed that increases in population mean firing rates and percentages of active neurons did not persist to the end of the song (Fig. 3E and Fig. S5E), agreeing with experimental findings (Mandelblat-Cerf et al., 2014). Using perturbations much shorter than the duration of a syllable, we further verified that the circuits can signal error on a sub-syllabic basis (Fig. S6A-C). Together, these results suggest that, simply by using local learning to cancel tutor song, our models simultaneously developed sparse population error codes with high temporal precision.

2.2. Experimental data favor error codes learned via inhibitory plasticity

As stated above, our models considered four potential kinds of local plasticity in auditory circuits. To determine which of these candidate model is most likely, we compared the error codes from our models with neural activity obtained from one-photon calcium imaging performed in the caudal mesopallium (CM) of adult male zebra finches (Fig. 4A) before and after deafening. CM is a primary auditory region and also receives input directly from the premotor area HVC. During recording, we used a closed-loop system (Tumer & Brainard, 2007) to randomly target 50% of syllable renditions with white noise to induce an artificial vocal error. We found that CM neurons displayed sequential activation or suppression during singing, with this activity disrupted by white noise perturbation (Fig. S7A). In a sparse set of neurons, mean responses to these perturbations increased relative to correct singing, while a larger subset of neurons increased their responses during song post-deafening (Duarte Ortiz, 2024) (Fig. 4B).

Figure 4: Comparison of experimental data to models with different sites of local plasticity.

Figure 4:

(A) Left: schematic of the pan-neuronal calcium imaging experiments. Right: z-scored responses of three example units in the case of correct singing (dashed lines) and white noise perturbation (solid lines). (B) Distributions of trial-averaged z-scored calcium fluorescence in correct versus perturbed singing in area CM of adult male zebra finches. Top row: scatterplot of white noise perturbation responses versus responses on correct singing trials. A sparse set of neurons are more activated by white noise perturbation (red arrow). Each dot represents the trial average of the normalized activity of one neuron over the song period (see Methods). Bottom row: same as top row, but comparing responses post-deafening with correct singing responses pre-deafening. (C) Same as (B) for the four classes of plasticity models (with model firing rates instead of fluorescence). Black dots are excitatory neurons and grey dots inhibitory neurons. In the models, only excitatory neurons exhibit the sparse error responses seen the experimental data, with some qualitative differences across models. (D-G) Distributions of the differential neuronal responses between correct singing and either perturbation (D,E) or deafening (F,G). (D,F) show these values for data, and (E,G) for models. For the models, both excitatory and inhibitory neurons are included. Numbers above each histogram indicate the skewness of the distribution. All distributions are significantly skewed (p < 0.01, two-sided Wilcoxon signed-rank test). For (E), data from simulations of weak noise perturbation in the models were used for the comparison. Strong perturbations produce even more skewed distributions, resulting in identical conclusions.

Our models replicate these effects. We found both intact and disrupted sequential activation during normal and perturbed singing, respectively, though only the E → E and E → I→ E models could additionally produce the observed sequential suppression (Fig. S7B). Moreover, in comparing perturbed to unperturbed responses, we found a sparse set of neurons more activated by white noise perturbation and deafening than during normal singing, and such activation is stronger and denser in the deafening case than white noise perturbation (Fig. 4C). In our models, this effect was driven by excitatory but not inhibitory neurons.

Yet, while all models contained such a sparse population of perturbation-responsive neurons, not all models provided an equally good quantitative match to data. To quantify the prevalence and magnitude of this perturbation response across models, we computed the distribution of differential neuronal responses across both the white noise (perturbed minus correct; Fig. 4D-E) and deafened (deafened minus correct; Fig. 4F-G) conditions. We found that the experimental distributions of these effects were strongly right-skewed (Fig. 4D and F), an observation reproduced by all models in the perturbation condition and only the premotor→E and E→I→E models in the deafened condition. Furthermore, the premotor→ E model was unable to reproduce this effect when premotor input was sparse (Fig. S4) or highly irregular during training (Fig. S2D-E), while the E → I → E model reliably reproduced the experimental observations in those more challenging and realistic scenarios. A brief summary of the results of these simulations is provided in Table 1, which suggests that the E → I → E model with local inhibitory plasticity best matches experimental data.

Table 1: Summary of comparisons between models and experiments.

The base case corresponds to simulations with regular premotor firing during training, premotor projection density favored by different models (dense for the feedforward and premotor →E models, and sparse for the E→E and E→I→E models; see Table 1), and whole-syllable perturbations (changing the input patterns for the entire duration of the syllable). The other conditions deviate from the base case as described.

Test Auditory feedback during singing Feedforward Premotor→E E→E E→I→E
Base case perturbed
deafened
✓
×
✓
✓
✓
×
✓
✓
Irregular premotor firing during training perturbed
deafened
×
×
✓
×
✓
×
✓
✓
Ultra-sparse premotor projections (5%) perturbed
deafened
×
×
×
×
✓
×
✓
✓
Sub-syllabic perturbation perturbed × ✓ × ✓

2.3. Population error codes exhibit two-stage learning

In our models, local learning rules give rise to predictive cancellation of tutor song inputs, producing as a byproduct sparse population error codes. Viewed as a function of auditory input, these codes describe an “error landscape” whose geometry might guide subsequent reinforcement learning. To understand how these codes develop at the population level, we analyzed the spectrum of the recurrent weight matrix J of our most plausible candidate, the E → I → E model, over the course of training. Since this matrix governs recurrent population dynamics in response to auditory input, understanding its changes during learning sheds light on the process by which the error landscape takes shape. Specifically, we analyzed J using its singular value decomposition (SVD), decomposing it into a sum of rank-1 input-output pattern pairs (Fig. 5A-C). Each of these pairs describes a “singular mode,” an independent dynamical mode in population responses.

Figure 5: The minimum and shape of the error landscape are encoded by different connectivity modes in the E→ I →E model.

Figure 5:

(A) Schematic of the singular value decomposition of the concatenated connectivity matrix. (B) The sorted singular value spectra before (blue) and after (orange) learning. The spectrum exhibits a clear kink that we use to differentiate between dynamics, landscape, and memory modes and “other modes.” (C) Left: Dissimilarity between the non-memory modes and their initial values over training time. The green curve is the dynamic mode, which barely changes, and the red curves are landscape modes, which change rapidly and quickly stabilize. Right: Strength of memory encoding for all modes during training. The blue curves are those with final memory encoding strengths larger than the maximum pre-learning memory encoding strength (i.e., noise correlation). (D) Convergence time for landscape modes and memory modes (asterisk indicates p < 0.01, one-sided Wilcoxon signed-rank test), quantifying the time trends shown in (C). (E, F) Altering landscape and memory modes alters population error responses. Relative responses are defined as the percentages of population rate change compared to the correct singing responses. Comparisons among the original trained models (black); models with the top 15 landscape modes removed (red), with memory modes removed (blue); and with the top 15 non-memory, non-landscape modes removed (purple). Asterisks in the the right panels indicate significant differences between distributions (p < 0.01; two-sided Wilcoxon signed-rank test; colored asterisks: altered model versus original model; black asterisks: models with perturbed memory versus landscape modes). (E) Left: model response as a function of perturbation strength (0: correct song; 1: random embedding). Altered landscape modes show lower response gains. Right: the midpoint slope is the slope of the line tangent to the curves at 0.5 on the left plot. (F) Left: rate changes as a function of song scaling (0: deafening; 1: correct song). Minimum network responses shift when the memory modes are altered. Right: the locations of the minima of the curves. Perturbations of the landscape modes primarily affect the error landscape slope, while perturbations of the memory modes alter its minimum. (G) Schematic of changes to the error landscape as a result of learning.

We found that, while J remains high-rank throughout learning (Fig. 5B), its singular modes are readily separable into groups based on their learning time courses and effects on the error landscape. In all cases, the top singular mode of J was unchanged by learning (Fig. 5B-C) and encoded the network’s basic connectivity structures and responses to transients; perturbing it resulted in runaway dynamics (Fig. S8). Since this mode ensures the dynamic balance of neural activity, we refer to it as the “dynamic mode.” After the dynamic mode, we found range of singular modes that changed significantly over the course of learning (Fig. 5B-C). Among these, a small number (N≤15) eventually developed correlations with tutor song patterns, while a second group that did not exhibit this pattern nonetheless changed rapidly and quickly stabilized after learning began. For reasons that will become clear below, we will refer to these as groups as “memory modes” and “landscape modes,” respectively. Finally, beyond these groups remained a long tail of modes (“other modes”) with much smaller singular values that we did not analyze. In terms of time course, we found that the landscape modes exhibited fastest learning, as measured by the divergence between their start and end patterns, followed by the memory modes, whose magnitudes of correlation with tutor song patterns all grew over the course of training, albeit more slowly (Fig. 5D).

How do these distinct classes of modes affect the learned error landscape? To understand this phenomenon, we performed perturbation experiments in which we altered one or both of sets of modes in the network weights post-learning. Specifically, we either (1) “de-memorized” the models by removing the correlation between memory modes and tutor song patterns*, or (2) shuffled the entries of a similar number of landscape modes or (3) shuffled other nonessential modes (see Methods). All three interventions significantly changed the mean firing rate of the network compared to the original models in the unperturbed, deafened, and perturbed singing cases (p < 10−5, two-sided Wilcoxon rank-sum test; Fig. S9A). To interpret the effects of intervention on the error landscape, we then tested the altered networks by changing both the degree of perturbation to auditory feedback (from correct tutor song patterns to completely random patterns; Fig. 5E) and to the input song (interpolating between songs of deafened birds and tutor song; Fig. 5F).

We found that disrupting the landscape modes strongly flattened the error landscape (Fig. 5E) and elevated error responses (Fig. S9), indicating that the landscape modes primarily alter the curvature of the error landscape. On the other hand, decorrelating the memory modes from tutor song moved the minimum location of the error landscape away from the tutor song and closer to silence (Fig. 5F), suggesting that the role of these modes is to shift the minimum of the error landscape. Paradoxically, disrupting the “other modes” could even slightly increased the slope of the error landscape and moved the minimum location closer to the original tutor song pattern (Fig. 5E-F). This suggests either that some memorization of the training data has occurred in these small modes (Bartlett et al., 2020) or that local learning has not fully converged at the fixed step size chosen in our experiments. These observations are qualitatively similar across alternative shuffling methods (Fig. S10).

Together, these results suggest that changes in the recurrent connectivity matrix of the E→ I→I model over the course of learning proceed in two phases: First, rapid learning of the landscape modes increases the gain of error responses and thereby sharpening the error landscape. Second, a relatively slower lock-in of memory modes aligns the minimum of the error landscape (smallest error response) with the tutor song pattern, providing a target for subsequent sensorimotor learning (Fig. 5G).

2.4. Model error codes suffice for reinforcement learning of song

In the previous sections, we have shown that our models, trained with local learning rules, produce sparse population error codes and that the learning process consists of an initial phase of error gain adjustment followed by a shift in minimum error response toward the tutor song. However, it remains to be seen whether these error codes contain sufficient information about deviations between vocal performance and the tutor song to guide learning. To test this, we developed a simple learning paradigm based on the actor-critic RL framework, widely used to model vocal learning in songbirds (R. Chen & Goldberg, 2020; R. Chen et al., 2019; Fiete et al., 2007; Kearney et al., 2019; Teşileanu et al., 2017; Tran & Koulakov, 2024).

We assume that the evaluation of song generation and learning happen at the syllable level. For every syllable index (“state”) s(t), the actor generates a set of weights a(s) used to linearly combine a set of spectrogram basis elements stored in the rows of a matrix B. That is, the predicted spectrogram is a(s)⊤B (Fig. 6A). As above, the generated spectrograms undergo a sparse linear embedding, forming the auditory population input to our local circuit model. Rather than maximizing external rewards from the environment, our agent is trained to minimize the population averaged error signal at each time step, equivalent to maximizing an internal reward signal equal to the negative of this quantity: R(s)∝−r¯E,s, where r¯E is the mean response of the excitatory population. The agent’s actions are parameterized as a state-dependent Gaussian distribution over basis elements: a(s)∼N(μ(s),I), and at each step of learning, the temporal difference (TD) error signal δ is used to update the agent’s estimate of the value of each state V(s). Specifically, after each syllable, these functions are updated by a standard temporal difference learning algorithm:

δ=−cr¯E,s−V(s)(TD error) (1)
μ(s)←μ(s)+αδ(a(s)−μ(s)) (2)
V(s)←V(s)+αδ, (3)

where α is the learning rate and c=10 is a constant scaling the mean rate.

Figure 6: Error codes produced by local learning rules can be used to train a motor policy.

Figure 6:

(A) Schematic of the actor-critic reinforcement learning model. A syllable-based state variable s(t) indexes both the motor policy (actor a(s)) and the prediction of the expected reward (critic V(s)). Syllables y(s) are generated by linearly combining spectral basis elements B using the outputs of the policy a(s). The negative of mean error signal −r¯E,s serves as the reward signal to be maximized. (B) Excitatory population firing rate (error signal) and temporal difference (TD) error plotted as a function of trial. Results shown are for the E→ I →E model, but results for the feedforward and premotor→E models are similar (see Fig. S11). (C) Tutor syllable templates (top row), and model-produced song before, during, and after learning (last three rows). The model is able to reproduce the tutor song using only the learned population error code as feedback.

Using this learning model, we tested the ability of all four of our models to copy a tutor song using their own error signals as a negative intrinsic reward. Learning in this highly simplified task converged quickly, within 2500 trials, as indicated by the exponential decrease in vocal error and the convergence of the TD error to zero (Fig. 6B; Fig. S11A,C). For the E→ E model, learning was slower, and only some generated syllables matched the target (Fig. S11D), likely because the population mean rates are largely insensitive to error (Fig. 3E). For the E → I→ E (Fig. 6C), as well as the premotor → E (Fig. S11A) and feedforward models, all the generated syllables gradually matched the target syllables. Furthermore, when landscape and memory connectivity modes were perturbed as in our analysis of the previous section, learning in these perturbed models was impaired, with perturbed memory modes having the strongest effect (Fig. S12). Together, these results demonstrate that the models’ learned error codes are sufficient to guide a motor program to produce songs that resemble a tutor target.

3. Discussion

For animals to learn complex behaviors without external reinforcement, they need an internal mechanism to evaluate their performance. Here, we have used computational models to explore the idea that this internal error is learned via local mechanisms orchestrating predictive cancellation of an expected sensory target. For any given sensory input, mismatches in this cancellation give rise to population error codes that can be used to move performance toward the target. Using songbird vocal learning as paradigmatic example, we implemented plausible circuit models with different connectivity motifs and types of plasticity that learn to cancel the auditory patterns of tutor songs during an early period of sensory learning. In the subsequent practice-based sensorimotor learning phase, auditory input to the system differs from the pattern of the tutor song, and an error code with similarities to observed responses in songbird auditory regions emerges. Among these models, the balanced excitation-inhibition network with Hebbian E → I and I → E plasticity rules (E → I → E model) best matched these experimental data. By characterizing changes to the weight matrix in the E → I → E model during learning, we also found that learning the cancellation proceeded in two steps: an initial sharpening of error responses, followed by a reshaping of the geometry of population errors that shifted minimum firing away from silence and toward the target pattern. Finally, we confirmed that the error codes generated by the E → I → E model are capable of guiding a motor policy to produce songs that match the target using a simple reinforcement learning model.

To our knowledge, this work offers the first concrete computational models of vocal error evaluation in a local forebrain circuit in songbird auditory areas. Given the rich connectivity among these auditory areas (Bolhuis & Moorman, 2015; Calabrese & Woolley, 2015) and the fact that several sites are likely to be important to sensory learning (Bolhuis & Moorman, 2015; Kearney et al., 2019; Mandelblat-Cerf et al., 2014; Roberts et al., 2017), we have treated them as a single balanced EI network model, assuming that the excitatory population both receives premotor information and sends error codes (Akutagawa & Konishi, 2010; Kearney et al., 2019; Mandelblat-Cerf et al., 2014; Nottebohm et al., 1982). Based on findings that tutor-song-selective neurons are present in area HVC during early sensory learning (Adret et al., 2012; Moseley et al., 2017; Nick & Konishi, 2005; Schroeder & Remage-Healey, 2024; Vallentin et al., 2016), we have also assumed that premotor input provides the temporal basis for predictive cancellation of tutor songs. While this idea of error codes arising from predictive cancellation is not new (e.g., Dempsey et al., 2019; Kennedy et al., 2014, in electric fish) and has been discussed in the context of novelty detection in the avian brain (Happ, 2023), ours is the first study to systematically examine both the implications of different types of plasticity in such a system and to demonstrate how the resulting error codes can subserve reinforcement learning.

Evidence from recent research offers some support for these results. Our model comparisons suggest that the E → I → E model is the most plausible (Fig. 4, Fig. S2), and studies have revealed age-contingent Hebbian plasticity from inhibitory interneurons to pyramidal neurons in mouse auditory cortex (D’amour & Froemke, 2015; Field et al., 2020; Vickers et al., 2018) that can affect both EI balance and sound frequency representation. Similarly, recent theoretical work shows that bi-phasic prediction error signals can emerge in EI networks through a combination of local learning rules in E → E and I → E connections (Asabuki et al., 2025). While the model in that work undergoes associative learning, our learning rules are anti-associative and produce an effective subtraction between sensory feedback and a learned predictive pattern. Encoding of prediction error patterns from such subtraction was also found in the single neuron responses in several auditory areas in anesthetized European starlings listening to conspecific songs (Rudraraju et al., 2024), consistent with a predictive coding model. Other support comes from the zebra finch brain, where the premotor area HVC projects sparsely to secondary auditory areas such as CM and Aiv via avalanche (Av) (Bolhuis & Moorman, 2015; Calabrese & Woolley, 2015), though these projections may not be dense enough (Akutagawa & Konishi, 2010; Mandelblat-Cerf et al., 2014; Roberts et al., 2017) to support the necessary learning in premotor → E models. However, the E → I → E model is robust to sparse premotor projections. In addition, spontaneous firing in Aiv (Mandelblat-Cerf et al., 2014) and CM (A. N. Chen & Meliza, 2018) may indicate low neuronal firing thresholds, to which our E→I→E is also robust.

Finally, to confirm that the learned error codes are sufficient to guide song generation, we implemented an actor-critic RL system whose components align with prominent theories about learning in the avian song system (R. Chen & Goldberg, 2020; Fee & Goldberg, 2011). For simplicity, we chose a scalar critic function and used the mean excitatory rates from our vocal error models to construct the temporal difference (TD) error, and under this assumption, the premotor→ E and E → I → E models are capable of learning to produce all syllables, while the E → E model results in matches between some syllables. Yet, our models potentially support multidimensional error signaling, as suggested by the correlation between the error codes and the true difference between the target and actual input patterns, (Fig. 3D), as well as the fact that anti-Hebbian learning encodes negative templates in the connections (Fig. S3).

Consistent with the vector-valued error code observed in our models, stimulation of ventral pallidum (VP) and Aiv, leading candidates for the critic and vocal error estimator, respectively, drives heterogeneous responses in VTA (R. Chen et al., 2019). These heterogeneous responses have recently been linked to vector-valued dopamine signals (Dabney et al., 2020; Gershman et al., 2024; Lee et al., 2024; Wärnberg & Kumar, 2023), for which several theories have been proposed. For example, heterogeneous dopamine responses have been suggested to encode prediction errors for different expectiles of the reward distribution (Dabney et al., 2020), TD errors corresponding to subspaces of cortical states (Lee et al., 2024), or gradients from the mismatch error between basal ganglia outputs and targets (Wärnberg & Kumar, 2023). An equally important question is how these vector dopamine signals are constituted physiologically. Here, we have proposed biologically plausible models that support such vector error codes, and a critical future step will be to connect these models to the existing theories of vector dopamine feedback.

Lastly, while we have attempted to align our models with known zebra finch physiology, we have made several key simplifications for purposes of theoretical tractability and computational efficiency: First, auditory inputs to our model are temporally interpolated sequences of sparse embeddings of song syllable spectrograms (Fig. S1) produced by a classic linear sparse coding model (Olshausen & Field, 1996, 1997). This is, at best, a caricature of early auditory processing and discards sub-syllabic variation. Even so, anti-Hebbian learning of the type we propose is theoretically agnostic to input distribution as long as these inputs maintain reasonable variability. Thus, our models could, in principle, handle sub-syllabic structure by a proper choice of time constants and input scaling. Second, our models learn through bilinear Hebbian or anti-Hebbian rules with fixed thresholds (Fig. 2C and Eq. 7). In reality, the plasticity can be bounded, adaptive, and multi-factored. In this work, we have elided these complexities, focusing simply on what is learnable in principle by simple local rules. Third, we have focused on firing rates and rate-based neurons. Future studies will need to extend these results to the added sparsity and nonlinearities of spiking neural networks. Fourth, we do not presume to account for all auditory processing. While responses of our proposed cancellation circuit are minimal when the bird’s own song closely matches the tutor memory, we do not propose that the bird fails to perceive its own song in these cases. That is, the songbird’s predicament differs from other situations in which the goal of corollary discharge is to perceptually cancel predictable nuisance inputs (Kennedy et al., 2014; Schneider et al., 2014, 2018).

In summary, our models suggest that local learning for predictive cancellation is sufficient for the formation of error signals that can guide self-driven learning of complex motor behaviors. Further, by comparing models with different types of plasticity and aligning these to experimental data, we predict that a circuit involving plasticity between excitatory and local inhibitory neurons is most likely to support learning of internal behavioral evaluation signals. Together, these results constitute a novel computational theory for the circuit mechanisms underlying animals’ ability to evaluate and refine their behaviors without external supervision or reinforcement.

4. Method

4.1. Vocal error circuit models

The vocal error circuit models can be described by a set of differential equations for the total input ha∈ℝNa (where a=E,I)

τEddthE=−hE+WErH+JEErE−JEIrI+y+ϵtE (4)
τIddthI=−hI+JIErE−JIIrI+ϵtI (5)

where rE=ϕEhE, rI=ϕEhI and rH∈ℝNH denote the excitatory, inhibitory, and premotor neuron firing rates, respectively, the τ’s are time constants, and

ϕb(x)=rmax21+erfx−θbsb2

are sigmoidal activation functions. Values of the parameters for the main results are summarized in Table 1. Reasonable choices of maximum firing rates rmaxI≥rmaxE did not qualitatively affect the dynamics. WE are the synaptic weights from premotor input to the excitatory neurons, Jab≥0 are local synaptic connections from population b to population a, y is the auditory input, and ϵta∼N0,σϵ is the i.i.d. white noise at each time step.

4.1.1. Connectivity Matrices

As noted above, the synaptic connections are represented by a set of weight matrices: WE denotes premotor→E connections and Jab≥0 are connections from population b to population a.

The values of the initial weights of existing synapses in the premotor→ E connections are drawn from a log-normal distribution:

WijcijW=1∼LogNormμW0,σW02.

where cijW∈{0,1} is a Bernoulli random variable with probability PcijW=c¯W and denotes whether the synapse from rjH to riE exists. In the E→E and E→I→E models, Wij stays fixed, while in the feedforward and EI networks with premotor→E plasticity, it undergoes learning.

For the feedforward model, Jab=0, which reduces the equations to

τEddtrE=−rE+ϕEWErH+y. (6)

For the EI network models, the initial weights obey

JijabcijJab=1∼LogNormJ0abNb,γabJ0ab2Nb,

where cijJab∈{0,1} is again a Bernoulli random variable denoting whether the synapse from rjb to ria exists, J0ab controls the scales of the connections, and γab controls the variances. Other choices of γab with similar order of magnitude gave qualitatively similar results. For simplicity, we assume all recurrent weights have the same density, i.e. PcijJEE=PcijJIE=PcijJEI=PcijJII=c¯J.

To enforce EI balance, the J0ab obey the EI balance condition

J0EEJ0IE<J0EIJ0II.

One can easily derived this inequality by noticing that the mean recurrent input to each neuron is O(Nc¯) and must be set to zero:

IextNEc¯J+J0EEr¯E−NINEJ0EIr¯I≈O1NEc¯J≈0excitatory neuron input
J0IEr¯E−NINEJ0IIr¯I≈O1NEc¯J≈0inhibitory neuron input,

where Iext is the total external input to each excitatory neuron and is assumed to be as strong as ONE. Note that, in contrast with van Vreeswijk and Sompolinsky (1998), the inhibitory population in our models does not receive strong external input. Unless otherwise mentioned, Table 1 summarizes the values of the parameters. Other values obeying the balance condition did not change the qualitative results.

For simplicity, cijW and cijJab are fixed once the networks are initialized. That is, there is no birth or death of synapses during the simulations. Except for Fig. 3C (left), PcijW=1 for the feedforward and premotor→ E models, and for E → E and E → I → E models, PcijW=0.05 for learning realistic input. In Fig. 3C (left), PcijW was varied from 0 to 1 to see its effect on the training in different models. Unless otherwise specified, c¯J=0.5, though denser (up to 1) or sparser (0.3) recurrent connectivity did not show qualitatively different results.

4.2. Hebbian and anti-Hebbian learning

In the premotor→ E and E → E models, anti-Hebbian learning happens in either premotor→ E or E → E connections. In the E → I→ E model, Hebbian learning happens in E → I and I → E connections. Both learning rules can be described by the same differential equation, where the learning strength η is strictly positive for Hebbian learning, and strictly negative for anti-Hebbian learning.

τWddtWij=−Wij−w0+ηri(t)−θactiveirjt−Δt−θactivej, (7)

where Wij is the synaptic weight from neuron j to neuron i, τW≫0 is the time constant of the weight evolution, w0 is the weight baseline, Δt is the time asymmetry of the plasticity, and θactive∼O(1) are thresholds for determining whether the pre- or postsynaptic neurons are active. The first term is used to prevent the weights from growing to infinity. The second term learns the correlation or anti-correlation between the pre- and postsynaptic neurons. Briefly, in (anti-)Hebbian learning, the synaptic weight is increased (decreased) when both the pre- and postsynaptic neurons are active, and decreased (increased) when they are not co-active. To obey Dale’s law, the weights are clipped at each time step:

Wij←maxWij,0.

Values of the parameters are summarized in Table 1.

4.3. Premotor Input

We assume that premotor neurons in our model respond to tutor song, as has been found for HVC (Adret et al., 2012; Moseley et al., 2017; Nick & Konishi, 2005; Schroeder & Remage-Healey, 2024; Vallentin et al., 2016). Specifically, the firing rate of a premotor neuron riH for i=1,2,…,NH in multiple renditions j=1,2,…,Nrend is modeled as

riH(t)=∑jrburst(j)exp12τburst(j)2t−ton(j)−TsongNH−1(i−1)−δburst(j)2 (8)

where rburst(j) is the burst firing rate, τburst(j) is the peak width, ton(j) is the song onset, Tsong is the song length, and δburst(j) is the jittering for the burst peak. Notice that rburst(j), τburst(j), and δburst(j) can vary over renditions.

Except for Fig. S2, we further assume that premotor neurons have already developed sparse bursting behaviors with stable burst times and relatively stable burst profiles during a rendition of song. We set rburst(j)∼N(150,0.1)Hz, τburst(j)∼N(20,0.01)ms, and δburst(j)=0ms.

We also tested the models using developing, progressively regular, premotor bursting profiles in Fig. S2. In these cases, rburst(j) follows a log-normal distribution with mean 150 Hz and standard deviation 70ψ(j)Hz, τburst(j)−20 follows an exponential distribution with scale parameter 60ψ(j)ms, and δburst(j)∼N(0,100ψ(j))ms, where

ψ(j)=exp−3j/Nrend

is a scaling factor decreasing smoothly over training.

4.4. Auditory Input

Except for Fig.1A, we tested the models using input patterns derived from birdsong data. To simulate input to the secondary auditory regions, we postulate that the upstream auditory processing implements a form of sparse coding (Lewicki & Sejnowski, 2000; Olshausen & Field, 1997, 2004) (see 4.5). We trained a sparse coding model on flattened spectrograms of tutor song, similar to what a juvenile bird might hear during the sensory phase. More specifically, the training data involved the syllables of adult zebra finches, vocalizations of juvenile zebra finches (35–40 dph), and behavioral noise recorded during 35–40 dph. After training, the sparse coding model trained using test sequences of syllable spectrograms, generating sequences of discrete syllable representations. To produce time series whose durations matched the original song recordings, each representation was extended over the time window of the corresponding syllable, with the gaps between filled by zeros. Lastly, the time series were convolved with an exponential kernel to smooth the transitions between representations.

4.4.1. Perturbation and Deafening

To simulate external perturbation of auditory feedback (except for Fig.5F), we first added 100ms of white noise to the audio clips of a particular syllable, generating the spectrograms using the same parameters as for unperturbed song. The spectrograms of both perturbed and unperturbed syllables are then fed into the sparse coding model in the same syllable order, and the continuous time series were generated following the same procedures as for the unperturbed input (Fig.S1). To simulate the deafening case, we set the auditory input y=0.

To quantify the changes of error landscape in Fig. 5F, we directly perturbed the sparse embedding of the tutor song input because the alternative perturbation approach described above leads to great variance in the effective difference between perturbed and correct tutor song patterns for each choice of perturbation strength (Fig. S1G). First, a noise pattern, y˜ is generated by randomly shuffling the elements of the sparse embedding of the syllable to be perturbed. Given a perturbation strength variable γ, the new perturbed pattern, y^(γ) was calculated as

y^(γ)=1−γ2y+γy˜.

For Fig. 5G, we simply scaled the sparse embedding by a scaling parameter a:y^(a)=ay, where a=0 corresponds to the deafening case and a=1 corresponds to the correct singing case.

4.4.2. Simplified input for illustrating error landscape

The error landscape at a given moment in time is the transient neuronal activation around that moment. To be able to clearly visualize an error landscape in Fig.1A, we used a simplified auditory input pattern ξ∈ℝNE with each element drawn from an i.i.d. Gaussian distribution, ξi∼N0,I3×3, though the results do not depend on the mean and standard deviation as long as they are O(1). The premotor input is 1-dimensional. We would like to focus on a particular moment in time and thus set rH(t)=rmaxH and y(t)=ξ. We then used the stationary population mean rates of the excitatory neurons at different auditory patterns to plot the error landscape.

4.5. Sparse Coding

Sparse coding theory postulates that neurons form an overcomplete set of basic sensory features, with only a small subset of neurons are activated for a particular sensory input (Lewicki, 2002; Lewicki & Sejnowski, 2000; Olshausen & Field, 1996, 1997, 2004). Variants of sparse coding models have predicted key properties of sensory encoding (Beyeler et al., 2019; Mukherjee et al., 2025; Olshausen & Field, 2004), including in primary visual cortex (Olshausen & Field, 1996, 1997), primary and secondary auditory regions (Lewicki, 2002; Mukherjee et al., 2025), and, pertinently to our work, in the caudo-medial nidopallium (NCM) of European starling (Kozlov & Gentner, 2016), an auditory region containing neurons selectively tuned to birdsong.

We adapted a classic linear sparse coding model (Olshausen & Field, 1996, 1997). Briefly, let X∈ℝK×N be a set of flattened spectrograms of bird song syllables, where K is the number of samples and N is the number of time bins multiplied by the number of frequency bins. We would like to find basis features A∈ℝL×N, where L is the number of features, and sparse coefficients (i.e. the neural responses) S∈ℝK×L, such that

X=SA+ϵ

where ϵ is some noise. In the original work(Olshausen & Field, 1997), this was formulated as a probabilistic inference problem and approximated such that its solution for a training set X˜ can be found by repeating the following three steps until convergence of the basis A∗:

  1. For a fixed A, find
    S∗=argminS1N∑ijX˜ij−(SA)ij2+λL∑ikSik
  2. For the optimized S∗, find
    A^∗=argminA∑ijX˜ij−S∗Aij2
  3. Normalize each basis, Aij∗=A^ij∗/σAj, where σAj is the standard deviation of the j-th column vector.

We performed this optimization for a set X˜ comprising flattened spectrograms of normal syllables from adult male zebra finch songs (Koch, 2024), immature vocalization (Brudner et al., 2023), and behavioral noise. The model targeted L=100 basis elements, a highly overcomplete set for song, which is effectively low-dimensional at the syllable level (d<10; Fig. S1A; Goffinet et al., 2021). Using the learned basis A∗, we then repeated Step 1 to find the sparse responses S∗ for normal syllables and syllables overlapped with 100-ms white noise, which were then used to train the vocal error model.

To map the L-dimensional sparse representations to NE>L excitatory neurons, we tried neighbor and random mappings, which resulted in qualitatively similar dynamics. For neighbor mapping, the i-th element of an L-dimensional sparse representation is the input to the excitatory neurons with indices from (i−1)×⎿NE/L⏌+1 to i×⎿NE/L⏌. For random mapping, we generated a projection matrix M∈ℝNE×L with elements each drawn i.i.d. from a unit normal distribution. While we found both approaches resulted in similar dynamics, the random mapping approach resulted in inputs that were more Gaussian and less sparse. Thus, to preserve input sparsity, we used neighbor mapping for this work.

4.6. Experimental Methods

4.6.1. Surgery

Adult male birds were anesthetized with inhaled 1.5–2% isofluorane and placed on a head stereotax with a temperature-regulated bed. The incision was sterilized with alcohol, and a local anesthetic (bupivacaine 0.25%) was applied. Coordinates for the injections and lens implant were measured from the bifurcation of the midsagittal sinus. The coordinates used for targeting various auditory regions were as follows: CM, 43, 1.8A, 1.95L, 0.7 and 0.9V, 2.0A, 2.05L 0.65 and 0.95V, 2.2A, 1.95L 0.7 and 0.9V. Birds were injected with 200nL of an AAV2/9 CAG GCaMP6s (Addgene, 100844-AAV9) viral construct on each site at a speed of 9nl/s using a Nanoject-II (Drummond Scientific). Immediately after the injections, we lowered a GRIN prism lens (Inscopix 1050–004601) held by a vacuum holder at a low speed (10um/s) centered around the injection sites and facing medially. After lowering, the lens was cemented to the skull and covered using body-double to prevent damage. Three weeks after the lens implantation we examined the field of view and cemented a baseplate to attach a 1-photon miniature microscope (nVista 3.0, Inscopix. After two days of surgery recovery, the bird was attached to the microscope using a counterweight system to ensure normal behavior.

4.6.2. Deafening

Birds were deafened by bilaterally removing the cochlea. Birds were anesthetized with 20 mg/kg of ketamine and 10mg/kg xylazine and fixed on their side on a movable platform to facilitate access to the ear. The incision was sterilized with alcohol and anesthetized with bupivacaine 0.25%. The ear skin was cut using microscissors, and the tympanic membrane was punctured by a fine scalp. Then, the columella and the footplate were detached with forceps to reveal the oval window. A fine custom tungsten wire hook was introduced into the inner ear canal to remove the cochlea entirely. After surgery recovery (as measured by normal singing rates), the birds were re-attached to the miniscope to image the neurons after deafening.

4.6.3. Calcium imaging

Imaging data was acquired with a nVista 3.0 data acquisition board and the Inscopix imaging software at a frame rate of 12 Hz, using an LED power of 1–1.4mW/mm2. The acquisition board interfaced with custom Matlab code to monitor singing. The computer detected changes in amplitude when the bird started to sing to trigger the imaging system for sessions of 1 minute and record the audio data. The imaging files recorded within a day were curated by concatenating all the sessions that contained singing or playbacks together, spatially downsampling the videos, performing motion correction, and extracting the ROIs using CNMFe (Zhou et al., 2018). The criteria for non-inclusion comprised sessions that had dropped frames or sessions that were accidentally triggered and did not contain song. The audio recordings containing song were manually labeled to determine song onsets and offsets. To avoid contamination of the song signal due to the low calcium sensor decay, only the songs that had at least 2 seconds of silence were labeled. Then, the extracted traces were aligned to the onset time stamps, z-scored, and averaged across trials. To generate the scatter plots, the activity was averaged over the first 2 seconds of song.

4.6.4. Cell registration

Cell registration pre- and post-deafening was carried out using CellReg (Sheintuch et al., 2017). This algorithm used the spatial footprint matrices of the fields of view generated by the neuron extraction performed previously (Zhou et al., 2018) to obtain a matrix of indices that corresponded to the same neurons across the sessions.

4.7. Model Metrics

4.7.1. Percentage of Active Excitatory Neurons

To measure the sparseness of the population responses, we calculated the percentage of active excitatory neurons at every time step and then averaged over time window t0,t1, given by

Pactive=1t1−t01NE∑t0<t<t1∑i=1NEHriE(t)−θactive

where H(x)=1 if x≥0 and H(x)=0 otherwise, and θactive=5Hz is the threshold chosen close to the spontaneous mean rate. Other values such as 3 Hz produced qualitatively similar results.

4.7.2. Cosine Similarity

We used cosine similarity to measure the relationship between the firing patterns across the neuron population and the auditory input patterns. For a population of N neurons, the cosine similarity Sc between the population vector at time t, r(t)=r1(t),r2(t),…,rN(t)T, and auditory pattern (either stationary or at some time step) x=x1,x2,…,xNT is

Sc(r(t),x)=xTr(t)‖x‖2‖r(t)‖2,

where ‖⋅‖2 denotes the Euclidean norm.

4.7.3. Quality of Cancellation

To measure the quality of cancellation, we compared how strongly the neurons represent the tutor song during correct singing trials before and after training. The strength of representation is measured by the cosine similarity described above. For each simulation, the quality of cancellation, averaged over the singing time window from song onset t0 to song offset t1, is then

Qcancel=1t1−t0∑t0<t<t1Scruntrained(t),yTS−Scrtrained(t),yTS

where the superscript (i) denotes the i-th trial. The larger this quantity, the more effectively the cosine similarity between neural firing and the tutor song pattern is reduced. Negative values indicate that, on average, the representation of the tutor song is enhanced after training.

4.7.4. Normalized Neuronal Activity

Figs. 4, S2, S4, S6, and S7 contain normalized neuronal activity. For experimental data, the raw trial-averaged calcium activity of each ROI was first subtracted by the baseline (activity averaged over the 1-second window before singing onset). For Fig. 4B, the baseline-subtracted calcium activity was averaged over the 2-second time window after singing onset. We chose a longer window than song duration (~1s) because of the low sampling rate (12Hz) and low-pass filtering effect of one-photon calcium imaging. Finally, for visualization purpose in Fig. 4B, all the averaged activities were divided by the standard deviation across ROIs in the correct singing case (i.e., the x and y axes are rescaled by a common factor).

For Figs. 4C, S2D, S4B, S6D, and S7B, the processing is similar—trial averages subtracted by the baseline and averaged over singing time window—except that the activity was averaged over the song duration (~1s) after singing onset instead of a 2-second time window. To get the trial averages, each trained model is simulated for 20 different initial conditions for Figs. 4, S4, S6, and S7, and for 50 different initial conditions for Fig. S2.

4.8. Bidirectional Sorting of Neuronal Activity

To visualize the sequential activation and sequential inhibition in Fig. S7, we developed a two-step process: First, the neurons were grouped into either excited or inhibited after song onset by comparing the mean activities before (500 ms for calcium imaging data and 100 ms for models) and after song onset (1500 ms for calcium imaging data and 1000 ms for models). Then, the excited group was sorted by the latency to the peak (maximum standardized activity) of each neuron, and the inhibited group was sorted by the latency to the dip (minimum standardized activity) of each neuron.

4.9. Connectivity Mode Analysis

To analyze the recurrent dynamics, we performed singular value decomposition (Fig. 5A) on the recurrent weight matrix over training time t,

Jt=JtEE−JtEIJtIE−JII=UtdiagstVtT, (9)

where the columns of U and V are the left and right singular vectors, respectively, and s contains the corresponding singular values. Notice that we pull out the negative sign of the inhibitory weights explicitly to avoid confusion. The left singular vectors Ui (“modes”) define the orthogonal directions to which the dynamics maps the population vector h=h1E,…,hNEE,h1I,…,hNIIT, where hia is the total input to the i-th neuron of population a. To see this, consider τE≈τI=τ and rewrite Eqs. 4–5 as

τddth=−h+Jr+ϵ=−h+Udiag(s)VTr+ϵ≡−h+∑iliUi+ϵ, (10)

where h is a concatenation of hE and hI and similarly for r, and li is the i-th element of diag(s)VTr.

4.9.1. Dissimilarity and Memory Encoding

The dissimilarity for each mode i at the n-th rendition is defined as the maximum cosine similarity between itself and any mode at time 0:

maxjviT(n)vj(0),

where v is the corresponding left singular vector, and the 0-th rendition is the time prior to learning.

Similarly, to quantify the memory encoding for each mode i, we calculated

maxkCorrvi,yTS,k,

the maximum correlation between that mode and yTS,k the discrete pattern corresponding to the k-th syllable of the tutor song.

4.9.2. Convergence Time

We defined convergence time τc for our models as

τc=mintxt−xminxmax−xmin>θτc,

where xmin and xmax are the minimum and maximum of xtt, the parameter of the learning curve, and θτc is a threshold. We chose θτc=0.8. For learning in our data t is measured in trials, such that δt=1. In our analysis of network modes, we measured the convergence time for mean curves of the landscape and memory modes.

4.9.3. Perturbing the Modes

To probe the roles of different connectivity modes on the error codes represented by the excitatory neurons, we disrupted the excitatory patterns of the modes in several ways. For non-memory modes, i.e., those not correlated with the tutor song patterns, we directly perturbed their patterns using the following approaches:

  1. shuffling all elements of the selected left singular vectors;

  2. shuffling the first NE elements of the selected left singular vectors;

  3. replacing the selected left singular vectors with patterns drawn from a zero-mean i.i.d. Gaussian distribution;

  4. replacing the selected left singular vectors with zeros;

  5. swapping the selected left singular vectors with the least significant left singular vectors.

All approaches produced qualitatively similar results. The first approach was used in Fig. 5, while the results from the others are shown in Fig. S10. Each perturbed left singular vector is scaled to have Euclidean norm equal to 1, except for Approach 4, which replaces the vectors with zeros.

For memory modes, we “de-memorized” them by subtracting the memory components from the left singular vectors. More specifically, denoting the excitatory part of the left singular vectors by UE∈ℝK×NE, where K is the number of memory modes, the matrix of “de-memorized” vectors U^E is

U^E=UE−UEMTM

where the rows of M∈ℝL×NE are a set of orthonormal basis for L syllable patterns MMT=IL×L≠MTM. The “de-memorized” row vectors in U^E are orthogonal to the basis vectors for the syllable patterns:

U^EMT=UEMT−UEMTMMT=UEMT−UEMTI=0.

Finally, each row of U^E is scaled to have Euclidean norm equal to 1.

Supplementary Material

Supplement 1
media-1.pdf (2.5MB, pdf)

5. Acknowledgment

We are grateful for generous support from the Holland-Trice Foundation and the National Institutes of Health (grant nos. RF1DA056376, R01NS099288 and R01NS118424) in funding this research. We would also like to thank Dr. Kevin Franks for his insightful comments on this paper.

Footnotes

†

Note that Hebbian plasticity in the I → E connections is effectively anti-Hebbian, since the I → E connections are inhibitory.

*

Certain memory modes can also have an effect on the shape of the error landscape. To isolate the effect of the components correlated with the tutor song patterns, we did not directly shuffle their entries.

4.10. Code Availability

The code for simulating the models, running the analyses, and generating the figures in this work can be found in https://github.com/gongziyida/vocal-error-network.git.

References

  1. Adret P., Meliza C. D., & Margoliash D. (2012). Song tutoring in presinging zebra finch juveniles biases a small population of higher-order song-selective neurons toward the tutor song. Journal of Neurophysiology, 108(7), 1977–1987. 10.1152/jn.00905.2011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Akutagawa E., & Konishi M. (2010). New brain pathways found in the vocal control system of a songbird. Journal of Comparative Neurology, 518(15), 3086–3100. 10.1002/cne.22383 [DOI] [PubMed] [Google Scholar]
  3. Asabuki T., Gillon C. J., & Clopath C. (2025). Learning predictive signals within a local recurrent circuit. Proceedings of the National Academy of Sciences, 122(27), e2414674122. 10.1073/pnas.2414674122 [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Bartlett P. L., Long P. M., Lugosi G., & Tsigler A. (2020). Benign overfitting in linear regression. Proceedings of the National Academy of Sciences, 117(48), 30063–30070. 10.1073/pnas.1907378117 [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Beyeler M., Rounds E. L., Carlson K. D., Dutt N., & Krichmar J. L. (2019). Neural correlates of sparse coding and dimensionality reduction. PLOS Computational Biology, 15(6), e1006908. 10.1371/journal.pcbi.1006908 [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Bolhuis J. J., & Moorman S. (2015). Birdsong memory and the brain: In search of the template. Neuroscience and Biobehavioral Reviews, 50, 41–55. 10.1016/j.neubiorev.2014.11.019 [DOI] [PubMed] [Google Scholar]
  7. Brown T. H., Kairiss E. W., & Keenan C. L. (1990). Hebbian synapses: Biophysical mechanisms and algorithms. Annual Review of Neuroscience, 13, 475–511. 10.1146/annurev.ne.13.030190.002355 [DOI] [PubMed] [Google Scholar]
  8. Brudner S., Pearson J., & Mooney R. (2023). Generative models of birdsong learning link circadian fluctuations in song variability to changes in performance. PLOS Computational Biology, 19(5), e1011051. 10.1371/journal.pcbi.1011051 [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Calabrese A., & Woolley S. M. N. (2015). Coding principles of the canonical cortical microcircuit in the avian brain. Proceedings of the National Academy of Sciences, 112(11), 3517–3522. 10.1073/pnas.1408545112 [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Chen A. N., & Meliza C. D. (2018). Phasic and tonic cell types in the zebra finch auditory caudal mesopallium. Journal of Neurophysiology, 119(3), 1127–1139. 10.1152/jn.00694.2017 [DOI] [PubMed] [Google Scholar]
  11. Chen R., & Goldberg J. H. (2020). Actor-critic reinforcement learning in the songbird. Current opinion in neurobiology, 65, 1–9. 10.1016/j.conb.2020.08.005 [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Chen R., Puzerey P. A., Roeser A. C., Riccelli T. E., Podury A., Maher K., Farhang A. R., & Goldberg J. H. (2019). Songbird Ventral Pallidum Sends Diverse Performance Error Signals to Dopaminergic Midbrain. Neuron, 103(2), 266–276.e4. 10.1016/j.neuron.2019.04.038 [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Crapse T. B., & Sommer M. A. (2008). Corollary discharge across the animal kingdom. Nature Reviews Neuroscience, 9(8), 587–600. 10.1038/nrn2457 [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Dabney W., Kurth-Nelson Z., Uchida N., Starkweather C. K., Hassabis D., Munos R., & Botvinick M. (2020). A distributional code for value in dopamine-based reinforcement learning. Nature, 577(7792), 671–675. 10.1038/s41586-019-1924-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. D’amour J. A., & Froemke R. C. (2015). Inhibitory and Excitatory Spike-Timing-Dependent Plasticity in the Auditory Cortex. Neuron, 86(2), 514–528. 10.1016/j.neuron.2015.03.014 [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Dempsey C., Abbott L. F., & Sawtell N. B. (2019). Generalization of learned responses in the mormyrid electrosensory lobe (Carr C. E., Marder E., Carr C. E., Chacron M. J., & Maler L., Eds.). eLife, 8, e44032. 10.7554/eLife.44032 [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Doya K., & Sejnowski T. J. (1998). A Computational Model of Birdsong Learning by Auditory Experience and Auditory Feedback. In Poon P. W. F. & Brugge J. F. (Eds.), Central Auditory Processing and Neural Modeling (pp. 77–88). Springer US. 10.1007/978-1-4615-5351-98 [DOI] [Google Scholar]
  18. Duarte Ortiz F. (2024). Prediction and evaluation of vocal performance in the songbird auditory cortex [Doctoral dissertation, Duke University].
  19. Fee M. S., & Goldberg J. H. (2011). A hypothesis for basal ganglia-dependent reinforcement learning in the songbird. Neuroscience, 198, 152–170. 10.1016/j.neuroscience.2011.09.069 [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Field R. E., D’amour J. A., Tremblay R., Miehl C., Rudy B., Gjorgjieva J., & Froemke R. C. (2020). Heterosynaptic Plasticity Determines the Set Point for Cortical Excitatory-Inhibitory Balance. Neuron, 106(5), 842–854.e4. 10.1016/j.neuron.2020.03.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Fiete I. R., Fee M. S., & Seung H. S. (2007). Model of birdsong learning based on gradient estimation by dynamic perturbation of neural conductances. Journal of Neurophysiology, 98(4), 2038–2057. 10.1152/jn.01311.2006 [DOI] [PubMed] [Google Scholar]
  22. Gadagkar V., Puzerey P. A., Chen R., Baird-Daniel E., Farhang A. R., & Goldberg J. H. (2016). Dopamine neurons encode performance error in singing birds. Science, 354(6317), 1278–1282. 10.1126/science.aah6837 [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Gershman S. J., Assad J. A., Datta S. R., Linderman S. W., Sabatini B. L., Uchida N., & Wilbrecht L. (2024). Explaining dopamine through prediction errors and beyond. Nature Neuroscience, 27(9), 1645–1655. 10.1038/s41593-024-01705-4 [DOI] [PubMed] [Google Scholar]
  24. Gershman S. J., & Uchida N. (2019). Believing in dopamine. Nature Reviews Neuroscience, 20(11), 703–714. 10.1038/s41583-019-0220-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Goffinet J., Brudner S., Mooney R., & Pearson J. (2021). Low-dimensional learned feature spaces quantify individual and group differences in vocal repertoires (Goldberg J. H., Behrens T. E., Goldberg J. H., Tchernichovski O., & Linderman S. W., Eds.). eLife, 10, e67855. 10.7554/eLife.67855 [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Hahnloser R. H. R., Kozhevnikov A. A., & Fee M. S. (2002). An ultra-sparse code underliesthe generation of neural sequences in a songbird. Nature, 419(6902), 65–70. 10.1038/nature00974 [DOI] [PubMed] [Google Scholar]
  27. Happ M. L. (2023, June). Predictive Novelty Detection in Songbird Auditory Cortex [Thesis]. Massachusetts Institute of Technology. Accepted: 2023–10-30T20:04:23Z. [Google Scholar]
  28. Harmon T. C., Madlon-Kay S., Pearson J., & Mooney R. (2024). Vocalization modulates the mouse auditory cortex even in the absence of hearing. Cell Reports, 43(8), 114611. 10.1016/j.celrep.2024.114611 [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Hisey E., Kearney M. G., & Mooney R. (2018). A common neural circuit mechanism for internally guided and externally reinforced forms of motor learning. Nature Neuroscience, 21(4), 589–597. 10.1038/s41593-018-0092-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Hoffmann L. A., Saravanan V., Wood A. N., He L., & Sober S. J. (2016). Dopaminergic Contributions to Vocal Learning. Journal of Neuroscience, 36(7), 2176–2189. 10.1523/JNEUROSCI.3883-15.2016 [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Kasdin J., Duffy A., Nadler N., Raha A., Fairhall A. L., Stachenfeld K. L., & Gadagkar V. (2025). Natural behaviour is learned through dopamine-mediated reinforcement. Nature, 1–8. 10.1038/s41586-025-08729-1 [DOI] [PMC free article] [PubMed]
  32. Kearney M. G., Warren T. L., Hisey E., Qi J., & Mooney R. (2019). Discrete Evaluative and Premotor Circuits Enable Vocal Learning in Songbirds. Neuron, 104(3), 559–575.e6. 10.1016/j.neuron.2019.07.025 [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Keller G. B., & Hahnloser R. H. R. (2009). Neural processing of auditory feedback during vocal practice in a songbird. Nature, 457(7226), 187–190. 10.1038/nature07467 [DOI] [PubMed] [Google Scholar]
  34. Kennedy A., Wayne G., Kaifosh P., Alvinã K, Abbott L. F., & Sawtell N. B. (2014). A temporal basis for predicting the sensory consequences of motor commands in an electric fish. Nature Neuroscience, 17(3), 416–422. 10.1038/nn.3650 [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Koch T. (2024). Labeled Zebra Finch Songs. Texas Data Repository. 10.18738/T8/SAWMUN [DOI] [Google Scholar]
  36. Kozlov A. S., & Gentner T. Q. (2016). Central auditory neurons have composite receptive fields. Proceedings of the National Academy of Sciences, 113(5), 1441–1446. 10.1073/pnas.1506903113 [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Lee R. S., Sagiv Y., Engelhard B., Witten I. B., & Daw N. D. (2024). A feature-specific prediction error model explains dopaminergic heterogeneity. Nature Neuroscience, 27(8), 1574–1586. 10.1038/s41593-024-01689-1 [DOI] [PubMed] [Google Scholar]
  38. Lewicki M. S. (2002). Efficient coding of natural sounds. Nature neuroscience, 5(4), 356–363. [DOI] [PubMed] [Google Scholar]
  39. Lewicki M. S., & Sejnowski T. J. (2000). Learning overcomplete representations. Neural computation, 12(2), 337–365. [DOI] [PubMed] [Google Scholar]
  40. Long M. A., Jin D. Z., & Fee M. S. (2010). Support for a synaptic chain model of neuronal sequence generation. Nature, 468(7322), 394–399. 10.1038/nature09514 [DOI] [PMC free article] [PubMed] [Google Scholar]
  41. Mackevicius E. L., Happ M. T. L., & Fee M. S. (2020). An avian cortical circuit for chunking tutor song syllables into simple vocal-motor units. Nature Communications, 11(1), 5029. 10.1038/s41467-020-18732-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Mandelblat-Cerf Y., Las L., Denisenko N., & Fee M. S. (2014). A role for descending auditory cortical projections in songbird vocal learning. eLife, 3, e02152. 10.7554/eLife.02152 [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Markowitz J. E., Gillis W. F., Beron C. C., Neufeld S. Q., Robertson K., Bhagat N. D., Peterson R. E., Peterson E., Hyun M., Linderman S. W., Sabatini B. L., & Datta S. R. (2018). The Striatum Organizes 3D Behavior via Moment-to-Moment Action Selection. Cell, 174(1), 44–58.e17. 10.1016/j.cell.2018.04.019 [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Markowitz J. E., Gillis W. F., Jay M., Wood J., Harris R. W., Cieszkowski R., Scott R., Brann D., Koveal D., Kula T., Weinreb C., Osman M. A. M., Pinto S. R., Uchida N., Linderman S. W., Sabatini B. L., & Datta S. R. (2023). Spontaneous behaviour is structured by reinforcement without explicit reward. Nature, 614(7946), 108–117. 10.1038/s41586-022-05611-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Moseley D. L., Joshi N. R., Prather J. F., Podos J., & Remage-Healey L. (2017). A neuronal signature of accurate imitative learning in wild-caught songbirds (swamp sparrows, Melospiza georgiana). Scientific Reports, 7, 17320. 10.1038/s41598-017-17401-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Mukherjee S., Babadi B., & Shamma S. (2025). Sparse high-dimensional decomposition of nonprimary auditory cortical receptive fields. PLOS Computational Biology, 21(1), e1012721. 10.1371/journal.pcbi.1012721 [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Nick T. A., & Konishi M. (2001). Dynamic control of auditory activity during sleep: Correlation between song response and EEG. Proceedings of the National Academy of Sciences, 98(24), 14012–14016. 10.1073/pnas.251525298 [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Nick T. A., & Konishi M. (2005). Neural song preference during vocal learning in the zebra finch depends on age and state. Journal of Neurobiology, 62(2), 231–242. 10.1002/neu.20087 [DOI] [PubMed] [Google Scholar]
  49. Nottebohm F., Paton J. A., & Kelley D. B. (1982). Connections of vocal control nuclei in the canary telencephalon. Journal of Comparative Neurology, 207(4), 344–357. 10.1002/cne.902070406 [DOI] [PubMed] [Google Scholar]
  50. Olshausen B. A., & Field D. J. (1996). Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583), 607–609. 10.1038/381607a0 [DOI] [PubMed] [Google Scholar]
  51. Olshausen B. A., & Field D. J. (1997). Sparse coding with an overcomplete basis set: A strategy employed by V1? Vision Research, 37(23), 3311–3325. 10.1016/S0042-6989(97)00169-7 [DOI] [PubMed] [Google Scholar]
  52. Olshausen B. A., & Field D. J. (2004). Sparse coding of sensory inputs. Current Opinion in Neurobiology, 14(4), 481–487. 10.1016/j.conb.2004.07.007 [DOI] [PubMed] [Google Scholar]
  53. Qi J., Schreiner D. C., Martinez M., Pearson J., & Mooney R. (2025). Dual neuromodulatory dynamics underlie birdsong learning. Nature, 1–9. 10.1038/s41586-025-08694-9 [DOI] [PMC free article] [PubMed]
  54. Reynolds J. N. J., & Wickens J. R. (2002). Dopamine-dependent plasticity of corticostriatal synapses. Neural Networks: The Official Journal of the International Neural Network Society, 15(4–6), 507–521. 10.1016/s0893-6080(02)00045-x [DOI] [PubMed] [Google Scholar]
  55. Roberts T. F., Hisey E., Tanaka M., Kearney M., Chattree G., Yang C. F., Shah N. M., & Mooney R. (2017). Identification of a motor to auditory pathway important for vocal learning. Nature neuroscience, 20(7), 978–986. 10.1038/nn.4563 [DOI] [PMC free article] [PubMed] [Google Scholar]
  56. Roberts T. F., & Mooney R. (2013). Motor circuits help encode auditory memories of vocal models used to guide vocal learning. Hearing Research, 303, 48–57. 10.1016/j.heares.2013.01.009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  57. Rudraraju S., Turvey M. E., Theilman B. H., & Gentner T. Q. (2024, February 26). Predictive and error coding for vocal communication signals in the songbird auditory forebrain. 10.1101/2024.02.25.581987 [DOI]
  58. Schmidt M. F., & Konishi M. (1998). Gating of auditory responses in the vocal control system of awake songbirds. Nature Neuroscience, 1(6), 513–518. 10.1038/2232 [DOI] [PubMed] [Google Scholar]
  59. Schneider D. M., Nelson A., & Mooney R. (2014). A synaptic and circuit basis for corollary discharge in the auditory cortex. Nature, 513(7517), 189–194. 10.1038/nature13724 [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Schneider D. M., Sundararajan J., & Mooney R. (2018). A cortical filter that learns to suppress the acoustic consequences of movement. Nature, 561(7723), 391–395. 10.1038/s41586-018-0520-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  61. Schneider D. M., & Woolley S. M. N. (2013). Sparse and Background-Invariant Coding of Vocalizations in Auditory Scenes. Neuron, 79(1), 141–152. 10.1016/j.neuron.2013.04.038 [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Schroeder K. M., & Remage-Healey L. (2024). Social and auditory experience shapes forebrain responsiveness in zebra finches before the sensitive period of vocal learning. Journal of Experimental Biology, jeb.247956. 10.1242/jeb.247956 [DOI] [PMC free article] [PubMed]
  63. Schultz W. (2007). Behavioral dopamine signals. Trends in Neurosciences, 30(5), 203–210. 10.1016/j.tins.2007.03.007 [DOI] [PubMed] [Google Scholar]
  64. Sheintuch L., Rubin A., Brande-Eilat N., Geva N., Sadeh N., Pinchasof O., & Ziv Y. (2017). Tracking the Same Neurons across Multiple Days in Ca2+ Imaging Data. Cell Reports, 21(4), 1102–1115. 10.1016/j.celrep.2017.10.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Smith E. C., & Lewicki M. S. (2006). Efficient auditory coding. Nature, 439(7079), 978–982. 10.1038/nature04485 [DOI] [PubMed] [Google Scholar]
  66. Sutton R. S., & Barto A. G. (2018). Reinforcement learning: An introduction (Second edition). The MIT Press. [Google Scholar]
  67. Teşileanu T., Ölveczky B., & Balasubramanian V. (2017). Rules and mechanisms for efficient two-stage learning in neural circuits (Frank M. J., Ed.). eLife, 6, e20944. 10.7554/eLife.20944 [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Tran K., & Koulakov A. (2024, December 30). Weight Transfer in the Reinforcement Learning Model of Songbird Acquisition. 10.1101/2024.12.30.628217 [DOI]
  69. Tsai H.-C., Zhang F., Adamantidis A., Stuber G. D., Bonci A., de Lecea L., & Deisseroth K. (2009). Phasic Firing in Dopaminergic Neurons Is Sufficient for Behavioral Conditioning. Science, 324(5930), 1080–1084. 10.1126/science.1168878 [DOI] [PMC free article] [PubMed] [Google Scholar]
  70. Tumer E. C., & Brainard M. S. (2007). Performance variability enables adaptive plasticity of ‘crystallized’ adult birdsong. Nature, 450(7173), 1240–1244. 10.1038/nature06390 [DOI] [PubMed] [Google Scholar]
  71. Vallentin D., Kosche G., Lipkind D., & Long M. A. (2016). Inhibition protects acquired song segments during vocal learning in zebra finches. Science (New York, N.Y.), 351(6270), 267–271. 10.1126/science.aad3023 [DOI] [PMC free article] [PubMed] [Google Scholar]
  72. van Vreeswijk C., & Sompolinsky H. (1996). Chaos in neuronal networks with balanced excitatory and inhibitory activity. Science (New York, N.Y.), 274(5293), 1724–1726. 10.1126/science.274.5293.1724 [DOI] [PubMed] [Google Scholar]
  73. van Vreeswijk C., & Sompolinsky H. (1998). Chaotic balanced state in a model of cortical circuits. Neural Computation, 10(6), 1321–1371. 10.1162/089976698300017214 [DOI] [PubMed] [Google Scholar]
  74. Vickers E. D., Clark C., Osypenko D., Fratzl A., Kochubey O., Bettler B., & Schneggenburger R. (2018). Parvalbumin-Interneuron Output Synapses Show Spike-Timing-Dependent Plasticity that Contributes to Auditory Map Remodeling. Neuron, 99(4), 720–735.e6. 10.1016/j.neuron.2018.07.018 [DOI] [PubMed] [Google Scholar]
  75. Wallach A., & Sawtell N. B. (2023). An internal model for canceling self-generated sensory input in freely behaving electric fish. Neuron, 111(16), 2570–2582.e5. 10.1016/j.neuron.2023.05.019 [DOI] [PMC free article] [PubMed] [Google Scholar]
  76. Wärnberg E., & Kumar A. (2023). Feasibility of dopamine as a vector-valued feedback signal in the basal ganglia. Proceedings of the National Academy of Sciences, 120(32), e2221994120. 10.1073/pnas.2221994120 [DOI] [PMC free article] [PubMed] [Google Scholar]
  77. Xiao L., Chattree G., Oscos F. G., Cao M., Wanat M. J., & Roberts T. F. (2018). A Basal Ganglia Circuit Sufficient to Guide Birdsong Learning. Neuron, 98(1), 208–221.e5. 10.1016/j.neuron.2018.02.020 [DOI] [PMC free article] [PubMed] [Google Scholar]
  78. Yagishita S., Hayashi-Takagi A., Ellis-Davies G. C., Urakubo H., Ishii S., & Kasai H. (2014). A critical time window for dopamine actions on the structural plasticity of dendritic spines. Science, 345(6204), 1616–1620. 10.1126/science.1255514 [DOI] [PMC free article] [PubMed] [Google Scholar]
  79. Zhou P., Resendez S. L., Rodriguez-Romaguera J., Jimenez J. C., Neufeld S. Q., Giovannucci A., Friedrich J., Pnevmatikakis E. A., Stuber G. D., Hen R., Kheirbek M. A., Sabatini B. L., Kass R. E., & Paninski L. (2018). Efficient and accurate extraction of in vivo calcium signals from microendoscopic video data. eLife, 7, e28728. 10.7554/eLife.28728 [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

Supplement 1
media-1.pdf (2.5MB, pdf)

Articles from bioRxiv are provided here courtesy of Cold Spring Harbor Laboratory Preprints

RESOURCES