Skip to main content
Royal Society Open Science logoLink to Royal Society Open Science
. 2024 Nov 13;11(11):241042. doi: 10.1098/rsos.241042

Prey detection by a stepwise visual template matching mechanism

Jules Silverman 1, Brad W Taylor 2,
PMCID: PMC11569828  PMID: 39555389

Abstract

Predators can improve prey capture using a search image, and recent prey provide a visual template with which subsequent prey are compared. Considering trout feeding responses to mayfly prey of different sizes and phenological availability across years, we tested if changing relative abundances (ratios) of prey of the same species, but different body sizes, shifted trout feeding behaviour. For example, we hypothesized that a feeding switch from larger to smaller prey required continuous exposure to the novel smaller prey. The hypothesis that continuous exposure to novel small prey results in their acceptance was not supported. Rather, we discovered that trout identify novel prey using a dynamic stepwise visual neural template prey matching process, which involves the formation of focal prey template based on size or type, rejection of novel prey that do not match the size or type templates and modification of the existing or development of multiple prey templates that eventually enabled recognition of novel, small prey. We also discovered trout store multiple visual prey templates in memory. These results have implications for predator and prey dynamics, optimal foraging, the persistence of rare prey, prey species coexistence and predator selection on prey phenology.

Keywords: search image, prey switching, prey recognition, foraging theory, prey size, emergence

1. Introduction

Optimal foraging theory and diet selection predict that an animal will choose a larger, more abundant and/or more easily captured prey item over a smaller, less abundant and/or less tractable item. Bioenergetic decisions generally underlie food selectivity by foraging predators, i.e. the metabolic cost of search, pursuit, capture and handling versus the energy rewards [13]. Once-abundant prey may be largely ignored in favour of new energetically valuable prey, and thus, the predator may have a stabilizing effect on animal community structure [4,5].

Predator foraging success can be enhanced by the formation of a search image; a perceptual mechanism temporarily improving the detection of cryptic prey [6,7]. The use of search images is suggested by improved prey capture success and decreased time between captures; even a single capture can improve a predator’s ability to detect prey in subsequent encounters (e.g. [8,9]). The strength of a search image may decrease with time [8], and search image formation for one type of prey may impede alternative prey detection [10]. Also, receipt of imperfect information may hinder an animal’s response to a stimulus, such that a predator may attack anything that resembles prey; the optimal criteria depend on energetic gains versus losses [6]. Furthermore, sequential priming can impact the accuracy and longevity of prey detection [11], whereby features of the last-discovered prey are remembered by the animal [12]. This recent experience, encoded in working memory, provides a template to which subsequent visual input can be compared [13].

Our knowledge of the mechanisms fish use for search image formation to optimize prey detection is limited. Learning and memory probably play a decisive role in the foraging activities of fish. Speed of attack, reaction distance and handling time of novel prey by 15-spine sticklebacks improves with experience [14]. Visual acuity in prey detection is enhanced in larger versus smaller bluegill sunfish [15], and these fish also select prey based on apparent size either due to absolute size or proximity to the fish at the instant they are detected [16]. Bamboo sharks categorize image features and types based on their overall fitness relevance [17], while colour, size, orientation and motion all facilitate efficient visual search in archerfish [18]. While each of these examples shows detailed ways in which fish detect prey, it remains unknown how fish use these in search image formation and whether the process is generalizable.

Stream-dwelling salmonids are primarily sit-and-wait predators, feeding mainly on prey drifting in the water column or on the water surface with short trips (less than 2 m) made to capture prey, and occasionally feeding from the river bottom [19]. Brown trout are visual predators selecting their food in large part from drifting and floating invertebrates [20], being prey-size selective and using a sit-and-wait capture strategy [21]. The genesis for this study was based on our observations of salmonids, mostly rainbow and brown trout, feeding on surface-drifting insects in a 50 km section of the Missouri River near Cascade Montana, USA below Holter Dam (United States Geological Survey station number 06074000). We visited the river the third week in July 2012 and the second week in July 2013. In 2012, on rough visual inspection, approximately 20% of the surface-drifting insects were mayfly subimagos (i.e. winged sexually immature adult stage unique to mayflies) of Ephemerella excrucians, (7–9 mm body length), and approximately 80% were mayfly imagos (i.e. winged sexually mature adult stage) of Tricorythodes spp. (3–5 mm body length). Both mayfly species were eaten by the resident trout. However, during July 2013, surface drift composition differed considerably from 2012. In 2013, the larger, earlier emerging, E. excrucians represented approximately 85% of the surface-drifting insects with later emerging Tricorythodes spp. representing approximately 15%. In July 2013, we visually observed trout consume E. excrusians and ignore Tricorythodes spp. subimagos. These observations indicate that in July 2012 trout had already experienced the peak of E. excrucians emergence and that Tricorythodes spp. emergence was peaking, whereas, in July 2013 trout experienced emerging E. excrucians but few Tricorythodes spp. Therefore, we hypothesized that these resident fish required experience with a critical number of the novel prey (Tricorythodes spp.) before switching their diet from the focal prey E. excrusians.

We predicted that fish would shift from the larger focal prey to the smaller novel prey of the same species when exposure to the smaller prey vastly exceeded that of the larger prey. We recognized the difficulty of testing our hypothesis of prey discrimination and switching under field conditions with ephemeral prey. Specifically, tracking and recording prey-capture events of individual fish would be difficult among dozens of conspecifics, and identifying and counting hundreds-to-thousands of minute surface-drifting mayfly adults would be impossible over time. Therefore, we developed a laboratory assay sequentially delivering different ratios of different-sized prey to individual brown trout maintained in flow-through stream tanks. This approach also allowed us to control prey size, species and movement. Our results provide new evidence for a mechanism of prey detection by visual template matching.

2. Methods

2.1. Fish collection and transport

Six male, 33–38 cm total length stream-bred brown trout, Salmo trutta, were collected, by angling with barbless fly, from the South Holston River tail-water, Bristol, TN, USA. Brown trout also occur in the western rivers where observations were made that stimulated our hypotheses. Fish were held within the river in mesh baskets (less than 12 h) until transport to the laboratory. Fish were transported to the laboratory in 66 l coolers (maximum of two fish per cooler) filled with river water cooled to approximately 4.4°C by adding a block of frozen river water and aerated.

2.2. Fish husbandry

Trout were maintained in four circulating, aerated and refrigerated (10°C) stream tanks (Living Stream, by Frigid Units, OH). The side window of each tank was covered with black cloth to reduce visibility of the experimenters and thus minimize stress on the fish. Cobble from the native stream was added as a substrate. Three fish were housed individually in 2.13 m long (530 l) experimental tanks. The remaining three fish were housed in a 2.74 m long (719 l) holding tank and separated from one another with mesh barriers. After data were collected, fish in the holding tank were swapped with fish in the experimental tanks. Tanks contained aged tap water to remove chlorine. Water quality was maintained by physical filtration (Living Stream foam insert, 1 mm nominal mesh size) and chemical (activated carbon) filtration. Forty per cent water exchanges (with aged tap water) were performed weekly. Ammonium, nitrite and nitrate levels were monitored with an API Fishcare® test kit weekly. Water was completely recirculated about every 1.5 min, and water velocity was approximately 3 cm s−1. An opaque overhead cover near the rear of each tank provided shade. Light from overhead fluorescent bulbs was a constant 796 lux, with a 12 h light and 12 h dark photoperiod, on at 08.00, off at 20.00. Care and use of the fish in this study followed North Carolina State University’s Institutional Animal Care and Use Committee’s (IACUC) approval protocol no. 16–090.

2.3. Acclimatization to experimental prey

We determined it was not feasible to field collect and adequately store without body part breakage, the extraordinarily large numbers (approx. 500 000) of fragile adult mayflies required to feed trout for the experimental period (months). Therefore, we used laboratory-reared cockroaches to establish three prey sizes (table 1). First instar Blattella germanica, the German cockroach, were the smallest prey, third instar B. germanica were medium-sized prey, adult male B. germanica were large-sized prey, hereafter we refer to these as small, medium and large prey (table 1). This design eliminated confounding effects of prey species identity with prey body size and provided an order of magnitude of variation in prey body size. All prey were buoyant and floated on the water surface, and all prey could be swallowed intact by the fish. Prey were killed by freezing, then thawed prior to being introduced to fish. We acclimatized the wild-caught trout to feeding in the tanks by offering earthworms approximately 5 cm in length, which were accepted after 7–14 days. Worms were subsequently withheld, and adult B. germanica were introduced and accepted by Day 7. The number and weight of adult B. germanica consumed per day (over 4 successive days) per fish until reaching satiety were mean = 195.3, 1 s.d. = 36.5, range = 125–268 individuals; mean = 10.4 g, 1 s.d. = 2.0 g, range 6.7–14.4 g. Based on this calculation, we chose a level of approximately 25% satiety (n = 50 adult B. germanica, or the equivalent weight of other prey sizes depending on the experiment).

Table 1.

Characteristics of the prey used in the experiments. Males and females of first and third instars were physiologically uniform, as they do not develop eggs and other sex-specific differences until the adult stage. Sex ratios of first and third instar B. germanica were approximately 1 : 1. Adult males were used because they are more physiologically uniform than adult females. Vertical scale bars to the right of each image are 5 mm. Photographs by Heather Frantz.

graphic file with name rsos.241042.inline001.jpg graphic file with name rsos.241042.inline002.jpg graphic file with name rsos.241042.inline003.jpg graphic file with name rsos.241042.inline004.jpg
size class small medium large extra large
species B. germanica B. germanica B. germanica P. americana
developmental stage first instar larvae third instar larvae adult adult
sex male and female male and female male male
body length (mm, mean ± 1 s.e.) 2.3 ± 0.1 4.2 ± 0.1 12.5 ± 0.2 30.7 ± 0.4
Wet body weight (mg, mean ± 1 s.e.) 0.9 ± 0.1 4.3 ± 0.3 53.6 ± 0.9 784.6 ± 14.4
size class comparisons small versus medium medium versus large small versus large large versus extra-large
fractional change in length 0.79 2.0 4.3 1.5
fractional change in wet body weight 3.6 11 57 14

2.3.1. Experimental procedures

Prior to introducing individual prey to a tank with a fish, an opaque cover (30 × 15 cm) was placed at an angle at the front left corner of the tank (electronic supplementary material, figure S1). This allowed prey to be dropped through an 8 cm wide slot to the water surface without the experimenter being visible to the fish. A 10 cm diameter mirror on the refrigeration unit platform at the front of the tank was angled such that we could observe the movement of prey and fish without being detected. The experiment was initiated with the fish at the back of the tank, oriented facing the current. Fish returned to this position following an encounter with prey. A prey item was dropped through the slot, and the time to consumption was recorded. The next prey was introduced after the fish returned to its resting position. Prey items drifting past the fish rested against a mesh screen and were unavailable and recorded as a rejection. All uneaten prey were removed after each daily session. We maintained a near consistent satiation level each day by adding 50 adult B. germanica or the equivalent weight of other prey sizes depending on the experiment.

2.4. Acceptance of novel prey with increasing exposure rate

We tested the prediction that novel prey would be ignored when the exposure rate, or ratio, of focal to novel prey was high, but novel prey would be consumed as their exposure rate increased, and that the effect of exposure rate would decrease as the size difference between focal and novel prey decreased.

We conducted three separate experiments, each with the same ratio of focal to novel prey but the size difference between the focal and novel prey was successively reduced. After trout satiety level was determined, fish were offered 50 adult B. germanica per day for 7 days, prior to beginning experiments. To investigate how the exposure rate of novel prey influenced their acceptance, trout were offered a total of 50 prey in the following ratios of focal to novel prey: 10 : 0, 9 : 1, 4 : 1, 2 : 1, 1 : 1, 1 : 2, 1 : 4, 1 : 9 and 0 : 10. For example, a daily ratio of 10 : 0 was 50 large adult B. germanica and 0 small first instar B. germanica, a ratio of 0 : 10 was 0 large adult B. germanica and 50 small first instar B. germanica, and a ratio of 1 : 1 was one large adult B. germanica, one small first instar B. germanica, etc. until 25 of each were introduced to trout. The different ratios of prey were offered to fish on successive days (e.g. Monday 10 : 0, Tuesday 9 : 1, etc.) and the proportion of novel prey always increased from 10 : 0 to 0 : 10, with daily satiety maintained by offering 50 large adult B. germanica, or their equivalent weight in other prey sizes depending on the experiment. All six fish received each ratio, resulting in n = 6 replicates per ratio.

