1. Home
  2. Explore
  3. Computer Science
  4. Miracles of Learning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Miracles of Learning

  • 41Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Problem-Focused vs Mechanism Envy

What is the key difference between a problem-focused approach and mechanism envy in AI research?

41 questions

  1. 1

    What is the key difference between a problem-focused approach and mechanism envy in AI research?

    Model answer

    A problem-focused approach starts with the problem and chooses representation and methods suited to it, while mechanism envy falls in love with a particular mechanism and tries to apply it to all problems.

    Explanation

    In the lecture, Winston contrasts the approach of Sussman and Yip (problem-first) with those who are devotees of neural nets and try to force-fit them onto every problem, calling the latter 'mechanism envy'.

  2. 2

    According to Marr's catechism, what are the five steps in tackling an AI problem?

    Model answer
    1. Specify the problem, 2. Devise a representation, 3. Determine an approach, 4. Pick an algorithm, 5. Experiment.

    Explanation

    Winston outlines Marr's catechism as these five steps, noting that the process is not strictly linear and often involves loops back to earlier steps.

  3. 3

    Why is the Sussman-Yip pluralization learning system an example of following Marr's catechism?

    Model answer

    They started with the phonological rule learning problem, adopted distinctive features as representation, used constraints and propagation, developed a generalization algorithm, and experimented.

    Explanation

    Winston highlights that they began with the problem rather than a mechanism, chose an appropriate representation, and then devised an approach and algorithm, culminating in experiments that demonstrated learning.

  4. 4

    What is mechanism envy and why is it problematic?

    Model answer

    Mechanism envy is the tendency to become attached to a particular computational method (e.g., neural nets) and force it on problems where it may not be suitable, often leading to poor results.

    Explanation

    Winston states that many AI researchers fall in love with mechanisms like neural nets and try to apply them universally, which is not the right way because it doesn't match the problem to the mechanism.

  5. 5

    How does Marr's catechism emphasize the importance of representation?

    Model answer

    It lists 'devise a representation' as a key step after specifying the problem, highlighting that the right representation is crucial for exposing constraints and enabling solutions.

    Explanation

    Winston notes that the Sussman-Yip work succeeded because they used distinctive features as a representation that makes the right things explicit and exposes constraints.

  6. 6

    What are distinctive features in phonology?

    Model answer

    They are binary variables (plus/minus) that characterize phones; for example, whether a sound is voiced or not.

    Explanation

    Winston explains that a distinctive feature is a binary variable like 'voiced' (vocal cords vibrating) and that there are on the order of 14 such features.

  7. 7

    Approximately how many distinctive features are used in theories of phonology?

    Model answer

    On the order of 14.

    Explanation

    Winston states 'there are on the order of 14 of these distinctive features that determine which phone you're saying.'

  8. 8

    How many possible phones could in principle be represented with 14 binary features?

    Model answer

    214≈16, ⁣0002^{14} \approx 16,\!000214≈16,000; but no language uses more than about 100, English around 40.

    Explanation

    Winston calculates 2^14 as about 16,000, then notes that no language on Earth has more than 100 phones and English has about 40.

  9. 9

    Why are many of the 16,000 possible phones not used in actual languages?

    Model answer

    Some are excluded on physical grounds, but most are not; only about 40 are used in English; the reason may relate to learnability.

    Explanation

    Winston says 'some of those choices are probably excluded on physical ground. But most of them are not. So we could have a lot more phones ... than we actually do.' Later he discusses the sparse space hypothesis for learnability.

  10. 10

    What is the McGurk Effect?

    Model answer

    When the sound of 'ba' is played with a video of someone saying 'ga', the perceived sound is often 'da' or something else, showing that visual input influences speech perception.

    Explanation

    Winston demonstrates the McGurk Effect: looking at a video of 'ga' while hearing 'ba' results in perceiving 'da' (or other), indicating that what you see affects what you hear.

  11. 11

    What does the marionette analogy represent in speech production?

    Model answer

    The five 'pieces of meat' (articulators) are controlled by combinations of distinctive features to produce phones, like strings on a marionette.

    Explanation

    Winston describes a marionette with five pieces of meat, and the combination of distinctive features controls them to produce desired phones.

  12. 12

    In the word 'apples', what are the patterns of the features syllabic, voiced, continuent, and strident?

    Model answer

    Syllabic: + - - -; Voiced: + - + +; Continuent: + - + +; Strident: - - - + (for a, p, l, z).

    Explanation

    Winston writes these values for the word 'apples' (phonetically a-p-l-z): a is + syllabic, + voiced, + continuent, - strident; p is - syllabic, - voiced, - continuent, - strident; l is - syllabic, + voiced, + continuent, - strident; z is - syllabic, + voiced, + continuent, + strident.

  13. 13

    How are distinctive features arranged when representing a word?

    Model answer

    As a matrix with features in rows and time (phone sequence) in columns.

    Explanation

    Winston shows the representation of 'apples' as a matrix: 'Going down in the columns we have our distinctive features. And going across we have time.'

  14. 14

    What are the main components of the Sussman-Yip machine?

    Model answer

    Vision apparatus, registers (for concepts like noun, verb, plural), word lexicon (words with phone sequences), constraints (propagators), and a phone buffer.

    Explanation

    Winston describes the machine: mystery apparatus (vision), registers for noun/verb/plural, words that know about phone sequences, constraints, and a buffer of phones to be uttered.

  15. 15

    How are the components connected?

    Model answer

    Words connect to buffer; plural register connects to vision; vision connects to word repertoire and plural register; constraints connect to plural register, z-sound port, and plus-voiced port; all connections are bidirectional.

    Explanation

    Winston explains the connections: words to buffer, plural register to vision, vision to word repertoire and plural register, constraints to plural port, z-sound port, and plus-voiced port; he notes information can flow in any direction along the ports.

  16. 16

    What is a propagator in the context of the Sussman-Yip machine?

    Model answer

    A constraint that allows information to flow in multiple directions (bidirectional) rather than having fixed input and output.

    Explanation

    Winston says 'these constraints are such that information can flow in any direction, so they deserve to be called propagators.'

  17. 17

    Describe the process by which the machine generates the plural form 'apples' when seeing two apples.

    Model answer

    Vision detects two apples, activates 'apple' word and sets plural register; word sends a-p-l into buffer; as buffer shifts left, the constraint sees that penultimate 'l' is voiced and plural is active, so it writes 'z' into the buffer.

    Explanation

    Winston walks through the operations: vision sees two apples, sets plural register and activates apple word, writes a-p-l into buffer, then leftward shift; constraint detects l is voiced and plural is set, so it writes z.

  18. 18

    How can the same machine be used to understand spoken words?

    Model answer

    By running the connections in reverse: hearing a word flows back through constraints and registers, activating visual concepts.

    Explanation

    Winston says 'if I hear apples then I get the machine running backwards and my visual apparatus can imagine that there are apples out there.'

  19. 19

    What information does the plural constraint use to decide which plural ending to produce?

    Model answer

    It checks whether the word is plural, what the last phone of the word is (voiced or not), and whether a z sound is already present.

    Explanation

    Winston describes the plural constraint as having ports: plural register, z-sound port, and plus-voiced port. It observes values on these ports to decide whether to produce a z ending.

  20. 20

    Why do the connections have circles instead of arrows?

    Model answer

    To indicate that information can flow in any direction along the ports, not just one way.

    Explanation

    Winston says 'I try to be careful to draw circles here instead of arrows. Because these are ports and information can flow in any direction along them.'

  21. 21

    What is the first step in the Sussman-Yip learning algorithm?

    Model answer

    Collect positive and negative examples of pluralization.

    Explanation

    Winston states 'the first thing they did was to collect positive and negative examples.'

  22. 22

    What is a seed in the learning algorithm?

    Model answer

    A positive example chosen as the starting point for generalization.

    Explanation

    Winston says 'they picked a positive example and they called that a seed.'

  23. 23

    How does the algorithm generalize from the seed?

    Model answer

    It turns some elements of the feature matrix into 'don't-care' symbols (like asterisks or balls), gradually ignoring details.

    Explanation

    Winston describes generalizing as picking places in the phoneme matrix that you just don't care about and changing them to an asterisk or ball.

  24. 24

    When does the algorithm stop generalizing?

    Model answer

    When it covers (matches) a negative example—i.e., when a negative example would be incorrectly pluralized according to the pattern.

    Explanation

    Winston says 'we keep generalizing until we cover, that is to say we admit or match, a negative example.'

  25. 25

    In what order does the algorithm choose features to generalize?

    Model answer

    It generalizes features farthest from the last phoneme first, because the adjacent phoneme has the greatest influence on pluralization.

    Explanation

    Winston explains 'the thing that influences the pluralization most is the adjacent phoneme... these guys over here are least likely to matter. And those are the ones that are generalized first.'

  26. 26

    What was the result of the first experiment with seed 'cat' (s sound plural)?

    Model answer

    The rule learned was: pluralize with s if the last phone is not voiced and not strident.

    Explanation

    After generalizing, the system found that the determining factor is that the final phone is not voiced and not strident, which matches the textbook phonological rule.

  27. 27

    What rule was learned from the second experiment with seed 'dog' (z sound plural)?

    Model answer

    Pluralize with z if the last phone is voiced.

    Explanation

    The demonstration shows that after generalization, the rule is that if the last sound is voiced, the pluralization gets the z sound.

  28. 28

    What rule was learned for words like 'beach' (es plural)?

    Model answer

    If the last phone is strident, pluralize with ez (the es sound).

    Explanation

    The third experiment with 'beach' (strident final sound) learned that it gets the ea sound (ez).

  29. 29

    Why did Sussman and Yip use beam search in their algorithm?

    Model answer

    To reduce the possibility of overlooking a solution by exploring multiple generalization paths in parallel.

    Explanation

    Winston notes the algorithm does a beam search through the space, and the display shows coverage of both beam search elements, indicating they converge.

  30. 30

    How did the learning algorithm handle multiple positive and negative examples?

    Model answer

    It used beam search to maintain several candidate patterns that cover all positive examples while excluding all negatives.

    Explanation

    Winston explains that the algorithm uses beam search, and the display shows coverage of positive examples and exclusion of negatives.

  31. 31

    Why does Sussman and Yip's approach work effectively for learning phonological rules?

    Model answer

    Because the space of possible phones is high-dimensional (14 features) but sparsely populated (only ~40 phonemes), making it easy to separate classes with hyperplanes.

    Explanation

    Winston says it works 'because it's a sparse space. And when you have a high dimensional sparse space, it's easy to put a hyperplane into the space to separate one set of examples from another.'

  32. 32

    How does high dimensionality help in separating examples?

    Model answer

    In higher dimensions, there are many possible axes to place separating hyperplanes; with sparse data, it's likely that a simple linear separator exists.

    Explanation

    Winston uses examples in 1D, 2D, and 3D to illustrate that as dimensions increase, there are more ways to separate the data, sometimes making separation trivial.

  33. 33

    Give an example of how increasing dimensionality can make separation easier.

    Model answer

    In 1D, two interleaved positive and negative points cannot be separated by a threshold; but if that 1D is a projection of a 2D space, a line can separate them.

    Explanation

    Winston describes a 1D case with two white and two purple examples that are not separable, but if that is a projection of 2D, they may be separable by a line.

  34. 34

    What is the central limit theorem argument regarding sparse phoneme space?

    Model answer

    If the 40 phonemes are placed randomly in the 16,000 possible combinations, they will be approximately equally distant from each other, which aids separation during speech.

    Explanation

    Winston suggests that if points are at random in a high-dimensional space, according to the central limit theorem, they will be about equally distant from each other, ensuring phonemes are easily separated when spoken.

  35. 35

    Why are vowels harder to separate than consonants in distinctive feature space?

    Model answer

    Vowels are closer together in the space (separated by fewer distinctive features) compared to consonants, making them more confusable.

    Explanation

    Winston shows a diagram where consonants are separated by exactly one distinctive feature (mostly far apart), while vowels are all tangled up and close to each other, explaining why vowels are harder to separate.

  36. 36

    What does the diagram showing phonemes separated by exactly one distinctive feature reveal?

    Model answer

    Most consonants are far apart (only a few pairs share all but one feature), while vowels tend to cluster together, explaining why vowels are harder to distinguish.

    Explanation

    Winston explains the diagram: consonants like w and x are separated by exactly one feature, but vowels are all tangled up, indicating that vowels are close together in the feature space.

  37. 37

    According to Marr, what are three characteristics of a good representation?

    Model answer

    It makes the right things explicit, exposes constraints, and has a local quality (can be understood through a narrow focus, like a soda straw).

    Explanation

    Winston lists these three characteristics of a good representation: making the right things explicit, exposing constraints, and having 'localness' (you can see the right answer by looking through a soda straw).

  38. 38

    How does the distinctive feature representation make the right things explicit?

    Model answer

    It explicitly encodes phonetic properties like voicing, continuance, and stridency, which are crucial for phonological rules.

    Explanation

    Winston notes that distinctive features make properties like voicing explicit, and these are exactly what is needed to formulate phonological rules.

  39. 39

    How does a good representation expose constraints?

    Model answer

    By organizing information so that relationships and dependencies become apparent, enabling the design of rules or algorithms that exploit those constraints.

    Explanation

    Winston says that once you have a representation that exposes constraints, you're 'off and running' because constraints are needed for processing leading to a solution.

  40. 40

    What does the 'localness' criterion mean for representations?

    Model answer

    A good representation allows understanding of the system by looking at a small part (through a soda straw) rather than requiring global context.

    Explanation

    Winston says if you can see how a program works by looking through a soda straw, you're in a much better situation than if you have to look here and there and on the next page.

  41. 41

    Why is localness important for building models?

    Model answer

    It makes the model easier to debug, understand, and modify because effects are contained locally.

    Explanation

    Winston implies that localness aids comprehensibility, which is important when building and debugging models.

1 of 41
Question 1 of 41

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent