Docsity

Fixation Patterns in Simple Choice: An Analysis of Optimal Attention Allocation, Study Guides, Projects, Research of Psychology

Toggle sidebar
bg1
Fixation patterns in simple choice are consistent with
optimal use of cognitive resources
Frederick Callaway Antonio Rangel Thomas L. Griffiths
May 18, 2020
Abstract
Even when choosing among a small set of alternatives, people don’t perfectly evaluate every option. Instead,
decisions seem to be made on the basis of sequentially accumulated, noisy evidence. Previous research has
suggested that the accumulation process is modulated by visual attention such that evidence accumulates more
rapidly for attended items. But what guides attention itself? To answer this question, we formalize fixations
as a costly cognitive resource that a decision maker can dynamically allocate to evaluate her options before
making a choice. We then approximate the optimal policy for allocating attention in the model, finding that
fixations are drawn to options whose value estimates are both high and uncertain. Comparing model predictions
to human fixation patterns in existing binary and trinary choice datasets, we find that the model accounts for
many previously identified effects and we also confirm several novel predictions. Together, our results suggest
that the evolving state of the decision process influences the fixation process in a way that is consistent with the
optimal use of limited cognitive resources.
Introduction
Consider the problem faced by a diner at a buffet table
or a shopper at a supermarket shelf. In both cases, she
must make a decision: which of the available alterna-
tives is most desirable? One way to make this decision
is to evaluate each item separately and then choose the
best one. However, she can’t evaluate all the options si-
multaneously. Instead, she shifts her gaze between the
alternatives, directing her limited attentional resources
to one item at a time until she is ready to make a selec-
tion. This behavior has motivated a basic question in
decision science: What is the role of visual attention in
simple choice?
Studies in psychology, economics, and neuroscience
have provided useful insights into this question [1]. In
choices involving many options, only a subset of items
are fixated and only fixated items are chosen, a phe-
nomenon captured by two-stage consideration set mod-
els [2–6]. Among the attended items, those that are
fixated longer are more likely to be chosen [7–14], un-
less the items are aversive, in which case more-attended
items are chosen less frequently [8, 15]. This phe-
nomenon has been captured by the Attentional Drift
Diffusion Model (aDDM), in which decisions are based
on sequentially accumulated evidence, with more rapid
accumulation for the attended item [10, 11, 14]. In more
complex multi-attribute choices, it has been suggested
that attention influences choices by affecting the rela-
tive weight of each feature on which the items can be
evaluated [5, 16–23].
Despite this progress in understanding the effects at-
tention has on decision making, less is known about the
factors that drive attention itself as we make decisions.
Most previous models have assumed that attention in-
fluences the decision making process, but not vice versa;
in this case, attention may be either completely random
(e.g., 16, 24), or influenced by the items’ features, such
as spatial location, visual saliency, and subjective value
(e.g., 10, 11, 25–27). Alternatively, the fixation and de-
cision processes could have reciprocal interactions [7].
In particular, two recent models have proposed that fix-
ations are driven by either the evolving value estimates
[28] or the uncertainty in those estimates [29]. However,
it is not clear how these two factors might interact. Ad-
ditionally, in contrast to the substantial body work on
optimal stopping rules for perceptual and value-based
choice [30–34], there has been almost no analysis of how
a decision maker should allocate her attention.
To address this open question, we propose a model of
simple choice in which attention is explicitly formalized
as a limited cognitive resource that a decision maker de-
ploys in order to optimally trade off between the qual-
ity of a decision and the cognitive cost of making that
decision. Our model assumes that the decision maker
estimates the value of each item in the choice set based
on a sequence of noisy samples of the items’ true values.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download Fixation Patterns in Simple Choice: An Analysis of Optimal Attention Allocation and more Study Guides, Projects, Research Psychology in PDF only on Docsity!

Fixation patterns in simple choice are consistent with

optimal use of cognitive resources

Frederick Callaway Antonio Rangel Thomas L. Griffiths

May 18, 2020

Abstract

Even when choosing among a small set of alternatives, people don’t perfectly evaluate every option. Instead, decisions seem to be made on the basis of sequentially accumulated, noisy evidence. Previous research has suggested that the accumulation process is modulated by visual attention such that evidence accumulates more rapidly for attended items. But what guides attention itself? To answer this question, we formalize fixations as a costly cognitive resource that a decision maker can dynamically allocate to evaluate her options before making a choice. We then approximate the optimal policy for allocating attention in the model, finding that fixations are drawn to options whose value estimates are both high and uncertain. Comparing model predictions to human fixation patterns in existing binary and trinary choice datasets, we find that the model accounts for many previously identified effects and we also confirm several novel predictions. Together, our results suggest that the evolving state of the decision process influences the fixation process in a way that is consistent with the optimal use of limited cognitive resources.

Introduction

Consider the problem faced by a diner at a buffet table or a shopper at a supermarket shelf. In both cases, she must make a decision: which of the available alterna- tives is most desirable? One way to make this decision is to evaluate each item separately and then choose the best one. However, she can’t evaluate all the options si- multaneously. Instead, she shifts her gaze between the alternatives, directing her limited attentional resources to one item at a time until she is ready to make a selec- tion. This behavior has motivated a basic question in decision science: What is the role of visual attention in simple choice? Studies in psychology, economics, and neuroscience have provided useful insights into this question [1]. In choices involving many options, only a subset of items are fixated and only fixated items are chosen, a phe- nomenon captured by two-stage consideration set mod- els [2–6]. Among the attended items, those that are fixated longer are more likely to be chosen [7–14], un- less the items are aversive, in which case more-attended items are chosen less frequently [8, 15]. This phe- nomenon has been captured by the Attentional Drift Diffusion Model (aDDM), in which decisions are based on sequentially accumulated evidence, with more rapid accumulation for the attended item [10, 11, 14]. In more complex multi-attribute choices, it has been suggested that attention influences choices by affecting the rela-

tive weight of each feature on which the items can be evaluated [5, 16–23]. Despite this progress in understanding the effects at- tention has on decision making, less is known about the factors that drive attention itself as we make decisions. Most previous models have assumed that attention in- fluences the decision making process, but not vice versa; in this case, attention may be either completely random (e.g., 16, 24), or influenced by the items’ features, such as spatial location, visual saliency, and subjective value (e.g., 10, 11, 25–27). Alternatively, the fixation and de- cision processes could have reciprocal interactions [7]. In particular, two recent models have proposed that fix- ations are driven by either the evolving value estimates [28] or the uncertainty in those estimates [29]. However, it is not clear how these two factors might interact. Ad- ditionally, in contrast to the substantial body work on optimal stopping rules for perceptual and value-based choice [30–34], there has been almost no analysis of how a decision maker should allocate her attention. To address this open question, we propose a model of simple choice in which attention is explicitly formalized as a limited cognitive resource that a decision maker de- ploys in order to optimally trade off between the qual- ity of a decision and the cognitive cost of making that decision. Our model assumes that the decision maker estimates the value of each item in the choice set based on a sequence of noisy samples of the items’ true values.

