Skip to content

Better automate manual water rewards #1426

@hanhou

Description

@hanhou

We'd like to improve the algorithm of autowater delivery for motivation and bias

  1. Motivation

    • Current: give autowater when N ignore trials happen in a row, where N is defined in the curriculum:
      Image
      Image
    • New proposal:
      • TBD
  2. Bias

    • Current: implicitly addressed by giving autowater when N Unrewarded trials happen in a row
      Image
      Image
    • New proposal:
      • Inspired by Bowen's comment (and Han's experience)

        Start with manual water to overcome bias. Continue pressing manual water for a couple of trials on the choice side.
        If animals switch, then monitor closely their choices and block transitions in next a few blocks.
        If animals don't switch and continue sticking to one side, move lickspout at a step size of 100µm. And only move lickspount for 1 step size per trial away from the biased side.
        Move the lickspouts until animals switch to the other side while pressing manual water on the previously biased side in a couple of trials to ensure animals can still reach the biased side.

       (autowater only)
       while auto_water_for_bias == True:
           If |bias| >= `threshold_1` and P_L != P_R and last `N` choices are all on the side with lowest probability:
                give `M` drops of water on the better side
                wait for `X` trials
      

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions