06.09.2021 Views

Mind, Body, World- Foundations of Cognitive Science, 2013a

Mind, Body, World- Foundations of Cognitive Science, 2013a

Mind, Body, World- Foundations of Cognitive Science, 2013a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.10 Chord Classification by a Multilayer Perceptron<br />

Artificial neural networks provide a medium in which to explore empiricism, for<br />

they acquire knowledge via experience. This knowledge is used to mediate an<br />

input-output mapping and usually takes the form <strong>of</strong> a distributed representation.<br />

Distributed representations provide some <strong>of</strong> the putative connectionist advantages<br />

over classical cognitive science: damage resistance, graceful degradation, and so on.<br />

Unfortunately, distributed representations are also tricky to interpret, making it<br />

difficult for them to provide new theories for cognitive science.<br />

However, interpreting the internal structures <strong>of</strong> multilayered networks, though<br />

difficult, is not impossible. To illustrate this, let us consider a multilayer perceptron<br />

trained to classify different types <strong>of</strong> musical chords. The purpose <strong>of</strong> this section is to<br />

discuss the role <strong>of</strong> hidden units, to demonstrate that networks that use hidden units<br />

can also be interpreted, and to introduce a decidedly connectionist notion called<br />

the coarse code.<br />

Chords are combinations <strong>of</strong> notes that are related to musical scales, where a<br />

scale is a sequence <strong>of</strong> notes that is subject to certain constraints. A chromatic scale<br />

is one in which every note played is one semitone higher than the previous note. If<br />

one were to play the first thirteen numbered piano keys <strong>of</strong> Figure 4-7 in order, then<br />

the result would be a chromatic scale that begins on a low C and ends on another C<br />

an octave higher.<br />

2 4 7 9 11 14 16 19 21 23 26 28 31 33 35<br />

1 3 5 6 8 10 12 13 15 17 18 20 22 24 25 27 29 30 32 34 36 37<br />

Figure 4-7. A small piano keyboard with numbered keys. Key 1 is C.<br />

A major scale results by constraining a chromatic scale such that some <strong>of</strong> its notes<br />

are not played. For instance, the C major scale is produced if only the white keys<br />

numbered from 1 to 13 in Figure 4-7 are played in sequence (i.e., if the black keys<br />

numbered 2, 4, 7, 9, and 11 are not played).<br />

Figure 4-8. The C major scale and some <strong>of</strong> its added note chords.<br />

162 Chapter 4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!