We additionally assume that these samples can only be obtained from the attended item, and that it is costly to take samples and to switch attention between the items. This sets up a sequential decision problem: at each mo- ment the decision maker must decide whether to keep sampling, and if so, which item to sample from. Ap- plying tools from artificial intelligence—in particular, rational metareasoning [35]—we can then characterize optimal attention allocation as the solution to this se- quential decision problem. Under the assumption that eye gaze tracks attention in simple choice tasks [36], we compare the optimal at- tention allocation policy to human fixation patterns in existing binary and trinary choice datasets. We find that the model captures many previously identified pat- terns in the fixation data, including the effects of pre- vious fixation time [29] and item value [26, 28]. In ad- dition, the model makes several novel predictions that are confirmed by the data, in particular, capturing dif- ferences in fixation durations and the effect of value in binary vs. trinary choice. Interestingly, the model pre- dicts many of the classic effects of attention on choice [10, 11] in the trinary case, but not in the binary case. Overall, our results show that the evolving state of the decision-making process influences the fixation process in an approximately adaptive manner. More broadly, our results provide additional support for a burgeoning approach to understanding human cognition based on the idea that people make optimal use of their limited cognitive resources [37–45].

Model

We consider simple choice problems in which a deci- sion maker (DM) is presented with a set of items (e.g. snacks) and must choose one. Each item, i, is associated with some true but unknown value, u(i), the utility that the DM would gain by choosing it. Following previous work [33, 34, 46], we assume that the DM informs her choice by collecting noisy samples of the items’ true val- ues, each providing a small amount of information, but incurring a small cost. The DM integrates the samples into posterior beliefs about each item’s value, choosing the item with maximal posterior mean when she termi- nates the sampling process. As illustrated in Fig. 1, we model attention by as- suming that the DM can only sample from one item at each time point, the item she is fixating on. This sets up a fundamental problem: How should she allocate at- tention in order to make good decisions without incur- ring too much cost? Specifically, at each time point, the DM must decide whether to select an option or continue sampling, and in the latter case, she must also decide

which item to sample from. Importantly, she cannot simply allocate her attention to the highest value item because she does not know the true values. Rather, she must decide which item to attend to based on her current value estimates and their uncertainty. The DM’s posterior belief about the item values at time t is described by a set of Gaussians, one for each item, with means μ( t i)and precisions λ( ti )(the precision is the inverse of the variance, σ^2 ). The true utilities shown to the DM are sampled independently from a standard Gaussian. The DM’s prior reflects this: the initial belief state is μ( 0 i ) = 0 and λ( 0 i )= 1 for all i. We model the control of attention as the selection of computations, ct, that specify either an item to sample, or the termination of sampling. If the DM wishes to sample from item c at time-step t, she selects ct = c and receives a signal

xt ∼ Gaussian(u(c), σ^2 x),

where u(c)^ is the unknown true value of the item be- ing sampled, and σ x^2 is a free parameter specifying the amount of noise in each signal. The belief state is then updated in accordance with Bayesian inference:

λ( tc+1) = λ( tc )+ σ− x^2

μ( tc+1) = σ− x 2 xt + λ( tc )μ( tc) λ( tc+1) λ (i) t+1 =^ λ

(i) t and^ μ

(i) t+1 =^ μ

(i) t for^ i^6 =^ c.

The cognitive cost of this entire procedure (sampling and belief updating) is given by a free parameter, γsample. We additionally impose a switching cost, γswitch, that the DM incurs whenever she samples from an item other than the one sampled on the last timestep (i.e. makes a saccade to a new item). Thus,

cost(ct) = γsample + 1 (ct 6 = ct− 1 ) γswitch. (2)

In addition to choosing an item to sample, the DM can also decide to stop sampling and choose the item with the highest expected value. In this case, she selects ct = ⊥. It follows that if the choice is made at time step T (i.e., cT = ⊥) the chosen item is i∗^ = arg maxi μ( Ti ). The DM’s total payoff on a single decision is measured by the difference between the two:

payoff = u(i

∗) ︸︷︷︸ utility of chosen item

T∑ − 1

t=

cost(ct). ︸ ︷︷ ︸ computational cost

A

B

Figure 2: Optimal attention allocation. (A) The proba- bility of the optimal policy sampling an item as a func- tion of the precision of its estimate and the difference of its estimated value from the competing item(s) in the case of binary (left) and trinary (right) choice. Note the vertical asymmetry in the trinary case, which in- dicates a tendency to fixate on items with higher esti- mated value. (B) Illustration of the value of sampling. Each panel shows a belief state for trinary choice. The curves show the probability density of each item’s value and the area of the shaded regions show the probability that the item’s true value is better than the current lead- ing value estimate. This probability correlates strongly with the value of sampling the item because sampling is only valuable if it changes the choice. In each case, it is more valuable to sample the orange item than the purple item because either (top) its value is more un- certain, or (bottom) its value is closer to the leading value.

Model fitting

The model has four free parameters: the standard de- viation of the sampling distribution, σx, the cost per sample, γsample, the cost of switching attention, γswitch, and the inverse temperature of the Boltzmann policy, β. This last parameter controls the degree of noise in the decisions about where to fixate (see Methods for details). We use maximum likelihood to fit these pa- rameters to choice and fixation data from two existing datasets. Importantly, we estimate the parameters us- ing only the even trials, and then simulate the model

in odd trials in order to compare the model predictions with the observed patterns out-of-sample. MLE param- eter estimates and out-of-sample likelihoods are given in Table 1. See Methods for details.

Results

We apply the model to two simple choice datasets with eye tracking measures: a binary food choice task [10] and a trinary food choice task [11]. In each study, par-

A

-4 -2 0 2 4 Left rating - right rating

P(left chosen)

-4 -2 0 2 4 Left rating - mean other rating

B

0 1000 2000 3000 4000 5000 6000 Total fixation time [ms]

Density

0 1000 2000 3000 4000 5000 6000 Total fixation time [ms]

C

0 2 4 6 Best rating - worst rating

1000

1500

2000

2500

3000

Total fixation time [ms] 0 2 4 6 Best rating - mean other rating

1000

1500

2000

2500

3000

Figure 3: Basic psychometrics. Each panel compares human data (black) and model predictions (red) for two- (left, two-dots) and three-items (right, three-dots). Er- ror bars (human) and shaded regions (model) indicate 95% confidence intervals computed by 10,000 bootstrap samples (the model confidence intervals are often too small to be visible). Each light red line shows the predic- tions from one out of the thirty best-fitting parameter configurations. The dark red line shows the aggregated (mean) prediction. (A) Choice probability as a function of relative rating. (B) Kernel density estimation for the distribution of total fixation time. (C) Total fixation time as a function of the relative rating of the highest rated item.

ticipants first provided liking ratings for a large number of snack items on a -10 to 10 scale. They then made 100 choices among items that they had rated positively. Importantly, since the model can be applied to N-item choices, we fit a common set of parameters jointly to both datasets. Thus, any differences in model predic- tions between binary and trinary choices are a priori predictions resulting from the structure of the model, and not differences in the parameters used to explain the two types of choices.

Basic psychometrics