In the first experiment comparing large-focal versus small-novel prey, we established the largest size difference between focal and novel prey using male B. germanica as the focal prey and the small first instar B. germanica as the novel prey, which produced differences of 137% in body length and 193% in wet body weight (hereafter body weight). In the second experiment with large-focal versus medium-novel prey, we reduced the size difference between the focal and novel prey by using male B. germanica as the focal prey (as in the first experiment) and the slighter larger third instar B. germanica as the novel prey, which resulted in differences of 99% in body length and 170% in body weight. In the third experiment with medium-focal versus small-novel prey, we reduced the size difference between the focal and novel prey further by using medium-sized third instar B. germanica as the focal prey and the small first instar B. germanica as the novel prey, resulting in differences of 57% in body length and 129% in body weight. We maintained consistent daily satiation levels in the experiment with the smallest difference between focal and novel prey by adding the balance of 150 third instar B. germanica, which were the new focal prey.

We used generalized regression models to test how feeding on novel prey changed as the ratio of novel prey increased. The response variables were per cent of novel prey consumed and time to consumption. As such, for an experiment testing large versus small prey with small prey as the novel prey and an exposure ratio of 1 : 1, if trout consumed 1 of 25 small prey then the per cent small prey consumed was 4%. Models with per cent of prey consumed as the dependent variable included a beta-binomial error distribution, and models with time to consumption included a lognormal error distribution. Individual fish were included as a random effect in all models. To test predictions about how the per cent of prey consumed or time to consumption differed among the three experiments, we used generalized linear models with experiment as the fixed effect and individual fish nested within experiment as the random effect, and error distributions were binomial for per cent consumed and lognormal for time to consumption. If the overall model was significant, then Tukey–Kramer multiple comparisons were used to assess differences among the three experiments. All statistical analyses were performed using PROC GLIMMIX and PROC FMM in SAS Studio v. 9.401M6P110718.

2.5. Search image extinction or prey memory

We assessed fish memory of prey using the smallest prey (first instar B. germanica) because they were initially rejected when offered with large-focal prey (male B. germanica), then accepted when offered with medium prey (see Results). Hence, we tested how long these same trout would retain their memory for small prey when deprived of this prey for 1, 2, 3, 7 and 14 days. For this experiment, we offered 50 large-focal prey (adult B. germanica) to each fish, individually, in sequence, immediately after the last, 0 : 10, medium versus small session in the third exposure rate experiment above. Fifty small-novel prey were then offered sequentially 24 h later (Day 0) and the time to consumption recorded. Fifty large-focal prey (male B. germanica) were offered immediately after this session to maintain satiety. On the following day, only the large-focal prey were offered. The next day, small-novel prey, followed by large-focal prey. This process continued providing latency periods of 0, 1, 2, 3, 7 and 14 days in small-novel prey exposure. Fifty large-focal prey were offered each day across the 14-day span to maintain satiety. The per cent of small-novel prey consumed and the time to consumption was recorded.

Generalized regression models were also used to test the prediction that the per cent of prey consumed would decrease and that the time to consumption would increase as the time since last exposure to small-novel prey (latency period) increased from 0, 1, 2, 3, 7 and 14 days for each fish. Statistical models with per cent of novel prey consumed included a beta binomial error distribution, and models with time to consumption included a lognormal error distribution. We tested for autocorrelation of the residuals using the Durbin–Watson (DW) test, and all DW values were between 1.5 and 2, indicating no first-order autocorrelation.

2.6. Fish response to extra-large novel prey

In addition to small-novel prey falling outside the fish’s search image due to a visual template–prey mismatch, rejection of small-novel prey by trout conditioned to large-focal prey could also be explained by small prey being undetected due to size or rejected due to foraging energetics (i.e. time, energy or both). To test the predictions that trout would not reject novel prey larger than the focal prey if acceptance was based on size or energetics alone, and there would be no change through time in the per cent consumed or time to consumption of the extra-large prey if they were within the search image template, we measured the per cent prey consumed and time to consumption by trout of prey much larger than the large-focal prey. Trout were fed 50 large-focal prey (male B. germanica) daily for 7 consecutive days, then on days 8–11 trout were offered large-focal prey and prey much larger than the large-focal prey, or extra-large prey, in a ratio of 9 : 1 large-focal to extra-large novel prey (n = 50 per day, 45 large-focal, 5 extra-large). We used male Periplaneta americana as the extra-large novel prey, which were identical in body form but with small differences in coloration (table 1). We analysed these data using generalized regression models identical to those used in the search image extinction and prey memory experiments above.

3. Results

3.1. Acceptance of novel prey with increasing exposure rate

3.1.1. Large-focal versus small-novel prey exposure rate experiment

The time to consumption of the small-novel prey did not change as their ratio of exposure relative to large-focal prey increased (F 1,6 = 3.10, p = 0.13, figure 1a ). The mean time to consumption of the small-novel prey (57.2 ± 18.7 s, mean ± 1 s.e.) was 53 s longer than the time to consumption of the large-focal prey (3.9 ± 0.9 s, mean ± 1 s.e.; likelihood ratio χ 2 1,12 = 9.14, p = 0.003). The per cent of the small-novel prey that were consumed also did not change as their ratio of exposure relative to the large-focal prey increased (Z 1,41 = 0.19, p = 0.8, figure 1b ). The mean per cent of the small-novel prey consumed (8.3 ± 3.6%, mean ± 1 s.e.) was lower than the per cent of the large-focal prey consumed (99.8 ± 0.8%, mean ± 1 s.e.; likelihood ratio χ 2 1,14 = 10.3, p = 0.0014). Contrary to our prediction, increased exposure to novel prey did not stimulate greater acceptance of this novel prey item.

Figure 1.

Acceptance of novel prey with increasing exposure rate, or ratio.

