JAX-accelerated toolkit for computational memory research
jaxcmr is a Python library for specifying and evaluating computational models of memory search. It leverages a compositional design and JAX’s support for easy just-in-time compilation to streamline model prototyping and simulation so researchers can explore more ideas in less time.
Key Capabilities- Behavioral analyses — SPC, CRP, PNR, and other standard measures- CMR model variants — Semantic, repetition, EEG extensions- Model fitting — Differential evolution with likelihood or MSE loss- JAX acceleration — JIT compilation, vmap batching, explicit random state## Why JAX?jaxcmr uses JAX for fast, reproducible simulations:- JIT compilation — Functions compile to optimized code on first call- vmap batching — Vectorize across trials without writing loops- Explicit random state — PRNGKey ensures reproducible results- PyTree models — Model state integrates with JAX transformationsSee Why JAX for details.## Explore::: {.grid}::: {.g-col-12 .g-col-md-4}### GuideCore abstractions and patterns.:::::: {.g-col-12 .g-col-md-4}### AnalysesBehavioral measures for recall data.:::::: {.g-col-12 .g-col-md-4}### ModelsCMR and memory search model variants.:::::: {.g-col-12 .g-col-md-4}### EvaluationFitting, simulation, and model comparison.:::::: {.g-col-12 .g-col-md-4}### WorkflowResearch practice and tooling.:::::: {.g-col-12 .g-col-md-4}### GitHubSource code and issue tracker.::::::