Categorical Bayes filtering for computational phenotyping in adaptive learning
Junxi Chen, Payam Piray
NeurIPS 2026
Abstract. Adaptive learning depends on inferring the sources of uncertainty in the environment. Simultaneous estimation of two such sources, volatility and stochasticity, is difficult, but critical for adaptive learning. The two require opposite adjustments of the learning rate, yet both inflate the variance of experienced outcomes, and no closed-form solution exists for dissociating them. Particle filters are the standard method for this joint inference, but their likelihood is stochastic and their objective is not differentiable, so fitting requires derivative-free methods that add estimator noise. This is a serious problem for individual-difference analyses, because estimator noise attenuates any correlation between fitted parameters and other measures. Here we introduce the Categorical Bayes Filter (CBF), a deterministic alternative. The CBF keeps the conditional structure of recent particle-filter models, but replaces the stochastic outer layer with a categorical distribution over a quantile grid, parameterized by differentiable Beta quantile functions. Fitting is therefore evidence maximization with an exact, deterministic, and differentiable marginal likelihood. In a large-scale study of a volatility-stochasticity task, the CBF outperformed a state-of-the-art particle filter in predicting trial-by-trial empirical learning rates, its dispersion parameters captured volatility-blind and stochasticity-blind participants, and its trial-by-trial ambiguity predicted response times. Fitted CBF parameters also predicted psychiatric symptoms in the direction previously hypothesized. More broadly, the CBF applies to any particle-filter model with continuous latent parameters, and makes individual-level analyses with such models practical in cognitive modeling and computational psychiatry.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper introduces the Categorical Bayes Filter (CBF), a deterministic, differentiable alternative to Rao-Blackwellized particle filtering (RBPF) for jointly inferring volatility and stochasticity. It replaces RBPF's stochastic outer layer with a categorical distribution over a differentiably parameterized quantile grid, yielding an exact marginal likelihood and removing estimator noise that obscures individual differences. On a volatility–stochasticity task (N = 643), CBF recovers a volatility-blind / stochasticity-blind cross-over that RBPF misses, plus an ambiguity signal predicting held-out response times.
All three reviewers recommend acceptance. The rebuttal addressed the main concerns. The cross-over survives a group-free, μ-controlled analysis and predicts independent psychiatric measures the behavioral classifier does not and re-run with matched estimators, unchanged; grid sensitivity holds; a second task with an independent RBPF replicates the identifiability gap; and the novel components were clearly delineated.
The main limitations I see are that the human results rest on a single dataset, and that the method needs a pre-specified, low-dimensional parameter space.
Overall, I find this a useful contribution to the literature and recommend acceptance.
Final justification
The paper introduces the Categorical Bayes Filter (CBF), a deterministic, differentiable alternative to Rao-Blackwellized particle filtering (RBPF) for jointly inferring volatility and stochasticity. It replaces RBPF's stochastic outer layer with a categorical distribution over a differentiably parameterized quantile grid, yielding an exact marginal likelihood and removing estimator noise that obscures individual differences. On a volatility–stochasticity task (N = 643), CBF recovers a volatility-blind / stochasticity-blind cross-over that RBPF misses, plus an ambiguity signal predicting held-out response times.
All three reviewers recommend acceptance. The rebuttal addressed the main concerns. The cross-over survives a group-free, μ-controlled analysis and predicts independent psychiatric measures the behavioral classifier does not and re-run with matched estimators, unchanged; grid sensitivity holds; a second task with an independent RBPF replicates the identifiability gap; and the novel components were clearly delineated.
The main limitations I see are that the human results rest on a single dataset, and that the method needs a pre-specified, low-dimensional parameter space.
Overall, I find this a useful contribution to the literature and recommend acceptance.
Read meta-review
Meta-review
The paper introduces the Categorical Bayes Filter (CBF), a deterministic, differentiable alternative to Rao-Blackwellized particle filtering (RBPF) for jointly inferring volatility and stochasticity. It replaces RBPF's stochastic outer layer with a categorical distribution over a differentiably parameterized quantile grid, yielding an exact marginal likelihood and removing estimator noise that obscures individual differences. On a volatility–stochasticity task (N = 643), CBF recovers a volatility-blind / stochasticity-blind cross-over that RBPF misses, plus an ambiguity signal predicting held-out response times.
All three reviewers recommend acceptance. The rebuttal addressed the main concerns. The cross-over survives a group-free, μ-controlled analysis and predicts independent psychiatric measures the behavioral classifier does not and re-run with matched estimators, unchanged; grid sensitivity holds; a second task with an independent RBPF replicates the identifiability gap; and the novel components were clearly delineated.
The main limitations I see are that the human results rest on a single dataset, and that the method needs a pre-specified, low-dimensional parameter space.
Overall, I find this a useful contribution to the literature and recommend acceptance.
Final justification
The paper introduces the Categorical Bayes Filter (CBF), a deterministic, differentiable alternative to Rao-Blackwellized particle filtering (RBPF) for jointly inferring volatility and stochasticity. It replaces RBPF's stochastic outer layer with a categorical distribution over a differentiably parameterized quantile grid, yielding an exact marginal likelihood and removing estimator noise that obscures individual differences. On a volatility–stochasticity task (N = 643), CBF recovers a volatility-blind / stochasticity-blind cross-over that RBPF misses, plus an ambiguity signal predicting held-out response times.
All three reviewers recommend acceptance. The rebuttal addressed the main concerns. The cross-over survives a group-free, μ-controlled analysis and predicts independent psychiatric measures the behavioral classifier does not and re-run with matched estimators, unchanged; grid sensitivity holds; a second task with an independent RBPF replicates the identifiability gap; and the novel components were clearly delineated.
The main limitations I see are that the human results rest on a single dataset, and that the method needs a pre-specified, low-dimensional parameter space.
Overall, I find this a useful contribution to the literature and recommend acceptance.
3 comments
Response to the Initial Meta-Review (1/2)
We thank the AC for the clear and prioritized meta-review. Summary of new material:
- Validation of the cross-over against previously unreported psychiatric data from ~400 participants (W1).
- A group-free, μ-controlled analysis across all 643 subjects (W1).
- A matched-estimator model comparison, with BIC evidence for both models (W2).
- A grid sensitivity analysis over atom count and support (W3).
- A second task, with an independent RBPF implementation (W4).
The psychiatric data deserve emphasis: they test the paper's phenotyping claim against clinical measures rather than behavior alone, and enter neither the fitting nor the classification. Full tables are in our per-reviewer responses.
W1. Circularity / bias of the headline cross-over result. Bottom line: the cross-over is not an artifact of the classification or analysis choices, on three counts.
(i) Measures outside the fitting loop. In the psychiatric data (n = 401), η_s was the only parameter associated with a worry-weighted symptom profile (r = −0.157, p = 0.0016, surviving Bonferroni across the four CBF parameters at p = 0.006), in the direction the dual-noise framework predicts a priori for a hyposensitive stochasticity prior. η_v, μ_v, μ_s, both RBPF parameters, and both model-agnostic behavioral effects were null, so it is the deterministic estimator, not the stochastic one, that recovers the trait-relevant structure. The asymmetry is decisive: the behavioral stochasticity effect on which the classification is based predicts nothing external (p > 0.5), despite good split-half reliability, while η_s does. A tautological relationship cannot produce that.
(ii) The relationship survives removing the classification. Across all N = 643 subjects, with no classification and no groups, η_v tracks the volatility main effect (Spearman r = 0.454) and η_s the stochasticity main effect (r = −0.533), both unchanged when μ is partialled out. The effect is therefore not an artifact of classifying on μ fit jointly with η. Figure 3 is the discretized form of this continuous relationship.
(iii) μ does not sit near the grid edge. The fitted μ_v and μ_s distributions for both blind subgroups span essentially the full admissible range and overlap the rest of the sample on minima, maxima and quartiles alike, so the classification does not select a boundary-concentrated subpopulation. Full tables are in our response to Reviewer dWEC (W1 / Q1-Q2).
W2. Unfair / mismatched RBPF comparisons. Bottom line: the re-run requested for Sec. 4.1 is already what the paper reports, and the estimator mismatch in Sec. 4.5 is real and now fixed. On Sec. 4.1, the RBPF arm is already run on RBPF-generated data: the analysis is a self-recovery design in which each model generates its own data and recovers its own parameters, as stated at lines 202 to 204 ("even when the data are generated from the model itself"). We will make this explicit in the text. On Sec. 4.5 the estimators were indeed not matched. We refit the CBF for all 643 subjects by maximum likelihood in the native parameter space, computed evidence for both models by BIC, which penalizes the CBF for its extra parameter, and re-ran random-effects Bayesian model selection: the CBF is strongly favored with a protected exceedance probability of 1.000. This matched analysis will replace Table 3.
W3. Sensitivity to grid hyperparameters. Bottom line: we performed the requested analyses and the cross-over holds at every setting tested (p < 0.05). We refit the full sample varying grid resolution (M ∈ {5, 10, 20}) and support (upper bound ∈ {50, 70, 100}). Identifiability of the dispersion parameter does not hinge on these choices: the cross-over is preserved down to M = 5 (25 atoms in total). On the atom-count versus compute trade-off, cost scales as M² but remains seconds per subject on CPU at M = 10, so it is not binding. Tables will be added as an appendix.
W4. Generality unsupported. Bottom line: we analyzed a new task with a new instance of RBPF, in which the CBF beats the RBPF in the critical self-recovery analysis, showing the CBF's main advantage for computational phenotyping. The task is social latent-cause inference [Mahmoodi et al., 2024, Neuron], where the latent variable is a discrete responsibility assignment over three interacting sources rather than a continuous volatility and stochasticity split, in a social rather than perceptual domain, and the baseline is a different RBPF instance, Rao-Blackwellized over discrete responsibility. Under self-recovery the CBF is near ceiling (r = 0.95 and 0.81 for the grid mean and dispersion of its dynamics parameter, and 0.95 for softmax β) while RBPF self-recovery is substantially noisier (0.59 with 0.72 for the same softmax β), echoing the gap in Sec. 4.1. The identifiability cost of the RBPF is therefore not specific to one task, structure, or implementation. We will report this in the main text, with details in the Appendix.
We have now responded to all reviewers and to the meta-review with extensive new analyses. Two reviewers have since raised their scores. We remain happy to address any further questions before the end of the discussion period today.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses an interesting parameter inference problem for adaptive learning in computational cognitive modeling: adaptive learning requires distinguishing two sources of uncertainty, environmental volatility and observational stochasticity, which demand opposite learning rates yet both inflate observation variance, forming a coupled joint inference problem that cannot be reduced to fixing one source and inferring the other. Particle filtering, especially Rao-Blackwellized particle filtering (RBPF), is a natural tool here, but its likelihood is stochastic and non-differentiable in the parameters, forcing derivative-free fitting that adds estimation noise to already subtle individual-difference analyses. The authors propose the Categorical Bayes Filter (CBF), which keeps RBPF's separation of tractable conditional inference from intractable parameter inference but replaces the stochastic outer layer with a categorical distribution over a quantile grid parameterized by a differentiable Beta quantile function. On a 2×2 volatility-stochasticity task with N=643 subjects, CBF's fitted dispersion parameters show a crossover phenotype between volatility-blind and stochasticity-blind subjects, which RBPF fails to reproduce on the same data. CBF also recovers parameters reliably on synthetic data, outperforms RBPF in trial-by-trial learning-rate prediction, produces a trial-wise ambiguity signal that predicts held-out reaction times, and wins decisively in random-effects Bayesian model selection. The authors argue that this deterministic, differentiable framework opens up individual-level analyses in cognitive modeling and computational psychiatry that stochastic methods previously hampered.
Strengths and weaknesses
Strengths:
- The problem is real and cleanly motivated. Particle filtering's stochastic, non-differentiable likelihood forces derivative-free fitting that adds noise to already subtle individual-difference effects, a recognized problem in cognitive modeling. The authors frame volatility versus stochasticity as a competitive joint inference problem clearly motivates why standard hierarchical approximations is not enough.
- It pairs interpretability with a mechanistic explanation. The crossover phenotype is directly relevant to computational psychiatry, and the authors explain why RBPF fails.
- The empirical work is solid. Five corroborating lines of evidence (parameter recovery, crossover phenotype, learning-rate prediction, held-out reaction times, model selection) support the main claim.
Weaknesses:
- Validated on only a single task and dataset, leaving the generality claims unfulfilled. Although N=643 is large, all results come from one Bird Task. The discussion claims the framework extends to conditioning, category learning, syntactic processing, and more, but these remain prospects has no second task or model structure to support them.
- From what I understand from this paper, CBF is essentially a modernization of classic grid/point-mass filtering plus Beta-quantile parameterization, gradient-optimized grid positions, and a C51-style fixed support. The authors are commendably candid about these roots, but the paper does not clearly delineate how large the purely methodological increment is or which parts are irreplaceable.
Questions
The grid support [1,70] and the number of atoms per dimension (M=10) are fixed across subjects without any sensitivity analysis. Since the core conclusions, particularly the crossover phenotype, depend on estimating the dispersion parameter , whose identifiability may depend on grid resolution and support range. So, could you report how robust the main results are to these choices?
Limitations
Yes
Final justification
Both of my concerns were addressed. The delineation of what is genuinely new versus what is assembled from grid filtering and C51 is clear and convincing. The sensitivity analysis shows the cross-over holds across a 4x range in atom count and 2x in support, which was my main worry since the headline result rests on identifiability of the dispersion parameter.
One thing remain open, which is also highlighted by the AC: the empirical results still rest on a single task and dataset. The added task is a self-recovery comparison on simulated agents, so it shows the identifiability advantage transfers but is not a second case where CBF recovers something RBPF misses.
From my perspective, the methodological contribution stands on its own, and the N=643 results held up under the checks raised in review. I see this as a limit on how much has been demonstrated, not as the paper claiming more than it shows, so I raise to 5.
Formatting concerns
N/A
3 comments
Rebuttal
We thank the reviewer for an accurate summary and for identifying the two issues most central to the paper's scope. New material in this response:
- A second task with an independent RBPF implementation, to be reported in the main text (W1).
- An explicit delineation of which components of the CBF are new (W2).
- A full grid sensitivity analysis (Q1).
W1 / Q1(a). Generality beyond a single task and dataset
Bottom line: the reliability gap between CBF and RBPF replicates on a second, structurally different task with a different RBPF implementation. We applied the CBF to a social latent-cause inference task [Mahmoodi et al., 2024, Neuron], in which participants attribute jointly produced outcomes to one of three agents presented in pairs. The task differs from the Bird Task on every axis the method depends on: the latent cause is a discrete responsibility assignment (pairwise responsibilities z₁₂, z₁₃, z₂₃ over shared abilities) rather than a continuous volatility/stochasticity split, with three interacting sources rather than a 2×2 factorial, in a social rather than perceptual domain; and the baseline is a different RBPF instance (Rao-Blackwellized over discrete responsibility). Self-recovery (each model fit to data generated by its own process; n = 50 simulated subjects), with Spearman correlations between true and recovered parameters:
| Model | Dynamics | β (softmax) |
|---|---|---|
| CBF | μ = 0.95, η = 0.81 | 0.95 |
| RBPF | 0.59 | 0.72 |
(CBF notation as in the main text: grid mean μ and dispersion η over the dynamics parameter. The RBPF's dynamics parameter is a diffusion probability, i.e., the probability that a binary responsibility flips, a different quantity, so we leave it unsymbolized to avoid collision with the CBF μ.)
The CBF attains near-ceiling self-recovery of the parameters it generated; the RBPF recovers its own substantially more noisily (r = 0.59 for its dynamics parameter), closely echoing the reliability gap on the Bird task (r = 0.69/0.67; Sec. 4.1). Notably, this task has a separate, dynamics-independent softmax β parameter shared by both models; RBPF recovery of this parameter is also much noisier than the CBF's (RBPF: r = 0.72 vs. CBF: r = 0.95). This is a second task, a second model structure, and a second RBPF on which the deterministic likelihood yields materially more reliable individual-level estimates, turning the cross-task applicability that the Discussion presents as a prospect into a demonstrated transfer. We will report this result in the main text, with full details in the Appendix.
W2. Which components are new vs. assembled
Bottom line: two components are new and irreplaceable; the rest is deliberately assembled, and we will delineate this explicitly in Sec. 2. Classic grid/point-mass filters fix the grid a priori; C51 fixes atom locations and updates only masses; DPVI optimizes particle configurations by discrete search. What is new in the CBF is (i) making grid placement itself the object of gradient-based optimization, via a differentiable quantile-function parameterization of the support, and (ii) the identity (Eq. 4) that the summed log-normalizers of the discrete filter equal the exact marginal likelihood of the grid prior. Together these turn filtering plus fitting into a single smooth evidence-maximization (empirical-Bayes) procedure over few interpretable parameters, and each is irreplaceable: drop the quantile parameterization and the objective is no longer differentiable in the support; drop the exact-evidence objective and one is back to optimizing a stochastic estimate. The empirical contribution, that this combination recovers individual-level structure a state-of-the-art stochastic protocol cannot (the cross-over result, and the second-task self-recovery above), is what elevates the assembly above its parts.
Q1(b). Sensitivity to grid support and M
Bottom line: the cross-over, including the identifiability of η, holds at every setting tested (p < 0.05 for all settings). We re-fit the full sample varying M ∈ {5, 10, 20} and the support upper bound v_max = s_max ∈ {50, 70, 100}. Mean fitted dispersion (±SEM); VB = volatility-blind (n = 76), SB = stochasticity-blind (n = 79):
Atoms per dimension (max = 70):
| Setting | VB η_v | SB η_v | VB η_s | SB η_s |
|---|---|---|---|---|
| M = 5 | 0.125 (.019) | 0.283 (.021) | 0.385 (.018) | 0.125 (.019) |
| M = 10 (paper) | 0.112 (.017) | 0.260 (.020) | 0.391 (.018) | 0.111 (.019) |
| M = 20 | 0.119 (.017) | 0.261 (.020) | 0.385 (.019) | 0.120 (.020) |
Support upper bound (M = 10):
| Setting | VB η_v | SB η_v | VB η_s | SB η_s |
|---|---|---|---|---|
| max = 50 | 0.129 (.019) | 0.263 (.020) | 0.378 (.019) | 0.157 (.021) |
| max = 70 (paper) | 0.112 (.017) | 0.260 (.020) | 0.391 (.018) | 0.111 (.019) |
| max = 100 | 0.125 (.020) | 0.274 (.022) | 0.398 (.017) | 0.124 (.020) |
Estimates are stable across a 4× range in grid resolution and a 2× range in support. These tables will be added as an appendix.
I thank the authors for their detailed rebuttal. It addresses both of my concerns. My remaining reservation is that the empirical results still rest on a single dataset, but the methodological contribution stands on its own. I will raise to 5.
We thank the reviewer for the careful reading and for raising the score. The remaining reservation is fair: although we now report a second task, the human empirical results do come from a single dataset, and we will state this plainly in the limitations rather than leave it implicit.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces Categorical Bayes Filter (CBF) to better capture cognitive phenomena with smaller effect size that were undetected due to limitation in methods. Authors do so by replacing the stochastic fitting protocols with differentiable methods. They compare their model against Rao-Blackwellized particle filter (RBPF), used in Piray and Daw (2024), and show that CBF explains the human experimental data better than RBPF. Furthermore, authors show CBF captures phenotyping pattern that is missed in RBPF.
Strengths and weaknesses
Strengths:
The results shown in Figure 3, where CBF captures the cross-over phenotyping in human subjects that was missed out in RBPF is genuinely interesting.
Weaknesses: • My primary concern is whether or not the variance estimate in CBF in Figure 3 is biased because mu is near the edge. • This paper only shows one example in Figure 3, raising question about how widely applicable this method is. • Trial-by-trial prediction of response times is also done in the original paper, but it is not discussed in the current paper. • There may be some typos, and some mismatch in the description and what they do. The results in figure 2 does not look like r=1.00 to me. It is unclear whether the simulated data has 200 trials or 50 trials. "Subjects were classified as volatility-blind when their volatility main effect was below¯s" in this sentence, it is probably \bar{v} instead of \bar{s}
Questions
Can you plot the distribution of \mu_v and \mu_s and see if the volatility or stochasticity-blind subjects have values close to the edge or not? Also can you discuss how separating subjects into groups with \mu that is fitted together with \eta and then comparing \eta may or may not bias the results? Can you show another case where CBF discovers phenomenon that is missed by RBPF? In the discussion, it says CBF can be used for conditioning, category learning, and syntactic processing. One more example will make this paper a lot stronger. Can you discuss how CBF's reaction-time prediction is different from the model-agnostic response time analysis in Piray and Daw (2024)? How does the number of atoms per dimension affect the variance? Does the cross-over effect still hold with different number of atoms per dimension? Also, can you discuss the tradeoff between number of atoms and computation cost? Can you address the above comments about potential typographical error and mismatch in the description?
Limitations
yes
Formatting concerns
none
2 comments
Rebuttal
We thank the reviewer for precise questions, each answered below with new analyses:
- Fitted μ distributions showing the blind subgroups are not edge-concentrated (Q1).
- A group-free, μ-controlled analysis ruling out joint-fitting bias (Q2).
- A second task with an independent RBPF implementation (Q3).
- Grid sensitivity including the atom-count vs. compute trade-off (Q5), plus the RT clarification (Q4) and the flagged typos (Q6).
W1 / Q1-Q2. Edge bias of the variance estimate, and joint fitting of μ and η
Bottom line: the blind subgroups are not near the μ edge, and the η-behavior relationship survives with no groups and with μ controlled, so the cross-over is not an artifact of either.
(Q1) Fitted μ distributions for each blind subgroup span the full admissible range and overlap the rest of the sample throughout:
Volatility-blind (n = 76) vs. rest (n = 567)
| Measure | Group | Mean (SEM) | Median | [25%, 75%] | Min-Max |
|---|---|---|---|---|---|
| μ_v | Vol-blind | 0.374 (.038) | 0.269 | [0.094, 0.571] | 0.001-0.996 |
| μ_v | Rest | 0.299 (.013) | 0.170 | [0.076, 0.467] | 0.000-0.996 |
| μ_s | Vol-blind | 0.333 (.042) | 0.102 | [0.023, 0.748] | 0.000-0.982 |
| μ_s | Rest | 0.271 (.014) | 0.107 | [0.027, 0.406] | 0.000-1.000 |
Stochasticity-blind (n = 79) vs. rest (n = 564)
| Measure | Group | Mean (SEM) | Median | [25%, 75%] | Min-Max |
|---|---|---|---|---|---|
| μ_v | Sto-blind | 0.220 (.027) | 0.135 | [0.063, 0.264] | 0.002-0.972 |
| μ_v | Rest | 0.320 (.013) | 0.184 | [0.079, 0.511] | 0.000-0.996 |
| μ_s | Sto-blind | 0.257 (.031) | 0.180 | [0.083, 0.314] | 0.000-0.999 |
| μ_s | Rest | 0.281 (.014) | 0.095 | [0.025, 0.520] | 0.000-1.000 |
The subgroups are ordinary slices of the full μ distribution, not boundary-selected subpopulations.
(Q2) We tested the η-behavior relationship directly across all N = 643 subjects, with no thresholding and no group labels:
| Dispersion | Behavioral effect | Spearman r | Partial r (controlling μ) |
|---|---|---|---|
| η_v | Volatility main effect | 0.454 (p < 0.001) | 0.454 (p < 0.001) |
| η_s | Stochasticity main effect | −0.533 (p < 0.001) | −0.533 (p < 0.001) |
Each dispersion parameter tracks its own behavioral dimension, unchanged when μ is partialled out; the off-dimension association is null (η_v with the stochasticity effect: r = 0.01, p = 0.79). Because this analysis controls for μ, it answers the joint-fitting concern; because it uses no groups, it contains no classify-then-compare step in which the result could be built in. Fig. 3 is the discretized form of this continuous relationship. As a further control, the RBPF fit to the identical groups does not reproduce the cross-over (Fig. 3B). Both analyses will be included as a new appendix in the final version.
Takeaway: neither μ-edge effects nor joint fitting can account for the cross-over.
W2 / Q3. A second task, and a second RBPF
Bottom line: the reliability gap between CBF and RBPF replicates on a second task with a different RBPF implementation. We applied the CBF to a social latent-cause inference task [Mahmoodi et al., 2024, Neuron], in which participants attribute jointly produced outcomes to one of three agents presented in pairs. The task differs from the Bird Task on every relevant axis: the latent cause is a discrete responsibility assignment (pairwise responsibilities z₁₂, z₁₃, z₂₃ over shared abilities) rather than a continuous volatility/stochasticity split, with three interacting sources rather than a 2×2 factorial, in a social rather than perceptual domain; and the baseline is a different RBPF instance (Rao-Blackwellized over discrete responsibility). Self-recovery (each model fit to data generated by its own process; n = 50 simulated subjects), with Spearman correlations between true and recovered parameters:
| Model | Dynamics | β (softmax) |
|---|---|---|
| CBF | μ = 0.95, η = 0.81 | 0.95 |
| RBPF | 0.59 | 0.72 |
(CBF notation as in the main text: grid mean μ and dispersion η over the dynamics parameter. The RBPF's dynamics parameter is a diffusion probability, i.e., the probability that a binary responsibility flips, a different quantity, so we leave it unsymbolized to avoid collision with the CBF μ.)
The CBF attains near-ceiling self-recovery of the parameters it generated; RBPF self-recovery is substantially noisier (r = 0.59 for its dynamics parameter), closely echoing the reliability gap on the Bird task (r = 0.69/0.67; Sec. 4.1). Notably, this task has a separate, dynamics-independent softmax β parameter shared by both models; RBPF recovery of this parameter is also much noisier than the CBF's (RBPF: r = 0.72 vs. CBF: r = 0.95). The identifiability advantage of our approach is therefore not specific to one task, one model structure, or one RBPF implementation. We will report this result in the main text, with full details in the Appendix.
W3 / Q4. Relation to the response-time analysis in Piray & Daw (2024)
The reviewer is right that we should have discussed this. The original paper's RT analysis is model-agnostic, relating response times to behavioral/task quantities. Ours is different in kind: the predictor is the model-derived ambiguity of the trial-level posterior (the spread of the likelihood across the volatility-stochasticity atom grid), a quantity that exists only given a fitted trial-by-trial posterior and is deterministic given the data. It is a held-out prediction from a model fit to choices alone, and it survives controls for squared prediction error, likelihood mean, and estimated volatility and stochasticity (Table 2), so it is not a redescription of surprise or update-size effects but a process-level signature of the explaining-away computation itself. We will add a paragraph explicitly contrasting the two analyses.
Q5. Number of atoms: effect on estimates, robustness, and compute trade-off
Bottom line: the cross-over holds at every setting (p < 0.05 for all settings), and M = 10 is already in the compute-saturated regime. We re-fit the full sample at M ∈ {5, 10, 20} and, for completeness, at support max ∈ {50, 70, 100}. Mean fitted dispersion (±SEM); VB = volatility-blind (n = 76), SB = stochasticity-blind (n = 79):
Atoms per dimension (max = 70):
| Setting | VB η_v | SB η_v | VB η_s | SB η_s |
|---|---|---|---|---|
| M = 5 | 0.125 (.019) | 0.283 (.021) | 0.385 (.018) | 0.125 (.019) |
| M = 10 (paper) | 0.112 (.017) | 0.260 (.020) | 0.391 (.018) | 0.111 (.019) |
| M = 20 | 0.119 (.017) | 0.261 (.020) | 0.385 (.019) | 0.120 (.020) |
Support upper bound (M = 10):
| Setting | VB η_v | SB η_v | VB η_s | SB η_s |
|---|---|---|---|---|
| max = 50 | 0.129 (.019) | 0.263 (.020) | 0.378 (.019) | 0.157 (.021) |
| max = 70 (paper) | 0.112 (.017) | 0.260 (.020) | 0.391 (.018) | 0.111 (.019) |
| max = 100 | 0.125 (.020) | 0.274 (.022) | 0.398 (.017) | 0.124 (.020) |
Estimates change by ≈0.01 between M = 10 and M = 20, and even M = 5 (25 atoms total) preserves the cross-over, so it is not a fine-resolution artifact. Per-trial compute is K = M² conditional Kalman updates, so cost scales quadratically in M: M = 20 costs 4× the M = 10 baseline for no material change in estimates, placing M = 10 (≈5 seconds per subject, CPU-only) already in the saturated regime.
W4 / Q6. Typos and description mismatches
- Fig. 2, r = 1.00: the reported values are Spearman rank correlations (rounded to two decimals), insensitive to the visible monotone shrinkage near the boundary; rank order is preserved almost perfectly even where points deviate from the diagonal. We will report Pearson r alongside and state the rounding in the caption.
- 200 vs. 50 trials: Fig. 1 is an illustrative synthetic simulation using 200 trials/block to show asymptotic tracking; all recovery analyses and all human data use 50 trials/block, matching the task. We will state this in both captions.
- "below s̄" in the volatility-blind definition: the sentence is correct as written; s̄ is deliberate, not a typo for v̄. The goal is not to select subjects merely below average on the volatility effect, which is what the threshold v̄ would do, and which would sweep in many mildly adaptive subjects. It is to select subjects whose volatility effect is flipped: negative, and at least as negative as the normatively expected negative effect, for which the population-mean stochasticity effect s̄ (< 0) is the natural benchmark. Concretely, volatility-blind requires (i) volatility main effect < s̄ (reversed, with magnitude comparable to a typical normative negative effect) and (ii) stochasticity main effect < s̄ (adaptive sensitivity on stochasticity above the population average); the mirror-image criteria for stochasticity-blindness use v̄ (> 0). We agree the passage should make this logic explicit and will rewrite it with the inequalities displayed.
With the discussion window closing August 3, we remain available for any questions on our response, and are glad to run further analyses if useful.
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces CBF (Categorical Bayes Filter) which is a deterministic method to model how people learn under uncertainty. The authors look at a problem where the subjects need to differentiate volatility (change in the world) and stochasticity (noisiness of observations). Current methods rely on Particle-filters which are stochastic and non-differentiable, whereas CBF is deterministic and differentiable, making it more stable and precise. Through experiments, the authors show that CBF succeeds in settings where prior methods can’t handle.
Strengths and weaknesses
Strengths:
- The paper targets a specific and well defined problem where existing tools are not good enough. Moreover, the paper’s mathematical framework is very rigorous and principled.
- The results on human data in sections 4.3 and 4.4 are very convincing, due to the empirical nature of the data and the held-out response-time prediction.
- The method proposed is computationally cheap relative to existing alternatives.
Weaknesses:
- The comparison in section 4.1 between CBF and its competitor RBPF seems unfair as the synthetic data used was generated by CBF’s own model. Also, the model selection result in 4.5 isn’t using the same evidence estimators for both models. Hence, the scores might reflect this mismatch rather than genuine capability.
- The cross-over result (Section 4.2) seems circular as the result is guaranteed by design. The subjects were labelled “blind” by their behavior and the narrow prior which was used to explain this is, by design of the model, also the cause of that behavior.
- The method had several limitations: a. The method is dependent on the existence of subjects with dimension-specific pathology in the sample and this isn’t acknowledged. b. It also requires the number of parameters to be chosen before and can’t scale to high dimensions which the authors themselves acknowledge but remain significant drawbacks of the method.
Questions
- How sensitive is the method for different hyper parameter choices (grid and boundaries)?
- Could you provide the comparison from 4.1 when the synthetic data is generated by the RBPF? (or some neutral generative model)
- Could you clarify if the same evidence estimator was used for both models in Section 4.5? And if not what would be the results if you used the same?
Limitations
Yes
Final justification
Detailed in comment.
Formatting concerns
None
3 comments
Rebuttal
We thank the reviewer for a careful review. New material in this response:
- A clarification that the Sec. 4.1 recovery analysis was already a self-recovery design for both models (W1a).
- A new, fully matched model comparison (maximum-likelihood refit, BIC for both models); the result is unchanged (W1b).
- Three analyses showing the cross-over is not circular, including validation against previously unreported psychiatric data from ~400 participants (W2).
- A full grid sensitivity analysis (Q1).
W1. Fairness of the RBPF comparisons (also Q2, Q3)
(a) Synthetic data in Sec. 4.1 (Q2). Bottom line: Sec. 4.1 is already a self-recovery design for both models. Each model generated its own synthetic data and was fit to recover its own parameters, so the RBPF's r = 0.69/0.67 reflects the RBPF failing on RBPF-generated data, the most favorable test it can be given; no shared generator could tilt the comparison. The manuscript states this at the end of Sec. 4.1 ("even when the data are generated from the model itself", lines 202-204), but the paragraph evidently invited the CBF-generated reading, and we will revise its opening to state the design explicitly. The same design on a second, structurally different task (a social latent-cause inference task with a different RBPF instance) gives the same picture: near-ceiling CBF self-recovery (Spearman r = 0.95 and 0.81 for the grid mean μ and dispersion η of its dynamics parameter, 0.95 for softmax β) versus substantially noisier RBPF self-recovery (r = 0.59 for its dynamics parameter, 0.72 for β).
(b) Evidence estimators in Sec. 4.5 (Q3). Bottom line: the reviewer is correct that the estimators were not matched; we have re-run the comparison fully matched, and the result is unchanged. We refit the CBF for all N = 643 subjects by maximum likelihood, directly in the native parameter space (μ ∈ (0, 1), η ∈ (0, 0.5)), with no prior; evidence for both models was computed by BIC, penalizing the CBF for its extra free parameter; random-effects Bayesian model selection was re-run:
| Model | Expected model frequency | Exceedance probability | PXP |
|---|---|---|---|
| CBF | 0.65 | 1.000 | 1.000 |
| RBPF | 0.35 | 0.000 | 0.000 |
We will report this matched analysis in place of the original Table 3.
W2. Circularity of the cross-over result
Bottom line: the cross-over is recoverable with no grouping at all and is validated against independent psychiatric measures collected in ~400 participants.
(1) No groups. Across all N = 643 subjects, with no thresholding and no labels, η_v tracks the model-agnostic volatility main effect (Spearman r = 0.454, p < 0.001) and η_s tracks the stochasticity main effect (r = −0.533, p < 0.001); both are unchanged when μ is partialled out, and the off-dimension association is null (r = 0.01, p = 0.79). With no classify-then-compare step, the result cannot be built in by the classification; Fig. 3 is the discretized form of this continuous relationship.
(2) Measures outside the fitting loop. A subset of participants completed a psychiatric questionnaire battery after the task. Our N = 643 sample combines the two datasets reported in [11] (n = 223 and n = 420); the psychiatric battery analyzed here was administered in the second (n = 401 after attention-check exclusions). These questionnaire data are noted but not reported in [11]; they were made available to us by its authors, enter neither the fitting nor the classification, and the analyses here are previously unreported. The battery comprises the PSWQ-8 (worry) and the 7 Up 7 Down (yielding separate hypomania and depression scores), giving three symptom scores per participant. The framework of [1] predicts that a hyposensitive stochasticity prior (low η_s) is the signature associated with the intolerance of uncertainty and chronic worry characteristic of anxiety.
We proceeded in two steps. First, each fitted parameter was regressed on a design matrix containing all three scores. η_s was the only parameter showing any association: negatively with worry (b = −0.79, p = 0.0018) and positively with depression (b = +0.65, p = 0.011), with hypomania null (p = 0.40); no other CBF parameter, η_v included, showed any association (all p > 0.10). Second, because worry and depression are collinear in this sample (r = 0.67), their separate coefficients are mutually suppressed and not individually interpretable; the opposite signs indicate that η_s tracks their difference, so we formalized this as the standardized contrast z(worry) − z(depression) and tested it against every parameter:
| Source | Measure | r | p |
|---|---|---|---|
| CBF | η_s | −0.157 | 0.0016 |
| CBF | η_v | −0.028 | 0.57 |
| CBF | μ_v / μ_s | −0.032 / −0.002 | 0.52 / 0.97 |
| RBPF | μ_v / μ_s | −0.034 / −0.003 | 0.50 / 0.96 |
| Model-neutral | Volatility / stochasticity effect | +0.051 / +0.017 | 0.31 / 0.74 |
η_s is the only parameter with an association (surviving Bonferroni across the four CBF parameters, p = 0.006), and its direction, lower stochasticity-prior dispersion accompanying a symptom profile weighted toward worry rather than depressed mood, is the one predicted. Two features are decisive. First, η_s and η_v are estimated in the same model, from the same data, under the same grid; a classification artifact cannot make one predict an external measure while the other does not. Second, if η_s merely redescribed the behavioral stochasticity effect, it could carry no external information that effect does not; yet the model-neutral stochasticity effect, the very quantity on which the classification is based, shows no association (p = 0.74) despite good split-half reliability (0.78; Sec. 4.3), while η_s does. A tautological relationship cannot produce that asymmetry. (The worry direction was predicted a priori by [1]; the contrast form was identified after inspecting the collinearity structure, and we will say so.) In the final version, this analysis will be given its own subsection in Section 4.
(3) Model control. If the grouping alone forced the cross-over, any model fit to the identical groups would reproduce it. The RBPF does not (Fig. 3B), and its parameters show no symptom association (table above).
Takeaway: the cross-over survives removal of the grouping, predicts external measures that the classifier itself does not, and is model-specific; it is not circular.
W3. Limitations
(a) We will state explicitly that the phenotyping demonstration presupposes dimension-specific variation in the sample. The method itself does not depend on it: the continuous η-behavior correlations under W2(1) hold across all 643 subjects with no grouping. (b) Agreed; the pre-specified parameter count and the M^D scaling restriction to low-dimensional parameter spaces will be stated more explicitly in Sec. 5.
Q1. Sensitivity to hyperparameter choices (grid and boundaries)
Bottom line: the cross-over holds at every setting tested (p < 0.05 for all settings). We re-fit the full sample varying the atom count M ∈ {5, 10, 20} and the support upper bound v_max = s_max ∈ {50, 70, 100}. Mean fitted dispersion (±SEM); VB = volatility-blind (n = 76), SB = stochasticity-blind (n = 79):
Atoms per dimension (max = 70):
| Setting | VB η_v | SB η_v | VB η_s | SB η_s |
|---|---|---|---|---|
| M = 5 | 0.125 (.019) | 0.283 (.021) | 0.385 (.018) | 0.125 (.019) |
| M = 10 (paper) | 0.112 (.017) | 0.260 (.020) | 0.391 (.018) | 0.111 (.019) |
| M = 20 | 0.119 (.017) | 0.261 (.020) | 0.385 (.019) | 0.120 (.020) |
Support upper bound (M = 10):
| Setting | VB η_v | SB η_v | VB η_s | SB η_s |
|---|---|---|---|---|
| max = 50 | 0.129 (.019) | 0.263 (.020) | 0.378 (.019) | 0.157 (.021) |
| max = 70 (paper) | 0.112 (.017) | 0.260 (.020) | 0.391 (.018) | 0.111 (.019) |
| max = 100 | 0.125 (.020) | 0.274 (.022) | 0.398 (.017) | 0.124 (.020) |
Estimates are stable across a 4× range in resolution and a 2× range in support. These tables will be added as an appendix.
Q2 / Q3. Answered under W1(a) and W1(b) above, respectively.
Raising to 5.
My two concerns about the RBPF comparisons are resolved: on §4.5 the authors confirm the estimators were not matched and have redone the comparison with BIC for both models, and the conclusion holds; on §4.1 I misread the design, though the paragraph opens by describing CBF-generated data and only signals the two-sided self-recovery structure in its closing line, and the authors have agreed to rewrite it. The grid sensitivity analysis I asked for is convincing, with the cross-over surviving down to 25 atoms.
On circularity, the group-free analysis persuades me: with no thresholding and no labels, each dispersion parameter tracks its own behavioural effect and holds when μ is partialled out, so there is no classify-then-compare step for the result to be built into. My third weakness was about unacknowledged limitations, and the authors have agreed to state all of them.
We thank the reviewer for the careful re-reading and for raising the score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to the Initial Meta-Review (2/2)
W5. Genuinely new vs. assembled. Bottom line: two components are new and each is irreplaceable. These are making grid placement itself the object of gradient-based optimization through a differentiable quantile-function parameterization, and the identity (Eq. 4) that the summed log-normalizers of the discrete filter equal the exact marginal likelihood of the grid prior. Drop the first and the objective is no longer differentiable in the support; drop the second and one is back to optimizing a stochastic estimate. We will delineate this in Sec. 2.
W6. Typos / notation. Bottom line: the first two are caption clarifications, and the volatility-blind classification sentence is correct as written. On Figure 2 not looking like r = 1.00, the reported values are Spearman correlations rounded to two decimals, which are insensitive to the visible shrinkage near the boundary; we will add Pearson r and state the rounding. On the ambiguity over 200 vs. 50 trials, Figure 1 uses 200 trials per block as an illustration while all recovery analyses and all human data use 50, and we will say so in both captions. On the volatility-blind classification sentence, the original is correct: sˉ is intended there, not vˉ. We give the full reasoning in our response to Reviewer dWEC (W4 / Q6) and will make the criteria explicit in the text.
W7. RT prediction overlap and unacknowledged limitations. Bottom line: the two RT analyses differ in kind, and the remaining limitations will be stated explicitly. The analysis in [11] is model-agnostic; ours uses the model-derived ambiguity of the trial-level posterior, which exists only given a fitted trial-by-trial posterior, survives controls for squared prediction error, likelihood mean, and estimated volatility and stochasticity, and was fit without ever using response times. On limitations, the Limitations paragraph already states two of the three: the grid scales as M^D, practical for small D but prohibitive beyond, and the framework requires a small number of parameters with admissible values inside a region selected a priori. We will add the third, that the phenotyping demonstration depends on dimension-specific pathology existing in the sample, while noting that the method itself does not, since the correlations in W1(ii) hold across all 643 subjects with no classification.