Acceptance of novel prey with increasing exposure rate or ratio. Time and per cent novel prey consumed by brown trout as the ratio of novel prey increased in three experiments in which the size differences between the focal and novel prey were progressively reduced. (a,b) The first experiment had the largest prey size difference, with a 137% and 193% difference in length and weight, respectively. (c,d) The second experiment had intermediate differences in prey size, with a 99% and 170% difference in length and weight, respectively. (e,f) The third experiment had the smallest prey size difference, with a 57% and 129% difference in length and weight, respectively. Note the different y-axis scale in panels (a), (c) and (e). Some error bars are obscured by the data point. The smallest point on the right of each panel is the mean across exposure ratios for the novel prey.

3.1.2. Large-focal versus medium-novel prey exposure rate experiment

The time until consumption of the medium-novel prey decreased as their ratio of exposure relative to large-focal prey increased (F 1,41 = 9.93, p = 0.003, figure 1c ). The mean time to consumption of the medium-novel prey (18.5 ± 3.8 s, mean ± 1 s.e.) was 16.2 s longer than the time to consumption of the large-focal prey (2.3 ± 0.3 s, mean ± 1 s.e.; likelihood ratio χ 2 1,14 = 13.13, p = 0.0003). However, the per cent of medium-novel prey that were consumed did not change as their ratio of exposure increased (Z 1,41 = 1.70, p = 0.09, figure 1d ), but there was a visible trend of more medium-sized novel prey consumed as their ratio increased. The mean per cent of medium-novel prey consumed (91.5 ± 4.1%, mean ± 1 s.e.) was not different from the per cent of large-focal prey consumed (100 ± 0%, mean ± 1 s.e.; likelihood ratio χ 2 1,14 = 0.97, p = 0.3).

3.1.3. Medium-focal versus small-novel prey exposure rate experiment

The time until consumption of the smallest novel prey did not change as their ratio of exposure increased (F 1,41 = 0.52, p = 0.47, figure 1e ). The mean time to consumption of the small-novel prey (18.1 ± 0.7 s, mean ± 1 s.e.) was 6.3 s longer than the time to consumption of the medium-prey (11.8 ± 1.2 s, mean ± 1 s.e.; likelihood ratio likelihood ratio χ 2 1,14 = 13.99, p = 0.0002). The per cent of small-novel prey that were consumed also did not change as their ratio of exposure increased (Z 1,41 = 0.92, p = 0.35, figure 1f ). The mean per cent of small-novel prey consumed (95.7 ± 1.1%, mean ± 1 s.e.) was not different from the per cent of medium-focal prey consumed (99.1 ± 0.5%, mean ± 1 s.e.; likelihood ratio χ 2 1,14 = 0.19, p = 0.6).

3.2. Comparison among experiments with different sizes of focal and novel prey

In the experiment with the greatest size difference between prey (large-focal versus small-novel), there was a trend for the overall time to consumption of small novel prey to be longer, but this trend was not different across the three experiments (F 2,10.2 = 0.62, p = 0.56, figure 1a,c,e ). However, the per cent of novel prey consumed was different (F 2,13.6 = 20.2, p < 0.0001, figure 1b,d,f ), with the 168% fewer novel prey consumed in the large-focal versus small-novel prey experiment compared with both the large-focal versus medium-novel prey (t 1,14.1 = 5.60, p = 0.0002) and medium-focal versus small-novel prey (t 1,14.75 = 5.53, p = 0.0002) experiments.

3.3. Search image extinction or prey memory

In contrast to the large-focal versus small-novel prey experiment where nearly all small prey were not attacked, when fish were conditioned to small-novel prey in the medium-focal versus small-novel prey experiment fish consumed the small-novel prey, even when deprived of this prey for 14 days (figure 2). The time until small-novel prey were consumed increased 164% as the number of days from last exposure to this prey increased (F 1,29 = 10.39, p = 0.003, figure 2a ). For example, on Day 0 the time to consumption was 14 ± 4 s (mean ± 1 s.e.) but following a 14-day lack of exposure to small-novel prey, the response time was 37 ± 7 s (mean ± 1 s.e.). Despite the increase in time to consumption of small-novel prey, the per cent of small prey consumed did not decrease as the latency period of exposure to this prey increased (Z 1,34 = 1.53, p = 0.13, figure 2b ). Therefore, search image extinction of brown trout for this prey was at least 14 days.

Figure 2.

Search image, or prey memory extinction.

Search image or prey memory extinction. Time to consume (a) and per cent of small prey consumed (b) by brown trout after being deprived of seeing this prey for intervals of 0, 1, 2, 3, 7 and 14 days. Small prey were first instar B. germanica. Fifty large prey (adult B. germanica) were offered each day across the 14 days to maintain trout satiety.

3.4. Fish response to extra-large novel prey

The time to consumption of extra-large novel prey did not change over time (time to consumption: F 1,22 = 14.90, p = 0.0008; figure 3a ), but the per cent of extra-large novel prey consumed did change through time, increasing from 25% to 75% over time (extra-large prey consumed: Z 1,22 = 2.49, p = 0.01; figure 3b ), even though one fish did not consume any of the extra large-novel prey but consumed all the large-focal prey.

Figure 3.

Fish response to extra-large novel prey

Fish response to extra-large novel prey. Time to consume (a) and per cent of extra-large novel prey consumed (b) Prey were offered in a ratio of 9 : 1 large focal to extra-large novel prey. Extra-large novel prey were male Periplaneta americana, which were 151% and 198% larger in length and weight, respectively, than the large-focal prey, or adult male B. germanica.

4. Discussion

