Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Evidence of long-term allocentric spatial memory in the Terrestrial Hermit Crab Coenobita compressus

  • Ilse Lorena Vargas-Vargas,

    Roles Conceptualization, Formal analysis, Investigation, Methodology, Writing – original draft, Writing – review & editing

    Affiliation Departamento de Fisiología, Facultad de Medicina, Universidad Nacional Autónoma de México, Mexico City, Mexico

  • Estefany Pérez-Hernández,

    Roles Methodology

    Affiliation Departamento de Fisiología, Facultad de Medicina, Universidad Nacional Autónoma de México, Mexico City, Mexico

  • Daniel González,

    Roles Methodology, Writing – review & editing

    Affiliation Instituto de Investigaciones Biomédicas, Universidad Nacional Autónoma de México, Mexico City, Mexico

  • Marcos Francisco Rosetti,

    Roles Data curation, Formal analysis, Software, Supervision, Writing – original draft, Writing – review & editing

    Affiliations Instituto de Investigaciones Biomédicas, Universidad Nacional Autónoma de México, Mexico City, Mexico, Instituto National de Psiquiatría, Ramón de la Fuente Muñiz, Mexico City, Mexico

  • Jorge Contreras-Galindo,

    Roles Conceptualization, Writing – review & editing

    Affiliation ENES unidad Morelia, Universidad Nacional Autónoma de México, Mexico City, Mexico

  • Gabriel Roldán-Roldán

    Roles Conceptualization, Formal analysis, Funding acquisition, Investigation, Project administration, Resources, Supervision, Visualization, Writing – original draft, Writing – review & editing

    gabargico@gmail.com

    Affiliation Departamento de Fisiología, Facultad de Medicina, Universidad Nacional Autónoma de México, Mexico City, Mexico

Abstract

Spatial learning is a complex cognitive skill and ecologically important trait scarcely studied in crustaceans. We investigated the ability of the Pacific (Ecuadorian) hermit crab Coenobita compressus, to learn an allocentric spatial task using a palatable novel food as reward. Crabs were trained to locate the reward in a single session of eleven consecutive trials and tested subsequently, for short- (5 min) and long-term memory 1, 3 and 7 days later. Our results indicate that crabs were able to learn the location of the reward as they showed a reduction in the time required to find the food whenever it was present, suggesting a visuo-spatial and olfactory cue-guided task resolution. Moreover, crabs also remember the location of the reward up to 7 days after training using spatial cues only (without the food), as evidenced by the longer investigation time they spent in the learned food location than in any other part of the experimental arena, suggesting a visuo-spatial memory formation. This study represents the first description of allocentric spatial long-term memory in a terrestrial hermit crab.

Introduction

Animal cognitive abilities have been shaped by natural selection from the ecological and social challenges each species must contend with, resulting in specialized forms of learning and memory [1]. Although non-associative (habituation and sensitization) and associative (classical and operant conditioning) types of learning are well documented in invertebrates [2, 3] complex forms of cognition such as spatial and episodic memory have been poorly studied beyond cephalopods [47] and insects [8, 9].

Spatial learning is a complex ability essential for self-location in the environment and the location of resources in defined time and space. There are two main reference frames of spatial learning: egocentric (sequential) and allocentric (place). The egocentric reference system depends on memorizing the sequence of body movements such as the number of steps and turns as well as their direction to reach a goal, while the allocentric strategy involves remembering the location of spatial cues external to the subject, such as visual and olfactory landmarks in the environment. Allocentric spatial learning has been demonstrated in the octopus [10], cuttlefish [4] and insects like wood ants [11, 12], honeybees [13, 14] and fruit flies [15, 16]. Studies in crustaceans suggest that spatial learning abilities also exist in this group. For instance, evidence of path integration and egocentric spatial learning has been observed in fiddler crabs [1719] as well as the use of both egocentric and allocentric strategies for maze solving in the crayfish Orconectes rusticus [20, 21]. However, examples are still lacking, as to the best of our knowledge, there are no formal studies focused on the evaluation of allocentric learning in Anomuran crustaceans, although previous studies have suggested it might exist [22, 23].

In this study we evaluated the spatial learning abilities of Coenobita compressus in a single multi-trial training session, which allowed us to build up a learning curve based exclusively on its working memory capabilities. The task consisted of locating a highly palatable food reward hidden in an open field with a three-dimensional landmark configuration resembling the natural environment of these animals, using visual and olfactory cues for its resolution. Subsequently, we evaluated short- and long-term memory retention without the food reward up to 7 days.

