Construction of a surrounding space memory


Tracking surrounding elements can be vital for many living beings. I developed a structure, called Space Memory, that gives to the agent the ability to track and localize surrounding elements, even when they escape from its sensory system. This structure is based of the object instance detection developed previously.

This structure is based on several principles. First, we consider that every position characterized by the same couple (interaction;distance) belongs to a same "place". A place is thus a set of positions sharing the same interactional properties. However, this segmentation of space is not sufficient to track objects. A second principle consider places preceded by a sequence of interaction. These "composite places" are defined as follow: when an object is considered as present in a composite place, if the agent enacts the sequence of interaction of this composite place, then the object will be in the final place of the composite place.

lieux composites
Figure 1 : Principle of composite places: in this example, the agent cannot see the mauve object, but it it turns 90° left, then the object will be detected in place l12. Then, it was possible, in initial state, to consider the presence of the mauve object in composite place ["left"][l12}.

Of course, we first need to define positions (sequences of interactions) that characterize a composite place in order to use it. The learning principle, based on signatures of places,is described below:

signature de lieu
Figure 2 : place signature learning principle: at t, the agent detects a object instance at position p. Then, the agent turns left and detect an instance of the same object in place l4. Thus, p may be a part of composite place ["left"][l4}. Note that the instance may be different from the initial one, it is thus preferable to consider first instances of the least represented objects.

signatures de lieu
Figure 3 : examples of place signatures. Here, we use positions under the form of coordinates instead of sequences of interactions in order to make results easier to read and understand. Top: 5 examples of signatures of primitive places. Bottom: examples of composite places composed of the above primitive place and sequence of one interaction (displayed to the left). Positions considered as part of places are in light gray in signatures. In the case of composite places, we can guess that areas covered by these places extend outside the visual field of the agent, allowing to characterize the presence of objects instances in the global space.

Composite places allow to track objects, but are limited to the length of the sequence of interaction that compose them, and the tracking is interrupted if the agent enacts other interactions than these sequences. I propose a last principle to allow longer object tracking: when the position of an object is characterized by a list of places (primitive or composite), then it is possible to consider the intersection of these places, characterizing the most probable position of the object, can be assimilated to a position in space. Note that this position is not limited to space covered by the sensory system of the agent. This principle is based on the presence signature principle:

signature de présence
Figure 4 : presence signature learning: here the space memory contains an object instance with a position characterized by a set of three places. We can consider that the intersection of these three places can be assimilated to a position in the global space. Thus, if the agent turns left 90°, and detects an instance of the same object in place l4, then position characterized by (l1,l2,l3) may be a part of composite place ["left"][l4}

signature de présence
Figure 5 : examples of presence signature. These four composite places, that are similar, are characterized by the intersection of places displayed at the bottom of the figure.


Presence signatures allows to link area of the non-observable space of the agent, as in the following example:

suivi des objets
Figure 6 : object tracking. In this context, and because of asymmetries in signatures of interactions, the agent will prefer to reach prey A. Prey B is stored with a set of places, displayed in the right (we only display primitive places and composite places with sequence of one interaction). In the next step, the agent move forward. Places are updated, and indicate that prey B can be reached by enacting first "turn right 90°" or "turn right 45°", characterizing the fact that prey B is on the right side of the agent. But at the next step, the agent turns left. No places characterizing position of prey B can be updated. However, places displayed in Figure 5 can be evoked because of their presence signatures. Once updated, they characterize the position of prey B with interactions "turn left 90°", characterizing the fact that prey B is on the left side of the agent. These presence signatures thus link areas of non-observable space.


The agent, equipped with a space memory, generates behaviors similar to the ones observed with the hard-coded memory: it moves toward objects affording interaction "eat" and stay away from walls. We can observe that, despite the poor precision of the memory, the agent can move toward interesting objects for more than 10 steps without seeing them. These results were published in Gay, Mille, Georgeon, and Dutech 2017

proie et algue proie et algue

proie et mur proie et mur
Figure 7 : behavior of the agent in presence of an alga, then a wall. The bottom line shows the estimated position of the prey in space memory.

It is interesting to observe that when we remove the prey, the agent, guided by its space memory, continue to move toward the position of the prey, then, facing the incoherence, seems to search for the missing prey.



We can observe that the space memory is relatively reliable despite its limited precision. The behavior of the agent considers every elements stored in the memory: the agent adapt its trajectory to avoid the hidden wall in front of it.


Previous    Back    Next