menu_book

Knowledge Base

Documentation, guides, and resources for Noldus products.

Deep Learning Behavior Recognition – Adjusting Classification Thresholds When Behaviors Are Misassigned (e.g., Grooming

Last updated: Nov 23, 2026

Problem

EthoVision XT's automatic behavior recognition (deep learning module) is assigning the wrong behavior label at certain moments – for example, scoring 'grooming' when the animal is clearly resting, or misclassifying one behavior as another when two behaviors have similar probability scores.

Details

EthoVision XT's behavior recognition module calculates a probability for each trained behavior at every sample, and all probabilities sum to 100%. By default, the behavior with the highest probability is scored for that sample. When two behaviors have very similar probabilities (e.g., both near 50%), or when no single behavior exceeds a minimum confidence threshold (approximately 25% by default), the classification can appear incorrect or nothing is scored. This is commonly reported when behaviours such as grooming and resting are visually similar in certain postures, or when a behavior classifier trained on one dataset is applied to a slightly different dataset (e.g., videos transferred from EthoVision XT 18 to XT 19 on a new PC). This applies to EthoVision XT 19 with the Automatic Behavior Recognition module.

Solution

1. **Understand the scoring logic.** At every sample, EthoVision assigns the behavior with the highest probability score. If two behaviors are very close in probability, the 'winner' may not match your visual interpretation. This is normal when behaviors are morphologically similar.
2. **Review probability thresholds in your Analysis profile.**
- Open your experiment and go to **Analysis > Analysis profile**.
- Find the behavior recognition output settings.
- You can set a minimum probability threshold so that a behavior is only scored when its probability exceeds that value (e.g., only score 'grooming' when probability ≥ 40%). Samples below the threshold are left unscored rather than assigned to the most probable behavior.
3. **Check which behaviors are most easily confused.** Export or preview the probability time series for the problem behaviors side by side. If grooming and resting probabilities are consistently close (e.g., 55% vs. 45%), consider whether your classifier training data contains enough clearly distinct examples of each.
4. **Retrain or refine your classifier if needed.** If the classifier was trained on videos from a different system or recording setup, its performance may be reduced on new videos. Add representative training examples from your new videos and retrain the model.
5. **Validate results with manual scoring on a subset.** Compare automatic behavior recognition output against manual scoring on 5–10% of your trials to quantify accuracy before using results in analysis.
6. **If the Automatic Behavior Recognition module does not appear or returns empty results**, see the separate article *Automatic Behavior Recognition Module Not Visible or Returning Empty Results in EthoVision XT 19*.

If you need further help tuning classification thresholds or retraining a classifier, open a support request at https://noldus.com/app/home.

shopping_bag
check_circle

Thank you!

We'll get back to you shortly.

error

Please correct the following errors:

error

error

error

error

By clicking Submit, you consent to Noldus processing your data as described in our privacy policy.

check_circle

Thank you for registering!

We look forward to seeing you at the NoldusViso launch event.

error

Please correct the following errors:

error

error

error

error

error

By clicking Register, you consent to Noldus processing your data as described in our privacy policy.