1/23
Looks like no tags are added yet.
Why do we think we can create AI?
Functionalism: Philosophy of mind that argues what makes something "mind" is not what it's made of, but how it functions
Argues that anything able to do cognition should be considered mind
If computer can do cognition, we have AI
How do we get a computer to do cognition?
Reduce cognitive task to a computational task
(Task that follows well-defined process/set of steps)
Algorithm
Sequence of instructions, "effective" procedure (one that works)
Independent of programming language
Program
Set of instructions that allow a computer to implement algorithm
Difference between algorithms and programs
Algorithms are ideal, programs are specific
Early vs. later approach to AI
Early: Program in everything needed (e.g., set of vocabulary, set responses, phrase structure rules, get something like ELIZA).
Later: Try to build something that does what brain does: ANNs
Biological plausibility / realistic-ness of ANNs
ANNs (Artificial neural networks, neural nets) are based on real neural organization
Biologically plausible: Work sorta like brains work
NOT biologically realistic: ANNs have thousands of "neurons." Brain: 80-100 billion neurons
What is an ANN physically?
A mathematical model
How is an ANN implemented?
Software that does simulation (runs program, looks at result)
E.g., JavaNNS, SimBrain
Nodes
Units in network
Have activation values (number associated w/node)
When can a node fire?
If input exceeds threshold
Links
Connections between nodes
Have weights, number associated with that link.
Between -1 and 1; Closer to |1| (-1 or +1) = "heavier" weight
How do ANN's work?
Nodes are "stimulated" (turned on)
Input from other nodes OR outside network (programmer)
Signal processed, sent on to other nodes in the network
Basis function
Equation describing how inputs to a node are calculated
Stimulation nodereceives (sj) = sum of inputs to that node
Each connected node's activation value (ai) multiplied by weight of link between the two nodes (Wji)
What is an activation function? f(net)
An equation describing how output to a node is affected by the input, models threshold (neurons all or none response)
Different AFs are used depending on what you want
Often sigmoid (s shaped) is used because models on/off in ways that are easier math-wise than binary threshold
How does activation function work with basis function?
Basis function sums inputs from other nodes (akin to cell body summing inputs from other neurons)
Activation model fire or not decision (akin to depolarization of axon).
If node fires, outputs go to other nodes (akin to NT release)
Biological equivalents between ANNs, neurons
Cell body / soma: both sum the input
Links: Synapses (Axonal and dendritic connections): "Connect" cell bodies, just have to remember synapse is not physical
Activation value: Current state of axon's membrane (more or less polarized): This helps determine whether unit sends signal on
Basis function: Cell body summing inputs from other neurons
Activation function: Threshold for action potential: there is no response unless threshold reached
Node sending a signal on: Action potential
Positive/negative weight: EPSP, IPSP. Helps determine whether unit sends signal on
How could we do something cognitive with an ANN?
Need a cognitive task that can be made into computational task
How do ANNs learn?
Weights set by programmer ("teacher"), then changed through training using backpropagation
Backpropagation (backwards propagation)
Method of training ANN by gradually changing weights on links in response to feedback
What is the backpropagation process?
1. Set all weights
2. Set target output for output nodes
3. Run ANN, get actual output for output nodes... probably differs from target
4. Subtract actual from target output
5. Send error signal back through network
error signal
Target output - actual output
There are many possible ways to calculate error signal, we learned a simple backpropagation rule that gives idea w/o getting into partial derivatives
Biological equivalent of backpropagation
Hebbian learning
Interactions between nodes reshaped by repeated stimulation, leads to learning
hidden layer
The second layer of a three-layer network where the input layer sends its signals, performs intermediary processing