Returning to our field observation that stimulated our hypothesis and the development of the above experiments, why did Missouri River trout largely ignore Tricorythodes spp. in one year and attack them in a separate year? Interannual differences in timing of emergence to the adult stage by these mayflies resulted in trout experiencing different exposure rates, ratios or both between years. In 2012, our results indicate that trout developed search image templates for both mayfly prey because in July 2012 they had experienced higher exposure rates, ratios or both of the smaller Tricorythodes spp. In addition to the development of a search image template for the smaller Tricorythodes spp. in 2012, trout probably retained in memory the search image template for the earlier emerging, larger but less frequent E. excrucians. The recreational fly-fishing community refers to this phenomenon as pattern hangover, or fishing the false hatch, when fish retain a search image for prior prey after their availability has declined, whereas in 2013, the timing of emergence for both mayflies was delayed and by July trout had developed a search image template for only the earlier emerging, larger E. excrucians. According to optimal foraging theory, trout should select prey items that yield the greatest energetic gain [22]. Earlier emerging, more abundant E. excrucians in one year (2013) were probably the more energetically favourable mayfly prey. However, were the less abundant and smaller Tricorythodes spp. not detectable by these fish in July 2013? Given previous work on fish vision and body size [23], it is likely these fish could see the smaller Tricorythodes spp. but did not perceive them as prey either because the search image for E. excrucians impeded detection of these new prey [10] or because their absolute size was not deemed profitable [15]. Further, if trout did not perceive Tricorythodes spp. because they were novel prey with a low exposure rate and thus they fell outside the current visual prey template, then it may be an example of Weber’s Law [24]. That is, the just-noticeable difference between two stimuli could be a constant fraction (Weber fraction) of the original stimulus or, in this case, the previous focal prey. We do not know what this fraction is for these resident trout, but Tricorythodes spp. were approximately 50% smaller in size than E. excrucians; therefore, a Weber fraction of less than 1 would be predicted if these trout could not distinguish between the mayfly species. Our experimental results also showed that brown trout did not distinguish between prey sizes with a fractional difference of less than 1 (i.e. comparing body lengths of small versus medium-sized prey). However, trout did not easily distinguish between prey sizes with fractional differences of 1.5 (i.e. large versus extra large) and 2.0 (i.e. medium versus large), suggesting a Weber fraction greater than 1 for this prey body length and fish species. Learning to switch to the most visible, abundant and/or profitable prey types over time could explain frequency-dependent predation, shifts between type II and type III functional responses, coexistence of prey species [25] and be important for stabilizing community structure [26,27]. Below we discuss caveats that are important to consider in the interpretation of our results and optimal foraging decisions, search image, memory, predator satiation, and prey selection and switching within the context of our findings. We also compare our findings with other animal taxa and discuss the broader theoretical implications of our work.

The following caveats are important to consider in the interpretation of our results. Our experiments were conducted with individual trout equally well-fed surface prey, no predator threat or interspecific social interactions, constant water temperature and flow, and excellent water clarity for foraging. Hunger state and social dominance affect cognition and feeding motivation [2830], and the threat from aerial and aquatic predators increases the energetic costs of foraging and prey selection [31], which were all controlled in this study. Habitat complexity [32] and current velocity [33] can affect the foraging efficiency of fish and can have a negative effect on trout reactive distance to prey [34,35], which were also invariant in this study. The water temperature (10°C) was within the range (7°C–12°C) where brown trout are capable of consuming and digesting at least two full meals a day [36], so biases associated with hunger or fullness were unlikely. Although these caveats can be important for the outcome of predator and prey populations, they are unlikely to alter our novel finding that trout, and potentially other predators, use a stepwise visual template matching mechanism during foraging.

Template matching, where an animal chooses a pattern whose appearance best matches a stored view, is considered one of the most basic forms of pattern vision [37,38]. Although search image formation facilitating response to novel stimuli following repeated exposure, and learning has been reported for a number of animal taxa, namely avian species, e.g. bobwhite quail, great tits, blue jays and pigeons [6,7,10,39], but also fish, e.g. sticklebacks [14]. To our knowledge, we provide the first evidence for a stepwise visual template matching process, or search image formation, whereby previously undetected prey are consumed by a predator when matched with an appropriate sized prey in the predator’s current search image template (figure 4). The steps in this process include developing an initial prey search image, or template (figure 4a ), modifying the template (figure 4b ) and retaining memory of prior templates while using a new or modified template (figure 4c ). As such, the stepwise visual template matching mechanism has implications for predator and prey population dynamics, such as the persistence of rare prey that do not match a visual template and are too infrequent for the development of a template, predator and prey coexistence, and selection on prey species phenology that minimizes predation of prey of different sizes and species.

Figure 4.

Conceptual representation of the proposed stepwise visual template matching process for prey detection.

Conceptual representation of the proposed stepwise visual template matching process for prey detection. (a) An initial search image template in which two of the three potential prey characteristics (e.g. size or shape) are within the predator’s template but one is not. This prey detection process is represented by data in figure 1ad . (b) Shows a modified search image template indicated by the cross-hatched ellipse within the initial search image template indicated by the dashed ellipse. This prey detection process is represented by the data in figure 1e,f . (c) Illustrates the use of multiple neural prey templates by predators, with at least one retained in memory, such that fish deprived of small prey retain this search image template even after repeated exposure to only large prey, as in figure 2.

As expected based on optimal foraging theory [40], at all ratios of large-focal versus small-novel prey, the large focal prey were rapidly detected and consumed. Contrary to the prediction that encounter frequency is a prime determinant of prey selection and that trout would shift from consuming large-focal to small-novel prey as the relative availability of smaller prey exceeded larger prey, trout did not consume significantly more small prey as the ratio of small to large prey increased. As such, with the prey species and sizes and predators in this experiment, we found no or weak evidence that predators formed or improved their search image for small prey as their relative abundance increased or when small-sized prey were the only prey available (i.e. at the 10 : 0 small-novel to large-focal ratio). Further, each fish was exposed to a total of 225 small prey but on average only consumed 8.3% of small prey compared with 99.8% of 225 large prey. Although it is possible that had we continued to expose fish to only small prey that a threshold level of exposure, hunger or both (e.g. a ratio of 10 : 0 small : large prey for 3 days) may have been reached, and a higher percentage of small prey would have been consumed, as hunger and feeding motivation improved foraging efficiency of stickleback fish [28,29]. However, we decided that testing a predator’s response to a slightly larger novel prey, or medium-sized B. germanica, was a more novel test of the visual prey template development by predators.

Decreasing the size difference between focal and novel prey increased consumption of novel prey. As the novel prey, medium-sized prey were 57% larger in body length than the small prey and 99% smaller than the large-focal prey (adult B. germanica), yet when delivered sequentially with large-focal prey, the first, and all subsequent, medium-novel prey were consumed by all fish. These fish had no prior exposure to medium-sized prey, so we conclude that these prey, only slightly larger than the smallest prey, fell within a visual template or search image encoded for the large-focal prey (adult B. germanica) (figure 4a ). However, was it simply an appropriate size match with the large-focal prey that triggered consumption of medium-novel prey or some other feature(s) of this prey item, such as colour, shape, pattern and movement (e.g. [18,41])? Medium-sized prey were darker and had a pattern distinct from the large-focal prey, but medium- and small-sized prey were similarly coloured and patterned (table 1) and fish consumed small-sized prey when paired with medium-sized prey, so differences in colour or pattern were unlikely explanations for consumption of the smaller, novel medium-sized prey. Also, differences in prey movement were unlikely because all prey were delivered to fish dead. Thus, it appears that decreasing the difference in prey size, or more specifically increasing the novel prey size, was key to the recognition of medium-novel prey, as we suspect this prey size now matched the trout’s initial visual prey template that was developed for the large-focal prey.

