AI Flashcards

1
Q

Explain the difference between weak AI and strong AI. What are their assumptions and what does that
mean for AI?

A

Weak:

  • non-sentient
  • focused on narrow task
  • based on rule-based manipulation (eg. if… then…)
  • not ‘truly intelligent’
  • Searle: chinese room argument= doesn’t reflect true intelligence
strong:
- can think
- requires connectionist architecture
- assumes human mind to be an info processing system
= thinking= form of computing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the difference between symbolic AI and connectionist AI.

A

symb:

  • rule-based (symbol manipulation)
  • no pattern recognition
  • cannot classify objects or deal w noisy input

c:

  • based on networks similar to neurobiology (parrallel processing)
  • can solve complex non-linear problems
  • can generalise novel input (learn)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What was Turing’s imitation game about and how does this relate to intelligent systems?

A

game:
- if machine indistinguishable from human,
= must be intelligent

  • doesn’t question underlying mechanism
  • is it actually intelligent?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does Searle’s Chinese room argument relate to Turing’s imitation game? What conclusions would
Searle draw out of a computer passing the imitation game?

A
  • even when programmed to answer all questions correctly, it doesn’t mean intelligence
  • doesn’t understand essence of chinese
  • simply programmed to answer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain the criticism on symbolic AI. Give arguments against and for.

A

for:
- MYCIN was v successful (diagnosing blood infections)

against:

  • highly inflexible (relies on programmed symbols
  • cant deal w noise
  • can’t reach human-like intelligence
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the similarities between connectionist AI architectures and the human brain?

A
  • based on the structure of a human brain
  • parallel processing
  • can generalise (learn)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does it mean for human memory to be content-addressable?

A
  • means that memory can be retrieved by using content as cue

- possible due to memory not stored in neurons but in the connections b/n them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an expert system?

A

representation of an expert’s knowledge of a subject

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are expert system’s components and their functions?

A

knowledge base:

  • knowledge about the world
  • how concepts relate to each other

inference engine:
- manipulate the symbols
eg . predicate logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain how a conclusion is deduced in an expert system using forward and backward chaining. What are
the algorithms of both chaining directions?

A
forward:
- sequential until solution found
- if then rules applied
- facts are matched
= deduce conclusion

backward:
- have a hypothesis
- use if then rule backwards
- check if antecedents be true until hypo accepted/ rejected
- if all antecedents accepted= conclusion
(skips unneccesary qustions)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When should you use forward chaining, and when backward chaining?

A
  • f when want to know everything you can from a set of facts

- b when not all facts are known

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Sudoku:
Explain the backtracking
algorithm and give an algorithmic implementation of backtracking in solving a Sudoku.

A
  • iteratively generating possible solutions
  • when realise that it doesn’t lead to a complete solution
  • goes back to previous choice and creates a new solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is the difference between depth-frst search and breadth-frst search?

A

DFS:

  • goes to 1 child and expand on all its children before expanding on the next child and all its children
  • alternatives are ignored
  • backtracks when deadend met

BFS:
- expands on everything on first layer before moving on to the next layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
Which type (BFS/ DFS) should be used
under what circumstances? Explain.
A

BFS

  • used when v deep trees
  • not when all paths would reach goal about the same time

DFS

  • used when trees not that deep
  • goal expected to be found after a reasonable amount of steps
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does a heuristically informed algorithm differ from its naive counterpart?

A

has more info than naive counterparts

- allows for better decisions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

We can heuristically inform depth-frst and breadth-frst search using, for example, a distance-to-target
metric. Name the two algorithms that result from this, and explain how they work.

A

GREEDY ALGORITHMS
(choose locally best choice at each stage)

hill-climbing

  • moves similar to DFS
  • uses shortest distance to target as heuristic

beam search

  • modified BFS
  • moves thru the best nodes
17
Q

In optimal search, the branch-and-bound algorithm works by discarding some branches. Explain which
branches are discarded by the algorithm and why.

A

(uniform-cost search)

  • it ignores path w distances that are equal or greater than the distance for that solution
  • benefits from the having the estimated distance left
  • discards redundant paths for more efficiency
18
Q

The A* algorithm combines three techniques that were discussed in the lectures. Name these 3
techniques, and how they contribute to efficient path finding.

A
  • branch-and-bound
  • distance estimates
  • redundant path removal
  • efficient thru evaluating the cost to the node and the cost from the node to the goal
19
Q

Give a definition and an example of combinatorial explosion.

A
  • rapid growth of the complexity and possible solutions to a problem
  • eg. trying to solve sudoku by using naive brute force
20
Q

What does it mean when a game (e.g. checkers, chess) is solved?

A

when optimal steps for each player can be calculated

21
Q

Explain why robots need sensors and effectors, and include their defnitions.

A

sensors:
- allows to perceive environment

effectors:
- so it can move

22
Q

What are degrees of freedom in robotics? Give an example.

A
  • independent parameters that define the system’s configuration
  • eg. drone has 6 df
    3 for location and 3 for angular orientation
23
Q

How does the behavior of two Braitenberg Vehicles differ between straight vs. crossed excitatory
connections? Describe their behavior exhaustively

A

straight: fear
- turns away from signal and slows down as it goes further away

crossed: aggression
- turns toward signal
- faster as closer to signal

L3

24
Q

What happens to these two vehicles if we make the connections inhibitory?

A

LOVE

straight: love
- race toward signal
- stops in front of it

crossed: unfaithful lover
- orient itself away from signal
- speed up as further from signal

25
Q

What happens when we implement a threshold function?

A
  • will appear to make its own decision

= have own values

26
Q

Explain the concept of evolutionary robotics using pseudocode.

A

(genetic algorithm)

  • choose population
  • evaluate each individuals’ fitness
  • only keep best performing robots
  • replenish population w well-performing robots
  • terminate when fitness reached a plateau
27
Q

Name two robot learning techniques

A

motor babbling:

reinforcement learning:

28
Q

motor babbling

A

robot learning technique

  • random movements initially (M)
  • until movement changes body configuration and environment (K)
  • co-activation b/n M&K= bidirectional associations
  • could also learn by human guiding movements (imitation learning)
  • build model of required movement
29
Q

reinforcement learning

A

robot learning technique

  • send reinforcement signal to the control system
  • signal usually binary (altho other values possible)
  • tells machine whether it passed/ failed