We begin by looking at basic psychometric patterns. Fig. 3A compares the choice curves predicted by the model with the actual observed choices, separately for the case of binary and trinary choice. It shows that the model captures well the influence of the items’ true values (as measured by liking ratings) on choice. This follows from the fact that, when sampling stops, the decision maker chooses the option with the highest pos- terior mean, which is likely to be higher for items with a larger true value. Fig. 3B plots the distribution of total fixation times. This measure is similar to reaction time except that it excludes time not spent fixating on one of the items^1. Our model assumes that each sample takes 100 ms to acquire. Thus, the predicted total fixation time is 100ms times the number of samples taken. Note that this as- sumption is not critical: changing the assumed sample duration would lead to slightly different parameter fits, but does not change the qualitative predictions of the model. As shown in the figure, the model provides a reasonable qualitative account of the distributions, al- though it underpredicts the mode in the case of two items and the skew in the case of three items. Fig. 3C shows the relationship between total fixation time and trial difficulty, as measured by the relative liking ratings of the best item. We find that the model provides a reasonable account of how total fixation time changes with difficulty, but that it exhibits considerable variation in its predictions, and underpredicts the mean for two items. The intuition for how the model explains this pattern is as follows. The model stops sampling when it is sufficiently certain that one item is better than the others, or that the top two items are close in value. The former case typically occurs quickly when one item is much better than the others. The latter case occurs when items are similar in value, and is al- ways slow to occur because determining that a difference

(^1) We use total fixation time instead of reaction time because the model does not account for the time spent saccading between items (although it does account for the opportunity cost of that time, through the γsample parameter).

is small requires more precise estimates than detecting that it is large.

Basic fixation properties

We next compare the predicted and observed fixation patterns, beginning with basic predictions about the number and duration of fixations. An observed “fix- ation” refers to a contiguous span of time in which a participant was looking to a single item. A model fixa- tion refers to continuous samples taken from one item, with duration equal to 100ms times the number of sam- ples. Fig. 4A shows the distribution of the number of fix- ations across trials. We find that the model-predicted distribution is reasonably similar to the observed data. However, in the two-item case, the model is more likely to make only one fixation, perhaps suggesting that peo- ple have a tendency to fixate both items at least once that the model does not capture. Fig. 4B shows the

A

1 5 10 Number of fixations

Proportion of trials

1 5 10 Number of fixations

B

0 2 4 6 Best rating - worst rating

3

4

5

6

7

Number of fixations 0 2 4 6 Best rating - mean other rating

3

4

5

6

7

C

1 2 3 4 5 >5 final Fixation number

250

500

750

1000

1250

Fixation duration [ms] 1 2 3 4 5 >5 final Fixation number

250

500

750

1000

1250

Figure 4: Basic fixation properties. (A) Histogram of number of fixations in a trial. (B) Number of fixations as a function of the relative rating of the highest rated item. (C) Duration of fixation by fixation number. Fi- nal fixations are excluded from all but the last bin.

A

-5.0 -2.5 0.0 2.5 5. Left rating - right rating

Proportion fixate left -5.0 -2.5 0.0 2.5 5. Left rating - mean other rating

B

0.0 2.5 5.0 7.5 10. First fixated item rating

200

300

400

500

600

700

First fixation duration [ms] 0.0 2.5 5.0 7.5 10. First fixated item rating

200

300

400

500

600

700

C

0 500 1000 1500 2000 Cumulative fixation time [ms]

P(fixate worst)

0 500 1000 1500 2000 Cumulative fixation time [ms]

D

-6 -4 -2 0 2 4 6 Rating of first minus second fixated item

P(4th fixation is refixation

to first fixated item)

E

2 4 6 8 10 Rating of first fixated item

P(third fixation is refixation

to first fixated item)

Figure 6: Value-directed attention. (A) Proportion of time fixating the left item as a function of its relative rating. (B) First fixation duration as a function of the rating of the first-fixated item. (C) Probability of fixating the lowest rated item as a function of the cumulative fixation time to any of the items. (D) Probability that the fourth fixation is to the first-fixated item as a function of the difference in rating between that item and the second-fixated item. (E) Probability that the third fixation is to the first fixated item as a function of its rating.

likely to be fixated, the probability of fixating it is a non-monotonic function of the relative fixation time. This effect holds in the model predictions and human data, although the model predicts a much earlier turn- ing point. How does this pattern emerge? As we show below, items with high estimated value are fixated more. Thus, an item that has been fixated much less than the others is likely to have a lower estimated value, and is therefore less likely to receive more fixations.

Value-directed attention

A second key driver of attention in the model is esti- mated value. Specifically, it predicts that attention is directed to the two items with highest posterior means. As illustrated in Fig. 2, this results in a stark difference in predictions for the two- and three-item cases: the choice of where to fixate should be influenced by the relative value estimates in binary choice, but not in tri- nary choice. Although we cannot directly measure the participants’ value estimates, we can use their provided item ratings as a proxy because higher-rated items will generally receive higher value estimates. Fig. 6A shows the proportion of fixation time devoted to the left item as a function of its relative value. Fo- cusing first on the three-item case, both the model and data show a strong tendency to spend more time fix- ating on higher rated items (which are therefore likely to have higher estimated values). In the two-item case,

the model predicts no effect, while participants show a significant but weaker effect. This pattern could be driven in part by the tendency to fixate the chosen item last (Fig. 7A). To gain fur- ther insight, we can focus on the first fixation, which is very rarely the final one. Fig. 6B shows the dura- tion of the first fixation as a function of the rating of the first fixated item. In the three-item case, both the model and data show longer initial fixations to high- value items, although the model systematically under- predicts the mean fixation duration. This prediction follows from the fact that the model tends to terminate a fixation when the fixated item’s estimated value falls out of the top two (below zero for the first fixation). The higher the true value of the item, the less likely this is to happen. In the two-item case, however, the model predicts that attention should be largely insensi- tive to estimated value.^2 Consistent with this prediction, humans show little evidence for longer first fixations to high-rated items. Previous work has suggested that attention may be directly influenced by the true value of the items [25, 26, 51]. In our model, however, attention is driven only by the internal value estimates generated during the decision making process. To distinguish between (^2) The model actually predicts that highly valuable items receive slightly shorter fixations because these items are more likely to generate extremely positive samples that result in terminating the first fixation and choosing that item.

these two accounts, we need a way to dissociate esti- mated value from true value. One way to do this is by looking at the time course of attention. Early in the decision making process, estimated values will be only weakly related to true value. However, with time the value estimates become increasingly accurate and will thus more closely correlate with true value. Thus, if the decision maker always attends to the items with high estimated value, she should be increasingly likely to attend to items with high true value as the trial pro- gresses. Fig. 6C shows the probability of fixating on the worst item as a function of the cumulative fixation time to any of the items. In both the two- and three-item cases, the probability begins near chance. In the three- item case, however, the probability quickly falls. This is consistent with a model in which attention is driven by estimated value rather than value itself. Interestingly, while the model predicts no effect of time on fixation probability for two-items, the data shows a small but reliable tendency to avoid the worst item, suggesting a small influence of value-directed attention even when it is not optimal. The model makes even starker predictions in the three-item case. First, take all trials in which the deci- sion maker samples from all the available items during the first three fixations. Consider the choice of where to deploy the fourth fixation. The model predicts that this fixation should be to the first-fixated item if its posterior mean is larger than that of the second-fixated item, and vice versa. As a result, the probability that the fourth fixation is a refixation to the first-fixated item should increase with the difference in ratings between the first- and second-fixated items. As shown in Fig. 6D, the ob- served pattern follows the model prediction. Finally, the model makes a striking prediction regard- ing the location of the third fixation. Consider the choice of where to fixate after the first two fixations. The decision maker can choose to fixate the last item, which she has not seen yet, or to refixate the first-fixated item. The model predicts a refixation to the first-seen item if both that item and the second-seen item already have high value estimates (leaving the unfixated item with the lowest value estimate). Consistent with this prediction, Fig. 6E shows that the probability of the third fixation being a refixation to the first-seen item increases with that item’s rating.

