Hostname: page-component-89b8bd64d-7zcd7 Total loading time: 0 Render date: 2026-05-07T10:24:28.554Z Has data issue: false hasContentIssue false

Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna

Published online by Cambridge University Press:  05 December 2025

Paul Berry*
Affiliation:
Plant Ecology & Nature Conservation, University of Potsdam, Zeppelinstr. 48A, 14471 Potsdam, Germany Ongava Research Centre, Ongava Game Reserve, Namibia
Anna Pauline Kraus
Affiliation:
Plant Ecology & Nature Conservation, University of Potsdam, Zeppelinstr. 48A, 14471 Potsdam, Germany
Jennifer Pohle
Affiliation:
Plant Ecology & Nature Conservation, University of Potsdam, Zeppelinstr. 48A, 14471 Potsdam, Germany
Robert Hering
Affiliation:
Plant Ecology & Nature Conservation, University of Potsdam, Zeppelinstr. 48A, 14471 Potsdam, Germany Ecology / Macroecology, University of Potsdam, Maulbeerallee 3, 14469 Potsdam, Germany
Niels Blaum
Affiliation:
Plant Ecology & Nature Conservation, University of Potsdam, Zeppelinstr. 48A, 14471 Potsdam, Germany
*
Corresponding author: Paul Berry; Email: paul.berry@orc.eco
Rights & Permissions [Opens in a new window]

Abstract

Fences are increasingly fragmenting landscapes and curtailing the movement of terrestrial wildlife. In arid and semi-arid ecosystems, where herbivores rely on movement to access patchily distributed resources, fences may cause behavioural changes with consequences for energy balance and fitness. Here, we investigate the fine-scale behavioural responses of the highly mobile springbok antelope (Antidorcas marsupialis) to encounters with a veterinary cordon fence in northern Namibia. Using supervised machine learning on tri-axial accelerometer data from collared individuals, we trained a classifier capable of identifying 12 behavioural categories with up to 91% accuracy. Applying this model to over 29,000 accelerometer records from eight free-ranging springbok, we examined behaviour in relation to fence encounters. We found significant changes in behaviour in response to fences, which depended on whether the fence was successfully crossed or not. Fence crossings were associated with shifts from grazing to browsing during crossings, as well as increased walking during and after crossings, suggesting altered foraging and increased movement. Behavioural changes were less pronounced in the case of non-crossing encounters. Our results show how accelerometry can reveal behavioural responses to anthropogenic barriers and emphasise the importance of maintaining ecological connectivity for migratory ungulates.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. Study area with locations of the two study sites in northern Namibia. For ground-truthing, we observed behaviour of three collared springbok at the Sophienhof private game reserve. For predicting fence behaviour, acceleration data of eight collared springbok were recorded at the Etosha Heights private reserve.

Figure 1

Figure 2. Representative acceleration patterns for each of the 12 behavioural categories in springbok. The y-axis shows the raw output of the tri-axial accelerometers and the x-axis shows the time, i.e., length of one burst. In the tri-axial accelerometers used, the x-axis represents surge, the y-axis sway and the z-axis heave.

Figure 2

Table 1. Proportion of mean balanced accuracy per behavioural category for the leave one-individual-out (LOIO) approach and the pooled cross-validation approach trained on all three individuals. Sleeping and salt-licking were not observed in every springbok and were excluded from the LOIO approach (“–”).

Figure 3

Figure 3. Confusion matrix of the 12 behavioural categories of springbok based on the five-fold cross-validation results using the pooled dataset. Blue dots represent correct predictions, red dots represent incorrect predictions. Numbers indicate the number of bursts for each combination of prediction and observation. The recall rate (correctly predicted/total observations) per behavioural category is indicated at the top of the figure, while precision (correctly predicted/total predictions) is indicated on the right.

Figure 4

Table 2. Fixed effects from generalised linear mixed models (GLMMs) predicting the probability of exhibiting each behaviour (browsing, grazing, walking, ruminating and resting) as a function of time relative to the fence encounter (before, during, after), the type of encounter (crossing or non-crossing) and their interaction. All models were fitted with a binomial response distribution using a logit link function. Estimates are shown on the log-odds scale.