The aim of this work was to determine if terrestrial hermit crabs can learn to solve a spatial task using an allocentric strategy and to determine if they retain this information in the long-term. To do so, we measured (a) the time it took the animals to find (and start consuming) the food reward and (b) the time spent in each of the four quadrants, in which the testing arena was divided, searching for the food reward during short- and long-term memory retrieval tests. We predicted that hermit crabs would locate food faster after repeated training trials but would take increasingly longer time to reach the food location after several unreinforced (extinction) trials. On the other hand, we predicted a longer searching time in the target quadrant during the memory retention tests.

Methods

2.1 Animals

A total of twenty-six pacific sex balanced hermit crabs C. compressus (H Milne Edwards, 1836; Anomura, Coenobitidae) were hand-collected from sites at Troncones, Guerrero, México (17°47’16”N; 101°44’17”W). Permission for collection was obtained beforehand from the Secretaría de Medio Ambiente y Recursos Naturales, Subsecretaría de Gestión para la Protección Ambiental (SGPA/DGVS/03187/20). Animals were housed at collective 40-L holding tanks lined with sand from their collection site in low density (10 crabs per tank) for a minimum of 4 weeks prior to testing. Animals acclimated to this system under an illumination cycle of 12:12 (lights on at 7:00 h), a 28°C temperature and were fed ad libitum with hermit crab pellets (TetraFauna), apple slices, drinking water and 1% salt solution. All animals were healthy with intact appendages. The experiments employed a repeated measures design, which required the identities of the test animals to be tracked throughout the experiment. The crabs were individually identified and marked at least one day prior to experiments, with nail polish (enamel) on the shell. No ovigerous females, premolt or recently molted crabs were used. No crabs molted or died during the study. According to Klappenbach et al. [24] satiated animals present a poor food-driven appetitive behavior. For this reason, crabs were unfed 3 days prior the acquisition session to standardize hunger levels across individuals and encourage them to search for food during the training trials. Although animals were housed in groups, they were tested individually in all experiments.

2.2 Behavioral procedures

Experiments were conducted in a 30 cm square arena, divided into four quadrants of 15 by 15 cm: upper left (UL), upper right (UR), bottom left (BL) and bottom right (BR), filled with 5 cm of hydrated sea sand. A set up of four objects of different color and size was placed inside. Each object was placed 7 cm from one wall of the arena and centered with respect the two lateral walls. Objects were considered as contextual visual cues. To induce the animals into searching a square plastic tray of 2 by 2 cm with 2 grams of peanut butter was placed in the upper left (UL) quadrant (Fig 1). The amount of food provided (2 grams) was higher than the usual animals’ consumption overnight. Peanut butter (Hartleys brand, purchased from a local vendor and stored at room temperature) was used as a reward since it was the most preferred food for crabs in a pilot study we previously conducted on an independent group of experimental subjects. After the tray with the food reward was positioned inside the arena, we placed an individual crab at the starting point. Upon introduction, we restricted the crab’s movement by placing a plastic shelter over it for a 1-min acclimation period, so as to minimize inter-individual variation on the initial exploratory activity. After acclimation, the shelter was removed, and the crab was allowed to freely explore the arena for a maximum of 180 sec. Since hermit crabs often respond to overhead movements by retracting into their shells, we were careful not to cast a shadow over them. Observers were not present in the testing room during the trials, and the arena was monitored remotely. The crab’s behavior was recorded using a Canon 80D high-definition camera mounted on a tripod without additional lighting. Additionally, the time taken to locate the food was noted down. Trials were stopped when the crab located the food and began to feed, or after 180 sec had elapsed. If a crab located the food, it was allowed to feed on the peanut butter for 5 sec, then gently removed and transferred to a neutral keeping cage covered with a wet sand layer to keep them humid (without food). If a crab failed to locate the food, it was withdrawn and taken to the keeping cage and a time of 180 seconds was noted down. We fixed a 5-minute inter-trial interval during which the sand was rehydrated and mixed-up in order to keep it wet and eliminate possible odoriferous cues left by the subject in the previous trial. All the sessions were video recorded allowing us to analyze the videos offline using Solomon Coder software [25]. Results are expressed as the time to reach the exact place where the food was located, and time spent in each quadrant of the arena (see Fig 1) during the short- and long-term memory retrieval tests.

thumbnail
Fig 1. Scheme of the experimental arena.

Diagram shows a bird’s eye view of the arena, quadrants’ limits (dotted lines) and visual cues’ positions (colored circles). Crab silhouettes indicate the alternating starting points used throughout training trials and the yellow square shows the target location (in the upper left (UL) quadrant). Other quadrants named as upper right (UR), bottom left (BL), and bottom right (BR).

https://doi.org/10.1371/journal.pone.0293358.g001

2.3 Training and testing

