Simulated environment and insect specifics. (A–C) Different arenas and corresponding boundaries for the spatial navigation tasks of the simulated insect: open arena (A), simple maze (B) and complex maze (C). Under all conditions, arenas are composed of 40 × 40 locations that can be occupied by the simulated insect while it navigates the virtual space. The simulated insect starts each trial in one location, randomly selected among the 100 locations characterizing the south-west sector of the arena, marked as “Start.” The simulated insect can navigate the space freely for a limited time of 30 s of simulated time. The simulation is considered successful if the insect reaches any of the locations defining the target areas (marked as “Target 1” and “Target 2”). At each step of the simulation, the insect can select an action that allows it to leave the location it occupies and move into a new location north, south, east or west. These movements are only prevented if the location occupied by the insect is close to a wall (marked in black), in which case the action is not executed and the agent keeps its previous position. (D) The simulated insect is graphically represented with black segment for its body and two small red circles for its eyes, to indicate the front of the simulated insect. At any time the location occupied by the insect is reported in terms of coordinates, outside the arena. (E) Grid organization and perceived landmarks in the arenas. Under all conditions, the arena is divided into 16 sectors composed of 10 × 10 locations. Four, differently colored, visual cues or landmarks are located at the four corners under all conditions. (F) Illustration of the way the visual field adapts depending on the position and body orientation of the simulated insect. The agent can perceive a visual landmark, activating the corresponding visual input to a value of 1, only if this is found in the sector the insect is occupying (E, dark blue sector of the visual field). If the landmark is found in a sector on the front-left (A), front (B), front-right (C), left (D), or right (F) of the simulated insect (pale blue sectors of the visual field), the corresponding visual input signal the presence of the cue with a value of 0.5. Angular position units encode, with a 0/1 activity, an egocentric representation of the position of the landmarks with respect to the body of the simulated insect (one unit per each sector in the visual field). In panel (F), we illustrate two arbitrary examples of the egocentric landmark representation in terms of sensory input. In these examples, angular position units would signal the presence of a generic landmark on the left of the body in one case (cue 4 in sector D of the visual field) or in front of the body in the other case (cue 2 in sector B of the visual field). See also related Supplementary Videos.