The degree of intraspecific variation in prey body size may be important for the development and flexibility of a predator’s search image template and thus predator effects on prey population dynamics. As trout’s search image expanded, or was modified to include a smaller prey (i.e. medium-sized B. germanica) recognition template (figure 4b ), all small prey previously rejected were consumed when delivered sequentially, at all ratios, with a focal prey of medium size. It is also possible that the maintenance diet of medium-sized prey further enhanced small-sized prey receptivity. These data provide strong evidence for changes in the visual template by a stepwise, or at least a two-step process, which enables predators to identify prey as suitable (figure 4). Thus, body size variation in prey populations could modulate predator–prey dynamics through a visual search image neural template that could be independent of and more dynamic than traditional foraging theories based on energetics.

We hypothesized that, just as small-novel prey might not match the search image established for the large-focal prey, extra-large prey may also fall outside this visual template. Indeed, trout did not initially consume the extra-large novel prey, indicating support for the prey–template mismatch hypothesis over those based solely on size [42] or foraging energetics [40]. The rapid incorporation of extra-large novel prey into a predator’s search image template was expected given their higher probability of detection by a visual predator [6] and because many predators use foraging strategies that maximize energy gain and minimize effort or time [22,40].

Memory of prior prey may facilitate prey recognition and the development of multiple search image templates that influence predator foraging efficiency and their effects on co-occurring prey species or size classes. The fish used in medium-focal versus small-novel prey experiment had not recently (9 days) been exposed to large-focal prey. However, all large-focal prey were consumed by these fish upon reintroduction 10 days later. Similarly, small prey continued to be consumed when paired with large focal prey, demonstrating that this new expanded medium-focal versus small-novel prey visual template was stored in memory for at least 14 days. Similarly, rainbow trout can remember food items for approximately 3 months [43] and non-prey stimuli, such as a bar to trigger the release of food, are remembered for a year by goldfish [44]. Prior studies suggest that relevant learned information should be retained while information no longer eliciting a behavioural response should be forgotten [45,46]. Prey memory extinction could be related to a trade-off in the capacity to remember old prey templates and learn new ones, especially if predators experience prey that are spatially or temporally unstable [47], such as the temporal variation in emergence of different species of insects.

Our field observations of insect emergence combined with our experimental findings have implications for intra- and inter-specific prey dynamics. Differential survivorship within or among species is expected where disparate size classes (i.e. small versus large), phenotypes [48] or abundances co-occur [49,50]. In the case of intraspecific variation in body size, our findings suggest that large body size differences between overlapping cohorts could mediate overall predation on the population. Additionally, the synchronous mass emergence of insects (e.g. cicadas [51]) and, especially, mayflies [52] is widely viewed as a predator satiation strategy. Emergence patterns among species can be sequential or synchronous [52]. As such, based on our observations and experiments, we hypothesize that among species variation in the degree of synchrony, the sequence of emergence and interspecific differences in prey phenotypic characteristics (e.g. size, shape, etc.) could influence their susceptibility to predation given the importance of the stepwise visual template matching process for prey recognition. To our knowledge, the ecological and evolutionary dynamics between prey phenological patterns and predator search image development have not been explored but warrant future research given that many predator–prey interactions are affected by prey phenotype and density.

Acknowledgements

We thank Dave Dickey in the Department of Statistics at NC State University for statistical advice, and Dan Kowalski and Rebecca Irwin for helpful comments.

Contributor Information

Jules Silverman, Email: jsilver@ncsu.edu.

Brad W. Taylor, Email: brad.taylor@ncsu.edu.

Ethics

Care and use of the fish in this study followed North Carolina State University’s Institutional Animal Care and Use Committee’s (IACUC) approval protocol no. 16-090.

Data accessibility

The data and SAS code are available from the Dryad Digital Repository [53].

Supplementary material is available online [54].

Declaration of AI use

We have not used AI-assisted technologies in creating this article.

Authors’ contributions

J.S.: conceptualization, data curation, funding acquisition, investigation, methodology, writing—original draft, writing—review and editing; B.W.T.: formal analysis, funding acquisition, visualization, writing—original draft, writing—review and editing.

Both authors gave final approval for publication and agreed to be held accountable for the work performed therein.

Conflict of interest declaration

We declare we have no competing interests.

Funding

B.W.T. was supported by a National Science Foundation Grant (grant no. 1641041).