In this study, we decided to use the standard experimental paradigm for the analysis of allocentric spatial memory in rodents, which fundamentally consists of repeatedly training each experimental subject until reaching a learning criterion, which in our case was the asymptotic decrease in latency to find the reward. Additionally, we measured the distance traveled to reach it. Subsequently, both short- and long-term memory were analyzed by removing the reinforcer and quantifying the latency and distance required to reach the exact location of the reward, as well as the time the subject spent exploring each of the four quadrants of the testing arena. We conducted a total of eleven consecutive training trials on Day 1. In the first three trials the starting point was in the BR quadrant and the food was located opposite to it, in the UL. In order to facilitate the location of the food, the tray with the peanut butter was placed at the level of the sand in such a way that it was visible when the crab had overcome the landmarks in the arena and was inside the target quadrant (UL). In these three trials animals were examined for behavioral reactions to the novel food reinforcement (peanut butter). Crabs were observed during feeding to ensure they were showing foraging behavior [26] and consumed the food. In the next eight trials we evaluated whether animals’ performance improved over time. In these, the starting point was changed in each trial (excluding the UL quadrant where the food was placed, see Fig 1) in a semi-random sequence as follows: UR, BL, BR, BL, UR, BR, UR, BL. In addition, the tray with food was placed below the sand surface, so that it would only be visible when the animals were very close (1 cm), thus the crabs were able to locate it from afar using only olfactory stimuli and the visual cues from the arena. The short-term memory retrieval test was carried out in the same way as the training trials, except that the food was withdrawn and the starting point was in the BR quadrant. This test was performed 5 minutes after the last training trial. Finally, the same experimental protocol was followed for long term-memory retrieval testing on Days 2, 4 and 7 after training (i.e., 24, 72 and 168 h after the last conditioning trial) (Fig 2).

thumbnail
Fig 2. Latency to reach the reward location during learning and testing.

Solid blue lines represent a function describing the training and retrieval phases of n = 26 hermit crabs as modeled by a generalized linear mixed-effect model (GLMM). Points (closed circles) represent latency for each crab. Median and interquartile ranges latency in seconds are presented. Decrease in latency to reach the target during training and increase during short- and long-term memory retrieval were significant.

https://doi.org/10.1371/journal.pone.0293358.g002

2.4 Statistical analysis

The effect of training on the time to solve the task was evaluated using a generalized linear mixed-effect model or GLMM [27], where the time need to reach the tray was modeled as a Poisson process. GLMMs allows to specify a family parameter that better matched the distribution of the response variable, which in this case was composed of positive integers with a heavy left skew. Models were ran using time evaluated as categorical (trial number) or continuous variable (hours elapsed between trials) as the main effect. Data were grouped by individual crab, fitted as random intercepts. The significance of fixed effects was tested using likelihood ratios tests. We inspected diagnostic plots for the model to find that while residuals were symmetrically distributed, they were heteroscedastic with a bias towards lower values. In addition, time spent exploring in the quadrant that originally housed the reward vs all others were compared by post hoc Tukey tests. We provide medians and interquartile ranges (IQR) or mean and standard error of the mean (SEM) in text and figures. Statistical analyses were performed using R [28] and GraphPad Prism 9 [29]. Significance was set at p < 0.05.

Results

All crabs tested were able to locate the food in at least 9 of the 15 trials. Individuals that did not reach the tray within 180 sec were not included in the statistical analysis in that particular trial. Over the course of 11 trials, crabs were trained to locate the food reward. We observed a negative and significant decrement in the time to solve the task during this acquisition phase (Est = -0.09 ± 0.02, p < 0.001), indicating that the crabs learned the location of the food and reached the hidden tray quicker as the number of trials increased (Fig 2). After the food was removed in the short-term, as well as in the three long-term memory tests we observed a positive and significant increase in the time needed to reach the tray (Est = 0.11 ± 0.05, p = 0.03), suggesting that crabs were using olfactory cues to find the food reward and were not able to reach its placement quickly in the absence of food (Fig 2). A significant increase of the time to find the food location was found between the last training trial and the short-term memory test (median = 19, IQR = 14–36 vs median = 39.5, IQR = 22–67.25, W = 26, p = 0.003). In the same way as for latency, the average distance traveled to reach the reward decreased during training and subsequently increased in the memory retention tests. The slope between the distance travelled and the training trials was negative but not significant (Est = -0.08 ± 0.02, p > 0.05). Similarly, the slope between the distance travelled and the retrieval trials was positive but not significant (Est = 0.1 ± 0.06, p > 0.05) (see S1 Fig). As for in latency analysis, we excluded the trials where the crabs did not reach the food tray. However, in the single short-term and the three long-term memory retrieval testing, crabs spent significantly more time exploring in the UL quadrant than in any other quadrant of the arena. Three out of four ANOVAs comparing percent of activity between quadrants were significant (Day 1: F(3) = 18.06, p < 0.001; Day 2: F(3) = 6.81, p < 0.001, Day 4: F(3) = 2.22, p = 0.09; Day7: F(3) = 13.61, p < 0.001); post hoc Tukey tests, revealed that the comparison between the UL and all other quadrants were significant for Day 1 and for Day 7; only BR vs UL and UR vs UL for Day 2, and UR vs UL for Day 4 (Fig 3). Additionally, when in the UL quadrant, they spent most of the time above the precise location where the food reward was hidden (same location as during training) (Day 1: 62.70 ± 18.49%; Day 2: 67.95 ± 16.85%; Day 4: 76.01 ± 14.71%; Day 7: 70.3 ± 19.94%). The percentage of time spent in the tray’s former place spot indicates that even in the absence of food reward, C. compressus could find its location, presumably based only on the visual cues of the experimental arena they had retained.

thumbnail
Fig 3. Percent of time exploring per quadrant.

Mean percentage ± SEM of time spent actively exploring each quadrant for tests done on Days 1, 2, 4 and 7. Significance is specified as *p < 0.05 and **p < 0.01, **p < 0.001, as per the results of a Tukey test.

https://doi.org/10.1371/journal.pone.0293358.g003

Discussion

In the current study we evaluated the behavioral response of terrestrial hermit crabs in an allocentric spatial learning task using novel food as reinforcement. Thus, we assessed the strategy used by these animals to solve the task and their learning capabilities in a single multi-trial acquisition session; we also determined whether spatial memory persists after one sort-term and three long-term memory tests without the food reinforcement. Crabs were successfully trained to search and locate the food reward, as evidenced by the significant decrease in the time they required to find it until reaching an asymptotic performance. This was probably due to the use of a highly palatable stimulus (peanut butter was the crabs’ most preferred food in the pilot study), which is consistent with Klappenbach et al. [24] and Elwood & Appel [30], in the sense that animals’ motivational state is crucial for behavioral expression during training and memory retrieval. Thus, most of the experimental protocols using appetitive food reinforcement are usually associated with chronic food deprivation [31]. In the present study however, as peanut butter acted as a novel and very rewarding stimulus, a short three-day fasting period prior the single training session was enough to elicit persistent seeking behavior for eleven consecutive trials apparently driven by a sustained motivation to find and consume the food reinforcer. This finding is in line with Tran [32] who reports that novel food items represent valuable resources for generalist scavengers, such as hermit crabs, because of the nutritional supplements they can provide, making them an adaptive foraging strategy. Moreover, it is worth noting that chemosensory detection of the reward (peanut butter odor) played an important role in the crabs’ drive to search during the training phase and it was undoubtedly used to guide them to the target. This was evident in the retrieval testing trials without food, since from the short-term memory test performed only 5 min after the last training trial, the latency to reach the place where the food was located significantly increased (as compared by a Wilcoxon test: W = 26, p = 0.003). This finding could be interpreted as an indication that crabs were not able to learn the spatial food location, however the fact that they still reached the precise place where the food was located in a shorter time than at the beginning of the training phase together with the relevant finding that crabs remained a greater percentage of time in the target quadrant (UL) and particularly in the exact food place spot, clearly indicates that animals remembered the reward location and could reach the target using solely the spatial cues found in the arena. Our data showed that when exposed repeatedly to the same task crabs were able to find the food in progressively shorter times which matches with prior observations, since early reports, e.g., Yerkes [33], who found that Brachyuran Carcinus maenas learned to avoid blind alleys on a simple labyrinth path, to recent studies that have confirmed and extended them [23, 34, 35]. Remarkably, eighty percent (18 of 26) of the crabs solved the task since the first trial and all of them showed consistent downward trends in the time employed to locate the food. However, this consistency was not observed in the distance traveled to reach the food, despite the fact that it also decreased with the progress of the training trials, indicating that the crabs improved their search strategy without optimizing it using only an allocentric spatial orientation. This is in line with our findings from short- and long-term memory tests showing that animals could arrive at the exact location of the reward, but required more time and traveled more distance than during the last training trials.

Unlike previous work, in the current study we decided to train the crabs in a single acquisition session in order to build up the learning curve based exclusively on their working memory and to assess short- and long-term memory separately. This allowed us to realize that although the olfactory component plays an important role in tracking the peanut butter to locate it, the visual clues of the arena were enough to reach the exact place where the reward was in its absence. Likewise, we were able to verify that although the time taken to reach the reward site gradually increased in the three long-term retrieval tests, the search for and permanence of the crabs in the target quadrant did not decrease, indicating a preserved spatial memory.