Figure 5

Table 3. Random intercept variance estimates from GLMMs for each behaviour, showing between-individual (animal ID) and between-encounter (encounter ID) variation. These random effects account for repeated behavioural observations within animals and encounters, allowing for generalisation beyond sampled individuals and events.

Figure 6

Figure 4. Predicted probabilities (±95% confidence intervals) for each behaviour (browsing, grazing, walking, ruminating, resting) across the three time periods (before, during and after) relative to fence encounters, shown separately for each encounter type (crossing and non-crossing). Predictions are derived from generalised linear mixed models with binomial response distributions.

Figure 7

Table 4. Estimated pairwise comparisons (odds ratios) of behavioural probabilities before, during and after fence encounters for crossing and non-crossing events, based on GLMMs with binomial response distributions. Results are shown for five behaviours: browsing, grazing, walking, ruminating and resting. Tukey-adjusted p-values account for multiple comparisons within each behaviour. Tests were performed on the log odds ratio scale.

Figure 8

Figure 5. Example GPS tracks of springbok with inferred behaviours before, during and after fence encounters. (A) and (B) show quick fence crossings, where individuals walk towards the presumably known fence gap position and cross the fence to feed (A) or to drink (B). (C) and (D) show different non-cross encounter types where the fence acts as a barrier. In (C), the springbok stays and rests when encountering the fence, while in (D) the individual travels along the fence. Background Sentinel 2 (Bands 3, 4, 5) image, March 2020 (contains modified Copernicus Sentinel data [2020]).

Author comment: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R0/PR1

Comments

No accompanying comment.

Review: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R0/PR2

Conflict of interest statement

Reviewer declares none.

Comments

The manuscript DRY-2024-0017 by Kraus et al evaluates acceleration-based data to classify and predict antelope behavior, specifically when encountering fences. The work is mostly methodological, although the second part attempts to understand real responses to fence encounters. However, this second part however lacks proper analyses or tests to assess the statistical significance of the results obtained. I have three main suggestions or comments for the manuscript.

1. As mentioned above, the second part of the paper (assessing the impact of fence encounters on free-ranging individuals in Etosha) lacks any proper statistical analysis. Any differences described from Figure 4 in the results and the discussion sections regarding this objective are, I understand, based from the mere observation of the figure and their numbers, which is not acceptable. The authors should include proper statistical tests to make any inference on the impact of the fence on the behavior of the animals.

2. The manuscript has two clear objectives (1) to classify and predict behavior using data from Sophienhof private game farm, and (2) to describe the behavioral effects of a fence on a real case study in Etosha. The first objective is purely methodological while the second is both methodological and applied. However this clear distinction is lost in the Methods. I would ask the authors to rearrange the subsections in Methods according to these two main Objectives. Otherwise the Methods section is very difficult to follow. The section headings in the Results section are also not very intuitive as the first part is titled “ACC ground-truthing” and the second “…predictions”. Overall I would ask the authors to have a more explicit structure of the article around these two Objectives. In the Abstract these two objectives, as well as their results should be more explicitly delineated too.

3. Finally, I would ask the authors to make a stronger effort to highlight the (novel) contributions of the work, both in terms of methods and in terms of the knowledge gained about springbook behavior.

Review: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R0/PR3

Conflict of interest statement

Reviewer declares none.

Comments

This is an interesting article in which the authors investigate the use of machine learning classifiers to characterize Springbok behavior using accelerometer data. The successful behavior classification is interesting, although it is not particularly new (as rightly pointed out in the references), and no new classification methods are proposed. In this sense, I appreciate that they go beyond the purely technical classification exercise and propose an interesting application, where they try to understand the effect of fences in Springbok behavior.

