Multitasking in Driving as Optimal Adaptation Under Uncertainty
Full text
This is a self-archived version of an original article. This version may differ from the original in pagination and typographic details. Author(s): Title: Year: Version: Copyright: Rights: Rights url: Please cite the original version: CC BY 4.0 https://creativecommons.org/licenses/by/4.0/ Multitasking in Driving as Optimal Adaptation Under Uncertainty © 2020, The Author(s) Published version Jokinen, Jussi P. P.; Kujala, Tuomo; Oulasvirta, Antti Jokinen, J. P.P., Kujala, T., & Oulasvirta, A. (2021). Multitasking in Driving as Optimal Adaptation Under Uncertainty. Human Factors, 63(8), 1324-1341. https://doi.org/10.1177/0018720820927687 2021
Multitasking in Driving as Optimal Adaptation UnderUncertainty Jussi P. P. Jokinen , Aalto University, Finland, Tuomo Kujala , University of Jyväskylä, Finland, and Antti Oulasvirta, Aalto University, Finland, and Finnish Center for Artificial Intelligence FCAI, Finland Address correspondence to Jussi P. P. Jokinen, Department of Communications and Networking, Aalto University, Konemiehentie 2 PL 11000 00076, Aalto, Finland; e-mail: jussi.jokinen@aalto.fi HUMAN FACTORS Vol. 00, No. 0, Month XXXX, pp. 1 DOI: 10. 1177/ 0018 7208 20927687 Article reuse guidelines: sagepub. com/ journalspermissions Copyright © 2020, The Author(s). Objective: The objective was to better understand how people adapt multitasking behavior when circumstances in driving change and how safe versus unsafe behaviors emerge. Background: Multitasking strategies in driving adapt to changes in the task environment, but the cognitive mechanisms of this adaptation are not well known. Missing is a unifying account to explain the joint contribution of task constraints, goals, cognitive capabilities, and beliefs about the driving environment. Method: We model the driver’s decision to deploy visual attention as a stochastic sequential decisionmaking problem and propose hierarchical reinforcement learning as a computationally tractable solution to it. The supervisory level deploys attention based on pertask value estimates, which incorporate beliefs about risk. Model simulations are compared against human data collected in a driving simulator. Results: Human data show adaptation to the attentional demands of ongoing tasks, as measured in lane deviation and incar gaze deployment. The predictions of our model fit the human data on these metrics. Conclusion: Multitasking strategies can be understood as optimal adaptation under uncertainty, wherein the driver adapts to cognitive constraints and the task environment’s uncertainties, aiming to maximize the expected longterm utility. Safe and unsafe behaviors emerge as the driver has to arbitrate between conflicting goals and manage uncertainty about them. Application: Simulations can inform studies of conditions that are likely to give rise to unsafe driving behavior. Keywords: driving, multitasking, task interleaving, computational rationality, reinforcement learning INTRODUCTION Interactive technologies, such as smartphones and incar information and entertainment systems, can serve a driver in various ways but may also influence the ability to operate the vehicle safely. While an interface may be easy to use in singletask conditions, it can be distractive when the user must timeshare attention with driving (Noy et al., 2004). Multitasking and task interleaving (switching between concurrently conducted tasks) behind the wheel is one of the most frequent contributors to driving accidents (Dingus et al., 2016). A key reason for this is that attending a secondary (nondriving) task quickly results in increased uncertainty about the states of the driving task, such as the current lane position (Horrey et al., 2006). One critical question for human factors research is how drivers adapt to the uncertainty associated with multitasking, given particular factors in the driving environment and elements of incar interactions’ design. This paper presents a computational model in which multitasking is formalized as optimal adaptation under uncertainty. We consider the driver as a computationally rational agent operating in a task environment that constrains the said agent’s behavior, resulting in bounded optimal adaptation (Gershman et al., 2015; Howes et al., 2009; Simon, 1969). In our model, multitasking behavior emerges as adaptation to cognitive and task bounds, permitting the investigation of multitasking in various combinations of driving and incar tasks. In multitasking, two or more interleaved tasks compete for limited informationprocessing resources, such as visual attention (Meyer & Kieras, 1997; Salvucci & Taatgen, 2008). Any tasks unattended by the agent have limited or no observability, and decreased
Month XXXX - Human Factors 2 task performance often follows. The multitasking agent encounters an optimization problem: how to allocate limited resources to maximize joint task performance (Navon & Gopher, 1979). The solution must consider the tasks’ attentional demands and what could be expected to be achieved if attention is shifted. Hence, our goal is a computational model of multitasking in driving that explains and predicts multitasking behavior as optimal adaptation,therebyofferingatoolforresearchersand practitioners. Models of this sort incorporate explicit theoretical assumptions and permit testing against empirical results. Generating adaptive behavior, they can be used to help design new technologies that encourage safer driving. They can also be used to explore complex interactions between the parameters of the driving task and those of the incar interface without the need to resort to costly experiments. Driver behavior is known to change in responsetotraffic,drivingenvironment,in-car user interface design, idiosyncratic traits, and other elements. Interleaving decisions can be assumed to result from adaptation under uncertainty: the human visual system is able to sample accurately from only a small subset of the visualfield,andthetaskenvironmentcontains dynamicsthatcanbedifficultorimpossibleto predict.Hence,driversdonotobeyfixedrules for switching tasks, but consider the probable consequences of switching. For instance, Wierwille’s (1993) visual sampling model of driving suggests that, on average, drivers adjust theiroff-roadglancedurationsbetween0.5and 1.5sasthedynamicdemandsoftrafficdictate. Drivers tend to prolong incar glances to reach natural breakpoints, such as subtask boundaries, for instance to complete visual search (Janssen et al., 2012; Lee et al., 2012). Furthermore, drivers’ multitasking has displayed strategic changes in task performance, based on variations in the workload and the priority of particulartask-specificgoals(Cnossen et al., 2000). Also,theskilloftheindividualclearlyaffects multitasking strategies (Janssen & Brumby, 2015). However, we are lacking a unified account of the mechanisms behind these adaptive behaviors (Gutzwiller et al., 2019). Computational Models of Multitasking TheEVandSEEV(salience,effort,expectancy, value) models predict experts’ visual sampling from taskrelevant information sources (Sheridan, 1970; Wickens et al., 2003). These models are based on the idea of expected information bandwidth as one of the key factors determining the optimal visual sampling frequency for a channel (Senders, 1964), together with the value functions of the related tasks and a threshold of acceptable uncertainty about the state of the controlled system (Sheridan, 1970). For instance, in a lanekeeping task, the decision about making a corrective input with the steering wheel depends on information about the lane position, which contains uncertainty that depends on the driving conditions. A highbandwidth condition, such as strong wind turbulence, increases uncertainty and thus requires more frequent visual sampling. The model is able to predict a driver’s safetyrelevant behaviors based on the information requirements of the driving and the incar task and the relative priority or value assigned to them by the driver. The approach has been utilized for predicting the effects of task value, uncertainty, and expectations on allocation of the focus of visual attention to incar tasks (Horrey et al., 2006). One of the drawbacks of these models is that the overall determination of the expectancy and value associated with various tasks are based on heuristics from human experts. Another class of computational visual sampling models emphasizes the uncertainty of taskrelevant states (e.g., Sprague & Ballard, 2004; Sullivan et al., 2012; Tong et al., 2017). In these, similar to EV/SEEV models, uncertainty is related to the concept of the bandwidth of a continuous signal or expected error (Senders et al., 1967; Senders, 1964; Shannon, 1948). The model predicts that drivers shift attention based on the accumulating uncertainty about the driving task. A more demanding task may lead to postponing the secondary task (Jamson & Merat, 2005), but an incorrect estimation of this demand may also lead to unsafe driving. For instance, Lee and Lee (2019) have recently modeled drivers’ task interleaving as
Multitasking as OptiMal adaptatiOn 3 an outcome of uncertainty about the roadway and subtask boundaries. Close to these natural breakpoints, drivers may fail to suspend the task at the cost of safety. Typically, models in this class are unable to explain how the uncertainty of one’s taskrelevant beliefs evolves and how behavior adapts to the dynamics of the task environment and varying subtask goals. In cognitive architectures such as EPIC (Meyer & Kieras, 1997) and ACT- R (Anderson et al., 2004), the use of limited computational resources is directed by rules that specify how tasks are conducted. Models using these architectures are able to generate detailed simulations of task behavior, such as glances between interleaved tasks. The theory of threaded cognition, based on ACT- R, has been developed to understand and predict task interleaving in multitasking via the principle of autonomous task threads that share attentional resources (Salvucci & Taatgen, 2008). Each task thread has its own goal, reserving and freeing attentional resources in accordance with availability, demand, and urgency. This provides psychologically plausible constraints, and the model yields predictions with good fit to aggregate human data (Salvucci & Taatgen, 2008), including drivers’ multitasking performance (Kujala & Salvucci, 2015). The model can be used to predict how the design parameters of the incar interface impact multitasking strategies and driving safety. While this approach formalizes the impact of task constraints on multitasking behavior, it does not explain the emergence of adaptive strategies, which often must be formulatedassimpleandfixedrules.Asaresult,the approach does not predict how taskinterleaving behavior adapts to changes in uncertainty related to the task states. Cognitive constraint modeling (CCM) complements cognitive architecture–based models of multitasking (Howes et al., 2004; Janssen et al., 2012). Instead of focusing on the cognitive architecture in an attempt to reproduce the internal psychological mechanisms of multitasking, the goal is to predict performance from the constraints of the task environment (Brumby et al., 2007). Possible interleaving strategies are determined by performance trade-offfunctions,dictatedbyamodelofthe environment, and optimal strategies in terms of task priority instructions. For instance, Brumby et al. (2007) have shown that people are able to adjust their task interleaving rationally by considering task constraints and prioritization. The CCM approach informs understanding of the variability of multitasking drivers’ strategies. This is accomplished by specifying how cognitiveandtask-relatedconstraintsaffectbehavior andcomputinghowdifferentmultitaskingstrategy choices result in different task outcomes. Such modeling is silent, however, about how the strategy choices are made and how drivers dynamically adjust their behavior to particular task constraints. Neither the threaded cognition nor the CCM approach formalizes decision making in driving under uncertainty caused by limited attention, which is a critical factor when several tasks compete for the same attentional resources. The literature reviewed has established that what constitutes optimal multitasking policy—a mapping from task states to action probabilities—should be defined in relation to the agent’s uncertainty about the goalrelevant task states. For instance, the driving conditions, such asspeed,traffic,andvisibility,allimpacthow much visual sampling is needed for the driver to have a reliable estimate of the car’s position on the road (possibly relative to traffic). Furthermore, the goals for the tasks should take the form of a value or utility function allowing the agent to weigh the relevance of the concurrent tasks. What prior literature does not sufficiently address is how a multitasking agent adapts the taskinterleaving policy to the variable cognitive and environmental constraints of the tasks in an attempt to maximize the expected joint task gain. Goals of This Paper Viewing human behavior as optimal adaptation to constraints in conditions of uncertainty, we developed a model of multitasking in driving. The model presented in this paper addresses the problem of optimal attention allocation in terms of a policy, which dictates which actions are suitable in various situations. An optimal policy maximizes expected (joint) task gain. We
Month XXXX - Human Factors 4 assume that this optimal policy emerges from the task and cognitive bounds, including the uncertainty resulting from partial observability of the states and dynamics of the environment. This is achieved adaptively using a learning algorithm that attempts to optimize behavior by preferring chains of actions that generally result in desired outcomes. In our task environment, these outcomes are safe driving and efficient performance in the interleaved task. Given the specificsofthesetasksaswellashowaccurate beliefs the agent is able to form about the states of the task environment, the discovered behavior can be said to approximate boundedly optimal behavior. Our model architecture utilizes a hierarchical structure, decomposing the multitasking scenario into a series of task environments, goals, and corresponding policies. There is a driving task, wherein the goal is to keep the car within lane boundaries; a visual search task, with the goal of visually locating a target element among distractors; and a supervisory task, which allocates the limited visual attention resource between the two subtask models. The model has multiple bounds that compel its adaptive behavior. The driving task is bounded by how quickly and accurately the agent can update its belief as to the lane position and by how quickly and often the agent can act to adjust this position. Bounding the visual search task are the limits of the human visual system, which allow the visual encoding of only one element at a time and require time to move the eyes and process visual information. When not visually attending to the road, the model cannot observe the lane position (but can still steer), increasing uncertainty. Conversely, when the attention is on the road, the visual search task cannot progress, as uncertainty about the location of the visual target is not reduced. Finally, there is taskswitching time in shifting attention between the road and the incar display. Our model simulates adaptation to these bounds by learning a policy that manages uncertainty in the subtasks by allocating visual attention to the task that requires it the most. Unlike those in some previous work, our model makes no assumptions about how long drivers should tend to the visual search task or when they should return to the driving one (e.g., Kujala & Salvucci, 2015). Instead, the glancing behavior is conceptualized as emerging when the agent’s optimal taskinterleaving policy is resolved via reinforcement learning (RL; cf. Brumby et al., 2007). This behavior is sensitive to (1) the dynamically changing attentional demands of tasks (e.g., faster driving implying greater attentional demands), (2) the tasks’ relative value (e.g., the importance ofdrivingsafelyvs.findingtargetsquickly),and (3) the constraints inherent to the agent (e.g., the duration of task switching, in which attention is on neither task). This sensitivity permits the model to predict the impact of environmental dynamics and cognitive architecture on the driver’s uncertainty and the resulting changes in drivingbehavior. Below we first present our model architecture and its computational principles. We then demonstrate how we validated the model’s predictions via a driving task with human participants.Themodelsuccessfullypredictstheeffects ofdrivingspeedandsearchdifficultyondriving performance, as represented by task time, lane deviation, and glancing behavior. MODELING A Hierarchical Model of Rational Multitasking A computationally rational agent follows a policy that maximizes the expected gain or utility of its behavior, given the bounds of the task and the agent itself (Gershman et al., 2015; Howes et al., 2009).Thefirststepinapplications of computational rationality is to model the agent and task environment in a way that can account for these bounds and for the agent’s actions and goals (Howes, 2018). A partially observable Markov decision process (POMDP) serves as a flexible formalism that permits us to define an environment, consisting of states and a transition function; an agent, making partial observations of the environment and acting to change the state of the environment; and a reward function, reflecting the preferences of the agent (Kaelbling et al., 1998). Learning algorithms, such as those under the umbrella of reinforcement learning, are used to learn from interaction with the environment in order tofindtheoptimalactionpolicy,satisfyingthe
Multitasking as OptiMal adaptatiOn 5 condition of the agent behaving rationally, carrying out actions with the greatest expected utility (Sutton & Barto, 1998). In the POMDP formalism, the agent performs sequential actions, maximizing the longterm gain through actions a∈A that create changes in the environment’s state s∈S (Kaelbling et al., 1998). These changes are governedbyatransitionfunctionthatspecifies the probability T(s,a,s′)=p(s′|s,a) of a resulting state s′ given current state s and action a . Driving actions, for instance, include moving the steering wheel, which results in changes in lane position. The formalism also accounts for the agent’s incomplete information about aspects of the state of the world, by specifying an observation function that defines the probability O(s′,a,z′)=p(z′|s′,a) of making an observation z′ . As for the agent’s goals, the formalism includes a reward function R(s′) , providing a realvalued reward for reaching a state s′ . For instance, succeeding in an incar search task yields a positive reward, while lane deviations carry a negative one. The agent modeled by a POMDP learns to perform actions that maximize the longterm cumulative reward. A policy π determines the choice of a new action, given a history of observations that are summarized as a belief b . An optimal policy π∗ maps beliefs to actions such that an agent following that policy maximizes the longterm cumulative reward. To model learning from experience, RL is employed to record how actions produce state changes and rewards; this process lets an experienced agent approximate an optimal policy (Sutton & Barto, 1998). Our model is based on hierarchical organization of human cognitive control, which both offers neural plausibility and provides a computationally tractable solution for complex RL models (Botvinick, 2012; Frank & Badre, 2012). Hierarchical RL (HRL) can be used to break complex behavior into subtasks, which permits that the subtask policies are learned independently before subjugated to the supervisory control hierarchy. Each subtask has its own associated decision process, including the reward function. For instance, driving and incarvisualsearchsubtaskshavedifferentgoals and therefore reward functions. The key insight of this hierarchy is that the outcome of the multitasking episode is the joint function of the subtask reward functions. For instance, if the goal of the agent is to conduct visual search in an incar interface while driving safely, the problem of the multitasking agent is to discover a task switch policy that minimizes lane excursions while maximizing search performance. The total reward of the hierarchical model is determined as the joint performance from these subtask models. The subtask reward functions can bechangedtoobtainpoliciesfordifferentgoals, but also the joint multitasking reward function canbemodified.Forinstance,relativeweighing of how the subtask rewards are summed might result in the agent improving its visual search performance at the cost of safe driving. Our hierarchical model of multitasking is illustrated in Figure 1. We assume that there areindependenttask-specificmodels(e.g.,for driving and incar visual search) and a supervisory model that learns the optimal policy for shifting limited visual attention resources between these subtask models. Once RL has been applied for independently implementing andtrainingthetask-specificmodels,thesupervisory model is trained to allocate attention between the trained task models. An important feature of our approach is that optimality must be understood in terms of bounded optimality, where the bounds and dynamics of the task environment and those of the cognitive architecture of the agent guide behavioral adaptation.Below,webrieflydescribethetaskmodels. Full implementation details, addressing all parameter values, are explicated in the technical Appendix A, Algorithms 1–3. The model code is available at https:// gitlab. com/ jokinenj/ multitaskingdriving. Modeling Driving For the driving model, we use a simple simulation Td(s,a,s′), wherein the car’s speed, the steering wheel’s position, and previous lane position s∈Sd determine the next lane position, s′∈Sd . The agent can perform an action a∈Ad to move the steering wheel so as to adjust the car’s position such that it remains within the specified limits. A negative reward Rd is
Month XXXX - Human Factors 6 receivedwhenthecar isbeyondthespecified lane bounds; the reward value is 0 within them. The agent utilizes a transition model, τd(s,a,s′) , which approximates the true transition function Td and allows it to drive without visual attention for a short while. The agent’s belief bd is a distribution over possible lane positions Sd . When the agent is able to make observations, bd is a joint posterior of τd and the observation function Od(s′,a,o) . The belief that the car is in position s′ for a given action a∈Ad is b ′(s′)= O d (s′,a,o)∑ s∈Sdτd (s,a,s′)b(s) Pr(o|a,b) (1) where Od is the probability of a correct observation. When attention is on the visual search task, the driving model is, in essence, “driving blind,” relying entirely on the transition model ( τd ) and prior belief b . The driving model is trained in two steps. First, it learns the transition model, τd , by performing random actions and fully observing the outcomes. Hence, τd becomes a stochastic prediction model of the physics of the driving task. After this, the model starts to drive, making observations and updating its belief about the car’s lane position by using Equation 1. For faster learning, we augment this belief distributionviaasufficientstatistic,whichinthiscaseis the most likely road position and belief entropy. − b= arg max b(s) − s ∑ s∈S (b(s) × log(b(s ))) (2,3) We use RL to train the model to an optimal policy π∗ d , which for any ¯ b returns an action a∈Ad that is expected to maximize the longtermreward.Specifically,weuseSARSA(see Appendix A, Algorithm 1) to learn state–action utilities from previous state s∈S and action Figure 1. Our hierarchical multitasking model is composed of a driving model, a visual search model, and a supervisory model. The models’ actions are based on beliefs (b)abouttheworld,giventhepolicylearned(π). The subtask beliefs are updated via observations of the state of the world. The supervisory model assigns visual attention between tasks, granting the ability to make visual observations about the world. The supervisory model monitors the current subtask utility values, to track their attentional demands.
Multitasking as OptiMal adaptatiOn 7 a∈A , the resulting reward r , and current state s′∈S and current action a′∈A (Sutton & Barto, 1998). Q(s,a)=Q(s,a)+α[r+γQ(s′,a′)−Q(s,a)], (4) where α is a learning constant and γ discounts future rewards. These Q- values indicate the utility or longterm expected gain of a particular action, for a given state. To balance between exploration and exploitation, we employ a softmax action selection policy, which selects actions on the basis of their relative Q- values. The probability of an action’s selection is p(a)= eQ(s,a)/τ ∑ n i=1 e Q(s,i)/τ , (5) where τ is a realvalued noise temperature greater than zero, controlling the exploration/ exploitationtrade-off. Modeling Visual Search The visual search model simulates the eyes moving over an incar graphical display. It is a POMDP wherein the state, s∈Ss , is a discrete twodimensional grid of visual elements. The model can take action a∈As tofixateonanyof these elements and encode it. The model’s belief isaninitiallyemptygridthatgetsfilledwiththe encoded visual elements. In addition, the belief encompassestheeyes’fixationlocation.Weuse the EMMA model (Salvucci, 2001) to simulate eye movements. Time needed to encode a visual object is given as Te=K[−log(f)]ek·ϵ, (6) where K and k are encoding constants; f is the frequency of the object; and ϵ is eccentricity, measured as the target’s distance from the current fixation. To reduce eccentricity and encoding time, the visual system may initiate a saccade. Saccade duration is Ts=tprep +texec +Dtsacc, (7) where tprep, texec, and tsaccare constants related to the human visual system and D is the distance to be covered by the saccade, in degrees. If Te<tprep , the target is encoded without the eyesmovingfromthecurrentfixationlocation. Otherwise,asaccadebringsthefixationpoint close to the target, with the remaining encoding being conducted after this. For each encoding of the target, the model receives a negative reward Rs with a value equal to the encoding time. In addition, when the target is eventually found, the model gets a large positive reward. As with the driving model, we useRLtofindanoptimalpolicy π∗ s , which for anycombinationofthecurrentfixationlocation and the searchobservation grid supplies a new target to be encoded. We use the same learning and actionselection equations as for the driving model. The Supervisory Model The supervisory (multitasking) model is a POMDP wherein the state space contains the maximum Q- values for the current state of the two task models. This model applies two actions, drive and search, determining which subtask model receives attention. It learns an optimal attentionallocation policy π∗ m , which maximizes the joint subtask reward Rd+Rs . The model is designed to maximize the number of search tasks completed in a given time while attempting to keep the cumulative reward for the driving task close to 0, which denotes making as few lane deviations as possible. The multitasking model observes max qd and max qs : the current expected utility of the best available action for each of the two models. Together, these values and the task currently holding the attention form the current belief for the multitasking model. Based on the learned utilities, the model chooses an action, either to attend to driving or to search. If the previous action (referring to the task currently in focus) differsfromthenewone,atask-switchcostis added in the model (Allport et al., 1994). After this, if the selected action was to attend to driving, the driving model is run for one cycle of a small constant time while allowed to observe its lane position (Salvucci, 2006). If the action selected was to search, the search model is iterated once and driving is simulated forward without attention, for a duration matching the eyemovement action.
Month XXXX - Human Factors 8 EVALUATION OF THE MODEL Method Our model can be used to predict key performance variables in an incar visual search task during driving. As all model parameters are either adapted from literature (e.g., eye movementandencodingtimes)orfixedtothetask (e.g., car speed or the size of the incar device), the goal of the evaluation was not to calibrate the model, but to see if the model predicts correctlytheimpactofdifferenttaskconditionson the key performance variables. Correspondence of the predictions to human data is therefore the result of the realistic model specification, not tuning of parameters to the target data. Based on similar existing work (e.g., Horrey et al., 2006; Kujala & Salvucci, 2015; Wortelen et al., 2013), we designed an experiment to evaluate the model. Human participants used a driving simulator while searching for visual targets presented by an incar display. The experiment employed a withinsubjects 2×2 design with speed (60 and 120 km/hr) and number of search items per screen (6 and 9) as the independent variables. Condition order was counterbalanced over the entire sample. All data and analysis code are available at https:// gitlab. com/ jokinenj/ multitaskingdriving. Participants. The participants were 12 volunteers (7 F, 5 M) selected via convenience sampling from responses to advertisements emailed to university mailing lists. Participants’ lifetime driving experience ranged from 10 to 29 years (M = 18, SD = 6) and age from 28 to 47 years (M = 36, SD = 5). All participants had normal or corrected- to- normal vision, and all admitted to using smartphones at least “infrequently” while driving. In monitoring throughout the experiment, none displayed symptoms of simulator sickness. The participants were compensated for their time with a cinema ticket. This research complied with the tenets of the Declaration of Helsinki. Informed consent was obtained from each participant. Materials and procedure. Our mediumfidelity driving simulator was composed of a Logitech G25 steering wheel and pedals, an adjustabledriver’sseat,andthree40″Samsung LED displays (4320 × 900) presenting the driving environment (Eepsoft driving simulation software,https://www.eepsoft.fi/;seeFigure 2). A slightly leftwardbending highway road with three 3.5- mwide lanes was selected for the study. The speed of the vehicle was fixed to make the task simpler for the humans to perform and to model computationally. To display Figure 2. Theexperimentusedamedium-fidelitydrivingsimulator,withthein-carsearch task presented by a smaller display below the driving scene.
Multitasking as OptiMal adaptatiOn 15 search, the search task is iterated once, and the driving model is iterated without attention for the duration of the search model iteration. The cumulative reward from the driving model and the reward of the search model are summed together for rewarding the taskinterleaving model. The multitasking model was trained for 200,000 simulated seconds. The model was then run 30 times (independent instances) for the duration of 1,000 s to generate multiple simulations of the model performance within a time frame similar to that of the human participants.
Month XXXX - Human Factors 16 APPENDIX B: HYPOTHESIS TESTS All hypothesis test are made using multilevel linear regression models with task conditionsasfixedeffectsandparticipantsasrandom effects.ModelsarecalculatedusingR’slme4 package with lmerTest package for approximating degrees of freedom. The variable Speed indicates change from 80 to 120 km/hr. Task type indicates change from a “foil” task to a “targetpresent” task. Items refers to a change from six to nine items in the incar interface. TABLE 2: Multilevel Regression Model for Trial Time Fixed Effect Estimate df T Intercept 3.2 13 13.3*** Speed 0.1 74 0.7 Task type −0.9 74 −8.8*** Items 1.1 74 11.2*** Note. ***p < .001. TABLE 3: Multilevel Regression Model for SD of Lane Offset Fixed Effect Estimate df T Intercept 0.08 26 9.8*** Speed 0.06 74 10.3*** Task type −0.03 74 −4.1*** Items 0.03 74 4.8*** Note. ***p < .001. TABLE 4: Multilevel Regression Model Lane Deviation Fixed Effect Estimate df T Intercept 0.03 23 1.4 Speed 0.05 74 3.1** Task type −0.01 74 −0.8 Items −0.01 74 −0.6 Note. **p < .01.
Multitasking as OptiMal adaptatiOn 17 TABLE 5: Multilevel Regression Model for Number of In- Car Glances Fixed Effect Estimate df T Intercept 1.8 13 13.6*** Speed 0.1 74 1.2 Task type −0.5 74 −6.4*** Items 0.5 74 7.6*** Note. ***p < .001. TABLE 6: Multilevel Regression Model for Duration of In- Car Glances Fixed Effect Estimate df T Intercept 1.0 12 8.5*** Speed −0.0 29 −0.4 Task type −0.2 29 −2.3* Items 0.2 29 2.7* Note. *p < .01, ***p < .001. ACKNOWLEDGEMENTS The authors thank Andrew Howes, Dario Salvucci, and Chris Janssen for providing feedback on the manuscript. Viet Ba Hirvola assisted in model development. This research has been supported by the following institutions: Jussi P. P. Jokinen: Academy of Finland (grant 310947); andAnttiOulasvirta:FinnishCenterforArtificial Intelligence and the European Research Council Starting Grant (COMPUTED) and Academy of Finland project Human Automata. KEY POINTS ●Multitasking can be modeled as strategic adaptation to a reward function, for given taskrelated and cognitive constraints. ●Multitasking strategy manages the uncertainty related to subtasks, attempting to share attentional resources between them to maximize their joint utility. ●A POMDP represents a powerful formalism for modeling and simulating adaptive multitasking behavior. ●A dualtask model of driving and incar visual search demonstrates that humanlike multitasking strategies emerge as rational behavior adapting to tasks and cognitive constraints. ORCID iDs Jussi P. P. Jokinen https:// orcid. org/ 0000- 0002- 3024- 2209 Tuomo Kujala https:// orcid. org/ 0000- 0001- 8222- 8540 REFERENCES Allport, A., Styles, E. A., & Hsieh, S. (1994). Shifting intentional set: exploring the dynamic control of tasks. In Attention and performance (pp. 421–452). MIT Press. Anderson, J. R., Bothell, D., Byrne, M. D., Douglass, S., Lebiere, C., & Qin, Y. (2004). An integrated theory of the mind. Psychological Review, 111, 1036–1060. https:// doi. org/ 10. 1037/ 0033- 295X. 111. 4. 1036 Baloh, R. W., Sills, A. W., Kumley, W. E., & Honrubia, V. (1975). Quantitative measurement of saccade amplitude, duration, and velocity. Neurology, 25, 1065–1065. https:// doi. org/ 10. 1212/ WNL. 25. 11. 1065 Botvinick, M. M. (2012). Hierarchical reinforcement learning and decision making. Current Opinion in Neurobiology, 22, 956– 962. https:// doi. org/ 10. 1016/ j. conb. 2012. 05. 008 Brumby, D. P., Howes, A., & Salvucci, D. D. (2007). A cognitive constraint model of dual-task trade-offs in a highly dynamic driving task. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 233–242). Cnossen, F., Rothengatter, T., & Meijman, T. (2000). Strategic changes in task performance in simulated car driving as an adaptive response to task demands. Transportation Research Part F: Traffic Psychology and Behaviour, 3, 123–140. https:// doi. org/ 10. 1016/ S1369- 8478( 00) 00021-8 Dingus, T. A., Guo, F., Lee, S., Antin, J. F., Perez, M., Buchanan- King, M., & Hankey, J. (2016). Driver crash risk factors and prevalence evaluation using naturalistic driving data. Proceedings of the National Academy of Sciences, 113, 2636–2641. https:// doi. org/ 10. 1073/ pnas. 1513271113 Frank, M. J., & Badre, D. (2011). Mechanisms of hierarchical reinforcement learning in corticostriatal circuits 1: Computational analysis. Cerebral Cortex, 22, 509–526. https:// doi. org/ 10. 1093/ cercor/ bhr114 Gershman, S. J., Horvitz, E. J., & Tenenbaum, J. B. (2015). Computational rationality: A converging paradigm for intelligence in brains, minds, and machines. Science, 349, 273–278. https:// doi. org/ 10. 1126/ science. aac6076 Gutzwiller, R. S., Wickens, C. D., & Clegg, B. A. (2019). The role of rewardandeffortovertimeintaskswitching.Theoretical Issues in Ergonomics Science, 20, 196–214. https:// doi. org/ 10. 1080/ 1463922X. 2018. 1522556 Horrey, W. J., Wickens, C. D., & Consalus, K. P. (2006). Modeling drivers’ visual attention allocation while interacting with invehicle technologies. Journal of Experimental Psychology: Applied, 12, 67–78. https:// doi. org/ 10. 1037/ 1076- 898X. 12. 2. 67 Howes, A. (2018). Interaction as an emergent property of a partially observable Markov decision process. In Computational interaction (pp. 287–310). Howes, A., Lewis, R. L., & Vera, A. (2009). Rational adaptation under task and processing constraints: Implications for testing theories of cognition and action. Psychological Review, 116, 717–751. https:// doi. org/ 10. 1037/ a0017187 Howes, A., Vera, A., Lewis, R. L., & McCurdy, M. (2004). Cognitive constraint modeling: A formal approach to supporting reasoning about behavior. In Proceedings of the Annual Meeting of the Cognitive Science Society (Vol. 26).
Month XXXX - Human Factors 18 Jamson, A. H., & Merat, N. (2005). Surrogate invehicle information systems and driver behaviour: Effects of visual and cognitive load in simulated rural driving. Transportation Research Part F: Traffic Psychology and Behaviour, 8, 79–96. https:// doi. org/ 10. 1016/ j. trf. 2005. 04. 002 Janssen, C. P., Brumby, D. P., & Garnett, R. (2012). Natural break points:Theinfluenceofprioritiesandcognitiveandmotorcues on dualtask interleaving. Journal of Cognitive Engineering and Decision Making, 6, 5–29. Janssen, C. P., & Brumby, D. P. (2015). Strategic adaptation to task characteristics, incentives, and individual differences in dual- tasking. Plos One, 10, e0130009. https:// doi. org/ 10. 1371/ journal. pone. 0130009 Kaelbling, L. P., Littman, M. L., & Cassandra, A. R. (1998). Planning and acting in partially observable stochastic domains. Artificial Intelligence, 101, 99–134. https:// doi. org/ 10. 1016/ S0004- 3702( 98) 00023-X Kircher, K., Ahlstrom, C., Nylin, M., & Mengist, A. (2018). Tactical steering behaviour under irrevocable visual occlusion. Transportation Research Part F: Traffic Psychology and Behaviour, 55, 67–77. https:// doi. org/ 10. 1016/ j. trf. 2018. 02. 035 Kujala, T., & Salvucci, D. D. (2015). Modeling visual sampling on incar displays: The challenge of predicting safetycritical lapses of control. International Journal of Human- Computer Studies, 79, 66–78. https:// doi. org/ 10. 1016/ j. ijhcs. 2015. 02. 009 Lee,J.D.,Roberts,S.C.,Hoffman,J.D.,&Angell,L.S.(2012). Scrolling and driving: How an mp3 player and its aftermarket controller affect driving performance and visual behavior. Human Factors, 54, 250–263. https:// doi. org/ 10. 1177/ 0018720811429562 Lee, J. Y., & Lee, J. D. (2019). Modeling microstructure of drivers’ task switching behavior. International Journal of Human- Computer Studies, 125, 104–117. https:// doi. org/ 10. 1016/ j. ijhcs. 2018. 12. 007 Meyer, D. E., & Kieras, D. E. (1997). A computational theory of executive cognitive processes and multipletask performance: Part 1. basic mechanisms. Psychological Review, 104, 3–65. https:// doi. org/ 10. 1037/ 0033- 295X. 104. 1.3 Navon, D., & Gopher, D. (1979). On the economy of the humanprocessing system. Psychological Review, 86, 214–255. https:// doi. org/ 10. 1037/ 0033- 295X. 86. 3. 214 Noy, Y. I., Lemoine, T. L., Klachan, C., & Burns, P. C. (2004). Task interruptability and duration as measures of visual distraction. Applied Ergonomics, 35, 207–213. https:// doi. org/ 10. 1016/ j. apergo. 2003. 11. 012 Roberts,S.,&Pashler,H.(2000).Howpersuasiveisagoodfit?A comment on theory testing. Psychological Review, 107, 358– 367. https:// doi. org/ 10. 1037/ 0033- 295X. 107. 2. 358 Salvucci, D. D. (2001). An integrated model of eye movements and visual encoding. Cognitive Systems Research, 1, 201–220. https:// doi. org/ 10. 1016/ S1389- 0417( 00) 00015-2 Salvucci, D. D. (2006). Modeling driver behavior in a cognitive architecture. Human Factors, 48, 362–380. https:// doi. org/ 10. 1518/ 001872006777724417 Salvucci, D. D., & Taatgen, N. A. (2008). Threaded cognition: An integrated theory of concurrent multitasking. Psychological Review, 115, 101–130. https:// doi. org/ 10. 1037/ 0033- 295X. 115. 1. 101 Senders, J. W. (1964). The human operator as a monitor and controller of multidegree of freedom systems. IEEE Transactions on Human Factors in Electronics, 1, 2–5. https:// doi. org/ 10. 1109/ THFE. 1964. 231647 Senders,J.W.,Kristofferson,A.,Levison,W.,Dietrich,C.,&Ward,J. (1967). The attentional demand of automobile driving. Highway ResearchRecord 195: Road User Characteristics, 15–33. Shannon, C. E. (1948). A mathematical theory of communication. Bell System Technical Journal, 27, 379–423. https:// doi. org/ 10. 1002/ j. 1538- 7305. 1948. tb01338.x Sheridan, T. B. (1970). On how often the supervisor should sample. IEEE Transactions on Systems Science and Cybernetics, 6, 140– 145. https:// doi. org/ 10. 1109/ TSSC. 1970. 300289 Simon, H. A. (1969). The sciences of the artificial. MIT Press. Sprague, N., & Ballard, D. (2004). Eye movements for reward maximization. Advances in Neural Information Processing Systems, 16. Sullivan, B. T., Johnson, L., Rothkopf, C. A., Ballard, D., & Hayhoe, M. (2012). The role of uncertainty and reward on eye movements in a virtual driving task. Journal of Vision, 12, 19–17. https:// doi. org/ 10. 1167/ 12. 13. 19 Sutton, R. S., & Barto, A. G. (1998). Reinforcement learning: An introduction. MIT Press. Tong, M. H., Zohar, O., & Hayhoe, M. M. (2017). Control of gaze while walking: Task structure, reward, and uncertainty. Journal of Vision, 17, 28–19. https:// doi. org/ 10. 1167/ 17. 1. 28 Wickens, C. D., Goh, J., Helleberg, J., Horrey, W. J., & Talleur, D. A. (2003). Attentional models of multitask pilot performance using advanced display technology. Human Factors, 45, 360–380. https:// doi. org/ 10. 1518/ hfes. 45. 3. 360. 27250 Wierwille, W. W. (1993). An initial model of visual sampling of incar displays and controls. Vision in Vehicles, 4, 271–280. Wortelen, B., Baumann, M., & Lüdtke, A. (2013). Dynamic simulation and prediction of drivers’ attention distribution. Transportation Research Part F: Traffic Psychology and Behaviour, 21, 278– 294. https:// doi. org/ 10. 1016/ j. trf. 2013. 09. 019 Jussi P. P. Jokinen is a postdoc researcher at the department of Communications and Networking, Aalto University, Finland, and adjunct professor in computer science, University of Helsinki. He obtained his PhD in cognitive science from University of Jyväskylä, Finland, in 2015. Tuomo Kujala is a senior researcher in cognitive science at the Faculty of Information Technology at University of Jyväskylä, Finland, and adjunct professor in cognitive science at University of Helsinki. He obtained his PhD in cognitive science from University of Jyväskylä, Finland, in 2010. Antti Oulasvirta is an associate professor at the department of Communications and Networking, Aalto University, Finland. He obtained his PhD in cognitive science from University of Helsinki, Finland, in 2006. Date received: June 12, 2019 Date accepted: April 21, 2020