Choice Biases

Previous work has found a systematic positive effect of fixation time on valuation and choice for appetitive (i.e., positively valenced) items [7, 8, 10, 11, 15]. These ef- fects have previously been explained by the Attentional Drift Diffusion Model (aDDM) in which fixations am-

plify the value of the most-seen items relative to the other options. Here, we investigate whether our model can predict these biases through an alternative mecha- nism. First, Fig. 7A shows that there is a sizable choice bias towards the last-seen item in both datasets, as evi- denced by the greater-than-chance probability of choos- ing an item whose value is equal to the mean of the other items. The model accounts for this pattern in tri- nary choice, but contrary to the data, it predicts no bias in binary choice. The intuition for this difference is as follows. With three items, the fact that the last item is being fixated implies that its posterior mean is among the top two, which means that the probability that it will be chosen exceeds the baseline of 1/3. In contrast, in the binary case, the fact that an item is being fixated is unrelated to its posterior mean, since fixations are driven only by the relative precision of the posteriors.

A

-5.0 -2.5 0.0 2.5 5. Last fixated rating - other rating

P(last fixated item chosen) -5.0 -2.5 0.0 2.5 5. Last fixated rating - mean other

B

-1500 -1000 -500 0 500 1000 Final time advantage left [ms]

P(left chosen)

-1500 -1000 -500 0 500 1000 Final time advantage left [ms]

C

250 500 750 1000 1250 First fixation duration [ms]

P(first fixated chosen) 250 500 750 1000 1250 First fixation duration [ms]

Figure 7: Choice biases. (A) Probability that the last fixated item is chosen as a function of its relative rating. (B) Probability that the left item is chosen as a function of its final fixation advantage. (C) Probability of choos- ing the first-seen item as a function of the first-fixation duration.

Table 1: Model fitting results. Each entry gives the mean and standard deviation of a parameter value or the log likelihood on the held out test set among the thirty best-fitting parameter configurations for the given model.

Model σx γsample γswitch β pswitch pstop Log Likelihood

Full Model 2.78 0.26 0.0052 0.0008 0.013 0.003 266 96 -19003 36

Random Fixations 3.12 0.32 0.0072 0.0005 300 119 0.204 0.010 -19896 11

causes and effects of this potential deviation from op- timal attention allocation is an important direction for future research.

Importantly, as in the aDDM [10, 11], our model assumes that fixations causally affect value estimates. Thus, our model also predicts that exogenous manipu- lations of the fixation process will affect choices. Specif- ically, inducing fixations to an item will push value esti- mates away from the prior mean and towards the item’s true value. The item will thus be chosen more often if its true value is above the prior mean and vice versa. However, because our model assumes an unbiased prior, this attentional effect will generally be washed out when averaging over many decisions. Furthermore, the op- timal model predicts that experimentally manipulat- ing attention will be challenging because the DM will attempt to counteract an artificially imposed fixation asymmetry, perhaps using covert attention. This pro- vides another possible explanation for the relatively weaker choice biases under experimentally manipulated fixations [8, 13, 60].

The model makes several simplifying assumptions that limit its predictive and explanatory power. First, it assumes that only the fixated item can be sam- pled, even though the other items are available in per- pipheral vision and perhaps working memory. In con- trast, previous results suggest that the value of non- fixated items can affect the decision process, once they are seen [10, 11]. Second, the model assumes that the fixation process exhibits no spatial biases, even though most experiment participants exhibit such a pattern. Third, it assumes that information accrues at a constant rate, although it is likely that initial fixations, which identify the items, are more informative. Fourth, the model assumes an unbiased prior and is thus insensitive to global changes in the values of items in an experi- ment, despite empirical evidence that attention has a differential effect on valuation and choice for appetitive vs. aversive items [8, 15]. Relaxing this assumption could help explain some of the attentional choice bi- ases in the two-item case. Fifth, our approximation to the optimal policy itself relies on intensive computation; the model thus approximates bounded optimality with metalevel rationality [61] and it does not provide a re-

alistic mechanism by which the brain might decide how to allocate attention. Finally, the aforementioned com- putational complexity makes full likelihood evaluation and model comparison intractable. Building more real- istic versions of the model that relax these assumptions is an important direction for future work. From a wider perspective, our model speaks to a decades-long debate on the rationality of human deci- sion making. With classical models based on optimiza- tion and utility maximization failing to capture system- atic patterns in human choice behavior, recent models instead emphasize cognitive processes such as attention and the accumulation of noisy value signals. The model proposed here provides a synthesis of these perspectives, by treating the cognitive process of attention as some- thing that can itself be optimal. We hope that this approach will be valuable in working towards a more unified understanding of human decision making.

Methods

The model was implemented in the Julia pro- gramming language [62]. The data and code are available at https://github.com/fredcallaway/ optimal-fixations-simple-choice.

Attention allocation as a metalevel

Markov decision process

To characterize optimal attention allocation in our model, we cast the model as a metalevel Markov deci- sion process [metalevel MDP, ref. 48]. Like a standard MDP, a metalevel MDP is defined by a set of states, a set of actions, a transition function giving the probabil- ity of moving to each state by executing a given action in a given state, and a reward function giving the im- mediate utility gained by executing a given action in a given state. In a metalevel MDP, the states, B, cor- respond to beliefs (mental states), and the actions, C, correspond to computations (cognitive operations). In our model, a belief state, b ∈ B, corresponds to a set of posterior distributions over each item’s value. Because the distributions are Gaussian, the belief can

be represented by the means and precisions of each dis- tribution. To model the switching cost, the belief state must also encode the currently attended item, i.e., the item sampled last (taking a null value in the initial belief). The dimensionality of the belief state is thus 2 N + 1 where N is the number of items. A computa- tion, c ∈ C, corresponds to sampling an item’s value and updating the corresponding distribution. There are N such computations, one for each item. Additionally, all metalevel MDPs have a special computation, ⊥, that terminates the computation process (in our case, sam- pling) and selects an optimal external action (in our case, choosing one of the items) given the current belief state. We use bT to denote the final belief state, i.e., the one from which ⊥ is executed.

The metalevel transition function describes how com- putations update beliefs. In our model, this corresponds to the sampling and belief updating procedure specified in Equation 1. Finally, the metalevel reward function incorporates both the cost of computation and the util- ity of the chosen action. The cost of computation is given by R(bt, ct) = −(γsample + 1 (ct 6 = ct− 1 ) γswitch). The action utility is the true value of the chosen item, i.e., u(i

∗) T where^ i

∗ (^) = arg max i μ

(i) T.^ The metalevel re- ward for the termination computation, ⊥, is the expec- tation of this value. Because we assume accurate priors and Bayesian belief updating, this expectation can be taken with respect to the agent’s own beliefs [48], re-

