andyjzhao commited on
Commit
ae99840
·
verified ·
1 Parent(s): 08e97bd

Upload folder using huggingface_hub

Browse files
Files changed (22) hide show
  1. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/appendix_chunks.jsonl +92 -0
  2. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/appendix_text_v3.txt +275 -0
  3. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets.json +79 -0
  4. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_10_Figure_3.jpeg +3 -0
  5. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_11_Figure_1.jpeg +3 -0
  6. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_11_Figure_2.jpeg +3 -0
  7. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_12_Figure_1.jpeg +3 -0
  8. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_1_Figure_10.jpeg +3 -0
  9. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_3_Figure_1.jpeg +3 -0
  10. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_7_Figure_1.jpeg +3 -0
  11. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/chunks_v3_anonymized.jsonl +0 -0
  12. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/dataset_meta.json +58 -0
  13. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/main_body_chunks.jsonl +102 -0
  14. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_meta.json +1515 -0
  15. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/model_text_v3.txt +305 -0
  16. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/paper.blocks.json +0 -0
  17. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/paper.md +678 -0
  18. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/parse_report.json +73 -0
  19. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/reference_chunks.jsonl +3 -0
  20. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/reference_text_v3.txt +8 -0
  21. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/sanitization_report.json +56 -0
  22. icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/sanitized_v3.txt +309 -0
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/appendix_chunks.jsonl ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0105", "section": "A. Motivating example 2", "page_start": 11, "page_end": 11, "type": "Text", "text": "In this section we report the posterior correlation plot obtained from an agent that learned from ML-DS as described in the second motivating example in Section 1. After observing a prediction that did not match expectation, the agent revises their beliefs, entertaining multiple hypotheses on how their beliefs should change to account for the situation. In this case, either the treatment effect is lower than anticipated and the dosage higher than assumed, or the other way around.", "source": "marker_v2", "marker_block_id": "/page/10/Text/2"}
2
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0106", "section": "A. Motivating example 2", "page_start": 11, "page_end": 11, "type": "FigureGroup", "text": "Figure 4. Plot showing the correlation of variables N E and µ A in the posterior beliefs of the agent after update with ML-DS information. The agent entertains multiple options", "source": "marker_v2", "marker_block_id": "/page/10/FigureGroup/364"}
3
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0107", "section": "B. Sanity checks on the Bayesian model", "page_start": 11, "page_end": 11, "type": "Text", "text": "We have implemented a series of experiments to make sure that the framework is functioning as intended.", "source": "marker_v2", "marker_block_id": "/page/10/Text/6"}
4
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0108", "section": "B. Sanity checks on the Bayesian model", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "1. We compare the posterior distributions with the explicit plate and with the sufficient statistics formulation given the same observations. We check if the posteriors of the two agents end up the same. This is repeated for different sizes of plate to control for potential effects of size. 2. We run an update with a single observation X o = 200 that is much higher than the prior mean of 80 (with variance 10). We verify that after the update the posterior of µ X has moved in the right direction. We also check if this creates correlations of µ X with other parameters. This is repeated for different plate sizes. 3. We run an update with many (1000) observations drawn from the real distribution of X and check that the (incorrect) prior of the agent about µ X converges to the real parameter in the generating process. 4. We set one observation with X equal to the mean of the agent's prior, with the priors on A and N E very peaked, but with P red o set much higher than the value Y = coeff ∗ X + N E ∗ A. We also setthe coeff of X in the structural equation of A to zero. We observe in the posterior that there is now a correlation between the parameters of N E and A.", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/365"}
5
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0109", "section": "C. Results obtained when varying prior µ Y", "page_start": 11, "page_end": 11, "type": "Text", "text": "In Figure 5 we report the CATE and Y plots obtained when varying the belief of the agent concerning the mean of the outcome in the historical population, µ Y .", "source": "marker_v2", "marker_block_id": "/page/10/Text/12"}
6
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0110", "section": "D. Zoomed-in versions of the CATE plots", "page_start": 11, "page_end": 11, "type": "Text", "text": "The plots in Figure 3 encompass a wide sweep of options for the priors of the agent, which revealed interesting dynamics of CATE with ML-DS. In Figure 6 we 'zoom-in' on what happens in a more realistic range of priors within ± 3 std from the true SCM parameter.", "source": "marker_v2", "marker_block_id": "/page/10/Text/14"}
7
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0111", "section": "D. Zoomed-in versions of the CATE plots", "page_start": 12, "page_end": 12, "type": "FigureGroup", "text": "Figure 5. Figures displaying the effects of different agent's priors when using ML-DS (in orange) and without it (in blue). In all plots, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameter for µ Y . The left plot displays the agent's prior and posterior (predictive) belief of CATE, while the right one shows the impact of the agent's decisions on the downstream outcome Y . In a rather wide band is the posterior within 1 std of the true mean (gray area).", "source": "marker_v2", "marker_block_id": "/page/11/FigureGroup/341"}
8
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0112", "section": "D. Zoomed-in versions of the CATE plots", "page_start": 13, "page_end": 13, "type": "FigureGroup", "text": "Figure 6. Figures displaying the effects of different agent's priors on the posterior (predictive) belief of CATE when using ML-DS (in orange) and without it (in blue). In all plots except those for NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The plots pertain to the belief on treatment effect, NE, the belief about past treatment policy (µA), the belief about past outcomes (µ Y ) and the belief about past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band.", "source": "marker_v2", "marker_block_id": "/page/12/FigureGroup/509"}
9
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0113", "section": "E. Derivations for plate model", "page_start": 14, "page_end": 14, "type": "Text", "text": "We elaborate here on the strategy to reduce the plate with the help of sufficient statistics", "source": "marker_v2", "marker_block_id": "/page/13/Text/2"}
10
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0114", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "In this section we will show how an observation of the model parameter ϕ from the agent's internal model can be generated. This is needed to estimate the posterior distributions of the agent's beliefs using a sampling approach. As running inference through a plate-model can be both computationally expensive and numerically unstable, we chose to reformulate the plate using low-dimensional auxiliary variables.", "source": "marker_v2", "marker_block_id": "/page/13/Text/5"}
11
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0115", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "We start from the SCM (fig. 2) that defines the relation between the variables and we are interested in finding the lowdimensional auxiliary variables that define the regression coefficient ϕ of the model M. As we are using PyMC for inference – which does not have an implementation for the non-central χ 2 -distribution – all random variables (RVs) will be reformulated using zero-centered normally distributed RVs (standard normals where needed) and (central) χ 2 distributed RVs. Some of these RVs will be dependent and that dependence will be dealt with in section E.2.", "source": "marker_v2", "marker_block_id": "/page/13/Text/6"}
12
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0116", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "We are specifically looking for a low-dimensional representation of the plate and treat a sample of the plate parameters {αXµ, αXσ, αAµ, αAσ, αY µ, αY σ, NE} as given. The relevant parts of the SCM, reproduced here for the reader's convenience, are defined as", "source": "marker_v2", "marker_block_id": "/page/13/Text/7"}
13
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0117", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "Y_{i} = a + bX_{i} + N_{E}A_{i} + N_{Y_{i}} A_{i} = dX_{i} + N_{A_{i}} X_{i} = N_{X_{i}} \\forall i \\in [1, ..., n] (1)", "source": "marker_v2", "marker_block_id": "/page/13/Equation/8"}
14
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0118", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "where n is the plate size, a, b, and d are constants and", "source": "marker_v2", "marker_block_id": "/page/13/Text/9"}
15
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0119", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "N_{X_i} \\sim \\mathcal{N}(\\alpha_{X\\mu}, \\alpha_{X\\sigma}^2) N_{A_i} \\sim \\mathcal{N}(\\alpha_{A\\mu}, \\alpha_{A\\sigma}^2) N_{Y_i} \\sim \\mathcal{N}(\\alpha_{Y\\mu}, \\alpha_{Y\\sigma}^2). (2)", "source": "marker_v2", "marker_block_id": "/page/13/Equation/10"}
16
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0120", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "We are modeling Y i without intercept as", "source": "marker_v2", "marker_block_id": "/page/13/Text/11"}
17
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0121", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "Y_i \\approx \\phi X_i \\tag{3}", "source": "marker_v2", "marker_block_id": "/page/13/Equation/12"}
18
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0122", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "and looking for the ordinary least-squares estimate of ϕ, that is", "source": "marker_v2", "marker_block_id": "/page/13/Text/13"}
19
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0123", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "\\min_{\\phi} \\left( \\sum_{i} (Y_i - \\phi X_i)^2 \\right). \\tag{4}", "source": "marker_v2", "marker_block_id": "/page/13/Equation/14"}
20
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0124", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "The least-squares estimate for this case has a well-known closed-form solution given by", "source": "marker_v2", "marker_block_id": "/page/13/Text/15"}
21
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0125", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "\\phi = \\frac{\\sum_{i} X_i Y_i}{\\sum_{i} X_i^2}. (5)", "source": "marker_v2", "marker_block_id": "/page/13/Equation/16"}
22
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0126", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "Our goal is to express this equation in terms of RVs that summarize the sums thus removing the need to sample the full plate n times. The denominator of this equation can be expressed as", "source": "marker_v2", "marker_block_id": "/page/13/Text/17"}
23
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0127", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "\\sum_{i} X_i^2 = \\sum_{i} N_{X_i}^2 \\tag{6}", "source": "marker_v2", "marker_block_id": "/page/13/Equation/18"}
24
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0128", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "⇔", "source": "marker_v2", "marker_block_id": "/page/13/Text/19"}
25
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0129", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "\\sum_{i} X_i^2 = \\sum_{i} \\alpha_{X\\mu}^2 + 2\\alpha_{X\\mu}\\alpha_{X\\sigma}\\epsilon_{X_i} + \\alpha_{X\\sigma}^2\\epsilon_{X_i}^2 (7)", "source": "marker_v2", "marker_block_id": "/page/13/Equation/20"}
26
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0130", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Text", "text": "where", "source": "marker_v2", "marker_block_id": "/page/13/Text/21"}
27
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0131", "section": "E.1. Plate model, agent's internal model", "page_start": 14, "page_end": 14, "type": "Equation", "text": "\\epsilon_{X_i} \\sim \\mathcal{N}(0, 1). (8)", "source": "marker_v2", "marker_block_id": "/page/13/Equation/22"}
28
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0132", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "The denominator of (5) rewritten in (7) consists of three parts:", "source": "marker_v2", "marker_block_id": "/page/14/Text/1"}
29
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0133", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_1 = \\sum_{i} \\alpha_{X\\mu}^2 \\tag{9}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/2"}
30
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0134", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_2 = \\sum_{i} 2\\alpha_{X\\mu}\\alpha_{X\\sigma}\\epsilon_{X_i} \\tag{10}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/3"}
31
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0135", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_3 = \\sum_i \\alpha_{X\\sigma}^2 \\epsilon_{X_i}^2 \\tag{11}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/4"}
32
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0136", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "where", "source": "marker_v2", "marker_block_id": "/page/14/Text/5"}
33
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0137", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_1 = n\\alpha_{X\\mu}^2 \\tag{12}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/6"}
34
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0138", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_2 = 2\\alpha_{X\\mu}\\alpha_{X\\sigma} \\sum_{i} \\epsilon_{X_i} \\tag{13}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/7"}
35
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0139", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_3 = \\alpha_{X\\sigma}^2 \\sum_i \\epsilon_{X_i}^2. \\tag{14}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/8"}
36
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0140", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "Given one set of parameters for the equations in (2), we see that S_1 is a constant, S_2 = 2\\alpha_{X\\mu}\\alpha_{X\\sigma}S_X where S_X \\sim \\mathcal{N}(0,n) , and S_3 \\sim \\alpha_{X\\sigma}^2 Z_{S_3} where Z_{S_3} \\sim \\chi^2(n) . Here S_2 is the first low-dimensional auxiliary variable we need. Note that S_3 is dependent on S_2 and this has to be dealt with separately (see section E.2).", "source": "marker_v2", "marker_block_id": "/page/14/Text/9"}
37
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0141", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "Next we decompose the numerator of equation (5) in a similar way. First we replace the RVs by the definitions from (1)", "source": "marker_v2", "marker_block_id": "/page/14/Text/10"}
38
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0142", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\sum_{i} X_{i} Y_{i} = \\sum_{i} \\left[ a N_{X_{i}} + b N_{X_{i}}^{2} + d N_{E} N_{X_{i}}^{2} + N_{E} N_{A_{i}} N_{X_{i}} + N_{Y_{i}} N_{X_{i}} \\right]. (15)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/11"}
39
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0143", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "As we are actually interested in equation (5), we can divide this expression by \\sum_i N_{X_i}^2 (equation (6)) to cancel out some factors and get", "source": "marker_v2", "marker_block_id": "/page/14/Text/12"}
40
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0144", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\phi = b + dN_E + \\frac{a\\sum_{i} N_{X_i} + N_E \\sum_{i} N_{X_i} N_{A_i} + \\sum_{i} N_{X_i} N_{Y_i}}{\\sum_{i} X_i^2} (16)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/13"}
41
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0145", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "Remember that a, b, and d are constants. The denominator of the last term is equivalent to equation (7). We currently lack suitable expressions only for the numerator of the last term. The numerator consists of the three parts", "source": "marker_v2", "marker_block_id": "/page/14/Text/14"}
42
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0146", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_4 = a \\sum_i N_{X_i} \\tag{17}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/15"}
43
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0147", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_5 = N_E \\sum_{i} N_{X_i} N_{A_i} \\tag{18}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/16"}
44
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0148", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_6 = \\sum_i N_{X_i} N_{Y_i}. \\tag{19}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/17"}
45
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0149", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "S_4 can be expressed similarly to S_2 using S_X , i.e. S_4 = an\\alpha_{X\\mu} + a\\alpha_{X\\sigma}S_X . Both S_5 and S_6 are RVs following normal product distributions. We decompose S_6 as follows:", "source": "marker_v2", "marker_block_id": "/page/14/Text/18"}
46
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0150", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_6 = \\sum_{i} \\left[ (\\alpha_{X\\mu} + \\alpha_{X\\sigma} \\epsilon_{X_i})(\\alpha_{Y\\mu} + \\alpha_{Y\\sigma} \\epsilon_{Y_i}) \\right] (20)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/19"}
47
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0151", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_6 = \\sum_{i} \\left[ \\alpha_{X\\mu} \\alpha_{Y\\mu} + \\alpha_{X\\mu} \\alpha_{Y\\sigma} \\epsilon_{Y_i} + \\alpha_{Y\\mu} \\alpha_{X\\sigma} \\epsilon_{X_i} + \\alpha_{X\\sigma} \\alpha_{Y\\sigma} \\epsilon_{X_i} \\epsilon_{Y_i} \\right] (21)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/21"}
48
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0152", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "\\Leftrightarrow", "source": "marker_v2", "marker_block_id": "/page/14/Text/22"}
49
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0153", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Equation", "text": "S_6 = n\\alpha_{X\\mu}\\alpha_{Y\\mu} + \\alpha_{X\\mu}\\alpha_{Y\\sigma}S_Y + \\alpha_{Y\\mu}\\alpha_{X\\sigma}S_X + \\alpha_{X\\sigma}\\alpha_{Y\\sigma}\\sum_i \\epsilon_{X_i}\\epsilon_{Y_i} (22)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/23"}
50
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0154", "section": "E.1. Plate model, agent's internal model", "page_start": 15, "page_end": 15, "type": "Text", "text": "where \\epsilon_{Y_i} \\sim \\mathcal{N}(0,1) and S_Y \\sim \\mathcal{N}(0,n) . Note that S_X and S_Y are independent. We know that \\sum_i \\epsilon_{X_i} \\epsilon_{Y_i} follows a normal product distribution that is dependent on both S_X and S_Y and deal with this dependence in section E.2 below.", "source": "marker_v2", "marker_block_id": "/page/14/Text/24"}
51
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0155", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "Following an almost identical derivation, we express", "source": "marker_v2", "marker_block_id": "/page/15/Text/1"}
52
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0156", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Equation", "text": "S_5 = N_E \\left[ n\\alpha_{X\\mu}\\alpha_{A\\mu} + \\alpha_{X\\mu}\\alpha_{A\\sigma}S_A + \\alpha_{A\\mu}\\alpha_{X\\sigma}S_X + \\alpha_{X\\sigma}\\alpha_{A\\sigma}\\sum_i \\epsilon_{X_i}\\epsilon_{A_i} \\right] (23)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/3"}
53
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0157", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "where", "source": "marker_v2", "marker_block_id": "/page/15/Text/5"}
54
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0158", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "E.2. Separating dependent and independent parts", "source": "marker_v2", "marker_block_id": "/page/15/Text/46"}
55
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0159", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "It can be shown that", "source": "marker_v2", "marker_block_id": "/page/15/Text/47"}
56
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0160", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "and sums of squares.", "source": "marker_v2", "marker_block_id": "/page/15/Text/85"}
57
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0161", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "It can be shown that", "source": "marker_v2", "marker_block_id": "/page/15/Text/87"}
58
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0162", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "where U_{XA} \\sim \\chi^2(n-1) and V_{XA} \\sim \\chi^2(n-1) .", "source": "marker_v2", "marker_block_id": "/page/15/Text/64"}
59
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0163", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Text", "text": "\\epsilon_{A_i} \\sim \\mathcal{N}(0,1)", "source": "marker_v2", "marker_block_id": "/page/15/Text/65"}
60
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0164", "section": "E.1. Plate model, agent's internal model", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\epsilon_{A_i} \\sim \\mathcal{N}(0, 1) (24) S_A \\sim \\mathcal{N}(0, n) . (25)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/66"}
61
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0165", "section": "S_7 = \\sum_{i} \\epsilon_{X_i}^2 = \\sum_{i} (\\epsilon_{X_i} - \\bar{\\epsilon_X})^2 - \\frac{(\\sum_{i} \\epsilon_{X_i})^2}{n} (26)", "page_start": 16, "page_end": 16, "type": "Text", "text": "where \\epsilon_{X_i} \\sim \\mathcal{N}(0,1) and \\epsilon_X^- is the sample average, and that \\sum_i (\\epsilon_{X_i} - \\epsilon_X^-)^2 is independent of \\frac{(\\sum_i \\epsilon_{X_i})^2}{n} . The first term is a sum of squares of a normal and follows a \\chi^2 -distribution with n-1 degrees of freedom, i.e. \\sum_i (\\epsilon_{X_i} - \\epsilon_X^-)^2 = Z_{XX} where Z_{XX} \\sim \\chi^2(n-1) . The second term is the square of the sum, where the sum is over an RV that is normally distributed. This second term in equation (26) is \\frac{\\left(\\sum_{i} \\epsilon_{X_{i}}\\right)^{2}}{n} = \\frac{S_{X}^{2}}{n} .", "source": "marker_v2", "marker_block_id": "/page/15/Text/71"}
62
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0166", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Text", "text": "E.2.1. DEPENDENCE OF SUM OF SQUARES AND (SQUARE OF) SUM", "source": "marker_v2", "marker_block_id": "/page/15/Text/86"}
63
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0167", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Equation", "text": "S_8 = \\sum_i \\epsilon_{X_i} \\epsilon_{Y_i} = n \\bar{\\epsilon_X} \\bar{\\epsilon_Y} + \\sum_i (\\epsilon_{X_i} - \\bar{\\epsilon_X}) (\\epsilon_{Y_i} - \\bar{\\epsilon_Y}) (27)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/74"}
64
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0168", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Text", "text": "where bar denotes sample average so that \\bar{\\epsilon_X} = \\frac{\\sum_i \\epsilon_{X_i}}{n} and \\bar{\\epsilon_Y} = \\frac{\\sum_i \\epsilon_{Y_i}}{n} .", "source": "marker_v2", "marker_block_id": "/page/15/Text/75"}
65
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0169", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Text", "text": "The first term of equation (27) can be written with familiar quantities as \\bar{\\epsilon_X} = \\frac{S_X}{n} and \\bar{\\epsilon_Y} = \\frac{S_Y}{n} resulting in n\\bar{\\epsilon_X}\\bar{\\epsilon_Y} = \\frac{S_XS_Y}{n} . The second part requires more deliberation. \\sum_i (\\epsilon_{X_i} - \\bar{\\epsilon_X})(\\epsilon_{Y_i} - \\bar{\\epsilon_Y}) is clearly a sum of an RV that follows a normal product distribution. To facilitate sampling, we rewrite this as", "source": "marker_v2", "marker_block_id": "/page/15/Text/76"}
66
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0170", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\sum (\\epsilon_{X_i} - \\bar{\\epsilon_X})(\\epsilon_{Y_i} - \\bar{\\epsilon_Y}) = \\frac{1}{4} \\sum (\\epsilon_{X_i} - \\bar{\\epsilon_X} + \\epsilon_{Y_i} - \\bar{\\epsilon_Y})^2 + \\frac{1}{4} \\sum (\\epsilon_{X_i} - \\bar{\\epsilon_X} - \\epsilon_{Y_i} + \\bar{\\epsilon_Y})^2. (28)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/77"}
67
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0171", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Text", "text": "Both terms (sums of squares) in the right-hand side of this equation are sums of squared normals which are \\chi^2 -distributed with n-1 degrees of freedom. Hence", "source": "marker_v2", "marker_block_id": "/page/15/Text/78"}
68
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0172", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\sum (\\epsilon_{X_i} - \\bar{\\epsilon_X})(\\epsilon_{Y_i} - \\bar{\\epsilon_Y}) = \\frac{1}{4}(2U_{XY} - 2V_{XY}) (29)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/79"}
69
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0173", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Text", "text": "where U_{XY} \\sim \\chi^2(n-1) and V_{XY} \\sim \\chi^2(n-1) and these are independent.", "source": "marker_v2", "marker_block_id": "/page/15/Text/80"}
70
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0174", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Text", "text": "Following the same pattern, it can be shown that", "source": "marker_v2", "marker_block_id": "/page/15/Text/81"}
71
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0175", "section": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS", "page_start": 16, "page_end": 16, "type": "Equation", "text": "S_9 = \\sum_{i} \\epsilon_{X_i} \\epsilon_{A_i} = \\frac{S_X S_A}{n} + \\frac{1}{2} (U_{XA} - V_{XA}) (30)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/82"}
72
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0176", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Text", "text": "To generate one observation of ϕ from the agent's internal model, sample αXµ, αXσ, αY µ, αY σ, αAµ, αAσ, and NE. Then sample one observation for", "source": "marker_v2", "marker_block_id": "/page/16/Text/2"}
73
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0177", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_X \\sim \\mathcal{N}(0, n) \\tag{31}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/3"}
74
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0178", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_Y \\sim \\mathcal{N}(0, n) \\tag{32}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/4"}
75
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0179", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_A \\sim \\mathcal{N}(0, n) \\tag{33}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/5"}
76
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0180", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "Z_{XX} \\sim \\chi^2(n-1) \\tag{34}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/6"}
77
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0181", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "U_{XY} \\sim \\chi^2(n-1) \\tag{35}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/7"}
78
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0182", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "V_{XY} \\sim \\chi^2(n-1) \\tag{36}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/8"}
79
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0183", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "U_{XA} \\sim \\chi^2(n-1) \\tag{37}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/9"}
80
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0184", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "V_{XA} \\sim \\chi^2(n-1). \\tag{38}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/10"}
81
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0185", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Text", "text": "Insert the sampled values to calculate", "source": "marker_v2", "marker_block_id": "/page/16/Text/11"}
82
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0186", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_9 = \\frac{S_X S_A}{n} + \\frac{1}{2} (U_{XA} - V_{XA}) \\tag{39}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/12"}
83
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0187", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_8 = \\frac{S_X S_Y}{n} + \\frac{1}{2} (U_{XY} - V_{XY}) \\tag{40}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/13"}
84
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0188", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_7 = Z_{XX} - \\frac{S_X^2}{n} \\tag{41}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/14"}
85
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0189", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_6 = n\\alpha_{X\\mu}\\alpha_{Y\\mu} + \\alpha_{X\\mu}\\alpha_{Y\\sigma}S_Y + \\alpha_{Y\\mu}\\alpha_{X\\sigma}S_X + \\alpha_{X\\sigma}\\alpha_{Y\\sigma}S_8 \\tag{42}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/15"}
86
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0190", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_5 = N_E \\left( n\\alpha_{X\\mu}\\alpha_{A\\mu} + \\alpha_{X\\mu}\\alpha_{A\\sigma}S_A + \\alpha_{A\\mu}\\alpha_{X\\sigma}S_X + \\alpha_{X\\sigma}\\alpha_{A\\sigma}S_9 \\right) \\tag{43}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/16"}
87
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0191", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_4 = an\\alpha_{X\\mu} + a\\alpha_{X\\sigma}S_X \\tag{44}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/17"}
88
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0192", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_3 = \\alpha_{X\\sigma}^2 S_7 \\tag{45}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/18"}
89
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0193", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_2 = 2\\alpha_{X\\mu}\\alpha_{X\\sigma}S_X \\tag{46}", "source": "marker_v2", "marker_block_id": "/page/16/Equation/19"}
90
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0194", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "S_1 = n\\alpha_{X\\mu}^2. (47)", "source": "marker_v2", "marker_block_id": "/page/16/Equation/20"}
91
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0195", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Text", "text": "With these, we can finally generate one observation from the distribution of ϕ:", "source": "marker_v2", "marker_block_id": "/page/16/Text/21"}
92
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0196", "section": "E.3. Putting it all together", "page_start": 17, "page_end": 17, "type": "Equation", "text": "\\phi = b + dN_E + \\frac{S_4 + S_5 + S_6}{S_1 + S_2 + S_3}. (48)", "source": "marker_v2", "marker_block_id": "/page/16/Equation/22"}
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/appendix_text_v3.txt ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [p. 11 | section: A. Motivating example 2 | type: Text]
2
+ In this section we report the posterior correlation plot obtained from an agent that learned from ML-DS as described in the second motivating example in Section 1. After observing a prediction that did not match expectation, the agent revises their beliefs, entertaining multiple hypotheses on how their beliefs should change to account for the situation. In this case, either the treatment effect is lower than anticipated and the dosage higher than assumed, or the other way around.
3
+
4
+ [p. 11 | section: A. Motivating example 2 | type: FigureGroup]
5
+ Figure 4. Plot showing the correlation of variables N E and µ A in the posterior beliefs of the agent after update with ML-DS information. The agent entertains multiple options
6
+
7
+ [p. 11 | section: B. Sanity checks on the Bayesian model | type: Text]
8
+ We have implemented a series of experiments to make sure that the framework is functioning as intended.
9
+
10
+ [p. 11 | section: B. Sanity checks on the Bayesian model | type: ListGroup]
11
+ 1. We compare the posterior distributions with the explicit plate and with the sufficient statistics formulation given the same observations. We check if the posteriors of the two agents end up the same. This is repeated for different sizes of plate to control for potential effects of size. 2. We run an update with a single observation X o = 200 that is much higher than the prior mean of 80 (with variance 10). We verify that after the update the posterior of µ X has moved in the right direction. We also check if this creates correlations of µ X with other parameters. This is repeated for different plate sizes. 3. We run an update with many (1000) observations drawn from the real distribution of X and check that the (incorrect) prior of the agent about µ X converges to the real parameter in the generating process. 4. We set one observation with X equal to the mean of the agent's prior, with the priors on A and N E very peaked, but with P red o set much higher than the value Y = coeff ∗ X + N E ∗ A. We also setthe coeff of X in the structural equation of A to zero. We observe in the posterior that there is now a correlation between the parameters of N E and A.
12
+
13
+ [p. 11 | section: C. Results obtained when varying prior µ Y | type: Text]
14
+ In Figure 5 we report the CATE and Y plots obtained when varying the belief of the agent concerning the mean of the outcome in the historical population, µ Y .
15
+
16
+ [p. 11 | section: D. Zoomed-in versions of the CATE plots | type: Text]
17
+ The plots in Figure 3 encompass a wide sweep of options for the priors of the agent, which revealed interesting dynamics of CATE with ML-DS. In Figure 6 we 'zoom-in' on what happens in a more realistic range of priors within ± 3 std from the true SCM parameter.
18
+
19
+ [p. 12 | section: D. Zoomed-in versions of the CATE plots | type: FigureGroup]
20
+ Figure 5. Figures displaying the effects of different agent's priors when using ML-DS (in orange) and without it (in blue). In all plots, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameter for µ Y . The left plot displays the agent's prior and posterior (predictive) belief of CATE, while the right one shows the impact of the agent's decisions on the downstream outcome Y . In a rather wide band is the posterior within 1 std of the true mean (gray area).
21
+
22
+ [p. 13 | section: D. Zoomed-in versions of the CATE plots | type: FigureGroup]
23
+ Figure 6. Figures displaying the effects of different agent's priors on the posterior (predictive) belief of CATE when using ML-DS (in orange) and without it (in blue). In all plots except those for NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The plots pertain to the belief on treatment effect, NE, the belief about past treatment policy (µA), the belief about past outcomes (µ Y ) and the belief about past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band.
24
+
25
+ [p. 14 | section: E. Derivations for plate model | type: Text]
26
+ We elaborate here on the strategy to reduce the plate with the help of sufficient statistics
27
+
28
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
29
+ In this section we will show how an observation of the model parameter ϕ from the agent's internal model can be generated. This is needed to estimate the posterior distributions of the agent's beliefs using a sampling approach. As running inference through a plate-model can be both computationally expensive and numerically unstable, we chose to reformulate the plate using low-dimensional auxiliary variables.
30
+
31
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
32
+ We start from the SCM (fig. 2) that defines the relation between the variables and we are interested in finding the lowdimensional auxiliary variables that define the regression coefficient ϕ of the model M. As we are using PyMC for inference – which does not have an implementation for the non-central χ 2 -distribution – all random variables (RVs) will be reformulated using zero-centered normally distributed RVs (standard normals where needed) and (central) χ 2 distributed RVs. Some of these RVs will be dependent and that dependence will be dealt with in section E.2.
33
+
34
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
35
+ We are specifically looking for a low-dimensional representation of the plate and treat a sample of the plate parameters {αXµ, αXσ, αAµ, αAσ, αY µ, αY σ, NE} as given. The relevant parts of the SCM, reproduced here for the reader's convenience, are defined as
36
+
37
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
38
+ Y_{i} = a + bX_{i} + N_{E}A_{i} + N_{Y_{i}} A_{i} = dX_{i} + N_{A_{i}} X_{i} = N_{X_{i}} \forall i \in [1, ..., n] (1)
39
+
40
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
41
+ where n is the plate size, a, b, and d are constants and
42
+
43
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
44
+ N_{X_i} \sim \mathcal{N}(\alpha_{X\mu}, \alpha_{X\sigma}^2) N_{A_i} \sim \mathcal{N}(\alpha_{A\mu}, \alpha_{A\sigma}^2) N_{Y_i} \sim \mathcal{N}(\alpha_{Y\mu}, \alpha_{Y\sigma}^2). (2)
45
+
46
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
47
+ We are modeling Y i without intercept as
48
+
49
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
50
+ Y_i \approx \phi X_i \tag{3}
51
+
52
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
53
+ and looking for the ordinary least-squares estimate of ϕ, that is
54
+
55
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
56
+ \min_{\phi} \left( \sum_{i} (Y_i - \phi X_i)^2 \right). \tag{4}
57
+
58
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
59
+ The least-squares estimate for this case has a well-known closed-form solution given by
60
+
61
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
62
+ \phi = \frac{\sum_{i} X_i Y_i}{\sum_{i} X_i^2}. (5)
63
+
64
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
65
+ Our goal is to express this equation in terms of RVs that summarize the sums thus removing the need to sample the full plate n times. The denominator of this equation can be expressed as
66
+
67
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
68
+ \sum_{i} X_i^2 = \sum_{i} N_{X_i}^2 \tag{6}
69
+
70
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
71
+
72
+
73
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
74
+ \sum_{i} X_i^2 = \sum_{i} \alpha_{X\mu}^2 + 2\alpha_{X\mu}\alpha_{X\sigma}\epsilon_{X_i} + \alpha_{X\sigma}^2\epsilon_{X_i}^2 (7)
75
+
76
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Text]
77
+ where
78
+
79
+ [p. 14 | section: E.1. Plate model, agent's internal model | type: Equation]
80
+ \epsilon_{X_i} \sim \mathcal{N}(0, 1). (8)
81
+
82
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
83
+ The denominator of (5) rewritten in (7) consists of three parts:
84
+
85
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
86
+ S_1 = \sum_{i} \alpha_{X\mu}^2 \tag{9}
87
+
88
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
89
+ S_2 = \sum_{i} 2\alpha_{X\mu}\alpha_{X\sigma}\epsilon_{X_i} \tag{10}
90
+
91
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
92
+ S_3 = \sum_i \alpha_{X\sigma}^2 \epsilon_{X_i}^2 \tag{11}
93
+
94
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
95
+ where
96
+
97
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
98
+ S_1 = n\alpha_{X\mu}^2 \tag{12}
99
+
100
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
101
+ S_2 = 2\alpha_{X\mu}\alpha_{X\sigma} \sum_{i} \epsilon_{X_i} \tag{13}
102
+
103
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
104
+ S_3 = \alpha_{X\sigma}^2 \sum_i \epsilon_{X_i}^2. \tag{14}
105
+
106
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
107
+ Given one set of parameters for the equations in (2), we see that S_1 is a constant, S_2 = 2\alpha_{X\mu}\alpha_{X\sigma}S_X where S_X \sim \mathcal{N}(0,n) , and S_3 \sim \alpha_{X\sigma}^2 Z_{S_3} where Z_{S_3} \sim \chi^2(n) . Here S_2 is the first low-dimensional auxiliary variable we need. Note that S_3 is dependent on S_2 and this has to be dealt with separately (see section E.2).
108
+
109
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
110
+ Next we decompose the numerator of equation (5) in a similar way. First we replace the RVs by the definitions from (1)
111
+
112
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
113
+ \sum_{i} X_{i} Y_{i} = \sum_{i} \left[ a N_{X_{i}} + b N_{X_{i}}^{2} + d N_{E} N_{X_{i}}^{2} + N_{E} N_{A_{i}} N_{X_{i}} + N_{Y_{i}} N_{X_{i}} \right]. (15)
114
+
115
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
116
+ As we are actually interested in equation (5), we can divide this expression by \sum_i N_{X_i}^2 (equation (6)) to cancel out some factors and get
117
+
118
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
119
+ \phi = b + dN_E + \frac{a\sum_{i} N_{X_i} + N_E \sum_{i} N_{X_i} N_{A_i} + \sum_{i} N_{X_i} N_{Y_i}}{\sum_{i} X_i^2} (16)
120
+
121
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
122
+ Remember that a, b, and d are constants. The denominator of the last term is equivalent to equation (7). We currently lack suitable expressions only for the numerator of the last term. The numerator consists of the three parts
123
+
124
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
125
+ S_4 = a \sum_i N_{X_i} \tag{17}
126
+
127
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
128
+ S_5 = N_E \sum_{i} N_{X_i} N_{A_i} \tag{18}
129
+
130
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
131
+ S_6 = \sum_i N_{X_i} N_{Y_i}. \tag{19}
132
+
133
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
134
+ S_4 can be expressed similarly to S_2 using S_X , i.e. S_4 = an\alpha_{X\mu} + a\alpha_{X\sigma}S_X . Both S_5 and S_6 are RVs following normal product distributions. We decompose S_6 as follows:
135
+
136
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
137
+ S_6 = \sum_{i} \left[ (\alpha_{X\mu} + \alpha_{X\sigma} \epsilon_{X_i})(\alpha_{Y\mu} + \alpha_{Y\sigma} \epsilon_{Y_i}) \right] (20)
138
+
139
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
140
+ S_6 = \sum_{i} \left[ \alpha_{X\mu} \alpha_{Y\mu} + \alpha_{X\mu} \alpha_{Y\sigma} \epsilon_{Y_i} + \alpha_{Y\mu} \alpha_{X\sigma} \epsilon_{X_i} + \alpha_{X\sigma} \alpha_{Y\sigma} \epsilon_{X_i} \epsilon_{Y_i} \right] (21)
141
+
142
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
143
+ \Leftrightarrow
144
+
145
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Equation]
146
+ S_6 = n\alpha_{X\mu}\alpha_{Y\mu} + \alpha_{X\mu}\alpha_{Y\sigma}S_Y + \alpha_{Y\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{Y\sigma}\sum_i \epsilon_{X_i}\epsilon_{Y_i} (22)
147
+
148
+ [p. 15 | section: E.1. Plate model, agent's internal model | type: Text]
149
+ where \epsilon_{Y_i} \sim \mathcal{N}(0,1) and S_Y \sim \mathcal{N}(0,n) . Note that S_X and S_Y are independent. We know that \sum_i \epsilon_{X_i} \epsilon_{Y_i} follows a normal product distribution that is dependent on both S_X and S_Y and deal with this dependence in section E.2 below.
150
+
151
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
152
+ Following an almost identical derivation, we express
153
+
154
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Equation]
155
+ S_5 = N_E \left[ n\alpha_{X\mu}\alpha_{A\mu} + \alpha_{X\mu}\alpha_{A\sigma}S_A + \alpha_{A\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{A\sigma}\sum_i \epsilon_{X_i}\epsilon_{A_i} \right] (23)
156
+
157
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
158
+ where
159
+
160
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
161
+ E.2. Separating dependent and independent parts
162
+
163
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
164
+ It can be shown that
165
+
166
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
167
+ and sums of squares.
168
+
169
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
170
+ It can be shown that
171
+
172
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
173
+ where U_{XA} \sim \chi^2(n-1) and V_{XA} \sim \chi^2(n-1) .
174
+
175
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Text]
176
+ \epsilon_{A_i} \sim \mathcal{N}(0,1)
177
+
178
+ [p. 16 | section: E.1. Plate model, agent's internal model | type: Equation]
179
+ \epsilon_{A_i} \sim \mathcal{N}(0, 1) (24) S_A \sim \mathcal{N}(0, n) . (25)
180
+
181
+ [p. 16 | section: S_7 = \sum_{i} \epsilon_{X_i}^2 = \sum_{i} (\epsilon_{X_i} - \bar{\epsilon_X})^2 - \frac{(\sum_{i} \epsilon_{X_i})^2}{n} (26) | type: Text]
182
+ where \epsilon_{X_i} \sim \mathcal{N}(0,1) and \epsilon_X^- is the sample average, and that \sum_i (\epsilon_{X_i} - \epsilon_X^-)^2 is independent of \frac{(\sum_i \epsilon_{X_i})^2}{n} . The first term is a sum of squares of a normal and follows a \chi^2 -distribution with n-1 degrees of freedom, i.e. \sum_i (\epsilon_{X_i} - \epsilon_X^-)^2 = Z_{XX} where Z_{XX} \sim \chi^2(n-1) . The second term is the square of the sum, where the sum is over an RV that is normally distributed. This second term in equation (26) is \frac{\left(\sum_{i} \epsilon_{X_{i}}\right)^{2}}{n} = \frac{S_{X}^{2}}{n} .
183
+
184
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Text]
185
+ E.2.1. DEPENDENCE OF SUM OF SQUARES AND (SQUARE OF) SUM
186
+
187
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Equation]
188
+ S_8 = \sum_i \epsilon_{X_i} \epsilon_{Y_i} = n \bar{\epsilon_X} \bar{\epsilon_Y} + \sum_i (\epsilon_{X_i} - \bar{\epsilon_X}) (\epsilon_{Y_i} - \bar{\epsilon_Y}) (27)
189
+
190
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Text]
191
+ where bar denotes sample average so that \bar{\epsilon_X} = \frac{\sum_i \epsilon_{X_i}}{n} and \bar{\epsilon_Y} = \frac{\sum_i \epsilon_{Y_i}}{n} .
192
+
193
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Text]
194
+ The first term of equation (27) can be written with familiar quantities as \bar{\epsilon_X} = \frac{S_X}{n} and \bar{\epsilon_Y} = \frac{S_Y}{n} resulting in n\bar{\epsilon_X}\bar{\epsilon_Y} = \frac{S_XS_Y}{n} . The second part requires more deliberation. \sum_i (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y}) is clearly a sum of an RV that follows a normal product distribution. To facilitate sampling, we rewrite this as
195
+
196
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Equation]
197
+ \sum (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y}) = \frac{1}{4} \sum (\epsilon_{X_i} - \bar{\epsilon_X} + \epsilon_{Y_i} - \bar{\epsilon_Y})^2 + \frac{1}{4} \sum (\epsilon_{X_i} - \bar{\epsilon_X} - \epsilon_{Y_i} + \bar{\epsilon_Y})^2. (28)
198
+
199
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Text]
200
+ Both terms (sums of squares) in the right-hand side of this equation are sums of squared normals which are \chi^2 -distributed with n-1 degrees of freedom. Hence
201
+
202
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Equation]
203
+ \sum (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y}) = \frac{1}{4}(2U_{XY} - 2V_{XY}) (29)
204
+
205
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Text]
206
+ where U_{XY} \sim \chi^2(n-1) and V_{XY} \sim \chi^2(n-1) and these are independent.
207
+
208
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Text]
209
+ Following the same pattern, it can be shown that
210
+
211
+ [p. 16 | section: E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS | type: Equation]
212
+ S_9 = \sum_{i} \epsilon_{X_i} \epsilon_{A_i} = \frac{S_X S_A}{n} + \frac{1}{2} (U_{XA} - V_{XA}) (30)
213
+
214
+ [p. 17 | section: E.3. Putting it all together | type: Text]
215
+ To generate one observation of ϕ from the agent's internal model, sample αXµ, αXσ, αY µ, αY σ, αAµ, αAσ, and NE. Then sample one observation for
216
+
217
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
218
+ S_X \sim \mathcal{N}(0, n) \tag{31}
219
+
220
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
221
+ S_Y \sim \mathcal{N}(0, n) \tag{32}
222
+
223
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
224
+ S_A \sim \mathcal{N}(0, n) \tag{33}
225
+
226
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
227
+ Z_{XX} \sim \chi^2(n-1) \tag{34}
228
+
229
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
230
+ U_{XY} \sim \chi^2(n-1) \tag{35}
231
+
232
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
233
+ V_{XY} \sim \chi^2(n-1) \tag{36}
234
+
235
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
236
+ U_{XA} \sim \chi^2(n-1) \tag{37}
237
+
238
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
239
+ V_{XA} \sim \chi^2(n-1). \tag{38}
240
+
241
+ [p. 17 | section: E.3. Putting it all together | type: Text]
242
+ Insert the sampled values to calculate
243
+
244
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
245
+ S_9 = \frac{S_X S_A}{n} + \frac{1}{2} (U_{XA} - V_{XA}) \tag{39}
246
+
247
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
248
+ S_8 = \frac{S_X S_Y}{n} + \frac{1}{2} (U_{XY} - V_{XY}) \tag{40}
249
+
250
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
251
+ S_7 = Z_{XX} - \frac{S_X^2}{n} \tag{41}
252
+
253
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
254
+ S_6 = n\alpha_{X\mu}\alpha_{Y\mu} + \alpha_{X\mu}\alpha_{Y\sigma}S_Y + \alpha_{Y\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{Y\sigma}S_8 \tag{42}
255
+
256
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
257
+ S_5 = N_E \left( n\alpha_{X\mu}\alpha_{A\mu} + \alpha_{X\mu}\alpha_{A\sigma}S_A + \alpha_{A\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{A\sigma}S_9 \right) \tag{43}
258
+
259
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
260
+ S_4 = an\alpha_{X\mu} + a\alpha_{X\sigma}S_X \tag{44}
261
+
262
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
263
+ S_3 = \alpha_{X\sigma}^2 S_7 \tag{45}
264
+
265
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
266
+ S_2 = 2\alpha_{X\mu}\alpha_{X\sigma}S_X \tag{46}
267
+
268
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
269
+ S_1 = n\alpha_{X\mu}^2. (47)
270
+
271
+ [p. 17 | section: E.3. Putting it all together | type: Text]
272
+ With these, we can finally generate one observation from the distribution of ϕ:
273
+
274
+ [p. 17 | section: E.3. Putting it all together | type: Equation]
275
+ \phi = b + dN_E + \frac{S_4 + S_5 + S_6}{S_1 + S_2 + S_3}. (48)
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "filename": "_page_10_Figure_3.jpeg",
4
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_markdown/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/_page_10_Figure_3.jpeg",
5
+ "bytes": 23913,
6
+ "width": 591,
7
+ "height": 487,
8
+ "aspect_ratio": 1.213552361396304,
9
+ "keep": true,
10
+ "reject_reason": null,
11
+ "model_path": "assets/_page_10_Figure_3.jpeg"
12
+ },
13
+ {
14
+ "filename": "_page_11_Figure_1.jpeg",
15
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_markdown/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/_page_11_Figure_1.jpeg",
16
+ "bytes": 25924,
17
+ "width": 607,
18
+ "height": 509,
19
+ "aspect_ratio": 1.1925343811394893,
20
+ "keep": true,
21
+ "reject_reason": null,
22
+ "model_path": "assets/_page_11_Figure_1.jpeg"
23
+ },
24
+ {
25
+ "filename": "_page_11_Figure_2.jpeg",
26
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_markdown/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/_page_11_Figure_2.jpeg",
27
+ "bytes": 46080,
28
+ "width": 602,
29
+ "height": 520,
30
+ "aspect_ratio": 1.1576923076923078,
31
+ "keep": true,
32
+ "reject_reason": null,
33
+ "model_path": "assets/_page_11_Figure_2.jpeg"
34
+ },
35
+ {
36
+ "filename": "_page_12_Figure_1.jpeg",
37
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_markdown/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/_page_12_Figure_1.jpeg",
38
+ "bytes": 98174,
39
+ "width": 1255,
40
+ "height": 1044,
41
+ "aspect_ratio": 1.2021072796934866,
42
+ "keep": true,
43
+ "reject_reason": null,
44
+ "model_path": "assets/_page_12_Figure_1.jpeg"
45
+ },
46
+ {
47
+ "filename": "_page_1_Figure_10.jpeg",
48
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_markdown/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/_page_1_Figure_10.jpeg",
49
+ "bytes": 26148,
50
+ "width": 471,
51
+ "height": 406,
52
+ "aspect_ratio": 1.1600985221674878,
53
+ "keep": true,
54
+ "reject_reason": null,
55
+ "model_path": "assets/_page_1_Figure_10.jpeg"
56
+ },
57
+ {
58
+ "filename": "_page_3_Figure_1.jpeg",
59
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_markdown/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/_page_3_Figure_1.jpeg",
60
+ "bytes": 90462,
61
+ "width": 706,
62
+ "height": 1061,
63
+ "aspect_ratio": 0.6654099905749293,
64
+ "keep": true,
65
+ "reject_reason": null,
66
+ "model_path": "assets/_page_3_Figure_1.jpeg"
67
+ },
68
+ {
69
+ "filename": "_page_7_Figure_1.jpeg",
70
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_markdown/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/_page_7_Figure_1.jpeg",
71
+ "bytes": 111467,
72
+ "width": 1262,
73
+ "height": 721,
74
+ "aspect_ratio": 1.7503467406380029,
75
+ "keep": true,
76
+ "reject_reason": null,
77
+ "model_path": "assets/_page_7_Figure_1.jpeg"
78
+ }
79
+ ]
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_10_Figure_3.jpeg ADDED

