Predicting shifts in generalization gradients with perceptrons
- 523 Downloads
Perceptron models have been used extensively to model perceptual learning and the effects of discrimination training on generalization, as well as to explore natural classification mechanisms. Here, we assess the ability of existing models to account for the time course of generalization shifts that occur when individuals learn to distinguish sounds. A set of simulations demonstrates that commonly used single-layer and multilayer perceptron networks do not predict transitory shifts in generalization over the course of training but that such dynamics can be accounted for when the output functions of these networks are modified to mimic the properties of cortical tuning curves. The simulations further suggest that prudent selection of stimuli and training criteria can allow for more precise predictions of learning-related shifts in generalization gradients in behavioral experiments. In particular, the simulations predict that individuals will show maximal peak shift after different numbers of trials, that easier contrasts will lead to slower development of shifted peaks, and that whether generalization shifts persist or dissipate will depend on which stimulus dimensions individuals use to distinguish stimuli and how those dimensions are neurally encoded.
KeywordsPeak shift Discrimination learning Representation Perceptual learning Neural network Similarity
When an organism learns that a stimulus results in some consequence, it will often generalize that learning to similar novel stimuli (Shepard, 1987). For instance, Watson and Raynor (1920) famously demonstrated, in experiments with Little Albert, that fear associated with a white rat can generalize to other stimuli, such as a rabbit, a fur coat, or even a piece of cotton. Numerous theoretical efforts have focused on explaining and predicting generalization patterns, with varying degrees of success (for a review, see Ghirlanda & Enquist, 2003; Thomas, 1993). Computational models of discrimination learning, in particular, have proven to be adept at simulating many of the empirically observed generalization patterns (Ghirlanda & Enquist, 1998, 2006; Guillette et al., 2010; Livesey, Pearson, & McLaren, 2005; Saksida, 1999; Shepard, 1990; Staddon & Reid, 1990; Suret & McLaren, 2002; Thomas, 1993). Such models are becoming increasingly useful tools for generating hypotheses about the mechanisms and cues that participants use during learning and generalization. In the present study, we assessed the ability of a neural network model of discrimination learning and generalization to account for recent observations of learning-related shifts in generalization observed during an auditory learning task.
A phenomenon commonly observed after discrimination learning is that the highest levels of responding may occur for stimuli other than those experienced during training. Generally, a peak shift results when an individual is trained to respond to one stimulus (S+) and not to some other stimulus (S−) that varies along a common dimension. When generalization is measured after training, responding is strongest not to the trained S+, but to a stimulus that is shifted along the dimension even further from S−. In a classic example of this, Hanson (1959) trained pigeons to peck a key when presented with a 560-nm light (S+), but not when presented with a 570-nm light (S−). During generalization tests, pigeons responded most strongly to wavelengths other than 560 nm (such as 540 nm) that were farther along the continuum from the trained S−, 570˗nm light. A similar phenomenon (area shift) is seen when a generalization gradient shows a peak at the S+ but an asymmetry in responding to stimuli on either side of the S+, such that stimuli on the side away from S− are responded to more frequently. Such learning-related shifts have been well documented experimentally (Baron, 1973; Bizo & McMahon, 2007; Cheng, Spetch, & Johnston, 1997; Derenne, 2010; Galizio & Baron, 1979; Guillette et al., 2010; Hanson, 1959; Landau, 1968; Lewis & Johnston, 1999; Moye & Thomas, 1982; Newlin, Rodgers, & Thomas, 1979; Nicholson & Gray, 1972; Purtle, 1973; Rowe & Skelhorn, 2004; Spetch, Cheng, & Clifford, 2004; Terrace, 1966; Thomas, Mood, Morrison, & Wiertelak, 1991; Verzijden, Etman, van Heijningen, van der Linden, & ten Cate, 2007; Wills & Mackintosh, 1998; Wisniewski, Church, & Mercado, 2009, 2010) and have been replicated using artificial neural networks (Ghirlanda & Enquist, 1998, 2006; Guillette et al., 2010; Livesey et al., 2005; Saksida, 1999; Suret & McLaren, 2002).
Most of the experimental studies of learning-related shifts have focused on the presence, size, or generality of the effects. For instance, several studies have shown that how far a peak in generalization shifts after training depends on the similarity of the stimuli that the subject initially learned to discriminate (Baron, 1973; Ghirlanda & Enquist, 1998; Hanson, 1959; Purtle, 1973; Thomas et al., 1991). Typically, the more similar the stimuli being discriminated are, the further the learner will shift (Baron, 1973; Ghirlanda & Enquist, 1998; Hanson, 1959; Spence, 1937). Shifts occur not only along simple, single dimensions like wavelength (Hanson, 1959) and sine wave frequency (Baron, 1973), but also along more complex acoustic (Guillette et al., 2010; Verzijden et al., 2007; Wisniewski et al., 2009, 2010), and visual (Derenne, 2010; Livesey et al., 2005; Spetch et al., 2004; Suret & McLaren, 2002; Wills & Mackintosh, 1998) dimensions. The ubiquitous nature of learning-related shifts have made it possible to use the effects to identify natural dimensions along which stimuli vary (Guillette et al., 2010; Rowe & Skelhorn, 2004). For instance, Guillette et al. used the peak shift effect as a way to identify a continuum along which chickadees discriminated notes that make up their species’ call and were also able to use similar generalization shifts in an artificial neural network to identify the acoustic features that defined that continuum.
Most theories of discrimination learning’s impact on generalization have focused on explaining the basic experimental effects. For example, several different associative learning theories (Blough, 1975; McLaren & Mackintosh, 2002; Saksida, 1999; Spence, 1937) adequately explain the direction of shift and the changes to the size of the effect that result from variations in stimulus similarity. Computational models have been used to test how well conflicting associative theories explain peak shift and related generalization phenomena under different conditions (Ghirlanda & Enquist, 1998; Livesey et al., 2005; Saksida, 1999), to generate new hypotheses about how stimuli may be represented (Ghirlanda & Enquist, 1998; Livesey et al., 2005; Suret & McLaren, 2002; Tijsseling & Gluck, 2002), and to determine what aspects of stimuli may be given the most associative weight (Guillette et al., 2010).
Although there has been much work exploring the basic predictions of current theories regarding peak shift, relatively few studies, experimental or theoretical, have looked at the dynamics of generalization over time. A few studies have shown that extinction can occur during testing, such that shifts in generalization dissipate as more nondifferentially reinforced testing trials are experienced (Cheng et al., 1997; Purtle, 1973). For instance, pigeons that exhibit a strong peak shift in the first block of testing show a reduction in the strength of that shift in the following test blocks (Cheng et al., 1997). Other studies have shown that both in humans (Wisniewski et al., 2009) and in nonhumans (Moye & Thomas, 1982), peak shift is stable over time and lasts at least 24 h post-discrimination-training. Recently, in an effort to more fully characterize how learning-related shifts change over the course of experience, Wisniewski et al. (2010) trained humans for 60, 100, 140, 180, 220, or 260 trials on a task requiring the discrimination of two complex sounds that varied in their rate of periodic frequency modulation. Participants who were trained with the fewest trials (60 or 100) or the most trials (220 or 260) did not show a peak shift effect. However, participants who were trained with an intermediate number of trials (140 or 180) did exhibit shifts. These results suggest that in at least some training conditions, peak shift may occur only at intermediate levels of learning.
The dynamics of generalization over the course of learning have been explored in past computer simulations of discrimination learning. For example, the shape of generalization gradients produced by connectionist networks change from being Gaussian to exponential as more training iterations are experienced (Shepard, 1990; Staddon & Reid, 1990). However, simulations investigating how learning-induced generalization shifts vary over different amounts of training are lacking. One study found that a multilayer connectionist model trained to recognize faces along a continuum showed a gradually emerging shift in generalization such that exaggerations of trained faces were recognized more easily than the original faces (Tanaka & Simon, 1996). With extensive training, however, this advantage disappeared. Nevertheless, the network continued to respond to novel faces falling along the continuum of trained facial features just as strongly as it did to the originally-trained faces. The basic trajectory of generalization changes in this network included the emergence of a peak shift effect at intermediate levels of training that later transformed into an area shift after extensive training.
The purpose of the present study was to assess whether a simple connectionist model could replicate the gradual emergence and dissipation of a peak shift effect that occurs over the course of auditory discrimination training in humans (Wisniewski et al., 2010). Toward this goal, variants of a previously developed connectionist model (Dawson, 2004, 2005, 2008; Dawson & Schopflocher, 1992) used to study auditory perception in chickadees and known to exhibit peak shift effects (Guillette et al., 2010) were used to simulate the learning of complex sounds by humans. The hypothesis was that the model would show transitory peak-shifts in generalization. Additionally, because there can be large individual differences in stimulus-evoked neural representations (Miglioretti & Boatman, 2003; Orduña, Mercado, Gluck, & Merzenich, 2005), and because different stimulus representations can yield drastically different generalization patterns (Enquist & Ghirlanda, 2005; Ghirlanda, 2002; Ghirlanda & Enquist, 1998), we tested how altering the representations used to train the model would affect the dynamics of generalization. Because many neural network studies have focused on replicating the effect of stimulus similarity on the strength of shift without examining how that strength varies with the amount of learning, we also tested how stimulus similarity would affect the dynamics of shifts in networks. Finally, because past studies of generalization shifts have often involved different amounts of training (Baron, 1973; Bizo & McMahon, 2007; Derenne, 2010; Galizio & Baron, 1979; Lewis & Johnston, 1999; Newlin et al., 1979; Thomas et al., 1991; Wisniewski et al., 2009, 2010), and because there can be large individual differences in performance gains during training and generalization (Nicholson & Grey, 1972; Withagen & van Wermeskerken, 2009), we assessed how different criteria for ending training affected the variability of generalization gradients.
Associative learning theories often characterize discrimination learning as a process in which links between specific inputs (or elements of inputs) and particular outputs or associated stimuli become stronger or weaker during learning (e.g., Blough, 1975; McLaren & Mackintosh, 2002; Saksida, 1999; Spence, 1937). When properties of an S+ overlap with those of the S−, these theories predict that features of the S+ that are not shared with the S− gain associative weight as training progresses. When such theories have been instantiated as connectionist models (Ghirlanda & Enquist, 1998, 2006; Livesey et al., 2005; Suret & McLaren, 2002), they have proven to be able to explain the direction of shifts in generalization gradients, as well as the finding that learning to discriminate more similar stimuli can lead to larger shifts in generalization (Ghirlanda & Enquist, 1998). Because few experiments have attempted to track changes in generalization shifts over time, past modeling studies have seldom reported simulations of such changes.
We attempted to simulate this effect with a basic perceptron because this neural network has previously been shown to produce a peak shift effect in simulations of auditory discrimination by chickadees (Guillette et al., 2010) and because perceptron learning algorithms are known to capture many of the main features of associative learning theory (Dawson, 2008; Gluck, 1991).
Networks consisted of either a single-layer or a multilayer perceptron. In both architectures, the input layer consisted of 40 units. For the single-layer perceptrons (Fig. 1a), each unit in the input layer was connected to a single output unit. For the multilayer perceptrons (Fig. 1b), each unit in the input layer was connected to three units in a hidden layer (the layer between the input layer and the output unit), and every hidden layer unit was connected to a single output unit. There were no direct connections between input units and the output unit in the multilayer networks. Networks used sigmoid activation functions (see the Appendix for details). This type of function is often used in perceptron models and has been used extensively to model generalization and peak shift (Dawson, 2004, 2005, 2008; Ghirlanda & Enquist, 1998, 2006; Guillette et al., 2010; Livesey et al., 2005, Suret & McLaren, 2002; Tanaka & Simon, 1996).
Training and testing
Single-layer networks were trained with the standard perceptron learning algorithm for sigmoid units, and multilayer networks were trained with error backpropagation (see the Appendix for details). Connection weights were adjusted to minimize activation error between the actual activation of the output unit and the desired activation (Dawson, 2004, 2005, 2008; Rumelhart, Hinton, & Williams, 1986). Initial network weights were set at random between –0.1 and 0.1.
Networks were initially pretrained with a desired value of 1 in the output unit for the S + and 0 for two other stimuli that were displaced along the dimension to either side of the S+. Network pretraining continued until the sum of the squared error (SSE) in the output unit response was at least .05. Error was a measure of the difference between the model’s output and the desired output. For instance, if the output unit had a desired response of 1 and produced an output of .75, then the squared error would be .05. This is because the difference between the desired and actual response of the output unit (1 – .75) is equal to .25. The square of .25 is then .05. SSE is the sum of this calculation for each input pattern. The stimuli used to pretrain the networks, with the exception of the S+, were not part of the S+/S– discrimination training or generalization stimulus sets. The pretraining procedure is analogous to the pretraining used previously in experimental studies (Spetch et al., 2004; Wisniewski et al., 2009, 2010). It also allows the networks to start S+/S– discrimination with some discrimination ability between stimuli on the dimension, rather than being completely naive.
After pretraining, all networks were given S+/S– discrimination training. The desired output for the networks was set at 1 for the S+ and 0 for the S–. In order to compare each model’s generalization after different levels of training experience, we trained groups of networks to six different criteria that were defined by (SSE) in the output unit. The six criteria were SSEs of .5, .3, .2, .1, .05, and .02. Network training was stopped after the respective SSE level was reached. After training, generalization was assessed by presenting networks with the S+, the S–, and six novel stimuli. In the generalization phase, networks were tested only for their responding to stimuli and did not experience more training trials with the new stimuli. Five networks were trained per network type (multi- or single-layer) and SSE criterion.
Results and discussion
Single-layer perceptrons with sigmoid units showed an increase in shift as SSE decreased on the S+/S– discrimination. For instance, the networks trained to an SSE of .02 responded most strongly to stimuli 7 and 8. The gradient means and modes also shifted from the S+, even in the most extensively trained group of networks. The gradient mean increased with each level of decrease in SSE. The gradient mode peaked at SSEs of .2 and .1 and then decreased at SSEs of .05 and .02, but these modes are still displaced from the S+ in a direction opposite S–.
Generalization gradients from multilayer networks are shown in Fig. 4c, d. The multilayer perceptrons showed an increasing amount of shift with decreased levels of SSE that was highly similar to the pattern observed in single-layer perceptrons.
These simulation results are not specific to the parameter settings, input representations, or number of network units used. Numerous additional simulations were conducted using different learning rates, numbers of input and hidden units, and input representations, all of which produced similar patterns of generalization (unpublished data). Furthermore, published simulations of face recognition learning (Tanaka & Simon, 1996) produce comparable patterns of generalization after different amounts of training. Collectively, these results suggest that standard perceptron models of discrimination learning (and related error-correction-based associative models of learning) predict that learning-related shifts in generalization are a stable asymptotic end state of learning. These models predict that increased training should lead to either greater shifts in generalization or no changes in generalization once a maximally shifted state has been reached. Consequently, these models appear to be unable to account for transient shifts in generalization that first appear and then dissipate as learning progresses, as reported by Wisniewski et al. (2010). Further attempts to modify perceptrons to enable them to replicate the observed pattern of shift revealed that the use of an activation function other than the standard sigmoid function (described below in simulation 2), could account for this pattern of learning-induced shifts in generalization.
Past connectionist models of discrimination learning provide an elegant and efficient way of instantiating associative learning theories and of describing a wide range of empirical data. It would thus be advantageous if these models could also account for the temporal dynamics of generalization shifts without requiring major modifications or increased computational complexity. One feature of perceptrons that is known to impact how they learn is their activation functions. These functions determine how weighted input values are transformed into output values (see the Appendix for details). In fact, the extensive use of sigmoid activation functions in current perceptron simulations reflects the fact that this function makes efficient training of multilayer perceptrons feasible using error backpropagation. Because activation functions are known to affect how artificial neural networks learn (e.g., Dawson, 2004, 2005, 2008; Dawson & Schopflocher, 1992), we explored whether using an activation function other than the sigmoid function might change the trajectory of generalization shifts observed during learning.
One activation function that has proven effective in past pattern recognition systems is the Gaussian function (similar to a bell curve). This activation function is used extensively in a type of neural network known as a radial basis function network (e.g., Park & Sandberg, 1993) and has also been used in simple perceptron simulations (Dawson, 2004, 2005, 2008; Dawson & Schopflocher, 1992); in this context, units with Gaussian activation functions have been described as value units. Value units are like sigmoid units in that they transform the sum of the weighted values from each input unit into an output value that ranges between 0 and 1. Unlike sigmoid units (and more like a dose response curve), value units transform both very low and very high sums into outputs smaller than those for intermediate sums. This allows units to become selective to a range of input values, as is seen in the receptive fields of many cortical neurons (e.g., Elhilali, Fritz, Chi, & Shamma, 2007; Linden, Liu, Sahani, Schreiner, & Merzenich, 2003). Earlier work comparing the effects of stimulus coding on learning-induced shifts in generalization found that simulating different neural codes for stimuli at the input level could dramatically impact how generalization shifts developed with training (Enquist & Ghirlanda, 2005; Ghirlanda, 2002; Ghirlanda & Enquist, 1998). We similarly expected that switching from sigmoid units to value units might significantly impact the patterns of generalization exhibited by perceptrons, even if the use of value units did not affect their ability to learn the trained discrimination.
Networks consisted of either a single-layer or a multilayer perceptron, the architectures of which were identical to those described for simulation 1. Networks used Gaussian activation functions for all layers (see the Appendix for details).
The stimulus set used for these simulations was the same as that used in simulation 1.
Training and testing
Single-layer networks were trained with the perceptron learning algorithm for value units developed by Dawson and Schopflocher (1992), and backpropagation was used to adjust weights between hidden and input layer units in multilayer perceptrons (see the Appendix for details). All other training and testing methods were identical to those used in simulation 1.
Results and discussion
Multilayer perceptrons composed of value units also showed a quadratic trend in generalization shift such that the strongest shifts were seen at intermediate levels of SSE. It should be noted here that even though the multilayer networks of value units showed a quadratic trend in mode and mean shift, the responses to stimuli 1 and 2 are qualitatively higher than in the empirical data or the single-layer perceptron simulations. Thus, the single-layer perceptron provided a better qualitative fit to the transient shifts in generalization reported by Wisniewski et al. (2010). This finding suggests that the better fit of the value-unit-based perceptron is not due to greater computational power (because the multilayer perceptron is more powerful) and that the use of Gaussian functions within a perceptron does not guarantee that the network will generalize symmetrically both early and late in training. In general, the differences in generalization behavior of single- and multilayer perceptrons constructed from value units were much greater than observed in simulation 1.
The results of these simulations demonstrate that switching from a sigmoid activation function to a Gaussian activation function enables the single-layer perceptron model to account for the appearance and later disappearance of a peak shift effect during discrimination learning. To our knowledge, this is the first report of a computational model showing temporary shifts in generalization during discrimination learning. It remains possible that other learning theories or computational models (e.g., radial basis function networks) might predict similar trajectories in generalization shifts, but if so, these properties of existing models have yet to be explicitly noted. Why perceptrons with Gaussian activation functions are better able to account for transient shifts in generalization gradients is considered in more detail in the General Discussion section.
Manipulations to the type of stimulus representations given to computational models can strongly impact the way they generalize. For instance, within the same model, using different shapes of representations can determine whether a generalization gradient shows peak shift or a tendency to respond to stimuli with the most input layer activation after learning (Ghirlanda, 2002; Ghirlanda & Enquist, 1998). The degree to which stimulus representations overlap can impact generalization as well (Ghirlanda & Enquist, 1998). We performed an additional set of simulations to test how representing stimuli differently would impact the temporal dynamics of generalization shifts that were seen in simulations 1 and 2.
Networks were single-layer perceptrons with the same architectures as single-layer perceptrons in simulations 1 and 2. Networks had a single output unit of the sigmoid or value unit type.
Training and testing
Training and testing was identical to single-layer perceptron training and testing in simulations 1 and 2. Two single-layer networks were trained for each type of representation, unit type (sigmoid or value), and criteria level.
Results and discussion
In summary, the generalization patterns of networks in simulation 3 demonstrate that the trends in gradient shifts over the course of learning that we found in simulations 1 and 2 are repeatable using different shapes of stimulus representation. In the case of sigmoid unit networks this was also true for input representations that overlapped to different degrees (Gaussians with different variances). However, the time course of shifts was slightly delayed in networks trained with narrow or wide Gaussian representations. For value unit networks, the degree of overlap did matter for whether or not the quadratic trend in generalization shifts was observed. Part of the reason for this effect could be that training stimuli with different degrees of overlap yield different generalization patterns (Baron, 1973; Ghirlanda & Enquist, 1998; Hanson, 1959; Spence, 1937). We further explored the effect of S+/S– overlap and similarity in simulation 4.
As was mentioned previously, the similarity between S+ and S– during discrimination learning can affect how much the peak of generalization shifts. In Hanson’s (1959) classic peak shift demonstrations with pigeons, more similar S+ and S– discrimination wavelengths led to a larger shift in generalization away from the S–. The effect of S+/S– similarity on the peak shift effect is a consistent empirical result (Baron, 1973; Hanson, 1959; Purtle, 1973) that adequate discrimination learning models should replicate. Although perceptrons with sigmoid units do replicate the effect of S+/S– similarity on generalization (e.g., Ghirlanda & Enquist, 1998), to our knowledge, similar replications with value unit networks have not been reported. For this reason, in simulation 4, we tested whether a single-layer perceptron with a value output unit would produce this effect. Also, there are no studies that have yet examined how fixed stimulus similarity during discrimination training affects the trajectory of learning-related shifts either empirically or theoretically. Thus, in simulation 4, we also tested the generalization of single-layer perceptrons with sigmoid and value units trained to different SSE criteria.
Network architectures were identical to the single-layer perceptrons used in simulations 1, 2, and 3. Networks had either a sigmoid or a value output unit.
The stimulus representations for pretraining and generalization testing were the same as those used in simulations 1 and 2. The stimulus representation for the S+ in S+/S– discrimination training was the same as it was in simulations 1 and 2, but the S– stimulus was stimulus 2, 3, or 4 from the set of generalization stimuli shown in Fig. 3c.
Training and testing
Training criteria of .5, .3, .2, .1, .05, .02, and .01 SSE were used. Pilot testing revealed that some value unit networks did not show the dissipation of shift after being trained to an SSE of .02 but did show this effect after being trained to an SSE of .01. For this reason, we included the additional SSE criterion of .01. Two networks were trained per S– condition, criterion, and unit type. All other training and testing methods were identical to those used in simulations 1, 2, and 3.
Results and discussion
Although the general trend over the course of learning in networks was such that perceptrons composed of a sigmoid output unit increased shift with learning and value unit networks showed a quadratic trend, stimulus similarity did have an effect on how shifts progressed. Greater similarity of stimuli resulted in generalization shifts appearing earlier in training. For example, for value unit networks that were trained with stimulus 4 as the S–, the peak mean shift was at an SSE of .2. However, for networks trained with stimulus 2 as the S–, the peak of mean shift was seen at an SSE of .02. To our knowledge, these predicted differences in the temporal dynamics of generalization have yet to be empirically tested.
The previous simulations show that generalization shifts can depend greatly on the degree to which neural networks learn an S+/S– discrimination. Many past studies of generalization and peak shift involved training participants for a specific number of trials (Baron, 1973; Bizo & McMahon, 2007; Derenne, 2010; Lewis & Johnston, 1999; Newlin et al., 1979; Thomas et al., 1991; Wisniewski et al., 2009, 2010), rather than to specific performance criteria. Recent experimental data also show that generalization differs strongly and, sometimes, nonmonotonically with changes in discrimination performance (Wisniewski et al., 2010). Therefore, training to a specific trial criterion may lead to more variability between participants in generalization than training to a performance criterion. To examine this possibility, in simulation 5, single-layer perceptrons were trained with different learning rates, to criteria defined by SSE or by the number of trials.
Network architectures were identical to the single-layer perceptrons used in simulations 1–4.
Stimulus representations were identical to those used in simulations 1 and 2.
Training and testing
Training and testing procedures were the same as those used for single-layer perceptrons in simulations 1–3, with the following exceptions. Networks were trained to the six criterion levels, rank-ordered from lowest to highest, and defined by the SSEs previously used in simulations 1–3 or for a prespecified number of training trials (10, 160, 320, 640, 1,280, or 2,560 trials). Different learning rates of .01, .02, .04, and .08 were used to simulate individual differences in learning capacity. One network was trained per unit type, learning rate, and criterion level defined by SSE or number of training trials.
Results and discussion
The present simulations demonstrate that perceptron models of discrimination learning can replicate the quadratic trend for shifts in generalization gradients reported by Wisniewski et al. (2010), in which a peak shift effect emerges and then dissipates during the course of learning. However, perceptrons constructed with sigmoid units were not successful in capturing this trend. Sigmoid units have been popular in previous connectionist models of peak shift, which is understandable given that they predict peak shift after learning (Ghirlanda & Enquist, 1998, 2006; Livesey et al., 2005; Tanaka & Simon, 1996), but here they appear to result in stronger shifts with more training on the S+/S− discrimination. This was true for both single- and multilayer architectures. In contrast, single- and multilayer networks trained with value units qualitatively replicated the quadratic trend in gradient shifts. In perceptrons with Gaussian activation functions, shifts in gradients occurred only after intermediate levels of performance were reached on the S+/S− discrimination. Discrimination performance on the S+/S− discrimination that was too poor, or too good, led to little or no shift in the generalization gradients of networks. Previous simulations have shown that networks constructed with Gaussian activation functions have several computational advantages (Dawson, 2004, 2005, 2008; Dawson & Schopflocher, 1992). Our results demonstrate that, in at least some cases, they may also better capture the temporal dynamics of learning and generalization after discrimination training.
Comparison with earlier models of generalization shifts in humans
In the past, special attention has been given to how well findings obtained in experiments with nonhumans generalize to human behavior. For instance, Thomas and colleagues (Newlin et al., 1979; Thomas, 1993; Thomas et al., 1991) suggested that humans are much more sensitive to manipulations to the range of stimuli presented during generalization testing than are other animals. Specifically, they noted that humans tend to respond to the center of a range of generalization stimuli. If the range of stimuli presented during generalization tests is shifted, the peak of generalization gradients for humans can shift as well. These range effects have led some researchers to question whether learning-related shifts in humans reflect the same mechanisms as shifts observed in nonhumans (Bizo & McMahon, 2007; Thomas, 1993; Thomas et al., 1991), whereas others have challenged this idea (Galizio & Baron, 1979; Ghirlanda & Enquist, 2006; Spetch et al., 2004; Wisniewski et al., 2009).
Models developed to account for range effects in humans have utilized relational representations to account for generalization shifts.1 For instance, Thomas (1993) extended Helson’s (1964) adaptation-level theory to computationally specify a relational process that replicated the range effects seen in human generalization. According to Thomas, humans develop a prototype of all stimuli along a dimension, which he called the adaptation level (AL); he defined adaptation level as the mean of all stimuli experienced. In this framework, participants learn to identify the S+ during discrimination learning by responding to the adaptation level plus some amount (AL + X). During generalization testing, a change in stimulus range can alter the mean, and as a result, the rule AL + X leads to a peak of responding that is at a stimulus other than the S+. The adaptation level model has successfully replicated the central tendency effect and predicted learning-related shifts in many conditions for which they occur.
In the present simulations, we were able to account for the temporal dynamics of human generalization shifts with a simple perceptron that has been previously used to model songbird perceptual discrimination of naturally occurring stimuli (Guillette et al., 2010). Importantly, Thomas’s (1993) adaptation-level model cannot account for the shifts in generalization observed by Wisniewski et al. (2010), because generalization testing in that experiment was designed to maintain a fixed adaptation level during both training and testing.2 Successful simulation of transient peak shift effects with a perceptron shows that relational mechanisms are not necessary to explain human peak shift effects in cases where range effects are controlled for (Galizio & Baron, 1979; Spetch et al., 2004; Wisniewski et al., 2009, 2010) and suggests that perceptrons can adequately model discrimination learning and generalization by both humans and nonhumans (Ghirlanda & Enquist, 2006; Mercado, 2008; Spetch et al., 2004; Wisniewski et al., 2009).
Impacts of stimulus encoding on generalization shifts
Value units may have been better for simulating the empirical results of Wisniewski et al. (2010) for at least two reasons. First, the receptive fields of many neurons in the cortex that code for the features of sound selectively respond to specific features of an input, with response decreasing to properties that are dissimilar to those features (e.g., Elhilali et al., 2007; Linden et al., 2003). Sigmoid activation functions cannot capture this type of receptive field. It could be that Gaussian activation functions simulate these types of receptive fields and that these receptive fields are important for discrimination training. Second, Wisniewski et al. (2010), and many others studying generalization (Baron, 1973; Bizo & McMahon, 2007; Derenne, 2010; Lewis & Johnston, 1999; Spetch et al., 2004; Thomas et al., 1991; Wisniewski et al., 2009), used a task for which participants were told to make a response only to the trained stimulus and nothing else. Gaussian activation functions may be best for modeling tasks in which responses should be withheld in the presence of stimuli that are different from the trained stimulus in both directions along the relevant dimension (Dawson, 2004, 2005, 2008; Dawson & Schopflocher, 1992). In contrast, sigmoid functions may be more appropriate for modeling tasks in which participants are instructed to generalize responses to novel stimuli (as in studies of the caricature effect; Tanaka & Simon, 1996).
The simulations also suggest that differences between stimuli in training and testing can impact the temporal dynamics of generalization shifts. When the representations of stimuli used to train networks were changed such that the representations were very wide and overlapping, or very narrow and far apart, a monotonic increase in shift with learning was seen. It was additionally found that the overlap of stimulus representations during discrimination learning impacted the strength and the time course of gradient shifts such that greater overlap led to larger shifts with a faster time course (i.e., shifts developed earlier in learning). Neural representations evoked by stimuli vary from individual to individual (Miglioretti & Boatman, 2003; Orduña et al., 2005), and these representations can change over the course of learning (Elhilali et al., 2007; Goldstone, 1998; Saksida, 1999). It could be the case that transient shifts may not be seen for all participants and that the state of initial stimulus representations in an individual restricts how he or she can associate those representations to responses, as well as how they generalize (Gibson, 1969; Mercado, 2008).
We also found that generalization was more variable when networks were trained to a criterion based on the number of training trials than to a criterion based on discrimination performance. This finding suggests that when investigating trajectories of changes in generalization, the method of training for a certain number of trials (Baron, 1973; Bizo & McMahon, 2007; Derenne, 2010; Galizio & Baron, 1979; Lewis & Johnston, 1999; Newlin et al., 1979; Thomas et al., 1991; Wisniewski et al., 2009, 2010) may be less effective than training to a performance criterion (Spetch et al., 2004; Wills & Mackintosh, 1998). In addition, there are large individual differences in how participants generalize (Guttman & Kalish, 1956; Landau, 1968; Nicholson & Gray, 1972; Orduña et al., 2005). Some of the previously reported differences in generalization may stem from participants’ not reaching similar levels of performance.
The present simulations lead to several novel predictions about the temporal dynamics of generalization shifts: (1) Shifts in generalization over the course of learning should gradually increase and then reach a stable asymptotic state when individuals learn to discriminate stimuli along a dimension that is encoded by absolute neural firing rate but may be transient when the relevant dimension is encoded by selectively tuned neurons; (2) in the latter case, transient shifts will occur only when stimulus representations are moderately overlapping, but not when there is no overlap in encoding or when there is extensive overlap; (3) more similar stimuli should lead to quicker transitions in generalization shifts; (4) training individuals to a performance criterion should lead to less variable generalization than training for a fixed number of trials; and (5) individuals with different learning trajectories (e.g., different learning rates) should show different shifts in generalization with training. These predictions not only provide a way to assess the adequacy of current models of discrimination learning but also suggest that many of the previously reported differences in generalization between humans and other animals (and across different stimulus dimensions) may reflect differences in stimulus encoding, training regimens, and learning capacities, rather than differences in generalization mechanisms.
For an alternative modeling approach to range effects in humans, see Ghirlanda and Enquist (2006).
Thomas (1993) also suggested that adaptation level theory could explain peak shifts when the computed adaptation level did not shift between training and testing periods. This could be done if the value of X increases from training to testing due to the greater abundance of stimuli during generalization. However, Thomas specified that values of AL and X would change to best represent the generalization stimuli, making changes to values unidirectional. Thus, this explanation cannot explain the quadratic trend in shift seen empirically or in value unit networks.
This work was supported in part by NSF Grant SBE 0542013 to the Temporal Dynamics of Learning Center, an NSF Science of Learning Center. This research was also supported by a Natural Sciences and Engineering Research Council of Canada (NSERC) Discovery Grant and Discovery Accelerator Supplement, an Alberta Ingenuity Fund (AIF) New Faculty Grant, a CFI New Opportunities Grant, along with start-up funding and CFI partner funding from the University of Alberta, Edmonton, Alberta, Canada. L.M.G. is supported by an Izaak Walton Killam Memorial Scholarship at the University of Alberta. We thank Michael Dawson and Barbara A. Church for comments on the project, Alexander Dovgopoly for assistance with simulations, and Joseph Boomer for reading a previous version of the manuscript.
- Dawson, M. R. W. (2004). Minds and machines: Connectionism and psychological modeling. Oxford: Blackwell.Google Scholar
- Dawson, M. R. W. (2005). Connectionism: A hands-on approach. Oxford: Blackwell.Google Scholar
- Dawson, M. R. W. (2008). Connectionism and classical conditioning. Comparative Cognition and Behavior Reviews, 3(Monograph), 1–15.Google Scholar
- Enquist, S., & Ghirlanda, M. (2005). Neural networks and animal behavior. Princeton, NJ: Princeton University Press.Google Scholar
- Ghirlanda, S., & Enquist, M. (2006). How training and testing histories affect generalization: A test of simple neural networks. Philosophical Transactions of the Royal Society B, B362, 449–454.Google Scholar
- Gibson, E. J. (1969). Principles of perceptual learning and development. New York: Meredith.Google Scholar
- Guillette, L. M., Farrell, T. M., Hoeschele, M., Nickerson, C. M., Dawson, M. R. W., & Sturdy, C. B. (2010). Mechanisms of call note-type perception in black-capped chickadees (Poecile atricapillus): Peak shift in a note-type continuum. Journal of Comparative Psychology, 124, 109–115.PubMedCrossRefGoogle Scholar
- Helson, H. (1964). Adaptation level theory. New York: Harper & Row.Google Scholar
- Livesey, E. J., Pearson, L. S., & McLaren, I. P. L. (2005). Spatial variability and peak shift: A challenge for elemental associative learning? In Proceedings of the XXVIIth Annual Convention of the Cognitive Science Society (pp. 1302–1307). Hillsdale, NJ: Erlbaum.Google Scholar
- Rosenblatt, F. (1957). The perceptron: A perceiving and recognizing automaton (project PARA) (Tech. Rep. 85-460-1). Ithaca, NY: Cornell Aeronautical Laboratory.Google Scholar
- Rumelhart, D. E., Hinton, G. E., & Williams, R. J. (1986). Learning internal errors by error propagation. In D. Rumelhart, J. McClelland, & the PDP Group (Eds.), Parallel distributed processing: Explorations in the microstructure of cognition. Vol. 1: Foundations (pp. 318–362). Cambridge, MA: MIT Press.Google Scholar
- Suret, M., & McLaren, I. P. L. (2002). An associative model of human learning on an artificial dimension. In Proceedings of the 2002 International Joint Conference on Neural Networks (pp. 806–811). Piscataway, NJ: IEEE.Google Scholar
- Wills, S., & Mackintosh, N. J. (1998). Peak shift on an artificial dimension. Quarterly Journal of Experimental Psychology, 51B, 1–31.Google Scholar
- Withagen, R., & van Wermeskerken, M. (2009). Individual differences in learning to perceive length by dynamic touch: Evidence for variation in perceptual learning capacities. Attention, Perception, & Psychophysics, 71, 64–75.Google Scholar