Skip to content

Desire Value: Definition and Examples

Pei Wang edited this page Jun 24, 2019 · 11 revisions

During the run time of NARS there are usually multiple conflicting goals exist. Sometimes achieving one goal makes another one harder to be achieved, therefore the system must make a decision on which goal to pursue from moment to moment. As goals may not be directly related to each other in content and thus the system cannot be expected to have explicit knowledge on how to handle goal conflicts and competitions. To solve this problem, each goal is assigned a desire value to indicate its relative significance to the system. It allows the system to compare goals and make a selection during goal conflicts.

Conceptually, the desire value of a goal G is defined to be the truth value of the implication statement G ==> D where D is a virtual statement representing the desired state of the system. That is, "G is desired " is interpreted as "G implies the desired state". Consequently, desire values have the same format as truth values, and are also grounded in the system's experience. The desire values of input goals can be assigned by the user to reflect their relative importance or take default values. Derived goals get their desire values from desire-value functions that are part of the goal-derivation rules.

Example

Important to mention that hypothetical desire state D does not exist in implementation, the desire value of a first goal comes from an input, all subsequently goals are learned using backward inference and their desire values are computed similarly as described above:
Suppose there is a goal G with desire value %f1;c1%, that is,

    G! %f1;c1%

The goal is conceptually interpreted as implication judgment <G ==> D>. %f1;c1% with the desired state D. If the system has a belief

    <A ==> G>. %f2;c2%

then using the deduction rule the system derives <A ==> D>. %f3;c3%, which is interpreted as a goal

    A! %f3;c3%

In this way, inference rules (not limited to deduction) not only can derive new beliefs but also new goals, with the above interpretation.

visit #nars (more active) and ##nars on FreeNode

Clone this wiki locally