6 FROM PERCEPTION
FUNCTIONS TO SENTENCES
In this section we specify how perception functions
can be translated into valid sentences from the for-
mal logic and vice versa. To explain the process we
establish a mapping between component sets and the
elements used to build perception functions.
We assume that each object is represented by a
logic constant and has a unique identifier or name,
being all object names included in component set N.
Each attribute is also given a unique name and com-
ponent set T contains all attribute names. Each lo-
cal perception function is also given a unique name,
the set of all names of local perceptions is added to
component set C. In addition, for each local percep-
tion function it is necessary to indicate if it should be
worded as a copulative or an attribute sentence.
Local perception functions worded as attribute
sentences need one more step when their level is 1 or
more. In particular, a new artificial attribute has to be
created and added to T . For example, when we recog-
nize objects, the color is perceived with three different
attributes R, G, and B, and the attribute color is artifi-
cial, as it is obtained combining these three attributes.
Furthermore, the fact that level n, with n > 0, local
perception functions are obtained using fuzzy opera-
tors makes it possible to explain the meaning of the
perception function, obtaining a compound sentence
that includes all the level n − 1 local perception func-
tions that compose it. Such sentences are combined
using the operators in O =
{
and, or, not
}
.
When local perception functions are combined to
obtain global perception functions, the process to ob-
tain sentences is slightly different. First, in this case
the unique name is optional, since some of the func-
tions may only specify aggregations with no individ-
ual meaning. For instance, in the patient monitoring
example, we can specify that a night in which Most
hours in night are quiet can be also explained as night
is quiet . However, in the box aggregation example,
a sentence Some boxes in Room 1 are Blue, has no
equivalent copulative sentence. In any case, if they
are given a name, they follow a treatment similar to
level n local perception functions, where we have to
specify if they are copulative or attribute sentences. In
the last case, it is also necessary to indicate the name
of the artificial attribute and add it to T .
Obtaining an explanation for global perception
functions is a bit more complicated than for local,
given the fact that they may include quantifiers and
variables, in addition to logic operators. Quantifiers
treatment requires the definition of a unique name for
each quantifier. The set of all names of the available
quantifiers constitutes component set Q. Regarding
variables, it is necessary to define one variable name
per level in the hierarchy. Starting in level 1 with a
variable name for the domain of the objects, and con-
tinuing with each subsequent level. For instance, in
the patient monitoring example, since minutes consti-
tute the objects in level 1, we have minutes as level
1 variable name, hours as level 2 variable name, and
so on. On the other hand, in the boxes example, the
variable name for every level is boxes. Component set
R includes all variable names. In addition, all the ele-
ments included in aggregation sets need unique iden-
tifiers to allow their use as a subject or as a bound for
variables, and each one of these names has to be in-
cluded in component sets N and A. For instance, we
may obtain the following summaries,
Hour 1 is quiet
and Most minutes in Hour 1 are quiet, in which Hour
1 is the name of an element of level 2 aggregation
set that is used as a subject, in the first sentence, and
as a bound, in the second. With respect to combina-
tions of perception functions using logical operators
the process is equivalent to that used for local percep-
tion functions.
Once this mapping has been established we can
easily translate perception functions into sentences
and vice versa, obtaining a language that is both eas-
ily interpretable for humans and robots. Table 2 sum-
marizes the mapping between component sets and the
elements used to define perception functions.
7 CONCLUSIONS
In this paper we present a general framework to pro-
vide robots with information abstraction and aggre-
gation capabilities. This framework allows robots to
obtain high-level summaries and descriptions of com-
plex objects, events, and relations in terms that are
easy to comprehend by both humans and robots.
In order to obtain such abstractions we rely on
what Zadeh has described as perceptions (Zadeh,
2001), which group observations into fuzzy gran-
ules. This approach changes the traditional stand-
point, which emphasizes detail and precision. By do-
ing so we expect to overcome the problems shown
by traditional methods, which fail to recognize major
features, themes and motifs.
In addition, perceptions are translated into expres-
sions easy to interpret by humans and robots. We have
defined a predicate logic that acts as a middle-ground
between natural language and low-level commands,
which limits the diversity and flexibility of everyday
language. Nonetheless, logic sentences syntax emu-
lates syntactic structures frequently observed in nat-
HierarchicalQualitativeDescriptionsofPerceptionsforRoboticEnvironments
317