Honors 207: Introduction to Cognitive Science


Lab 2:

A Rule-based Model for the Past Tense of Verbs

You may work with a partner for this lab assignment, but each of you must turn in your own set of answers to the lab and discussion questions.

In this lab, you will create a rule-based formal model of English speakers' knowledge of the past tenses of verbs. (Later, we will contrast rule-based approaches to connectionist approaches for modeling linguistic phenomena. This lab and the associated readings focus primarily on rule-based approaches.) More precisely, you will modify an existing model by adding new rules. Your goal is to create a model that can correctly produce the past tense form of as many verbs as possible. After you have created your model, you will then compare its performance to that of the models created by the rest of the class and we will see who's model emerges victorious.

To build your model, go to the Verb Inflection Engine web page, where you will find a list of rules implementing an as-yet-rather-inadequate model of how
English speakers transform present tense verbs to create various inflected verb forms. It uses a fairly straightforward syntax that you should be able to figure out by example. A few hints: "*A" matches any combination of any number of letters; "$V" matches a single vowel; "$C" matches a single consonant. Each run of the model (each time you give it a verb in the input box to inflect) begins at the top of the list of rules and finishes with the first rule containing a pattern that matches the verb in the input box.

This assignment has several steps:

Step 1: Due Wednesday

Step 2: Due Friday

Step 3: Due Next Class Meeting

Turn in a discussion of your model and how well it did, addressing the following questions:

  1. Describe the general strategy of your model - how did you choose your 10 words, and how did you design your rules? Were your rules just designed to fit your 10 words, or did you have a more global strategy in mind?

  2. How well did your model do on the full set of words, compared to on your 10 words? Can you identify any particular types of words your model had problems with?

  3. How well did your model do compared to everyone else's? Where did your model rank in terms of proportion correct? (1st place, 2nd, 3rd, etc.; and mention how many models there were, such as "ranked third of the fifteen models"). Look at the winning model and compare it to yours. What differences can you identify that made the winning model outperform your model?

  4. How parsimonious was your model? Where did your model rank in terms of the number of rules (remember that fewer rules is better, so the number one model in this category is the one that had the fewest rules). Plot a trend line (regression line) for the correlation between "proportion correct" and "number of rules" for all the models created by the class. (You can do this easily in a spreadsheet such as Excel, by putting the data into 2 columns, then creating an X-Y graph [scatterplot] and adding a linear trend line.) Include the graph in your document, with your group's data point clearly identified. What can you conclude from this scatterplot and trend line about the general relationship between parsimony and explanatory adequacy? Were there any models that were outliers (were far from the trend line)? Based on this, which model would you say was the most powerful? Was it the same one that got the highest proportion of words correct?

  5. What would you say are the strengths and weaknesses of using explicit rules to model English speakers' knowledge of how to form the past tenses of verbs, based on your experience of trying to create such a model?

Also answer the following Discussion Questions based on the readings and lecture:

  1. Pinker and Ullman's "Words and Rules" theory is in some ways a more sophisticated version of the rule-based model you created in Lab 2. Describe how the Lexicon and the Grammar in the Words and Rules theory handle the inflections of irregular verbs and of regular verbs. How is this similar to the way your model handled irregular and regular verbs?

  2. If we treat Pinker and Ullman's model as a process model (a model of what mental processes actually take place, and in what order they happen), would it make any prediction as to which would happen faster: inflecting an irregular verb or inflecting a regular verb? If so, what is the logic for making that prediction.

  3. If we treated your model from Lab 2 as a process model of verb inflection, which type of verb (regular or irregular) does it predict would be inflected faster? Why?

  4. Describe one piece of evidence (from Pinker's "Language Acquisition" chapter) that children are learning rules when they acquire language.

  5. According to Kintsch's Construction-Integration Model, what are the "bottom-up" processes in language comprehension and what are "top-down"?

  6. What does Lenat's article ("Hal's Legacy") have to do with language comprehension? Which one of the five levels of language structure outlined in lecture does it relate to most directly, and how?