Artificial Intelligence Flashcards
What is the Turing Test?
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
What is the Searle Chinese Room Test?
internal-state
- computer that can translate languages is NOT intelligent because it doesn’t attach meaning to words
- algorithm being followed ≠ thinking
What is artificial general intelligence (AGI)?
understand or learn any intellectual task that a human being can
What is narrow AI?
don’t perform outside of the single task that they are designed to perform
What is natural language processing (NLP)?
automatic processing of human language (ie. by computers)
What is the traditional NLP approach?
long list of rules for processing language, formulated by people and programmed into computers
What is the modern NLP approach?
machines learn from text examples using artificial neural networks and similar approaches (like babies)
- statistical methods allows to compare different interpretations
What are the 3 advantages of modern machine-learning NLP methods vs. traditional hand-coded rules?
- 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
What are the traditional NLP steps?
- Recognize speech (Watson skipped this – it received ASCII versions of questions)
- Syntax analysis, or parsing
- Semantic analysis
- Pragmatics
What is parsing (syntax analysis)?
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
What is semantic analysis?
inferring meaning using syntax and semantic rules
What are pragmatics?
inferring meaning from contextual information
How is parsing the basis for computer programming?
- 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
Why is parsing hard?
can be tricky – natural languages are ambiguous
Which type of NLP has trouble with ambiguities?
traditional, rule-based NLP
Syntax vs. Semantics
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