Automata Theory and Reinforcement Learning
- 75Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
75 questions
- 1In model-free reinforcement learning, the agent learns a policy that maps states to_____or distributions over actions.
Hint
Think of what the agent must choose when it observes a state.
Answer
actions
Explanation
A policy specifies which action, or action distribution, the agent should use in each state.
- 2The objective of a reinforcement learning agent is to maximize its expected_____reward.
Hint
The objective accounts for reward gathered across a sequence of interactions.
Answer
cumulative
Explanation
The agent seeks a policy that maximizes its expected cumulative reward over time.
- 3In model-free reinforcement learning, the agent receives information about its current state and reward after it_____in the environment.
Hint
This is the agent's basic interaction with its environment.
Answer
performs an action
Explanation
The agent takes an action, and the environment returns the resulting state and reward.
- 4A model-free agent does not know the environment's transition system or its transition_____distribution.
Hint
This describes the likelihood of different state changes.
Answer
probability
Explanation
The agent learns from experience rather than being given the transition system or its probability distribution.
- 5A Q-function estimates the quality of a particular state and_____pair.
Hint
A Q-value assesses a choice available in a state.
Answer
action
Explanation
Q-values indicate how good it is to take a particular action in a particular state.
- 6In Q-learning, the learning rate controls how much the agent incorporates its latest_____into a Q-value update.
Hint
The update balances existing estimates against what just happened.
Answer
experience
Explanation
The learning rate determines the influence of the latest experience on the updated quality estimate.
- 7In the Q-learning update described in the talk, gamma is the_____factor applied to expected future reward.
Hint
This factor determines how future rewards contribute compared with immediate rewards.
Answer
discount
Explanation
Gamma is the discount factor used for the expectation of future reward.
- 8With Q-values available, a greedy policy chooses the action with the_____Q-value in the current state.
Hint
The policy selects the action judged best by its learned estimate.
Answer
highest
Explanation
The action with the highest Q-value is treated as the best action in that state.
- 9A conventional reward function can map a state, or a state-action-successor-state triple, to a_____value.
Hint
The output is a single numerical quantity.
Answer
scalar
Explanation
Reward functions are commonly programmed as mappings to scalar values, such as from states or state-action-successor-state triples.
- 10A key motivation for formal reward specifications is that writing reward functions for complex tasks can be_____.
Hint
Consider the effort involved in translating rich behavior into numerical feedback.
Answer
hard
Explanation
Complex task behavior can be difficult to encode as a conventional reward function.
- 11When an agent receives reward only after completing a long task, the reward signal is described as_____.
Hint
The signal is missing during much of the agent's behavior.
Answer
sparse
Explanation
Sparse rewards provide little or no feedback during a task and may require many interactions before success.
- 12The talk identifies the potentially enormous number of environment interactions needed to learn good policies as a problem of sample_____.
Hint
This concerns how effectively experience is used.
Answer
efficiency
Explanation
Sample efficiency is a challenge because reinforcement learning may require billions of interactions to learn good policies.
- 13The requirement that a robot not vacuum while someone is sleeping illustrates a_____constraint on behavior.
Hint
This kind of constraint is intended to prevent unwanted or harmful outcomes.
Answer
safety
Explanation
Avoiding vacuuming while someone is sleeping is an example of a safety-related task constraint.
- 14The bath-temperature task specifies that the water should be between 38 and 43 Celsius immediately_____someone enters the bathtub.
Hint
The condition is checked just prior to entry.
Answer
before
Explanation
The example requires checking that the bath temperature is in the stated range immediately before allowing entry.
- 15In the ice-cream task, reward is intended only after the complete sequence of actions, not when the behavior is only_____completed.
Hint
The freezer should not be left open midway through the task.
Answer
partially
Explanation
The desired reward is for completing the whole sequence, rather than for stopping after only part of it.
- 16The ice-cream task includes returning the ice cream and closing the freezer because leaving the freezer open should be_____heavily.
Hint
This is the opposite of rewarding the desired outcome.
Answer
penalized
Explanation
The specification treats leaving the freezer open as strongly undesirable behavior.
- 17The motivating reward examples are temporally extended, conditional, and syntactically_____.
Hint
They contain more structure than a simple one-step instruction.
Answer
rich
Explanation
The examples involve sequences, conditions, and substantial structure, making them difficult to represent with a simple reward mapping.
- 18Linear temporal logic is a propositional modal logic with temporal_____that describe properties of traces over time.
Hint
These logical operators express how propositions relate across time.
Answer
modalities
Explanation
LTL combines propositional logic with temporal modalities for expressing properties of traces.
- 19LTL can be interpreted over either finite or_____traces.
Hint
These traces do not have a final point.
Answer
infinite
Explanation
The talk notes that LTL properties can be interpreted over finite or infinite traces.
- 20The basic logical connectives mentioned for LTL are and, or, and_____.
Hint
This connective negates a proposition.
Answer
not
Explanation
LTL includes the familiar connectives and, or, and not; implication can be defined from them.
- 21The LTL temporal operators named in the talk include next, until, eventually, always, and_____.
Hint
It is another temporal operator that can be defined alongside eventually and always.
Answer
release
Explanation
The talk lists next and until, and notes that eventually, always, and release can also be defined.
- 22LTL is commonly used in verification and_____.
Hint
This is another formal-methods task involving the construction of systems or strategies.
Answer
synthesis
Explanation
The talk identifies verification and synthesis among the common uses of LTL.
- 23The LTL specification for avoiding vacuuming while someone sleeps can be expressed as always not vacuum when_____.
Hint
The proposition describes the condition under which vacuuming is forbidden.
Answer
sleeping
Explanation
The example says that vacuuming should never occur when someone is sleeping.
- 24The office-world sequential task requires the agent to visit A, B, C, and D in that_____.
Hint
The task is not merely to visit all four locations; their sequence matters.
Answer
order
Explanation
The running example specifies the ordered sequence A, B, C, then D.
- 25In the office-world examples, the stars mark furniture or fragile objects that the agent should not_____.
Hint
These objects should be avoided during navigation.
Answer
bump into
Explanation
The stars represent furniture or fragile things that the agent should not collide with.
- 26A reward machine represents a reward function using an automata-based_____.
Hint
It is a structured way to encode reward behavior.
Answer
representation
Explanation
Reward machines use automata structure to represent reward functions.
- 27The reward-machine vocabulary can contain human-interpretable events or properties detected from the environment state; these are also called_____.
Hint
They are the symbols used to label conditions in the machine.
Answer
propositions
Explanation
The example vocabulary includes propositions such as coffee, the mail room, the office, furniture, and locations A through D.
- 28A reward machine has a finite set of states and an_____state.
Hint
This is the state where execution of the machine begins.
Answer
initial
Explanation
The reward-machine structure includes a finite state set and a designated initial state.
- 29In a reward machine, each transition is labeled with a logical condition, or_____, and a reward.
Hint
This label determines when the transition can be taken.
Answer
guard
Explanation
Transitions have a logical condition called a guard, together with a reward specification.
- 30In a simple reward machine, a transition's reward may be a constant scalar value, while a more general machine may use a reward_____.
Hint
The more general form need not return just a fixed number.
Answer
function
Explanation
The talk distinguishes simple scalar rewards from the more general possibility of reward functions.
- 31A simple reward machine is described as a Mealy machine over the inputs formed by truth assignments to the machine's_____.
Hint
These are the logical symbols in the vocabulary.
Answer
propositions
Explanation
The simple machine processes truth assignments over its proposition vocabulary.
- 32A reward machine's terminal-state set can be empty when the machine is intended to operate into_____.
Hint
In this case, the machine has no designated stopping state.
Answer
perpetuity
Explanation
The formal definition allows an empty terminal-state set for a reward machine that continues indefinitely.
- 33The reward machine for visiting A, B, C, and D remembers progress through the sequence by changing its internal_____.
Hint
Its current position encodes how much of the task has been completed.
Answer
state
Explanation
The machine transitions through states corresponding to progress in the ordered task.
- 34For the coffee-delivery task, a reward machine can send the agent to a sink state if it hits the_____.
Hint
The forbidden objects in the office-world map trigger this outcome.
Answer
furniture
Explanation
The example transitions to a sink state upon hitting furniture, where the agent remains and receives zero reward.
- 35A reward machine can represent collecting coffee and mail before visiting the office without requiring the coffee and mail to be collected in a particular_____.
Hint
Either item can be obtained first in the example.
Answer
order
Explanation
The machine captures both paths: coffee then mail, or mail then coffee, followed by going to the office.
- 36A reward machine can make a reward non-Markovian by making it depend on the agent's_____.
Hint
The same current move can earn different rewards depending on what happened earlier.
Answer
history
Explanation
For example, moving to D earns a reward only if the agent has already visited A, B, and C in sequence.
- 37A reward machine provides a way to decompose a non-Markovian reward into more locally usable, Markovian reward_____.
Hint
The internal machine state records relevant history so reward can be expressed in terms of its current state.
Answer
functions
Explanation
The reward-machine state tracks task progress, allowing the reward to be handled through Markovian components.
- 38The straightforward way to apply Q-learning to a reward machine is to form a cross product of the environment state and the reward-machine_____.
Hint
The combined state includes both the world and task progress.
Answer
state
Explanation
Crossing the environment state with the reward-machine state yields an MDP for a basic Q-learning baseline.
- 39Hierarchical reinforcement learning learns options and a_____.
Hint
This component chooses how to coordinate the learned subpolicies.
Answer
meta-controller
Explanation
HRL combines options, or subpolicies, with a meta-controller that selects among them.
- 40In the HRL baseline described, an option is learned for each_____mentioned in the reward machine.
Hint
For the A, B, C, D task, the options aim at the corresponding named locations.
Answer
proposition
Explanation
The approach learns a policy for reaching each proposition, then learns how to compose those options.
- 41Reward-machine-based pruning in HRL uses the current reward-machine state to remove options that are not currently_____.
Hint
At a given task stage, only certain subgoals need to be pursued.
Answer
relevant
Explanation
For example, in state U0 of the ordered task, the agent should pursue A rather than options for later propositions.
- 42HRL can produce a suboptimal overall solution because its options are optimized_____in isolation.
Hint
Each subpolicy focuses on its own subgoal rather than the full task.
Answer
locally
Explanation
Individually optimal options may combine into a suboptimal overall policy when the choices are made myopically.
- 43In the coffee-delivery illustration, choosing the nearest coffee station can be locally optimal yet lead to a longer route to the_____.
Hint
The task is not complete when the agent has only collected coffee.
Answer
office
Explanation
The locally best route to coffee can make the subsequent trip to the office much longer.
- 44The talk contrasts HRL's possible local suboptimality with Q-learning's ability to preserve_____.
Hint
This refers to whether the best overall policy can still be learned.
Answer
optimality
Explanation
In the tabular setting, Q-learning preserves optimality, whereas myopic option choices may not.
- 45QRM learns a separate Q-value function for each state of the_____.
Hint
Each task-progress state gets its own value estimates.
Answer
reward machine
Explanation
QRM maintains a Q-function for each reward-machine state, such as Q0 through Q3 in the running example.
- 46In QRM, the agent selects actions using the Q-function for its current reward-machine_____.
Hint
The active task-progress state determines which values guide the action.
Answer
state
Explanation
When the reward machine is in U0, for example, the agent follows the policy informed by Q0.
- 47QRM reuses experience to update multiple Q-functions using_____-policy learning.
Hint
The method can learn about policies other than the one currently being followed.
Answer
off
Explanation
Off-policy learning lets QRM use each experience to update value functions for multiple reward-machine states.
- 48QRM's simultaneous updates use a form of_____reasoning: the agent considers what would have happened from other reward-machine states.
Hint
The method asks what the outcome would be under an alternative task-progress state.
Answer
counterfactual
Explanation
For each experience, QRM can update values as if the reward machine had been in other states.
- 49In the counterfactual example, moving to D while in U3 transitions the reward machine back to U0 and gives a reward of_____.
Hint
U3 represents having already visited A, B, and C in the required sequence.
Answer
one
Explanation
Once the agent has reached U3, moving to D completes the task, returns the machine to U0, and produces reward one.
- 50The reward-shaping method described augments the original reward using a_____function.
Hint
This function is used to adjust rewards without changing which policy is optimal.
Answer
potential
Explanation
The described shaping approach is based on defining a potential function and using it to modify rewards.
- 51A key property of the described reward shaping is that it does not prevent learning an optimal policy for the original, unshaped reward_____.
Hint
The shaping should guide learning without changing the task's underlying objective.
Answer
function
Explanation
The shaped rewards are designed to preserve optimal policies relative to the original reward function.
- 52In the talk's tabular setting, Q-learning is guaranteed to converge to an optimal policy in the_____.
Hint
The guarantee applies eventually, given sufficient learning.
Answer
limit
Explanation
The tabular Q-learning guarantee is convergence to an optimal policy in the limit, although many samples may be needed.
- 53For the office-world experiments, QRM reached the optimal policy in roughly 13,000 to 15,000 training_____.
Hint
The horizontal axis of the experiment plots counts of agent training interactions.
Answer
steps
Explanation
The reported QRM curve reached the optimum after approximately 13,000 to 15,000 training steps.
- 54In the Minecraft-like craft-world experiments, ordinary Q-learning did not solve the tasks even after one million training_____.
Hint
The experiment required far more training than the office-world example.
Answer
steps
Explanation
Q-learning remained near the bottom of the results after up to 10 to the sixth training steps, illustrating the difficulty of sparse rewards.
- 55In the continuous Water World experiments, tasks included avoiding pink balls and hitting a green ball followed by a_____ball.
Hint
The task specified an ordered sequence of colored targets.
Answer
yellow
Explanation
One example required the agent never to hit a pink ball and always to hit a green ball and then a yellow ball.
- 56In the reported discrete-domain experiments, adding reward shaping to QRM helped it converge to an optimal policy more_____.
Hint
Intermediate feedback can reduce the time spent learning from sparse rewards.
Answer
quickly
Explanation
The shaped rewards provided intermediate guidance and improved convergence speed in the first two experiment graphs.
- 57In the reported continuous-domain experiment, reward shaping did not help QRM and instead_____it.
Hint
The result contrasted with the discrete-domain graphs.
Answer
hindered
Explanation
The talk reports that reward shaping performed worse in the continuous domain and hindered QRM there.
- 58A reward machine can be constructed directly or translated automatically from another formal_____.
Hint
Examples include formal specifications that can be compiled to automata.
Answer
language
Explanation
The talk describes direct specification and automatic translation from other formal languages as ways to create reward machines.
- 59Reward machines can serve as a normal-form representation because multiple specification languages can be translated into the same automata-based_____.
Hint
The benefit is that learning methods can operate on a common representation.
Answer
structure
Explanation
Using reward machines as a common representation avoids needing a separate learning algorithm for each input language.
- 60A regular language can be translated into a finite-state_____.
Hint
This standard relationship connects language recognition with machine states and transitions.
Answer
automaton
Explanation
The talk invokes the correspondence between regular languages and finite-state automata as a basis for translation to reward machines.
- 61One way to generate reward machines is to use symbolic planners to turn high-level goals into plans that populate a reward_____.
Hint
The plans provide guidance points or waypoints for the agent.
Answer
machine
Explanation
A high-level planner can generate plans from goal specifications, and those plans can be used to construct a reward machine.
- 62A high-level goal such as retrieving glasses can be turned into plan-derived waypoints that provide a richer reward structure than a single sparse goal_____.
Hint
The planner offers intermediate guidance toward task completion.
Answer
reward
Explanation
Plan-derived instructions can provide temporally extended guidance rather than rewarding only the final outcome.
- 63In a partially observable environment, an agent may need memory because its current observation does not reveal the full state of the_____.
Hint
A current view may omit what happened earlier or what is outside the observation.
Answer
world
Explanation
Partial observability means the agent cannot infer all relevant information from its current observation alone.
- 64One traditional way to address partial observability is to construct a_____state.
Hint
This representation captures uncertainty about which underlying state the agent occupies.
Answer
belief
Explanation
POMDP methods commonly use a belief state to represent uncertainty about the world state.
- 65Another way to characterize relevant information in a partially observable problem is by the history of states and_____.
Hint
This includes what the agent has observed and done over time.
Answer
actions
Explanation
The talk notes that the state can be considered as encoded by the history of states and actions performed.
- 66In the three-room example, pressing the button in the yellow room causes a cookie to appear randomly in either the blue room or the_____room.
Hint
It is the other possible room besides blue.
Answer
red
Explanation
After the button is pressed, the cookie appears in either the blue room or the red room.
- 67In the three-room task, the agent must remember what it has tried because, at the T-junction, the correct action depends on its_____.
Hint
The same location can require different actions after different previous events.
Answer
history
Explanation
The agent's choice depends on whether it has pressed the button, searched a room, or found and eaten a cookie.
- 68The learned reward machine in the partial-observability work acts as external_____for the agent.
Hint
Its state stores information needed to choose an action later.
Answer
memory
Explanation
The reward-machine state allows the agent to remember task-relevant history that is absent from its current observation.
- 69The reward machines for the partially observable examples were learned using discrete optimization via_____search.
Hint
The method's name refers to a search procedure that avoids revisiting certain recent moves.
Answer
Tabu
Explanation
The talk states that the automata were learned through discrete optimization using Tabu search.
- 70In the cookie example's learned reward machine, eating the cookie produces a reward of one and returns the machine to_____.
Hint
This is the initial state shown in the machine.
Answer
U0
Explanation
The machine awards one after the cookie is eaten and then returns to U0.
- 71The reward-machine learning work for partial observability assumed access to high-level binary classifiers or event_____.
Hint
These identify events such as a button press or the presence of a cookie.
Answer
detectors
Explanation
The approach did not learn the vocabulary from scratch; it assumed classifiers or detectors for relevant events.
- 72The speaker noted that translating LTL to a deterministic finite automaton can cause an exponential increase in automaton_____.
Hint
The concern is that the resulting machine may have many more states.
Answer
size
Explanation
The discussion highlights the potential exponential blowup when compiling higher-level specifications into automata.
- 73One possible response to automaton-size concerns mentioned in the talk was to use_____representations.
Hint
These representations can help avoid expanding all details into a large explicit machine.
Answer
lifted
Explanation
The speaker mentioned lifted representations as one way to help keep automata manageable.
- 74The talk identifies learning from expert demonstrations as a possible route related to inverse reinforcement_____.
Hint
This approach infers objectives or reward structure from observed behavior.
Answer
learning
Explanation
The discussion connects demonstrations and inferring reward machines with inverse reinforcement learning.
- 75For learning reward machines in partially observable settings, the goal was to maximize the external reward supplied by the environment while using the machine as_____.
Hint
The learned machine stores task-relevant information from earlier events.
Answer
memory
Explanation
The learned reward machine's external state can serve as memory to help the agent maximize the environment's external reward.

Ask anything
We've read this whole study set, so questions about it get the best answers.