My main concern is that the conclusions about the effect of fencing on Springbok behaviour could be more elaborated. Perhaps too much attention is given to classifying many behaviors that are potentially irrelevant for the application at hand (or at least not properly justified - e.g., why do you need to distinguish between foraging and grazing or saltliking from drinking? honest question, maybe there is a reason, but it is not explained), while the main research question is left mostly unanswered.

Major issues:

- There is no clear hypothesis as of why and how fences could affect Springbok behaviour. Defining a hypothesis and testing it could help drive the paper and the reader through the results and discussion.

- I could not find criteria defined to identify changes in behaviour. There is little comparison of behaviour before, while and after fence crossings and Figure 4 does not show clear patterns in this sense. So could we conclude that fences have an effect on behaviour?

Then, in my opinion, the article needs some re-structuring. There are too many subsections, and some parragraphs in the introduction and discussion would be better placed in the methods sections. I will now point out some comments about the text to exemplify what I mean:

- This is a matter of style, but I think that the acrononym ACC is unnecessary. One could just say “acceleration” or “accelerometer” in most cases.

- Lines 83-97: I know this is sometimes contentious, but to me this section contains many details that belong in the methods sections. I think a succint parragraph describing the high-level objectives would be enough.

- “ACC ground-thuthing” and “Fence behaviour predictions” headers could be removed or at least they should fall under “Study areas”. These are still Study areas.

- Lines 167-169: I understand that there is a paper about the rabc package, but some details about the main methods this package uses would be welcome here.

- Line 173: mean, variance, standard deviation, ... of what?

- Line 187-188: It is strange that changing the feature set that got the best result for the pooled dataset, by another set (that was already tested during feature selection with the pooled dataset?) resulted in better results.

- Line 206: What do you mean by hyperparameter tuning?

- Lines 217-229: I might have missed it, but did you use all 11 individuals for investigating fence behaviours? This is answered later, but perhaps these details could go here.

- Lines 227-229: I think this is a critical sentence in the methods, because it captures what the objective of the analysis is. I think it could be clearer. In my mind, to see if fences have an effect on behaviour, the analysis should focus on before, while and after fence encounter. Also, how are you going to compare them? This is the methods section, so here we need details. It seems to me that you somehow need to determine if the variation within before, while, after periods, is less/more than the variation between before, while and after encounters.

- Line 255: Here we see that you used 8 individuals, presumably those not used for training the classifier? I think that should be pointed out in the methods.

- Lines 286-306: I like this paragraph. It is critical and gives possible explanations for the incorrect classification of behaviours. Yet, it makes me think whether it was necessary to define so many behaviours in the first place? Would all those behaviours be useful for investigating fence encounters?

Line 315: What does the majority mean? If it was 7 or so then it is pretty much what others have achieved?

Line 335: What are high balanced accuracies?

Recommendation: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R0/PR4

Comments

Both reviewers point out that major improvements on the manuscript are need. I would highlight that both reviews agree on three aspects that should be addressed, and I encourage the authors to do so:

1. Both reviews appreciate that the work includes a methodological and a more applied second part. However this second part, on behavioral impacts of fence encounters, needs a major overhaul. Explicit hypotheses, proper statistical testing, and more elaborated discussion and conclusions, are needed.

2. The manuscript, particularly the methods, but also the introduction (See Reviewer 2 comment on L83-97) needs to be restructured in a way that it is easier to understand what was done and how. The authors should make a clear distinction between, study areas, individuals studied and analyses for each part (methodological and applied objectives).

3. The novelty or contributions of the work regarding the two parts (methodological and applied) should be highlighted and explained in more detail.

Decision: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R0/PR5

Comments

No accompanying comment.

Author comment: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R1/PR6

Comments

No accompanying comment.

Review: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R1/PR7

Conflict of interest statement

Reviewer declares none.

Comments

The authors have done a good job addressing the comments, and I think the manuscript has really improved. I have a few minor comments, many of them related to better integrating the (new) hypotheses in the different sections:

(indicated line numbers are those of the Latex document that do not correspond to actual lines numbers.)