sulting in R(bT , ⊥) = maxi μ( Ti ).

Optimal metalevel policy

The solution to a metalevel MDP takes the form of a Markov policy, π, that stochastically selects which com- putation to take next given the current belief state. For- mally, ct ∼ π(bt). The optimal metalevel policy, π∗, is the one that maximizes expected total metalevel re- ward, which includes both external utility and compu- tational cost. Equivalently, at each time step it selects the computation that maximizes the value of computa- tion [VOC, ref. 35], which is defined as the expected increase in total metalevel reward if one executes a sin- gle computation and continues optimally rather than making a choice immediately. In our model, the total metalevel reward for one decision is the expected value of the chosen item minus the cost of every computation taken. Thus, the VOC is the expected improvement in the value of the chosen item that results from a sequence of computations, minus the cost of those computations.

Formally, we define

π∗(b) ∼ Uniform(arg max c VOC(b, c))

VOC(bt, ct) = Eπ∗

[

max i μ( Ti )−

T∑ −t

k=

cost(ct+k)

]

− max i μ( ti)

where the expectation assumes that all future compu- tations are selected by π∗. For those familiar with re- inforcement learning, this recursive definition is analo- gous to the joint definition of the optimal policy with the state-action value function, Q [63]. Indeed, VOC(b, c) = Q(b, c) − R(b, ⊥). Finally, by definition, VOC(b, ⊥) = 0 for all b. Thus, the optimal policy terminates sampling when no computation has a positive VOC.

Approximating the optimal policy

For small discrete belief spaces, the optimal metalevel policy can be computed exactly using standard dynamic programming methods such as value iteration or back- wards induction [64]. This approach can also be applied to low-dimensional continuous belief spaces by first dis- cretizing the space on a grid [34]. Unfortunately, these methods are infeasible here, since the belief space has several continuous dimensions. Instead, we approxi- mate the optimal policy by extending the method pro- posed in [49]. This method is based on an approxima- tion of the VOC as a linear combination of features,

VOC(̂ b, c; w) =w 1 VOImyopic(b, c) + w 2 VOIitem(b, c)+ w 3 VOIfull(b) − (cost(c) + w 4 ), (4) for all for all c 6 = ⊥, with VOC(̂ b, ⊥; w) = VOC(b, ⊥) =

We briefly define the features here, providing full derivations in the SI appendix. The VOI terms quantify the value of information [65] that might be gained by different additional computations. Note that the VOI is different from the VOC because the latter includes the costs of computation as well as its benefits. In general, the VOI is defined as the expected improve- ment in the utility of the action selected based on addi- tional information rather than the current belief state: E˜b|b[R(˜b, ⊥) − R(b, ⊥)], where ˜b is a hypothetical future belief in which the information has been gained, the distribution of which depends on the current belief. VOImyopic(b, c) denotes the expected improvement in choice utility from executing computation c in belief state b and then terminating on the next step. In the present model, this corresponds to drawing one sam- ple from item c, updating the corresponding distribu- tion, and then choosing the item with maximal expected value. VOIitem(b, c) denotes the expected improvement

item weighted by the probability that the item is sam- pled next according to the random fixation process. We approximate this as

VOC(̂ bt, csamp; w) =

∑^ N

ct=

Pr(ct | ct− 1 ) VOC(̂ bt, ct; w).

The policy continues sampling as long as VOC(bt, csamp) is positive, and makes a choice otherwise. The weights, w, are chosen to optimize performance given the ran- dom fixation process using the same UCB method as for the full model.

Model simulation procedure

Given a metalevel MDP and policy, π, simulating a choice trial amounts to running a single episode of the policy on the metalevel MDP. To run an episode, we

first initialize the belief state, b 0 , with μ( 0 i ) = 0 and

λ( 0 i ) = 1 for all i. The agent then selects an initial computation c 0 ∼ π(b 0 ) and the belief is updated ac- cording to the transition dynamics (Equation 1). Note that π(c|b 0 ) assigns equal sampling probability to all of the items, since the subject starts with symmetrical beliefs. This process repeats until some time step, T , when the agent selects the termination action, ⊥. To translate the sequence of computations into a fixation sequence, we assume that each sample takes 100 ms and concatenate multiple contiguous samples from the same item into one fixation. The predicted choice is sampled uniformly from the set of items with maximal expected

value in the final belief state, arg maxi μ (i) T. We simulate the model for two different purposes: (1) identifying the optimal policy and (2) comparing model predictions to human behavior. In the former case, we randomly sample the true utilities on each “trial” i.i.d. from Gaussian(0, 1), consistent with the initial belief state. When comparing to human behavior, the true value of each item i is determined by the liking rating measures the participant provided for that item. In or- der to make these ratings roughly consistent with the standard Gaussian priors assumption of the model, we z-score all the ratings in the dataset as a preprocessing step. liking ratings provided by the participants.

Model parameter estimation

The model has four free parameters: the standard de- viation of the sampling distribution, σx, the cost per sample, γsample, the cost of switching attention, γswitch, and the inverse softmax temperature, β. We estimate a single set of parameters at the group level using max- imum likelihood in the combined two- and three-item datasets, using only the even trials.

In principle, we could seek to maximize the likelihood of specific fixation sequences. Unfortunately, the high dimensionality of the fixation data makes maximizing such a likelihood function computationally prohibitive. Thus, we instead maximize the joint likelihood of the following summary statistics for each trial: identity of the chosen item, total fixation time, number of fixations, and proportion of fixation time on each item. Given a list of candidate parameters values, θ = {σx, γsample, γswitch, β}, we specify a metalevel MDP and identify a set of 80 near-optimal policies using the method described above. We then use simulations to approximate the likelihood of the summary statistics for each trial, conditional on the normalized ratings for the items shown in that trial. Note that the model pre- dictions depend only on the (unordered) set of these rat- ings; thus, we estimate the conditional likelihood once for each such set. Given a set of ratings, we simulate the model 625 times for each of the 80 policies, using the resulting 50,000 simulations to construct a histogram of the trial summary statistics. The continuous statistics (total and proportion fixation times) are binned into quintiles defined by the distribution in the experimen- tal data. For the fixation proportions, the quintiles are defined on the rating rank of the item rather than the spatial location because we expect the distributions to depend on relative rating in the three-item case. Values outside the experimental range are placed into the cor- responding tail bin. Similarly trials with five or more fixations are all grouped into one bin (including e.g. six and seven fixations) and cases in which the model predicts zero fixations are grouped into the one-fixation bin. This latter case corresponds to choosing an item immediately without ever sampling. It occurs rarely in well-fitting instantiations of the model, but happens frequently when γsample is set too high. For each sim- ulation, we compute the binned summary statistics, identify the corresponding cell in the histogram, and increase its count by one. Finally, we normalize this histogram, resulting in a likelihood over the summary statistics. To compute the likelihood of a trial, L(d | θ), we compute the binned summary statistics for the trial and look up the corresponding value in the normalized histogram for that trial’s rating set. To account for trials that are not well explained by our model, we use add-n smoothing, where n was cho- sen independently for each θ so as to maximize its likeli- hood. This is equivalent to assuming a mixture between between the empericial distribution and a uniform dis- tribution with mixing weight . Thus, the full approxi- mate likelihood is

