| { |
| "paper_id": "2020", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T12:17:08.849434Z" |
| }, |
| "title": "Production-based Cognitive Models as a Test Suite for Reinforcement Learning Algorithms", |
| "authors": [ |
| { |
| "first": "Adrian", |
| "middle": [], |
| "last": "Brasoveanu", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "UC Santa Cruz", |
| "location": { |
| "addrLine": "Linguistics 1156 High St", |
| "postCode": "95064", |
| "settlement": "Santa Cruz", |
| "region": "CA" |
| } |
| }, |
| "email": "" |
| }, |
| { |
| "first": "Jakub", |
| "middle": [], |
| "last": "Dotla\u010dil", |
| "suffix": "", |
| "affiliation": { |
| "laboratory": "", |
| "institution": "Utrecht University Utrecht", |
| "location": { |
| "country": "The Netherlands" |
| } |
| }, |
| "email": "j.dotlacil@gmail.com" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "We introduce a framework in which production-rule based computational cognitive modeling and Reinforcement Learning can systematically interact and inform each other. We focus on linguistic applications because the sophisticated rule-based cognitive models needed to capture linguistic behavioral data promise to provide a stringent test suite for RL algorithms, connecting RL algorithms to both accuracy and reactiontime experimental data. Thus, we open a path towards assembling an experimentally rigorous and cognitively realistic benchmark for RL algorithms. We extend our previous work on lexical decision tasks and tabular RL algorithms (Brasoveanu and Dotla\u010dil, 2020b) with a discussion of neural-network based approaches, and a discussion of how parsing can be formalized as an RL problem.", |
| "pdf_parse": { |
| "paper_id": "2020", |
| "_pdf_hash": "", |
| "abstract": [ |
| { |
| "text": "We introduce a framework in which production-rule based computational cognitive modeling and Reinforcement Learning can systematically interact and inform each other. We focus on linguistic applications because the sophisticated rule-based cognitive models needed to capture linguistic behavioral data promise to provide a stringent test suite for RL algorithms, connecting RL algorithms to both accuracy and reactiontime experimental data. Thus, we open a path towards assembling an experimentally rigorous and cognitively realistic benchmark for RL algorithms. We extend our previous work on lexical decision tasks and tabular RL algorithms (Brasoveanu and Dotla\u010dil, 2020b) with a discussion of neural-network based approaches, and a discussion of how parsing can be formalized as an RL problem.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Abstract", |
| "sec_num": null |
| } |
| ], |
| "body_text": [ |
| { |
| "text": "We introduce a framework in which we can start exploring how Reinforcement Learning (RL; Sutton and Barto 2018) algorithms scale up against human cognitive performance, as captured by complex, production-based cognitive models. Our ultimate goal is to focus on sophisticated cognitive models of linguistic skills, e.g., the parsers in Lewis and Vasishth (2005) ; Hale (2011); Engelmann (2016), because cognitive models that use theoreticallygrounded linguistic representations and processes call for richly structured representations and complex rule systems that pose significant challenges for RL algorithms. These cognitive models, which capture humanparticipant accuracy and latency data obtained from forced-choice and reaction-time experiments, can provide exacting, experimentally established benchmarks for the performance of artificial RL agents. These benchmarks will enable us to see if and when different RL algorithms fail, and how exactly they fail. In this paper, we report a small pilot study that exemplifies three modes of failure. Neural-network based function-approximation approaches sometimes (i) fail to learn even fairly simple rule systems in a stable manner. Even when they seem to learn, (ii) they fail by learning a lot of noise (incorrect rules), particularly in more complex tasks. Tabular approaches fare better, but (iii) learn complex tasks much more slowly, and still learn a lot of noise in more complex tasks, albeit less so than neural-network approaches.", |
| "cite_spans": [ |
| { |
| "start": 335, |
| "end": 360, |
| "text": "Lewis and Vasishth (2005)", |
| "ref_id": "BIBREF11" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Reinforcement Learning and Production-based Cognitive Models", |
| "sec_num": "1" |
| }, |
| { |
| "text": "Bridging the RL-cognitive modeling divide also promises to shed new light on the issue of cognitive model learnability. The learnability problem for production-rule based models can be divided into two parts: (i) rule acquisition -forming complex rules out of simpler ones, and (ii) rule orderingdeciding which rule to fire when. We focus here on the easier problem of rule ordering, and show how, on one hand, linguistic cognitive models provide a benchmark for RL algorithms and, on the other hand, RL provides a framework to systematically investigate cognitive model learnability in a formally and computationally explicit way.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Reinforcement Learning and Production-based Cognitive Models", |
| "sec_num": "1" |
| }, |
| { |
| "text": "We investigate the issue of rule-ordering learning using the Adaptive Control of Thought-Rational (ACT-R) cognitive architecture (see Anderson and Lebiere 1998; Anderson 2007) . The advantage of using ACT-R is that this cognitive architecture and RL have very close, albeit largely unexplored, connections (Fu and Anderson 2006, Sutton and Barto 2018, Ch. 14) . ACT-R tries to address the rule acquisition and ordering problems, but its proposed solutions -production compilation and rule-utility estimation, respectively -have not been systematically applied to complex models for linguistic skills (apart from Taatgen and Anderson 2002 , which investigates the role of production compilation in morphology acquisition).", |
| "cite_spans": [ |
| { |
| "start": 134, |
| "end": 160, |
| "text": "Anderson and Lebiere 1998;", |
| "ref_id": "BIBREF1" |
| }, |
| { |
| "start": 161, |
| "end": 175, |
| "text": "Anderson 2007)", |
| "ref_id": "BIBREF0" |
| }, |
| { |
| "start": 306, |
| "end": 313, |
| "text": "(Fu and", |
| "ref_id": "BIBREF8" |
| }, |
| { |
| "start": 314, |
| "end": 339, |
| "text": "Anderson 2006, Sutton and", |
| "ref_id": null |
| }, |
| { |
| "start": 340, |
| "end": 359, |
| "text": "Barto 2018, Ch. 14)", |
| "ref_id": null |
| }, |
| { |
| "start": 612, |
| "end": 637, |
| "text": "Taatgen and Anderson 2002", |
| "ref_id": "BIBREF16" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Reinforcement Learning and Production-based Cognitive Models", |
| "sec_num": "1" |
| }, |
| { |
| "text": "After a brief overview of ACT-R and the description of a linguistic task for which rule-ordering learning will be studied (Section 2), we show how the linguistic task can be analyzed as an RL problem (Section 3), and discuss the results of our experiments with tabular and neural-network based Q-learning algorithms (Section 4). We then briefly discuss how parsing can be formalized as an RL problem (Section 5), and conclude with a summary and some directions for future work (Section 6).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Reinforcement Learning and Production-based Cognitive Models", |
| "sec_num": "1" |
| }, |
| { |
| "text": "There are two types of memory in ACT-R. On one hand, we have declarative memory ('knowing that'), which encodes our knowledge of facts. Facts are represented as chunks / attribute-value matrices, e.g., the lexical chunk for the word elephant:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "( sg On the other hand, we have procedural memory ('knowing how'), which consists of the set of productions that fire in series to generate cognitive behavior / processes. These productions have the form of rewrite rules in formal grammars (e.g., context free / phrase structure grammars), but in ACT-R, they are conditionalized cognitive actions: the ACT-R mind fires a production, i.e., takes the action encoded in it, if the current cognitive state satisfies the preconditions of that production. Procedural memory and its production rules are the focus of our investigation and RL experiments here.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "An example production is provided in (2): if the current cognitive state is such that the goal buffer (which drives cognitive processes in ACT-R) encodes a TASK of 'retrieving' the lexical entry for the FORM 'elephant,' then (=\u21d2), we take the action of placing a Retrieval (buffer) request to search declarative memory for a word with the FORM 'elephant,' and we consequently update the TASK in the goal buffer to one of 'retrieval done.'", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "(2) Goal> TASK:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "retrieving FORM: elephant =\u21d2 Goal> TASK:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "retrieval done Retrieval> ISA: word FORM: elephant Implicit in this example production is that an ACT-R mind is composed of modules, which include declarative and procedural memory, but also visual and motor modules etc. Modules are not directly accessible: they can only be accessed through their associated buffers, e.g., the retrieval buffer is associated with declarative memory. Buffers serve a dual purpose: individually, they provide the input/output interface to specific modules; as a whole, however, buffers represent the current cognitive state of the mind. Crucially, productions fire based on the current cognitive state, i.e., they are conditioned on the contents of various buffers.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The ACT-R architecture constrains cognitive behavior in various ways, two of which are that (i) buffers can hold only one chunk, and (ii) only one production can fire at any given time.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The framework and the range of issues that emerge when we try to systematically bridge RL and ACT-R are best showcased with a simple kind of linguistic tasks: lexical decision (LD) tasks. We briefly outline in Section 5 how to extend this approach to parsing models implemented in ACT-R. In an LD task, human participants see a string of letters on a screen. If the participants think the string of letters is a word, they press one key (J in our setup). If they think the string is not a word, they press a different key (F in our setup). After pressing the key, the next stimulus is presented. We will investigate the extent to which two kinds of RL agents can be used to learn goal-conditioned rules in an ACT-R based cognitive model of LD tasks.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The main point of proposing and examining an ACT-R model of LD tasks is to construct a simple example of a production-rule based model that enables us to study learnability issues associated with RL algorithms. Our discussion recapitulates the main results in Brasoveanu and Dotla\u010dil (2020b) , and extends them with an initial foray into neuralnetwork based RL approaches. The LD model and RL algorithms can be scaled up in future work to more complex and cognitively realistic syntactic and semantic parsing models, since LD is basically a subcomponent of parsing.", |
| "cite_spans": [ |
| { |
| "start": 260, |
| "end": 291, |
| "text": "Brasoveanu and Dotla\u010dil (2020b)", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The LD model provides the basic scaffolding of production rules needed for LD tasks, which is all that we need for our purposes: fleshing it out to capture major experimental results about LD, or comparing it to previously proposed cognitive models of LD is not our focus here.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "We model three LD tasks of increasing length, hence difficulty: (i) a 1-stimulus task consisting only of the word elephant, (ii) a 2-stimuli task consisting of the word elephant and a non-word, and (iii) a 4-stimuli task consisting of the word elephant, a non-word, the word dog, and another non-word.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "The model components are split between declarative memory, which stores the lexical knowledge of an English speaker, and procedural memory, which stores rules that enable the model to carry out the LD task. LD tasks can be modeled in ACT-R with a small number of rules (see Dotla\u010dil 2019, 2020a) . We will assume 4 rules, provided in standard ACT-R format below. These rules were originally hand-coded to fire serially by conditioning all the actions on specific goal states. The goal conditions are stricken out, indicating that goal states were not provided to the RL agents: the order of the rules was not hand-coded for them. Instead, we want the RL agents to learn the rule ordering. With fully specified, hand-coded rules, the LD task unfolds as follows. Assume the initial goal STATE of the ACT-R model is retrieving, and the word elephant appears on the virtual screen of the model, which is automatically stored in the VALUE slot of the visual buffer. At this initial stage, the preconditions of Rule 1 are satisfied, so the rule fires. This starts an attempt to retrieve a word with the form elephant from declarative memory, and the goal STATE is updated to retrieval done. When the word is successfully retrieved, Rule 2 fires and the J key is pressed. At that point:", |
| "cite_spans": [ |
| { |
| "start": 274, |
| "end": 295, |
| "text": "Dotla\u010dil 2019, 2020a)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "i. in the 1-stimulus task, the text FINISHED is displayed, then Rule 4 fires and ends the task;", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "ii. in the 2-stimuli task, the non-word is displayed, then Rule 1 fires again; the retrieval attempt fails since we cannot retrieve a nonword from declarative memory, so Rule 3 fires and the F key is pressed; at that point, the text FINISHED is displayed, then Rule 4 fires and ends the task;", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "iii. in the 4-stimuli task, the first non-word is displayed, Rule 1 fires again, then, just as in the 2-stimuli task, Rule 3 fires and the F key is pressed, after which the word dog is displayed, Rule 1 fires for the third time followed by Rule 2, which means that the J key is pressed and the second non-word is displayed; then, Rule 1 fires for the final time, followed by Rule 3, which triggers an F-key press, after which the text FINISHED is displayed, so Rule 4 fires and ends the task.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Thus, the rule sequences for the 3 LD tasks are as shown in (3), assuming fully specified, handcoded rules. However, as we mentioned, we do not hand-code the goal-state preconditions, indicated by striking out the goal states in the 4 rules above. We only specify the actions (and preconditions associated with buffers other than the goal buffer) and let the RL agents, which can select any rule at any given time, learn to carry out the LD tasks.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "( 3)1-stim rules:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "[1 -2] -4 2-stim rules: [1 -2] -[1 -3] -4 4-stim rules: [1 -2] -[1 -3] -[1 -2] -[1 -3] -4", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "We see that proper rule ordering / sequencing is crucial to successfully completing an LD task, which is like searching for a path through a maze: (i) the position in the maze is the current cognitive state of the ACT-R mind, (ii) the possible moves (up, left etc.) are the production rules we can fire, and (iii) a path through the maze is given by the proper sequence of production rules we need to fire to complete the LD task.", |
| "cite_spans": [ |
| { |
| "start": 250, |
| "end": 265, |
| "text": "(up, left etc.)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Learning Goal-conditioned Rules in Lexical Decision: A Simple Test Case", |
| "sec_num": "2" |
| }, |
| { |
| "text": "Markov Decision Processes (MDPs) are the stochastic models of sequential decision-making that form the basis of RL approaches to learning. In an MDP, an agent interacts with its environment and needs to make decisions at discrete time steps t = 1, 2, . . . , n. Defining what counts as the agent and what counts as its environment is part of the modeling process. At every step t, all the information from the past relevant for the current action selection is captured in the current state of the process s t . This is the Markov property: the future is independent of the past given the current state. As Figure 1 shows, the environment passes to the agent a state s t and, at the same time, a reward signal r t . The agent observes the current state s t and reward r t and takes an action a t , which is passed from the agent to the environment. The cycle then continues: at time step t + 1, the environment responds to the agent's action with a new state s t+1 and a new reward signal r t+1 . Based on these, the agent selects a new action a t+1 etc. The definitions of 'state' and 'action' depend on the problem, and are part of the modeling process, just like defining what counts as the agent and its environment.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 606, |
| "end": 614, |
| "text": "Figure 1", |
| "ref_id": "FIGREF0" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The agent's policy is a complete specification of what action to take at any time step. Given the Markovian nature of the MPD, the policy \u03c0 is effectively a mapping from the state space S to the action space A, \u03c0 : S \u2192 A. A deterministic policy is a mapping from any given state s t to an action a t = \u03c0(s t ), while a stochastic policy is a mapping from any given state s t to a probability distribution over actions a t \u223c \u03c0(s t ).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The agent's goal is to maximize some form of cumulative reward over an episode, which is a com-plete, usually multi-step interaction between the agent and its environment. In our case, an episode would be a full simulation of a 1/2/4-stim LD task.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The agent learns (solves/optimizes the MDP) by updating its policy \u03c0 to maximize the (per-episode) cumulative reward. The standard cumulative reward for an episodic task is the discounted return G: at time step t < n (n is the final step in the episode),", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "G t = r t+1 + \u03b3r t+2 + \u03b3 2 r t+3 + \u2022 \u2022 \u2022 + \u03b3 n\u2212t\u22121 r n ,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "i.e., G t is the sum of the current reward and the discounted future rewards until the final step n of the episode. Future rewards are discounted in finite / episodic tasks because the agent has a preference for more immediate rewards. The present value of future rewards is determined by the discount factor \u03b3 (0 \u2264 \u03b3 \u2264 1). We define the (state-)action value function Q \u03c0 (s, a) to be the expected (discounted) return when starting in state s, performing action a and then following the policy \u03c0 until the end of the episode.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The agent selects actions with the goal of maximizing its expected discounted return. If we estimate the Q function for a given policy based on the interactions between the agent and its environment, i.e., based on experience, we can improve that policy by 'greedification:' given a state s, we can always select the optimal action in s, i.e., the action with the maximal expected return according to our current Q estimate.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Q-learning algorithms, which are the focus of our investigation here (given their widespread use), come in various flavors. The simplest one is tabular Q-learning (Watkins, 1989; Watkins and Dayan, 1992) , which is fairly effective for our LD tasks. We will also investigate approaches that approximate the Q-function with neural networks, specifically Deep Q-networks (DQN, Mnih and al 2015).", |
| "cite_spans": [ |
| { |
| "start": 163, |
| "end": 178, |
| "text": "(Watkins, 1989;", |
| "ref_id": "BIBREF19" |
| }, |
| { |
| "start": 179, |
| "end": 203, |
| "text": "Watkins and Dayan, 1992)", |
| "ref_id": "BIBREF18" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "In tabular Q-learning, the Q function S\u00d7A \u2192 R is represented as a look-up table that stores the estimated values of all possible state-action pairs. The Q table is initialized to an arbitrary fixed value (0). The agent then updates the Q table incrementally at each time step t: the value of the pair (s t , a t ), where s t is the state relative to which the agent took action a t , is updated based on the reward signal r t+1 and the new state s t+1 that the agent receives back from the environment after taking action a t .", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Q-learning is a form of temporal difference (TD) learning, as shown in (4). The Q new value estimate for the state-action pair (s t , a t ) is based on the Q old value, updated by some proportion \u03b1 (the learning rate; 0 < \u03b1 \u2264 1) of the TD error.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "(4)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Q new (st, at) \u2190 Q old (st, at) + \u03b1 \u2022 TD (temporal difference) error rt+1 + \u03b3 \u2022 max a t+1 Q old (st+1, at+1)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "next-state value estimate TD target (updated value)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "\u2212 Q old (st, at)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The TD error is the difference between the TD target -which is an updated estimate of the value of the (s t , a t ) pair -and the Q old value estimate. The TD target consists of (i) the reward r t+1 the agent receives after action a t , which is part of the new data the agent gets back from the environment after action a t , plus (ii) the estimate of the value of the next state s t+1 , where the next state s t+1 is the other part of the new data the agent gets back from the environment after action a t . The Q-learning optimal estimate for the value of the next state s t+1 is discounted by \u03b3, since this state is in the future relative to the state-action pair (s t , a t ) we're currently updating. This optimal estimate for s t+1 is aggressively confident / optimistic (in contrast to Expected Sarsa, for example; see van Seijen et al. 2009) : the agent looks at all the possible actions a t+1 that can be taken in state s t+1 and assumes that the action a t+1 with the highest Q old -value provides an accurate estimate of the s t+1 value.", |
| "cite_spans": [ |
| { |
| "start": 831, |
| "end": 850, |
| "text": "Seijen et al. 2009)", |
| "ref_id": "BIBREF17" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "For tabular Q-learning, the agent (in the RL sense) is a Q-value table that assigns values to all possible state-action pairs and that guides the rule selection process at every cognitive step. The environment is the cognitive state of the ACT-R model / mind, which could conceivably consist of (i) all the modules (procedural memory, declarative memory and visual and motor modules) together with (ii) their associated buffers (goal, retrieval, visualwhat, visual-where and the manual buffer). This, however, would lead to a very large state space S, which in turn would lead to a large Q-value table. DQN and similar neural-network approaches can help with the large state-space problem, but we will nonetheless take a state s to consist just of: (i) the goal buffer, (ii) the retrieval buffer, (iii) the value in the visual-what buffer, if any, and finally, (iv) the state of the manual buffer (busy or free). For example, the state after the word elephant is retrieved from declarative memory is: goal: {STATE: retrieval done}, retrieval: {FORM: elephant}, visual value: elephant, manual: free.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The action space consists of the 4 rules above, namely retrieving, lexeme retrieved, no lexeme found and finished, together with a special action None that the agent selects when it wants to not fire any rule because it prefers to wait for a new cognitive state. The reward structure is as follows: (i) the agent receives a positive reward of 1 at the end of an episode (when the LD task is completed), specifically, when the goal STATE is done; (ii) the agent receives a negative reward of \u22120.15 for every rule it selects, other than None; (iii) there is no penalty for waiting and selecting no rule, i.e., for selecting the special action None, which is optimal when waiting for retrieval requests from declarative memory to complete, for example; (iv) finally, at every step, the agent receives a negative reward equal to the amount of time that has elapsed between the immediately preceding step and the current step (multiplied by \u22121 to make it negative).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "This reward structure is designed to encourage the agent to finish the task as soon as possible by selecting the smallest number of rules. The negative temporal reward (iv) discourages the agent from just repeatedly selecting an action, e.g., None. This ends up timing out the LD task in a small number of steps and fast-forwards the agent to the maximum waiting time per stimulus the ACT-R environment allows for, which we set to 2 seconds per word for the LD task.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Thus, given a simple reward structure that incorporates fairly minimal cognitive assumptions, RL enables us to induce proper rule sequences to complete the LD tasks: RL enables us to leverage the simple assumptions built into the reward structure to solve the much harder rule-ordering problem by direct experience / trial-and-error interaction with the LD tasks.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Rule Ordering as an RL Problem", |
| "sec_num": "3" |
| }, |
| { |
| "text": "We assume the usual ACT-R defaults, e.g., rule firing time is set to 50 ms. The discount factor \u03b3 is set to 0.95 and the learning rate \u03b1 is set to 10 \u22123 . We use an -greedy policy to balance exploration and exploitation, with annealed from a maximum of 1 to a minimum of 0.01.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Experiments and Results", |
| "sec_num": "4" |
| }, |
| { |
| "text": "We investigate two types of agents / algorithms: (i) tabular Q-learning (the main results for tabular agents are from Brasoveanu and Dotla\u010dil 2020b), and (ii) DQN. To a large extent, the agents learn by trial and error to successfully carry out the LD tasks: they learn how to properly order the rules and complete the LD tasks as efficiently as possible. This is no small feat given that the actual number of steps, i.e., decision points, when the agents needs to select an action, is larger than the high-level sequences of rule firings in (3) above. For example, for a 1-stim task, there are actually 12 steps where the agent needs to decide whether to wait or to fire a specific rule (when the agent does not complete the task perfectly, it might take much more than 12 steps). The 2-stim task requires 18 such steps (if perfectly completed), and the 4-stim task requires 34 steps (again, if perfectly completed).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Experiments and Results", |
| "sec_num": "4" |
| }, |
| { |
| "text": "The reason for the higher number of steps compared to the number of rules is that our LD simulations involve the visual and motor modules (to read strings of characters and to press keys) in addition to the declarative memory module. Visual and motor actions, just as retrievals from declarative memory, take time, and the agent needs to make decisions while waiting for them to complete.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Experiments and Results", |
| "sec_num": "4" |
| }, |
| { |
| "text": "The higher the number of steps, i.e., the higher number of decision points for the tabular agent, the harder the task is to learn for the tabular agents. As the plots in Figure 2 show, repeated from Brasoveanu and Dotla\u010dil (2020b) , learning is faster and less noisy for shorter tasks (fewer stimuli), but the tabular Q-learning agent manages to learn even the most complex 4-stimuli task moderately well.", |
| "cite_spans": [ |
| { |
| "start": 199, |
| "end": 230, |
| "text": "Brasoveanu and Dotla\u010dil (2020b)", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 170, |
| "end": 178, |
| "text": "Figure 2", |
| "ref_id": "FIGREF1" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Tabular Q-learning in LD Tasks", |
| "sec_num": "4.1" |
| }, |
| { |
| "text": "We simulate 15,000 episodes, i.e., 15,000 LD decision tasks consisting of 1 stimulus only (the word elephant), from which the tabular Q agent learnsshown in the leftmost plot in Figure 2 . After about 5,000 episodes, the task is completed in \u2248 12 steps, which is the length of the task when completed perfectly. For some episodes, the number of steps is smaller than 12. In these cases, the agent times out the task (e.g., by selecting the None action several times) and receives steep negative temporal rewards leading to low returns.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 178, |
| "end": 186, |
| "text": "Figure 2", |
| "ref_id": "FIGREF1" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Tabular Q-learning in LD Tasks", |
| "sec_num": "4.1" |
| }, |
| { |
| "text": "A close examination of the agent's final Q-value table, which stores the agent's rule-firing preferences for any given state, indicates that the agent has learned goal-conditioned rules perfectly. We only look at states for which at least one action/rule has a non-0 value (recall that all Q-values are initialized to 0). For each such state, we identify the action/rule with the highest value. There are 8 states total with at least one non-0 value action, and the maximum-value action for each of these states makes complete sense. For example, None is the maximum-value rule at the beginning of every episode when the agent waits for some text to be automatically detected and stored in the visual buffer. Similarly, after a retrieval request is placed, the agent waits for the process to complete.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Tabular Q-learning in LD Tasks", |
| "sec_num": "4.1" |
| }, |
| { |
| "text": "As the middle plot in Figure 2 shows, we also simulate 15,000 2-stim episodes (LD tasks consisting of the word elephant and the non-word not a word). After about 9,000 episodes, the task is completed in \u2248 18 steps, which is the length of this task when the agent completes it perfectly. A close examination of the agent's final Q-value table indicates that the agent has learned goalconditioned rules almost perfectly. Once again, we only look at states for which at least one action has a non-0 value -a total of 13 states. For each state, we identify the maximum-value action, and for 12 states, this action makes complete sense. However, unlike in the 1-stim task, there is one state-action pair that encodes a questionable rule. We see here how, for more complex tasks, the tabular RL agents learn spurious rules, which are a by-product of the noisy trial-and-error learning process. This lack of robust learning, which can be characterized as overgeneralization, or as vulnerability to 'adversarial' inputs, becomes even more prominent in the 4-stim task, where the tabular Q-learning agent learns even more spurious rules. As the rightmost plot in Figure 2 shows, we simulate 25,000 4-stim episodes (LD tasks consisting of the word elephant, a non-word, the word dog and another non-word). We need more episodes for this task because it is longer, hence more complex, than the 1/2-stim tasks. It takes about 22,000 episodes for the task to be reliably completed in less than 40 steps. The task takes 34 steps when the agent completes it perfectly, but even after 25,000 episodes, the agent takes more steps than that because it tries incorrect rules or waits for no reason. An examination of the final Q-value table indicates that the agent has learned goal-conditioned rules fairly well, but there is also a good amount of spurious rules. There are 24 states total with at least one action with a non-0 value. Out of these, 6 states have questionable / nonsensical maximum-value actions.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 22, |
| "end": 30, |
| "text": "Figure 2", |
| "ref_id": "FIGREF1" |
| }, |
| { |
| "start": 1154, |
| "end": 1162, |
| "text": "Figure 2", |
| "ref_id": "FIGREF1" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Tabular Q-learning in LD Tasks", |
| "sec_num": "4.1" |
| }, |
| { |
| "text": "The DQN agents use an artificial neural network (ANN) to approximate the Q-function. We use a simple multilayer perceptron with a hidden layer of size 64. A small hyperparameter search indicated that a hidden size of 32 seems to be too small, while 128 or 256, for example, seems to be too large.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "The ANNs are trained using 1-step semi-gradient TD (a.k.a. semi-gradient TD(0); Sutton and Barto 2018, Chapters 9-11), with the Adam optimizer (Kingma and Ba, 2015) and a mean squared TD error loss function (see (4) above for the TD error).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "As the leftmost plot in Figure 3 shows, the DQN agent takes longer than the tabular agent to learn the 1-stim task, but it completes it more or less perfectly after about 7,500 episodes. We inspect the Qfunction approximation encoded by the ANN at the end of the simulation by identifying the maximumvalue rule for each of the 36 possible states. Unlike tabular approaches, function-approximation approaches aggressively generalize over states by design, which is why they are appropriate for large state (and action) spaces. The final Q-function approximation aggressively generalizes by taking the finished rule to be the maximum value action for 31 out of 36 states. This makes sense given that the finished rule is immediately followed by the final positive reward of 1.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 24, |
| "end": 32, |
| "text": "Figure 3", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "The other rules are triggered largely only when they are appropriate. For example, the lexeme retrieved rule is triggered only in one state -immediately after the word 'elephant' is successfully retrieved from declarative memory. The None rule is only triggered in two states: when the agent is waiting for the visual module to autodetect and encode the text on the virtual screen, and when waiting for the retrieval request to declarative memory to complete. But the DQN agent overgeneralizes the retrieving rule. It is appropriately triggered after the text on the virtual screen is stored in the visual buffer, i.e., when visual value is the word 'elephant,' but it is also triggered in one other state when the None rule is appropriate because the agent is waiting for the visual module to auto-detect the text on the virtual screen.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "As the middle plot in Figure 3 shows, the DQN agent fails to learn the 2-stim task in a stable manner. We tried several different random seeds, and the DQN agent exhibits unstable learning in most of them, sometimes to an even larger extent than depicted here. An examination of the final Qfunction approximation reveals that, once again, the finished rule is the maximum value action for the vast majority of states (37 out of 48). The None rule is triggered only in 4 states. In two of them, the agent is waiting for the visual module to auto-detect the text on the virtual screen and encode it in the visual buffer (whether the manual buffer is free or busy). In another one, the agent is waiting for the retrieval request associated with the non-word to complete. However, the DQN agent has not learned that None should also be triggered when waiting for the retrieval request associated with 'elephant,' and it incorrectly triggers None in a state where retrieving is more appropriate.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 22, |
| "end": 30, |
| "text": "Figure 3", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "The lexeme retrieved rule is triggered in 3 states. One of them is the expected one: immediately after the word 'elephant' is successfully retrieved from declarative memory. Another one is a reasonable overgeneralization to a state that is exactly the same as the first one except that the visual value is the non-word. In the third state, however, the None rule is more appropriate since the retrieval process for the word 'elephant' is still in progress. The agent has clearly not learned when to trigger the no lexeme found rule, which is triggered in only one state for which the retrieving rule is appropriate (since the word 'elephant' has just been read off the virtual screen). Finally, the retrieving rule is triggered in 3 states, one of which is appropriate as it immediately follows the point at which the nonword has been read off the virtual screen. However, the DQN agent also triggers this rule in two other states, for which it does not make much sense.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "As the rightmost plot in Figure 3 shows, the DQN agent seems to performs much better than the tabular Q agent on the 4-stim task, learning to complete it efficiently after about 2,000 episodes. But an examination of the final Q-function approximation reveals an unexpected result: the retrieving rule is aggressively overgeneralized to 82 states (out of 108). The finished rule is the maximum value action for 9 states only, the lexeme retrieved rule for 8 states, the None rule for 7 states, and the no lexeme found rule for 2 states.", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 25, |
| "end": 33, |
| "text": "Figure 3", |
| "ref_id": null |
| } |
| ], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "The finished rule is mostly triggered in states in which the visual value is FINISHED (5 out of 9 states), but it is also incorrectly triggered in states in which the 4 stimuli are stored in the visual buffer. It is not clear at all that the agent has learned this rule. The lexeme retrieved rule exhibits a similar profile. It is correctly triggered when the retrieval process for the two words are completed successfully, but there is a lot of noise also: 6 out of 8 states are not states in which this rule should be clearly triggered, and in two of them, the retrieval buffer is empty. Thus, it is far from clear that the agent has learned the lexeme retrieved rule.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "The None rule is appropriately triggered when the agent is waiting for the visual module to autodetect text on the virtual screen, and when waiting for retrieval requests to complete for the two words 'elephant' and 'dog.' However, the agent has not learned to trigger this rule when waiting for retrieval requests associated with the two non-words. In addition, this rule is overgeneralized to several states where the retrieving rule is more appropriate. Finally, the DQN agent has clearly learned the no lexeme found rule: it is triggered in only two states, after failed retrieval requests associated with the two non-words.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "In conclusion, we see that the DQN agent fails to learn the 2-stim task in a stable manner, learns the 1-stim task more slowly than the tabular Q agent, but exhibits an interesting behavior on the 4-stim task. This task seems to be learned very quickly (compared to tabular Q), but there is a very significant amount of noise in the final Q-function approximation. It is therefore not clear that the appropriate preconditions for most of the rules have actually been learned.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "DQN in LD Tasks", |
| "sec_num": "4.2" |
| }, |
| { |
| "text": "In this section, we briefly discuss how parsing can be formalized as an RL problem. Just as the LD task, the parsing task can be implemented in ACT-R (cf. Lewis and Vasishth 2005; Dotla\u010dil 2018, 2020a) . The parser components are split over various ACT-R modules and buffers: (i) lexical knowledge is encoded in declarative memory, (ii) knowledge of grammar and parsing actions are encoded in procedural memory, (iii) expectations about upcoming syntactic categories are encoded in the goal buffer, (iv) information about the current partially-built syntactic parse is encoded in the imaginal buffer (a secondary goal-like buffer), and finally, (v) visual information from the environment is transferred via the visual buffer.", |
| "cite_spans": [ |
| { |
| "start": 155, |
| "end": 179, |
| "text": "Lewis and Vasishth 2005;", |
| "ref_id": "BIBREF11" |
| }, |
| { |
| "start": 180, |
| "end": 201, |
| "text": "Dotla\u010dil 2018, 2020a)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing as an RL Problem", |
| "sec_num": "5" |
| }, |
| { |
| "text": "We consider a simple example, which features an eager left-corner parser (Resnik, 1992) . Assume we have a simple grammar with four phrase structure rules: (i) S \u2192 NP VP, (ii) NP \u2192 Det N, (iii) VP \u2192 V, (iv) VP \u2192 V NP. Also, assume that we are reading the sentence A boy sleeps word by word. As shown in Figure 4 , we start with the empty visual buffer and our goal stack (the stack of the expected syntactic categories) consists of just S: our goal is to parse a sentence.", |
| "cite_spans": [ |
| { |
| "start": 73, |
| "end": 87, |
| "text": "(Resnik, 1992)", |
| "ref_id": "BIBREF13" |
| } |
| ], |
| "ref_spans": [ |
| { |
| "start": 303, |
| "end": 311, |
| "text": "Figure 4", |
| "ref_id": "FIGREF2" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Parsing as an RL Problem", |
| "sec_num": "5" |
| }, |
| { |
| "text": "We then shift focus to the first word, the information is transferred to the goal buffer, at which point we retrieve its syntactic category Det(erminer) from declarative memory. We can now take a series of cognitive steps -that is, we fire a series of productions -that lead to a new state. The new goal stack is N S: we now have the subgoal of finding a N(oun) on the way to S. Also, we build a partial syntactic structure of the form shown in the leftmost tree in Figure 4 , and store it in the imaginal buffer. The noun boy is then brought into focus, its syntactic category N is retrieved, and we discharge the N goal at the top of the goal stack. At this point, we have the full corner of the rule S \u2192 NP VP, so we trigger it, which eagerly discharges the S goal and replaces it with the goal of finding a VP (verb phrase). At the same time, a richer partial tree, shown in the middle of Figure 4 , is stored in the imaginal buffer. Finally, the verb sleeps is in focus, its syntactic category V is retrieved from declarative memory, and we trigger the rule VP \u2192 V that discharges the VP goal, resulting in an empty goal stack and the rightmost tree structure in Figure 4 .", |
| "cite_spans": [], |
| "ref_spans": [ |
| { |
| "start": 466, |
| "end": 474, |
| "text": "Figure 4", |
| "ref_id": "FIGREF2" |
| }, |
| { |
| "start": 893, |
| "end": 901, |
| "text": "Figure 4", |
| "ref_id": "FIGREF2" |
| }, |
| { |
| "start": 1168, |
| "end": 1176, |
| "text": "Figure 4", |
| "ref_id": "FIGREF2" |
| } |
| ], |
| "eq_spans": [], |
| "section": "Parsing as an RL Problem", |
| "sec_num": "5" |
| }, |
| { |
| "text": "We see that rule ordering plays two roles in parsing. First, the parser has to correctly sequence actions per word: it has to collect the visual information, move it to the goal buffer, recall lexical information from the declarative memory, carry out a parsing action and move its visual attention to the following word. This sequencing of actions is akin to the one explored in the LD task. In addition, the parser has to find the right path through the sequence of parsing rules, e.g., it has to realize that the Det element at the start of the sentence should trigger the NP \u2192 Det N rule, followed by discharging the N goal etc. Incorrect sequencing would eventually lead to a dead end. For example, had the parser triggered the VP \u2192 V NP rule when parsing sleeps, it would incorrectly end up with an expectation for a non-existent direct object.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing as an RL Problem", |
| "sec_num": "5" |
| }, |
| { |
| "text": "We argued that sophisticated production-based cognitive models used to capture human behavioral data (particularly linguistic behavior) promise to provide a stringent test suite for RL algorithms. An immediate follow-up would be to explore how RL algorithms perform on a variety of productionbased cognitive models, whether linguistic, e.g., syntactic or semantic parsing, or non-linguistic. We have conducted pilot experiments with simple parsing models and tasks, and they are much more difficult than the LD tasks explored in this paper.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Summary and Future Work", |
| "sec_num": "6" |
| }, |
| { |
| "text": "Another direction for future research is investigating other value-based tabular learning algorithms (Sarsa, Expected Sarsa), as well as extensively studying ANN-based functionapproximation approaches to reinforcement learning, both value and policy based.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Summary and Future Work", |
| "sec_num": "6" |
| }, |
| { |
| "text": "Similarly, we might want to investigate curriculum learning (see Elman 1993; Rusu and al 2016 among others) for increasingly complex tasks. A DQN agent that has already learned the 1-stim task might be able to learn the 2/4-stim tasks quickly and well. Curriculum or transfer learning might also enable agents to learn from much fewer interactions, and/or from explicit instructions.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Summary and Future Work", |
| "sec_num": "6" |
| } |
| ], |
| "back_matter": [ |
| { |
| "text": "We are grateful to three anonymous CMCL 2020 reviewers for their feedback on an earlier version of this paper, the NVIDIA Corporation for a grant of two Titan V GPUs used for this research, and the UCSC OR and THI for a matching grant for additional hardware. The usual disclaimers apply.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Acknowledgments", |
| "sec_num": null |
| } |
| ], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "How can the human mind occur in the physical universe?", |
| "authors": [ |
| { |
| "first": "R", |
| "middle": [], |
| "last": "John", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Anderson", |
| "suffix": "" |
| } |
| ], |
| "year": 2007, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "John R. Anderson. 2007. How can the human mind occur in the physical universe? Oxford University Press.", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "The Atomic Components of Thought", |
| "authors": [ |
| { |
| "first": "John", |
| "middle": [ |
| "R" |
| ], |
| "last": "Anderson", |
| "suffix": "" |
| }, |
| { |
| "first": "Christian", |
| "middle": [], |
| "last": "Lebiere", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "John R. Anderson and Christian Lebiere. 1998. The Atomic Components of Thought. Lawrence Erlbaum Associates, Hillsdale, NJ.", |
| "links": null |
| }, |
| "BIBREF2": { |
| "ref_id": "b2", |
| "title": "An extensible framework for mechanistic processing models: From representational linguistic theories to quantitative model comparison", |
| "authors": [ |
| { |
| "first": "Adrian", |
| "middle": [], |
| "last": "Brasoveanu", |
| "suffix": "" |
| }, |
| { |
| "first": "Jakub", |
| "middle": [], |
| "last": "Dotla\u010dil", |
| "suffix": "" |
| } |
| ], |
| "year": 2018, |
| "venue": "Proceedings of the 2018 International Conference on Cognitive Modelling", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Adrian Brasoveanu and Jakub Dotla\u010dil. 2018. An extensible framework for mechanistic processing models: From representational linguistic theories to quantitative model comparison. In Proceedings of the 2018 International Conference on Cognitive Modelling.", |
| "links": null |
| }, |
| "BIBREF3": { |
| "ref_id": "b3", |
| "title": "Quantitative comparison for generative theories", |
| "authors": [ |
| { |
| "first": "Adrian", |
| "middle": [], |
| "last": "Brasoveanu", |
| "suffix": "" |
| }, |
| { |
| "first": "Jakub", |
| "middle": [], |
| "last": "Dotla\u010dil", |
| "suffix": "" |
| } |
| ], |
| "year": 2019, |
| "venue": "Proceedings of the 2018 Berkeley Linguistic Society", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Adrian Brasoveanu and Jakub Dotla\u010dil. 2019. Quan- titative comparison for generative theories. In Pro- ceedings of the 2018 Berkeley Linguistic Society 44.", |
| "links": null |
| }, |
| "BIBREF4": { |
| "ref_id": "b4", |
| "title": "Computational Cognitive Modeling and Linguistic Theory. Language, Cognition, and Mind (LCAM) Series", |
| "authors": [ |
| { |
| "first": "Adrian", |
| "middle": [], |
| "last": "Brasoveanu", |
| "suffix": "" |
| }, |
| { |
| "first": "Jakub", |
| "middle": [], |
| "last": "Dotla\u010dil", |
| "suffix": "" |
| } |
| ], |
| "year": 2020, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": { |
| "DOI": [ |
| "10.1007/978-3-030-31846-8" |
| ] |
| }, |
| "num": null, |
| "urls": [], |
| "raw_text": "Adrian Brasoveanu and Jakub Dotla\u010dil. 2020a. Com- putational Cognitive Modeling and Linguistic The- ory. Language, Cognition, and Mind (LCAM) Se- ries. Springer (Open Access).", |
| "links": null |
| }, |
| "BIBREF5": { |
| "ref_id": "b5", |
| "title": "Reinforcement learning for production-based cognitive models", |
| "authors": [ |
| { |
| "first": "Adrian", |
| "middle": [], |
| "last": "Brasoveanu", |
| "suffix": "" |
| }, |
| { |
| "first": "Jakub", |
| "middle": [], |
| "last": "Dotla\u010dil", |
| "suffix": "" |
| } |
| ], |
| "year": 2020, |
| "venue": "Proceedings of the 2020 International Conference on Cognitive Modelling", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Adrian Brasoveanu and Jakub Dotla\u010dil. 2020b. Rein- forcement learning for production-based cognitive models. In Proceedings of the 2020 International Conference on Cognitive Modelling.", |
| "links": null |
| }, |
| "BIBREF6": { |
| "ref_id": "b6", |
| "title": "Learning and development in neural networks: The importance of starting small", |
| "authors": [ |
| { |
| "first": "Jeffrey", |
| "middle": [ |
| "L" |
| ], |
| "last": "Elman", |
| "suffix": "" |
| } |
| ], |
| "year": 1993, |
| "venue": "Cognition", |
| "volume": "48", |
| "issue": "", |
| "pages": "71--99", |
| "other_ids": { |
| "DOI": [ |
| "10.1016/0010-0277(93)90058-4" |
| ] |
| }, |
| "num": null, |
| "urls": [], |
| "raw_text": "Jeffrey L. Elman. 1993. Learning and development in neural networks: The importance of starting small. Cognition, 48:71-99.", |
| "links": null |
| }, |
| "BIBREF7": { |
| "ref_id": "b7", |
| "title": "Toward an integrated model of sentence processing in reading", |
| "authors": [ |
| { |
| "first": "Felix", |
| "middle": [], |
| "last": "Engelmann", |
| "suffix": "" |
| } |
| ], |
| "year": 2016, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Felix Engelmann. 2016. Toward an integrated model of sentence processing in reading. Ph.D. thesis, Uni- versity of Potsdam, Potsdam.", |
| "links": null |
| }, |
| "BIBREF8": { |
| "ref_id": "b8", |
| "title": "From recurrent choice to skill learning: A reinforcementlearning model", |
| "authors": [ |
| { |
| "first": "Wai-Tat", |
| "middle": [], |
| "last": "Fu", |
| "suffix": "" |
| }, |
| { |
| "first": "John", |
| "middle": [ |
| "R" |
| ], |
| "last": "Anderson", |
| "suffix": "" |
| } |
| ], |
| "year": 2006, |
| "venue": "Journal of Experimental Psychology: General", |
| "volume": "135", |
| "issue": "2", |
| "pages": "184--206", |
| "other_ids": { |
| "DOI": [ |
| "10.1037/0096-3445.135.2.184" |
| ] |
| }, |
| "num": null, |
| "urls": [], |
| "raw_text": "Wai-Tat Fu and John R. Anderson. 2006. From re- current choice to skill learning: A reinforcement- learning model. Journal of Experimental Psychol- ogy: General, 135(2):184-206.", |
| "links": null |
| }, |
| "BIBREF9": { |
| "ref_id": "b9", |
| "title": "What a rational parser would do", |
| "authors": [ |
| { |
| "first": "John", |
| "middle": [], |
| "last": "Hale", |
| "suffix": "" |
| } |
| ], |
| "year": 2011, |
| "venue": "Cognitive Science", |
| "volume": "35", |
| "issue": "", |
| "pages": "399--443", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "John Hale. 2011. What a rational parser would do. Cognitive Science, 35:399-443.", |
| "links": null |
| }, |
| "BIBREF10": { |
| "ref_id": "b10", |
| "title": "Adam: A method for stochastic optimization", |
| "authors": [ |
| { |
| "first": "P", |
| "middle": [], |
| "last": "Diederik", |
| "suffix": "" |
| }, |
| { |
| "first": "Jimmy", |
| "middle": [ |
| "Lei" |
| ], |
| "last": "Kingma", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Ba", |
| "suffix": "" |
| } |
| ], |
| "year": 2015, |
| "venue": "3rd International Conference on Learning Representations", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Diederik P. Kingma and Jimmy Lei Ba. 2015. Adam: A method for stochastic optimization. In 3rd Inter- national Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings.", |
| "links": null |
| }, |
| "BIBREF11": { |
| "ref_id": "b11", |
| "title": "An activation-based model of sentence processing as skilled memory retrieval", |
| "authors": [ |
| { |
| "first": "Richard", |
| "middle": [], |
| "last": "Lewis", |
| "suffix": "" |
| }, |
| { |
| "first": "Shravan", |
| "middle": [], |
| "last": "Vasishth", |
| "suffix": "" |
| } |
| ], |
| "year": 2005, |
| "venue": "Cognitive Science", |
| "volume": "29", |
| "issue": "", |
| "pages": "1--45", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Richard Lewis and Shravan Vasishth. 2005. An activation-based model of sentence processing as skilled memory retrieval. Cognitive Science, 29:1- 45.", |
| "links": null |
| }, |
| "BIBREF12": { |
| "ref_id": "b12", |
| "title": "Human-level control through deep reinforcement learning", |
| "authors": [ |
| { |
| "first": "Volodymyr", |
| "middle": [], |
| "last": "Mnih", |
| "suffix": "" |
| } |
| ], |
| "year": 2015, |
| "venue": "Nature", |
| "volume": "518", |
| "issue": "7540", |
| "pages": "529--533", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Volodymyr Mnih and al. 2015. Human-level con- trol through deep reinforcement learning. Nature, 518(7540):529-533.", |
| "links": null |
| }, |
| "BIBREF13": { |
| "ref_id": "b13", |
| "title": "Left-corner parsing and psychological plausibility", |
| "authors": [ |
| { |
| "first": "Philip", |
| "middle": [], |
| "last": "Resnik", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Proceedings of the Fourteenth International Conference on Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Philip Resnik. 1992. Left-corner parsing and psycho- logical plausibility. In Proceedings of the Four- teenth International Conference on Computational Linguistics, Nantes, France.", |
| "links": null |
| }, |
| "BIBREF14": { |
| "ref_id": "b14", |
| "title": "Progressive neural networks", |
| "authors": [ |
| { |
| "first": "Andrei", |
| "middle": [ |
| "A" |
| ], |
| "last": "Rusu", |
| "suffix": "" |
| } |
| ], |
| "year": 2016, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Andrei A. Rusu and al. 2016. Progressive neural net- works.", |
| "links": null |
| }, |
| "BIBREF15": { |
| "ref_id": "b15", |
| "title": "Reinforcement learning: An introduction", |
| "authors": [ |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Richard", |
| "suffix": "" |
| }, |
| { |
| "first": "Andrew", |
| "middle": [ |
| "G" |
| ], |
| "last": "Sutton", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Barto", |
| "suffix": "" |
| } |
| ], |
| "year": 2018, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Richard S Sutton and Andrew G Barto. 2018. Rein- forcement learning: An introduction. MIT press.", |
| "links": null |
| }, |
| "BIBREF16": { |
| "ref_id": "b16", |
| "title": "Why do children learn to say \"broke\"? a model of learning the past tense without feedback", |
| "authors": [ |
| { |
| "first": "Niels", |
| "middle": [ |
| "A" |
| ], |
| "last": "Taatgen", |
| "suffix": "" |
| }, |
| { |
| "first": "John", |
| "middle": [ |
| "R" |
| ], |
| "last": "Anderson", |
| "suffix": "" |
| } |
| ], |
| "year": 2002, |
| "venue": "Cognition", |
| "volume": "86", |
| "issue": "2", |
| "pages": "123--155", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Niels A. Taatgen and John R. Anderson. 2002. Why do children learn to say \"broke\"? a model of learn- ing the past tense without feedback. Cognition, 86(2):123-155.", |
| "links": null |
| }, |
| "BIBREF17": { |
| "ref_id": "b17", |
| "title": "A theoretical and empirical analysis of Expected Sarsa", |
| "authors": [ |
| { |
| "first": "H", |
| "middle": [], |
| "last": "Van Seijen", |
| "suffix": "" |
| }, |
| { |
| "first": "H", |
| "middle": [], |
| "last": "Van Hasselt", |
| "suffix": "" |
| }, |
| { |
| "first": "S", |
| "middle": [], |
| "last": "Whiteson", |
| "suffix": "" |
| }, |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Wiering", |
| "suffix": "" |
| } |
| ], |
| "year": 2009, |
| "venue": "IEEE Symposium on Adaptive DP and RL", |
| "volume": "", |
| "issue": "", |
| "pages": "177--184", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "H. van Seijen, H. van Hasselt, S. Whiteson, and M. Wiering. 2009. A theoretical and empirical anal- ysis of Expected Sarsa. In IEEE Symposium on Adaptive DP and RL, pages 177-184.", |
| "links": null |
| }, |
| "BIBREF18": { |
| "ref_id": "b18", |
| "title": "Q-learning", |
| "authors": [ |
| { |
| "first": "J", |
| "middle": [ |
| "C H" |
| ], |
| "last": "Christopher", |
| "suffix": "" |
| }, |
| { |
| "first": "Peter", |
| "middle": [], |
| "last": "Watkins", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Dayan", |
| "suffix": "" |
| } |
| ], |
| "year": 1992, |
| "venue": "Machine Learning", |
| "volume": "8", |
| "issue": "", |
| "pages": "279--292", |
| "other_ids": { |
| "DOI": [ |
| "10.1007/BF00992698" |
| ] |
| }, |
| "num": null, |
| "urls": [], |
| "raw_text": "Christopher J. C. H. Watkins and Peter Dayan. 1992. Q-learning. Machine Learning, 8(3):279-292.", |
| "links": null |
| }, |
| "BIBREF19": { |
| "ref_id": "b19", |
| "title": "Learning from Delayed Rewards", |
| "authors": [ |
| { |
| "first": "Christopher John Cornish Hellaby", |
| "middle": [], |
| "last": "Watkins", |
| "suffix": "" |
| } |
| ], |
| "year": 1989, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Christopher John Cornish Hellaby Watkins. 1989. Learning from Delayed Rewards. Ph.D. thesis, King's College, Cambridge, UK.", |
| "links": null |
| } |
| }, |
| "ref_entries": { |
| "FIGREF0": { |
| "type_str": "figure", |
| "num": null, |
| "uris": null, |
| "text": "Agent state s t , reward r t action a t Agent-environment interaction in an MDP" |
| }, |
| "FIGREF1": { |
| "type_str": "figure", |
| "num": null, |
| "uris": null, |
| "text": "Tabular Q: Steps per episode for the 1-stim (left), 2-stim (middle) and 4-stim (right) tasks Figure 3: DQN: Steps per episode for 1-stim (left), 2-stim (middle) and 4-stim (right) tasks" |
| }, |
| "FIGREF2": { |
| "type_str": "figure", |
| "num": null, |
| "uris": null, |
| "text": "Partial trees built incrementally when reading the sentence A boy sleeps word by word" |
| } |
| } |
| } |
| } |