Prior bias#
This experiment tests whether a small prior changes choices mainly when sensory evidence is ambiguous. It measures the psychometric effect and the throughput of the compiled stateful rollout.
Prompt#
Does a small prior bias change a decision mainly when the evidence is ambiguous? Build a noisy two-choice brain circuit, compare unbiased and slightly biased decisions from weak to strong evidence, show several choices unfolding, and plot the resulting choice probabilities and measured simulation speed.
Agent decision path#
Classify the task as a point-neuron stochastic decision circuit.
Route two LIF choice populations to
brainpy-statewith recurrent excitation and mutual inhibition.Define the prior as
+0.006 nAagainst evidence from-0.030to+0.030 nA.Give every evidence, prior, and trial lane independent neural and random state.
Use
for_loopfor evidence accumulation andvmap2for the trial ensemble.Compile the complete reset-and-rollout operation with state-aware
jit.Separate first-call throughput from steady compiled throughput.
Check that ambiguous-evidence choice shifts exceed strong-evidence shifts.
Result#
Mean prior-induced choice shift is 0.245 under ambiguous evidence and 0.002 under strong evidence. Measured throughput is 1,177 decisions/s including compilation and 1,671 decisions/s after compilation on the recorded machine.
Fig. 7 The behavioral effect and measured execution rate are reported in the same experiment without conflating first-call and steady compiled timing.#
With-BrainX skill/Without skill comparison#
With BrainX skill
Result measured · matched benchmark pending
The selected run records first-call and steady compiled throughput. A fair comparison still needs matched hardware, versions, lane count, warm-up, and scientific checks.
Without BrainX skill
Matched run not collected
Report both compilation-inclusive and steady timings, then verify the same ambiguous-versus-strong evidence effect.