On the other hand, the current results reveal that after a single training session of eleven trials crabs consolidate a persistent long-term spatial memory, revisiting the spot where the food was hidden even seven days after it was removed. Brachyuran crustaceans [23] and hermit crabs [32] also retain for several days their attraction to known odors that have accurately predicted food availability in the past. Therefore, it is not surprising that C. compressus showed a robust long-term memory as consequence of the repeated reinforcing events experienced during conditioning. Studies in the crayfish Procambarus clarkii [36] and the crab Chasmagnathus granulatus [37] have evidenced the existence of both short- and long-term memory systems in crustaceans and some of its neurological basis, while other studies suggested long-term social memory capabilities in Anomurans [38]. However, our findings regarding extinction were unexpected, since we had hypothesized that crabs would quickly extinguish searching behavior in the absence of reward as they no longer obtained the reinforcer in the place where it was found, acquiring this new information and updating their memory. Interestingly, while the increased latency could be interpreted as an extinction process, the persistence in seeking the reward where it was previously found indicates the opposite and, in fact, suggests that the crabs do not extinguish the original learning, showing little behavioral flexibility, as occurs with social memory [36, 38]. This finding contrasts with previous studies showing clear evidence in crabs that long-term associative memories exhibit both extinction and reconsolidation processes depending on the duration of the reminder (i.e., re-exposure to the conditioned stimulus) [3941].

It is important to highlight that the main difference between the training session and the short- and long-term memory tests was the absence of the reinforcement which, as mentioned above, seems to have affected crabs’ behavior for reasons other than learning itself, causing the increase in latency. It is difficult to estimate the contribution of the lack of reinforcement, on the one hand, and an extinction process on the other, in the gradual latency increase to reach the exact place where the food was located, since the most reliable parameter to assess memory retention (i.e., time spent exploring in the target quadrant) changed little on all four memory tests (one short-term and three long-term), showing a gradual decline on Days 2 and 4 but recovery on Day 7, suggesting that crabs had a well-preserved spatial memory.

Like other taxa, hermit crabs possess innate sensory mechanisms that allow them to discriminate between edible and inedible novel items upon the first encounter without the requirement of associative learning [32, 33]. In the context of foraging, novel food reinforcement takes place when, after sensing it, the animal consumes it [32]. Therefore, it was important to let the crabs to eat the peanut butter during the conditioning session to maintain the baseline level of motivation and consequently responding to the food stimulus. Coenobitids (Anomura) have evolved a good aerial sense of distance olfaction that is anatomically centered on the first antenna and behaviorally highly relevant [42], detecting food as far as 5 m [43, 44], however there is some controversy about the existence of an odoriferous chemical substances release system that could be left as a trace in the substrate for spatial orientation in this group [22]. Though, when in threatening situations, hermit crabs use multisensory channels to evaluate their environment [45], which has also been observed in other crustaceans as fiddler crabs (Uca vomeris) [46]. More studies are needed to determine the sensory inputs used in this group for the resolution of spatial tasks.

Coenobitids are attracted preferentially by the odors of foods that they have not eaten recently rather than foods eaten in the previous feeding event [47], even when these events take place in the last 24 hours [48]. This was not observed in our study, perhaps because animals have been deprived from food three days before the beginning of experiment so they could be more eager to eat and also, or because they did not have any other food option than peanut butter. In some insects, such as locusts, it has been noticed that stimulus strength depends on the internal state of animals, such as hunger levels [49].

One novelty of our visuospatial design that contrasts with other allocentric spatial learning tasks was that the visual cues were immersed on the experimental arena as it occurs with landmarks in the wild and manipulates variables that are relevant to crabs’ modes of adjustment. This intended to be an analog paradigm to hermit crabs natural foraging routines, in which the accessibility of resources could be cyclical but some landmarks are maintained for long periods of time. C compressus may performed well because of the learning processes involved might be used in tasks encountered by crabs naturally and reflect essential features of the behavior occurring in the natural environment [31, 50, 51].

Despite the large body of studies evaluating learning abilities of Anomuran crustaceans, e.g., shell exchange [5254], conspecific recognition [38, 55], social information transmission [56], food preference [48], solution of novel situations [57], and homing [58], there is no evidence of allocentric spatial learning in this crustacean order, even though the potential use of landmarks for spatial orientation (allocentric memory) has been previously suggested [23]. Few studies have shown plasticity in C. compressus learning simple “spatial” tasks, such as avoiding noxious stimuli [30] or decision making regarding external shell architecture on novel tasks [57]. However, none of them evaluate long-term memory. All these studies point out to C. compressus possessing an outstanding learning ability but were all performed over shorter time periods than in the present study, noticing the importance to explore complex relevant tasks such as spatial learning. Altogether our results suggest that the stimuli related with the reinforcement as well as the ones related with the environment influence the expression of behavior. This first description of allocentric spatial long-term memory in a terrestrial hermit crab suggests a visuospatial memory formation. In nature, it is crucial for animals to learn and remember which places represent danger or which ones are associated with appetitive rewards such as food, shelter or mate [24]. A better appreciation of this adaptive trait in these animals will develop our understanding of resource exploitation by terrestrial crustaceans and their ecological roles as well as leading to potential comparative studies.

Conclusion

We show that C. compressus was capable of solving a complex visuospatial learning task in addition to the other mentioned advantages which are demonstrated in malacostracan crustaceans as a potential model system. This first approach to spatial learning in a terrestrial hermit crab could lead to additional studies that let us have a better appreciation of this adaptive trait in these animals, such as individual variation factors (e.g., age, sex or personality) to predict whether and how the individuals locate the food in the most efficient way.

In the present study we show that the terrestrial hermit crab C. compressus is capable of learning the location of a palatable food stimulus using olfactory and visual cues, which was reflected in a gradual improvement in the execution of the task. Although this was an important finding because it implies that the standardization of the experimental conditions to evaluate the spatial abilities in this species were adequate, i.e., the motivation to execute and solve the test in a single multi-trial session, the most relevant finding was the fact that crabs retained a long-term spatial memory up to seven days based solely on visual cues, strongly suggesting an allocentric targeting strategy.

Supporting information

S1 Fig. Distance travelled from starting point to the reward location during learning and testing.

Solid blue lines represent a function describing the training and retrieval phases of n = 26 hermit crabs as modeled by a generalized linear mixed-effect model (GLMM). Points (closed circles) represent distance for each crab. Median and interquartile ranges distance in cm are presented. Decrease in distance to reach the target during training and increase during short- and long-term memory retrieval followed the expected trend but was non-significant.

https://doi.org/10.1371/journal.pone.0293358.s001

(TIF)

Acknowledgments

This paper serves as fulfillment of ILVV for obtaining a PhD degree in Posgrado en Ciencias Biológicas, UNAM. We thank the Consejo Nacional de Ciencia y Tecnología de Mexico (CONACyT) for the graduate scholarship awarded to ILVV (630753). Finally, we appreciate the valuable comments of the reviews.

Ethics in publishing

Experiments were carried out in accordance with the National Institutes of Health guide for the care and use of laboratory animals.