References

  • 1. MacArthur RH, Pianka ER. 1966. On optimal use of a patchy environment. Am. Nat. 100 , 603–609. ( 10.1086/282454) [DOI] [Google Scholar]
  • 2. Pyke GH, Pulliam HR, Charnov EL. 1977. Optimal foraging: a selective review of theory and tests. Q. Rev. Biol. 52 , 137–154. ( 10.1086/409852) [DOI] [Google Scholar]
  • 3. Bannon E, Ringler NH. 1986. Optimal prey size for stream resident brown trout (Salmo trutta): tests of predictive models. Can. J. Zool. 64 , 704–713. ( 10.1139/z86-104) [DOI] [Google Scholar]
  • 4. Bryan JE, Larkin PA. 1972. Food specialization by individual trout. J. Fish. Res. Bd. Can. 29 , 1615–1624. ( 10.1139/f72-248) [DOI] [Google Scholar]
  • 5. Murdoch WW. 1969. Switching in general predators: experiments on predator specificity and stability of prey populations. Ecol. Monogr. 39 , 335–354. ( 10.2307/1942352) [DOI] [Google Scholar]
  • 6. Gendron RP. 1986. Searching for cryptic prey: evidence for optimal search rates and the formation of search images in quail. Anim. Behav. 34 , 898–912. ( 10.1016/S0003-3472(86)80076-8) [DOI] [Google Scholar]
  • 7. Tinbergen L. 1960. The natural control of insects in pinewoods. I. Factors influencing the intensity of predation by songbirds. Arch. Néerl. Zool. 13 , 265–343. ( 10.1163/036551660X00053) [DOI] [Google Scholar]
  • 8. Bond AB. 1983. Visual search and selection of natural stimuli in the pigeon: the attention threshold hypothesis. J. Exp. Psychol. Anim. Behav. Process 9 , 292–306. ( 10.1037/0097-7403.9.3.292) [DOI] [PubMed] [Google Scholar]
  • 9. Dawkins M. 1971. Perceptual changes in chicks: another look at the ‘search image’ concept. Anim. Behav. 19 , 566–574. ( 10.1016/S0003-3472(71)80113-6) [DOI] [Google Scholar]
  • 10. Pietrewicz AT, Kamil AC. 1979. Search image formation in the blue jay (Cyanocitta cristata). Science 204 , 1332–1333. ( 10.1126/science.204.4399.1332) [DOI] [PubMed] [Google Scholar]
  • 11. Kristjánsson Á, Campana G. 2010. Where perception meets memory: a review of repetition priming in visual search tasks. Atten. Percept. Psychophys. 72 , 5–18. ( 10.3758/APP.72.1.5) [DOI] [PubMed] [Google Scholar]
  • 12. Goto K, Bond AB, Burks M, Kamil AC. 2014. Visual search and attention in blue jays (Cyanocitta cristata): associative cuing and sequential priming. J. Exp. Psychol. Anim. Learn. Cogn. 40 , 185–194. ( 10.1037/xan0000019) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Bravo MJ, Farid H. 2009. The specificity of the search template. J. Vis. 9 , 34. ( 10.1167/9.1.34) [DOI] [PubMed] [Google Scholar]
  • 14. Croy MI, Hughes RN. 1991. The role of learning and memory in the feeding behaviour of the fifteen-spined stickleback, Spinachia spinachia L. Anim. Behav. 41 , 149–159. ( 10.1016/S0003-3472(05)80510-X) [DOI] [Google Scholar]
  • 15. Li KT, Wetterer JK, Hairston NG. 1985. Fish size, visual resolution, and prey selectivity. Ecology 66 , 1729–1735. ( 10.2307/2937368) [DOI] [Google Scholar]
  • 16. O’Brien WJ, Slade NA, Vinyard GL. 1976. Apparent size as the determinant of prey selection by bluegill sunfish (Lepomis Macrochirus). Ecology 57 , 1304–1310. ( 10.2307/1935055) [DOI] [Google Scholar]
  • 17. Schluessel V, Duengen D. 2015. Irrespective of size, scales, color or body shape, all fish are just fish: object categorization in the gray bamboo shark Chiloscyllium griseum. Anim. Cogn. 18 , 497–507. ( 10.1007/s10071-014-0818-0) [DOI] [PubMed] [Google Scholar]
  • 18. Reichenthal A, Ben-Tov M, Ben-Shahar O, Segev R. 2019. What pops out for you pops out for fish: four common visual features. J. Vis. 19 , 1–1. ( 10.1167/19.1.1) [DOI] [PubMed] [Google Scholar]
  • 19. Bachman RA. 1984. Foraging behavior of free-ranging wild and hatchery brown trout in a stream. Trans. Am. Fish. Soc. 113 , 1–32. () [DOI] [Google Scholar]
  • 20. Allan JD. 1978. Trout predation and the size composition of stream drift. Limnol. Oceanogr. 23 , 1231–1237. ( 10.4319/lo.1978.23.6.1231) [DOI] [Google Scholar]
  • 21. Ringler NH. 1979. Selective predation by drift-feeding brown trout (Salmo trutta). J. Fish. Res. Bd. Can. 36 , 392–403. ( 10.1139/f79-059) [DOI] [Google Scholar]
  • 22. Pyke GH. 1984. Optimal foraging theory: a critical review. Annu. Rev. Ecol. Syst. 15 , 523–575. ( 10.1146/annurev.es.15.110184.002515) [DOI] [Google Scholar]
  • 23. Guilford T, Dawkins MS. 1987. Search images not proven: a reappraisal of recent evidence. Anim. Behav. 35 , 1838–1845. ( 10.1016/S0003-3472(87)80076-3) [DOI] [Google Scholar]
  • 24. Shettleworth SJ. 1998. Cognition, evolution and behavior. New York, NY: Oxford University Press. [Google Scholar]
  • 25. Iwashita G, Yamawo A, Kondoh M. 2022. Predator discrimination of prey promotes the predator-mediated coexistence of prey species. R. Soc. Open Sci. 9 , 220859. ( 10.1098/rsos.220859) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Hughes RN, Croy MI. 1993. An experimental analysis of frequency-dependent predation (switching) in the 15-spined stickleback, Spinachia spinachia. J. Anim. Ecol. 62 , 341. ( 10.2307/5365) [DOI] [Google Scholar]
  • 27. Ringler NH. 1985. Individual and temporal variation in prey switching by brown trout, Salmo trutta . Copeia 1985 , 918. ( 10.2307/1445242) [DOI] [Google Scholar]
  • 28. Croy MI, Hughes RN. 1991. The influence of hunger on feeding behaviour and on the acquisition of learned foraging skills by the fifteen-spined stickleback, Spinachia spinachia L. Anim. Behav. 41 , 161–170. ( 10.1016/S0003-3472(05)80511-1) [DOI] [Google Scholar]
  • 29. Huntingford FA, Metcalfe NB, Thorpe JE. 1993. Social status and feeding in Atlantic salmon Salmo salar Parr: the effect of visual exposure to a dominant. Ethology 94 , 201–206. ( 10.1111/j.1439-0310.1993.tb00560.x) [DOI] [Google Scholar]
  • 30. Reiriz L, Nicieza AG, Brañta F. 1998. Prey selection by experienced and naive juvenile Atlantic salmon. J. Fish Biol. 53 , 100–114. ( 10.1111/j.1095-8649.1998.tb00113.x) [DOI] [Google Scholar]
  • 31. Angradi TR. 1992. Effects of predation risk on foraging behavior of juvenile rainbow trout (Oncorhynchus mykiss). Can. J. Zool. 70 , 355–360. ( 10.1139/z92-053) [DOI] [Google Scholar]
  • 32. Wilzbach MA, Cummins KW, Hall JD. 1986. Influence of habitat manipulations on interactions between cutthroat trout and invertebrate drift. Ecology 67 , 898–911. ( 10.2307/1939812) [DOI] [Google Scholar]
  • 33. Nislow KH, Folt CL, Parrish DL. 1999. Favorable foraging locations for young Atlantic salmon: application to habitat and population restoration. Ecol. Appl. 9 , 1085–1099. ( 10.1890/1051-0761(1999)009[1085:FFLFYA]2.0.CO;2) [DOI] [Google Scholar]
  • 34. Barrett JC, Grossman GD, Rosenfeld J. 1992. Turbidity-induced changes in reactive distance of rainbow trout. Trans. Am. Fish. Soc. 121 , 437–443. () [DOI] [Google Scholar]
  • 35. Berg L, Northcote TG. 1985. Changes in territorial, gill-flaring, and feeding behavior in juvenile coho salmon (Oncorhynchus kisutch) following short-term pulses of suspended sediment. Can. J. Fish. Aquat. Sci. 42 , 1410–1417. ( 10.1139/f85-176) [DOI] [Google Scholar]
  • 36. Elliott JM. 1976. The energetics of feeding, metabolism and growth of brown trout (Salmo trutta L.) in relation to body weight, water temperature and ration size. J. Anim. Ecol. 45 , 923. ( 10.2307/3590) [DOI] [Google Scholar]
  • 37. Dill M, Heisenberg M. 1995. Visual pattern memory without shape recognition. Phil. Trans. R. Soc. Lond. B 349 , 143–152. ( 10.1098/rstb.1995.0100) [DOI] [PubMed] [Google Scholar]
  • 38. Schuster S, Amtsfeld S. 2002. Template-matching describes visual pattern-recognition tasks in the weakly electric fish Gnathonemus petersii. J. Exp. Biol. 205 , 549–557. ( 10.1242/jeb.205.4.549) [DOI] [PubMed] [Google Scholar]
  • 39. Blough PM, Lacourse DM. 1994. Sequential priming in visual search: contributions of stimulus-driven facilitation and learned expectancies. Anim. Learn. Behav. 22 , 275–281. ( 10.3758/BF03209835) [DOI] [Google Scholar]
  • 40. Werner EE, Hall DJ. 1974. Optimal foraging and the size selection of prey by the bluegill sunfish (Lepomis Macrochirus). Ecology 55 , 1042–1052. ( 10.2307/1940354) [DOI] [Google Scholar]
  • 41. Lawrence ES, Allen JA. 1983. On the term ‘search image’. Oikos 40 , 313. ( 10.2307/3544597) [DOI] [Google Scholar]
  • 42. Zaret TM, Kerfoot WC. 1975. Fish predation on Bosmina longirostris: body-size selection versus visibility selection. Ecology 56 , 232–237. ( 10.2307/1935317) [DOI] [Google Scholar]
  • 43. Ware DM. 1971. Predation by rainbow trout (Salmo gairdneri): the effect of experience. J. Fish. Res. Bd. Can. 28 , 1847–1852. ( 10.1139/f71-279) [DOI] [Google Scholar]
  • 44. Gee P, Stephenson D, Wright DE. 1994. Temporal discrimination learning of operant feeding in goldfish (Carassius auratus). J. Exp. Anal. Behav. 62 , 1–13. ( 10.1901/jeab.1994.62-1) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Brydges NM, Heathcote RJP, Braithwaite VA. 2008. Habitat stability and predation pressure influence learning and memory in populations of three-spined sticklebacks. Anim. Behav. 75 , 935–942. ( 10.1016/j.anbehav.2007.08.005) [DOI] [PubMed] [Google Scholar]
  • 46. Pravosudov VV, Clayton NS. 2002. A test of the adaptive specialization hypothesis: population differences in caching, memory, and the hippocampus in black-capped chickadees (Poecile atricapilla). Behav. Neurosci. 116 , 515–522. ( 10.1037/0735-7044.116.4.515) [DOI] [PubMed] [Google Scholar]
  • 47. Mackney PA, Hughes RN. 1995. Foraging behaviour and memory window in sticklebacks. Behaviour 132 , 1241–1253. ( 10.1163/156853995X00559) [DOI] [Google Scholar]
  • 48. Gribben PE, Bishop MJ, O’Connor WA, Bradley DJ, Hughes AR. 2020. Intraspecific diversity in prey body size influences survivorship by conferring resistance to predation. Ecosphere 11 , e03106. ( 10.1002/ecs2.3106) [DOI] [Google Scholar]
  • 49. Allen JA, Greenwood JJD, Clarke BC, Partridge L, Robertson A, Clarke BC, Partridge L. 1988. Frequency-dependent selection by predators. Phil. Trans. R. Soc. Lond. B 319 , 485–503. ( 10.1098/rstb.1988.0061) [DOI] [PubMed] [Google Scholar]
  • 50. Leeuwen E, Jansen VAA, Bright PW. 2007. How population dynamics shape the functional response in a one-predator–two-prey system. Ecology 88 , 1571–1581. ( 10.1890/06-1335) [DOI] [PubMed] [Google Scholar]
  • 51. Karban R. 1982. Increased reproductive success at high densities and predator satiation for periodical cicadas. Ecology 63 , 321–328. ( 10.2307/1938949) [DOI] [Google Scholar]
  • 52. Sweeney BW, Vannote RL. 1982. Population synchrony in mayflies: a predator satiation hypothesis. Evolution 36 , 810. ( 10.2307/2407894) [DOI] [PubMed] [Google Scholar]
  • 53. Taylor BW, Silverman J. Data from: Prey detection by a stepwise visual template matching mechanism. Dryad Digital Repository. ( 10.5061/dryad.s7h44j1g0) [DOI]
  • 54. Silverman J, Taylor B. 2024. Supplementary material from: Prey detection by a stepwise visual template matching mechanism. Figshare. ( 10.6084/m9.figshare.c.7510442) [DOI]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data and SAS code are available from the Dryad Digital Repository [53].

Supplementary material is available online [54].


Articles from Royal Society Open Science are provided here courtesy of The Royal Society

RESOURCES