P3 L54. The second objective needs some more framing (where does the hypothesis come from?), and relate it to the first objective. For example, “Second, we use the behavioral classifications obtained in Objective 1 and use them to assess …” or something along that line.

P6 L32. The authors could include a brief explanation of why two different approaches were used for validations, as it is done in the abstract. Are they complementary? Is there high uncertainty with either approach?

P7 L36-52. There are specifications on different modeling approaches (walking when fence crossing, grazing when not crossing, etc.) but unrelated to the hypothesis testing. It would be clarifying to relate modeling approaches to the different hypotheses.

P9 L1-28. The hypothesis tested should be somehow mentioned in the results.

Review: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R1/PR8

Conflict of interest statement

Reviewer declares none.

Comments

In this revision, the authors have made a great job at clearly dividing the paper in two parts: 1) a practical exercise where they classify the behaviour of springbok using machine learning classifiers, and 2) an application where they use the trained classifier to understand springbok behaviour around fences. The structure of the paper is now a lot clearer.

In the first part, the authors test how useful these classifiers are for categorising sequences of accelerometer Springbok data (bursts). It is interesting to know the details of this particular exercise, even if it is just how successful the classifiers were. However, there are previous examples for other species, and the only novelty is the classification of the springbok data in particular.

For me, the main novelty of the paper is the application of these classifiers to investigate changes in springbok behaviour around fences. The new formulation of hypotheses and statistical tests are much appreciated and help drive the paper and support the statements. However, I still struggle to understand what the authors want to prove, and I think the analysis and discussion of the accelerometer data around fences need more thought. I would appreciate more clarity on the selection of hypothesis and more support in the discussion of results in relation to fence behaviour.

To exemplify what I mean in relation to hypotheses:

- The hypotheses seem to have been formulated to match the results. Hypotheses should be formulated before seeing the data. This might have been the case, but then they should be properly reasoned. For example, why did you expect springbok to exhibit more walking when they cross fences? Would you not expect them to patrol fences when they don’t manage to cross? Why is this particular question relevant? Why did you test the occurrence of grazing behaviour? Why would animals go near fences to graze? What implication does this have?

- In relation to the tests, why did you test only walking for crossing events and only grazing for non-crossing events? To me, understanding whether springbok graze after crossing seems like an equally interesting question, and it would support the statement that “When individuals crossed the fence, they often moved to the other side for foraging” (page 9, lines 7-8). In general, I would appreciate that any such statements would be supported by a test or metric of some sort. But what I think is most important is that all these tests work towards supporting meaningful findings.

In relation to discussion of results, here are some examples:

- Lines 58-60 page 11. If animals patrolled the fence, we would see an increase of walking “during” fence encounters, but according to table 2 we observe the main increase in walking “after” fence encounter, right? So I’m not sure this is supported by the data.

- Lines 3-6 page 12. Why do you think increased walking after crossing fences reflects a heightened state of agitation? Could it also be that, as you mentioned elsewhere, the animals were trying to reach grazing pastures or drinking water?

- Line 9 page 12. If animals cannot move freely would they not patrol the fence in search of a gap? The claim that animals graze because they can’t move seems to be unsupported.

- Lines 12-15 page 12. Hering et al 2022a seem to suggest that impermeable fences tend to produce an increase in energy expenditure, which would not agree with the findings in this study, right?

Overall, the discussion needs to be supported more convincingly.

In addition to the issues mentioned above:

- The classification of encounters in three types: quick, trace and stay, seems unnecessary, as this is barely discussed. Instead, what is discussed are crossing vs non-crossing events.

Other minor issues:

- Page 9, line 53, I don’t think you “developed” a classifier (correct me if I am wrong), think you “trained” an already developed classifier that comes with the rabc package.

- I am not sure I see the point of line 29 of page 11. It is the first time that “complex social behaviours” are mentioned. Why is this relevant?

- Lines 29 to 32, page 11 - the fact that rare or unobserved behaviours are likely to be miss-classified as the most frequent behaviour seem to have implications for this study and perhaps these should be elaborated further?

- Lines 32 to 36, page 11 - why would time of the year influence classification? Do you mean that grazing, for example, would have a different signal in different seasons? Could this also affect the results presented in this paper?

Recommendation: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R1/PR9

Comments

The authors have done a commendable job addressing the main comments from the reviewers, and both reviewers agree that the manuscript has improved considerably. I completely agree.

One of the earlier points was the need to include proper hypotheses for the second part of the study, along with suitable statistical tests. While tests have now been added and the hypotheses are stated, both reviewers point out that the hypotheses still need to be better justified and integrated into the manuscript. As currently presented, they lack a clear rationale and are not sufficiently considered in the description of methods and results. In the discussion, the hypotheses should be used more explicitly as a framework to advance understanding of fencing behavior. The authors are encouraged to strengthen the second part of the study by structuring it more clearly around the hypotheses, rather than merely appending them. One of the reviewers provides several specific examples to guide improvements in this regard.

Decision: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R1/PR10

Comments

No accompanying comment.

Author comment: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R2/PR11

Comments

No accompanying comment.

Review: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R2/PR12

Conflict of interest statement

Reviewer declares none.

Comments

I congratulate the authors for addressing my concerns about the previous version. I think the objectives of the paper are now much clearer and it is easier to link the problems presented in the introduction with the results and the discussion. The discussion section, although still quite speculative, is also more convincing and better supported.

I only have a couple of minor comments:

- There is no mention to the software used for fitting the GLMs. I assume they were fitted in R (packages?), but there is only mention to R in the previous section. I would also make the general recommendation of making the code available, but that depends on the journal’s policies.

- Page 6, line 12. You mentioned 26,568 classified bursts, how many encounters do these correspond to? Mean and standard deviation of bursts per encounter? Are they evenly distributed across individuals?

- In the discussion, you expose what happens in terms of browsing, grazing, walking, ruminating and resting. That’s fine, but I think it would help the reader get a take-home message if you could paint a picture where all of this is integrated in a couple of sentences? Something like: "Based on our observations, the main purpose of springbok crossing fences seems to be looking for feeding and drinking spots [which speaks about connectivity]. However, they don’t always cross the fences, in which case they might alter their feeding behavior and resting behavior, etc, etc, ...". Something that glues together all the findings.

Review: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R2/PR13

Conflict of interest statement

Reviewer declares none.

Comments

Comments have been properly addressed; however, this issue remains unresolved. Specifically, the results are not clearly framed in relation to the hypotheses. The authors should explicitly link each set of findings to the corresponding hypothesis, even if it is just by starting the relevant sections or lines with sentences such as ‘Regarding our first hypothesis…’Otherwise results are difficult to follow.

Recommendation: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R2/PR14

Comments

The reviewers acknowledge that their previous comments have been addressed and have suggested only a few minor changes. Please ensure these are incorporated. Given that this is likely the final round of reviews, kindly double-check that the reference list is complete and that all figures and tables comply with the journal’s formatting requirements.

Decision: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R2/PR15

Comments

No accompanying comment.

Author comment: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R3/PR16

Comments

No accompanying comment.

Recommendation: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R3/PR17

Comments

The authors have done an excellent job. My only very minor comment is to adjust the final sentence of both the Summary and the Conclusion, where it is stated that the work emphasizes the importance of maintaining ecological connectivity for migratory ungulates. While this statement may be true and of clear conservation and ecological relevance, it is not a conclusion that follows directly from the present work. The manuscript focuses on inferring behavioral states from accelerometer data and on documenting short-term behavioral changes when animals encounter fences. It does not address the broader, long-term demographic or ecological consequences of these barriers for the species, which would require additional evidence beyond the scope of this study. As such, this concluding statement should be downplayed or removed.

Once this minor wording adjustment is made, the manuscript can be accepted from my side.

Decision: Applying accelerometer-based behaviour classification to antelope–fence encounters in an African savanna — R3/PR18

Comments

No accompanying comment.