References

  1. 1. Shettleworth S J. Cognition, evolution, and behavior. Oxford University Press, 2009.
  2. 2. Bhimani R, Huber R. Operant avoidance learning in crayfish, Orconectes rusticus: Computational ethology and the development of an automated learning paradigm. Learn Behav. 2016; 44:239–249. https://doi.org/10.3758/s13420-015-0205-y
  3. 3. Chittka L, Niven J. Are bigger brains better? Curr Biology. 2009; 19(21):995–1008. pmid:19922859
  4. 4. Alves C, Boal JG, Dickel L. Short-distance navigation in cephalopods: A review and synthesis. Cogn Process. 2008; 9(4):239–247. pmid:17932698
  5. 5. Boal JG, Dunham AW, Williams KT, Hanlon RT. Experimental evidence for spatial learning in octopuses (Octopus bimaculoides). J Comp Psychol. 2000; 114(3):246–252. https://doi.org/10.1037/0735-7036.114.3.246
  6. 6. Jozet-Alves C, Bertin M, Clayton NS. Evidence of episodic-like memory in cuttlefish. Curr Biol. 2013; 23:1033–1035. pmid:24309275
  7. 7. Schnell AK, Clayton NS, Hanlon RT, Jozet-Alves C. Episodic-like memory is preserved with age in cuttlefish. Proc of the R Society B. 2021; 288(1957):20211052. pmid:34403629
  8. 8. Collett M. Spatial memories in insects. Curr Biol. 2009; 19(24):1103–1108. pmid:20064415
  9. 9. Perry CJ, Barron AB, Cheng K. Invertebrate learning and cognition: Relating phenomena to neural substrate. Wiley Interdiscip Rev Cogn Sci. 2013; 4(5):561–582. pmid:26304245
  10. 10. Schnell AK, Clayton NS. Cephalopod cognition. Curr Biol. 2019; 29(15):726–732. pmid:31386844
  11. 11. Fukushi T, Wehner R. Navigation in wood ants Formica japonica: Context dependent use of landmarks. J Exp Biol. 2004; 207(19):3431–3439. https://doi.org/10.1242/jeb01159
  12. 12. De Agrò M, Oberhauser FB, Loconsole M, Galli G, Dal Cin F, Moretto E, et al. Multi-modal cue integration in the black garden ant. Anim Cogn. 2020; 23:1119–1127. pmid:32076920
  13. 13. Menzel R, Brandt R, Gumbert A, Komischke B, Kunze J. Two spatial memories for honeybee navigation. Proc Biol Sci. 2000; 267(1447):961–968. pmid:10874744
  14. 14. Menzel R. Serial position learning in honeybees. PLoS One, 2009; 4(3):e4694. pmid:19259265
  15. 15. Han R, Huang HP, Chuang CL, Yen HH, Kao WT, Chang HY, et al. Coordination through inhibition: Control of stabilizing and updating circuits in spatial orientation working memory. Eneuro, 2021; 8(5). pmid:34385152
  16. 16. Lyu C, Abbott LF, Maimon G. Building an allocentric travelling direction signal via vector computation. Nature, 2022; 601(7891):92–97. pmid:34912112
  17. 17. Layne JE, Barnes WJP, Duncan LM. Mechanisms of homing in the fiddler crab Uca rapax 1. Spatial and temporal characteristics of a system of small-scale navigation. J Exp Biol. 2003; 206(24):4413–4423. https://doi.org/10.1242/jeb.00660
  18. 18. Walls ML, Layne JE. Fiddler crabs accurately measure two-dimensional distance over three-dimensional terrain. J Exp Biol. 2009; 212(20):3236–3240. pmid:19801428
  19. 19. Murakami H, Tomaru T, Gunji YP. Interaction between path integration and visual orientation during the homing run of fiddler crabs. R Soc Open Sci. 2017; 4(9):170954. pmid:28989787
  20. 20. Tierney AJ, Lee J. Spatial learning in a T-maze by the crayfish Orconectes rusticus. J Comp Psychol. 2011; 125(1):31–39. pmid:21244140
  21. 21. Tierney AJ, Andrews K. Spatial behavior in male and female crayfish (Orconectes rusticus): Learning strategies and memory duration. Animal Cognition, 2013; 16:23–34. pmid:22890833
  22. 22. Vannini M, Cannicci S. Homing behaviour and possible cognitive maps in crustacean decapods. J Exp Mar Biol Ecol. 1995; 193(1):67–91. https://doi.org/10.1016/0022-0981(95)00111-5
  23. 23. Davies R, Gagen MH, Bull JC, Pope EC. Maze learning and memory in a decapod crustacean. Biol Lett. 2019; 15:20190407. https://doi.org/10.1098/rsbl.2019.0407
  24. 24. Klappenbach M, Nally A, Locatelli FF. Parallel memory traces are built after an experience containing aversive and appetitive components in the crab Neohelice. PNAS. 2017; 114(23):4666–4675. pmid:28507135
  25. 25. Péter A. Solomon Coder: A Simple Solution for Behavior Coding. Ver. Beta 15.11.19. 2015. https://solomon.andraspeter.com
  26. 26. Lee PG, Meyers SP. Chemoattraction and feeding stimulation in crustaceans. Aquac Nutr. 1996; 2:157–164. https://doi.org/10.1111/j.1365-2095.1996.tb00055.x
  27. 27. Bates D, Maechler M, Bolker B, Walker S. Fitting linear mixed-effects models using lme4. J Stat Softw. 2019; 67:1–48. https://doi.org/10.18637/jss.v067.i01
  28. 28. R Core Team, R: A Language and Environment for Statistical Computing. Ver. 3.6.0. 2021; https://www.r-project.org
  29. 29. Radushev D. GraphPad Software, GraphPad Prism. Ver 9. 0. 1. For MacOs. 2021; https://www.graphpad.com
  30. 30. Elwood RW, Appel M. Pain experience in hermit crabs? Anim Behav. 2009; 77(5):1243–1246. https://doi.org/10.1016/j.anbehav.2009.01.028
  31. 31. Morrow JE, Smithson BL. Learning sets in an invertebrate. Science. 1969; 164(3881):850–851. pmid:5767791
  32. 32. Tran MV. Behavioral reactions to novel food odors by intertidal hermit crabs. Behav Process. 2015; 113:35–40. pmid:25562193
  33. 33. Yerkes R. Habit-formation in the green crab, Carcinus granulatus. Biol Bull. 1902; 3(5):241–244. https://doi.org/10.2307/1535878
  34. 34. Roudez RJ, Glover T, Weis JS. Learning in an invasive and a native predatory crab. Biol Invasions. 2008; 10(8):1191–1196. https://doi.org/10.1007/s10530-007-9195-9
  35. 35. Ramey PA, Teichman E, Oleksiak J, Balci F. Spontaneous alternation in marine crabs: Invasive versus native species. Behav Process. 2009; 82(1):51–55. pmid:19379799
  36. 36. Jiménez-Morales N, Mendoza-Ángeles K, Porras-Villalobos M, Ibarra-Coronado E, Roldán-Roldán G, Hernández-Falcón J. Who is the boss? Individual recognition memory and social hierarchy formation in crayfish. Neurobiol Learn Mem, 2018; 147:79–89. pmid:29198599
  37. 37. Tomsic D, DeAstrada MB, Sztarker J. Identification of individual neurons reflecting short- and long-term visual memory in an arthropod. J Neurosci. 2003; 23(24):8539–8546. https://doi.org/10.1523/JNEUROSCI.23-24-08539.
  38. 38. Gherardi F, Atema J. Memory of social partners in hermit crab dominance. Ethol. 2005; 111(3):271–285. https://doi.org/10.1111/j.1439-0310.2004.01060.x
  39. 39. Pedreira ME, Pérez-Cuesta LM, Maldonado H. Mismatch between what is expected and what actually occurs triggers memory reconsolidation or extinction. Learn. Mem. 2004; 11(5):579–85. pmid:15466312
  40. 40. Merlo E, Romano A. Memory extinction entails the inhibition of the transcription factor NF-kB. PLoS ONE, 2008; 3(11): e3687. pmid:18997870
  41. 41. Hepp Y, Pérez-Cuesta LM, Maldonado H, Pedreira ME. Extinction memory in the crab Chasmagnathus: recovery protocols and effects of multi-trial extinction training. Anim. Cogn. 2010; 13:391–403 pmid:19813034
  42. 42. Harzsch S, Hansson BS. Brain architecture in the terrestrial hermit crab Coenobita clypeatus (Anomura, Coenobitidae), a crustacean with a good aerial sense of smell. BMC Neurosci. 2008; 9(1):58. pmid:18590553
  43. 43. Dunham DW, Gilchrist SL. Behaviour. In: Burggren WW, McMahon BR, editors. Biology of the land crabs. New York: Cambridge University Press; 1988. pp. 97–137.
  44. 44. Rittschof D. Chemosensation in the daily life of crabs. Am Zool. 1992; 32(3):363–369. https://doi.org/10.1093/icb/32.3.363
  45. 45. Shragai T, Ping X, Arakaki C, Garlick D, Blumstein DT, Blaisdell AP. Hermit crab response to a visual threat is sensitive to looming cues. PeerJ. 2017; 5:e4058. pmid:29204320
  46. 46. Hemmi JM. Predator avoidance in fiddler crabs: 2. The visual cues. Anim Behav. 2005; 69(3):615–625. https://doi.org/10.1016/j.anbehav.2004.06.019
  47. 47. Greenaway P. Terrestrial adaptations in the Anomura (Crustacea: Decapoda). Memoirs Mus Vic. 2003; 60(1):13–26. https://doi.org/10.24199/J.MMV.2003.60.3
  48. 48. Thacker RW. Food choices of land hermit crabs (Coenobita compressus H. Milne Edwards) depend on past experience. J Exp Mar Biol Ecol. 1996; 199:179–191. https://doi.org/10.1016/0022-0981(95)00192-1
  49. 49. Pompilio L, Kacelnik A, Behmer ST, State-dependent learned valuation drives choice in an invertebrate. Science. 2006; 311(5767):1613–1615. pmid:16543461
  50. 50. Tomsic D, Sztarker J, de Astrada MB, Oliva D, Lanza E. The predator and prey behaviors of crabs: From ecology to neural adaptations. J Exp Biol. 2017; 220(13):2318–2327. pmid:28679790
  51. 51. Loukola OJ, Perry CJ, Coscos L, Chittka L. Bumblebees show cognitive flexibility by improving on an observed complex behavior. Science. 2017; 355(6327):833–836. pmid:28232576
  52. 52. Hazlett BA. Behavioral plasticity in crustacea: Why not more? J Exp Mar Biol Ecol. 1995; 193(2):57–66. https://doi.org/10.1016/0022-0981(95)00110-7
  53. 53. Hazlett BA. Influence of rearing conditions on initial shell entering behavior of a hermit crab (Decapoda, Paguridea) 1. Crustaceana. 1971; 20(2):167–170. https://doi.org/10.1163/156854069X00196
  54. 54. Hazlett BA. Shell exchanges in hermit crabs: aggression, negotiation, or both?. Anim Behav. 1978; 26(4):1278–1279. https://doi.org/10.1016/0003-3472(78)90123-9
  55. 55. Hazlett BA, “Individual” recognition and agonistic behaviour in Pagurus bernhardus. Nat. 1969; 222(5190):268–269. pmid:5813518
  56. 56. Laidre ME. How rugged individualists enable one another to find food and shelter: Field experiments with tropical hermit crabs. Proc. R. Society Lond. B 2010; 277:1361–1369. pmid:20031987
  57. 57. Krieger J, Hörnig MK, Laidre ME. Shells as ‘extended architecture’: To escape isolation, social hermit crabs choose shells with the right external architecture. Anim. Cognition. 2020; 1–11. pmid:32770436
  58. 58. Gherardi F, Micheli F, Vannini M, Movement patterns and dispersal of the hermit crab Clibanarius longitarsus in a mangrove swamp. Mar Behav Physiol. 1990; 16(4):209–223. https://doi.org/10.1080/10236249009378750.