Lecture 2: Good old fashioned AI Flashcards
What 5 conclusions were drawn in the 2020 updat of the “How much intelligence is there in artificial intelligence?”
- Recent AI breakthroughs, such as deep learning and reinforcement learning, have deep roots in psychology.
- Modern AI models are much more human and brain like at the implementational level.
- There is nothing wrong with AI’s crystallised intelligence, but generalisation is still a weakness of AI systems.
- The psychological relevance of AI extends to areas such as the study of individual differences and cognitive development.
- We expect fruitful interactions with regard to the measurement of natural and artificial intelligence
How does Haan define intelligence?
The ability to deal with difficult and novice problems
-similar to adaptivity and creativity
How does the timescale of intelligence compare to the timescales of other adaptive behaviours?
Fast:
• Extremely slow (evolutionary time): cuckoo
(brood parasite)
• Slow (hours to weeks): operant conditioning
(skinner box)
• Fast (seconds to hours): problem solving
(intelligence)
What did A.D. de Groot contribute to psychology
Wrote the book ‘psychological methods’ and ‘the thinking of the chess player’ in which he describes how a chess player plays chess (e.g from recognising strategies with experience, not just fluid intelligence.) Seen as one of the founders of the modern cognitive revolution in psychology
Why does chess play such an enormous role in AI?
Because when people thought about AI, they thought about chess. They thought that if they could make them play chess then they could be intelligent. Almost like a Turing test
How did they initially try to programme chess in the 1950’s?
It was much more difficult than expected. They interviewed master chess players and tried to implement human thought processes into the algorithm, which turned out unsuccessful
Why was programming chess difficult? (2)
There is an explosion of possibilities (novel positions, 5,362 distinct chess positions after 3 moves, 71,862 chess positions after 4 moves), and how to determine what is a good position. It was not possible to compute all of these positions
Describe two other simpler problems
Water jug problem: Get 4 litres exactly from a 3l and 5l jug and a tap.
24 problem: given 4 numbers and have to use each number once mathematically to get another number (e.g 24)
What is the difference between simple and difficult problems?
Simple problems are problems for which the time to solve the problem does not increase fast when the problems becomes bigger (P: polynomial time)
Hard problems: the solution
times increases very fast (NP: non-polynomial time)
What is meant by NP complete problems?
The solution is quick and easy to identify but finding the solution requires NP time with algorithms. If one problem is solved then they are all solved.
What questions arise from NP complete problems?
How to make NP problems solvable in P time (no one knows how to solve this). Also how do humans solve these problems
What questions arise from NP complete problems?
How to make NP problems solvable in P time (no one knows how to solve this). Also how do humans solve these problems (creative process)
How is how we solve these problems studied? (3)
Error analysis, eye movements and thinking aloud protocols (introspection)
What is the classic AI algorithm for problem solving? Describe this
Tree algorithms: Set up a search tree based on the options possible after each decision, search the tree to some depth (if possible to the end) and make a decision based on this.
How can a search tree algorithm deal with an explosion of options?
Alpha-beta pruning: It stops evaluating a move when at least one possibility has been found that proves to be worse than a previously examined move
What is meant by minimaxing? Explain with example
The tree search often involved a minimax algorithm which would explore different options of the algorithm and weigh them relative to the other options e.g first branch is evaluated and scored 0, any better branches are scored 1 and any worse are scored -1.
For example given two choices each of which would lead to two other choices which had two options: the maximum value that could be obtained from these two options would be would be computed. The minimum value of these two options would then be saved for that choice and the same for the other choice stemming from the original choice. The maximum value between these two would then be computed to see which of the two had the maximum value even if the opposition played the best move.
What is a function classically used for problem solving in AI? Describe this
Evaluation functions: In chess and other complex examples you don’t have to search the tree to the end, which would be impossible because of the explosion of possibilities. At some depth, see 10 moves, simply counting the pieces
(queen =10, rook=5, pawn=1 etc.), suffices.
Simple evaluations combined with deep search in trees (see up to
20 moves) is very powerful. A deep complex chess concept like ‘a better pawn structure’, just means winning pieces of giving mate 10 moves later
Name and briefly describe 2 more (aside from tree algorithms and evaluation functions) tricks used early in AI research for problem solving
Build in a huge opening book: In chess some openings are studied 20 moves deep
End game table bases: for positions with less than 6 pieces, they ‘solved chess’, because the tree up to the end position (win, draw, loss) could be computed