Artificial Intelligence Flashcards

1
Q

What is the Turing Test?

A

behaviour-based

  • computer must be able to convince person in another room that it can answer questions like a human would
  • should convince people that any computer that could pass this test fair-and-square would be intelligent

DOES NOT care whether machine is intelligent or not

DOES care whether machine acts/behaves like it’s intelligent

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

What is the Searle Chinese Room Test?

A

internal-state

  • computer that can translate languages is NOT intelligent because it doesn’t attach meaning to words
  • algorithm being followed ≠ thinking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is artificial general intelligence (AGI)?

A

understand or learn any intellectual task that a human being can

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

What is narrow AI?

A

don’t perform outside of the single task that they are designed to perform

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

What is natural language processing (NLP)?

A

automatic processing of human language (ie. by computers)

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

What is the traditional NLP approach?

A

long list of rules for processing language, formulated by people and programmed into computers

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

What is the modern NLP approach?

A

machines learn from text examples using artificial neural networks and similar approaches (like babies)

  • statistical methods allows to compare different interpretations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 3 advantages of modern machine-learning NLP methods vs. traditional hand-coded rules?

A
  • relevance: learning automatically from bodies of text means that common cases are trained more carefully
  • robust: statistical algorithms can make guesses about unfamiliar and erroneous input (ie. misspelled words)
  • training: simply provide more text to further train modern algorithms
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the traditional NLP steps?

A
  1. Recognize speech (Watson skipped this – it received ASCII versions of questions)
  2. Syntax analysis, or parsing
  3. Semantic analysis
  4. Pragmatics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is parsing (syntax analysis)?

A

inferring parts of speech and sentence structure, using lexicon and grammar

takes sentence and shows how words are assigned parts of speech and build up to form a sentence

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

What is semantic analysis?

A

inferring meaning using syntax and semantic rules

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

What are pragmatics?

A

inferring meaning from contextual information

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

How is parsing the basis for computer programming?

A
  • computer has to ‘understand’ programs in order to execute them
  • programming languages are designed so that they can be parsed unambiguously
  • grammar specifies all possible programs that can be written in a language
  • designing programming languages (and their grammars) is fun and important part of CS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why is parsing hard?

A

can be tricky – natural languages are ambiguous

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

Which type of NLP has trouble with ambiguities?

A

traditional, rule-based NLP

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

Syntax vs. Semantics

A

syntax:
- knowing if word is noun or verb (syntax) tells us something about its meaning (semantics)
- describes sentence’s structure

semantic analysis:

  • provide additional information – word categories, relationship between words
  • adds limited meaning that can be figured out using simple rules that don’t require much context
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Pragmatics

What do most techniques do to find semantic meaning of words?

A

look for clues in surrounding text to disambiguate word meaning

18
Q

When is pragmatics especially important?

A

when sentences contain pronouns

19
Q

What is the traditional method to learning to translate between languages?

A
  1. Apply NLP to each sentence in each language

2. Follow a set of rules that define how to translate

20
Q

What is the newer method to learning to translate between languages?

A

use machine learning techniques plus data on the web

21
Q

What is machine learning?

A

process of using data to help systems ‘learn’ without being explicitly programmed how to do task

22
Q

What are 3 limitations of traditional NLP?

A
  • natural language is structurally ambiguous, so parsing alone cannot lead to understanding
  • synonyms for words can’t be used interchangeably in every context
  • natural languages have many exceptions to grammatical rules – no agreed-upon grammar for all uses of a language
23
Q

What is the brain?

A

mass of highly interconnected neurons

  • dendrites receive inputs
  • axons carry output
  • output is based on input
24
Q

What neuron structure gives the brain many adaptive advantages?

A

many various connections among individual neurons is more important than individual neurons themselves

25
Q

What are artificial neural networks (ANNs)?

A

many interconnected artificial neurons – outputs of some feed into others

26
Q

What can simple ANNs carry out?

A
27
Q

What can simple ANNs carry out?

A

basic logic functions

28
Q

How can ANNs learn?

A
  • with life experience, depending on particular person’s trials and errors, synaptic connections among pairs of neurons get stronger or weaker
  • ANN could do something similar, by gradually altering (on guided trial-and-error basis) numerical relationships among artificial neurons
  • wouldn’t need to be pre-programmed with fixed rules – would instead rewire itself to reflect patterns in data it absorbed
29
Q

Can ANNs learn a specific operation?

A

yes

30
Q

How do ANNs work?

A

neurons in ANN can solve one tiny function, then pass the result on to another neuron

31
Q

What is deep learning?

A

using deep neural networks

neurons in ANN solve one tiny function, and pass the result on to another neuron

contains many layers of neurons – if one neuron makes mistake, it does not have profound outcome on overall effect

32
Q

What are word embeddings?

A

multi-dimensional maps of language

words correspond to points in multi-dimensional space
- words that are “similar” should be close in this space

33
Q

What are word embeddings created by?

A

training neural networks

34
Q

What are word embeddings the key to?

A

new and improved translation software

35
Q

How does word embedding work?

A
  • need huge volume of text
  • train neural network to associate nearby words in texts
  • enter word into input layer, and network should produce nearby word in output layer
  • if it can do this with small hidden layer, it is somehow embedding meaning of these words
36
Q

What are some ideas to improve language translation?

A
  • train artificial neural networks to recognize patterns across languages
  • use word embeddings as input to networks

results almost as good as human translators

37
Q

What are 3 types of machine learning?

A
  • supervised
  • unsupervised
  • reinforcement
38
Q

What is supervised machine learning?

A

data is labelled to instruct machine which patterns to look for

39
Q

What is unsupervised machine learning?

A

data is unlabelled, machine looks for any patterns

40
Q

What is reinforcement machine learning?

A

learn by trial and error to achieve a clear objective

41
Q

What is machine learning?

A

looking for patterns in massive amounts of data

42
Q

What are adversarial attacks?

A

inputs to machine learning models that attacker has intentionally designed to cause model to make mistake – like optical illusions for machines