L(D | θ) = max ∈[0, 0 .5]

d∈D

C

  • (1 − ) L(d | θ)

where C = N · 5 N^ +1^ is the total number of cells in the histogram. Note that this error model is only used for the purpose of parameter fitting and is not used when generating simulations for model predictions. (Indeed, it could not be used, because the error model is defined over the summary statistics, and cannot generate full sequences of fixations.) We then use this approximate likelihood function to identify a maximum likelihood estimate, ˆθ = arg max L(D | θ). Based on manual inspection, we identified the promising region of parameter space to be σx ∈ (1, 5), γsample ∈ (0. 001 , 0 .01), γswitch ∈ (0. 003 , 0 .03), and β ∈ (100, 500). A grid search con- firmed that this area was likely to contain the global optimum (see Fig. S4). We then ran an additional quasi- random search of 10,000 points within this space using Sobol low-discrepancy sequences [67]. This approach has been shown to be more effective than both grid search and random search, while still allowing for mas- sive parallelization [68]. We found that the stochastic- ity in the policy optimization and likelihood estimation coupled with weak identifiability for some parameters resulted in slightly different results when re-running the full procedure; thus, to give a rough sense of the uncer- tainty in the estimate, we identify the top thirty param- eters, giving us both mean and standard error estimates for each parameter and the total likelihood.

References

[1] Jacob L. Orquin and Simone Mueller Loose. At- tention and choice: A review on eye movements in decision making. Acta Psychologica, 144(1):190– 206, 2013. ISSN 00016918. doi: 10.1016/j.actpsy. 2013.06.003. URL http://dx.doi.org/10.1016/ j.actpsy.2013.06.003.

[2] John R Hauser and Birger Wernerfelt. An evalu- ation cost model of consideration sets. Journal of consumer research, 16(4):393–408, 1990.

[3] Allan D Shocker, Moshe Ben-Akiva, Bruno Boc- cara, and Prakash Nedungadi. Consideration set influences on consumer decision-making and choice: Issues, models, and suggestions. Market- ing letters, 2(3):181–197, 1991.

[4] Jonathan Phillips, Adam Morris, and Fiery Cush- man. How We Know What Not To Think. Trends in Cognitive Sciences, 23(12):1026–1040,

  1. ISSN 1879307X. doi: 10.1016/j.tics.2019. 09.007. URL https://doi.org/10.1016/j.tics. 2019.09.007.

[5] J Edward Russo and Barbara A Dosher. Strate- gies for multiattribute binary choice. Journal of Experimental Psychology: Learning, Memory, and Cognition, 9(4):676, 1983.

[6] Savannah Wei Shi, Michel Wedel, and FGM Pieters. Information acquisition during online deci- sion making: A model-based exploration using eye- tracking data. Management Science, 59(5):1009– 1026, 2013.

[7] Shinsuke Shimojo, Claudiu Simion, Eiko Shimojo, and Christian Scheier. Gaze bias both reflects and influences preference. Nature Neuroscience, 6(12): 1317–1322, 2003. ISSN 10976256. doi: 10.1038/ nn1150.

[8] K. Carrie Armel, Aurelie Beaumel, and Antonio Rangel. Biasing simple choices by manipulating relative visual attention. Judgment and Decision Making, 2008.

[9] M. G. Glaholt and E. M. Reingold. Stim- ulus exposure and gaze bias: A further test of the gaze cascade model. Attention, Percep- tion & Psychophysics, 71(3):445–450, apr 2009. ISSN 1943-3921. doi: 10.3758/APP.71.3.445. URL http://www.springerlink.com/index/10. 3758/APP.71.3.445.

[10] Ian Krajbich, Carrie Armel, and Antonio Rangel. Visual fixations and the computation and com- parison of value in simple choice. Nature Neuro- science, 13(10):1292–1298, 2010. ISSN 10976256. doi: 10.1038/nn.2635.

[11] I. Krajbich and A. Rangel. Multialternative drift- diffusion model predicts the relationship between visual fixations and choice in value-based deci- sions. Proceedings of the National Academy of Sci- ences, 108(33):13852–13857, 2011. ISSN 0027-8424. doi: 10.1073/pnas.1101328108. URL http://www. pnas.org/cgi/doi/10.1073/pnas.1101328108.

[12] James F. Cavanagh, Thomas V. Wiecki, Angad Kochar, and Michael J. Frank. Eye tracking and pupillometry are indicators of dissociable latent decision processes. Journal of Experimental Psy- chology: General, 143(4):1476–1488, 2014. ISSN

  1. doi: 10.1037/a0035813.

[13] Gabriela Tavares, Pietro Perona, and Antonio Rangel. The attentional drift diffusion model of simple perceptual decision-making. Frontiers in Neuroscience, 11, Aug 2017. ISSN 1662-453X. doi: 10.3389/fnins.2017.00468. URL http://dx.doi. org/10.3389/fnins.2017.00468.

ISSN 1662-5161. doi: 10.3389/fnhum.2014.

  1. URL http://journal.frontiersin.org/ article/10.3389/fnhum.2014.00102/abstract.

[33] Satohiro Tajima, Jan Drugowitsch, and Alexandre Pouget. Optimal policy for value-based decision- making. Nature Communications, 7:1–12, 2016. ISSN 20411723. doi: 10.1038/ncomms12400. URL http://dx.doi.org/10.1038/ncomms12400.

[34] Satohiro Tajima, Jan Drugowitsch, Nisheet Patel, and Alexandre Pouget. Optimal policy for multi- alternative decisions. Nature Neuroscience, 22(9): 1503–1511, 2019. ISSN 15461726. doi: 10.1038/ s41593-019-0453-9. URL http://dx.doi.org/10. 1038/s41593-019-0453-9.

[35] Stuart Russell and Eric Wefald. Principles of metareasoning. Artificial Intelligence, 49(1-3): 361–395, 1991. ISSN 00043702. doi: 10.1016/ 0004-3702(91)90015-C.

[36] Marcel Adam Just and Patricia A. Carpenter. Eye fixations and cognitive processes. Cognitive Psy- chology, 1976. ISSN 00100285. doi: 10.1016/ 0010-0285(76)90015-3.

[37] Christopher A Sims. Implications of rational inat- tention. Journal of Monetary Economics, 50(3): 665–690, 2003. ISSN 03043932. doi: 10.1016/ S0304-3932(03)00029-1.

[38] Richard L. Lewis, Andrew Howes, and Satinder Singh. Computational rationality: Linking mecha- nism and behavior through bounded utility maxi- mization. Topics in Cognitive Science, 6(2):279– 311, 2014. ISSN 17568765. doi: 10.1111/tops.

[39] Andrew Howes, Richard L. Lewis, and Alonso Vera. Rational Adaptation Under Task and Processing Constraints: Implications for Testing Theories of Cognition and Action. Psychological Review, 116 (4):717–751, 2009. ISSN 0033295X. doi: 10.1037/ a0017187.

[40] S. J. Gershman, E. J. Horvitz, and J. B. Tenen- baum. Computational rationality: A converging paradigm for intelligence in brains, minds, and ma- chines. Science, 349(6245), 2015. ISSN 0036-8075. doi: 10.1126/science.aac6076.

[41] Thomas L Griffiths, Falk Lieder, and Noah D Goodman. Rational use of cognitive resources: Levels of analysis between the computational and the algorithmic. Topics in Cognitive Science, 7(2): 217–229, 2015.

[42] Falk Lieder and Thomas L Griffiths. Resource- rational analysis: understanding human cognition as the optimal use of limited computational re- sources. Behavioral and Brain Sciences, pages 1– 60, 2020. [43] Andrew Caplin. Measuring and modeling atten- tion. Annual Review of Economics, 8:379–403,

[44] Michael Woodford. Stochastic choice: An optimiz- ing neuroeconomic model. American Economic Re- view, 104(5):495–500, 2014.

[45] Xavier Gabaix, David Laibson, Guillermo Moloche, and Stephen Weinberg. Costly Information Ac- quisition: Experimental Analysis of a Boundedly Rational Model. American Economic Review, 96 (4)(4):1043–1068, 2006. ISSN 0002-8282. doi: 10.1257/aer.96.4.1043. [46] Drew Fudenberg, Philipp Strack, and Tomasz Strzalecki. Speed, accuracy, and the optimal tim- ing of choices. American Economic Review, 108 (12):3651–3684, 2018. [47] James E. Matheson. The Economic Value of Anal- ysis and Computation. IEEE Transactions on Sys- tems Science and Cybernetics, 4(3):325–332, 1968. ISSN 21682887. doi: 10.1109/TSSC.1968.300126. [48] Nicholas Hay, Stuart Russell, David Tolpin, and Solomon Shimony. Selecting Computations: Theory and Applications. Uncertainty in Artificial Intelligence: Proceedings of the Twenty-Eighth Conference, aug 2012. URL http://arxiv. org/abs/1408.2048citeulike-article-id: 11468758{%}5Cnhttp://arxiv.org/abs/1207.

[49] Frederick Callaway, Sayan Gul, Paul Krueger, Thomas L Griffiths, and Falk Lieder. Learning to select computations. In Uncertainty in Artifi- cial Intelligence: Proceedings of the Thirty-Fourth Conference, 2018.

[50] Daniel McFadden. Economic choices. American Economic Review, 91(3):351–378, 2001. [51] Brian A. Anderson. The attention habit: How re- ward learning shapes attentional selection. Annals of the New York Academy of Sciences, 1369(1):24– 39, 2016. ISSN 17496632. doi: 10.1111/nyas.12957. [52] Roger Ratcliff. A theory of memory re- trieval. Psychological Review, 85(2):59–108, 1978. ISSN 0033-295X. doi: 10.1037/0033-295X.85.2.

  1. URL http://content.apa.org/journals/ rev/85/2/59.

[53] Roger Ratcliff and Gail McKoon. The diffusion decision model: theory and data for two-choice de- cision tasks. Neural computation, 20(4):873–922,

[54] Andrei R Teodorescu and Marius Usher. Disen- tangling decision models: From independence to competition. Psychological review, 120(1):1, 2013.

[55] Jerome R Busemeyer and James T Townsend. De- cision field theory: a dynamic-cognitive approach to decision making in an uncertain environment. Psychological review, 100(3):432, 1993.

[56] William R Holmes, Jennifer S Trueblood, and An- drew Heathcote. A new framework for modeling decisions about changing information: The piece- wise linear ballistic accumulator model. Cognitive psychology, 85:1–29, 2016.

[57] Stephanie M Smith and Ian Krajbich. Attention and choice across domains. Journal of Experimen- tal Psychology: General, 147(12):1810, 2018.

[58] Mackenzie G Glaholt, Mei-Chun Wu, and Eyal M Reingold. Predicting preference from fixations. PsychNology Journal, 7(2):141–158, 2009.

[59] Thomas Icard, Fiery Cushman, and Joshua Knobe. On the instrumental value of hypothetical and counterfactual thought. In Proceedings of the an- nual conference of the Cognitive Science society,

[60] Philip P¨arnamets, Petter Johansson, Lars Hall, Christian Balkenius, Michael J Spivey, and Daniel C Richardson. Biasing moral decisions by exploiting the dynamics of eye gaze. Proceedings of the National Academy of Sciences, 112(13):4170– 4175, 2015.

[61] Stuart Russell. Rationality and Intelligence : A Brief Update. In M¨uller V. C., editor, Fundamental Issues of Artificial Intelligence, pages 1–21. 2016.

[62] Jeff Bezanson, Alan Edelman, Stefan Karpinski, and Viral B Shah. Julia: A fresh approach to numerical computing. SIAM review, 59(1): 65–98, 2017. URL https://doi.org/10.1137/

[63] Richard S Sutton and Andrew G Barto. Reinforce- ment learning: An introduction. MIT press, 2018.

[64] F. Callaway, F. Lieder, P. Das, S. Gul, P. M. Krueger, and T. L. Griffiths. A resource-rational analysis of human planning. In Proceedings of the 40th Annual Conference of the Cognitive Science

Society, Austin, TX, 2018. Cognitive Science Soci- ety.

[65] Ronald A Howard. Information value theory. IEEE Transactions on systems science and cybernetics, 2 (1):22–26, 1966.

[66] Peter Auer, Nicolo Cesa-Bianchi, and Paul Fis- cher. Finite-time analysis of the multiarmed bandit problem. Machine learning, 47(2-3):235–256, 2002.

[67] Il’ya Meerovich Sobol’. On the distribution of points in a cube and the approximate evaluation of integrals. Zhurnal Vychislitel’noi Matematiki i Matematicheskoi Fiziki, 7(4):784–802, 1967.

[68] James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. Jour- nal of machine learning research, 13(Feb):281–305,

[69] John I Yellott Jr. The relationship between luce’s choice axiom, thurstone’s theory of comparative judgment, and the double exponential distribu- tion. Journal of Mathematical Psychology, 15(2): 109–144, 1977.

and

σ^2 μ =

σ− x^2 λ( tc+1)

λ( tc)

  • σ^2 x

Having derived the distribution of Equation μ( tc+1), we now turn to the expected maximum in [5]. From basic probability theory we know that for any constant z and random variable X,

E[max{X, z}] = Pr[X ≤ z]·z+(1−Pr[X ≤ z])·E[X | X > z]. (7)

Substituting maxi 6 =c μ (i) t for^ z^ and^ μ

(c) t+1 for^ X, we can use this formula to derive an analytical solution for the myopic value of information. First, we have

Pr

[

μ( tc+1) ≤ max i 6 =c μ( ti)

]

= Φ (β) ,

where Φ is the cumulative density function (CDF) of a standard Gaussian , and

β =

maxi 6 =c μ( ti )− μμ. σμ

Next, we apply the standard formula for the expectation of a truncated Gaussian, giving us

E

[

μ( tc+1) | μ( tc+1) > max i 6 =c μ( ti)

]

= μμ +

φ (β) 1 − Φ (β)

σμ,

where φ is the standard normal probability density function. Finally, putting this together we find that VOImyopic(b, c) is equal to

Φ(β)·max i 6 =c

μ( ti )+(1 − Φ(β))·

μμ + φ (β) 1 − Φ (β)

σμ

−max i

μ( ti ).

Derivation: Value of Perfect Information

About One Item

