# The CogLearn Toolkit for Unity: Validating a virtual reality paradigm for human avoidance learning

**Authors:** Marina Rodriguez Lopez, Huaiyu Liu, Federico Mancinelli, Jack Brookes, Dominik R. Bach

PMC · DOI: 10.3758/s13428-025-02630-5 · Behavior Research Methods · 2025-04-29

## TL;DR

The CogLearn Toolkit for Unity is a virtual reality platform validated for studying how people learn to avoid harmful stimuli in naturalistic settings.

## Contribution

A publicly available wireless VR platform for studying avoidance learning with naturalistic, unconstrained movements and an uncomfortable sound as a stimulus.

## Key findings

- Participants successfully acquired avoidance behavior across all five experiments.
- Mean distance from the US location during the CS presentation was identified as a sensitive measure of avoidance.
- Avoidance was stronger for CS+ than CS- and showed reduced levels during extinction with approach instructions.

## Abstract

Avoidance learning encompasses the acquisition of behaviours that enable individuals to evade or withdraw from potentially harmful stimuli, prior to their occurrence. Maladaptive avoidance is a crucial feature of anxiety and trauma-related disorders. In biological and clinical settings, avoidance behaviours usually involve uninstructed, idiosyncratic and complex motor actions. However, there is a lack of laboratory paradigms that allow investigating how such actions are acquired. To fill this gap, we developed a wireless virtual reality platform to investigate avoidance learning in naturalistic settings, with an uncomfortable sound as unconditioned stimulus (US), a physically plausible avoidance action, and allowing for unconstrained movements. This platform, the CogLearn Toolkit for Unity, is publicly available and allows conducting various types of learning experiments with simple text files as input. We validated this platform in an exploration-confirmation approach with five independent experiments. Overall, participants showed successful acquisition of avoidance behaviour in all experiments. In three exploration experiments, we refined the paradigm and identified mean distance from US location during conditioned stimulus (CS) presentation (before US occurs) as a sensitive measure of avoidance. Two confirmation experiments revealed stronger avoidance for CS+ than CS- during avoidance learning, whether or not this phase was preceded by Pavlovian acquisition. Furthermore, we demonstrated reduced avoidance during extinction with instruction to approach CS, but persistent residual avoidance during this phase. We found evidence of reinstatement in one of two confirmation experiments. Overall, our study provides robust evidence supporting the efficacy of our paradigm in studying avoidance learning in conditions of high ecological relevance.

The online version contains supplementary material available at 10.3758/s13428-025-02630-5.

## Linked entities

- **Diseases:** anxiety (MONDO:0005618)

## Full-text entities

- **Diseases:** trauma-related disorders (MESH:D000068099), anxiety (MESH:D001007)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12041112/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12041112/full.md

## References

7 references — full list in the complete paper: https://tomesphere.com/paper/PMC12041112/full.md

---
Source: https://tomesphere.com/paper/PMC12041112