|
||||||
|
Weka’s multilayer perceptron proved to be too slow to handle the newer, more expressive instance encoding. I found a much faster ANN library called FANN (Fast Artificial Neural Network) that also has Python bindings and can easily save and load neural networks. Now I can script the whole process: data generation, ANN training, testing a learned network over multiple test sets, and writing the performance results to a file. I’m working today to finish the experiments and write-up, to be sent out by tonight/tomorrow morning with any luck.
Played around with an initial go at training Weka’s Multilayer Perceptron to learn pattern matching for logic rules. The first dataset I used consisted of positive instances of MP and negative instances of affirming the consequent. I also tried a dataset with positive instances of MT and negative instances of denying the antecedent.
I had hoped that the network would learn the matching rule “If the main connectives in the instance match the connectives in the rule pattern and the variables in the instance are in the same relations to each other as the corresponding variables in the rule pattern, then the instance fits the rule.” Unfortunately, training on one rule’s dataset and testing on the other yielded bad performance. Interestingly, training on the MT dataset and testing on the MP set yielded an inverted classification: the network classified fitting instances as non-fitting and vice versa. Finally, combining the two datasets and using a percentage split for training/testing yielded good results. Met with Dr. Croy yesterday to discuss connectionist model for JT. Got a copy of W. Bechtel “Natural Deduction in Connectionist Systems” and an excerpt from Bechtel & Abrahamsen Connectionism and the Mind, which describe related work in modeling deductive logic using a connectionist model. Basic idea for JT model: input = (problem instance, rule pattern 1, rule pattern 2), output = rule 1, rule 2, or neither
Game plan: Read these articles and figure out a good way to encode the JT data in an ANN, and at least have some initial results to talk about next week at the CAS symposium. Stuff that needs to be done by the end of the week:
Scientific Section
Problems: Engineering Section Problems:
Scientific Section Problems: Engineering Section
Problems: Scientific Section
Problems: Engineering Section
Problems: Next Steps:
The Sapir-Whorf Hypothesis states that thought is limited (the Strong version) or at least strongly influenced (the Weak version) by language. Game designers must consider their target culture in order to make a successful game, but I think that currently the extent of that cultural consideration is mainly in the choice of game themes/archetypes, perhaps some cultural references in translations, and avoidance of taboos. In other words, there doesn’t seem to be much consideration of how a player’s language influences his thoughts while playing. Designers could use experimental results from cognitive science to improve their games; for example, in-game tutorials/instructions may need to be structured differently to match the style of thinking imposed by the player’s language, information on the screen may need to be presented differently, and levels may need to be laid out differently.
Scientific Section
Problems:
Engineering Section
Problems:
|
||||||
|
Copyright © 2010 George Alexander - All Rights Reserved |
||||||