Whereas VOImyopic captures the information value of a single sample, VOIitem captures the information value of an infinite number of samples for one item, that is, the value of knowing the exact value of one item. Formally,

VOIitem(bt, c) = Eu(c)|μ(c) t ,λ( tc)

[

max

u(c), max i 6 =c

μ( ti)

}]

−max i

μ( ti ).

The derivation is similar to that of VOImyopic, but instead of taking the expectation over the posterior mean after one computation, μ( tc+1), we take the ex-

pectation over the true utility, u(c)^ | μ( tc ), λ( tc ) ∼

Gaussian(μ( tc ), 1 /λ( tc )). Thus, we apply the same steps

beginning with [7], but replacing μ (c) t+1 with^ u (c) (^) |

μ (c) t , λ

(c) t. This results in VOIitem(b, c) equal to

Φ(β′)·max i 6 =c μ (i) t +(1^ −^ Φ(β

μ (c) t +^

φ (β′) 1 − Φ (β′)

(^1) /λ( tc)

−max i μ (i) t

where β′^ =

maxi 6 =c μ( ti )− μ( tc) √ (^1) /λ( tc)

Derivation: Value of Perfect Information

About All Items

VOIfull captures the information value of learning the exact value of every item in the choice set, that is ac- quiring full information. In this case, the DM will make an exactly optimal choice, gaining the utility of the item that is in fact best. Formally,

VOIfull(b) = Eu|μ(c) t ,λ (c) t

[

max i

u(i)

}]

− max i μ( ti ). (8)

For the case of N items, the conditional expectation term is given by the integral ∫ ...

∫ [

max i u(i)

∏^ k

i=

Gaussian(u(i); μ (i) t ,^1 /λ (i) t )

]

du(1)... du(N^ ).

Unfortunately, there is no analytic solution to this integral. However, we can substantially reduce our computational burden by reducing to a piecewise one- dimensional integral. First, we can express the expec- tation of any random variable as a piecewise integral,

E[X] = −

−∞

FX (x) dx +

0

(1 − FX (x)) dx, (9)

where FX is the CDF of X. Next, we can express the CDF of the maximum of a set of random variables as the product of the CDF for each variable alone,

Fmax X (x) =

X∈X

FX (x), (10)

because the maximum of a set is less than x if and only if each element in the set is less than x. In our case, the set χ contains the belief distributions for each item. Letting M denote max X , we can define its CDF as

FM (m) =

∏^ N

i=

λ( ti)

m − μ( ti)

Combining Equations [8], [9], and [10], we arrive at the following expression for VOIfull(b):

−∞

FM (x) dx +

0

(1 − FM (x)) dx − max i μ( ti ).

We evaluate these two integrals numerically to a mini- mum precision of 10−^5 by the adaptive Gauss-Kronrod quadrature method implemented in the QuadGK Julia package.

Despite the diimensionality reduction, we found that evaluating these integrals was still the primary com- putational bottleneck for simulating the model. Thus, in order to reduce computation time, we only compute VOIfull when it is necessary to determine which compu- tation the policy will execute. As detailed below, this is often unnecessary because the other features already determine which feature has maximal VOC. Critically,̂ the modification that we describe here has no effect on the behavior of the policy or the predictions of the mod- els; we have verified this assertion through simulation.

This computational trick is based on three insights. First, note that VOIfull helps to decide whether or not to take another sample, but not which item to sample from. Thus, we can determine which computation the policy would take, conditional on taking a sample at all, based only on the VOImyopic and VOIitem features. Given that these two features have an analytical solu- tion, as derived above, we can quickly identity the best item to sample from, which is given by

c∗^ = arg max c 6 =⊥

w 1 · VOImyopic(b, c) + w 2 · VOIitem(b, c)

− (cost(c) + w 4 )

Second, since VOC(b, ⊥) = 0, it follows that if

VOC(̂ b, c∗) > 0, the policy should sample from item c∗, and otherwise it should stop sampling. In gen- eral, determining the sign of VOC(̂ b, c∗)requires eval- uating VOIfull(b). However, in some cases the sign can be determined without knowing VOIfull(b). In particular, we can take advantage of the fact that VOIitem(b, c) ≤ VOIfull(b) for all b, c. We can thus com-

pute a lower bound on VOC(̂ b, c) by replacing VOIfull(b) with VOIitem(b, c) in Equation [11]. If this lower bound is positive, then we know the full approximation would also be positive, and thus the optimal choice is to sam- ple from item c∗. Otherwise, we compute VOIfull(b) and identify the optimal computation using all of the features.

Third, at first sight this approach might seem to be in- compatible with the soft-maximizing policy, where com- putation c is selected with probability proportional to exp β VOC(̂ b, c). In particular, the standard method for sampling from this distribution requires fully evaluating

VOC(̂ b, c). However, we can circumvent this issue us- ing the Gumbel-max trick [69], which provides a way to sample from a Boltzman (softmax) distribution by tak- ing the argmax of the unexponentiated values corrupted by Gumbel noise. Formally,

Pr

[

arg max i {xi + i} = j

]

exp xj ∑ i exp^ xi

As a result, we can rewrite the soft-max policy as

π(b; w, β) = arg max c

β ̂V OC(b, c; w) + c

where c ∼ Gumbel(0, 1). We can then implement steps 1 and 2 of the short-cut, adding c to the right hand side of Equation 11, and comparing the lower-bound VOC to an independent Gumbel sample, ⊥, rather than 0 to capture the noise applied to VOC(b, ⊥).

Quality of the approximation method in

Bernoulli model

The approximation method used here has previously been shown to learn policies with near-optimal perfor- mance on a metalevel MDP similar to the one in the present model, but with Bernoulli-distributed samples and no switching costs [49]. The logic of the problem is identical: A DM wants to select the best item and informs her decision by drawing noisy samples with an expected value equal to the items’ true utility. How- ever, in the simpler Bernoulli case that has been previ- ously studied, true utilities take values between 0 and 1, samples from item c are drawn from Bernoulli(u(c)), and the uniform distribution over all possible utilities, Beta(1, 1), provides a conjugate prior. Thus, posterior beliefs take the form Beta(1 + a, 1 + b), where a and b are respectively the number of times 1 and 0 have been sampled for the given item. Critically, the resulting be- lief space is discrete because a and b are integers. This allows the computation of the exact optimal policy by dynamic programming, if an upper bound on the num- ber of samples that can be taken is assumed. Callaway et al. [49] take advantage of this fact to show that the policy approximation method used here provides a highly-accurate approximation of the optimal policy. However, their model does not have switching costs, which could potentially make the approximation perform much worse. Here, we investigate this issue by adding switching costs to the Bernoulli model, and measuring their impact on the method’s performance. Ideally we would be able to directly assess the perfor- mance of our method in the full model with Gaussian samples, but an optimal solution for this case is not available and deriving one is beyond the scope of the study. To aid interpretation, we re-parameterized the switching cost as γswitch = (k−1)γsample such that k can be interpreted as a multiplier on the base sample cost. For example, k = 1, indicated by “1x” in the figure, cor- responds to no switching cost. We considered a grid of cost parameters with γsample ∈ {e−^9 , e−^8 ,... , e−^3 } and k ∈ 1 , 2... , 10. We set an upper bound of 75 samples. As shown in Fig. S3, we replicated previous results that