It's Alive! A Dynamic Rule-Based AI Framework

813 Words2 Pages

Objectives/Goals

Everyone has heard stories of AI taking over the world, like The Matrix, but not many have heard how it can help our world. There are two main types of AI – rule-based and learning. However, learning systems require decades of effort and several million lines of code just to produce one that is semi-believable. On the other hand, current solutions for rule-based systems are clunky and slow and usually outdated. These systems also focus on content retrieval. My project aimed to create a new, scalable framework for general purpose use. The framework would allow for dynamic rules, which are rules that allow for commands to be executed. My project also aimed to create layers on top of the framework that would provide sample implementations of this.

Methods and Materials

I chose MySQL as a database system to store the rules for its speed in retrieving data. I set it up on a Linux LAMPP server for access from anywhere. This fair demo is on a Windows i7 server that I built from scratch. Without the internet not all features can be demonstrated.

Results

1. FRAMEWORK. I planned the framework and design, with the final version ending up more than 5,000 lines. I then designed layers to be placed on the framework as sample implementations. Finally, I tested the system for efficiency by asking all my friends to visit the application and by stress testing it. I tried CLIPS, a LISP-like rule-based expert system by NASA. I realized that it was too cumbersome to program rule structures in it. I also realized it was slow; query executions averaged around three secon...

... middle of paper ...

... Conclusions/Discussion

The above results demonstrate the practicality of my rule-based system. I ended up creating a fast, scalable framework and also designed many examples of implementation. However, I found it nearly impossible to create a general framework. In each case, I was forced to alter it to the specific situation. I am a middle school student, and although I gave my best, I was unable to create a truly general framework. The creators of CLIPS were engineers at NASA who had worked on AI for their entire lives. They succeeded in creating a general framework but ended up creating a bulky, slow, sprawling mess. This technology has many applications, many of which can benefit the world. My framework can save companies millions upon millions of dollars and also can help save the lives of helpless elderly citizens.

Open Document