Figures and data

Task, computational models, and pain ratings.
(A) Three-armed restless bandit task (Method). Patients chose one of three options (face, car, house), followed by reward or no-reward feedback. (B) Example reward probability trajectories across trials. (C) Volatile Kalman filter model implementation (left panel) and Bayesian model comparison results (right two panels). The model computes trial-by-trial value and uncertainty estimates for each bandit. The volatile Kalman filter with relative value and relative uncertainty incorporated into the softmax function outperformed other models. Model abbreviations: RW = Rescorla-Wagner; Dual RW = Rescorla-Wagner with positive and negative learning rates; KF = Kalman filter; VKF-RV+RU = volatile Kalman filter with relative value and uncertainty in softmax function; VKF-RV = volatile Kalman filter with relative value in softmax function (model validation analyses see Method). Relative value (RV) and relative uncertainty (RU) were calculated as the ratio of the chosen option’s value/uncertainty to the sum across all options (see Method). (D) TMD patients show significantly higher pain ratings on the visual analog scale (VAS) than controls. ***p<0.001.

Temporal dynamics of model parameters.
(A–C) Trial-by-trial estimates of volatility, uncertainty, and learning rate in TMD and control groups. (D–F) Linear regression slopes for each parameter over time. Controls showed adaptive decreases in parameter values (all p<0.001); TMD participants did not (all p>0.05). Controls also showed significantly decreasing trends than TMD patients as well (all p < 0.01). **p<0.01, ***p<0.001. n.s, non-significant.

Psychiatric symptom burden and mediation analysis.
(A–D) Group differences in apathy, depression, pain catastrophizing, and EQ-5D. (E) The mediation model shows that impaired uncertainty adaptation mediates the relationship between TMD status and apathy (the indirect effect was significant. p<0.06 (marginally significant), *p < 0.05, **p<0.01, ***p < 0.001.