Thanks to visit codestin.com
Credit goes to github.com

Skip to content

RothkopfLab/naba

Repository files navigation

Inverse decision-making using neural amortized Bayesian actors

This repository contains the official implementation of the inverse decision-making method presented in the ICLR 2025 paper

Straub, D., Niehues, T. F., Peters, J., & Rothkopf, C. A. (2025). Inverse decision-making using neural amortized Bayesian actors. ICLR 2025.

Requirements

To install requirements:

python -m pip install -r requirements.txt

Training

To generate an evaluation dataset used during training, run:

python generate_eval_data.py --cost <cost_function_name>

To train an action network, run this command:

python train.py --cost <cost_function_name>

As of now, the following cost functions are available: QuadraticCost, QuadraticCostQuadraticEffort, AsymmetricQuadratic, Linex, AbsoluteCost, AbsoluteCostQuadraticEffort, InvertedGaussian

Inference

To run inference on a simulated dataset, run:

python run_inference.py --cost <cost_function_name>

Disentangling priors and costs

To run the script that disentangles prior and costs using multiple levels of perceptual uncertainty, run:

python disentangling.py

Results

results

About

Neural amortized Bayesian actors for inference of uncertainties, priors, and costs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages