You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Behavioral Foundation Model for Dynamic Foraging — master tracking issue
Umbrella issue tracking the prioritized analysis roadmap for the disRNN/GRU behavioral foundation model. Child issues below are grouped by priority, mirroring the Prioritized analysis TODO (project plan) in the planning doc.
The one-paragraph scientific state. On 2-way L/R choice the model is near a predictability ceiling: held-out-mouse likelihood saturates by ~100 mice, and the population mean already predicts a new mouse to within 0.3% of full adaptation. But the foundation-model claim survives, on three legs: (1) the population GRU beats a per-mouse classical RL baseline by +0.0136 at D=614 on 100% of held-out mice (p3e-26) — the dominant signal; (2) on the 3-way ignore target likelihood keeps climbing with capacity and never plateaus (H=256/D=614 = 0.7315), so the ceiling was a property of the metric, not the model; (3) on synthetic ground truth, embeddings recover true generative parameters and model family at 97.5–100%, exactly where a correctly-specified baseline breaks down. The interpretable disRNN replicates that recovery for a ~4–6 point likelihood cost — interpretability is nearly free.
The two gaps that most threaten the story:
Complete baseline models incl. hierarchical Bayes #20 — no hierarchical-Bayes population baseline. The RL baseline is fit per-mouse independently, so it has no D-axis. The GRU's headline win is partly a "population vs per-mouse" win by construction. This is the fair-comparison baseline and it is not built.
Where P1 stands: essentially not started.#24/#26/#28/#29 have no code. The chain has a clear entry point — #22's missing logistic-regression readout blocks #26 and half of #29 — and the cheapest first win is #27/#28, where embedding_space_analysis.py already plots subject/session embeddings against metadata and just needs pointing at the D=614 checkpoint.
New modeling direction (#57). A committed design note — docs/design-hierarchical-vi-foundation-model.md, #54, not yet implemented — reframes the FM as an explicit hierarchical mixed-effects model trained by amortized VI (VAE-style). Its key claim: the cognitive hierarchical-Bayes model (#20) and the VI foundation model are the same statistical object, differing only in whether the per-unit latent is hand-specified cognitive parameters or a learned RNN latent. #57 is therefore the other arm of #20, not a replacement for it — and the two must share a held-out matrix and metric from the start, or they can't be compared later without a re-run.
P0 — Critical: model training, development, pipeline
Behavioral Foundation Model for Dynamic Foraging — master tracking issue
Umbrella issue tracking the prioritized analysis roadmap for the disRNN/GRU behavioral foundation model. Child issues below are grouped by priority, mirroring the Prioritized analysis TODO (project plan) in the planning doc.
📄 Live planning doc: https://docs.google.com/document/d/1Xk4Zi9QtQcUNJs4SMvZEb_HbGq0rU8wW3NT8OyNaet4/edit?usp=sharing
Related repos:
aind-disrnn-wrapper·aind-disrnn-dispatcher·aind-disrnn-result-access| Project board: org project #184Target: manuscript by June 2027.
📊 Status — 2026-07-12 (4 / 17 original closed · 2 new children added)
Four committed studies now exist under
studies/:01-gru-scaling-law02-gru-scaling-law-ignore03-disrnn-beta-scan04-gru-vs-disrnn-embedding-recoveryThe one-paragraph scientific state. On 2-way L/R choice the model is near a predictability ceiling: held-out-mouse likelihood saturates by ~100 mice, and the population mean already predicts a new mouse to within
0.3% of full adaptation. But the foundation-model claim survives, on three legs: (1) the population GRU beats a per-mouse classical RL baseline by +0.0136 at D=614 on 100% of held-out mice (p3e-26) — the dominant signal; (2) on the 3-way ignore target likelihood keeps climbing with capacity and never plateaus (H=256/D=614 = 0.7315), so the ceiling was a property of the metric, not the model; (3) on synthetic ground truth, embeddings recover true generative parameters and model family at 97.5–100%, exactly where a correctly-specified baseline breaks down. The interpretable disRNN replicates that recovery for a ~4–6 point likelihood cost — interpretability is nearly free.The two gaps that most threaten the story:
03) is at D=100. The disRNN has never been trained on the full 600–800-mouse dataset.Where P1 stands: essentially not started. #24/#26/#28/#29 have no code. The chain has a clear entry point — #22's missing logistic-regression readout blocks #26 and half of #29 — and the cheapest first win is #27/#28, where
embedding_space_analysis.pyalready plots subject/session embeddings against metadata and just needs pointing at the D=614 checkpoint.New modeling direction (#57). A committed design note —
docs/design-hierarchical-vi-foundation-model.md, #54, not yet implemented — reframes the FM as an explicit hierarchical mixed-effects model trained by amortized VI (VAE-style). Its key claim: the cognitive hierarchical-Bayes model (#20) and the VI foundation model are the same statistical object, differing only in whether the per-unit latent is hand-specified cognitive parameters or a learned RNN latent. #57 is therefore the other arm of #20, not a replacement for it — and the two must share a held-out matrix and metric from the start, or they can't be compared later without a re-run.P0 — Critical: model training, development, pipeline
P1 — Model & embedding analysis (interpretability, mechanism)
P2 — Extensions
04; cheaper than its P2 label19 child issues (17 original + #57, #58) · priorities mirrored on the project board's Priority field.