-
Notifications
You must be signed in to change notification settings - Fork 1
/
Overview.html
47 lines (39 loc) · 4.81 KB
/
Overview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<head>
<link href="style.css" media="all" rel="stylesheet" type="text/css"></link>
</head>
<body>
<h1 id="a-high-level-overview-of-this-nars-implementation">A high-level overview of this NARS implementation</h1>
<p>Open-NARS is the open-source version of <a href="https://sites.google.com/site/narswang/home">NARS</a>, a general-purpose AI system, designed in the framework of a reasoning system.</p>
<p>NARS works by processing tasks imposed by its environment (human users or other computer systems). Tasks can arrive at any time, and there is no restriction on their contents, as far as they can be expressed in Narsese, the I/O language of NARS (see InputOutputFormat for the Grammar of Narsese).</p>
<p>There are several types of tasks:</p>
<ul>
<li>Judgment. To process it means to accept it as the system's belief, as well as to derive new beliefs and to revise old beliefs accordingly.</li>
<li>Question. To process it means to find the best answer to it according to current beliefs.</li>
<li>Goal. To process it means to carry out some system operations to realize it. <em>This type of task is not implemented in the current version, 1.5.5, though it was tested before in 1.3.3 and 1.4.0.</em></li>
</ul>
<p>As a reasoning system, the <a href="http://www.cis.temple.edu/~pwang/Implementation/NARS/architecture.pdf">architecture of NARS</a> consists of a memory, an inference engine, and a control mechanism. </p>
<p>The memory contains a collection of concepts, a list of operators, and a buffer for new tasks. Each concept is identified by a term, and contains tasks and beliefs directly on the term, as well as links to related tasks and terms.</p>
<p>The inference engine carries out various type of inference, according to a set of built-in rules. Each inference rule derives certain new tasks from a given task and a belief that are related to the same concept.</p>
<p>Roughly speaking, the control mechanism repeatedly carries out the <em>working cycle</em> of the system, consisting of the following steps:</p>
<ol>
<li>Select tasks in the buffer to insert into the corresponding concepts, which may include the creation of new concepts and beliefs, as well as direct processing on the tasks.</li>
<li>Select a concept from the memory, then select a task and a belief from the concept.</li>
<li>Feed the task and the belief to the inference engine to produce derived tasks.</li>
<li>Add the derived tasks into the task buffer, and send report to the environment if a task provides a best-so-far answer to an input question, or indicates the realization of an input goal.</li>
<li>Return the processed belief, task, and concept back to memory with feedback.</li>
</ol>
<p>All the <em>selections</em> in steps 1 and 2 are <em>probabilistic</em>, in the sense that all the items (tasks, beliefs, or concepts) within the scope of the selection have priority values attached, and the probability for each of them to be selected at the current moment is proportional to its priority value. When an new item is produced, its priority value is determined according to its parent items, as well as the type of mechanism that produces it. At step 5, the priority values of all the involved items are adjusted, according to the immediate feedback of the current cycle.</p>
<p>At the current time, the most comprehensive description of NARS are the books <a href="http://www.springer.com/west/home/computer/artificial?SGWID=4-147-22-173659733-0">Rigid Flexibility: The Logic of Intelligence</a> and <a href="http://www.worldscientific.com/worldscibooks/10.1142/8665">Non-Axiomatic Logic: A Model of Intelligent Reasoning</a>. Various aspects of the system are introduced and discussed in many papers, most of which are available <a href="http://www.cis.temple.edu/~pwang/papers.html">here</a>.</p>
<p>Beginners can start at the following online materials:
<strong>. The basic ideas behind the project: <a href="http://sites.google.com/site/narswang/publications/wang.logic_intelligence.pdf">The Logic of Intelligence</a>
</strong>. The high-level engineering plan: <a href="http://sites.google.com/site/narswang/publications/wang.roadmap.pdf">From NARS to a Thinking Machine</a>
<strong>. The core logic: <a href="http://sites.google.com/site/narswang/publications/wang.inheritance_nal.pdf">From Inheritance Relation to Non-Axiomatic Logic</a>
</strong>. The semantics: <a href="http://sites.google.com/site/narswang/publications/wang.semantics.pdf">Experience-Grounded Semantics: A theory for intelligent systems</a>
*. The memory and control: <a href="http://sites.google.com/site/narswang/publications/wang.computation.pdf">Computation and Intelligence in Problem Solving</a></p>
<p>To test the current implementation:</p>
<ul>
<li>The demonstration programs under Downloads.</li>
<li>The working examples explained in SingleStepTestingCases and MultiStepExamples.</li>
</ul>
</html>