Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teldridge11/RPM-AI-Agent
AI Agent for solving Raven's Progressive Matrices as a test of general intelligence
https://github.com/teldridge11/RPM-AI-Agent
ai-agents artificial-intelligence knowledge-based-systems
Last synced: 3 days ago
JSON representation
AI Agent for solving Raven's Progressive Matrices as a test of general intelligence
- Host: GitHub
- URL: https://github.com/teldridge11/RPM-AI-Agent
- Owner: teldridge11
- Created: 2017-09-23T19:35:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-07T19:34:47.000Z (over 6 years ago)
- Last Synced: 2024-06-12T06:35:13.803Z (7 months ago)
- Topics: ai-agents, artificial-intelligence, knowledge-based-systems
- Language: Python
- Homepage:
- Size: 4.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome_ai_agents - Rpm-Ai-Agent - AI Agent for solving Raven's Progressive Matrices as a test of general intelligence (Building / Testing)
- awesome_ai_agents - Rpm-Ai-Agent - AI Agent for solving Raven's Progressive Matrices as a test of general intelligence (Building / Testing)
README
# Artificial Intelligence Agent For Solving Raven's Progressive Matrices
### What Are Raven's Progressive Matrices?
The Raven's Progressive Matrices test (RPM) is a commonly used intelligence test based on visual reasoning. RPMs involve 2x2 or 3x3 matrices with each cell containing different shapes and relationships. The cell that completes the pattern has to be chosen from a list of six or eight possible solution cells. While these problems are purely visual, they provide a good test of general intelligence. (The correct answer below is 4)![problem_5.png](img/problem.png)
## How Does The Agent Work?
The agent was designed to mimic human reasoning by using multiple different approaches to problem solving, similar to the way people solve RPMs. The agent relies on a three layered approach to finding solutions. The first layer searches for obvious patterns where the agent can propose an answer that can be explicitly searched for in the list of possible solution cells. The second layer provides a filter for the possible solution cells, and removes cells that violate the observed patterns. The third layer generates attributes for a proposed solution and analyzes the remaining solutions for similarity to the proposed solution attributes, and returns the solution with the highest similarity score. Each layer is able to help in a way that the other layers cannot, and when combined, can solve problems with a high degree of accuracy.![problem_5.png](img/layers.png)
## How Accurate Is The Agent?
On 2x2 problems, the agent sovled 11/12 of the basic problems, and 2/8 of the challenge problems. For a set of problems it had never seen before, the agent scored 17/20.| Problem Set | Results | % |
| ------------- |:-------------:| -----:|
| Basic Set | 11/12 | 91.7% |
| Challenge Set | 2/8 | 25% |
| Unseen Set | 17/20 | 85% |## Using The Agent
To use the agent, you must have Python and the image processing library Pillow installed on your local computer.
### Installation
Find the directory where you wat to install the agent, and run `git clone https://github.com/teldridge11/RPM-AI-Agent.git`### Testing The Agent
To test the agent against the included problems, `cd` into the Agent directory and run `python Test.py`. The results will be output into ProblemResults.csv.