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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Assume that when the cue is present, the logistic activation function computes<br />

an activation value that we designate as o c<br />

, and that when the cue is absent it returns<br />

the activation value designated as o ~c<br />

. We can now define the total error <strong>of</strong> responding<br />

for the perceptron, that is, its total error for the (a + b + c + d) number <strong>of</strong> patterns<br />

that represent a single epoch, in which each instance <strong>of</strong> the contingency problem is<br />

presented once. For instance, on a trial in which C is presented and the perceptron<br />

is reinforced, the perceptron’s error for that trial is the squared difference between<br />

the reward, 1, and o c.<br />

As there are a <strong>of</strong> these trials, the total contribution <strong>of</strong> this type<br />

<strong>of</strong> trial to overall error is a(1 – o c<br />

) 2 . Applying this logic to the other three pairings <strong>of</strong><br />

cue and outcome, total error E can be defined as follows:<br />

<br />

<br />

<br />

For a perceptron to be at equilibrium, it must have reached a state in which total<br />

error has been optimized, so that the error can no longer be decreased by using the<br />

delta rule to alter the perceptron’s weight. To determine the equilibrium <strong>of</strong> the perceptron<br />

for the single cue contingency problem, we begin by taking the derivative<br />

<strong>of</strong> the error equation with respect to the activity <strong>of</strong> the perceptron when the cue is<br />

present, o c<br />

:<br />

<br />

<br />

<br />

One condition <strong>of</strong> the perceptron at equilibrium is that o c<br />

is a value that causes this<br />

derivative to be equal to 0. The equation below sets the derivative to 0 and solves for<br />

o c<br />

. The result is a/(a + b), which is equal to the conditional probability P(O|C) if the<br />

single cue experiment is represented with a traditional contingency table:<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Similarly, we can take the derivative <strong>of</strong> the error equation with respect to the activity<br />

<strong>of</strong> the perceptron when the cue is not present, o~c:<br />

<br />

<br />

<br />

<br />

156 Chapter 4

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

Saved successfully!

Ooh no, something went wrong!