stat.MLMar 20, 2026

CogFormer: Learn All Your Models Once

Authors: Jerry M. Huang, Lukas Schumacher, Niek Stevenson, Stefan T. Radev

Organizations: Center for Modeling, Simulation, and Imaging in Medicine (CeMSIM), Rensselaer Polytechnic Institute, Troy, New York, United States · Center for Economic Psychology, University of Basel, Basel, Switzerland · Amsterdam Mathematical Psychology Lab, University of Amsterdam , Amsterdam, Netherlands

Abstract

Simulation-based inference (SBI) with neural networks has accelerated and transformed cognitive modeling workflows. SBI enables modelers to fit complex models that were previously difficult or impossible to estimate, while also allowing rapid estimation across large numbers of datasets. However, the utility of SBI for iterating over varying modeling assumptions remains limited: changes to parameterizations, generative functions, priors, and design variables all necessitate model retraining, thereby diminishing the benefits of amortization. To address these issues, we pilot the CogFormer, a meta-amortized framework for cognitive modeling. Our framework trains a transformer-based architecture that remains valid across a combinatorial number of structurally similar models, allowing for changing data types, parameters, design matrices, and sample sizes. We present promising quantitative results across families of decision-making models for binary, multi-alternative, and continuous responses. Our evaluation suggests that CogFormer can accurately estimate parameters across model families with minimal amortization offset, making it a potentially powerful engine that catalyzes cognitive modeling workflows.

Figures & tables

Appendix figures & tables62 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Hypothesis-guided discovery of cognitive algorithms via program refinement

    Oct 1, 2026Huiwen Alex Yang, Mark K. Ho, Bill D. ThompsonComputational Cognitive ModelingAutomated Algorithm Discovery

  2. Think-Aloud Reshapes Automated Cognitive Model Discovery Beyond Behavior

    May 6, 2026Hanbo Xie, Akshay K. Jagadish, Lan Pan +1Computational Cognitive ModelingHuman Behavior Modeling

  3. Adapting Neural Posterior Estimators for Simulation-Based Inference in Agent-Based Models

    Jan 12, 2026Junyao Zhang, Jinglai Li, Junqi TangSimulation-Based InferenceNeural Posterior Estimation