Git LFS Details

  • SHA256: b7c5601554aaf32239f099bbb0cbc4e9c049a72c4c4bf5b2ab15fd19a69be377
  • Pointer size: 130 Bytes
  • Size of remote file: 23.9 kB
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_11_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: ad34cefc8a96fb0bfd1384356d4f65c9d5a6a8572eb622ef85a68ba1c1f53a45
  • Pointer size: 130 Bytes
  • Size of remote file: 25.9 kB
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_11_Figure_2.jpeg ADDED

Git LFS Details

  • SHA256: 670d25b685334ed08d4afae3851ae124e513a3bb906436046d1de7941ea1f8e6
  • Pointer size: 130 Bytes
  • Size of remote file: 46.1 kB
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_12_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: 43d5295887603c8fa7ba3f9fa2f4601dd33a3f5e7f1ebcfb6b589378fcdffa28
  • Pointer size: 130 Bytes
  • Size of remote file: 98.2 kB
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_1_Figure_10.jpeg ADDED

Git LFS Details

  • SHA256: e899975079b4ec86fd81a9a045825bb29b3a957225dd3535c640f518ab4697bf
  • Pointer size: 130 Bytes
  • Size of remote file: 26.1 kB
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_3_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: 7ff12be98b1571202dd65e0a732814e2c54a9580e1f56a30eb1c3cf97b5f93a0
  • Pointer size: 130 Bytes
  • Size of remote file: 90.5 kB
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/assets/_page_7_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: 6cb515c21c9e9988f385ee0bb5ae0f989cc5a83d524f5f40688c50cd9e6dc8c5
  • Pointer size: 131 Bytes
  • Size of remote file: 111 kB
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/chunks_v3_anonymized.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/dataset_meta.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892",
3
+ "pipeline": "Paper2Markdown-V3",
4
+ "ok": true,
5
+ "page_count": 17,
6
+ "chunk_count": 197,
7
+ "main_body_chunk_count": 102,
8
+ "appendix_chunk_count": 92,
9
+ "reference_chunk_count": 3,
10
+ "model_text_chars": 45577,
11
+ "raw_markdown_chars": 62833,
12
+ "sanitized_chars": 61195,
13
+ "page_provenance": {
14
+ "min_page": 1,
15
+ "max_page": 17,
16
+ "invalid_count": 0
17
+ },
18
+ "marker_block_type_counts": {
19
+ "Equation": 56,
20
+ "Figure": 1,
21
+ "FigureGroup": 6,
22
+ "Footnote": 6,
23
+ "ListGroup": 4,
24
+ "PageFooter": 17,
25
+ "PageHeader": 16,
26
+ "SectionHeader": 30,
27
+ "Text": 423
28
+ },
29
+ "asset_count_raw": 7,
30
+ "asset_count_model_kept": 7,
31
+ "asset_count_rejected": 0,
32
+ "asset_reject_reasons": {
33
+ "kept": 7
34
+ },
35
+ "artifact_leak_audit": {
36
+ "ok": true,
37
+ "hits": {
38
+ "Anonymous Authors": [],
39
+ "ACKNOWLEDGMENT": [],
40
+ "OpenReview": [],
41
+ "\"accept_label\"": [],
42
+ "\"decision\"": [],
43
+ "\"decision_tier\"": [],
44
+ "\"source_status\"": [],
45
+ "Meta-review": [],
46
+ "Official Review": [],
47
+ "official_reviews": [],
48
+ "meta_reviews": [],
49
+ "suggested_verdict_score": []
50
+ },
51
+ "artifact_count": 2
52
+ },
53
+ "default_model_input": "model_text_v3.txt",
54
+ "appendix_input": "appendix_text_v3.txt",
55
+ "reference_input": "reference_text_v3.txt",
56
+ "source": "koala_icml26_due_queue",
57
+ "run_name": "icml26_20260429_1952_duequeue"
58
+ }
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/main_body_chunks.jsonl ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0000", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "Across a growing number of fields, human decision making is supported by predictions from AI models. However, we still lack a deep understanding of the effects of adoption of these technologies. In this paper, we introduce a general computational framework, the 2-Step Agent, which models the effects of AI-assisted decision making. Our framework uses Bayesian methods for causal inference to model 1) how a prediction on a new observation affects the beliefs of a rational Bayesian agent, and 2) how this change in beliefs affects the downstream decision and subsequent outcome. Using this framework, we show by simulations how a single misaligned prior belief can be sufficient for decision support to result in worse downstream outcomes compared to no decision support. Our results reveal several potential pitfalls of AI-driven decision support and highlight the need for thorough model documentation and proper user training.", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
2
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0001", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Background. Prediction models are often used to support decision making: a model trained on past data produces a forecast for a future outcome of interest, which a agent can take into account when deciding how to act. For the rest of this article, we will refer to such decision support as ML-DS (Machine Learning Decision Support) to emphasize the fact that the model has been trained on data. This is sometimes also called 'predictive optimization' (Wang et al., 2024) . Contrary to full automation, in high-risk settings ML-DS is sometimes perceived as a way to leverage the power of machine learning while retaining human oversight (see for instance Article 14 of the EU AI Act (European Parliament & Council of the European Union, 2024) ).", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
3
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0002", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Understanding the practical impact of adopting ML-DS in a domain is essential. First, ML-DS is on the rise, and currently deployed in a variety of fields including healthcare, education (Smith et al., 2012) , policing and judicial system (Kleinberg et al., 2018) , as well as redistribution of welfare (Kube et al., 2019) . Second, allowing machines to influence decision making carries important risks, e.g. the incorporation of biased advice (Obermeyer et al., 2019) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/9"}
4
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0003", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "In this paper, we present a full-fledged computational models of ML-DS, the 2-Step Agent . While most research on effects of ML-DS focuses on the model, we unpack the inner working of the decision maker, studying how a rational agent incorporates information from ML-DS in order to make a decision. We demonstrate that the introduction of ML-DS can lead to harmful consequences due to a mismatch of the model with the users' expectations or training, even in an ideal scenario where the ML model is as good as it gets and the agent is a 'perfect' reasoner.", "source": "marker_v2", "marker_block_id": "/page/0/Text/10"}
5
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0004", "section": "Motivating example 1: Effect of the agent's prior beliefs.", "page_start": 1, "page_end": 1, "type": "Text", "text": "Consider the situation of an oncologist using ML-DS when deciding how to treat a cancer patient. The ML-model predicts that the patient has only two months left to live. We can then imagine two lines of thinking depending on the clinician's prior beliefs. If the model was trained on patients who received minimal treatment, a very heavy treatment may extend the survival time. On the other hand, if the model is trained on patients who received the heaviest treatment, it is best to put the patient on palliative care to avoid unnecessary suffering from side-effects.", "source": "marker_v2", "marker_block_id": "/page/0/Text/12"}
6
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0005", "section": "Motivating example 1: Effect of the agent's prior beliefs.", "page_start": 1, "page_end": 1, "type": "Text", "text": "This example showcases that, even in presence of the same information from ML-DS, different prior assumptions about the model and the data it was trained on can lead to opposite actions . This underscores the importance of an agent's priors in determining the effectiveness of ML-DS, 1 a point that has already been argued for in previous literature (see e.g., (van Geloven et al., 2025) ) but has not been studied", "source": "marker_v2", "marker_block_id": "/page/0/Text/13"}
7
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0006", "section": "Motivating example 1: Effect of the agent's prior beliefs.", "page_start": 1, "page_end": 1, "type": "Footnote", "text": "1 Setting the agent prior beliefs by proper training is indeed an important part of RCTs' protocols that is not always adhered to (Perepletchikova et al., 2007) . When it is not possible to create a common baseline of beliefs and behavior, a two-stage randomization might be required, both on the providers of the intervention and the subjects (Borm et al., 2005) .", "source": "marker_v2", "marker_block_id": "/page/0/Footnote/14"}
8
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0007", "section": "Motivating example 1: Effect of the agent's prior beliefs.", "page_start": 2, "page_end": 2, "type": "Text", "text": "quantitatively.", "source": "marker_v2", "marker_block_id": "/page/1/Text/1"}
9
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0008", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "Consider a variation of the previous scenario involving a clinician and a patient with a similar prognosis. Before seeing the model's prediction, the clinician believes that in the training data of the model (1) patients were always treated, and in general (2) patients ended up surviving between 6 and 12 months when treated. Seeing a prediction of two months of survival, and assuming the patient is not an outlier, this set of beliefs is challenged.", "source": "marker_v2", "marker_block_id": "/page/1/Text/3"}
10
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0009", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "The clinician can then revise their beliefs in at least two different ways. They can conclude the model's training data had in fact some untreated patients, and that this patient might be similar to one of the untreated patients. In this case, it might still be beneficial to treat. On the other hand, they might conclude they were wrong about the effect of treatment on patients. In this case, the treatment must be less beneficial than previously thought by the clinician. Therefore it might be best to abstain from treatment.", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
11
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0010", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "Hence the way in which ML-DS changes the agent's be liefs will influence the action of the agent . Capturing this phenomenon means solving a challenging leaning problem where the ML prediction is used as proxy information about the causal process the agent wants to intervene on.", "source": "marker_v2", "marker_block_id": "/page/1/Text/5"}
12
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0011", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "Contributions of the paper These examples show the importance of an agent's prior knowledge for the impact of ML-DS. In this paper, we introduce a general computational framework to study the interaction of an agent with an ML-DS system.", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
13
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0012", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "We make three main contributions. First, we provide a rigorous formalism to analyze how a user interacts with ML-DS system in order to act. Our framework captures said interaction in two steps (2-Step Agent): a Bayesian step in which the agent incorporates the information given by the decision support model into their model of the world, and a causal inference step in which the agent draws the conclusion on which action is best to take. This is schematically depicted in Fig 1 for the clinical example.", "source": "marker_v2", "marker_block_id": "/page/1/Text/7"}
14
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0013", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "Our second contribution is to run computational experiments to quantify the effect of using ML-DS on patient outcomes. We show that harmful effects can occur in realistic scenarios already when a single prior is misaligned. We also show that ML-DS can be beneficial in some settings.", "source": "marker_v2", "marker_block_id": "/page/1/Text/8"}
15
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0014", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "Finally, to the best of our knowledge we provide the first treatment of how a Bayesian agent can update their beliefs about a population after observing a prediction of an ML model trained on data from that population. This update involves a challenging inference through a set of latent interchangeable variables in the predictive model's training", "source": "marker_v2", "marker_block_id": "/page/1/Text/9"}
16
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0015", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "FigureGroup", "text": "Figure 1. The diagram shows the overall flow of the model. A new patient with certain attributes (1) arrives for treatment, and the patient's data (2), potentially along with the output of a prediction model (2'), is observed by the agent, e.g., a doctor. The agent uses these observations to update their previous beliefs about the population and the predictive model (3), a step which we model as a Bayesian update. Based on their new beliefs, the agent estimates the effect of treatment (4) and makes a treatment decision (5). Finally, the treatment together with the patient's attributes determine a final outcome (6).", "source": "marker_v2", "marker_block_id": "/page/1/FigureGroup/453"}
17
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0016", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "data. We prove that for simple linear models it is possible to reduce this set to a few sufficient statistics, improving computational cost and numerical stability when applying our framework.", "source": "marker_v2", "marker_block_id": "/page/1/Text/12"}
18
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0017", "section": "Motivating example 2: Agent learning from ML-DS.", "page_start": 2, "page_end": 2, "type": "Text", "text": "While our running example is medical, the results are general and apply for every other field where prediction models are employed as decision support. Furthermore, our simulations are only concerned with simple (non-causal) prediction models; ML-DS with causal model is left for future work. The code and experiments are available open-source. 2", "source": "marker_v2", "marker_block_id": "/page/1/Text/13"}
19
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0018", "section": "2. The 2-Step Agent: Defining the framework", "page_start": 2, "page_end": 2, "type": "Text", "text": "In this section, we give a formal description of our 2-Step Agent for studying the effects of ML-DS. We first give a description of the process that generates the training data for the predictive model, as well as the possible types of predictive model (Sec. 2.1) . We formalize the first step, which consists of a Bayesian agent updating their beliefs about the world given a prediction from the predictive model for a new patient (Sec. 2.2) . We then formalize the second step, where the Bayesian agent uses the updated beliefs about the population to decide on a treatment for the new patient (Sec. 2.3) .", "source": "marker_v2", "marker_block_id": "/page/1/Text/15"}
20
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0019", "section": "2.1. The setup: Historical data and predictive model", "page_start": 2, "page_end": 2, "type": "Text", "text": "We start by formally defining a causal model of the domain. Let A be a variable denoting an intervention, such as the administration of a treatment. The treatment variable may", "source": "marker_v2", "marker_block_id": "/page/1/Text/17"}
21
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0020", "section": "2.1. The setup: Historical data and predictive model", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "2 The code will be shared upon acceptance.", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/18"}
22
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0021", "section": "2.1. The setup: Historical data and predictive model", "page_start": 3, "page_end": 3, "type": "Text", "text": "be continuous or categorical, but to lighten the notation we will present the formulas with a binary A. Let Y be a variable denoting an outcome of interest. In our example above, the treatment could be a fixed dose of chemotherapy and the outcome the months of survival, so in this case a higher outcome is better. We use X_i to refer to covariates involved in the causal mechanisms governing the treatment and outcome.", "source": "marker_v2", "marker_block_id": "/page/2/Text/1"}
23
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0022", "section": "2.1. The setup: Historical data and predictive model", "page_start": 3, "page_end": 3, "type": "Text", "text": "Definition 2.1 (Historical data generation). We assume Hist = (\\mathbf{S}, P_{\\mathbf{N}}) to be the minimal structural causal model (SCM) describing the causal mechanisms producing A and Y, where \\mathbf{S} is a set of assignments defining each variable in terms of its parents and P_{\\mathbf{N}} is a joint distribution over the noise variables. We use \\bar{X} = X_1, \\ldots, X_k to denote endogenous (non-noise) variables involved in the SCM that are different from A and Y.", "source": "marker_v2", "marker_block_id": "/page/2/Text/3"}
24
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0023", "section": "2.1. The setup: Historical data and predictive model", "page_start": 3, "page_end": 3, "type": "Text", "text": "An example of this SCM is depicted in Figure 2(b). The SCM Hist stands for the process in the world that generated the data before the introduction of decision support. Note that the assignment determining A might be due to a specific intervention protocol, e.g., the guidelines for administering the treatment that were in use in that particular time window. The SCM determines a unique joint distribution P^{Hist} over variables Y, A, \\bar{X} .", "source": "marker_v2", "marker_block_id": "/page/2/Text/5"}
25
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0024", "section": "2.1. The setup: Historical data and predictive model", "page_start": 3, "page_end": 3, "type": "Text", "text": "Next, we assume that a relevant dataset is generated by Hist and used to train a prediction model for decision support.", "source": "marker_v2", "marker_block_id": "/page/2/Text/7"}
26
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0025", "section": "2.1. The setup: Historical data and predictive model", "page_start": 3, "page_end": 3, "type": "Text", "text": "Definition 2.2 (Training data and prediction model). A dataset \\mathcal{D}_{Hist} = \\{(\\bar{x}_1, a_1, y_1), \\dots, (\\bar{x}_n, a_n, y_n)\\} of historical data is composed of tuples containing relevant characteristics, treatment, and outcome. The dataset contains n instances. This dataset is used to train a prediction model f: \\bar{X} \\to Y to estimate E^{Hist}(Y \\mid \\bar{X}) .", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
27
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0026", "section": "2.1. The setup: Historical data and predictive model", "page_start": 3, "page_end": 3, "type": "Text", "text": "Other estimands we do not consider are the treatment dependent estimate E^{Hist}(Y\\mid A,\\bar{X}) and the interventional estimate E^{Hist}(Y\\mid do(A),\\bar{X}) ; these are left for future work.", "source": "marker_v2", "marker_block_id": "/page/2/Text/11"}
28
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0027", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 3, "page_end": 3, "type": "Text", "text": "We next introduce an agent \\mathcal{A} who decides on the intervention for new observations (e.g. new patients) with the help of ML-DS. Rather than mechanically applying the recommendation of the ML-DS system, this agent uses their own internal model of the world, capturing not only what they believe about the data generating process Hist, but also what they believe concerning the prediction model f and the training data \\mathcal{D}_{Hist} . We model an agent who is aware of the model documentation containing the model class (e.g., a linear model, a tree ensemble, etc.), the model's signature (i.e. that it is treatment naive and what covariates are", "source": "marker_v2", "marker_block_id": "/page/2/Text/15"}
29
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0028", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 3, "page_end": 3, "type": "Text", "text": "involved),<sup>3</sup> and the size of the training data, but who is uncertain about the model's parameters. The agent can update their world model, including beliefs concerning historical data and model training.", "source": "marker_v2", "marker_block_id": "/page/2/Text/16"}
30
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0029", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 3, "page_end": 3, "type": "Text", "text": "Definition 2.3 (Internal beliefs of the agent). Call A_{hist} the Bayesian network defining the agent's joint distribution over the following variables:", "source": "marker_v2", "marker_block_id": "/page/2/Text/17"}
31
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0030", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 3, "page_end": 3, "type": "ListGroup", "text": "1. N_{\\bar{X}}, N_Y, N_A : These are the variables encoding the population-level distributions over the various quantities of interest, respectively: the patient's characteristics (N_{\\bar{X}}) , the noise in the outcome (N_Y) , and the noise in the treatment (N_A) . Depending on how population-level uncertainty is parameterized, these can be vectors. These population-level variables are sampled to produce the historical data. Within this Bayesian network, the historical data is represented via a plate, a graphical notation device used to show repeated, independent, and identically-structured components of a probabilistic model. N<sub>E</sub>: This variable denotes the treatment effect. Contrary to the other noise variables, this is not sampled for each plate repetition but only once, so it remains the same across the plate. 3. A_i, Y_i, \\bar{X}_i : These represent the i-th (out of n) datapoint in the training data of the predictive model. The whole training set is represented as a plate of multiplicity n. The noise distributions corresponding to these variables are fixed and outside the plate, capturing the fact that they are population-level distributions. All variables Y_i share the noise term N_E . 4. M: The prediction model's parameters, obtained deterministically from the training data in the plate and possibly some additional known parameter N<sub>M</sub> which encodes, e.g., the hyperparameter settings or initialization values. M has as parents all the variables in the plate, representing the fact that it is trained on the whole data set. 5. \\bar{X}^o : An observed data instance for a new patient, for which the agent will make a treatment decision. This array of variables has no non-noise parents and it is sampled from the same noise distribution as \\bar{X} .", "source": "marker_v2", "marker_block_id": "/page/2/ListGroup/421"}
32
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0031", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 3, "page_end": 3, "type": "Footnote", "text": "& lt;sup>3</sup>Recent guidelines explicitly suggest to additionally inform model users about the historical treatment policy. Our framework can be extended to model such settings, but here we focus on agents who are uncertain about historical treatment policy, for two reasons. First, this is a common scenario in current practice. Second, this provides a baseline estimation for the effects of ML-DS, which can be compared to better informed users in the future. We come back to these points in the discussion.", "source": "marker_v2", "marker_block_id": "/page/2/Footnote/23"}
33
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0032", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "FigureGroup", "text": "the SCM generating the data in the real world, while models (a) and (c) are the first and second steps of the 2-Step Agent. Model (a) allows the agent to perform a belief update given new information from ML-DS, while model (c) allows the agent to estimate the", "source": "marker_v2", "marker_block_id": "/page/3/FigureGroup/324"}
34
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0033", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "model for \\bar{X}^o . This is derived deterministically from \\bar{X}^o and M.", "source": "marker_v2", "marker_block_id": "/page/3/Text/3"}
35
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0034", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "The Bayesian network encoding the conditional independencies of the model is shown in Figure 2 (a). To simplify presentation we depict the submodel of A_{hist} containing only the variables A, Y and X as coinciding with Hist, meaning that the agent has correct belief about the data generation process, although this does not have to be the case and the framework is general enough to allow these two structures to diverge.", "source": "marker_v2", "marker_block_id": "/page/3/Text/4"}
36
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0035", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "N_E encodes the agent's beliefs concerning the effect of the intervention: if the agent were to fix all the coefficients in the structural equation of Y, the effect of treatment would be fixed and there could be no update of his/her beliefs on the interventional distribution E^{A_{hist}}(Y \\mid \\bar{X}, do(A = 1)) . By letting the mechanism be influenced by N_E , we can treat the posterior as encoding a distribution over SCMs, each with its own fixed assignment for Y (and thus each with its own treatment effect).", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
37
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0036", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "The agent's initial beliefs are represented via priors.", "source": "marker_v2", "marker_block_id": "/page/3/Text/6"}
38
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0037", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "Definition 2.4 (Agent's priors). The agent is assumed to", "source": "marker_v2", "marker_block_id": "/page/3/Text/7"}
39
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0038", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "have as prior a joint distribution over all variables in the model, which depends on the unconditional distribution P_{N_{\\bar{X}},N_Y,N_A,N_E}^{\\mathcal{A}_{hist}}.", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
40
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0039", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "For all i < n, the priors encode the agent's starting beliefs about various quantities. First, P_{N_{\\bar{X}}}^{\\mathcal{A}_{hist}} encodes the population-level distribution generating \\bar{X}_{i,} the agent's model of the historical population. Second, P_{N_A}^{\\mathcal{A}_{hist}} encodes the population-level distribution generating the noise of A_i , the agent's model of the historical protocol to administer the intervention. Third, P_{N_Y}^{\\mathcal{A}_{hist}} encodes the population-level distribution generating the noise of Y_i , the agent's representation of the outcome. Finally, P_{N_E}^{A_{hist}} encodes the effect of treatment, assumed to be fixed across the population. We assume the agent knows the values of the parameters of the distribution N_M , since he/she has access to the model documentation, therefore we omit this prior.", "source": "marker_v2", "marker_block_id": "/page/3/Text/9"}
41
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0040", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "This prior is updated via a Bayesian update based on the observables X^o and Pred^o .", "source": "marker_v2", "marker_block_id": "/page/3/Text/10"}
42
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0041", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "Definition 2.5 (Agent belief update). Given \\bar{X}^o and Predo the agent does a Bayesian update on the prior P^{\\mathcal{A}_{hist}}(N_{\\bar{X}}, N_Y, N_A, N_E) , obtaining a posterior distribu-", "source": "marker_v2", "marker_block_id": "/page/3/Text/11"}
43
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0042", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Equation", "text": "P^{\\mathcal{A}_{hist}}(N_{\\bar{X}}, N_Y, N_A, N_E \\mid \\bar{X}^o, Pred^o)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/12"}
44
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0043", "section": "2.2. The first step: Bayesian update of the agent's beliefs", "page_start": 4, "page_end": 4, "type": "Text", "text": "To simplify exposition, we marginalize over uncertainty in the plate variables (\\bar{X}_i, Y_i, A_i \\text{ with } i < n) and M.", "source": "marker_v2", "marker_block_id": "/page/3/Text/13"}
45
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0044", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 4, "page_end": 4, "type": "Text", "text": "We described the agent' world model and how the agent updates it upon observing predictions from an ML-DS system for a new patient, which we called the first step. In the second step, the agent estimates the effect of the treatment on the new patient using their updated world model. This is necessary for the agent to consider a 'fresh' iteration of the plate and calculate the correct interventional probability. Another conceptual reason to introduce a second model is that - when the agent does Bayesian inference - the values of A and Y for the new instance \\bar{X}^o are not realized yet.", "source": "marker_v2", "marker_block_id": "/page/3/Text/15"}
46
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0045", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 4, "page_end": 4, "type": "Text", "text": "Definition 2.6 (Agent model for decision making). This model contains variables N_E, N_{\\bar{X}}, N_A, N_Y, X, A, Y , arranged as the similarly-named variables in the sub-model of A_{hist} . This model is used for inference on new instances and we denote it as A_{inf} .", "source": "marker_v2", "marker_block_id": "/page/3/Text/16"}
47
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0046", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 4, "page_end": 4, "type": "Text", "text": "This second agent model is depicted in Figure 2 (c). The crucial difference between this model and a regular SCM is that the noise variables are not assumed to be independent but rather they are initialized with the joint posterior obtained in the previous Bayesian step. The agent is thus drawing an inference over a distribution of possible SCMs.", "source": "marker_v2", "marker_block_id": "/page/3/Text/17"}
48
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0047", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 4, "page_end": 4, "type": "Text", "text": "To decide what to do on the new instance, the agent then", "source": "marker_v2", "marker_block_id": "/page/3/Text/18"}
49
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0048", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 5, "page_end": 5, "type": "Text", "text": "calculates the effect of the intervention on the model A_{inf} where the joint distribution of the noise is set to the posterior calculated over A_{hist} .", "source": "marker_v2", "marker_block_id": "/page/4/Text/2"}
50
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0049", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 5, "page_end": 5, "type": "Text", "text": "Definition 2.7 (Decision rule). To make a decision, the agent first sets the joint distribution of the inference model according to the posterior on the historical model:", "source": "marker_v2", "marker_block_id": "/page/4/Text/3"}
51
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0050", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 5, "page_end": 5, "type": "Equation", "text": "P^{\\mathcal{A}_{inf}}(N_{\\bar{X}}, N_Y, N_A, N_E) := P^{\\mathcal{A}_{hist}}(N_{\\bar{X}}, N_Y, N_A, N_E \\mid \\bar{X}^o, Pred^o)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/4"}
52
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0051", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 5, "page_end": 5, "type": "Text", "text": "Following this, treatment is given iff the Conditional Average Treatment Effect (CATE) for the new patient crosses a threshold value, meaning", "source": "marker_v2", "marker_block_id": "/page/4/Text/5"}
53
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0052", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 5, "page_end": 5, "type": "Equation", "text": "E_{P^{\\mathcal{A}_{inf}}}[\\mathrm{CATE}] > \\tau", "source": "marker_v2", "marker_block_id": "/page/4/Equation/6"}
54
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0053", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 5, "page_end": 5, "type": "Text", "text": "where \\tau is a threshold set by the agent beforehand and CATE = E^{\\mathcal{A}_{inf}}(Y \\mid \\bar{X} = \\bar{X}^o, do(A=0)) - E^{\\mathcal{A}_{inf}}(Y \\mid \\bar{X} = \\bar{X}^o, do(A=1)) . In other words, treatment is given if the expected effect of treatment is sufficiently large in the desired direction.", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
55
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0054", "section": "2.3. The second step: deciding on the best action after belief update", "page_start": 5, "page_end": 5, "type": "Text", "text": "When the threshold is zero, the agent administers the treatment if the expected outcome is better in the scenario where they are giving the treatment, conditioned on the patient characteristics, versus the scenario where treatment is not given. Crucially, these interventional expectations are calculated on the internal model of the agent.", "source": "marker_v2", "marker_block_id": "/page/4/Text/8"}
56
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0055", "section": "2.4. Quantifying the effect of introducing decision support", "page_start": 5, "page_end": 5, "type": "Text", "text": "Given the machinery defined above, we are able to calculate the effect of introducing decision support. Given the prediction model and the specification of the agent - which is determined by spelling out \\mathcal{A}_{hist} and \\mathcal{A}_{inf} - the decision of the agent on a new data point (as described by covariates \\bar{X}^o ) is deterministic (i.e. we can implement the input-output process described in Figure 1). We can thus formalize it as a function Act^{\\mathcal{A},f}: \\bar{X} \\to A . The way the decision support changes the actions of the agent is then represented as an intervention on Hist changing the assignment of A:", "source": "marker_v2", "marker_block_id": "/page/4/Text/10"}
57
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0056", "section": "2.4. Quantifying the effect of introducing decision support", "page_start": 5, "page_end": 5, "type": "Equation", "text": "A := Act^{\\mathcal{A}, f}(\\bar{X})", "source": "marker_v2", "marker_block_id": "/page/4/Equation/11"}
58
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0057", "section": "2.4. Quantifying the effect of introducing decision support", "page_start": 5, "page_end": 5, "type": "Text", "text": "The post-interventional SCM is then indicated with the notation Hist^{A=Act^{\\mathcal{A},f}(\\bar{X})} , where f is the prediction model from Definition 2.2. We can now define the effect of introducing decision support as the risk difference in outcomes generated by Hist compared to Hist^{A=Act^{\\mathcal{A},f}(\\bar{X})} . This quantifies the effect of the intervention 'using MS-DL', compared to the historical policy.", "source": "marker_v2", "marker_block_id": "/page/4/Text/12"}
59
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0058", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "We design experiments to answer two questions. First, how and how much does decision support influence (i) treatment", "source": "marker_v2", "marker_block_id": "/page/4/Text/14"}
60
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0059", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "decisions, (ii) agent's beliefs, and (iii) downstream patient outcomes? Second, what role is played by the agent's priors? To address these questions, we vary the priors of the agent and compare the scenarios with and without ML-DS. For each prior setting, we plot the change in treatment decisions, in agent's beliefs, and in patient outcomes, with and without ML-DS, after observing a single patient.", "source": "marker_v2", "marker_block_id": "/page/4/Text/15"}
61
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0060", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "Use case We consider a data-generating model with one continuous covariate X, continuous intervention A, and a continuous outcome Y. Higher values of the outcomes are better. One can think of the initial example and interpret X as body weight, A as dosage of chemotherapy, and Y as months of survival. We set n=1000 and we assume the prediction model to be a slope-only linear regression. Despite the continuous treatment, for simplicity we assume the agent compares two treatment options, A=10 or A=20, intuitively ten and twenty units of dosage respectively.", "source": "marker_v2", "marker_block_id": "/page/4/Text/16"}
62
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0061", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "Historical SCM. Let the SCM Hist be defined as:", "source": "marker_v2", "marker_block_id": "/page/4/Text/17"}
63
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0062", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Equation", "text": "N_X \\sim \\mathcal{N}(80, 10) N_A \\sim \\mathcal{N}(2, 1) N_Y \\sim \\mathcal{N}(0, 0.1) X := N_X A := 0.125 * X + N_A Y := 12 - 0.1 * X + 1 * A + N_Y", "source": "marker_v2", "marker_block_id": "/page/4/Equation/18"}
64
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0063", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "In this model, the treatment protocol is simply to give a dosage of treatment A which is an eight of the body weight X, and how well this dosing is followed is encoded by the noise term N_A . The mechanism of Y clarifies that the covariate X makes the outcome worse but the treatment improves the outcome. Of course, this equation is a great simplification of what happens in reality, but it is sufficient to demonstrate several important dynamics that emerge when introducing ML-DS. Average treatment effect is positive in this scenario, as witnessed by the positive coefficient of A in the equation for Y.", "source": "marker_v2", "marker_block_id": "/page/4/Text/19"}
65
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0064", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "The internal model of the agent's beliefs. The internal model of the agent A_{hist} encodes the agent's uncertainty about Hist :", "source": "marker_v2", "marker_block_id": "/page/4/Text/20"}
66
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0065", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Equation", "text": "X_{i} \\sim \\mathcal{N}(\\boldsymbol{\\alpha}_{\\boldsymbol{X}\\boldsymbol{\\mu}}, \\boldsymbol{\\alpha}_{\\boldsymbol{X}\\boldsymbol{\\sigma}}) \\qquad \\text{with } i < n N_{A_{i}} \\sim \\mathcal{N}(\\boldsymbol{\\alpha}_{\\boldsymbol{A}\\boldsymbol{\\mu}}, \\boldsymbol{\\alpha}_{\\boldsymbol{A}\\boldsymbol{\\sigma}}) \\qquad \\text{with } i < n N_{Y_{i}} \\sim \\mathcal{N}(\\boldsymbol{\\alpha}_{\\boldsymbol{Y}\\boldsymbol{\\mu}}, \\boldsymbol{\\alpha}_{\\boldsymbol{Y}\\boldsymbol{\\sigma}}) \\qquad \\text{with } i < n A_{i} = 0.125 X_{i} + N_{A_{i}} \\qquad \\text{with } i < n Y_{i} = 12 - 0.1 X_{i} + N_{\\boldsymbol{E}} A_{i} + N_{Y_{i}} \\qquad \\text{with } i < n M = \\arg\\min_{\\boldsymbol{\\phi} \\in \\Phi} (MSE(\\boldsymbol{\\phi}\\bar{X}, \\bar{Y})) X^{o} \\sim \\mathcal{N}(\\boldsymbol{\\alpha}_{\\boldsymbol{X}\\boldsymbol{\\mu}}, \\boldsymbol{\\alpha}_{\\boldsymbol{X}\\boldsymbol{\\sigma}}) Pred^{o} = MX^{o}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/21"}
67
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0066", "section": "3. Experimental setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "where \\bar{Y} = (Y_1, \\dots, Y_n) , etc are the respective vectors of n variables, \\phi is the single parameter of a least squares regression without intercept, and the variables in bold font indicate", "source": "marker_v2", "marker_block_id": "/page/4/Text/22"}
68
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0067", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "population-level priors that are given different values in the different simulations below.<sup>4</sup>", "source": "marker_v2", "marker_block_id": "/page/5/Text/1"}
69
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0068", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "The agent knows some aspects of the data generating process, e.g., some of the parameters in the mechanisms of Y and A, but has uncertainty on several dimensions. \\alpha_{A\\mu} encodes the belief of the agent on how much historical dosages of treatment deviated from the standard protocol. \\alpha_{X\\mu}, \\alpha_{X\\sigma} represent the uncertainty of the agent on how the feature X of the training data was distributed. In the definition of Y there are two uncertainties at play. The prior on \\alpha_{Y\\sigma} describes the uncertainty of the agent concerning Y. The distribution of N_E , on the other hand, captures the belief of the agent concerning the effectiveness of treatment A.", "source": "marker_v2", "marker_block_id": "/page/5/Text/2"}
70
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0069", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Defining different agents We consider two types of agents, one with 'correct' priors whose means are close to the historical SCM, and one with incorrect priors. This is an example of the former:", "source": "marker_v2", "marker_block_id": "/page/5/Text/3"}
71
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0070", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Equation", "text": "\\begin{aligned} &\\alpha_{X\\mu} \\sim \\mathcal{N}(80, 0.1) & \\alpha_{X\\sigma} \\sim \\mathcal{N}(10, 0.1) \\mid \\alpha_{X\\sigma} \\geq 0 \\\\ &\\alpha_{A\\mu} \\sim \\mathcal{N}(2, 1) & \\alpha_{A\\sigma} \\sim \\mathcal{N}(1, 0.1) \\mid \\alpha_{Y\\sigma} \\geq 0 \\\\ &\\alpha_{Y\\mu} \\sim \\mathcal{N}(0, 0.01) & \\alpha_{Y\\sigma} \\sim \\mathcal{N}(0.1, 0.01) \\mid \\alpha_{Y\\sigma} \\geq 0 \\\\ &N_E \\sim \\mathcal{N}(1, 0.1) \\end{aligned}", "source": "marker_v2", "marker_block_id": "/page/5/Equation/4"}
72
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0071", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "This agent essentially has the correct beliefs about the patient data distribution, historical treatment policy, outcome variance and treatment effect. They only have some uncertainty represented by some variance on these parameters. In our experiments, we vary each of the colored prior parameters, one at a time, to simulate various ways in which the agent's expectations may be incorrect.", "source": "marker_v2", "marker_block_id": "/page/5/Text/5"}
73
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0072", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "The internal model for the agent's effect estimation. Finally, the internal model of the agent used for inference, A_{inf} , is defined as:", "source": "marker_v2", "marker_block_id": "/page/5/Text/6"}
74
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0073", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Equation", "text": "\\begin{split} N_X &\\sim \\mathcal{N}(\\alpha_{X\\mu}, \\alpha_{X\\sigma}) \\quad N_A \\sim \\mathcal{N}(\\alpha_{A\\mu}, \\alpha_{A\\sigma}) \\\\ N_Y &\\sim \\mathcal{N}(\\alpha_{Y\\mu}, \\alpha_{Y\\sigma}) \\\\ X &:= N_X \\\\ A &:= 0.125 \\ X + N_A \\\\ Y &:= 12 - 0.1 \\ X + N_E \\ A + N_Y \\end{split}", "source": "marker_v2", "marker_block_id": "/page/5/Equation/7"}
75
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0074", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "The posterior defines a probability distribution over SCMs. Recall that the agent was interested in choosing between dosage A=10 or A=20 for the specific patient with", "source": "marker_v2", "marker_block_id": "/page/5/Text/8"}
76
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0075", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "weight equal to X^o . To compute the desired quantity, the agent aggregates the CATE produced by every SCM according to the posterior", "source": "marker_v2", "marker_block_id": "/page/5/Text/10"}
77
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0076", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Equation", "text": "C\\hat{ATE} = \\mathbb{E}_{P^{\\mathcal{A}_{inf}}}[E^{\\mathcal{A}_{inf}}(Y|X^o, do(A=20)) - E^{\\mathcal{A}_{inf}}(Y|X^o, do(A=10))]", "source": "marker_v2", "marker_block_id": "/page/5/Equation/11"}
78
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0077", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "where the expectation is over the joint posterior of the agent over the parameters, which was obtained updating A_{hist} .", "source": "marker_v2", "marker_block_id": "/page/5/Text/12"}
79
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0078", "section": "3. Experimental setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Reaching a decision. The agent will administer a dosage of 10 if the estimated CATE is below a threshold of 5 or a dosage of 20 otherwise. In other words, the higher dosage needs to improve the outcome by at least 5 months to be worth it. This completes the decision pipeline: given a patient X^o with a corresponding prediction and the type of agent, we can compute what the agent would do.", "source": "marker_v2", "marker_block_id": "/page/5/Text/13"}
80
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0079", "section": "4. Results", "page_start": 6, "page_end": 6, "type": "Text", "text": "We begin by showcasing how our framework can capture the two motivating examples presented in the Introduction. In the first example, the belief of the agent on the past policy determines how the prediction is interpreted and what action is taken.<sup>5</sup> Indeed, in the simulation, when X = 80, with a bad prognosis under the assumption of no treatment (\\alpha_{A\\mu} = 0) , the agent chooses a high dosage to improve the outcome (A = 20). With a bad prognosis under the assumption of heavy treatment ( \\alpha_{A\\mu}=20 ), the agent chooses a low dosage to reduce over-treatment (A = 10). In the second motivating example, new information from the prediction forces an agent to consider different options. In the model, this means that either belief in treatment effect (N_E) or in historical policy (\\mu_A) is revised, which appears as a correlation in the posterior belief in these two variables in Figure 4 in Appendix A.", "source": "marker_v2", "marker_block_id": "/page/5/Text/15"}
81
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0080", "section": "4. Results", "page_start": 6, "page_end": 6, "type": "Text", "text": "Next, for the use case described in Section 3, we report the effect of using ML-DS on two dimensions: 1) agent's belief of treatment effect and 2) downstream outcomes Y realized after the agent has taken an action, visualized in the top and bottom rows of Figure 3, respectively. In each of these plots, the outcomes obtained using ML-DS (orange boxplots) is contrasted with the outcomes obtained without it (blue boxplots), for different types of agents. The CATE plots sweep a wide range of options for the priors in order", "source": "marker_v2", "marker_block_id": "/page/5/Text/16"}
82
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0081", "section": "4. Results", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "& lt;sup>4</sup>Note that for ease of exposition we introduced some variables (N_{A_i}, N_{Y_i}) which are not present in Figure 2 (a). These can in principle be removed by specifying distributions directly on the inverse transformations of the ones given above for A_i and Y_i , and applying the appropriate Jacobian adjustment. In the PyMC implementation, we also use a small (1e-3) observational noise around Pred^o to allow us to sample from an observed deterministic transformation.", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/9"}
83
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0082", "section": "4. Results", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "& lt;sup>5</sup>All simulations presented in this paper are ran with PyMC v5 (Salvatier et al., 2016). We used the NUTS sampler to get 1000 samples for each of 4 chains, with 1000 tuning samples and a 'target_accept' parameter of 0.85. Diagnostics and visual inspection of the traces showed good mixing and no convergence issues (Max \\hat{R}=1.01 , and only 16 out 4000 runs had > 5 divergences, due to fixed 'target_accept' and extreme parameter values.). Sanity checks on the Bayesian model are reported in Appendix B.", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/17"}
84
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0083", "section": "4. Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "to reveal interesting dynamics of the agent's beliefs; in Appendix D we also report the CATE results for the more realistic range of ± 3 stds from the SCM reference value.", "source": "marker_v2", "marker_block_id": "/page/6/Text/1"}
85
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0084", "section": "4. Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "We begin with an agent whose priors beliefs coincide with the parameters of the historical SCM except for NE, i.e. treatment effect. Figure 3a and Figure 3d show what happens to CATE and Y when the agent's belief in N E varies. As expected, in the first figure we can see that the blue CATE has a slope that depends on the prior NE: without decision support, the belief on CATE is equal to N E multiplied by the difference in treatments. In the orange series however, we see an interesting behavior: after learning from the interaction with ML-DS, the agent corrects their belief in CATE re-aligning it to the correct value. In other words, when all other beliefs are correct, the agent can learn from ML-DS to estimate better CATE and take better actions. This is confirmed in Figure 3d where the orange series shows superior outcomes.", "source": "marker_v2", "marker_block_id": "/page/6/Text/2"}
86
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0085", "section": "4. Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "Figure 3b and Figure 3e show what happens when the agent's prior belief in the treatment protocol, µA, varies. In this scenario the prior CATE estimates are flat, for the simple reason that the agent has a fixed belief in N E and they are not updating it. When interacting with ML-DS however, the belief update changes CATE estimates quite a lot; this is because the agent is attempting to explain the gap between P red o given by ML-DS and the expected outcome they had from their prior beliefs. This reflects on outcomes in 3e where the orange series is sometimes below the blue one: incorrect beliefs in µ A can result in CATE estimates that lead to wrong actions and worsen outcome Y.", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
87
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0086", "section": "4. Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "A similar pattern is observed in Figures 3c, 3f, 6c (last one in Appendix D) : while prior CATE and Y estimates are relatively stable without ML-DS, new dynamics emerge when when ML-DS is introduced. For CATE, incorrect beliefs can have large effects both on the magnitude and sign. For Y , in both cases incorrect beliefs can lead to bad actions and worse outcomes.", "source": "marker_v2", "marker_block_id": "/page/6/Text/4"}
88
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0087", "section": "5. Related work", "page_start": 7, "page_end": 7, "type": "Text", "text": "A large body of literature is concerned with the analysis of ML-DS from different angles. A strand of literature focuses on how ML-DS is entangled with (changes in) the data generating process. Works in this category study limitations of what can be learned from data generated from past policies, e.g. (Lakkaraju et al., 2017) , or the dynamics that occur with alternating cycles of ML-DS deployment and re-training, as in the performative prediction literature (Perdomo et al., 2020; Boeken et al., 2024) . Another batch of articles is concerned with evaluation of ML-DS, laying out identifiability conditions for the effects of ML-DS on decisions (Imai et al., 2023) or trying to optimize human-machine complementar-", "source": "marker_v2", "marker_block_id": "/page/6/Text/6"}
89
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0088", "section": "5. Related work", "page_start": 7, "page_end": 7, "type": "Text", "text": "ity by design (Donahue et al., 2022; McLaughlin & Spiess, 2024) . Finally, a different set of papers investigate what human input can add to artificial agents already reaching some level of optimality (Alur et al., 2024; Zhang & Barein boim, 2022; Stensrud et al., 2024) . The key difference of our work is that we offer a more fine-grained description of what happens inside the decision maker, namely we unpack the micro-mechanism leading a decision maker to take an action on a single observation paired with AI prediction.", "source": "marker_v2", "marker_block_id": "/page/6/Text/7"}
90
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0089", "section": "5. Related work", "page_start": 7, "page_end": 7, "type": "Text", "text": "Other papers have studied how information flows between agents influencing their actions. In (Kamenica & Gentzkow, 2011) a Sender of information influences a Receiver Bayesian agent in order to stir their action. What we add here is that in our context the signal is an ML prediction produced from training data drawn from the same environment the agent reasons about; this coupling yields the distinctive inference problem we study, i.e. updating through latent interchangeable training variables.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
91
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0090", "section": "5. Related work", "page_start": 7, "page_end": 7, "type": "Text", "text": "Another important strand of work focuses on problems related to inferring information about a population P given predictions from a model trained on samples from P in the context of confidentiality attacks. This literature studies whether it is possible to use models' predictions (and other behavior) to recover the presence of a specific data point, in so-called membership inference attacks (Hu et al., 2022; Huang, 2025) ), or to infer statistical properties of a training datasets, so-called property-inference attacks (Ate niese et al., 2015; Wang et al., 2019) . While these models aim to recover information about the training set, e.g., the proportion of data in each label, our challenge is to marginalize across datasets and directly infer information about the underlying population.", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
92
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0091", "section": "6. Discussion", "page_start": 7, "page_end": 7, "type": "Text", "text": "We have presented the first explicit framework that includes an ML-DS system and a sophisticated user. Our 2-Step Agent framework captures the effect of an agent's prior beliefs, modeling learning effects due to the interaction and tracking agent's uncertainty. The framework allows for simulations comparing outcomes with and without ML-DS, in an RCT-like fashion, therefore quantifying the benefit/harm of ML-DS for different types of simulated agents.", "source": "marker_v2", "marker_block_id": "/page/6/Text/11"}
93
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0092", "section": "6. Discussion", "page_start": 7, "page_end": 7, "type": "Text", "text": "We provided an implementation of the framework for ML-DS with a linear model. Said implementation leverages a collapse of the plate via sufficient statistics (Appendix E.1) , greatly speeding up the simulations. Within this implementation, we have shown that incorrect beliefs about the distribution of the predictive model's training data may lead the agent to bad decisions, resulting in harmful outcomes.", "source": "marker_v2", "marker_block_id": "/page/6/Text/12"}
94
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0093", "section": "6. Discussion", "page_start": 7, "page_end": 7, "type": "Text", "text": "While previous literature had argued that incorrect beliefs about past treatment policy (µ A in our notation) might gener-", "source": "marker_v2", "marker_block_id": "/page/6/Text/13"}
95
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0094", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 3. Figures displaying the effects of different agent priors when using ML-DS (in orange) and without it (in blue). In all plots except from NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The top row displays the agent's prior and posterior (predictive) belief of CATE, while the bottom row shows the impact of the agent's decisions on the downstream outcome Y . The left column pertains to the belief on treatment effect, NE, the central column the belief about past treatment policy (µA) and the right column about the belief on past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band).", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/767"}
96
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0095", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "Text", "text": "ate worse downstream outcomes, e.g. in (van Geloven et al., 2025) , this is the first quantitative estimation of harmful effects of ML-DS. In our experiments we show that ML-DS can be harmful if the agent has wrong beliefs not only about the past treatment policy, but also about the distribution of covariates and the distribution of the outcome.", "source": "marker_v2", "marker_block_id": "/page/7/Text/3"}
97
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0096", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "Text", "text": "We also show that if the agent has otherwise correct beliefs, an incorrect belief about treatment effect may be corrected during updates that push the agent towards the true CATE. This suggests that in certain settings ML-DS building on a treatment-naive prediction model might still be beneficial.", "source": "marker_v2", "marker_block_id": "/page/7/Text/4"}
98
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0097", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "Text", "text": "This finding highlights the extreme sensitivity of ML-DS to agent prior beliefs when using a treatment-naive prediction model, and underscore the importance of providing full documentation and proper training to users of ML-DS. Finally, we remark that these results apply to any field deploying such systems and to any agent interacting with ML-DS, be it human or artificial.", "source": "marker_v2", "marker_block_id": "/page/7/Text/5"}
99
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0098", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "Text", "text": "Limitations and Future work The experiments in this paper explored only part of the potential of the framework. The experiments are limited to a use case in which the prediction model is linear and treatment-naive, and the data", "source": "marker_v2", "marker_block_id": "/page/7/Text/6"}
100
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0099", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "Text", "text": "generating process is simple (e.g., every distribution is normal, there is only one confounder). Implementing the use case was not trivial and required pushing a Bayesian update through OLS and a large amount of variables (see Appendix E.1) , hence it remains to be seen whether similar results can be obtained when the complexity of the use case increases.", "source": "marker_v2", "marker_block_id": "/page/7/Text/7"}
101
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0100", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "Text", "text": "We assume the agent reasons in a Bayesian fashion, which allows for a precise analysis of the agent's uncertainty. While this agent may not be realistic with respect to human behavior, it is useful to make this assumption to demonstrate what can go wrong in a best-case scenario, i.e., when the agent is a 'perfect' reasoner and the ML model has no flaws. Finally, this assumption is also interesting when considering how an artificial agent might learn from predictions of other ML models.", "source": "marker_v2", "marker_block_id": "/page/7/Text/8"}
102
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0101", "section": "6. Discussion", "page_start": 8, "page_end": 8, "type": "Text", "text": "In future work this line of research will be expanded across different dimensions, including i) different types of agents (e.g. agent with incorrect internal model of the world of different kinds of uncertainties) ii) more complex ML models for ML-DS, iii) cases with heterogeneity of treatment effect (i.e. the effect of the action is not the same for all instances), iv) repeated rounds of learning for the same agent and v) using causal models for ML-DS.", "source": "marker_v2", "marker_block_id": "/page/7/Text/9"}
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/marker_meta.json ADDED
@@ -0,0 +1,1515 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "table_of_contents": [
3
+ {
4
+ "title": "2-Step Agent:",
5
+ "heading_level": null,
6
+ "page_id": 0,
7
+ "polygon": [
8
+ [
9
+ 253.40625,
10
+ 87.78515625
11
+ ],
12
+ [
13
+ 341.66571044921875,
14
+ 87.78515625
15
+ ],
16
+ [
17
+ 341.66571044921875,
18
+ 104.2581787109375
19
+ ],
20
+ [
21
+ 253.40625,
22
+ 104.2581787109375
23
+ ]
24
+ ]
25
+ },
26
+ {
27
+ "title": "A Framework for the Interaction of a Decision Maker with AI Decision Support",
28
+ "heading_level": null,
29
+ "page_id": 0,
30
+ "polygon": [
31
+ [
32
+ 53.7890625,
33
+ 107.12109375
34
+ ],
35
+ [
36
+ 541.4765625,
37
+ 107.12109375
38
+ ],
39
+ [
40
+ 541.4765625,
41
+ 122.19024658203125
42
+ ],
43
+ [
44
+ 53.7890625,
45
+ 122.19024658203125
46
+ ]
47
+ ]
48
+ },
49
+ {
50
+ "title": "Anonymous Authors1",
51
+ "heading_level": null,
52
+ "page_id": 0,
53
+ "polygon": [
54
+ [
55
+ 248.23500061035156,
56
+ 158.94140625
57
+ ],
58
+ [
59
+ 339.5129089355469,
60
+ 158.94140625
61
+ ],
62
+ [
63
+ 339.5129089355469,
64
+ 170.8990478515625
65
+ ],
66
+ [
67
+ 248.23500061035156,
68
+ 170.8990478515625
69
+ ]
70
+ ]
71
+ },
72
+ {
73
+ "title": "Abstract",
74
+ "heading_level": null,
75
+ "page_id": 0,
76
+ "polygon": [
77
+ [
78
+ 148.21875,
79
+ 192.97265625
80
+ ],
81
+ [
82
+ 194.68328857421875,
83
+ 192.97265625
84
+ ],
85
+ [
86
+ 194.68328857421875,
87
+ 205.94830322265625
88
+ ],
89
+ [
90
+ 148.21875,
91
+ 205.94830322265625
92
+ ]
93
+ ]
94
+ },
95
+ {
96
+ "title": "1. Introduction",
97
+ "heading_level": null,
98
+ "page_id": 0,
99
+ "polygon": [
100
+ [
101
+ 54.685546875,
102
+ 474.2281188964844
103
+ ],
104
+ [
105
+ 132.27606201171875,
106
+ 474.2281188964844
107
+ ],
108
+ [
109
+ 132.27606201171875,
110
+ 486.1833190917969
111
+ ],
112
+ [
113
+ 54.685546875,
114
+ 486.1833190917969
115
+ ]
116
+ ]
117
+ },
118
+ {
119
+ "title": "Motivating example 1: Effect of the agent's prior beliefs.",
120
+ "heading_level": null,
121
+ "page_id": 0,
122
+ "polygon": [
123
+ [
124
+ 305.40234375,
125
+ 428.87109375
126
+ ],
127
+ [
128
+ 543.2294311523438,
129
+ 428.87109375
130
+ ],
131
+ [
132
+ 543.2294311523438,
133
+ 439.339111328125
134
+ ],
135
+ [
136
+ 305.40234375,
137
+ 439.339111328125
138
+ ]
139
+ ]
140
+ },
141
+ {
142
+ "title": "Motivating example 2: Agent learning from ML-DS.",
143
+ "heading_level": null,
144
+ "page_id": 1,
145
+ "polygon": [
146
+ [
147
+ 52.59375,
148
+ 97.83984375
149
+ ],
150
+ [
151
+ 291.184814453125,
152
+ 97.83984375
153
+ ],
154
+ [
155
+ 291.184814453125,
156
+ 108.491455078125
157
+ ],
158
+ [
159
+ 52.59375,
160
+ 108.491455078125
161
+ ]
162
+ ]
163
+ },
164
+ {
165
+ "title": "2. The 2-Step Agent: Defining the framework",
166
+ "heading_level": null,
167
+ "page_id": 1,
168
+ "polygon": [
169
+ [
170
+ 305.40234375,
171
+ 480.2551574707031
172
+ ],
173
+ [
174
+ 538.1514282226562,
175
+ 480.2551574707031
176
+ ],
177
+ [
178
+ 538.1514282226562,
179
+ 492.2103576660156
180
+ ],
181
+ [
182
+ 305.40234375,
183
+ 492.2103576660156
184
+ ]
185
+ ]
186
+ },
187
+ {
188
+ "title": "2.1. The setup: Historical data and predictive model",
189
+ "heading_level": null,
190
+ "page_id": 1,
191
+ "polygon": [
192
+ [
193
+ 307.44000244140625,
194
+ 645.43359375
195
+ ],
196
+ [
197
+ 528.92578125,
198
+ 645.43359375
199
+ ],
200
+ [
201
+ 528.92578125,
202
+ 655.8051147460938
203
+ ],
204
+ [
205
+ 307.44000244140625,
206
+ 655.8051147460938
207
+ ]
208
+ ]
209
+ },
210
+ {
211
+ "title": "2.2. The first step: Bayesian update of the agent's beliefs",
212
+ "heading_level": null,
213
+ "page_id": 2,
214
+ "polygon": [
215
+ [
216
+ 54.0,
217
+ 568.08984375
218
+ ],
219
+ [
220
+ 289.5,
221
+ 568.08984375
222
+ ],
223
+ [
224
+ 289.5,
225
+ 577.5
226
+ ],
227
+ [
228
+ 54.0,
229
+ 577.5
230
+ ]
231
+ ]
232
+ },
233
+ {
234
+ "title": "2.3. The second step: deciding on the best action after\nbelief update",
235
+ "heading_level": null,
236
+ "page_id": 3,
237
+ "polygon": [
238
+ [
239
+ 306.0,
240
+ 406.5
241
+ ],
242
+ [
243
+ 536.25,
244
+ 406.5
245
+ ],
246
+ [
247
+ 536.25,
248
+ 428.25
249
+ ],
250
+ [
251
+ 306.0,
252
+ 428.25
253
+ ]
254
+ ]
255
+ },
256
+ {
257
+ "title": "2.4. Quantifying the effect of introducing decision support",
258
+ "heading_level": null,
259
+ "page_id": 4,
260
+ "polygon": [
261
+ [
262
+ 54.0,
263
+ 397.16015625
264
+ ],
265
+ [
266
+ 266.25,
267
+ 397.16015625
268
+ ],
269
+ [
270
+ 266.25,
271
+ 419.58984375
272
+ ],
273
+ [
274
+ 54.0,
275
+ 419.58984375
276
+ ]
277
+ ]
278
+ },
279
+ {
280
+ "title": "3. Experimental setup",
281
+ "heading_level": null,
282
+ "page_id": 4,
283
+ "polygon": [
284
+ [
285
+ 52.59375,
286
+ 675.75
287
+ ],
288
+ [
289
+ 167.25,
290
+ 675.75
291
+ ],
292
+ [
293
+ 167.25,
294
+ 685.5
295
+ ],
296
+ [
297
+ 52.59375,
298
+ 685.5
299
+ ]
300
+ ]
301
+ },
302
+ {
303
+ "title": "4. Results",
304
+ "heading_level": null,
305
+ "page_id": 5,
306
+ "polygon": [
307
+ [
308
+ 304.20703125,
309
+ 292.74609375
310
+ ],
311
+ [
312
+ 357.0,
313
+ 292.74609375
314
+ ],
315
+ [
316
+ 357.0,
317
+ 302.25
318
+ ],
319
+ [
320
+ 304.20703125,
321
+ 302.25
322
+ ]
323
+ ]
324
+ },
325
+ {
326
+ "title": "5. Related work",
327
+ "heading_level": null,
328
+ "page_id": 6,
329
+ "polygon": [
330
+ [
331
+ 53.19140625,
332
+ 544.7311706542969
333
+ ],
334
+ [
335
+ 136.006103515625,
336
+ 544.7311706542969
337
+ ],
338
+ [
339
+ 136.006103515625,
340
+ 556.6863708496094
341
+ ],
342
+ [
343
+ 53.19140625,
344
+ 556.6863708496094
345
+ ]
346
+ ]
347
+ },
348
+ {
349
+ "title": "6. Discussion",
350
+ "heading_level": null,
351
+ "page_id": 6,
352
+ "polygon": [
353
+ [
354
+ 306.298828125,
355
+ 478.37109375
356
+ ],
357
+ [
358
+ 373.20556640625,
359
+ 478.37109375
360
+ ],
361
+ [
362
+ 373.20556640625,
363
+ 490.933349609375
364
+ ],
365
+ [
366
+ 306.298828125,
367
+ 490.933349609375
368
+ ]
369
+ ]
370
+ },
371
+ {
372
+ "title": "References",
373
+ "heading_level": null,
374
+ "page_id": 8,
375
+ "polygon": [
376
+ [
377
+ 51.099609375,
378
+ 67.67578125
379
+ ],
380
+ [
381
+ 110.9838638305664,
382
+ 67.67578125
383
+ ],
384
+ [
385
+ 110.9838638305664,
386
+ 79.80230712890625
387
+ ],
388
+ [
389
+ 51.099609375,
390
+ 79.80230712890625
391
+ ]
392
+ ]
393
+ },
394
+ {
395
+ "title": "A. Motivating example 2",
396
+ "heading_level": null,
397
+ "page_id": 10,
398
+ "polygon": [
399
+ [
400
+ 51.99609375,
401
+ 67.84710693359375
402
+ ],
403
+ [
404
+ 180.71853637695312,
405
+ 67.84710693359375
406
+ ],
407
+ [
408
+ 180.71853637695312,
409
+ 79.80230712890625
410
+ ],
411
+ [
412
+ 51.99609375,
413
+ 79.80230712890625
414
+ ]
415
+ ]
416
+ },
417
+ {
418
+ "title": "B. Sanity checks on the Bayesian model",
419
+ "heading_level": null,
420
+ "page_id": 10,
421
+ "polygon": [
422
+ [
423
+ 53.19140625,
424
+ 384.01171875
425
+ ],
426
+ [
427
+ 256.2514953613281,
428
+ 384.01171875
429
+ ],
430
+ [
431
+ 256.2514953613281,
432
+ 396.8913269042969
433
+ ],
434
+ [
435
+ 53.19140625,
436
+ 396.8913269042969
437
+ ]
438
+ ]
439
+ },
440
+ {
441
+ "title": "C. Results obtained when varying prior \u00b5Y",
442
+ "heading_level": null,
443
+ "page_id": 10,
444
+ "polygon": [
445
+ [
446
+ 53.7890625,
447
+ 602.0716247558594
448
+ ],
449
+ [
450
+ 271.505615234375,
451
+ 602.0716247558594
452
+ ],
453
+ [
454
+ 271.505615234375,
455
+ 614.9502105712891
456
+ ],
457
+ [
458
+ 53.7890625,
459
+ 614.9502105712891
460
+ ]
461
+ ]
462
+ },
463
+ {
464
+ "title": "D. Zoomed-in versions of the CATE plots",
465
+ "heading_level": null,
466
+ "page_id": 10,
467
+ "polygon": [
468
+ [
469
+ 53.7890625,
470
+ 662.1321563720703
471
+ ],
472
+ [
473
+ 264.82342529296875,
474
+ 662.1321563720703
475
+ ],
476
+ [
477
+ 264.82342529296875,
478
+ 674.0873489379883
479
+ ],
480
+ [
481
+ 53.7890625,
482
+ 674.0873489379883
483
+ ]
484
+ ]
485
+ },
486
+ {
487
+ "title": "E. Derivations for plate model",
488
+ "heading_level": null,
489
+ "page_id": 13,
490
+ "polygon": [
491
+ [
492
+ 53.19140625,
493
+ 67.84710693359375
494
+ ],
495
+ [
496
+ 208.64588928222656,
497
+ 67.84710693359375
498
+ ],
499
+ [
500
+ 208.64588928222656,
501
+ 79.80230712890625
502
+ ],
503
+ [
504
+ 53.19140625,
505
+ 79.80230712890625
506
+ ]
507
+ ]
508
+ },
509
+ {
510
+ "title": "",
511
+ "heading_level": null,
512
+ "page_id": 13,
513
+ "polygon": [
514
+ [
515
+ 44.525390625,
516
+ 109.44140625
517
+ ],
518
+ [
519
+ 61.857421875,
520
+ 109.44140625
521
+ ],
522
+ [
523
+ 61.857421875,
524
+ 119.49609375
525
+ ],
526
+ [
527
+ 44.525390625,
528
+ 119.49609375
529
+ ]
530
+ ]
531
+ },
532
+ {
533
+ "title": "E.1. Plate model, agent's internal model",
534
+ "heading_level": null,
535
+ "page_id": 13,
536
+ "polygon": [
537
+ [
538
+ 53.19140625,
539
+ 113.8834228515625
540
+ ],
541
+ [
542
+ 224.27615356445312,
543
+ 113.8834228515625
544
+ ],
545
+ [
546
+ 224.27615356445312,
547
+ 124.5234375
548
+ ],
549
+ [
550
+ 53.19140625,
551
+ 124.5234375
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "title": "(24)",
557
+ "heading_level": null,
558
+ "page_id": 15,
559
+ "polygon": [
560
+ [
561
+ 266.5546875,
562
+ 147.75
563
+ ],
564
+ [
565
+ 543.0,
566
+ 147.75
567
+ ],
568
+ [
569
+ 543.0,
570
+ 165.12890625
571
+ ],
572
+ [
573
+ 266.5546875,
574
+ 165.12890625
575
+ ]
576
+ ]
577
+ },
578
+ {
579
+ "title": "",
580
+ "heading_level": null,
581
+ "page_id": 15,
582
+ "polygon": [
583
+ [
584
+ 254.00390625,
585
+ 170.15625
586
+ ],
587
+ [
588
+ 539.68359375,
589
+ 170.15625
590
+ ],
591
+ [
592
+ 539.68359375,
593
+ 188.71875
594
+ ],
595
+ [
596
+ 254.00390625,
597
+ 188.71875
598
+ ]
599
+ ]
600
+ },
601
+ {
602
+ "title": "Cochran's theorem tells us that we can in certain situations separate the dependent and independent parts of sums of products",
603
+ "heading_level": null,
604
+ "page_id": 15,
605
+ "polygon": [
606
+ [
607
+ 54.0,
608
+ 209.98828125
609
+ ],
610
+ [
611
+ 542.25,
612
+ 209.98828125
613
+ ],
614
+ [
615
+ 542.25,
616
+ 232.41796875
617
+ ],
618
+ [
619
+ 54.0,
620
+ 232.41796875
621
+ ]
622
+ ]
623
+ },
624
+ {
625
+ "title": "S_7 = \\sum_{i} \\epsilon_{X_i}^2 = \\sum_{i} (\\epsilon_{X_i} - \\bar{\\epsilon_X})^2 - \\frac{(\\sum_{i} \\epsilon_{X_i})^2}{n}\n(26)",
626
+ "heading_level": null,
627
+ "page_id": 15,
628
+ "polygon": [
629
+ [
630
+ 201.0,
631
+ 268.76953125
632
+ ],
633
+ [
634
+ 543.0,
635
+ 268.76953125
636
+ ],
637
+ [
638
+ 543.0,
639
+ 297.38671875
640
+ ],
641
+ [
642
+ 201.0,
643
+ 300.0
644
+ ]
645
+ ]
646
+ },
647
+ {
648
+ "title": "E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS",
649
+ "heading_level": null,
650
+ "page_id": 15,
651
+ "polygon": [
652
+ [
653
+ 54.0,
654
+ 372.41015625
655
+ ],
656
+ [
657
+ 377.71875,
658
+ 372.41015625
659
+ ],
660
+ [
661
+ 377.71875,
662
+ 387.0
663
+ ],
664
+ [
665
+ 54.0,
666
+ 387.0
667
+ ]
668
+ ]
669
+ },
670
+ {
671
+ "title": "E.3. Putting it all together",
672
+ "heading_level": null,
673
+ "page_id": 16,
674
+ "polygon": [
675
+ [
676
+ 52.294921875,
677
+ 69.37646484375
678
+ ],
679
+ [
680
+ 165.5765380859375,
681
+ 69.37646484375
682
+ ],
683
+ [
684
+ 165.5765380859375,
685
+ 79.33905029296875
686
+ ],
687
+ [
688
+ 52.294921875,
689
+ 79.33905029296875
690
+ ]
691
+ ]
692
+ }
693
+ ],
694
+ "page_stats": [
695
+ {
696
+ "page_id": 0,
697
+ "text_extraction_method": "pdftext",
698
+ "block_counts": [
699
+ [
700
+ "Span",
701
+ 319
702
+ ],
703
+ [
704
+ "Line",
705
+ 143
706
+ ],
707
+ [
708
+ "Text",
709
+ 8
710
+ ],
711
+ [
712
+ "SectionHeader",
713
+ 6
714
+ ],
715
+ [
716
+ "Footnote",
717
+ 2
718
+ ],
719
+ [
720
+ "Reference",
721
+ 2
722
+ ],
723
+ [
724
+ "PageFooter",
725
+ 1
726
+ ]
727
+ ],
728
+ "block_metadata": {
729
+ "llm_request_count": 0,
730
+ "llm_error_count": 0,
731
+ "llm_tokens_used": 0,
732
+ "previous_text": "",
733
+ "previous_type": "",
734
+ "previous_order": 0
735
+ }
736
+ },
737
+ {
738
+ "page_id": 1,
739
+ "text_extraction_method": "pdftext",
740
+ "block_counts": [
741
+ [
742
+ "Span",
743
+ 291
744
+ ],
745
+ [
746
+ "Line",
747
+ 138
748
+ ],
749
+ [
750
+ "Text",
751
+ 16
752
+ ],
753
+ [
754
+ "SectionHeader",
755
+ 3
756
+ ],
757
+ [
758
+ "Reference",
759
+ 3
760
+ ],
761
+ [
762
+ "PageHeader",
763
+ 1
764
+ ],
765
+ [
766
+ "Figure",
767
+ 1
768
+ ],
769
+ [
770
+ "Caption",
771
+ 1
772
+ ],
773
+ [
774
+ "Footnote",
775
+ 1
776
+ ],
777
+ [
778
+ "PageFooter",
779
+ 1
780
+ ],
781
+ [
782
+ "FigureGroup",
783
+ 1
784
+ ]
785
+ ],
786
+ "block_metadata": {
787
+ "llm_request_count": 0,
788
+ "llm_error_count": 0,
789
+ "llm_tokens_used": 0,
790
+ "previous_text": "",
791
+ "previous_type": "",
792
+ "previous_order": 0
793
+ }
794
+ },
795
+ {
796
+ "page_id": 2,
797
+ "text_extraction_method": "surya",
798
+ "block_counts": [
799
+ [
800
+ "Line",
801
+ 215
802
+ ],
803
+ [
804
+ "Span",
805
+ 149
806
+ ],
807
+ [
808
+ "Text",
809
+ 48
810
+ ],
811
+ [
812
+ "ListItem",
813
+ 5
814
+ ],
815
+ [
816
+ "Reference",
817
+ 3
818
+ ],
819
+ [
820
+ "PageHeader",
821
+ 1
822
+ ],
823
+ [
824
+ "SectionHeader",
825
+ 1
826
+ ],
827
+ [
828
+ "Footnote",
829
+ 1
830
+ ],
831
+ [
832
+ "PageFooter",
833
+ 1
834
+ ],
835
+ [
836
+ "ListGroup",
837
+ 1
838
+ ]
839
+ ],
840
+ "block_metadata": {
841
+ "llm_request_count": 0,
842
+ "llm_error_count": 0,
843
+ "llm_tokens_used": 0,
844
+ "previous_text": "",
845
+ "previous_type": "",
846
+ "previous_order": 0
847
+ }
848
+ },
849
+ {
850
+ "page_id": 3,
851
+ "text_extraction_method": "surya",
852
+ "block_counts": [
853
+ [
854
+ "Span",
855
+ 155
856
+ ],
857
+ [
858
+ "Line",
859
+ 127
860
+ ],
861
+ [
862
+ "Text",
863
+ 36
864
+ ],
865
+ [
866
+ "Reference",
867
+ 2
868
+ ],
869
+ [
870
+ "PageHeader",
871
+ 1
872
+ ],
873
+ [
874
+ "Figure",
875
+ 1
876
+ ],
877
+ [
878
+ "Caption",
879
+ 1
880
+ ],
881
+ [
882
+ "Equation",
883
+ 1
884
+ ],
885
+ [
886
+ "SectionHeader",
887
+ 1
888
+ ],
889
+ [
890
+ "PageFooter",
891
+ 1
892
+ ],
893
+ [
894
+ "FigureGroup",
895
+ 1
896
+ ]
897
+ ],
898
+ "block_metadata": {
899
+ "llm_request_count": 0,
900
+ "llm_error_count": 0,
901
+ "llm_tokens_used": 0,
902
+ "previous_text": "",
903
+ "previous_type": "",
904
+ "previous_order": 0
905
+ }
906
+ },
907
+ {
908
+ "page_id": 4,
909
+ "text_extraction_method": "surya",
910
+ "block_counts": [
911
+ [
912
+ "Line",
913
+ 195
914
+ ],
915
+ [
916
+ "Span",
917
+ 147
918
+ ],
919
+ [
920
+ "Text",
921
+ 39
922
+ ],
923
+ [
924
+ "Equation",
925
+ 5
926
+ ],
927
+ [
928
+ "SectionHeader",
929
+ 2
930
+ ],
931
+ [
932
+ "PageHeader",
933
+ 1
934
+ ],
935
+ [
936
+ "PageFooter",
937
+ 1
938
+ ],
939
+ [
940
+ "Reference",
941
+ 1
942
+ ]
943
+ ],
944
+ "block_metadata": {
945
+ "llm_request_count": 0,
946
+ "llm_error_count": 0,
947
+ "llm_tokens_used": 0,
948
+ "previous_text": "",
949
+ "previous_type": "",
950
+ "previous_order": 0
951
+ }
952
+ },
953
+ {
954
+ "page_id": 5,
955
+ "text_extraction_method": "surya",
956
+ "block_counts": [
957
+ [
958
+ "Line",
959
+ 216
960
+ ],
961
+ [
962
+ "Span",
963
+ 141
964
+ ],
965
+ [
966
+ "Text",
967
+ 63
968
+ ],
969
+ [
970
+ "Equation",
971
+ 3
972
+ ],
973
+ [
974
+ "Footnote",
975
+ 2
976
+ ],
977
+ [
978
+ "Reference",
979
+ 2
980
+ ],
981
+ [
982
+ "PageHeader",
983
+ 1
984
+ ],
985
+ [
986
+ "SectionHeader",
987
+ 1
988
+ ],
989
+ [
990
+ "PageFooter",
991
+ 1
992
+ ]
993
+ ],
994
+ "block_metadata": {
995
+ "llm_request_count": 0,
996
+ "llm_error_count": 0,
997
+ "llm_tokens_used": 0,
998
+ "previous_text": "",
999
+ "previous_type": "",
1000
+ "previous_order": 0
1001
+ }
1002
+ },
1003
+ {
1004
+ "page_id": 6,
1005
+ "text_extraction_method": "pdftext",
1006
+ "block_counts": [
1007
+ [
1008
+ "Span",
1009
+ 430
1010
+ ],
1011
+ [
1012
+ "Line",
1013
+ 144
1014
+ ],
1015
+ [
1016
+ "Text",
1017
+ 21
1018
+ ],
1019
+ [
1020
+ "SectionHeader",
1021
+ 2
1022
+ ],
1023
+ [
1024
+ "PageHeader",
1025
+ 1
1026
+ ],
1027
+ [
1028
+ "PageFooter",
1029
+ 1
1030
+ ]
1031
+ ],
1032
+ "block_metadata": {
1033
+ "llm_request_count": 0,
1034
+ "llm_error_count": 0,
1035
+ "llm_tokens_used": 0,
1036
+ "previous_text": "",
1037
+ "previous_type": "",
1038
+ "previous_order": 0
1039
+ }
1040
+ },
1041
+ {
1042
+ "page_id": 7,
1043
+ "text_extraction_method": "pdftext",
1044
+ "block_counts": [
1045
+ [
1046
+ "Span",
1047
+ 561
1048
+ ],
1049
+ [
1050
+ "Line",
1051
+ 191
1052
+ ],
1053
+ [
1054
+ "Text",
1055
+ 11
1056
+ ],
1057
+ [
1058
+ "PageHeader",
1059
+ 1
1060
+ ],
1061
+ [
1062
+ "Figure",
1063
+ 1
1064
+ ],
1065
+ [
1066
+ "Caption",
1067
+ 1
1068
+ ],
1069
+ [
1070
+ "PageFooter",
1071
+ 1
1072
+ ],
1073
+ [
1074
+ "FigureGroup",
1075
+ 1
1076
+ ],
1077
+ [
1078
+ "Reference",
1079
+ 1
1080
+ ]
1081
+ ],
1082
+ "block_metadata": {
1083
+ "llm_request_count": 0,
1084
+ "llm_error_count": 0,
1085
+ "llm_tokens_used": 0,
1086
+ "previous_text": "",
1087
+ "previous_type": "",
1088
+ "previous_order": 0
1089
+ }
1090
+ },
1091
+ {
1092
+ "page_id": 8,
1093
+ "text_extraction_method": "pdftext",
1094
+ "block_counts": [
1095
+ [
1096
+ "Span",
1097
+ 346
1098
+ ],
1099
+ [
1100
+ "Line",
1101
+ 152
1102
+ ],
1103
+ [
1104
+ "ListItem",
1105
+ 22
1106
+ ],
1107
+ [
1108
+ "Reference",
1109
+ 22
1110
+ ],
1111
+ [
1112
+ "ListGroup",
1113
+ 2
1114
+ ],
1115
+ [
1116
+ "PageHeader",
1117
+ 1
1118
+ ],
1119
+ [
1120
+ "SectionHeader",
1121
+ 1
1122
+ ],
1123
+ [
1124
+ "PageFooter",
1125
+ 1
1126
+ ],
1127
+ [
1128
+ "Text",
1129
+ 1
1130
+ ]
1131
+ ],
1132
+ "block_metadata": {
1133
+ "llm_request_count": 0,
1134
+ "llm_error_count": 0,
1135
+ "llm_tokens_used": 0,
1136
+ "previous_text": "",
1137
+ "previous_type": "",
1138
+ "previous_order": 0
1139
+ }
1140
+ },
1141
+ {
1142
+ "page_id": 9,
1143
+ "text_extraction_method": "pdftext",
1144
+ "block_counts": [
1145
+ [
1146
+ "Span",
1147
+ 98
1148
+ ],
1149
+ [
1150
+ "Line",
1151
+ 48
1152
+ ],
1153
+ [
1154
+ "Text",
1155
+ 18
1156
+ ],
1157
+ [
1158
+ "Reference",
1159
+ 2
1160
+ ],
1161
+ [
1162
+ "PageHeader",
1163
+ 1
1164
+ ],
1165
+ [
1166
+ "PageFooter",
1167
+ 1
1168
+ ]
1169
+ ],
1170
+ "block_metadata": {
1171
+ "llm_request_count": 0,
1172
+ "llm_error_count": 0,
1173
+ "llm_tokens_used": 0,
1174
+ "previous_text": "",
1175
+ "previous_type": "",
1176
+ "previous_order": 0
1177
+ }
1178
+ },
1179
+ {
1180
+ "page_id": 10,
1181
+ "text_extraction_method": "pdftext",
1182
+ "block_counts": [
1183
+ [
1184
+ "Span",
1185
+ 267
1186
+ ],
1187
+ [
1188
+ "Line",
1189
+ 71
1190
+ ],
1191
+ [
1192
+ "Text",
1193
+ 14
1194
+ ],
1195
+ [
1196
+ "SectionHeader",
1197
+ 4
1198
+ ],
1199
+ [
1200
+ "ListItem",
1201
+ 4
1202
+ ],
1203
+ [
1204
+ "Reference",
1205
+ 4
1206
+ ],
1207
+ [
1208
+ "PageHeader",
1209
+ 1
1210
+ ],
1211
+ [
1212
+ "Figure",
1213
+ 1
1214
+ ],
1215
+ [
1216
+ "Caption",
1217
+ 1
1218
+ ],
1219
+ [
1220
+ "PageFooter",
1221
+ 1
1222
+ ],
1223
+ [
1224
+ "FigureGroup",
1225
+ 1
1226
+ ],
1227
+ [
1228
+ "ListGroup",
1229
+ 1
1230
+ ]
1231
+ ],
1232
+ "block_metadata": {
1233
+ "llm_request_count": 0,
1234
+ "llm_error_count": 0,
1235
+ "llm_tokens_used": 0,
1236
+ "previous_text": "",
1237
+ "previous_type": "",
1238
+ "previous_order": 0
1239
+ }
1240
+ },
1241
+ {
1242
+ "page_id": 11,
1243
+ "text_extraction_method": "pdftext",
1244
+ "block_counts": [
1245
+ [
1246
+ "Span",
1247
+ 244
1248
+ ],
1249
+ [
1250
+ "Line",
1251
+ 91
1252
+ ],
1253
+ [
1254
+ "Figure",
1255
+ 2
1256
+ ],
1257
+ [
1258
+ "PageHeader",
1259
+ 1
1260
+ ],
1261
+ [
1262
+ "Caption",
1263
+ 1
1264
+ ],
1265
+ [
1266
+ "PageFooter",
1267
+ 1
1268
+ ],
1269
+ [
1270
+ "Text",
1271
+ 1
1272
+ ],
1273
+ [
1274
+ "FigureGroup",
1275
+ 1
1276
+ ],
1277
+ [
1278
+ "Reference",
1279
+ 1
1280
+ ]
1281
+ ],
1282
+ "block_metadata": {
1283
+ "llm_request_count": 0,
1284
+ "llm_error_count": 0,
1285
+ "llm_tokens_used": 0,
1286
+ "previous_text": "",
1287
+ "previous_type": "",
1288
+ "previous_order": 0
1289
+ }
1290
+ },
1291
+ {
1292
+ "page_id": 12,
1293
+ "text_extraction_method": "pdftext",
1294
+ "block_counts": [
1295
+ [
1296
+ "Span",
1297
+ 385
1298
+ ],
1299
+ [
1300
+ "Line",
1301
+ 115
1302
+ ],
1303
+ [
1304
+ "Text",
1305
+ 5
1306
+ ],
1307
+ [
1308
+ "PageHeader",
1309
+ 1
1310
+ ],
1311
+ [
1312
+ "Figure",
1313
+ 1
1314
+ ],
1315
+ [
1316
+ "Caption",
1317
+ 1
1318
+ ],
1319
+ [
1320
+ "PageFooter",
1321
+ 1
1322
+ ],
1323
+ [
1324
+ "FigureGroup",
1325
+ 1
1326
+ ],
1327
+ [
1328
+ "Reference",
1329
+ 1
1330
+ ]
1331
+ ],
1332
+ "block_metadata": {
1333
+ "llm_request_count": 0,
1334
+ "llm_error_count": 0,
1335
+ "llm_tokens_used": 0,
1336
+ "previous_text": "",
1337
+ "previous_type": "",
1338
+ "previous_order": 0
1339
+ }
1340
+ },
1341
+ {
1342
+ "page_id": 13,
1343
+ "text_extraction_method": "pdftext",
1344
+ "block_counts": [
1345
+ [
1346
+ "Span",
1347
+ 450
1348
+ ],
1349
+ [
1350
+ "Line",
1351
+ 120
1352
+ ],
1353
+ [
1354
+ "Text",
1355
+ 22
1356
+ ],
1357
+ [
1358
+ "Equation",
1359
+ 8
1360
+ ],
1361
+ [
1362
+ "Reference",
1363
+ 6
1364
+ ],
1365
+ [
1366
+ "SectionHeader",
1367
+ 3
1368
+ ],
1369
+ [
1370
+ "PageHeader",
1371
+ 1
1372
+ ],
1373
+ [
1374
+ "PageFooter",
1375
+ 1
1376
+ ]
1377
+ ],
1378
+ "block_metadata": {
1379
+ "llm_request_count": 0,
1380
+ "llm_error_count": 0,
1381
+ "llm_tokens_used": 0,
1382
+ "previous_text": "",
1383
+ "previous_type": "",
1384
+ "previous_order": 0
1385
+ }
1386
+ },
1387
+ {
1388
+ "page_id": 14,
1389
+ "text_extraction_method": "surya",
1390
+ "block_counts": [
1391
+ [
1392
+ "Line",
1393
+ 148
1394
+ ],
1395
+ [
1396
+ "Span",
1397
+ 109
1398
+ ],
1399
+ [
1400
+ "Text",
1401
+ 42
1402
+ ],
1403
+ [
1404
+ "Equation",
1405
+ 14
1406
+ ],
1407
+ [
1408
+ "PageHeader",
1409
+ 1
1410
+ ],
1411
+ [
1412
+ "PageFooter",
1413
+ 1
1414
+ ]
1415
+ ],
1416
+ "block_metadata": {
1417
+ "llm_request_count": 0,
1418
+ "llm_error_count": 0,
1419
+ "llm_tokens_used": 0,
1420
+ "previous_text": "",
1421
+ "previous_type": "",
1422
+ "previous_order": 0
1423
+ }
1424
+ },
1425
+ {
1426
+ "page_id": 15,
1427
+ "text_extraction_method": "surya",
1428
+ "block_counts": [
1429
+ [
1430
+ "Span",
1431
+ 120
1432
+ ],
1433
+ [
1434
+ "Line",
1435
+ 91
1436
+ ],
1437
+ [
1438
+ "Text",
1439
+ 74
1440
+ ],
1441
+ [
1442
+ "Equation",
1443
+ 7
1444
+ ],
1445
+ [
1446
+ "SectionHeader",
1447
+ 5
1448
+ ],
1449
+ [
1450
+ "Reference",
1451
+ 3
1452
+ ],
1453
+ [
1454
+ "PageHeader",
1455
+ 1
1456
+ ],
1457
+ [
1458
+ "PageFooter",
1459
+ 1
1460
+ ]
1461
+ ],
1462
+ "block_metadata": {
1463
+ "llm_request_count": 0,
1464
+ "llm_error_count": 0,
1465
+ "llm_tokens_used": 0,
1466
+ "previous_text": "",
1467
+ "previous_type": "",
1468
+ "previous_order": 0
1469
+ }
1470
+ },
1471
+ {
1472
+ "page_id": 16,
1473
+ "text_extraction_method": "pdftext",
1474
+ "block_counts": [
1475
+ [
1476
+ "Span",
1477
+ 547
1478
+ ],
1479
+ [
1480
+ "Line",
1481
+ 117
1482
+ ],
1483
+ [
1484
+ "Equation",
1485
+ 18
1486
+ ],
1487
+ [
1488
+ "Text",
1489
+ 4
1490
+ ],
1491
+ [
1492
+ "PageHeader",
1493
+ 1
1494
+ ],
1495
+ [
1496
+ "SectionHeader",
1497
+ 1
1498
+ ],
1499
+ [
1500
+ "PageFooter",
1501
+ 1
1502
+ ]
1503
+ ],
1504
+ "block_metadata": {
1505
+ "llm_request_count": 0,
1506
+ "llm_error_count": 0,
1507
+ "llm_tokens_used": 0,
1508
+ "previous_text": "",
1509
+ "previous_type": "",
1510
+ "previous_order": 0
1511
+ }
1512
+ }
1513
+ ],
1514
+ "debug_data_path": "debug_data/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892"
1515
+ }
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/model_text_v3.txt ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [p. 1 | section: Abstract | type: Text]
2
+ Across a growing number of fields, human decision making is supported by predictions from AI models. However, we still lack a deep understanding of the effects of adoption of these technologies. In this paper, we introduce a general computational framework, the 2-Step Agent, which models the effects of AI-assisted decision making. Our framework uses Bayesian methods for causal inference to model 1) how a prediction on a new observation affects the beliefs of a rational Bayesian agent, and 2) how this change in beliefs affects the downstream decision and subsequent outcome. Using this framework, we show by simulations how a single misaligned prior belief can be sufficient for decision support to result in worse downstream outcomes compared to no decision support. Our results reveal several potential pitfalls of AI-driven decision support and highlight the need for thorough model documentation and proper user training.
3
+
4
+ [p. 1 | section: 1. Introduction | type: Text]
5
+ Background. Prediction models are often used to support decision making: a model trained on past data produces a forecast for a future outcome of interest, which a agent can take into account when deciding how to act. For the rest of this article, we will refer to such decision support as ML-DS (Machine Learning Decision Support) to emphasize the fact that the model has been trained on data. This is sometimes also called 'predictive optimization' (Wang et al., 2024) . Contrary to full automation, in high-risk settings ML-DS is sometimes perceived as a way to leverage the power of machine learning while retaining human oversight (see for instance Article 14 of the EU AI Act (European Parliament & Council of the European Union, 2024) ).
6
+
7
+ [p. 1 | section: 1. Introduction | type: Text]
8
+ Understanding the practical impact of adopting ML-DS in a domain is essential. First, ML-DS is on the rise, and currently deployed in a variety of fields including healthcare, education (Smith et al., 2012) , policing and judicial system (Kleinberg et al., 2018) , as well as redistribution of welfare (Kube et al., 2019) . Second, allowing machines to influence decision making carries important risks, e.g. the incorporation of biased advice (Obermeyer et al., 2019) .
9
+
10
+ [p. 1 | section: 1. Introduction | type: Text]
11
+ In this paper, we present a full-fledged computational models of ML-DS, the 2-Step Agent . While most research on effects of ML-DS focuses on the model, we unpack the inner working of the decision maker, studying how a rational agent incorporates information from ML-DS in order to make a decision. We demonstrate that the introduction of ML-DS can lead to harmful consequences due to a mismatch of the model with the users' expectations or training, even in an ideal scenario where the ML model is as good as it gets and the agent is a 'perfect' reasoner.
12
+
13
+ [p. 1 | section: Motivating example 1: Effect of the agent's prior beliefs. | type: Text]
14
+ Consider the situation of an oncologist using ML-DS when deciding how to treat a cancer patient. The ML-model predicts that the patient has only two months left to live. We can then imagine two lines of thinking depending on the clinician's prior beliefs. If the model was trained on patients who received minimal treatment, a very heavy treatment may extend the survival time. On the other hand, if the model is trained on patients who received the heaviest treatment, it is best to put the patient on palliative care to avoid unnecessary suffering from side-effects.
15
+
16
+ [p. 1 | section: Motivating example 1: Effect of the agent's prior beliefs. | type: Text]
17
+ This example showcases that, even in presence of the same information from ML-DS, different prior assumptions about the model and the data it was trained on can lead to opposite actions . This underscores the importance of an agent's priors in determining the effectiveness of ML-DS, 1 a point that has already been argued for in previous literature (see e.g., (van Geloven et al., 2025) ) but has not been studied
18
+
19
+ [p. 1 | section: Motivating example 1: Effect of the agent's prior beliefs. | type: Footnote]
20
+ 1 Setting the agent prior beliefs by proper training is indeed an important part of RCTs' protocols that is not always adhered to (Perepletchikova et al., 2007) . When it is not possible to create a common baseline of beliefs and behavior, a two-stage randomization might be required, both on the providers of the intervention and the subjects (Borm et al., 2005) .
21
+
22
+ [p. 2 | section: Motivating example 1: Effect of the agent's prior beliefs. | type: Text]
23
+ quantitatively.
24
+
25
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
26
+ Consider a variation of the previous scenario involving a clinician and a patient with a similar prognosis. Before seeing the model's prediction, the clinician believes that in the training data of the model (1) patients were always treated, and in general (2) patients ended up surviving between 6 and 12 months when treated. Seeing a prediction of two months of survival, and assuming the patient is not an outlier, this set of beliefs is challenged.
27
+
28
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
29
+ The clinician can then revise their beliefs in at least two different ways. They can conclude the model's training data had in fact some untreated patients, and that this patient might be similar to one of the untreated patients. In this case, it might still be beneficial to treat. On the other hand, they might conclude they were wrong about the effect of treatment on patients. In this case, the treatment must be less beneficial than previously thought by the clinician. Therefore it might be best to abstain from treatment.
30
+
31
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
32
+ Hence the way in which ML-DS changes the agent's be liefs will influence the action of the agent . Capturing this phenomenon means solving a challenging leaning problem where the ML prediction is used as proxy information about the causal process the agent wants to intervene on.
33
+
34
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
35
+ Contributions of the paper These examples show the importance of an agent's prior knowledge for the impact of ML-DS. In this paper, we introduce a general computational framework to study the interaction of an agent with an ML-DS system.
36
+
37
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
38
+ We make three main contributions. First, we provide a rigorous formalism to analyze how a user interacts with ML-DS system in order to act. Our framework captures said interaction in two steps (2-Step Agent): a Bayesian step in which the agent incorporates the information given by the decision support model into their model of the world, and a causal inference step in which the agent draws the conclusion on which action is best to take. This is schematically depicted in Fig 1 for the clinical example.
39
+
40
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
41
+ Our second contribution is to run computational experiments to quantify the effect of using ML-DS on patient outcomes. We show that harmful effects can occur in realistic scenarios already when a single prior is misaligned. We also show that ML-DS can be beneficial in some settings.
42
+
43
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
44
+ Finally, to the best of our knowledge we provide the first treatment of how a Bayesian agent can update their beliefs about a population after observing a prediction of an ML model trained on data from that population. This update involves a challenging inference through a set of latent interchangeable variables in the predictive model's training
45
+
46
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: FigureGroup]
47
+ Figure 1. The diagram shows the overall flow of the model. A new patient with certain attributes (1) arrives for treatment, and the patient's data (2), potentially along with the output of a prediction model (2'), is observed by the agent, e.g., a doctor. The agent uses these observations to update their previous beliefs about the population and the predictive model (3), a step which we model as a Bayesian update. Based on their new beliefs, the agent estimates the effect of treatment (4) and makes a treatment decision (5). Finally, the treatment together with the patient's attributes determine a final outcome (6).
48
+
49
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
50
+ data. We prove that for simple linear models it is possible to reduce this set to a few sufficient statistics, improving computational cost and numerical stability when applying our framework.
51
+
52
+ [p. 2 | section: Motivating example 2: Agent learning from ML-DS. | type: Text]
53
+ While our running example is medical, the results are general and apply for every other field where prediction models are employed as decision support. Furthermore, our simulations are only concerned with simple (non-causal) prediction models; ML-DS with causal model is left for future work. The code and experiments are available open-source. 2
54
+
55
+ [p. 2 | section: 2. The 2-Step Agent: Defining the framework | type: Text]
56
+ In this section, we give a formal description of our 2-Step Agent for studying the effects of ML-DS. We first give a description of the process that generates the training data for the predictive model, as well as the possible types of predictive model (Sec. 2.1) . We formalize the first step, which consists of a Bayesian agent updating their beliefs about the world given a prediction from the predictive model for a new patient (Sec. 2.2) . We then formalize the second step, where the Bayesian agent uses the updated beliefs about the population to decide on a treatment for the new patient (Sec. 2.3) .
57
+
58
+ [p. 2 | section: 2.1. The setup: Historical data and predictive model | type: Text]
59
+ We start by formally defining a causal model of the domain. Let A be a variable denoting an intervention, such as the administration of a treatment. The treatment variable may
60
+
61
+ [p. 2 | section: 2.1. The setup: Historical data and predictive model | type: Footnote]
62
+ 2 The code will be shared upon acceptance.
63
+
64
+ [p. 3 | section: 2.1. The setup: Historical data and predictive model | type: Text]
65
+ be continuous or categorical, but to lighten the notation we will present the formulas with a binary A. Let Y be a variable denoting an outcome of interest. In our example above, the treatment could be a fixed dose of chemotherapy and the outcome the months of survival, so in this case a higher outcome is better. We use X_i to refer to covariates involved in the causal mechanisms governing the treatment and outcome.
66
+
67
+ [p. 3 | section: 2.1. The setup: Historical data and predictive model | type: Text]
68
+ Definition 2.1 (Historical data generation). We assume Hist = (\mathbf{S}, P_{\mathbf{N}}) to be the minimal structural causal model (SCM) describing the causal mechanisms producing A and Y, where \mathbf{S} is a set of assignments defining each variable in terms of its parents and P_{\mathbf{N}} is a joint distribution over the noise variables. We use \bar{X} = X_1, \ldots, X_k to denote endogenous (non-noise) variables involved in the SCM that are different from A and Y.
69
+
70
+ [p. 3 | section: 2.1. The setup: Historical data and predictive model | type: Text]
71
+ An example of this SCM is depicted in Figure 2(b). The SCM Hist stands for the process in the world that generated the data before the introduction of decision support. Note that the assignment determining A might be due to a specific intervention protocol, e.g., the guidelines for administering the treatment that were in use in that particular time window. The SCM determines a unique joint distribution P^{Hist} over variables Y, A, \bar{X} .
72
+
73
+ [p. 3 | section: 2.1. The setup: Historical data and predictive model | type: Text]
74
+ Next, we assume that a relevant dataset is generated by Hist and used to train a prediction model for decision support.
75
+
76
+ [p. 3 | section: 2.1. The setup: Historical data and predictive model | type: Text]
77
+ Definition 2.2 (Training data and prediction model). A dataset \mathcal{D}_{Hist} = \{(\bar{x}_1, a_1, y_1), \dots, (\bar{x}_n, a_n, y_n)\} of historical data is composed of tuples containing relevant characteristics, treatment, and outcome. The dataset contains n instances. This dataset is used to train a prediction model f: \bar{X} \to Y to estimate E^{Hist}(Y \mid \bar{X}) .
78
+
79
+ [p. 3 | section: 2.1. The setup: Historical data and predictive model | type: Text]
80
+ Other estimands we do not consider are the treatment dependent estimate E^{Hist}(Y\mid A,\bar{X}) and the interventional estimate E^{Hist}(Y\mid do(A),\bar{X}) ; these are left for future work.
81
+
82
+ [p. 3 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
83
+ We next introduce an agent \mathcal{A} who decides on the intervention for new observations (e.g. new patients) with the help of ML-DS. Rather than mechanically applying the recommendation of the ML-DS system, this agent uses their own internal model of the world, capturing not only what they believe about the data generating process Hist, but also what they believe concerning the prediction model f and the training data \mathcal{D}_{Hist} . We model an agent who is aware of the model documentation containing the model class (e.g., a linear model, a tree ensemble, etc.), the model's signature (i.e. that it is treatment naive and what covariates are
84
+
85
+ [p. 3 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
86
+ involved),<sup>3</sup> and the size of the training data, but who is uncertain about the model's parameters. The agent can update their world model, including beliefs concerning historical data and model training.
87
+
88
+ [p. 3 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
89
+ Definition 2.3 (Internal beliefs of the agent). Call A_{hist} the Bayesian network defining the agent's joint distribution over the following variables:
90
+
91
+ [p. 3 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: ListGroup]
92
+ 1. N_{\bar{X}}, N_Y, N_A : These are the variables encoding the population-level distributions over the various quantities of interest, respectively: the patient's characteristics (N_{\bar{X}}) , the noise in the outcome (N_Y) , and the noise in the treatment (N_A) . Depending on how population-level uncertainty is parameterized, these can be vectors. These population-level variables are sampled to produce the historical data. Within this Bayesian network, the historical data is represented via a plate, a graphical notation device used to show repeated, independent, and identically-structured components of a probabilistic model. N<sub>E</sub>: This variable denotes the treatment effect. Contrary to the other noise variables, this is not sampled for each plate repetition but only once, so it remains the same across the plate. 3. A_i, Y_i, \bar{X}_i : These represent the i-th (out of n) datapoint in the training data of the predictive model. The whole training set is represented as a plate of multiplicity n. The noise distributions corresponding to these variables are fixed and outside the plate, capturing the fact that they are population-level distributions. All variables Y_i share the noise term N_E . 4. M: The prediction model's parameters, obtained deterministically from the training data in the plate and possibly some additional known parameter N<sub>M</sub> which encodes, e.g., the hyperparameter settings or initialization values. M has as parents all the variables in the plate, representing the fact that it is trained on the whole data set. 5. \bar{X}^o : An observed data instance for a new patient, for which the agent will make a treatment decision. This array of variables has no non-noise parents and it is sampled from the same noise distribution as \bar{X} .
93
+
94
+ [p. 3 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Footnote]
95
+ & lt;sup>3</sup>Recent guidelines explicitly suggest to additionally inform model users about the historical treatment policy. Our framework can be extended to model such settings, but here we focus on agents who are uncertain about historical treatment policy, for two reasons. First, this is a common scenario in current practice. Second, this provides a baseline estimation for the effects of ML-DS, which can be compared to better informed users in the future. We come back to these points in the discussion.
96
+
97
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: FigureGroup]
98
+ the SCM generating the data in the real world, while models (a) and (c) are the first and second steps of the 2-Step Agent. Model (a) allows the agent to perform a belief update given new information from ML-DS, while model (c) allows the agent to estimate the
99
+
100
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
101
+ model for \bar{X}^o . This is derived deterministically from \bar{X}^o and M.
102
+
103
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
104
+ The Bayesian network encoding the conditional independencies of the model is shown in Figure 2 (a). To simplify presentation we depict the submodel of A_{hist} containing only the variables A, Y and X as coinciding with Hist, meaning that the agent has correct belief about the data generation process, although this does not have to be the case and the framework is general enough to allow these two structures to diverge.
105
+
106
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
107
+ N_E encodes the agent's beliefs concerning the effect of the intervention: if the agent were to fix all the coefficients in the structural equation of Y, the effect of treatment would be fixed and there could be no update of his/her beliefs on the interventional distribution E^{A_{hist}}(Y \mid \bar{X}, do(A = 1)) . By letting the mechanism be influenced by N_E , we can treat the posterior as encoding a distribution over SCMs, each with its own fixed assignment for Y (and thus each with its own treatment effect).
108
+
109
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
110
+ The agent's initial beliefs are represented via priors.
111
+
112
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
113
+ Definition 2.4 (Agent's priors). The agent is assumed to
114
+
115
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
116
+ have as prior a joint distribution over all variables in the model, which depends on the unconditional distribution P_{N_{\bar{X}},N_Y,N_A,N_E}^{\mathcal{A}_{hist}}.
117
+
118
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
119
+ For all i < n, the priors encode the agent's starting beliefs about various quantities. First, P_{N_{\bar{X}}}^{\mathcal{A}_{hist}} encodes the population-level distribution generating \bar{X}_{i,} the agent's model of the historical population. Second, P_{N_A}^{\mathcal{A}_{hist}} encodes the population-level distribution generating the noise of A_i , the agent's model of the historical protocol to administer the intervention. Third, P_{N_Y}^{\mathcal{A}_{hist}} encodes the population-level distribution generating the noise of Y_i , the agent's representation of the outcome. Finally, P_{N_E}^{A_{hist}} encodes the effect of treatment, assumed to be fixed across the population. We assume the agent knows the values of the parameters of the distribution N_M , since he/she has access to the model documentation, therefore we omit this prior.
120
+
121
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
122
+ This prior is updated via a Bayesian update based on the observables X^o and Pred^o .
123
+
124
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
125
+ Definition 2.5 (Agent belief update). Given \bar{X}^o and Predo the agent does a Bayesian update on the prior P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E) , obtaining a posterior distribu-
126
+
127
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Equation]
128
+ P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E \mid \bar{X}^o, Pred^o)
129
+
130
+ [p. 4 | section: 2.2. The first step: Bayesian update of the agent's beliefs | type: Text]
131
+ To simplify exposition, we marginalize over uncertainty in the plate variables (\bar{X}_i, Y_i, A_i \text{ with } i < n) and M.
132
+
133
+ [p. 4 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
134
+ We described the agent' world model and how the agent updates it upon observing predictions from an ML-DS system for a new patient, which we called the first step. In the second step, the agent estimates the effect of the treatment on the new patient using their updated world model. This is necessary for the agent to consider a 'fresh' iteration of the plate and calculate the correct interventional probability. Another conceptual reason to introduce a second model is that - when the agent does Bayesian inference - the values of A and Y for the new instance \bar{X}^o are not realized yet.
135
+
136
+ [p. 4 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
137
+ Definition 2.6 (Agent model for decision making). This model contains variables N_E, N_{\bar{X}}, N_A, N_Y, X, A, Y , arranged as the similarly-named variables in the sub-model of A_{hist} . This model is used for inference on new instances and we denote it as A_{inf} .
138
+
139
+ [p. 4 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
140
+ This second agent model is depicted in Figure 2 (c). The crucial difference between this model and a regular SCM is that the noise variables are not assumed to be independent but rather they are initialized with the joint posterior obtained in the previous Bayesian step. The agent is thus drawing an inference over a distribution of possible SCMs.
141
+
142
+ [p. 4 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
143
+ To decide what to do on the new instance, the agent then
144
+
145
+ [p. 5 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
146
+ calculates the effect of the intervention on the model A_{inf} where the joint distribution of the noise is set to the posterior calculated over A_{hist} .
147
+
148
+ [p. 5 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
149
+ Definition 2.7 (Decision rule). To make a decision, the agent first sets the joint distribution of the inference model according to the posterior on the historical model:
150
+
151
+ [p. 5 | section: 2.3. The second step: deciding on the best action after belief update | type: Equation]
152
+ P^{\mathcal{A}_{inf}}(N_{\bar{X}}, N_Y, N_A, N_E) := P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E \mid \bar{X}^o, Pred^o)
153
+
154
+ [p. 5 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
155
+ Following this, treatment is given iff the Conditional Average Treatment Effect (CATE) for the new patient crosses a threshold value, meaning
156
+
157
+ [p. 5 | section: 2.3. The second step: deciding on the best action after belief update | type: Equation]
158
+ E_{P^{\mathcal{A}_{inf}}}[\mathrm{CATE}] > \tau
159
+
160
+ [p. 5 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
161
+ where \tau is a threshold set by the agent beforehand and CATE = E^{\mathcal{A}_{inf}}(Y \mid \bar{X} = \bar{X}^o, do(A=0)) - E^{\mathcal{A}_{inf}}(Y \mid \bar{X} = \bar{X}^o, do(A=1)) . In other words, treatment is given if the expected effect of treatment is sufficiently large in the desired direction.
162
+
163
+ [p. 5 | section: 2.3. The second step: deciding on the best action after belief update | type: Text]
164
+ When the threshold is zero, the agent administers the treatment if the expected outcome is better in the scenario where they are giving the treatment, conditioned on the patient characteristics, versus the scenario where treatment is not given. Crucially, these interventional expectations are calculated on the internal model of the agent.
165
+
166
+ [p. 5 | section: 2.4. Quantifying the effect of introducing decision support | type: Text]
167
+ Given the machinery defined above, we are able to calculate the effect of introducing decision support. Given the prediction model and the specification of the agent - which is determined by spelling out \mathcal{A}_{hist} and \mathcal{A}_{inf} - the decision of the agent on a new data point (as described by covariates \bar{X}^o ) is deterministic (i.e. we can implement the input-output process described in Figure 1). We can thus formalize it as a function Act^{\mathcal{A},f}: \bar{X} \to A . The way the decision support changes the actions of the agent is then represented as an intervention on Hist changing the assignment of A:
168
+
169
+ [p. 5 | section: 2.4. Quantifying the effect of introducing decision support | type: Equation]
170
+ A := Act^{\mathcal{A}, f}(\bar{X})
171
+
172
+ [p. 5 | section: 2.4. Quantifying the effect of introducing decision support | type: Text]
173
+ The post-interventional SCM is then indicated with the notation Hist^{A=Act^{\mathcal{A},f}(\bar{X})} , where f is the prediction model from Definition 2.2. We can now define the effect of introducing decision support as the risk difference in outcomes generated by Hist compared to Hist^{A=Act^{\mathcal{A},f}(\bar{X})} . This quantifies the effect of the intervention 'using MS-DL', compared to the historical policy.
174
+
175
+ [p. 5 | section: 3. Experimental setup | type: Text]
176
+ We design experiments to answer two questions. First, how and how much does decision support influence (i) treatment
177
+
178
+ [p. 5 | section: 3. Experimental setup | type: Text]
179
+ decisions, (ii) agent's beliefs, and (iii) downstream patient outcomes? Second, what role is played by the agent's priors? To address these questions, we vary the priors of the agent and compare the scenarios with and without ML-DS. For each prior setting, we plot the change in treatment decisions, in agent's beliefs, and in patient outcomes, with and without ML-DS, after observing a single patient.
180
+
181
+ [p. 5 | section: 3. Experimental setup | type: Text]
182
+ Use case We consider a data-generating model with one continuous covariate X, continuous intervention A, and a continuous outcome Y. Higher values of the outcomes are better. One can think of the initial example and interpret X as body weight, A as dosage of chemotherapy, and Y as months of survival. We set n=1000 and we assume the prediction model to be a slope-only linear regression. Despite the continuous treatment, for simplicity we assume the agent compares two treatment options, A=10 or A=20, intuitively ten and twenty units of dosage respectively.
183
+
184
+ [p. 5 | section: 3. Experimental setup | type: Text]
185
+ Historical SCM. Let the SCM Hist be defined as:
186
+
187
+ [p. 5 | section: 3. Experimental setup | type: Equation]
188
+ N_X \sim \mathcal{N}(80, 10) N_A \sim \mathcal{N}(2, 1) N_Y \sim \mathcal{N}(0, 0.1) X := N_X A := 0.125 * X + N_A Y := 12 - 0.1 * X + 1 * A + N_Y
189
+
190
+ [p. 5 | section: 3. Experimental setup | type: Text]
191
+ In this model, the treatment protocol is simply to give a dosage of treatment A which is an eight of the body weight X, and how well this dosing is followed is encoded by the noise term N_A . The mechanism of Y clarifies that the covariate X makes the outcome worse but the treatment improves the outcome. Of course, this equation is a great simplification of what happens in reality, but it is sufficient to demonstrate several important dynamics that emerge when introducing ML-DS. Average treatment effect is positive in this scenario, as witnessed by the positive coefficient of A in the equation for Y.
192
+
193
+ [p. 5 | section: 3. Experimental setup | type: Text]
194
+ The internal model of the agent's beliefs. The internal model of the agent A_{hist} encodes the agent's uncertainty about Hist :
195
+
196
+ [p. 5 | section: 3. Experimental setup | type: Equation]
197
+ X_{i} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\sigma}}) \qquad \text{with } i < n N_{A_{i}} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{A}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{A}\boldsymbol{\sigma}}) \qquad \text{with } i < n N_{Y_{i}} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{Y}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{Y}\boldsymbol{\sigma}}) \qquad \text{with } i < n A_{i} = 0.125 X_{i} + N_{A_{i}} \qquad \text{with } i < n Y_{i} = 12 - 0.1 X_{i} + N_{\boldsymbol{E}} A_{i} + N_{Y_{i}} \qquad \text{with } i < n M = \arg\min_{\boldsymbol{\phi} \in \Phi} (MSE(\boldsymbol{\phi}\bar{X}, \bar{Y})) X^{o} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\sigma}}) Pred^{o} = MX^{o}
198
+
199
+ [p. 5 | section: 3. Experimental setup | type: Text]
200
+ where \bar{Y} = (Y_1, \dots, Y_n) , etc are the respective vectors of n variables, \phi is the single parameter of a least squares regression without intercept, and the variables in bold font indicate
201
+
202
+ [p. 6 | section: 3. Experimental setup | type: Text]
203
+ population-level priors that are given different values in the different simulations below.<sup>4</sup>
204
+
205
+ [p. 6 | section: 3. Experimental setup | type: Text]
206
+ The agent knows some aspects of the data generating process, e.g., some of the parameters in the mechanisms of Y and A, but has uncertainty on several dimensions. \alpha_{A\mu} encodes the belief of the agent on how much historical dosages of treatment deviated from the standard protocol. \alpha_{X\mu}, \alpha_{X\sigma} represent the uncertainty of the agent on how the feature X of the training data was distributed. In the definition of Y there are two uncertainties at play. The prior on \alpha_{Y\sigma} describes the uncertainty of the agent concerning Y. The distribution of N_E , on the other hand, captures the belief of the agent concerning the effectiveness of treatment A.
207
+
208
+ [p. 6 | section: 3. Experimental setup | type: Text]
209
+ Defining different agents We consider two types of agents, one with 'correct' priors whose means are close to the historical SCM, and one with incorrect priors. This is an example of the former:
210
+
211
+ [p. 6 | section: 3. Experimental setup | type: Equation]
212
+ \begin{aligned} &\alpha_{X\mu} \sim \mathcal{N}(80, 0.1) & \alpha_{X\sigma} \sim \mathcal{N}(10, 0.1) \mid \alpha_{X\sigma} \geq 0 \\ &\alpha_{A\mu} \sim \mathcal{N}(2, 1) & \alpha_{A\sigma} \sim \mathcal{N}(1, 0.1) \mid \alpha_{Y\sigma} \geq 0 \\ &\alpha_{Y\mu} \sim \mathcal{N}(0, 0.01) & \alpha_{Y\sigma} \sim \mathcal{N}(0.1, 0.01) \mid \alpha_{Y\sigma} \geq 0 \\ &N_E \sim \mathcal{N}(1, 0.1) \end{aligned}
213
+
214
+ [p. 6 | section: 3. Experimental setup | type: Text]
215
+ This agent essentially has the correct beliefs about the patient data distribution, historical treatment policy, outcome variance and treatment effect. They only have some uncertainty represented by some variance on these parameters. In our experiments, we vary each of the colored prior parameters, one at a time, to simulate various ways in which the agent's expectations may be incorrect.
216
+
217
+ [p. 6 | section: 3. Experimental setup | type: Text]
218
+ The internal model for the agent's effect estimation. Finally, the internal model of the agent used for inference, A_{inf} , is defined as:
219
+
220
+ [p. 6 | section: 3. Experimental setup | type: Equation]
221
+ \begin{split} N_X &\sim \mathcal{N}(\alpha_{X\mu}, \alpha_{X\sigma}) \quad N_A \sim \mathcal{N}(\alpha_{A\mu}, \alpha_{A\sigma}) \\ N_Y &\sim \mathcal{N}(\alpha_{Y\mu}, \alpha_{Y\sigma}) \\ X &:= N_X \\ A &:= 0.125 \ X + N_A \\ Y &:= 12 - 0.1 \ X + N_E \ A + N_Y \end{split}
222
+
223
+ [p. 6 | section: 3. Experimental setup | type: Text]
224
+ The posterior defines a probability distribution over SCMs. Recall that the agent was interested in choosing between dosage A=10 or A=20 for the specific patient with
225
+
226
+ [p. 6 | section: 3. Experimental setup | type: Text]
227
+ weight equal to X^o . To compute the desired quantity, the agent aggregates the CATE produced by every SCM according to the posterior
228
+
229
+ [p. 6 | section: 3. Experimental setup | type: Equation]
230
+ C\hat{ATE} = \mathbb{E}_{P^{\mathcal{A}_{inf}}}[E^{\mathcal{A}_{inf}}(Y|X^o, do(A=20)) - E^{\mathcal{A}_{inf}}(Y|X^o, do(A=10))]
231
+
232
+ [p. 6 | section: 3. Experimental setup | type: Text]
233
+ where the expectation is over the joint posterior of the agent over the parameters, which was obtained updating A_{hist} .
234
+
235
+ [p. 6 | section: 3. Experimental setup | type: Text]
236
+ Reaching a decision. The agent will administer a dosage of 10 if the estimated CATE is below a threshold of 5 or a dosage of 20 otherwise. In other words, the higher dosage needs to improve the outcome by at least 5 months to be worth it. This completes the decision pipeline: given a patient X^o with a corresponding prediction and the type of agent, we can compute what the agent would do.
237
+
238
+ [p. 6 | section: 4. Results | type: Text]
239
+ We begin by showcasing how our framework can capture the two motivating examples presented in the Introduction. In the first example, the belief of the agent on the past policy determines how the prediction is interpreted and what action is taken.<sup>5</sup> Indeed, in the simulation, when X = 80, with a bad prognosis under the assumption of no treatment (\alpha_{A\mu} = 0) , the agent chooses a high dosage to improve the outcome (A = 20). With a bad prognosis under the assumption of heavy treatment ( \alpha_{A\mu}=20 ), the agent chooses a low dosage to reduce over-treatment (A = 10). In the second motivating example, new information from the prediction forces an agent to consider different options. In the model, this means that either belief in treatment effect (N_E) or in historical policy (\mu_A) is revised, which appears as a correlation in the posterior belief in these two variables in Figure 4 in Appendix A.
240
+
241
+ [p. 6 | section: 4. Results | type: Text]
242
+ Next, for the use case described in Section 3, we report the effect of using ML-DS on two dimensions: 1) agent's belief of treatment effect and 2) downstream outcomes Y realized after the agent has taken an action, visualized in the top and bottom rows of Figure 3, respectively. In each of these plots, the outcomes obtained using ML-DS (orange boxplots) is contrasted with the outcomes obtained without it (blue boxplots), for different types of agents. The CATE plots sweep a wide range of options for the priors in order
243
+
244
+ [p. 6 | section: 4. Results | type: Footnote]
245
+ & lt;sup>4</sup>Note that for ease of exposition we introduced some variables (N_{A_i}, N_{Y_i}) which are not present in Figure 2 (a). These can in principle be removed by specifying distributions directly on the inverse transformations of the ones given above for A_i and Y_i , and applying the appropriate Jacobian adjustment. In the PyMC implementation, we also use a small (1e-3) observational noise around Pred^o to allow us to sample from an observed deterministic transformation.
246
+
247
+ [p. 6 | section: 4. Results | type: Footnote]
248
+ & lt;sup>5</sup>All simulations presented in this paper are ran with PyMC v5 (Salvatier et al., 2016). We used the NUTS sampler to get 1000 samples for each of 4 chains, with 1000 tuning samples and a 'target_accept' parameter of 0.85. Diagnostics and visual inspection of the traces showed good mixing and no convergence issues (Max \hat{R}=1.01 , and only 16 out 4000 runs had > 5 divergences, due to fixed 'target_accept' and extreme parameter values.). Sanity checks on the Bayesian model are reported in Appendix B.
249
+
250
+ [p. 7 | section: 4. Results | type: Text]
251
+ to reveal interesting dynamics of the agent's beliefs; in Appendix D we also report the CATE results for the more realistic range of ± 3 stds from the SCM reference value.
252
+
253
+ [p. 7 | section: 4. Results | type: Text]
254
+ We begin with an agent whose priors beliefs coincide with the parameters of the historical SCM except for NE, i.e. treatment effect. Figure 3a and Figure 3d show what happens to CATE and Y when the agent's belief in N E varies. As expected, in the first figure we can see that the blue CATE has a slope that depends on the prior NE: without decision support, the belief on CATE is equal to N E multiplied by the difference in treatments. In the orange series however, we see an interesting behavior: after learning from the interaction with ML-DS, the agent corrects their belief in CATE re-aligning it to the correct value. In other words, when all other beliefs are correct, the agent can learn from ML-DS to estimate better CATE and take better actions. This is confirmed in Figure 3d where the orange series shows superior outcomes.
255
+
256
+ [p. 7 | section: 4. Results | type: Text]
257
+ Figure 3b and Figure 3e show what happens when the agent's prior belief in the treatment protocol, µA, varies. In this scenario the prior CATE estimates are flat, for the simple reason that the agent has a fixed belief in N E and they are not updating it. When interacting with ML-DS however, the belief update changes CATE estimates quite a lot; this is because the agent is attempting to explain the gap between P red o given by ML-DS and the expected outcome they had from their prior beliefs. This reflects on outcomes in 3e where the orange series is sometimes below the blue one: incorrect beliefs in µ A can result in CATE estimates that lead to wrong actions and worsen outcome Y.
258
+
259
+ [p. 7 | section: 4. Results | type: Text]
260
+ A similar pattern is observed in Figures 3c, 3f, 6c (last one in Appendix D) : while prior CATE and Y estimates are relatively stable without ML-DS, new dynamics emerge when when ML-DS is introduced. For CATE, incorrect beliefs can have large effects both on the magnitude and sign. For Y , in both cases incorrect beliefs can lead to bad actions and worse outcomes.
261
+
262
+ [p. 7 | section: 5. Related work | type: Text]
263
+ A large body of literature is concerned with the analysis of ML-DS from different angles. A strand of literature focuses on how ML-DS is entangled with (changes in) the data generating process. Works in this category study limitations of what can be learned from data generated from past policies, e.g. (Lakkaraju et al., 2017) , or the dynamics that occur with alternating cycles of ML-DS deployment and re-training, as in the performative prediction literature (Perdomo et al., 2020; Boeken et al., 2024) . Another batch of articles is concerned with evaluation of ML-DS, laying out identifiability conditions for the effects of ML-DS on decisions (Imai et al., 2023) or trying to optimize human-machine complementar-
264
+
265
+ [p. 7 | section: 5. Related work | type: Text]
266
+ ity by design (Donahue et al., 2022; McLaughlin & Spiess, 2024) . Finally, a different set of papers investigate what human input can add to artificial agents already reaching some level of optimality (Alur et al., 2024; Zhang & Barein boim, 2022; Stensrud et al., 2024) . The key difference of our work is that we offer a more fine-grained description of what happens inside the decision maker, namely we unpack the micro-mechanism leading a decision maker to take an action on a single observation paired with AI prediction.
267
+
268
+ [p. 7 | section: 5. Related work | type: Text]
269
+ Other papers have studied how information flows between agents influencing their actions. In (Kamenica & Gentzkow, 2011) a Sender of information influences a Receiver Bayesian agent in order to stir their action. What we add here is that in our context the signal is an ML prediction produced from training data drawn from the same environment the agent reasons about; this coupling yields the distinctive inference problem we study, i.e. updating through latent interchangeable training variables.
270
+
271
+ [p. 7 | section: 5. Related work | type: Text]
272
+ Another important strand of work focuses on problems related to inferring information about a population P given predictions from a model trained on samples from P in the context of confidentiality attacks. This literature studies whether it is possible to use models' predictions (and other behavior) to recover the presence of a specific data point, in so-called membership inference attacks (Hu et al., 2022; Huang, 2025) ), or to infer statistical properties of a training datasets, so-called property-inference attacks (Ate niese et al., 2015; Wang et al., 2019) . While these models aim to recover information about the training set, e.g., the proportion of data in each label, our challenge is to marginalize across datasets and directly infer information about the underlying population.
273
+
274
+ [p. 7 | section: 6. Discussion | type: Text]
275
+ We have presented the first explicit framework that includes an ML-DS system and a sophisticated user. Our 2-Step Agent framework captures the effect of an agent's prior beliefs, modeling learning effects due to the interaction and tracking agent's uncertainty. The framework allows for simulations comparing outcomes with and without ML-DS, in an RCT-like fashion, therefore quantifying the benefit/harm of ML-DS for different types of simulated agents.
276
+
277
+ [p. 7 | section: 6. Discussion | type: Text]
278
+ We provided an implementation of the framework for ML-DS with a linear model. Said implementation leverages a collapse of the plate via sufficient statistics (Appendix E.1) , greatly speeding up the simulations. Within this implementation, we have shown that incorrect beliefs about the distribution of the predictive model's training data may lead the agent to bad decisions, resulting in harmful outcomes.
279
+
280
+ [p. 7 | section: 6. Discussion | type: Text]
281
+ While previous literature had argued that incorrect beliefs about past treatment policy (µ A in our notation) might gener-
282
+
283
+ [p. 8 | section: 6. Discussion | type: FigureGroup]
284
+ Figure 3. Figures displaying the effects of different agent priors when using ML-DS (in orange) and without it (in blue). In all plots except from NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The top row displays the agent's prior and posterior (predictive) belief of CATE, while the bottom row shows the impact of the agent's decisions on the downstream outcome Y . The left column pertains to the belief on treatment effect, NE, the central column the belief about past treatment policy (µA) and the right column about the belief on past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band).
285
+
286
+ [p. 8 | section: 6. Discussion | type: Text]
287
+ ate worse downstream outcomes, e.g. in (van Geloven et al., 2025) , this is the first quantitative estimation of harmful effects of ML-DS. In our experiments we show that ML-DS can be harmful if the agent has wrong beliefs not only about the past treatment policy, but also about the distribution of covariates and the distribution of the outcome.
288
+
289
+ [p. 8 | section: 6. Discussion | type: Text]
290
+ We also show that if the agent has otherwise correct beliefs, an incorrect belief about treatment effect may be corrected during updates that push the agent towards the true CATE. This suggests that in certain settings ML-DS building on a treatment-naive prediction model might still be beneficial.
291
+
292
+ [p. 8 | section: 6. Discussion | type: Text]
293
+ This finding highlights the extreme sensitivity of ML-DS to agent prior beliefs when using a treatment-naive prediction model, and underscore the importance of providing full documentation and proper training to users of ML-DS. Finally, we remark that these results apply to any field deploying such systems and to any agent interacting with ML-DS, be it human or artificial.
294
+
295
+ [p. 8 | section: 6. Discussion | type: Text]
296
+ Limitations and Future work The experiments in this paper explored only part of the potential of the framework. The experiments are limited to a use case in which the prediction model is linear and treatment-naive, and the data
297
+
298
+ [p. 8 | section: 6. Discussion | type: Text]
299
+ generating process is simple (e.g., every distribution is normal, there is only one confounder). Implementing the use case was not trivial and required pushing a Bayesian update through OLS and a large amount of variables (see Appendix E.1) , hence it remains to be seen whether similar results can be obtained when the complexity of the use case increases.
300
+
301
+ [p. 8 | section: 6. Discussion | type: Text]
302
+ We assume the agent reasons in a Bayesian fashion, which allows for a precise analysis of the agent's uncertainty. While this agent may not be realistic with respect to human behavior, it is useful to make this assumption to demonstrate what can go wrong in a best-case scenario, i.e., when the agent is a 'perfect' reasoner and the ML model has no flaws. Finally, this assumption is also interesting when considering how an artificial agent might learn from predictions of other ML models.
303
+
304
+ [p. 8 | section: 6. Discussion | type: Text]
305
+ In future work this line of research will be expanded across different dimensions, including i) different types of agents (e.g. agent with incorrect internal model of the world of different kinds of uncertainties) ii) more complex ML models for ML-DS, iii) cases with heterogeneity of treatment effect (i.e. the effect of the action is not the same for all instances), iv) repeated rounds of learning for the same agent and v) using causal models for ML-DS.
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/paper.blocks.json ADDED
The diff for this file is too large to render. See raw diff
 
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/paper.md ADDED
@@ -0,0 +1,678 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ {0}------------------------------------------------
4
+
5
+ # 2-Step Agent:
6
+
7
+ ## A Framework for the Interaction of a Decision Maker with AI Decision Support
8
+
9
+ #### Anonymous Authors<sup>1</sup>
10
+
11
+ ### Abstract
12
+
13
+ Across a growing number of fields, human decision making is supported by predictions from AI models. However, we still lack a deep understanding of the effects of adoption of these technologies. In this paper, we introduce a general computational framework, the 2-Step Agent, which models the effects of AI-assisted decision making. Our framework uses Bayesian methods for causal inference to model 1) how a prediction on a new observation affects the beliefs of a rational Bayesian agent, and 2) how this change in beliefs affects the downstream decision and subsequent outcome. Using this framework, we show by simulations how a single misaligned prior belief can be sufficient for decision support to result in worse downstream outcomes compared to no decision support. Our results reveal several potential pitfalls of AI-driven decision support and highlight the need for thorough model documentation and proper user training.
14
+
15
+ #### <span id="page-0-1"></span>1. Introduction
16
+
17
+ Background. Prediction models are often used to support decision making: a model trained on past data produces a forecast for a future outcome of interest, which a agent can take into account when deciding how to act. For the rest of this article, we will refer to such decision support as ML-DS (Machine Learning Decision Support) to emphasize the fact that the model has been trained on data. This is sometimes also called 'predictive optimization' [\(Wang et al.,](#page-8-0) [2024\)](#page-8-0). Contrary to full automation, in high-risk settings ML-DS is sometimes perceived as a way to leverage the power of machine learning while retaining human oversight (see for instance Article 14 of the EU AI Act [\(European Parliament](#page-8-1) [& Council of the European Union,](#page-8-1) [2024\)](#page-8-1)).
18
+
19
+ Preliminary work. Under review by the International Conference on Machine Learning (ICML). Do not distribute.
20
+
21
+ Understanding the practical impact of adopting ML-DS in a domain is essential. First, ML-DS is on the rise, and currently deployed in a variety of fields including healthcare, education [\(Smith et al.,](#page-8-2) [2012\)](#page-8-2), policing and judicial system [\(Kleinberg et al.,](#page-8-3) [2018\)](#page-8-3), as well as redistribution of welfare [\(Kube et al.,](#page-8-4) [2019\)](#page-8-4). Second, allowing machines to influence decision making carries important risks, e.g. the incorporation of biased advice [\(Obermeyer et al.,](#page-8-5) [2019\)](#page-8-5).
22
+
23
+ In this paper, we present a full-fledged computational models of ML-DS, the *2-Step Agent*. While most research on effects of ML-DS focuses on the model, we unpack the inner working of the decision maker, studying how a rational agent incorporates information from ML-DS in order to make a decision. We demonstrate that the introduction of ML-DS can lead to harmful consequences due to a mismatch of the model with the users' expectations or training, even in an ideal scenario where the ML model is as good as it gets and the agent is a 'perfect' reasoner.
24
+
25
+ #### Motivating example 1: Effect of the agent's prior beliefs.
26
+
27
+ Consider the situation of an oncologist using ML-DS when deciding how to treat a cancer patient. The ML-model predicts that the patient has only two months left to live. We can then imagine two lines of thinking depending on the clinician's prior beliefs. If the model was trained on patients who received minimal treatment, a very heavy treatment may extend the survival time. On the other hand, if the model is trained on patients who received the heaviest treatment, it is best to put the patient on palliative care to avoid unnecessary suffering from side-effects.
28
+
29
+ This example showcases that, even in presence of the same information from ML-DS, *different prior assumptions about the model and the data it was trained on can lead to opposite actions*. This underscores the importance of an agent's priors in determining the effectiveness of ML-DS,[1](#page-0-0) a point that has already been argued for in previous literature (see e.g., [\(van Geloven et al.,](#page-8-6) [2025\)](#page-8-6)) but has not been studied
30
+
31
+ <sup>1</sup>Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country. Correspondence to: Anonymous Author <anon.email@domain.com>.
32
+
33
+ <span id="page-0-0"></span><sup>1</sup> Setting the agent prior beliefs by proper training is indeed an important part of RCTs' protocols that is not always adhered to [\(Perepletchikova et al.,](#page-8-7) [2007\)](#page-8-7). When it is not possible to create a common baseline of beliefs and behavior, a two-stage randomization might be required, both on the providers of the intervention and the subjects [\(Borm et al.,](#page-8-8) [2005\)](#page-8-8).
34
+
35
+ {1}------------------------------------------------
36
+
37
+ quantitatively.
38
+
39
+ 104
40
+
41
+ 106
42
+
43
+ 108 109
44
+
45
+ #### Motivating example 2: Agent learning from ML-DS.
46
+
47
+ Consider a variation of the previous scenario involving a clinician and a patient with a similar prognosis. Before seeing the model's prediction, the clinician believes that in the training data of the model (1) patients were always treated, and in general (2) patients ended up surviving between 6 and 12 months when treated. Seeing a prediction of two months of survival, and assuming the patient is not an outlier, this set of beliefs is challenged.
48
+
49
+ The clinician can then revise their beliefs in at least two different ways. They can conclude the model's training data had in fact some untreated patients, and that this patient might be similar to one of the untreated patients. In this case, it might still be beneficial to treat. On the other hand, they might conclude they were wrong about the effect of treatment on patients. In this case, the treatment must be less beneficial than previously thought by the clinician. Therefore it might be best to abstain from treatment.
50
+
51
+ Hence *the way in which ML-DS changes the agent's beliefs will influence the action of the agent*. Capturing this phenomenon means solving a challenging leaning problem where the ML prediction is used as proxy information about the causal process the agent wants to intervene on.
52
+
53
+ Contributions of the paper These examples show the importance of an agent's prior knowledge for the impact of ML-DS. In this paper, we introduce a general computational framework to study the interaction of an agent with an ML-DS system.
54
+
55
+ We make three main contributions. First, we provide a rigorous formalism to analyze how a user interacts with ML-DS system in order to act. Our framework captures said interaction in two steps (2-Step Agent): a Bayesian step in which the agent incorporates the information given by the decision support model into their model of the world, and a causal inference step in which the agent draws the conclusion on which action is best to take. This is schematically depicted in Fig [1](#page-1-0) for the clinical example.
56
+
57
+ Our second contribution is to run computational experiments to quantify the effect of using ML-DS on patient outcomes. We show that harmful effects can occur in realistic scenarios already when a single prior is misaligned. We also show that ML-DS can be beneficial in some settings.
58
+
59
+ Finally, to the best of our knowledge we provide the first treatment of how a Bayesian agent can update their beliefs about a population after observing a prediction of an ML model trained on data from that population. This update involves a challenging inference through a set of latent interchangeable variables in the predictive model's training
60
+
61
+ <span id="page-1-0"></span>![](_page_1_Figure_10.jpeg)
62
+
63
+ *Figure 1.* The diagram shows the overall flow of the model. A new patient with certain attributes (1) arrives for treatment, and the patient's data (2), potentially along with the output of a prediction model (2'), is observed by the agent, e.g., a doctor. The agent uses these observations to update their previous beliefs about the population and the predictive model (3), a step which we model as a Bayesian update. Based on their new beliefs, the agent estimates the effect of treatment (4) and makes a treatment decision (5). Finally, the treatment together with the patient's attributes determine a final outcome (6).
64
+
65
+ data. We prove that for simple linear models it is possible to reduce this set to a few sufficient statistics, improving computational cost and numerical stability when applying our framework.
66
+
67
+ While our running example is medical, the results are general and apply for every other field where prediction models are employed as decision support. Furthermore, our simulations are only concerned with simple (non-causal) prediction models; ML-DS with causal model is left for future work. The code and experiments are available open-source.[2](#page-1-1)
68
+
69
+ #### 2. The 2-Step Agent: Defining the framework
70
+
71
+ In this section, we give a formal description of our 2-Step Agent for studying the effects of ML-DS. We first give a description of the process that generates the training data for the predictive model, as well as the possible types of predictive model (Sec. [2.1\)](#page-1-2). We formalize the first step, which consists of a Bayesian agent updating their beliefs about the world given a prediction from the predictive model for a new patient (Sec. [2.2\)](#page-2-0). We then formalize the second step, where the Bayesian agent uses the updated beliefs about the population to decide on a treatment for the new patient (Sec. [2.3\)](#page-3-0).
72
+
73
+ #### <span id="page-1-2"></span>2.1. The setup: Historical data and predictive model
74
+
75
+ We start by formally defining a causal model of the domain. Let A be a variable denoting an intervention, such as the administration of a treatment. The treatment variable may
76
+
77
+ <span id="page-1-1"></span><sup>2</sup>The code will be shared upon acceptance.
78
+
79
+ {2}------------------------------------------------
80
+
81
+ be continuous or categorical, but to lighten the notation we will present the formulas with a binary A. Let Y be a variable denoting an outcome of interest. In our example above, the treatment could be a fixed dose of chemotherapy and the outcome the months of survival, so in this case a higher outcome is better. We use $X_i$ to refer to covariates involved in the causal mechanisms governing the treatment and outcome.
82
+
83
+ **Definition 2.1** (Historical data generation). We assume $Hist = (\mathbf{S}, P_{\mathbf{N}})$ to be the minimal structural causal model (SCM) describing the causal mechanisms producing A and Y, where $\mathbf{S}$ is a set of assignments defining each variable in terms of its parents and $P_{\mathbf{N}}$ is a joint distribution over the noise variables. We use $\bar{X} = X_1, \ldots, X_k$ to denote endogenous (non-noise) variables involved in the SCM that are different from A and Y.
84
+
85
+ An example of this SCM is depicted in Figure 2(b). The SCM Hist stands for the process in the world that generated the data before the introduction of decision support. Note that the assignment determining A might be due to a specific intervention protocol, e.g., the guidelines for administering the treatment that were in use in that particular time window. The SCM determines a unique joint distribution $P^{Hist}$ over variables $Y, A, \bar{X}$ .
86
+
87
+ Next, we assume that a relevant dataset is generated by Hist and used to train a prediction model for decision support.
88
+
89
+ <span id="page-2-2"></span>**Definition 2.2** (Training data and prediction model). A dataset $\mathcal{D}_{Hist} = \{(\bar{x}_1, a_1, y_1), \dots, (\bar{x}_n, a_n, y_n)\}$ of historical data is composed of tuples containing relevant characteristics, treatment, and outcome. The dataset contains n instances. This dataset is used to train a prediction model $f: \bar{X} \to Y$ to estimate $E^{Hist}(Y \mid \bar{X})$ .
90
+
91
+ Other estimands we do not consider are the treatment dependent estimate $E^{Hist}(Y\mid A,\bar{X})$ and the interventional estimate $E^{Hist}(Y\mid do(A),\bar{X})$ ; these are left for future work.
92
+
93
+ #### <span id="page-2-0"></span>2.2. The first step: Bayesian update of the agent's beliefs
94
+
95
+ We next introduce an agent $\mathcal{A}$ who decides on the intervention for new observations (e.g. new patients) with the help of ML-DS. Rather than mechanically applying the recommendation of the ML-DS system, this agent uses their own internal model of the world, capturing not only what they believe about the data generating process Hist, but also what they believe concerning the prediction model f and the training data $\mathcal{D}_{Hist}$ . We model an agent who is aware of the model documentation containing the model class (e.g., a linear model, a tree ensemble, etc.), the model's signature (i.e. that it is treatment naive and what covariates are
96
+
97
+ involved),<sup>3</sup> and the size of the training data, but who is uncertain about the model's parameters. The agent can update their world model, including beliefs concerning historical data and model training.
98
+
99
+ **Definition 2.3** (Internal beliefs of the agent). Call $A_{hist}$ the Bayesian network defining the agent's joint distribution over the following variables:
100
+
101
+ - 1. $N_{\bar{X}}, N_Y, N_A$ : These are the variables encoding the population-level distributions over the various quantities of interest, respectively: the patient's characteristics $(N_{\bar{X}})$ , the noise in the outcome $(N_Y)$ , and the noise in the treatment $(N_A)$ . Depending on how population-level uncertainty is parameterized, these can be vectors. These population-level variables are sampled to produce the historical data. Within this Bayesian network, the historical data is represented via a plate, a graphical notation device used to show repeated, independent, and identically-structured components of a probabilistic model.
102
+ - N<sub>E</sub>: This variable denotes the treatment effect. Contrary to the other noise variables, this is not sampled for each plate repetition but only once, so it remains the same across the plate.
103
+ - 3. $A_i, Y_i, \bar{X}_i$ : These represent the i-th (out of n) datapoint in the training data of the predictive model. The whole training set is represented as a plate of multiplicity n. The noise distributions corresponding to these variables are fixed and outside the plate, capturing the fact that they are population-level distributions. All variables $Y_i$ share the noise term $N_E$ .
104
+ - 4. M: The prediction model's parameters, obtained deterministically from the training data in the plate and possibly some additional known parameter N<sub>M</sub> which encodes, e.g., the hyperparameter settings or initialization values. M has as parents all the variables in the plate, representing the fact that it is trained on the whole data set.
105
+ - 5. $\bar{X}^o$ : An observed data instance for a new patient, for which the agent will make a treatment decision. This array of variables has no non-noise parents and it is sampled from the same noise distribution as $\bar{X}$ .
106
+
107
+ <span id="page-2-1"></span><sup>&</sup>lt;sup>3</sup>Recent guidelines explicitly suggest to additionally inform model users about the historical treatment policy. Our framework can be extended to model such settings, but here we focus on agents who are uncertain about historical treatment policy, for two reasons. First, this is a common scenario in current practice. Second, this provides a baseline estimation for the effects of ML-DS, which can be compared to better informed users in the future. We come back to these points in the discussion.
108
+
109
+ {3}------------------------------------------------
110
+
111
+ <span id="page-3-1"></span>![](_page_3_Figure_1.jpeg)
112
+
113
+ the SCM generating the data in the real world, while models (a) and (c) are the first and second steps of the 2-Step Agent. Model (a) allows the agent to perform a belief update given new information from ML-DS, while model (c) allows the agent to estimate the
114
+
115
+ model for $\bar{X}^o$ . This is derived deterministically from $\bar{X}^o$ and M.
116
+
117
+ 196
118
+
119
+ 197
120
+
121
+ 198
122
+
123
+ 199
124
+
125
+ 200
126
+
127
+ 202
128
+
129
+ 203
130
+
131
+ 204
132
+
133
+ 205
134
+
135
+ 206
136
+
137
+ 208
138
+
139
+ 209
140
+
141
+ 210
142
+
143
+ 211
144
+
145
+ 212
146
+
147
+ 213
148
+
149
+ 214
150
+
151
+ 215
152
+
153
+ 216
154
+
155
+ 217
156
+
157
+ 218
158
+
159
+ 219
160
+
161
+ The Bayesian network encoding the conditional independencies of the model is shown in Figure 2 (a). To simplify presentation we depict the submodel of $A_{hist}$ containing only the variables A, Y and X as coinciding with Hist, meaning that the agent has correct belief about the data generation process, although this does not have to be the case and the framework is general enough to allow these two structures to diverge.
162
+
163
+ $N_E$ encodes the agent's beliefs concerning the effect of the intervention: if the agent were to fix all the coefficients in the structural equation of Y, the effect of treatment would be fixed and there could be no update of his/her beliefs on the interventional distribution $E^{A_{hist}}(Y \mid \bar{X}, do(A = 1))$ . By letting the mechanism be influenced by $N_E$ , we can treat the posterior as encoding a distribution over SCMs, each with its own fixed assignment for Y (and thus each with its own treatment effect).
164
+
165
+ The agent's initial beliefs are represented via priors.
166
+
167
+ **Definition 2.4** (Agent's priors). The agent is assumed to
168
+
169
+ have as prior a joint distribution over all variables in the model, which depends on the unconditional distribution $P_{N_{\bar{X}},N_Y,N_A,N_E}^{\mathcal{A}_{hist}}.$
170
+
171
+ For all i < n, the priors encode the agent's starting beliefs about various quantities. First, $P_{N_{\bar{X}}}^{\mathcal{A}_{hist}}$ encodes the population-level distribution generating $\bar{X}_{i,}$ the agent's model of the historical population. Second, $P_{N_A}^{\mathcal{A}_{hist}}$ encodes the population-level distribution generating the noise of $A_i$ , the agent's model of the historical protocol to administer the intervention. Third, $P_{N_Y}^{\mathcal{A}_{hist}}$ encodes the population-level distribution generating the noise of $Y_i$ , the agent's representation of the outcome. Finally, $P_{N_E}^{A_{hist}}$ encodes the effect of treatment, assumed to be fixed across the population. We assume the agent knows the values of the parameters of the distribution $N_M$ , since he/she has access to the model documentation, therefore we omit this prior.
172
+
173
+ This prior is updated via a Bayesian update based on the observables $X^o$ and $Pred^o$ .
174
+
175
+ **Definition 2.5** (Agent belief update). Given $\bar{X}^o$ and Predo the agent does a Bayesian update on the prior $P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E)$ , obtaining a posterior distribu-
176
+
177
+ $$P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E \mid \bar{X}^o, Pred^o)$$
178
+
179
+ To simplify exposition, we marginalize over uncertainty in the plate variables $(\bar{X}_i, Y_i, A_i \text{ with } i < n)$ and M.
180
+
181
+ #### <span id="page-3-0"></span>2.3. The second step: deciding on the best action after belief update
182
+
183
+ We described the agent' world model and how the agent updates it upon observing predictions from an ML-DS system for a new patient, which we called the first step. In the second step, the agent estimates the effect of the treatment on the new patient using their updated world model. This is necessary for the agent to consider a 'fresh' iteration of the plate and calculate the correct interventional probability. Another conceptual reason to introduce a second model is that - when the agent does Bayesian inference - the values of A and Y for the new instance $\bar{X}^o$ are not realized yet.
184
+
185
+ **Definition 2.6** (Agent model for decision making). This model contains variables $N_E, N_{\bar{X}}, N_A, N_Y, X, A, Y$ , arranged as the similarly-named variables in the sub-model of $A_{hist}$ . This model is used for inference on new instances and we denote it as $A_{inf}$ .
186
+
187
+ This second agent model is depicted in Figure 2 (c). The crucial difference between this model and a regular SCM is that the noise variables are not assumed to be independent but rather they are initialized with the joint posterior obtained in the previous Bayesian step. The agent is thus drawing an inference over a distribution of possible SCMs.
188
+
189
+ To decide what to do on the new instance, the agent then
190
+
191
+ {4}------------------------------------------------
192
+
193
+ calculates the effect of the intervention on the model $A_{inf}$ where the joint distribution of the noise is set to the posterior calculated over $A_{hist}$ .
194
+
195
+ **Definition 2.7** (Decision rule). To make a decision, the agent first sets the joint distribution of the inference model according to the posterior on the historical model:
196
+
197
+ $$P^{\mathcal{A}_{inf}}(N_{\bar{X}}, N_Y, N_A, N_E) :=$$
198
+
199
+ $$P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E \mid \bar{X}^o, Pred^o)$$
200
+
201
+ Following this, treatment is given iff the Conditional Average Treatment Effect (CATE) for the new patient crosses a threshold value, meaning
202
+
203
+ $$E_{P^{\mathcal{A}_{inf}}}[\mathrm{CATE}] > \tau$$
204
+
205
+ where $\tau$ is a threshold set by the agent beforehand and CATE = $E^{\mathcal{A}_{inf}}(Y \mid \bar{X} = \bar{X}^o, do(A=0)) - E^{\mathcal{A}_{inf}}(Y \mid \bar{X} = \bar{X}^o, do(A=1))$ . In other words, treatment is given if the expected effect of treatment is sufficiently large in the desired direction.
206
+
207
+ When the threshold is zero, the agent administers the treatment if the expected outcome is better in the scenario where they are giving the treatment, conditioned on the patient characteristics, versus the scenario where treatment is not given. Crucially, these interventional expectations are calculated on the internal model of the agent.
208
+
209
+ # 2.4. Quantifying the effect of introducing decision support
210
+
211
+ Given the machinery defined above, we are able to calculate the effect of introducing decision support. Given the prediction model and the specification of the agent - which is determined by spelling out $\mathcal{A}_{hist}$ and $\mathcal{A}_{inf}$ - the decision of the agent on a new data point (as described by covariates $\bar{X}^o$ ) is deterministic (i.e. we can implement the input-output process described in Figure 1). We can thus formalize it as a function $Act^{\mathcal{A},f}: \bar{X} \to A$ . The way the decision support changes the actions of the agent is then represented as an intervention on Hist changing the assignment of A:
212
+
213
+ $$A := Act^{\mathcal{A}, f}(\bar{X})$$
214
+
215
+ The post-interventional SCM is then indicated with the notation $Hist^{A=Act^{\mathcal{A},f}(\bar{X})}$ , where f is the prediction model from Definition 2.2. We can now define the effect of introducing decision support as the risk difference in outcomes generated by Hist compared to $Hist^{A=Act^{\mathcal{A},f}(\bar{X})}$ . This quantifies the effect of the intervention 'using MS-DL', compared to the historical policy.
216
+
217
+ #### <span id="page-4-0"></span>3. Experimental setup
218
+
219
+ We design experiments to answer two questions. First, how and how much does decision support influence (i) treatment decisions, (ii) agent's beliefs, and (iii) downstream patient outcomes? Second, what role is played by the agent's priors? To address these questions, we vary the priors of the agent and compare the scenarios with and without ML-DS. For each prior setting, we plot the change in treatment decisions, in agent's beliefs, and in patient outcomes, with and without ML-DS, after observing a single patient.
220
+
221
+ Use case We consider a data-generating model with one continuous covariate X, continuous intervention A, and a continuous outcome Y. Higher values of the outcomes are better. One can think of the initial example and interpret X as body weight, A as dosage of chemotherapy, and Y as months of survival. We set n=1000 and we assume the prediction model to be a slope-only linear regression. Despite the continuous treatment, for simplicity we assume the agent compares two treatment options, A=10 or A=20, intuitively ten and twenty units of dosage respectively.
222
+
223
+ **Historical SCM.** Let the SCM *Hist* be defined as:
224
+
225
+ $$N_X \sim \mathcal{N}(80, 10)$$
226
+ $N_A \sim \mathcal{N}(2, 1)$ $N_Y \sim \mathcal{N}(0, 0.1)$ $X := N_X$ $A := 0.125 * X + N_A$ $Y := 12 - 0.1 * X + 1 * A + N_Y$
227
+
228
+ In this model, the treatment protocol is simply to give a dosage of treatment A which is an eight of the body weight X, and how well this dosing is followed is encoded by the noise term $N_A$ . The mechanism of Y clarifies that the covariate X makes the outcome worse but the treatment improves the outcome. Of course, this equation is a great simplification of what happens in reality, but it is sufficient to demonstrate several important dynamics that emerge when introducing ML-DS. Average treatment effect is positive in this scenario, as witnessed by the positive coefficient of A in the equation for Y.
229
+
230
+ The internal model of the agent's beliefs. The internal model of the agent $A_{hist}$ encodes the agent's uncertainty about *Hist*:
231
+
232
+ $$X_{i} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\sigma}}) \qquad \text{with } i < n$$
233
+
234
+ $$N_{A_{i}} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{A}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{A}\boldsymbol{\sigma}}) \qquad \text{with } i < n$$
235
+
236
+ $$N_{Y_{i}} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{Y}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{Y}\boldsymbol{\sigma}}) \qquad \text{with } i < n$$
237
+
238
+ $$A_{i} = 0.125 X_{i} + N_{A_{i}} \qquad \text{with } i < n$$
239
+
240
+ $$Y_{i} = 12 - 0.1 X_{i} + N_{\boldsymbol{E}} A_{i} + N_{Y_{i}} \qquad \text{with } i < n$$
241
+
242
+ $$M = \arg\min_{\boldsymbol{\phi} \in \Phi} (MSE(\boldsymbol{\phi}\bar{X}, \bar{Y}))$$
243
+
244
+ $$X^{o} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\sigma}})$$
245
+
246
+ $$Pred^{o} = MX^{o}$$
247
+
248
+ where $\bar{Y} = (Y_1, \dots, Y_n)$ , etc are the respective vectors of n variables, $\phi$ is the single parameter of a least squares regression without intercept, and the variables in bold font indicate
249
+
250
+ {5}------------------------------------------------
251
+
252
+ population-level priors that are given different values in the different simulations below.<sup>4</sup>
253
+
254
+ The agent knows some aspects of the data generating process, e.g., some of the parameters in the mechanisms of Y and A, but has uncertainty on several dimensions. $\alpha_{A\mu}$ encodes the belief of the agent on how much historical dosages of treatment deviated from the standard protocol. $\alpha_{X\mu}, \alpha_{X\sigma}$ represent the uncertainty of the agent on how the feature X of the training data was distributed. In the definition of Y there are two uncertainties at play. The prior on $\alpha_{Y\sigma}$ describes the uncertainty of the agent concerning Y. The distribution of $N_E$ , on the other hand, captures the belief of the agent concerning the effectiveness of treatment A.
255
+
256
+ **Defining different agents** We consider two types of agents, one with 'correct' priors whose means are close to the historical SCM, and one with incorrect priors. This is an example of the former:
257
+
258
+ $$\begin{aligned} &\alpha_{X\mu} \sim \mathcal{N}(80, 0.1) & \alpha_{X\sigma} \sim \mathcal{N}(10, 0.1) \mid \alpha_{X\sigma} \geq 0 \\ &\alpha_{A\mu} \sim \mathcal{N}(2, 1) & \alpha_{A\sigma} \sim \mathcal{N}(1, 0.1) \mid \alpha_{Y\sigma} \geq 0 \\ &\alpha_{Y\mu} \sim \mathcal{N}(0, 0.01) & \alpha_{Y\sigma} \sim \mathcal{N}(0.1, 0.01) \mid \alpha_{Y\sigma} \geq 0 \\ &N_E \sim \mathcal{N}(1, 0.1) \end{aligned}$$
259
+
260
+ This agent essentially has the correct beliefs about the patient data distribution, historical treatment policy, outcome variance and treatment effect. They only have some uncertainty represented by some variance on these parameters. In our experiments, we vary each of the colored prior parameters, one at a time, to simulate various ways in which the agent's expectations may be incorrect.
261
+
262
+ The internal model for the agent's effect estimation. Finally, the internal model of the agent used for inference, $A_{inf}$ , is defined as:
263
+
264
+ $$\begin{split} N_X &\sim \mathcal{N}(\alpha_{X\mu}, \alpha_{X\sigma}) \quad N_A \sim \mathcal{N}(\alpha_{A\mu}, \alpha_{A\sigma}) \\ N_Y &\sim \mathcal{N}(\alpha_{Y\mu}, \alpha_{Y\sigma}) \\ X &:= N_X \\ A &:= 0.125 \ X + N_A \\ Y &:= 12 - 0.1 \ X + N_E \ A + N_Y \end{split}$$
265
+
266
+ The posterior defines a probability distribution over SCMs. Recall that the agent was interested in choosing between dosage A=10 or A=20 for the specific patient with
267
+
268
+ weight equal to $X^o$ . To compute the desired quantity, the agent aggregates the CATE produced by every SCM according to the posterior
269
+
270
+ $$C\hat{ATE} = \mathbb{E}_{P^{\mathcal{A}_{inf}}}[E^{\mathcal{A}_{inf}}(Y|X^o, do(A=20)) - E^{\mathcal{A}_{inf}}(Y|X^o, do(A=10))]$$
271
+
272
+ where the expectation is over the joint posterior of the agent over the parameters, which was obtained updating $A_{hist}$ .
273
+
274
+ **Reaching a decision.** The agent will administer a dosage of 10 if the estimated CATE is below a threshold of 5 or a dosage of 20 otherwise. In other words, the higher dosage needs to improve the outcome by at least 5 months to be worth it. This completes the decision pipeline: given a patient $X^o$ with a corresponding prediction and the type of agent, we can compute what the agent would do.
275
+
276
+ #### 4. Results
277
+
278
+ We begin by showcasing how our framework can capture the two motivating examples presented in the Introduction. In the first example, the belief of the agent on the past policy determines how the prediction is interpreted and what action is taken.<sup>5</sup> Indeed, in the simulation, when X = 80, with a bad prognosis under the assumption of no treatment $(\alpha_{A\mu} = 0)$ , the agent chooses a high dosage to improve the outcome (A = 20). With a bad prognosis under the assumption of heavy treatment ( $\alpha_{A\mu}=20$ ), the agent chooses a low dosage to reduce over-treatment (A = 10). In the second motivating example, new information from the prediction forces an agent to consider different options. In the model, this means that either belief in treatment effect $(N_E)$ or in historical policy $(\mu_A)$ is revised, which appears as a correlation in the posterior belief in these two variables in Figure 4 in Appendix A.
279
+
280
+ Next, for the use case described in Section 3, we report the effect of using ML-DS on two dimensions: 1) agent's belief of treatment effect and 2) downstream outcomes Y realized after the agent has taken an action, visualized in the top and bottom rows of Figure 3, respectively. In each of these plots, the outcomes obtained using ML-DS (orange boxplots) is contrasted with the outcomes obtained without it (blue boxplots), for different types of agents. The CATE plots sweep a wide range of options for the priors in order
281
+
282
+ <span id="page-5-0"></span><sup>&</sup>lt;sup>4</sup>Note that for ease of exposition we introduced some variables $(N_{A_i}, N_{Y_i})$ which are not present in Figure 2 (a). These can in principle be removed by specifying distributions directly on the inverse transformations of the ones given above for $A_i$ and $Y_i$ , and applying the appropriate Jacobian adjustment. In the PyMC implementation, we also use a small (1e-3) observational noise around $Pred^o$ to allow us to sample from an observed deterministic transformation.
283
+
284
+ <span id="page-5-1"></span><sup>&</sup>lt;sup>5</sup>All simulations presented in this paper are ran with PyMC v5 (Salvatier et al., 2016). We used the NUTS sampler to get 1000 samples for each of 4 chains, with 1000 tuning samples and a 'target\_accept' parameter of 0.85. Diagnostics and visual inspection of the traces showed good mixing and no convergence issues (Max $\hat{R}=1.01$ , and only 16 out 4000 runs had > 5 divergences, due to fixed 'target\_accept' and extreme parameter values.). Sanity checks on the Bayesian model are reported in Appendix B.
285
+
286
+ {6}------------------------------------------------
287
+
288
+ to reveal interesting dynamics of the agent's beliefs; in Appendix [D](#page-10-3) we also report the CATE results for the more realistic range of ± 3 stds from the SCM reference value.
289
+
290
+ 330
291
+
292
+ 334
293
+
294
+ 336
295
+
296
+ 354
297
+
298
+ 356
299
+
300
+ 374
301
+
302
+ 376
303
+
304
+ We begin with an agent whose priors beliefs coincide with the parameters of the historical SCM except for NE, i.e. treatment effect. Figure [3a](#page-7-0) and Figure [3d](#page-7-0) show what happens to CATE and Y when the agent's belief in N<sup>E</sup> varies. As expected, in the first figure we can see that the blue CATE has a slope that depends on the prior NE: without decision support, the belief on CATE is equal to N<sup>E</sup> multiplied by the difference in treatments. In the orange series however, we see an interesting behavior: after learning from the interaction with ML-DS, the agent corrects their belief in CATE re-aligning it to the correct value. In other words, *when all other beliefs are correct, the agent can learn from ML-DS to estimate better CATE* and take better actions. This is confirmed in Figure [3d](#page-7-0) where the orange series shows superior outcomes.
305
+
306
+ Figure [3b](#page-7-0) and Figure [3e](#page-7-0) show what happens when the agent's prior belief in the treatment protocol, µA, varies. In this scenario the prior CATE estimates are flat, for the simple reason that the agent has a fixed belief in N<sup>E</sup> and they are not updating it. When interacting with ML-DS however, the belief update changes CATE estimates quite a lot; this is because the agent is attempting to explain the gap between P red<sup>o</sup> given by ML-DS and the expected outcome they had from their prior beliefs. This reflects on outcomes in [3e](#page-7-0) where the orange series is sometimes below the blue one: incorrect beliefs in µ<sup>A</sup> can result in CATE estimates that lead to wrong actions and worsen outcome Y.
307
+
308
+ A similar pattern is observed in Figures [3c,](#page-7-0) [3f,](#page-7-0) [6c](#page-12-0) (last one in Appendix [D\)](#page-10-3): while prior CATE and Y estimates are relatively stable without ML-DS, new dynamics emerge when when ML-DS is introduced. For CATE, incorrect beliefs can have large effects both on the magnitude and sign. For Y , in both cases incorrect beliefs can lead to bad actions and worse outcomes.
309
+
310
+ #### 5. Related work
311
+
312
+ A large body of literature is concerned with the analysis of ML-DS from different angles. A strand of literature focuses on how ML-DS is entangled with (changes in) the data generating process. Works in this category study limitations of what can be learned from data generated from past policies, e.g. [\(Lakkaraju et al.,](#page-8-10) [2017\)](#page-8-10), or the dynamics that occur with alternating cycles of ML-DS deployment and re-training, as in the performative prediction literature [\(Perdomo et al.,](#page-8-11) [2020;](#page-8-11) [Boeken et al.,](#page-8-12) [2024\)](#page-8-12). Another batch of articles is concerned with evaluation of ML-DS, laying out identifiability conditions for the effects of ML-DS on decisions [\(Imai et al.,](#page-8-13) [2023\)](#page-8-13) or trying to optimize human-machine complementarity by design [\(Donahue et al.,](#page-8-14) [2022;](#page-8-14) [McLaughlin & Spiess,](#page-8-15) [2024\)](#page-8-15). Finally, a different set of papers investigate what human input can add to artificial agents already reaching some level of optimality [\(Alur et al.,](#page-8-16) [2024;](#page-8-16) [Zhang & Barein](#page-9-0)[boim,](#page-9-0) [2022;](#page-9-0) [Stensrud et al.,](#page-8-17) [2024\)](#page-8-17). The key difference of our work is that we offer a more fine-grained description of what happens inside the decision maker, namely we unpack the micro-mechanism leading a decision maker to take an action on a single observation paired with AI prediction.
313
+
314
+ Other papers have studied how information flows between agents influencing their actions. In [\(Kamenica &](#page-8-18) [Gentzkow,](#page-8-18) [2011\)](#page-8-18) a Sender of information influences a Receiver Bayesian agent in order to stir their action. What we add here is that in our context the signal is an ML prediction produced from training data drawn from the same environment the agent reasons about; this coupling yields the distinctive inference problem we study, i.e. updating through latent interchangeable training variables.
315
+
316
+ Another important strand of work focuses on problems related to inferring information about a population P given predictions from a model trained on samples from P in the context of confidentiality attacks. This literature studies whether it is possible to use models' predictions (and other behavior) to recover the presence of a specific data point, in so-called *membership inference attacks* [\(Hu et al.,](#page-8-19) [2022;](#page-8-19) [Huang,](#page-8-20) [2025\)](#page-8-20)), or to infer statistical properties of a training datasets, so-called *property-inference attacks* [\(Ate](#page-8-21)[niese et al.,](#page-8-21) [2015;](#page-8-21) [Wang et al.,](#page-9-1) [2019\)](#page-9-1). While these models aim to recover information about the training set, e.g., the proportion of data in each label, our challenge is to marginalize across datasets and directly infer information about the underlying population.
317
+
318
+ #### 6. Discussion
319
+
320
+ We have presented the first explicit framework that includes an ML-DS system and a sophisticated user. Our 2-Step Agent framework captures the effect of an agent's prior beliefs, modeling learning effects due to the interaction and tracking agent's uncertainty. The framework allows for simulations comparing outcomes with and without ML-DS, in an RCT-like fashion, therefore quantifying the benefit/harm of ML-DS for different types of simulated agents.
321
+
322
+ We provided an implementation of the framework for ML-DS with a linear model. Said implementation leverages a collapse of the plate via sufficient statistics (Appendix [E.1\)](#page-13-0), greatly speeding up the simulations. Within this implementation, we have shown that incorrect beliefs about the distribution of the predictive model's training data may lead the agent to bad decisions, resulting in harmful outcomes.
323
+
324
+ While previous literature had argued that incorrect beliefs about past treatment policy (µ<sup>A</sup> in our notation) might gener-
325
+
326
+ {7}------------------------------------------------
327
+
328
+ <span id="page-7-0"></span>![](_page_7_Figure_1.jpeg)
329
+
330
+ *Figure 3.* Figures displaying the effects of different agent priors when using ML-DS (in orange) and without it (in blue). In all plots except from NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The top row displays the agent's prior and posterior (predictive) belief of CATE, while the bottom row shows the impact of the agent's decisions on the downstream outcome Y . The left column pertains to the belief on treatment effect, NE, the central column the belief about past treatment policy (µA) and the right column about the belief on past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band).
331
+
332
+ ate worse downstream outcomes, e.g. in [\(van Geloven et al.,](#page-8-6) [2025\)](#page-8-6), this is the first quantitative estimation of harmful effects of ML-DS. In our experiments we show that ML-DS can be harmful if the agent has wrong beliefs not only about the past treatment policy, but also about the distribution of covariates and the distribution of the outcome.
333
+
334
+ 394
335
+
336
+ 396
337
+
338
+ We also show that if the agent has otherwise correct beliefs, an incorrect belief about treatment effect may be corrected during updates that push the agent towards the true CATE. This suggests that in certain settings ML-DS building on a treatment-naive prediction model might still be beneficial.
339
+
340
+ This finding highlights the extreme sensitivity of ML-DS to agent prior beliefs when using a treatment-naive prediction model, and underscore the importance of providing full documentation and proper training to users of ML-DS. Finally, we remark that these results apply to *any* field deploying such systems and to any agent interacting with ML-DS, be it human or artificial.
341
+
342
+ Limitations and Future work The experiments in this paper explored only part of the potential of the framework. The experiments are limited to a use case in which the prediction model is linear and treatment-naive, and the data
343
+
344
+ generating process is simple (e.g., every distribution is normal, there is only one confounder). Implementing the use case was not trivial and required pushing a Bayesian update through OLS and a large amount of variables (see Appendix [E.1\)](#page-13-0), hence it remains to be seen whether similar results can be obtained when the complexity of the use case increases.
345
+
346
+ We assume the agent reasons in a Bayesian fashion, which allows for a precise analysis of the agent's uncertainty. While this agent may not be realistic with respect to human behavior, it is useful to make this assumption to demonstrate what can go wrong in a best-case scenario, i.e., when the agent is a 'perfect' reasoner and the ML model has no flaws. Finally, this assumption is also interesting when considering how an artificial agent might learn from predictions of other ML models.
347
+
348
+ In future work this line of research will be expanded across different dimensions, including i) different types of agents (e.g. agent with incorrect internal model of the world of different kinds of uncertainties) ii) more complex ML models for ML-DS, iii) cases with heterogeneity of treatment effect (i.e. the effect of the action is not the same for all instances), iv) repeated rounds of learning for the same agent and v) using causal models for ML-DS.
349
+
350
+ {8}------------------------------------------------
351
+
352
+ #### References
353
+
354
+ - <span id="page-8-16"></span>Alur, R., Raghavan, M., and Shah, D. Human expertise in algorithmic prediction. *Advances in Neural Information Processing Systems*, 37:138088–138129, 2024.
355
+ - <span id="page-8-21"></span>Ateniese, G., Mancini, L. V., Spognardi, A., Villani, A., Vitali, D., and Felici, G. Hacking smart machines with smarter ones: How to extract meaningful data from machine learning classifiers. *International Journal of Security and Networks*, 10(3):137–150, September 2015. ISSN 1747-8405. doi: 10.1504/IJSN.2015.071829.
356
+ - <span id="page-8-12"></span>Boeken, P., Zoeter, O., and Mooij, J. Evaluating and correcting performative effects of decision support systems via causal domain shift. In *Causal Learning and Reasoning*, pp. 551–569. PMLR, 2024.
357
+ - <span id="page-8-8"></span>Borm, G. F., Melis, R. J., Teerenstra, S., and Peer, P. G. Pseudo cluster randomization: a treatment allocation method to minimize contamination and selection bias. *Statistics in Medicine*, 24(23):3535–3547, 2005.
358
+ - <span id="page-8-14"></span>Donahue, K., Chouldechova, A., and Kenthapadi, K. Human-algorithm collaboration: Achieving complementarity and avoiding unfairness. In *Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency*, pp. 1639–1656, 2022.
359
+ - <span id="page-8-1"></span>European Parliament and Council of the European Union. Regulation (eu) 2024/1689 of the european parliament and of the council laying down harmonised rules on artificial intelligence (artificial intelligence act), 2024. URL [https://artificialintelligenceact.](https://artificialintelligenceact.eu/article/14/) [eu/article/14/](https://artificialintelligenceact.eu/article/14/). Published 12 July 2024; Article 14: Human oversight.
360
+ - <span id="page-8-19"></span>Hu, H., Salcic, Z., Sun, L., Dobbie, G., Yu, P. S., and Zhang, X. Membership Inference Attacks on Machine Learning: A Survey. *Acm Computing Surveys*, 54(11s): 235:1–235:37, September 2022. ISSN 0360-0300. doi: 10.1145/3523273.
361
+ - <span id="page-8-20"></span>Huang, Y. Bayesian Inference of Training Dataset Membership. May 2025.
362
+ - <span id="page-8-13"></span>Imai, K., Jiang, Z., Greiner, D. J., Halen, R., and Shin, S. Experimental evaluation of algorithm-assisted human decision-making: Application to pretrial public safety assessment. *Journal of the Royal Statistical Society Series A: Statistics in Society*, 186(2):167–189, 2023.
363
+ - <span id="page-8-18"></span>Kamenica, E. and Gentzkow, M. Bayesian persuasion. *American Economic Review*, 101(6):2590–2615, 2011.
364
+ - <span id="page-8-3"></span>Kleinberg, J., Lakkaraju, H., Leskovec, J., Ludwig, J., and Mullainathan, S. Human decisions and machine predictions. *The quarterly journal of economics*, 133(1): 237–293, 2018.
365
+
366
+ - <span id="page-8-4"></span>Kube, A., Das, S., and Fowler, P. J. Allocating interventions based on predicted outcomes: A case study on homelessness services. In *Proceedings of the AAAI Conference on Artificial Intelligence*, volume 33, pp. 622–629, 2019.
367
+ - <span id="page-8-10"></span>Lakkaraju, H., Kleinberg, J., Leskovec, J., Ludwig, J., and Mullainathan, S. The selective labels problem: Evaluating algorithmic predictions in the presence of unobservables. In *Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining*, pp. 275–284, 2017.
368
+ - <span id="page-8-15"></span>McLaughlin, B. and Spiess, J. Designing algorithmic recommendations to achieve human-ai complementarity. *arXiv preprint arXiv:2405.01484*, 2024.
369
+ - <span id="page-8-5"></span>Obermeyer, Z., Powers, B., Vogeli, C., and Mullainathan, S. Dissecting racial bias in an algorithm used to manage the health of populations. *Science*, 366(6464):447–453, 2019.
370
+ - <span id="page-8-11"></span>Perdomo, J., Zrnic, T., Mendler-Dunner, C., and Hardt, M. ¨ Performative prediction. In *International Conference on Machine Learning*, pp. 7599–7609. PMLR, 2020.
371
+ - <span id="page-8-7"></span>Perepletchikova, F., Treat, T. A., and Kazdin, A. E. Treatment integrity in psychotherapy research: analysis of the studies and examination of the associated factors. *Journal of consulting and clinical psychology*, 75(6):829, 2007.
372
+ - <span id="page-8-9"></span>Salvatier, J., Wiecki, T. V., and Fonnesbeck, C. Probabilistic programming in Python using PyMC3. *PeerJ Computer Science*, 2:e55, 2016. ISSN 2376-5992. doi: 10.7717/ peerj-cs.55.
373
+ - <span id="page-8-2"></span>Smith, V. C., Lange, A., and Huston, D. R. Predictive modeling to forecast student outcomes and drive effective interventions in online community college courses. *Journal of asynchronous learning networks*, 16(3):51–61, 2012.
374
+ - <span id="page-8-17"></span>Stensrud, M. J., Laurendeau, J., and Sarvet, A. L. Optimal regimes for algorithm-assisted human decision-making. *Biometrika*, 111(4):1089–1108, 2024.
375
+ - <span id="page-8-6"></span>van Geloven, N., Keogh, R. H., van Amsterdam, W., Cina,` G., Krijthe, J. H., Peek, N., Luijken, K., Magliacane, S., Morzywołek, P., van Ommen, T., et al. The risks of risk assessment: causal blind spots when using prediction models for treatment decisions. *Annals of internal medicine*, 178(9):1326–1333, 2025.
376
+ - <span id="page-8-0"></span>Wang, A., Kapoor, S., Barocas, S., and Narayanan, A. Against predictive optimization: On the legitimacy of decision-making algorithms that optimize predictive accuracy. *ACM J. Responsib. Comput.*, 1(1):9:1–9:45, March 2024. doi: 10.1145/3636509.
377
+
378
+ {9}------------------------------------------------
379
+
380
+ Wang, L., Xu, S., Wang, X., and Zhu, Q. Eavesdrop the Composition Proportion of Training Labels in Federated Learning. October 2019.
381
+
382
+ <span id="page-9-1"></span>
383
+
384
+ > <span id="page-9-0"></span>Zhang, J. and Bareinboim, E. Can humans be out of the loop? In *Conference on Causal Learning and Reasoning*, pp. 1010–1025. PMLR, 2022.
385
+
386
+ {10}------------------------------------------------
387
+
388
+ #### <span id="page-10-1"></span>A. Motivating example 2
389
+
390
+ 550
391
+
392
+ 554
393
+
394
+ <span id="page-10-0"></span>556
395
+
396
+ 574
397
+
398
+ 576
399
+
400
+ 594
401
+
402
+ 596
403
+
404
+ In this section we report the posterior correlation plot obtained from an agent that learned from ML-DS as described in the second motivating example in Section [1.](#page-0-1) After observing a prediction that did not match expectation, the agent revises their beliefs, entertaining multiple hypotheses on how their beliefs should change to account for the situation. In this case, either the treatment effect is lower than anticipated and the dosage higher than assumed, or the other way around.
405
+
406
+ ![](_page_10_Figure_3.jpeg)
407
+
408
+ *Figure 4.* Plot showing the correlation of variables N<sup>E</sup> and µ<sup>A</sup> in the posterior beliefs of the agent after update with ML-DS information. The agent entertains multiple options
409
+
410
+ ### <span id="page-10-2"></span>B. Sanity checks on the Bayesian model
411
+
412
+ We have implemented a series of experiments to make sure that the framework is functioning as intended.
413
+
414
+ - 1. We compare the posterior distributions with the explicit plate and with the sufficient statistics formulation given the same observations. We check if the posteriors of the two agents end up the same. This is repeated for different sizes of plate to control for potential effects of size.
415
+ - 2. We run an update with a single observation X<sup>o</sup> = 200 that is much higher than the prior mean of 80 (with variance 10). We verify that after the update the posterior of µ<sup>X</sup> has moved in the right direction. We also check if this creates correlations of µ<sup>X</sup> with other parameters. This is repeated for different plate sizes.
416
+ - 3. We run an update with many (1000) observations drawn from the real distribution of X and check that the (incorrect) prior of the agent about µ<sup>X</sup> converges to the real parameter in the generating process.
417
+ - 4. We set one observation with X equal to the mean of the agent's prior, with the priors on A and N<sup>E</sup> very peaked, but with P red<sup>o</sup> set much higher than the value Y = coeff ∗ X + N<sup>E</sup> ∗ A. We also setthe coeff of X in the structural equation of A to zero. We observe in the posterior that there is now a correlation between the parameters of N<sup>E</sup> and A.
418
+
419
+ ### C. Results obtained when varying prior µ<sup>Y</sup>
420
+
421
+ In Figure [5](#page-11-0) we report the CATE and Y plots obtained when varying the belief of the agent concerning the mean of the outcome in the historical population, µ<sup>Y</sup> .
422
+
423
+ #### <span id="page-10-3"></span>D. Zoomed-in versions of the CATE plots
424
+
425
+ The plots in Figure [3](#page-7-0) encompass a wide sweep of options for the priors of the agent, which revealed interesting dynamics of CATE with ML-DS. In Figure [6](#page-12-0) we 'zoom-in' on what happens in a more realistic range of priors within ± 3 std from the true SCM parameter.
426
+
427
+ {11}------------------------------------------------
428
+
429
+ <span id="page-11-0"></span>![](_page_11_Figure_1.jpeg)
430
+
431
+ ![](_page_11_Figure_2.jpeg)
432
+
433
+ *Figure 5.* Figures displaying the effects of different agent's priors when using ML-DS (in orange) and without it (in blue). In all plots, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameter for µ<sup>Y</sup> . The left plot displays the agent's prior and posterior (predictive) belief of CATE, while the right one shows the impact of the agent's decisions on the downstream outcome Y . In a rather wide band is the posterior within 1 std of the true mean (gray area).
434
+
435
+ {12}------------------------------------------------
436
+
437
+ <span id="page-12-0"></span>![](_page_12_Figure_1.jpeg)
438
+
439
+ *Figure 6.* Figures displaying the effects of different agent's priors on the posterior (predictive) belief of CATE when using ML-DS (in orange) and without it (in blue). In all plots except those for NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The plots pertain to the belief on treatment effect, NE, the belief about past treatment policy (µA), the belief about past outcomes (µ<sup>Y</sup> ) and the belief about past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band.
440
+
441
+ {13}------------------------------------------------
442
+
443
+ #### E. Derivations for plate model
444
+
445
+ We elaborate here on the strategy to reduce the plate with the help of sufficient statistics
446
+
447
+ 716
448
+
449
+ 718 719 720
450
+
451
+ 724
452
+
453
+ 726
454
+
455
+ 734
456
+
457
+ 736
458
+
459
+ 754
460
+
461
+ 756
462
+
463
+ #### <span id="page-13-0"></span>E.1. Plate model, agent's internal model
464
+
465
+ In this section we will show how an observation of the model parameter ϕ from the agent's internal model can be generated. This is needed to estimate the posterior distributions of the agent's beliefs using a sampling approach. As running inference through a plate-model can be both computationally expensive and numerically unstable, we chose to reformulate the plate using low-dimensional auxiliary variables.
466
+
467
+ We start from the SCM (fig. [2\)](#page-3-1) that defines the relation between the variables and we are interested in finding the lowdimensional auxiliary variables that define the regression coefficient ϕ of the model M. As we are using PyMC for inference – which does not have an implementation for the non-central χ 2 -distribution – all random variables (RVs) will be reformulated using zero-centered normally distributed RVs (standard normals where needed) and (central) χ <sup>2</sup> distributed RVs. Some of these RVs will be dependent and that dependence will be dealt with in section [E.2.](#page-15-0)
468
+
469
+ We are specifically looking for a low-dimensional representation of the plate and treat a sample of the plate parameters {αXµ, αXσ, αAµ, αAσ, αY µ, αY σ, NE} as given. The relevant parts of the SCM, reproduced here for the reader's convenience, are defined as
470
+
471
+ $$Y_{i} = a + bX_{i} + N_{E}A_{i} + N_{Y_{i}}$$
472
+
473
+ $$A_{i} = dX_{i} + N_{A_{i}}$$
474
+
475
+ $$X_{i} = N_{X_{i}}$$
476
+
477
+ $$\forall i \in [1, ..., n]$$
478
+
479
+ $$(1)$$
480
+
481
+ where n is the plate size, a, b, and d are constants and
482
+
483
+ <span id="page-13-4"></span>
484
+ $$N_{X_i} \sim \mathcal{N}(\alpha_{X\mu}, \alpha_{X\sigma}^2)$$
485
+
486
+ $$N_{A_i} \sim \mathcal{N}(\alpha_{A\mu}, \alpha_{A\sigma}^2)$$
487
+
488
+ $$N_{Y_i} \sim \mathcal{N}(\alpha_{Y\mu}, \alpha_{Y\sigma}^2).$$
489
+ (2)
490
+
491
+ We are modeling Y<sup>i</sup> without intercept as
492
+
493
+ <span id="page-13-3"></span>
494
+ $$Y_i \approx \phi X_i \tag{3}$$
495
+
496
+ and looking for the ordinary least-squares estimate of ϕ, that is
497
+
498
+ $$\min_{\phi} \left( \sum_{i} (Y_i - \phi X_i)^2 \right). \tag{4}$$
499
+
500
+ The least-squares estimate for this case has a well-known closed-form solution given by
501
+
502
+ <span id="page-13-5"></span><span id="page-13-1"></span>
503
+ $$\phi = \frac{\sum_{i} X_i Y_i}{\sum_{i} X_i^2}.$$
504
+ (5)
505
+
506
+ Our goal is to express this equation in terms of RVs that summarize the sums thus removing the need to sample the full plate n times. The denominator of this equation can be expressed as
507
+
508
+ $$\sum_{i} X_i^2 = \sum_{i} N_{X_i}^2 \tag{6}$$
509
+
510
+
511
+
512
+ $$\sum_{i} X_i^2 = \sum_{i} \alpha_{X\mu}^2 + 2\alpha_{X\mu}\alpha_{X\sigma}\epsilon_{X_i} + \alpha_{X\sigma}^2\epsilon_{X_i}^2$$
513
+ (7)
514
+
515
+ where
516
+
517
+ <span id="page-13-2"></span>
518
+ $$\epsilon_{X_i} \sim \mathcal{N}(0, 1).$$
519
+ (8)
520
+
521
+ {14}------------------------------------------------
522
+
523
+ The denominator of (5) rewritten in (7) consists of three parts:
524
+
525
+ $$S_1 = \sum_{i} \alpha_{X\mu}^2 \tag{9}$$
526
+
527
+ $$S_2 = \sum_{i} 2\alpha_{X\mu}\alpha_{X\sigma}\epsilon_{X_i} \tag{10}$$
528
+
529
+ $$S_3 = \sum_i \alpha_{X\sigma}^2 \epsilon_{X_i}^2 \tag{11}$$
530
+
531
+ where
532
+
533
+ $$S_1 = n\alpha_{X\mu}^2 \tag{12}$$
534
+
535
+ $$S_2 = 2\alpha_{X\mu}\alpha_{X\sigma} \sum_{i} \epsilon_{X_i} \tag{13}$$
536
+
537
+ $$S_3 = \alpha_{X\sigma}^2 \sum_i \epsilon_{X_i}^2. \tag{14}$$
538
+
539
+ Given one set of parameters for the equations in (2), we see that $S_1$ is a constant, $S_2 = 2\alpha_{X\mu}\alpha_{X\sigma}S_X$ where $S_X \sim \mathcal{N}(0,n)$ , and $S_3 \sim \alpha_{X\sigma}^2 Z_{S_3}$ where $Z_{S_3} \sim \chi^2(n)$ . Here $S_2$ is the first low-dimensional auxiliary variable we need. Note that $S_3$ is **dependent on** $S_2$ and this has to be dealt with separately (see section E.2).
540
+
541
+ Next we decompose the numerator of equation (5) in a similar way. First we replace the RVs by the definitions from (1)
542
+
543
+ $$\sum_{i} X_{i} Y_{i} = \sum_{i} \left[ a N_{X_{i}} + b N_{X_{i}}^{2} + d N_{E} N_{X_{i}}^{2} + N_{E} N_{A_{i}} N_{X_{i}} + N_{Y_{i}} N_{X_{i}} \right].$$
544
+ (15)
545
+
546
+ As we are actually interested in equation (5), we can divide this expression by $\sum_i N_{X_i}^2$ (equation (6)) to cancel out some factors and get
547
+
548
+ $$\phi = b + dN_E + \frac{a\sum_{i} N_{X_i} + N_E \sum_{i} N_{X_i} N_{A_i} + \sum_{i} N_{X_i} N_{Y_i}}{\sum_{i} X_i^2}$$
549
+ (16)
550
+
551
+ Remember that a, b, and d are constants. The denominator of the last term is equivalent to equation (7). We currently lack suitable expressions only for the numerator of the last term. The numerator consists of the three parts
552
+
553
+ $$S_4 = a \sum_i N_{X_i} \tag{17}$$
554
+
555
+ $$S_5 = N_E \sum_{i} N_{X_i} N_{A_i} \tag{18}$$
556
+
557
+ $$S_6 = \sum_i N_{X_i} N_{Y_i}. \tag{19}$$
558
+
559
+ $S_4$ can be expressed similarly to $S_2$ using $S_X$ , i.e. $S_4 = an\alpha_{X\mu} + a\alpha_{X\sigma}S_X$ . Both $S_5$ and $S_6$ are RVs following normal product distributions. We decompose $S_6$ as follows:
560
+
561
+ $$S_6 = \sum_{i} \left[ (\alpha_{X\mu} + \alpha_{X\sigma} \epsilon_{X_i})(\alpha_{Y\mu} + \alpha_{Y\sigma} \epsilon_{Y_i}) \right]$$
562
+ (20)
563
+
564
+ $$S_6 = \sum_{i} \left[ \alpha_{X\mu} \alpha_{Y\mu} + \alpha_{X\mu} \alpha_{Y\sigma} \epsilon_{Y_i} + \alpha_{Y\mu} \alpha_{X\sigma} \epsilon_{X_i} + \alpha_{X\sigma} \alpha_{Y\sigma} \epsilon_{X_i} \epsilon_{Y_i} \right]$$
565
+ (21)
566
+
567
+ $\Leftrightarrow$
568
+
569
+ $$S_6 = n\alpha_{X\mu}\alpha_{Y\mu} + \alpha_{X\mu}\alpha_{Y\sigma}S_Y + \alpha_{Y\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{Y\sigma}\sum_i \epsilon_{X_i}\epsilon_{Y_i}$$
570
+ (22)
571
+
572
+ where $\epsilon_{Y_i} \sim \mathcal{N}(0,1)$ and $S_Y \sim \mathcal{N}(0,n)$ . Note that $S_X$ and $S_Y$ are independent. We know that $\sum_i \epsilon_{X_i} \epsilon_{Y_i}$ follows a normal product distribution that is dependent on both $S_X$ and $S_Y$ and deal with this dependence in section E.2 below.
573
+
574
+ {15}------------------------------------------------
575
+
576
+ Following an almost identical derivation, we express
577
+
578
+ $$S_5 = N_E \left[ n\alpha_{X\mu}\alpha_{A\mu} + \alpha_{X\mu}\alpha_{A\sigma}S_A + \alpha_{A\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{A\sigma}\sum_i \epsilon_{X_i}\epsilon_{A_i} \right]$$
579
+ (23)
580
+
581
+ where
582
+
583
+ E.2. Separating dependent and independent parts
584
+
585
+ It can be shown that
586
+
587
+ and sums of squares.
588
+
589
+ It can be shown that
590
+
591
+ where $U_{XA} \sim \chi^2(n-1)$ and $V_{XA} \sim \chi^2(n-1)$ .
592
+
593
+ $\epsilon_{A_i} \sim \mathcal{N}(0,1)$
594
+
595
+ $$\epsilon_{A_i} \sim \mathcal{N}(0, 1)$$
596
+ (24)
597
+ $S_A \sim \mathcal{N}(0, n)$ . (25)
598
+
599
+ # (24)
600
+
601
+ # <span id="page-15-0"></span>Cochran's theorem tells us that we can in certain situations separate the dependent and independent parts of sums of products
602
+
603
+ # <span id="page-15-1"></span> $S_7 = \sum_{i} \epsilon_{X_i}^2 = \sum_{i} (\epsilon_{X_i} - \bar{\epsilon_X})^2 - \frac{(\sum_{i} \epsilon_{X_i})^2}{n}$ (26)
604
+
605
+ where $\epsilon_{X_i} \sim \mathcal{N}(0,1)$ and $\epsilon_X^-$ is the sample average, and that $\sum_i (\epsilon_{X_i} - \epsilon_X^-)^2$ is independent of $\frac{(\sum_i \epsilon_{X_i})^2}{n}$ . The first term is a sum of squares of a normal and follows a $\chi^2$ -distribution with n-1 degrees of freedom, i.e. $\sum_i (\epsilon_{X_i} - \epsilon_X^-)^2 = Z_{XX}$ where $Z_{XX} \sim \chi^2(n-1)$ . The second term is the square of the sum, where the sum is over an RV that is normally distributed. This second term in equation (26) is $\frac{\left(\sum_{i} \epsilon_{X_{i}}\right)^{2}}{n} = \frac{S_{X}^{2}}{n}$ .
606
+
607
+ ## E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS
608
+
609
+ E.2.1. DEPENDENCE OF SUM OF SQUARES AND (SQUARE OF) SUM
610
+
611
+ <span id="page-15-2"></span>
612
+ $$S_8 = \sum_i \epsilon_{X_i} \epsilon_{Y_i} = n \bar{\epsilon_X} \bar{\epsilon_Y} + \sum_i (\epsilon_{X_i} - \bar{\epsilon_X}) (\epsilon_{Y_i} - \bar{\epsilon_Y})$$
613
+ (27)
614
+
615
+ where bar denotes sample average so that $\bar{\epsilon_X} = \frac{\sum_i \epsilon_{X_i}}{n}$ and $\bar{\epsilon_Y} = \frac{\sum_i \epsilon_{Y_i}}{n}$ .
616
+
617
+ The first term of equation (27) can be written with familiar quantities as $\bar{\epsilon_X} = \frac{S_X}{n}$ and $\bar{\epsilon_Y} = \frac{S_Y}{n}$ resulting in $n\bar{\epsilon_X}\bar{\epsilon_Y} = \frac{S_XS_Y}{n}$ . The second part requires more deliberation. $\sum_i (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y})$ is clearly a sum of an RV that follows a normal product distribution. To facilitate sampling, we rewrite this as
618
+
619
+ $$\sum (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y}) = \frac{1}{4} \sum (\epsilon_{X_i} - \bar{\epsilon_X} + \epsilon_{Y_i} - \bar{\epsilon_Y})^2 + \frac{1}{4} \sum (\epsilon_{X_i} - \bar{\epsilon_X} - \epsilon_{Y_i} + \bar{\epsilon_Y})^2.$$
620
+ (28)
621
+
622
+ Both terms (sums of squares) in the right-hand side of this equation are sums of squared normals which are $\chi^2$ -distributed with n-1 degrees of freedom. Hence
623
+
624
+ $$\sum (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y}) = \frac{1}{4}(2U_{XY} - 2V_{XY})$$
625
+ (29)
626
+
627
+ where $U_{XY} \sim \chi^2(n-1)$ and $V_{XY} \sim \chi^2(n-1)$ and these are independent.
628
+
629
+ Following the same pattern, it can be shown that
630
+
631
+ $$S_9 = \sum_{i} \epsilon_{X_i} \epsilon_{A_i} = \frac{S_X S_A}{n} + \frac{1}{2} (U_{XA} - V_{XA})$$
632
+ (30)
633
+
634
+ {16}------------------------------------------------
635
+
636
+ #### E.3. Putting it all together
637
+
638
+ To generate one observation of ϕ from the agent's internal model, sample αXµ, αXσ, αY µ, αY σ, αAµ, αAσ, and NE. Then sample one observation for
639
+
640
+ $$S_X \sim \mathcal{N}(0, n) \tag{31}$$
641
+
642
+ $$S_Y \sim \mathcal{N}(0, n) \tag{32}$$
643
+
644
+ $$S_A \sim \mathcal{N}(0, n) \tag{33}$$
645
+
646
+ $$Z_{XX} \sim \chi^2(n-1) \tag{34}$$
647
+
648
+ $$U_{XY} \sim \chi^2(n-1) \tag{35}$$
649
+
650
+ $$V_{XY} \sim \chi^2(n-1) \tag{36}$$
651
+
652
+ $$U_{XA} \sim \chi^2(n-1) \tag{37}$$
653
+
654
+ $$V_{XA} \sim \chi^2(n-1). \tag{38}$$
655
+
656
+ Insert the sampled values to calculate
657
+
658
+ $$S_9 = \frac{S_X S_A}{n} + \frac{1}{2} (U_{XA} - V_{XA}) \tag{39}$$
659
+
660
+ $$S_8 = \frac{S_X S_Y}{n} + \frac{1}{2} (U_{XY} - V_{XY}) \tag{40}$$
661
+
662
+ $$S_7 = Z_{XX} - \frac{S_X^2}{n} \tag{41}$$
663
+
664
+ $$S_6 = n\alpha_{X\mu}\alpha_{Y\mu} + \alpha_{X\mu}\alpha_{Y\sigma}S_Y + \alpha_{Y\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{Y\sigma}S_8 \tag{42}$$
665
+
666
+ $$S_5 = N_E \left( n\alpha_{X\mu}\alpha_{A\mu} + \alpha_{X\mu}\alpha_{A\sigma}S_A + \alpha_{A\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{A\sigma}S_9 \right) \tag{43}$$
667
+
668
+ $$S_4 = an\alpha_{X\mu} + a\alpha_{X\sigma}S_X \tag{44}$$
669
+
670
+ $$S_3 = \alpha_{X\sigma}^2 S_7 \tag{45}$$
671
+
672
+ $$S_2 = 2\alpha_{X\mu}\alpha_{X\sigma}S_X \tag{46}$$
673
+
674
+ $$S_1 = n\alpha_{X\mu}^2. (47)$$
675
+
676
+ With these, we can finally generate one observation from the distribution of ϕ:
677
+
678
+ $$\phi = b + dN_E + \frac{S_4 + S_5 + S_6}{S_1 + S_2 + S_3}. (48)$$
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/parse_report.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892",
3
+ "pipeline": "marker_non_llm_v3",
4
+ "parser": "marker_single",
5
+ "formats": [
6
+ "markdown",
7
+ "chunks"
8
+ ],
9
+ "llm_enabled": false,
10
+ "pdf_path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/icml26_20260429_1952_duequeue/raw/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892.pdf",
11
+ "pdf_sha256": "212139d81399c0c92a95a6d2ae18ecec5ea23ec5b0ff8f78c0bdf7da97a3cfbc",
12
+ "bytes": 796684,
13
+ "source": "https://koala.science/storage/pdfs/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892.pdf",
14
+ "page_count": 17,
15
+ "ok": true,
16
+ "elapsed_seconds": 167.31,
17
+ "paper2markdown_v3": {
18
+ "paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892",
19
+ "pipeline": "Paper2Markdown-V3",
20
+ "ok": true,
21
+ "page_count": 17,
22
+ "chunk_count": 197,
23
+ "main_body_chunk_count": 102,
24
+ "appendix_chunk_count": 92,
25
+ "reference_chunk_count": 3,
26
+ "model_text_chars": 45577,
27
+ "raw_markdown_chars": 62833,
28
+ "sanitized_chars": 61195,
29
+ "page_provenance": {
30
+ "min_page": 1,
31
+ "max_page": 17,
32
+ "invalid_count": 0
33
+ },
34
+ "marker_block_type_counts": {
35
+ "Equation": 56,
36
+ "Figure": 1,
37
+ "FigureGroup": 6,
38
+ "Footnote": 6,
39
+ "ListGroup": 4,
40
+ "PageFooter": 17,
41
+ "PageHeader": 16,
42
+ "SectionHeader": 30,
43
+ "Text": 423
44
+ },
45
+ "asset_count_raw": 7,
46
+ "asset_count_model_kept": 7,
47
+ "asset_count_rejected": 0,
48
+ "asset_reject_reasons": {
49
+ "kept": 7
50
+ },
51
+ "artifact_leak_audit": {
52
+ "ok": true,
53
+ "hits": {
54
+ "Anonymous Authors": [],
55
+ "ACKNOWLEDGMENT": [],
56
+ "OpenReview": [],
57
+ "\"accept_label\"": [],
58
+ "\"decision\"": [],
59
+ "\"decision_tier\"": [],
60
+ "\"source_status\"": [],
61
+ "Meta-review": [],
62
+ "Official Review": [],
63
+ "official_reviews": [],
64
+ "meta_reviews": [],
65
+ "suggested_verdict_score": []
66
+ },
67
+ "artifact_count": 2
68
+ },
69
+ "default_model_input": "model_text_v3.txt",
70
+ "appendix_input": "appendix_text_v3.txt",
71
+ "reference_input": "reference_text_v3.txt"
72
+ }
73
+ }
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/reference_chunks.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0102", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Kube, A., Das, S., and Fowler, P. J. Allocating interventions based on predicted outcomes: A case study on homelessness services. In Proceedings of the AAAI Conference on Artificial Intelligence , volume 33, pp. 622–629, 2019. Lakkaraju, H., Kleinberg, J., Leskovec, J., Ludwig, J., and Mullainathan, S. The selective labels problem: Evaluating algorithmic predictions in the presence of unobservables. In Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining , pp. 275–284, 2017. McLaughlin, B. and Spiess, J. Designing algorithmic recommendations to achieve human-ai complementarity. arXiv preprint arXiv:2405.01484 , 2024. Obermeyer, Z., Powers, B., Vogeli, C., and Mullainathan, S. Dissecting racial bias in an algorithm used to manage the health of populations. Science , 366(6464):447–453, 2019. Perdomo, J., Zrnic, T., Mendler-Dunner, C., and Hardt, M. ¨ Performative prediction. In International Conference on Machine Learning , pp. 7599–7609. PMLR, 2020. Perepletchikova, F., Treat, T. A., and Kazdin, A. E. Treatment integrity in psychotherapy research: analysis of the studies and examination of the associated factors. Journal of consulting and clinical psychology , 75(6):829, 2007. Salvatier, J., Wiecki, T. V., and Fonnesbeck, C. Probabilistic programming in Python using PyMC3. PeerJ Computer Science , 2:e55, 2016. ISSN 2376-5992. doi: 10.7717/ peerj-cs.55. Smith, V. C., Lange, A., and Huston, D. R. Predictive modeling to forecast student outcomes and drive effective interventions in online community college courses. Journal of asynchronous learning networks , 16(3):51–61, 2012. Stensrud, M. J., Laurendeau, J., and Sarvet, A. L. Optimal regimes for algorithm-assisted human decision-making. Biometrika , 111(4):1089–1108, 2024. van Geloven, N., Keogh, R. H., van Amsterdam, W., Cina,` G., Krijthe, J. H., Peek, N., Luijken, K., Magliacane, S., Morzywołek, P., van Ommen, T., et al. The risks of risk assessment: causal blind spots when using prediction models for treatment decisions. Annals of internal medicine , 178(9):1326–1333, 2025. Wang, A., Kapoor, S., Barocas, S., and Narayanan, A. Against predictive optimization: On the legitimacy of decision-making algorithms that optimize predictive accuracy. ACM J. Responsib. Comput. , 1(1):9:1–9:45, March 2024. doi: 10.1145/3636509.", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/525"}
2
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0103", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "Wang, L., Xu, S., Wang, X., and Zhu, Q. Eavesdrop the Composition Proportion of Training Labels in Federated Learning. October 2019.", "source": "marker_v2", "marker_block_id": "/page/9/Text/1"}
3
+ {"paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892", "chunk_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892:0104", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "Zhang, J. and Bareinboim, E. Can humans be out of the loop? In Conference on Causal Learning and Reasoning , pp. 1010–1025. PMLR, 2022.", "source": "marker_v2", "marker_block_id": "/page/9/Text/3"}
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/reference_text_v3.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ [p. 9 | section: References | type: ListGroup]
2
+ Kube, A., Das, S., and Fowler, P. J. Allocating interventions based on predicted outcomes: A case study on homelessness services. In Proceedings of the AAAI Conference on Artificial Intelligence , volume 33, pp. 622–629, 2019. Lakkaraju, H., Kleinberg, J., Leskovec, J., Ludwig, J., and Mullainathan, S. The selective labels problem: Evaluating algorithmic predictions in the presence of unobservables. In Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining , pp. 275–284, 2017. McLaughlin, B. and Spiess, J. Designing algorithmic recommendations to achieve human-ai complementarity. arXiv preprint arXiv:2405.01484 , 2024. Obermeyer, Z., Powers, B., Vogeli, C., and Mullainathan, S. Dissecting racial bias in an algorithm used to manage the health of populations. Science , 366(6464):447–453, 2019. Perdomo, J., Zrnic, T., Mendler-Dunner, C., and Hardt, M. ¨ Performative prediction. In International Conference on Machine Learning , pp. 7599–7609. PMLR, 2020. Perepletchikova, F., Treat, T. A., and Kazdin, A. E. Treatment integrity in psychotherapy research: analysis of the studies and examination of the associated factors. Journal of consulting and clinical psychology , 75(6):829, 2007. Salvatier, J., Wiecki, T. V., and Fonnesbeck, C. Probabilistic programming in Python using PyMC3. PeerJ Computer Science , 2:e55, 2016. ISSN 2376-5992. doi: 10.7717/ peerj-cs.55. Smith, V. C., Lange, A., and Huston, D. R. Predictive modeling to forecast student outcomes and drive effective interventions in online community college courses. Journal of asynchronous learning networks , 16(3):51–61, 2012. Stensrud, M. J., Laurendeau, J., and Sarvet, A. L. Optimal regimes for algorithm-assisted human decision-making. Biometrika , 111(4):1089–1108, 2024. van Geloven, N., Keogh, R. H., van Amsterdam, W., Cina,` G., Krijthe, J. H., Peek, N., Luijken, K., Magliacane, S., Morzywołek, P., van Ommen, T., et al. The risks of risk assessment: causal blind spots when using prediction models for treatment decisions. Annals of internal medicine , 178(9):1326–1333, 2025. Wang, A., Kapoor, S., Barocas, S., and Narayanan, A. Against predictive optimization: On the legitimacy of decision-making algorithms that optimize predictive accuracy. ACM J. Responsib. Comput. , 1(1):9:1–9:45, March 2024. doi: 10.1145/3636509.
3
+
4
+ [p. 10 | section: References | type: Text]
5
+ Wang, L., Xu, S., Wang, X., and Zhu, Q. Eavesdrop the Composition Proportion of Training Labels in Federated Learning. October 2019.
6
+
7
+ [p. 10 | section: References | type: Text]
8
+ Zhang, J. and Bareinboim, E. Can humans be out of the loop? In Conference on Causal Learning and Reasoning , pp. 1010–1025. PMLR, 2022.
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/sanitization_report.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "a3c6aa1c-cfec-4174-aab8-a4cb5af0d892",
3
+ "pipeline": "Paper2Markdown-V3",
4
+ "ok": true,
5
+ "page_count": 17,
6
+ "chunk_count": 197,
7
+ "main_body_chunk_count": 102,
8
+ "appendix_chunk_count": 92,
9
+ "reference_chunk_count": 3,
10
+ "model_text_chars": 45577,
11
+ "raw_markdown_chars": 62833,
12
+ "sanitized_chars": 61195,
13
+ "page_provenance": {
14
+ "min_page": 1,
15
+ "max_page": 17,
16
+ "invalid_count": 0
17
+ },
18
+ "marker_block_type_counts": {
19
+ "Equation": 56,
20
+ "Figure": 1,
21
+ "FigureGroup": 6,
22
+ "Footnote": 6,
23
+ "ListGroup": 4,
24
+ "PageFooter": 17,
25
+ "PageHeader": 16,
26
+ "SectionHeader": 30,
27
+ "Text": 423
28
+ },
29
+ "asset_count_raw": 7,
30
+ "asset_count_model_kept": 7,
31
+ "asset_count_rejected": 0,
32
+ "asset_reject_reasons": {
33
+ "kept": 7
34
+ },
35
+ "artifact_leak_audit": {
36
+ "ok": true,
37
+ "hits": {
38
+ "Anonymous Authors": [],
39
+ "ACKNOWLEDGMENT": [],
40
+ "OpenReview": [],
41
+ "\"accept_label\"": [],
42
+ "\"decision\"": [],
43
+ "\"decision_tier\"": [],
44
+ "\"source_status\"": [],
45
+ "Meta-review": [],
46
+ "Official Review": [],
47
+ "official_reviews": [],
48
+ "meta_reviews": [],
49
+ "suggested_verdict_score": []
50
+ },
51
+ "artifact_count": 2
52
+ },
53
+ "default_model_input": "model_text_v3.txt",
54
+ "appendix_input": "appendix_text_v3.txt",
55
+ "reference_input": "reference_text_v3.txt"
56
+ }
icml26/a3c6aa1c-cfec-4174-aab8-a4cb5af0d892/sanitized_v3.txt ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {0}
2
+ ### Abstract
3
+ Across a growing number of fields, human decision making is supported by predictions from AI models. However, we still lack a deep understanding of the effects of adoption of these technologies. In this paper, we introduce a general computational framework, the 2-Step Agent, which models the effects of AI-assisted decision making. Our framework uses Bayesian methods for causal inference to model 1) how a prediction on a new observation affects the beliefs of a rational Bayesian agent, and 2) how this change in beliefs affects the downstream decision and subsequent outcome. Using this framework, we show by simulations how a single misaligned prior belief can be sufficient for decision support to result in worse downstream outcomes compared to no decision support. Our results reveal several potential pitfalls of AI-driven decision support and highlight the need for thorough model documentation and proper user training.
4
+ #### <span id="page-0-1"></span>1. Introduction
5
+ Background. Prediction models are often used to support decision making: a model trained on past data produces a forecast for a future outcome of interest, which a agent can take into account when deciding how to act. For the rest of this article, we will refer to such decision support as ML-DS (Machine Learning Decision Support) to emphasize the fact that the model has been trained on data. This is sometimes also called 'predictive optimization' [\(Wang et al.,](#page-8-0) [2024\)](#page-8-0). Contrary to full automation, in high-risk settings ML-DS is sometimes perceived as a way to leverage the power of machine learning while retaining human oversight (see for instance Article 14 of the EU AI Act [\(European Parliament](#page-8-1) [& Council of the European Union,](#page-8-1) [2024\)](#page-8-1)).
6
+ Understanding the practical impact of adopting ML-DS in a domain is essential. First, ML-DS is on the rise, and currently deployed in a variety of fields including healthcare, education [\(Smith et al.,](#page-8-2) [2012\)](#page-8-2), policing and judicial system [\(Kleinberg et al.,](#page-8-3) [2018\)](#page-8-3), as well as redistribution of welfare [\(Kube et al.,](#page-8-4) [2019\)](#page-8-4). Second, allowing machines to influence decision making carries important risks, e.g. the incorporation of biased advice [\(Obermeyer et al.,](#page-8-5) [2019\)](#page-8-5).
7
+ In this paper, we present a full-fledged computational models of ML-DS, the *2-Step Agent*. While most research on effects of ML-DS focuses on the model, we unpack the inner working of the decision maker, studying how a rational agent incorporates information from ML-DS in order to make a decision. We demonstrate that the introduction of ML-DS can lead to harmful consequences due to a mismatch of the model with the users' expectations or training, even in an ideal scenario where the ML model is as good as it gets and the agent is a 'perfect' reasoner.
8
+ #### Motivating example 1: Effect of the agent's prior beliefs.
9
+ Consider the situation of an oncologist using ML-DS when deciding how to treat a cancer patient. The ML-model predicts that the patient has only two months left to live. We can then imagine two lines of thinking depending on the clinician's prior beliefs. If the model was trained on patients who received minimal treatment, a very heavy treatment may extend the survival time. On the other hand, if the model is trained on patients who received the heaviest treatment, it is best to put the patient on palliative care to avoid unnecessary suffering from side-effects.
10
+ This example showcases that, even in presence of the same information from ML-DS, *different prior assumptions about the model and the data it was trained on can lead to opposite actions*. This underscores the importance of an agent's priors in determining the effectiveness of ML-DS,[1](#page-0-0) a point that has already been argued for in previous literature (see e.g., [\(van Geloven et al.,](#page-8-6) [2025\)](#page-8-6)) but has not been studied
11
+ <span id="page-0-0"></span><sup>1</sup> Setting the agent prior beliefs by proper training is indeed an important part of RCTs' protocols that is not always adhered to [\(Perepletchikova et al.,](#page-8-7) [2007\)](#page-8-7). When it is not possible to create a common baseline of beliefs and behavior, a two-stage randomization might be required, both on the providers of the intervention and the subjects [\(Borm et al.,](#page-8-8) [2005\)](#page-8-8).
12
+ {1}------------------------------------------------
13
+ quantitatively.
14
+ #### Motivating example 2: Agent learning from ML-DS.
15
+ Consider a variation of the previous scenario involving a clinician and a patient with a similar prognosis. Before seeing the model's prediction, the clinician believes that in the training data of the model (1) patients were always treated, and in general (2) patients ended up surviving between 6 and 12 months when treated. Seeing a prediction of two months of survival, and assuming the patient is not an outlier, this set of beliefs is challenged.
16
+ The clinician can then revise their beliefs in at least two different ways. They can conclude the model's training data had in fact some untreated patients, and that this patient might be similar to one of the untreated patients. In this case, it might still be beneficial to treat. On the other hand, they might conclude they were wrong about the effect of treatment on patients. In this case, the treatment must be less beneficial than previously thought by the clinician. Therefore it might be best to abstain from treatment.
17
+ Hence *the way in which ML-DS changes the agent's beliefs will influence the action of the agent*. Capturing this phenomenon means solving a challenging leaning problem where the ML prediction is used as proxy information about the causal process the agent wants to intervene on.
18
+ Contributions of the paper These examples show the importance of an agent's prior knowledge for the impact of ML-DS. In this paper, we introduce a general computational framework to study the interaction of an agent with an ML-DS system.
19
+ We make three main contributions. First, we provide a rigorous formalism to analyze how a user interacts with ML-DS system in order to act. Our framework captures said interaction in two steps (2-Step Agent): a Bayesian step in which the agent incorporates the information given by the decision support model into their model of the world, and a causal inference step in which the agent draws the conclusion on which action is best to take. This is schematically depicted in Fig [1](#page-1-0) for the clinical example.
20
+ Our second contribution is to run computational experiments to quantify the effect of using ML-DS on patient outcomes. We show that harmful effects can occur in realistic scenarios already when a single prior is misaligned. We also show that ML-DS can be beneficial in some settings.
21
+ Finally, to the best of our knowledge we provide the first treatment of how a Bayesian agent can update their beliefs about a population after observing a prediction of an ML model trained on data from that population. This update involves a challenging inference through a set of latent interchangeable variables in the predictive model's training
22
+ <span id="page-1-0"></span>![](_page_1_Figure_10.jpeg)
23
+ *Figure 1.* The diagram shows the overall flow of the model. A new patient with certain attributes (1) arrives for treatment, and the patient's data (2), potentially along with the output of a prediction model (2'), is observed by the agent, e.g., a doctor. The agent uses these observations to update their previous beliefs about the population and the predictive model (3), a step which we model as a Bayesian update. Based on their new beliefs, the agent estimates the effect of treatment (4) and makes a treatment decision (5). Finally, the treatment together with the patient's attributes determine a final outcome (6).
24
+ data. We prove that for simple linear models it is possible to reduce this set to a few sufficient statistics, improving computational cost and numerical stability when applying our framework.
25
+ While our running example is medical, the results are general and apply for every other field where prediction models are employed as decision support. Furthermore, our simulations are only concerned with simple (non-causal) prediction models; ML-DS with causal model is left for future work. The code and experiments are available open-source.[2](#page-1-1)
26
+ #### 2. The 2-Step Agent: Defining the framework
27
+ In this section, we give a formal description of our 2-Step Agent for studying the effects of ML-DS. We first give a description of the process that generates the training data for the predictive model, as well as the possible types of predictive model (Sec. [2.1\)](#page-1-2). We formalize the first step, which consists of a Bayesian agent updating their beliefs about the world given a prediction from the predictive model for a new patient (Sec. [2.2\)](#page-2-0). We then formalize the second step, where the Bayesian agent uses the updated beliefs about the population to decide on a treatment for the new patient (Sec. [2.3\)](#page-3-0).
28
+ #### <span id="page-1-2"></span>2.1. The setup: Historical data and predictive model
29
+ We start by formally defining a causal model of the domain. Let A be a variable denoting an intervention, such as the administration of a treatment. The treatment variable may
30
+ <span id="page-1-1"></span><sup>2</sup>The code will be shared upon acceptance.
31
+ {2}------------------------------------------------
32
+ be continuous or categorical, but to lighten the notation we will present the formulas with a binary A. Let Y be a variable denoting an outcome of interest. In our example above, the treatment could be a fixed dose of chemotherapy and the outcome the months of survival, so in this case a higher outcome is better. We use $X_i$ to refer to covariates involved in the causal mechanisms governing the treatment and outcome.
33
+ **Definition 2.1** (Historical data generation). We assume $Hist = (\mathbf{S}, P_{\mathbf{N}})$ to be the minimal structural causal model (SCM) describing the causal mechanisms producing A and Y, where $\mathbf{S}$ is a set of assignments defining each variable in terms of its parents and $P_{\mathbf{N}}$ is a joint distribution over the noise variables. We use $\bar{X} = X_1, \ldots, X_k$ to denote endogenous (non-noise) variables involved in the SCM that are different from A and Y.
34
+ An example of this SCM is depicted in Figure 2(b). The SCM Hist stands for the process in the world that generated the data before the introduction of decision support. Note that the assignment determining A might be due to a specific intervention protocol, e.g., the guidelines for administering the treatment that were in use in that particular time window. The SCM determines a unique joint distribution $P^{Hist}$ over variables $Y, A, \bar{X}$ .
35
+ Next, we assume that a relevant dataset is generated by Hist and used to train a prediction model for decision support.
36
+ <span id="page-2-2"></span>**Definition 2.2** (Training data and prediction model). A dataset $\mathcal{D}_{Hist} = \{(\bar{x}_1, a_1, y_1), \dots, (\bar{x}_n, a_n, y_n)\}$ of historical data is composed of tuples containing relevant characteristics, treatment, and outcome. The dataset contains n instances. This dataset is used to train a prediction model $f: \bar{X} \to Y$ to estimate $E^{Hist}(Y \mid \bar{X})$ .
37
+ Other estimands we do not consider are the treatment dependent estimate $E^{Hist}(Y\mid A,\bar{X})$ and the interventional estimate $E^{Hist}(Y\mid do(A),\bar{X})$ ; these are left for future work.
38
+ #### <span id="page-2-0"></span>2.2. The first step: Bayesian update of the agent's beliefs
39
+ We next introduce an agent $\mathcal{A}$ who decides on the intervention for new observations (e.g. new patients) with the help of ML-DS. Rather than mechanically applying the recommendation of the ML-DS system, this agent uses their own internal model of the world, capturing not only what they believe about the data generating process Hist, but also what they believe concerning the prediction model f and the training data $\mathcal{D}_{Hist}$ . We model an agent who is aware of the model documentation containing the model class (e.g., a linear model, a tree ensemble, etc.), the model's signature (i.e. that it is treatment naive and what covariates are
40
+ involved),<sup>3</sup> and the size of the training data, but who is uncertain about the model's parameters. The agent can update their world model, including beliefs concerning historical data and model training.
41
+ **Definition 2.3** (Internal beliefs of the agent). Call $A_{hist}$ the Bayesian network defining the agent's joint distribution over the following variables:
42
+ - 1. $N_{\bar{X}}, N_Y, N_A$ : These are the variables encoding the population-level distributions over the various quantities of interest, respectively: the patient's characteristics $(N_{\bar{X}})$ , the noise in the outcome $(N_Y)$ , and the noise in the treatment $(N_A)$ . Depending on how population-level uncertainty is parameterized, these can be vectors. These population-level variables are sampled to produce the historical data. Within this Bayesian network, the historical data is represented via a plate, a graphical notation device used to show repeated, independent, and identically-structured components of a probabilistic model.
43
+ - N<sub>E</sub>: This variable denotes the treatment effect. Contrary to the other noise variables, this is not sampled for each plate repetition but only once, so it remains the same across the plate.
44
+ - 3. $A_i, Y_i, \bar{X}_i$ : These represent the i-th (out of n) datapoint in the training data of the predictive model. The whole training set is represented as a plate of multiplicity n. The noise distributions corresponding to these variables are fixed and outside the plate, capturing the fact that they are population-level distributions. All variables $Y_i$ share the noise term $N_E$ .
45
+ - 4. M: The prediction model's parameters, obtained deterministically from the training data in the plate and possibly some additional known parameter N<sub>M</sub> which encodes, e.g., the hyperparameter settings or initialization values. M has as parents all the variables in the plate, representing the fact that it is trained on the whole data set.
46
+ - 5. $\bar{X}^o$ : An observed data instance for a new patient, for which the agent will make a treatment decision. This array of variables has no non-noise parents and it is sampled from the same noise distribution as $\bar{X}$ .
47
+ <span id="page-2-1"></span><sup>&</sup>lt;sup>3</sup>Recent guidelines explicitly suggest to additionally inform model users about the historical treatment policy. Our framework can be extended to model such settings, but here we focus on agents who are uncertain about historical treatment policy, for two reasons. First, this is a common scenario in current practice. Second, this provides a baseline estimation for the effects of ML-DS, which can be compared to better informed users in the future. We come back to these points in the discussion.
48
+ {3}------------------------------------------------
49
+ <span id="page-3-1"></span>![](_page_3_Figure_1.jpeg)
50
+ the SCM generating the data in the real world, while models (a) and (c) are the first and second steps of the 2-Step Agent. Model (a) allows the agent to perform a belief update given new information from ML-DS, while model (c) allows the agent to estimate the
51
+ model for $\bar{X}^o$ . This is derived deterministically from $\bar{X}^o$ and M.
52
+ The Bayesian network encoding the conditional independencies of the model is shown in Figure 2 (a). To simplify presentation we depict the submodel of $A_{hist}$ containing only the variables A, Y and X as coinciding with Hist, meaning that the agent has correct belief about the data generation process, although this does not have to be the case and the framework is general enough to allow these two structures to diverge.
53
+ $N_E$ encodes the agent's beliefs concerning the effect of the intervention: if the agent were to fix all the coefficients in the structural equation of Y, the effect of treatment would be fixed and there could be no update of his/her beliefs on the interventional distribution $E^{A_{hist}}(Y \mid \bar{X}, do(A = 1))$ . By letting the mechanism be influenced by $N_E$ , we can treat the posterior as encoding a distribution over SCMs, each with its own fixed assignment for Y (and thus each with its own treatment effect).
54
+ The agent's initial beliefs are represented via priors.
55
+ **Definition 2.4** (Agent's priors). The agent is assumed to
56
+ have as prior a joint distribution over all variables in the model, which depends on the unconditional distribution $P_{N_{\bar{X}},N_Y,N_A,N_E}^{\mathcal{A}_{hist}}.$
57
+ For all i < n, the priors encode the agent's starting beliefs about various quantities. First, $P_{N_{\bar{X}}}^{\mathcal{A}_{hist}}$ encodes the population-level distribution generating $\bar{X}_{i,}$ the agent's model of the historical population. Second, $P_{N_A}^{\mathcal{A}_{hist}}$ encodes the population-level distribution generating the noise of $A_i$ , the agent's model of the historical protocol to administer the intervention. Third, $P_{N_Y}^{\mathcal{A}_{hist}}$ encodes the population-level distribution generating the noise of $Y_i$ , the agent's representation of the outcome. Finally, $P_{N_E}^{A_{hist}}$ encodes the effect of treatment, assumed to be fixed across the population. We assume the agent knows the values of the parameters of the distribution $N_M$ , since he/she has access to the model documentation, therefore we omit this prior.
58
+ This prior is updated via a Bayesian update based on the observables $X^o$ and $Pred^o$ .
59
+ **Definition 2.5** (Agent belief update). Given $\bar{X}^o$ and Predo the agent does a Bayesian update on the prior $P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E)$ , obtaining a posterior distribu-
60
+ $$P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E \mid \bar{X}^o, Pred^o)$$
61
+ To simplify exposition, we marginalize over uncertainty in the plate variables $(\bar{X}_i, Y_i, A_i \text{ with } i < n)$ and M.
62
+ #### <span id="page-3-0"></span>2.3. The second step: deciding on the best action after belief update
63
+ We described the agent' world model and how the agent updates it upon observing predictions from an ML-DS system for a new patient, which we called the first step. In the second step, the agent estimates the effect of the treatment on the new patient using their updated world model. This is necessary for the agent to consider a 'fresh' iteration of the plate and calculate the correct interventional probability. Another conceptual reason to introduce a second model is that - when the agent does Bayesian inference - the values of A and Y for the new instance $\bar{X}^o$ are not realized yet.
64
+ **Definition 2.6** (Agent model for decision making). This model contains variables $N_E, N_{\bar{X}}, N_A, N_Y, X, A, Y$ , arranged as the similarly-named variables in the sub-model of $A_{hist}$ . This model is used for inference on new instances and we denote it as $A_{inf}$ .
65
+ This second agent model is depicted in Figure 2 (c). The crucial difference between this model and a regular SCM is that the noise variables are not assumed to be independent but rather they are initialized with the joint posterior obtained in the previous Bayesian step. The agent is thus drawing an inference over a distribution of possible SCMs.
66
+ To decide what to do on the new instance, the agent then
67
+ {4}------------------------------------------------
68
+ calculates the effect of the intervention on the model $A_{inf}$ where the joint distribution of the noise is set to the posterior calculated over $A_{hist}$ .
69
+ **Definition 2.7** (Decision rule). To make a decision, the agent first sets the joint distribution of the inference model according to the posterior on the historical model:
70
+ $$P^{\mathcal{A}_{inf}}(N_{\bar{X}}, N_Y, N_A, N_E) :=$$
71
+ $$P^{\mathcal{A}_{hist}}(N_{\bar{X}}, N_Y, N_A, N_E \mid \bar{X}^o, Pred^o)$$
72
+ Following this, treatment is given iff the Conditional Average Treatment Effect (CATE) for the new patient crosses a threshold value, meaning
73
+ $$E_{P^{\mathcal{A}_{inf}}}[\mathrm{CATE}] > \tau$$
74
+ where $\tau$ is a threshold set by the agent beforehand and CATE = $E^{\mathcal{A}_{inf}}(Y \mid \bar{X} = \bar{X}^o, do(A=0)) - E^{\mathcal{A}_{inf}}(Y \mid \bar{X} = \bar{X}^o, do(A=1))$ . In other words, treatment is given if the expected effect of treatment is sufficiently large in the desired direction.
75
+ When the threshold is zero, the agent administers the treatment if the expected outcome is better in the scenario where they are giving the treatment, conditioned on the patient characteristics, versus the scenario where treatment is not given. Crucially, these interventional expectations are calculated on the internal model of the agent.
76
+ # 2.4. Quantifying the effect of introducing decision support
77
+ Given the machinery defined above, we are able to calculate the effect of introducing decision support. Given the prediction model and the specification of the agent - which is determined by spelling out $\mathcal{A}_{hist}$ and $\mathcal{A}_{inf}$ - the decision of the agent on a new data point (as described by covariates $\bar{X}^o$ ) is deterministic (i.e. we can implement the input-output process described in Figure 1). We can thus formalize it as a function $Act^{\mathcal{A},f}: \bar{X} \to A$ . The way the decision support changes the actions of the agent is then represented as an intervention on Hist changing the assignment of A:
78
+ $$A := Act^{\mathcal{A}, f}(\bar{X})$$
79
+ The post-interventional SCM is then indicated with the notation $Hist^{A=Act^{\mathcal{A},f}(\bar{X})}$ , where f is the prediction model from Definition 2.2. We can now define the effect of introducing decision support as the risk difference in outcomes generated by Hist compared to $Hist^{A=Act^{\mathcal{A},f}(\bar{X})}$ . This quantifies the effect of the intervention 'using MS-DL', compared to the historical policy.
80
+ #### <span id="page-4-0"></span>3. Experimental setup
81
+ We design experiments to answer two questions. First, how and how much does decision support influence (i) treatment decisions, (ii) agent's beliefs, and (iii) downstream patient outcomes? Second, what role is played by the agent's priors? To address these questions, we vary the priors of the agent and compare the scenarios with and without ML-DS. For each prior setting, we plot the change in treatment decisions, in agent's beliefs, and in patient outcomes, with and without ML-DS, after observing a single patient.
82
+ Use case We consider a data-generating model with one continuous covariate X, continuous intervention A, and a continuous outcome Y. Higher values of the outcomes are better. One can think of the initial example and interpret X as body weight, A as dosage of chemotherapy, and Y as months of survival. We set n=1000 and we assume the prediction model to be a slope-only linear regression. Despite the continuous treatment, for simplicity we assume the agent compares two treatment options, A=10 or A=20, intuitively ten and twenty units of dosage respectively.
83
+ **Historical SCM.** Let the SCM *Hist* be defined as:
84
+ $$N_X \sim \mathcal{N}(80, 10)$$
85
+ $N_A \sim \mathcal{N}(2, 1)$ $N_Y \sim \mathcal{N}(0, 0.1)$ $X := N_X$ $A := 0.125 * X + N_A$ $Y := 12 - 0.1 * X + 1 * A + N_Y$
86
+ In this model, the treatment protocol is simply to give a dosage of treatment A which is an eight of the body weight X, and how well this dosing is followed is encoded by the noise term $N_A$ . The mechanism of Y clarifies that the covariate X makes the outcome worse but the treatment improves the outcome. Of course, this equation is a great simplification of what happens in reality, but it is sufficient to demonstrate several important dynamics that emerge when introducing ML-DS. Average treatment effect is positive in this scenario, as witnessed by the positive coefficient of A in the equation for Y.
87
+ The internal model of the agent's beliefs. The internal model of the agent $A_{hist}$ encodes the agent's uncertainty about *Hist*:
88
+ $$X_{i} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\sigma}}) \qquad \text{with } i < n$$
89
+ $$N_{A_{i}} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{A}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{A}\boldsymbol{\sigma}}) \qquad \text{with } i < n$$
90
+ $$N_{Y_{i}} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{Y}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{Y}\boldsymbol{\sigma}}) \qquad \text{with } i < n$$
91
+ $$A_{i} = 0.125 X_{i} + N_{A_{i}} \qquad \text{with } i < n$$
92
+ $$Y_{i} = 12 - 0.1 X_{i} + N_{\boldsymbol{E}} A_{i} + N_{Y_{i}} \qquad \text{with } i < n$$
93
+ $$M = \arg\min_{\boldsymbol{\phi} \in \Phi} (MSE(\boldsymbol{\phi}\bar{X}, \bar{Y}))$$
94
+ $$X^{o} \sim \mathcal{N}(\boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\mu}}, \boldsymbol{\alpha}_{\boldsymbol{X}\boldsymbol{\sigma}})$$
95
+ $$Pred^{o} = MX^{o}$$
96
+ where $\bar{Y} = (Y_1, \dots, Y_n)$ , etc are the respective vectors of n variables, $\phi$ is the single parameter of a least squares regression without intercept, and the variables in bold font indicate
97
+ {5}------------------------------------------------
98
+ population-level priors that are given different values in the different simulations below.<sup>4</sup>
99
+ The agent knows some aspects of the data generating process, e.g., some of the parameters in the mechanisms of Y and A, but has uncertainty on several dimensions. $\alpha_{A\mu}$ encodes the belief of the agent on how much historical dosages of treatment deviated from the standard protocol. $\alpha_{X\mu}, \alpha_{X\sigma}$ represent the uncertainty of the agent on how the feature X of the training data was distributed. In the definition of Y there are two uncertainties at play. The prior on $\alpha_{Y\sigma}$ describes the uncertainty of the agent concerning Y. The distribution of $N_E$ , on the other hand, captures the belief of the agent concerning the effectiveness of treatment A.
100
+ **Defining different agents** We consider two types of agents, one with 'correct' priors whose means are close to the historical SCM, and one with incorrect priors. This is an example of the former:
101
+ $$\begin{aligned} &\alpha_{X\mu} \sim \mathcal{N}(80, 0.1) & \alpha_{X\sigma} \sim \mathcal{N}(10, 0.1) \mid \alpha_{X\sigma} \geq 0 \\ &\alpha_{A\mu} \sim \mathcal{N}(2, 1) & \alpha_{A\sigma} \sim \mathcal{N}(1, 0.1) \mid \alpha_{Y\sigma} \geq 0 \\ &\alpha_{Y\mu} \sim \mathcal{N}(0, 0.01) & \alpha_{Y\sigma} \sim \mathcal{N}(0.1, 0.01) \mid \alpha_{Y\sigma} \geq 0 \\ &N_E \sim \mathcal{N}(1, 0.1) \end{aligned}$$
102
+ This agent essentially has the correct beliefs about the patient data distribution, historical treatment policy, outcome variance and treatment effect. They only have some uncertainty represented by some variance on these parameters. In our experiments, we vary each of the colored prior parameters, one at a time, to simulate various ways in which the agent's expectations may be incorrect.
103
+ The internal model for the agent's effect estimation. Finally, the internal model of the agent used for inference, $A_{inf}$ , is defined as:
104
+ $$\begin{split} N_X &\sim \mathcal{N}(\alpha_{X\mu}, \alpha_{X\sigma}) \quad N_A \sim \mathcal{N}(\alpha_{A\mu}, \alpha_{A\sigma}) \\ N_Y &\sim \mathcal{N}(\alpha_{Y\mu}, \alpha_{Y\sigma}) \\ X &:= N_X \\ A &:= 0.125 \ X + N_A \\ Y &:= 12 - 0.1 \ X + N_E \ A + N_Y \end{split}$$
105
+ The posterior defines a probability distribution over SCMs. Recall that the agent was interested in choosing between dosage A=10 or A=20 for the specific patient with
106
+ weight equal to $X^o$ . To compute the desired quantity, the agent aggregates the CATE produced by every SCM according to the posterior
107
+ $$C\hat{ATE} = \mathbb{E}_{P^{\mathcal{A}_{inf}}}[E^{\mathcal{A}_{inf}}(Y|X^o, do(A=20)) - E^{\mathcal{A}_{inf}}(Y|X^o, do(A=10))]$$
108
+ where the expectation is over the joint posterior of the agent over the parameters, which was obtained updating $A_{hist}$ .
109
+ **Reaching a decision.** The agent will administer a dosage of 10 if the estimated CATE is below a threshold of 5 or a dosage of 20 otherwise. In other words, the higher dosage needs to improve the outcome by at least 5 months to be worth it. This completes the decision pipeline: given a patient $X^o$ with a corresponding prediction and the type of agent, we can compute what the agent would do.
110
+ #### 4. Results
111
+ We begin by showcasing how our framework can capture the two motivating examples presented in the Introduction. In the first example, the belief of the agent on the past policy determines how the prediction is interpreted and what action is taken.<sup>5</sup> Indeed, in the simulation, when X = 80, with a bad prognosis under the assumption of no treatment $(\alpha_{A\mu} = 0)$ , the agent chooses a high dosage to improve the outcome (A = 20). With a bad prognosis under the assumption of heavy treatment ( $\alpha_{A\mu}=20$ ), the agent chooses a low dosage to reduce over-treatment (A = 10). In the second motivating example, new information from the prediction forces an agent to consider different options. In the model, this means that either belief in treatment effect $(N_E)$ or in historical policy $(\mu_A)$ is revised, which appears as a correlation in the posterior belief in these two variables in Figure 4 in Appendix A.
112
+ Next, for the use case described in Section 3, we report the effect of using ML-DS on two dimensions: 1) agent's belief of treatment effect and 2) downstream outcomes Y realized after the agent has taken an action, visualized in the top and bottom rows of Figure 3, respectively. In each of these plots, the outcomes obtained using ML-DS (orange boxplots) is contrasted with the outcomes obtained without it (blue boxplots), for different types of agents. The CATE plots sweep a wide range of options for the priors in order
113
+ <span id="page-5-0"></span><sup>&</sup>lt;sup>4</sup>Note that for ease of exposition we introduced some variables $(N_{A_i}, N_{Y_i})$ which are not present in Figure 2 (a). These can in principle be removed by specifying distributions directly on the inverse transformations of the ones given above for $A_i$ and $Y_i$ , and applying the appropriate Jacobian adjustment. In the PyMC implementation, we also use a small (1e-3) observational noise around $Pred^o$ to allow us to sample from an observed deterministic transformation.
114
+ <span id="page-5-1"></span><sup>&</sup>lt;sup>5</sup>All simulations presented in this paper are ran with PyMC v5 (Salvatier et al., 2016). We used the NUTS sampler to get 1000 samples for each of 4 chains, with 1000 tuning samples and a 'target\_accept' parameter of 0.85. Diagnostics and visual inspection of the traces showed good mixing and no convergence issues (Max $\hat{R}=1.01$ , and only 16 out 4000 runs had > 5 divergences, due to fixed 'target\_accept' and extreme parameter values.). Sanity checks on the Bayesian model are reported in Appendix B.
115
+ {6}------------------------------------------------
116
+ to reveal interesting dynamics of the agent's beliefs; in Appendix [D](#page-10-3) we also report the CATE results for the more realistic range of ± 3 stds from the SCM reference value.
117
+ We begin with an agent whose priors beliefs coincide with the parameters of the historical SCM except for NE, i.e. treatment effect. Figure [3a](#page-7-0) and Figure [3d](#page-7-0) show what happens to CATE and Y when the agent's belief in N<sup>E</sup> varies. As expected, in the first figure we can see that the blue CATE has a slope that depends on the prior NE: without decision support, the belief on CATE is equal to N<sup>E</sup> multiplied by the difference in treatments. In the orange series however, we see an interesting behavior: after learning from the interaction with ML-DS, the agent corrects their belief in CATE re-aligning it to the correct value. In other words, *when all other beliefs are correct, the agent can learn from ML-DS to estimate better CATE* and take better actions. This is confirmed in Figure [3d](#page-7-0) where the orange series shows superior outcomes.
118
+ Figure [3b](#page-7-0) and Figure [3e](#page-7-0) show what happens when the agent's prior belief in the treatment protocol, µA, varies. In this scenario the prior CATE estimates are flat, for the simple reason that the agent has a fixed belief in N<sup>E</sup> and they are not updating it. When interacting with ML-DS however, the belief update changes CATE estimates quite a lot; this is because the agent is attempting to explain the gap between P red<sup>o</sup> given by ML-DS and the expected outcome they had from their prior beliefs. This reflects on outcomes in [3e](#page-7-0) where the orange series is sometimes below the blue one: incorrect beliefs in µ<sup>A</sup> can result in CATE estimates that lead to wrong actions and worsen outcome Y.
119
+ A similar pattern is observed in Figures [3c,](#page-7-0) [3f,](#page-7-0) [6c](#page-12-0) (last one in Appendix [D\)](#page-10-3): while prior CATE and Y estimates are relatively stable without ML-DS, new dynamics emerge when when ML-DS is introduced. For CATE, incorrect beliefs can have large effects both on the magnitude and sign. For Y , in both cases incorrect beliefs can lead to bad actions and worse outcomes.
120
+ #### 5. Related work
121
+ A large body of literature is concerned with the analysis of ML-DS from different angles. A strand of literature focuses on how ML-DS is entangled with (changes in) the data generating process. Works in this category study limitations of what can be learned from data generated from past policies, e.g. [\(Lakkaraju et al.,](#page-8-10) [2017\)](#page-8-10), or the dynamics that occur with alternating cycles of ML-DS deployment and re-training, as in the performative prediction literature [\(Perdomo et al.,](#page-8-11) [2020;](#page-8-11) [Boeken et al.,](#page-8-12) [2024\)](#page-8-12). Another batch of articles is concerned with evaluation of ML-DS, laying out identifiability conditions for the effects of ML-DS on decisions [\(Imai et al.,](#page-8-13) [2023\)](#page-8-13) or trying to optimize human-machine complementarity by design [\(Donahue et al.,](#page-8-14) [2022;](#page-8-14) [McLaughlin & Spiess,](#page-8-15) [2024\)](#page-8-15). Finally, a different set of papers investigate what human input can add to artificial agents already reaching some level of optimality [\(Alur et al.,](#page-8-16) [2024;](#page-8-16) [Zhang & Barein](#page-9-0)[boim,](#page-9-0) [2022;](#page-9-0) [Stensrud et al.,](#page-8-17) [2024\)](#page-8-17). The key difference of our work is that we offer a more fine-grained description of what happens inside the decision maker, namely we unpack the micro-mechanism leading a decision maker to take an action on a single observation paired with AI prediction.
122
+ Other papers have studied how information flows between agents influencing their actions. In [\(Kamenica &](#page-8-18) [Gentzkow,](#page-8-18) [2011\)](#page-8-18) a Sender of information influences a Receiver Bayesian agent in order to stir their action. What we add here is that in our context the signal is an ML prediction produced from training data drawn from the same environment the agent reasons about; this coupling yields the distinctive inference problem we study, i.e. updating through latent interchangeable training variables.
123
+ Another important strand of work focuses on problems related to inferring information about a population P given predictions from a model trained on samples from P in the context of confidentiality attacks. This literature studies whether it is possible to use models' predictions (and other behavior) to recover the presence of a specific data point, in so-called *membership inference attacks* [\(Hu et al.,](#page-8-19) [2022;](#page-8-19) [Huang,](#page-8-20) [2025\)](#page-8-20)), or to infer statistical properties of a training datasets, so-called *property-inference attacks* [\(Ate](#page-8-21)[niese et al.,](#page-8-21) [2015;](#page-8-21) [Wang et al.,](#page-9-1) [2019\)](#page-9-1). While these models aim to recover information about the training set, e.g., the proportion of data in each label, our challenge is to marginalize across datasets and directly infer information about the underlying population.
124
+ #### 6. Discussion
125
+ We have presented the first explicit framework that includes an ML-DS system and a sophisticated user. Our 2-Step Agent framework captures the effect of an agent's prior beliefs, modeling learning effects due to the interaction and tracking agent's uncertainty. The framework allows for simulations comparing outcomes with and without ML-DS, in an RCT-like fashion, therefore quantifying the benefit/harm of ML-DS for different types of simulated agents.
126
+ We provided an implementation of the framework for ML-DS with a linear model. Said implementation leverages a collapse of the plate via sufficient statistics (Appendix [E.1\)](#page-13-0), greatly speeding up the simulations. Within this implementation, we have shown that incorrect beliefs about the distribution of the predictive model's training data may lead the agent to bad decisions, resulting in harmful outcomes.
127
+ While previous literature had argued that incorrect beliefs about past treatment policy (µ<sup>A</sup> in our notation) might gener-
128
+ {7}------------------------------------------------
129
+ <span id="page-7-0"></span>![](_page_7_Figure_1.jpeg)
130
+ *Figure 3.* Figures displaying the effects of different agent priors when using ML-DS (in orange) and without it (in blue). In all plots except from NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The top row displays the agent's prior and posterior (predictive) belief of CATE, while the bottom row shows the impact of the agent's decisions on the downstream outcome Y . The left column pertains to the belief on treatment effect, NE, the central column the belief about past treatment policy (µA) and the right column about the belief on past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band).
131
+ ate worse downstream outcomes, e.g. in [\(van Geloven et al.,](#page-8-6) [2025\)](#page-8-6), this is the first quantitative estimation of harmful effects of ML-DS. In our experiments we show that ML-DS can be harmful if the agent has wrong beliefs not only about the past treatment policy, but also about the distribution of covariates and the distribution of the outcome.
132
+ We also show that if the agent has otherwise correct beliefs, an incorrect belief about treatment effect may be corrected during updates that push the agent towards the true CATE. This suggests that in certain settings ML-DS building on a treatment-naive prediction model might still be beneficial.
133
+ This finding highlights the extreme sensitivity of ML-DS to agent prior beliefs when using a treatment-naive prediction model, and underscore the importance of providing full documentation and proper training to users of ML-DS. Finally, we remark that these results apply to *any* field deploying such systems and to any agent interacting with ML-DS, be it human or artificial.
134
+ Limitations and Future work The experiments in this paper explored only part of the potential of the framework. The experiments are limited to a use case in which the prediction model is linear and treatment-naive, and the data
135
+ generating process is simple (e.g., every distribution is normal, there is only one confounder). Implementing the use case was not trivial and required pushing a Bayesian update through OLS and a large amount of variables (see Appendix [E.1\)](#page-13-0), hence it remains to be seen whether similar results can be obtained when the complexity of the use case increases.
136
+ We assume the agent reasons in a Bayesian fashion, which allows for a precise analysis of the agent's uncertainty. While this agent may not be realistic with respect to human behavior, it is useful to make this assumption to demonstrate what can go wrong in a best-case scenario, i.e., when the agent is a 'perfect' reasoner and the ML model has no flaws. Finally, this assumption is also interesting when considering how an artificial agent might learn from predictions of other ML models.
137
+ In future work this line of research will be expanded across different dimensions, including i) different types of agents (e.g. agent with incorrect internal model of the world of different kinds of uncertainties) ii) more complex ML models for ML-DS, iii) cases with heterogeneity of treatment effect (i.e. the effect of the action is not the same for all instances), iv) repeated rounds of learning for the same agent and v) using causal models for ML-DS.
138
+ {8}------------------------------------------------
139
+ #### References
140
+ - <span id="page-8-16"></span>Alur, R., Raghavan, M., and Shah, D. Human expertise in algorithmic prediction. *Advances in Neural Information Processing Systems*, 37:138088–138129, 2024.
141
+ - <span id="page-8-21"></span>Ateniese, G., Mancini, L. V., Spognardi, A., Villani, A., Vitali, D., and Felici, G. Hacking smart machines with smarter ones: How to extract meaningful data from machine learning classifiers. *International Journal of Security and Networks*, 10(3):137–150, September 2015. ISSN 1747-8405. doi: 10.1504/IJSN.2015.071829.
142
+ - <span id="page-8-12"></span>Boeken, P., Zoeter, O., and Mooij, J. Evaluating and correcting performative effects of decision support systems via causal domain shift. In *Causal Learning and Reasoning*, pp. 551–569. PMLR, 2024.
143
+ - <span id="page-8-8"></span>Borm, G. F., Melis, R. J., Teerenstra, S., and Peer, P. G. Pseudo cluster randomization: a treatment allocation method to minimize contamination and selection bias. *Statistics in Medicine*, 24(23):3535–3547, 2005.
144
+ - <span id="page-8-14"></span>Donahue, K., Chouldechova, A., and Kenthapadi, K. Human-algorithm collaboration: Achieving complementarity and avoiding unfairness. In *Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency*, pp. 1639–1656, 2022.
145
+ - <span id="page-8-19"></span>Hu, H., Salcic, Z., Sun, L., Dobbie, G., Yu, P. S., and Zhang, X. Membership Inference Attacks on Machine Learning: A Survey. *Acm Computing Surveys*, 54(11s): 235:1–235:37, September 2022. ISSN 0360-0300. doi: 10.1145/3523273.
146
+ - <span id="page-8-20"></span>Huang, Y. Bayesian Inference of Training Dataset Membership. May 2025.
147
+ - <span id="page-8-13"></span>Imai, K., Jiang, Z., Greiner, D. J., Halen, R., and Shin, S. Experimental evaluation of algorithm-assisted human decision-making: Application to pretrial public safety assessment. *Journal of the Royal Statistical Society Series A: Statistics in Society*, 186(2):167–189, 2023.
148
+ - <span id="page-8-18"></span>Kamenica, E. and Gentzkow, M. Bayesian persuasion. *American Economic Review*, 101(6):2590–2615, 2011.
149
+ - <span id="page-8-3"></span>Kleinberg, J., Lakkaraju, H., Leskovec, J., Ludwig, J., and Mullainathan, S. Human decisions and machine predictions. *The quarterly journal of economics*, 133(1): 237–293, 2018.
150
+ - <span id="page-8-4"></span>Kube, A., Das, S., and Fowler, P. J. Allocating interventions based on predicted outcomes: A case study on homelessness services. In *Proceedings of the AAAI Conference on Artificial Intelligence*, volume 33, pp. 622–629, 2019.
151
+ - <span id="page-8-10"></span>Lakkaraju, H., Kleinberg, J., Leskovec, J., Ludwig, J., and Mullainathan, S. The selective labels problem: Evaluating algorithmic predictions in the presence of unobservables. In *Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining*, pp. 275–284, 2017.
152
+ - <span id="page-8-15"></span>McLaughlin, B. and Spiess, J. Designing algorithmic recommendations to achieve human-ai complementarity. *arXiv preprint arXiv:2405.01484*, 2024.
153
+ - <span id="page-8-5"></span>Obermeyer, Z., Powers, B., Vogeli, C., and Mullainathan, S. Dissecting racial bias in an algorithm used to manage the health of populations. *Science*, 366(6464):447–453, 2019.
154
+ - <span id="page-8-11"></span>Perdomo, J., Zrnic, T., Mendler-Dunner, C., and Hardt, M. ¨ Performative prediction. In *International Conference on Machine Learning*, pp. 7599–7609. PMLR, 2020.
155
+ - <span id="page-8-7"></span>Perepletchikova, F., Treat, T. A., and Kazdin, A. E. Treatment integrity in psychotherapy research: analysis of the studies and examination of the associated factors. *Journal of consulting and clinical psychology*, 75(6):829, 2007.
156
+ - <span id="page-8-9"></span>Salvatier, J., Wiecki, T. V., and Fonnesbeck, C. Probabilistic programming in Python using PyMC3. *PeerJ Computer Science*, 2:e55, 2016. ISSN 2376-5992. doi: 10.7717/ peerj-cs.55.
157
+ - <span id="page-8-2"></span>Smith, V. C., Lange, A., and Huston, D. R. Predictive modeling to forecast student outcomes and drive effective interventions in online community college courses. *Journal of asynchronous learning networks*, 16(3):51–61, 2012.
158
+ - <span id="page-8-17"></span>Stensrud, M. J., Laurendeau, J., and Sarvet, A. L. Optimal regimes for algorithm-assisted human decision-making. *Biometrika*, 111(4):1089–1108, 2024.
159
+ - <span id="page-8-6"></span>van Geloven, N., Keogh, R. H., van Amsterdam, W., Cina,` G., Krijthe, J. H., Peek, N., Luijken, K., Magliacane, S., Morzywołek, P., van Ommen, T., et al. The risks of risk assessment: causal blind spots when using prediction models for treatment decisions. *Annals of internal medicine*, 178(9):1326–1333, 2025.
160
+ - <span id="page-8-0"></span>Wang, A., Kapoor, S., Barocas, S., and Narayanan, A. Against predictive optimization: On the legitimacy of decision-making algorithms that optimize predictive accuracy. *ACM J. Responsib. Comput.*, 1(1):9:1–9:45, March 2024. doi: 10.1145/3636509.
161
+ {9}------------------------------------------------
162
+ Wang, L., Xu, S., Wang, X., and Zhu, Q. Eavesdrop the Composition Proportion of Training Labels in Federated Learning. October 2019.
163
+ <span id="page-9-1"></span>
164
+ > <span id="page-9-0"></span>Zhang, J. and Bareinboim, E. Can humans be out of the loop? In *Conference on Causal Learning and Reasoning*, pp. 1010–1025. PMLR, 2022.
165
+ {10}------------------------------------------------
166
+ #### <span id="page-10-1"></span>A. Motivating example 2
167
+ <span id="page-10-0"></span>556
168
+ In this section we report the posterior correlation plot obtained from an agent that learned from ML-DS as described in the second motivating example in Section [1.](#page-0-1) After observing a prediction that did not match expectation, the agent revises their beliefs, entertaining multiple hypotheses on how their beliefs should change to account for the situation. In this case, either the treatment effect is lower than anticipated and the dosage higher than assumed, or the other way around.
169
+ ![](_page_10_Figure_3.jpeg)
170
+ *Figure 4.* Plot showing the correlation of variables N<sup>E</sup> and µ<sup>A</sup> in the posterior beliefs of the agent after update with ML-DS information. The agent entertains multiple options
171
+ ### <span id="page-10-2"></span>B. Sanity checks on the Bayesian model
172
+ We have implemented a series of experiments to make sure that the framework is functioning as intended.
173
+ - 1. We compare the posterior distributions with the explicit plate and with the sufficient statistics formulation given the same observations. We check if the posteriors of the two agents end up the same. This is repeated for different sizes of plate to control for potential effects of size.
174
+ - 2. We run an update with a single observation X<sup>o</sup> = 200 that is much higher than the prior mean of 80 (with variance 10). We verify that after the update the posterior of µ<sup>X</sup> has moved in the right direction. We also check if this creates correlations of µ<sup>X</sup> with other parameters. This is repeated for different plate sizes.
175
+ - 3. We run an update with many (1000) observations drawn from the real distribution of X and check that the (incorrect) prior of the agent about µ<sup>X</sup> converges to the real parameter in the generating process.
176
+ - 4. We set one observation with X equal to the mean of the agent's prior, with the priors on A and N<sup>E</sup> very peaked, but with P red<sup>o</sup> set much higher than the value Y = coeff ∗ X + N<sup>E</sup> ∗ A. We also setthe coeff of X in the structural equation of A to zero. We observe in the posterior that there is now a correlation between the parameters of N<sup>E</sup> and A.
177
+ ### C. Results obtained when varying prior µ<sup>Y</sup>
178
+ In Figure [5](#page-11-0) we report the CATE and Y plots obtained when varying the belief of the agent concerning the mean of the outcome in the historical population, µ<sup>Y</sup> .
179
+ #### <span id="page-10-3"></span>D. Zoomed-in versions of the CATE plots
180
+ The plots in Figure [3](#page-7-0) encompass a wide sweep of options for the priors of the agent, which revealed interesting dynamics of CATE with ML-DS. In Figure [6](#page-12-0) we 'zoom-in' on what happens in a more realistic range of priors within ± 3 std from the true SCM parameter.
181
+ {11}------------------------------------------------
182
+ <span id="page-11-0"></span>![](_page_11_Figure_1.jpeg)
183
+ ![](_page_11_Figure_2.jpeg)
184
+ *Figure 5.* Figures displaying the effects of different agent's priors when using ML-DS (in orange) and without it (in blue). In all plots, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameter for µ<sup>Y</sup> . The left plot displays the agent's prior and posterior (predictive) belief of CATE, while the right one shows the impact of the agent's decisions on the downstream outcome Y . In a rather wide band is the posterior within 1 std of the true mean (gray area).
185
+ {12}------------------------------------------------
186
+ <span id="page-12-0"></span>![](_page_12_Figure_1.jpeg)
187
+ *Figure 6.* Figures displaying the effects of different agent's priors on the posterior (predictive) belief of CATE when using ML-DS (in orange) and without it (in blue). In all plots except those for NE, the x-axis represents the deviation of the agent's prior belief from the historical SCM's parameters. The plots pertain to the belief on treatment effect, NE, the belief about past treatment policy (µA), the belief about past outcomes (µ<sup>Y</sup> ) and the belief about past covariate distribution (µX). The gray areas represents the portions of the belief in which the true CATE is within one std from the CATE learned from ML-DS (orange band.
188
+ {13}------------------------------------------------
189
+ #### E. Derivations for plate model
190
+ We elaborate here on the strategy to reduce the plate with the help of sufficient statistics
191
+ #### <span id="page-13-0"></span>E.1. Plate model, agent's internal model
192
+ In this section we will show how an observation of the model parameter ϕ from the agent's internal model can be generated. This is needed to estimate the posterior distributions of the agent's beliefs using a sampling approach. As running inference through a plate-model can be both computationally expensive and numerically unstable, we chose to reformulate the plate using low-dimensional auxiliary variables.
193
+ We start from the SCM (fig. [2\)](#page-3-1) that defines the relation between the variables and we are interested in finding the lowdimensional auxiliary variables that define the regression coefficient ϕ of the model M. As we are using PyMC for inference – which does not have an implementation for the non-central χ 2 -distribution – all random variables (RVs) will be reformulated using zero-centered normally distributed RVs (standard normals where needed) and (central) χ <sup>2</sup> distributed RVs. Some of these RVs will be dependent and that dependence will be dealt with in section [E.2.](#page-15-0)
194
+ We are specifically looking for a low-dimensional representation of the plate and treat a sample of the plate parameters {αXµ, αXσ, αAµ, αAσ, αY µ, αY σ, NE} as given. The relevant parts of the SCM, reproduced here for the reader's convenience, are defined as
195
+ $$Y_{i} = a + bX_{i} + N_{E}A_{i} + N_{Y_{i}}$$
196
+ $$A_{i} = dX_{i} + N_{A_{i}}$$
197
+ $$X_{i} = N_{X_{i}}$$
198
+ $$\forall i \in [1, ..., n]$$
199
+ $$(1)$$
200
+ where n is the plate size, a, b, and d are constants and
201
+ <span id="page-13-4"></span>
202
+ $$N_{X_i} \sim \mathcal{N}(\alpha_{X\mu}, \alpha_{X\sigma}^2)$$
203
+ $$N_{A_i} \sim \mathcal{N}(\alpha_{A\mu}, \alpha_{A\sigma}^2)$$
204
+ $$N_{Y_i} \sim \mathcal{N}(\alpha_{Y\mu}, \alpha_{Y\sigma}^2).$$
205
+ (2)
206
+ We are modeling Y<sup>i</sup> without intercept as
207
+ <span id="page-13-3"></span>
208
+ $$Y_i \approx \phi X_i \tag{3}$$
209
+ and looking for the ordinary least-squares estimate of ϕ, that is
210
+ $$\min_{\phi} \left( \sum_{i} (Y_i - \phi X_i)^2 \right). \tag{4}$$
211
+ The least-squares estimate for this case has a well-known closed-form solution given by
212
+ <span id="page-13-5"></span><span id="page-13-1"></span>
213
+ $$\phi = \frac{\sum_{i} X_i Y_i}{\sum_{i} X_i^2}.$$
214
+ (5)
215
+ Our goal is to express this equation in terms of RVs that summarize the sums thus removing the need to sample the full plate n times. The denominator of this equation can be expressed as
216
+ $$\sum_{i} X_i^2 = \sum_{i} N_{X_i}^2 \tag{6}$$
217
+
218
+ $$\sum_{i} X_i^2 = \sum_{i} \alpha_{X\mu}^2 + 2\alpha_{X\mu}\alpha_{X\sigma}\epsilon_{X_i} + \alpha_{X\sigma}^2\epsilon_{X_i}^2$$
219
+ (7)
220
+ where
221
+ <span id="page-13-2"></span>
222
+ $$\epsilon_{X_i} \sim \mathcal{N}(0, 1).$$
223
+ (8)
224
+ {14}------------------------------------------------
225
+ The denominator of (5) rewritten in (7) consists of three parts:
226
+ $$S_1 = \sum_{i} \alpha_{X\mu}^2 \tag{9}$$
227
+ $$S_2 = \sum_{i} 2\alpha_{X\mu}\alpha_{X\sigma}\epsilon_{X_i} \tag{10}$$
228
+ $$S_3 = \sum_i \alpha_{X\sigma}^2 \epsilon_{X_i}^2 \tag{11}$$
229
+ where
230
+ $$S_1 = n\alpha_{X\mu}^2 \tag{12}$$
231
+ $$S_2 = 2\alpha_{X\mu}\alpha_{X\sigma} \sum_{i} \epsilon_{X_i} \tag{13}$$
232
+ $$S_3 = \alpha_{X\sigma}^2 \sum_i \epsilon_{X_i}^2. \tag{14}$$
233
+ Given one set of parameters for the equations in (2), we see that $S_1$ is a constant, $S_2 = 2\alpha_{X\mu}\alpha_{X\sigma}S_X$ where $S_X \sim \mathcal{N}(0,n)$ , and $S_3 \sim \alpha_{X\sigma}^2 Z_{S_3}$ where $Z_{S_3} \sim \chi^2(n)$ . Here $S_2$ is the first low-dimensional auxiliary variable we need. Note that $S_3$ is **dependent on** $S_2$ and this has to be dealt with separately (see section E.2).
234
+ Next we decompose the numerator of equation (5) in a similar way. First we replace the RVs by the definitions from (1)
235
+ $$\sum_{i} X_{i} Y_{i} = \sum_{i} \left[ a N_{X_{i}} + b N_{X_{i}}^{2} + d N_{E} N_{X_{i}}^{2} + N_{E} N_{A_{i}} N_{X_{i}} + N_{Y_{i}} N_{X_{i}} \right].$$
236
+ (15)
237
+ As we are actually interested in equation (5), we can divide this expression by $\sum_i N_{X_i}^2$ (equation (6)) to cancel out some factors and get
238
+ $$\phi = b + dN_E + \frac{a\sum_{i} N_{X_i} + N_E \sum_{i} N_{X_i} N_{A_i} + \sum_{i} N_{X_i} N_{Y_i}}{\sum_{i} X_i^2}$$
239
+ (16)
240
+ Remember that a, b, and d are constants. The denominator of the last term is equivalent to equation (7). We currently lack suitable expressions only for the numerator of the last term. The numerator consists of the three parts
241
+ $$S_4 = a \sum_i N_{X_i} \tag{17}$$
242
+ $$S_5 = N_E \sum_{i} N_{X_i} N_{A_i} \tag{18}$$
243
+ $$S_6 = \sum_i N_{X_i} N_{Y_i}. \tag{19}$$
244
+ $S_4$ can be expressed similarly to $S_2$ using $S_X$ , i.e. $S_4 = an\alpha_{X\mu} + a\alpha_{X\sigma}S_X$ . Both $S_5$ and $S_6$ are RVs following normal product distributions. We decompose $S_6$ as follows:
245
+ $$S_6 = \sum_{i} \left[ (\alpha_{X\mu} + \alpha_{X\sigma} \epsilon_{X_i})(\alpha_{Y\mu} + \alpha_{Y\sigma} \epsilon_{Y_i}) \right]$$
246
+ (20)
247
+ $$S_6 = \sum_{i} \left[ \alpha_{X\mu} \alpha_{Y\mu} + \alpha_{X\mu} \alpha_{Y\sigma} \epsilon_{Y_i} + \alpha_{Y\mu} \alpha_{X\sigma} \epsilon_{X_i} + \alpha_{X\sigma} \alpha_{Y\sigma} \epsilon_{X_i} \epsilon_{Y_i} \right]$$
248
+ (21)
249
+ $\Leftrightarrow$
250
+ $$S_6 = n\alpha_{X\mu}\alpha_{Y\mu} + \alpha_{X\mu}\alpha_{Y\sigma}S_Y + \alpha_{Y\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{Y\sigma}\sum_i \epsilon_{X_i}\epsilon_{Y_i}$$
251
+ (22)
252
+ where $\epsilon_{Y_i} \sim \mathcal{N}(0,1)$ and $S_Y \sim \mathcal{N}(0,n)$ . Note that $S_X$ and $S_Y$ are independent. We know that $\sum_i \epsilon_{X_i} \epsilon_{Y_i}$ follows a normal product distribution that is dependent on both $S_X$ and $S_Y$ and deal with this dependence in section E.2 below.
253
+ {15}------------------------------------------------
254
+ Following an almost identical derivation, we express
255
+ $$S_5 = N_E \left[ n\alpha_{X\mu}\alpha_{A\mu} + \alpha_{X\mu}\alpha_{A\sigma}S_A + \alpha_{A\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{A\sigma}\sum_i \epsilon_{X_i}\epsilon_{A_i} \right]$$
256
+ (23)
257
+ where
258
+ E.2. Separating dependent and independent parts
259
+ It can be shown that
260
+ and sums of squares.
261
+ It can be shown that
262
+ where $U_{XA} \sim \chi^2(n-1)$ and $V_{XA} \sim \chi^2(n-1)$ .
263
+ $\epsilon_{A_i} \sim \mathcal{N}(0,1)$
264
+ $$\epsilon_{A_i} \sim \mathcal{N}(0, 1)$$
265
+ (24)
266
+ $S_A \sim \mathcal{N}(0, n)$ . (25)
267
+ # (24)
268
+ # <span id="page-15-0"></span>Cochran's theorem tells us that we can in certain situations separate the dependent and independent parts of sums of products
269
+ # <span id="page-15-1"></span> $S_7 = \sum_{i} \epsilon_{X_i}^2 = \sum_{i} (\epsilon_{X_i} - \bar{\epsilon_X})^2 - \frac{(\sum_{i} \epsilon_{X_i})^2}{n}$ (26)
270
+ where $\epsilon_{X_i} \sim \mathcal{N}(0,1)$ and $\epsilon_X^-$ is the sample average, and that $\sum_i (\epsilon_{X_i} - \epsilon_X^-)^2$ is independent of $\frac{(\sum_i \epsilon_{X_i})^2}{n}$ . The first term is a sum of squares of a normal and follows a $\chi^2$ -distribution with n-1 degrees of freedom, i.e. $\sum_i (\epsilon_{X_i} - \epsilon_X^-)^2 = Z_{XX}$ where $Z_{XX} \sim \chi^2(n-1)$ . The second term is the square of the sum, where the sum is over an RV that is normally distributed. This second term in equation (26) is $\frac{\left(\sum_{i} \epsilon_{X_{i}}\right)^{2}}{n} = \frac{S_{X}^{2}}{n}$ .
271
+ ## E.2.2. DEPENDENCE OF SUM OF NORMAL PRODUCT AND SUM OF NORMALS
272
+ E.2.1. DEPENDENCE OF SUM OF SQUARES AND (SQUARE OF) SUM
273
+ <span id="page-15-2"></span>
274
+ $$S_8 = \sum_i \epsilon_{X_i} \epsilon_{Y_i} = n \bar{\epsilon_X} \bar{\epsilon_Y} + \sum_i (\epsilon_{X_i} - \bar{\epsilon_X}) (\epsilon_{Y_i} - \bar{\epsilon_Y})$$
275
+ (27)
276
+ where bar denotes sample average so that $\bar{\epsilon_X} = \frac{\sum_i \epsilon_{X_i}}{n}$ and $\bar{\epsilon_Y} = \frac{\sum_i \epsilon_{Y_i}}{n}$ .
277
+ The first term of equation (27) can be written with familiar quantities as $\bar{\epsilon_X} = \frac{S_X}{n}$ and $\bar{\epsilon_Y} = \frac{S_Y}{n}$ resulting in $n\bar{\epsilon_X}\bar{\epsilon_Y} = \frac{S_XS_Y}{n}$ . The second part requires more deliberation. $\sum_i (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y})$ is clearly a sum of an RV that follows a normal product distribution. To facilitate sampling, we rewrite this as
278
+ $$\sum (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y}) = \frac{1}{4} \sum (\epsilon_{X_i} - \bar{\epsilon_X} + \epsilon_{Y_i} - \bar{\epsilon_Y})^2 + \frac{1}{4} \sum (\epsilon_{X_i} - \bar{\epsilon_X} - \epsilon_{Y_i} + \bar{\epsilon_Y})^2.$$
279
+ (28)
280
+ Both terms (sums of squares) in the right-hand side of this equation are sums of squared normals which are $\chi^2$ -distributed with n-1 degrees of freedom. Hence
281
+ $$\sum (\epsilon_{X_i} - \bar{\epsilon_X})(\epsilon_{Y_i} - \bar{\epsilon_Y}) = \frac{1}{4}(2U_{XY} - 2V_{XY})$$
282
+ (29)
283
+ where $U_{XY} \sim \chi^2(n-1)$ and $V_{XY} \sim \chi^2(n-1)$ and these are independent.
284
+ Following the same pattern, it can be shown that
285
+ $$S_9 = \sum_{i} \epsilon_{X_i} \epsilon_{A_i} = \frac{S_X S_A}{n} + \frac{1}{2} (U_{XA} - V_{XA})$$
286
+ (30)
287
+ {16}------------------------------------------------
288
+ #### E.3. Putting it all together
289
+ To generate one observation of ϕ from the agent's internal model, sample αXµ, αXσ, αY µ, αY σ, αAµ, αAσ, and NE. Then sample one observation for
290
+ $$S_X \sim \mathcal{N}(0, n) \tag{31}$$
291
+ $$S_Y \sim \mathcal{N}(0, n) \tag{32}$$
292
+ $$S_A \sim \mathcal{N}(0, n) \tag{33}$$
293
+ $$Z_{XX} \sim \chi^2(n-1) \tag{34}$$
294
+ $$U_{XY} \sim \chi^2(n-1) \tag{35}$$
295
+ $$V_{XY} \sim \chi^2(n-1) \tag{36}$$
296
+ $$U_{XA} \sim \chi^2(n-1) \tag{37}$$
297
+ $$V_{XA} \sim \chi^2(n-1). \tag{38}$$
298
+ Insert the sampled values to calculate
299
+ $$S_9 = \frac{S_X S_A}{n} + \frac{1}{2} (U_{XA} - V_{XA}) \tag{39}$$
300
+ $$S_8 = \frac{S_X S_Y}{n} + \frac{1}{2} (U_{XY} - V_{XY}) \tag{40}$$
301
+ $$S_7 = Z_{XX} - \frac{S_X^2}{n} \tag{41}$$
302
+ $$S_6 = n\alpha_{X\mu}\alpha_{Y\mu} + \alpha_{X\mu}\alpha_{Y\sigma}S_Y + \alpha_{Y\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{Y\sigma}S_8 \tag{42}$$
303
+ $$S_5 = N_E \left( n\alpha_{X\mu}\alpha_{A\mu} + \alpha_{X\mu}\alpha_{A\sigma}S_A + \alpha_{A\mu}\alpha_{X\sigma}S_X + \alpha_{X\sigma}\alpha_{A\sigma}S_9 \right) \tag{43}$$
304
+ $$S_4 = an\alpha_{X\mu} + a\alpha_{X\sigma}S_X \tag{44}$$
305
+ $$S_3 = \alpha_{X\sigma}^2 S_7 \tag{45}$$
306
+ $$S_2 = 2\alpha_{X\mu}\alpha_{X\sigma}S_X \tag{46}$$
307
+ $$S_1 = n\alpha_{X\mu}^2. (47)$$
308
+ With these, we can finally generate one observation from the distribution of ϕ:
309
+ $$\phi = b + dN_E + \frac{S_4 + S_5 + S_6}{S_1 + S_2 + S_3}. (48)$$