maze research

biobserve slide

Understanding cognitive flexibility requires behavioral tasks that capture more than one single choice. Traditional rodent assays often rely on single decisions or static environments, which limit the ability to study how animals adapt their strategies across changing conditions.

To address this, I designed and piloted a novel, low-cost, modular labyrinth maze assay that measures multi-step, navigation-based decision-making in mice. The system enables rapid reconfiguration of paths, allowing each trial to contain at least six decision nodes and support precise analysis of mPFC-dependent cognitive flexibility.

This project involved full ownership of assay design, hardware integration/automation, protocol development, and validation, from concept through data collection and presentation.

Presentation at UCSF Undergraduate Computational Neuroscience Symposium 2025

Poster at the Society for Neuroscience 2025 conference

design goals

The primary goals of this project were to:

  • Capture multi-decision behavioral sequences, not just single-choice outcomes
  • Enable rapid task reconfiguration to probe flexibility rather than learned routes
  • Improve experimental efficiency and reproducibility through automation
  • Create an accessible and low-cost system that could be iterated quickly

To meet these goals I built the maze using LEGO modular components, which allowed paths and intersections to be rearranged between sessions without rebuilding the apparatus. Each intersection functions as a discrete decision node, enabling behavioral analysis of strategies taken.

lego maze

Maze structure: Modular LEGO-based labyrinth with configurable corridors, dead ends, and intersections

Decision nodes: Each intersection represents a defined choice point

Task flexibility: Walls and routes can be reconfigured between trials or days

This design moves beyond traditional hippocampal-dependent spatial memory tasks and single-decision mPFC digging assays by explicitly probing how animals adapt decision strategies when environmental rules change.

automation and instrumentation

To improve consistency and reduce hands-on intervention during trials, I integrated automation into the assay:

  • Designed and programmed Arduino-based controllers to track trial state and reward eligibility
  • Integrated beam breaker sensors to detect animal position and task progression
  • Implemented automated reward delivery, reducing human error and timing variability

To meet these goals I built the maze using LEGO modular components, which allowed paths and intersections to be rearranged between sessions without rebuilding the apparatus. Each intersection functions as a discrete decision node, enabling behavioral analysis of strategies taken.

experimental development

Because this assay was novel, no established protocol existed. I:

  • Wrote experimental procedures from scratch, including trial structure and timelines
  • Defined measurable behavioral outputs aligned with cognitive flexibility
  • Iteratively refined the maze and automation based on pilot data
  • Troubleshot unanticipated errors, including sensor misfires, ambiguous decision boundaries, and structural deficits