Automata Theory and Reinforcement Learning
- 58Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
In model-free reinforcement learning, what is the agent trying to learn?
In model-free reinforcement learning, what is the agent trying to learn?
58 questions
- 1
In model-free reinforcement learning, what is the agent trying to learn?
- A
A complete transition model and reward function before it chooses any actions
- B
A policy mapping states to actions or action distributions that maximizes expected cumulative reward
- C
A formal proof that every action leads to the same outcome in the environment
- D
A fixed sequence of states that every possible environment trajectory must follow
Correct answer
BA policy mapping states to actions or action distributions that maximizes expected cumulative reward
Explanation
A model-free RL agent learns a policy from interaction. It need not know the environment's transition system or reward function in advance.
- A
- 2
What information does an agent typically receive after taking an action in the described RL setup?
- A
The complete transition probabilities and the optimal policy
- B
The correct action for every state in the environment
- C
The reward function's source code and all future rewards
- D
The resulting state and the reward associated with its experience
Correct answer
DThe resulting state and the reward associated with its experience
Explanation
The agent acts, then receives feedback about the resulting state and reward; it does not automatically receive the environment model or the reward function.
- A
- 3
What does a Q-value represent in Q-learning?
- A
The number of actions that remain in the environment
- B
The probability that a state will occur regardless of the chosen action
- C
The estimated quality of taking a particular action in a particular state
- D
The immediate reward assigned to every state in the task
Correct answer
CThe estimated quality of taking a particular action in a particular state
Explanation
A Q-function estimates the quality of state-action pairs. A policy can choose an action with the highest estimated Q-value in the current state.
- A
- 4
What role does the learning rate play in a Q-learning update?
- A
It specifies the probability that the environment changes its reward function
- B
It determines how many actions the agent may take in each state
- C
It sets the number of future states included in the transition model
- D
It controls how much new experience influences the current value estimate
Correct answer
DIt controls how much new experience influences the current value estimate
Explanation
The learning rate controls how strongly the agent incorporates newly experienced information when updating a Q-value.
- A
- 5
What is the role of the discount factor in the described Q-learning update?
- A
It converts the policy into a distribution over environment states
- B
It decides whether the current state is observable to the agent
- C
It scales the expected future reward relative to the immediate reward
- D
It determines how much the agent trusts the reward function's source code
Correct answer
CIt scales the expected future reward relative to the immediate reward
Explanation
The discount factor weights expected future reward in the update, distinguishing future returns from the immediate reward.
- A
- 6
Why can specifying rewards for complex behavior be difficult?
- A
An RL agent is required to know the reward function before it can receive any observations
- B
A human must translate rich, extended behavior into scalar rewards over states or transitions
- C
A scalar reward can only be assigned to actions, never to states or transitions
- D
Reward functions cannot represent outcomes involving more than one action
Correct answer
BA human must translate rich, extended behavior into scalar rewards over states or transitions
Explanation
Complex behavior may be temporally extended and conditional, while conventional reward functions typically map states or transitions to scalar values.
- A
- 7
Why might a formal language be useful for communicating tasks to an RL agent?
- A
It replaces the agent's policy with a complete transition model
- B
It provides a syntax and semantics for expressing tasks more directly than hand-coded scalar rewards
- C
It guarantees that every task can be solved with a single action
- D
It removes the need for the agent to interact with its environment
Correct answer
BIt provides a syntax and semantics for expressing tasks more directly than hand-coded scalar rewards
Explanation
A formal language can express task requirements in a well-defined, interpretable way, reducing the difficulty of manually encoding complex reward behavior.
- A
- 8
Which pair of challenges was the talk's main focus?
- A
Increasing action-space size and eliminating all environment observations
- B
Proving every policy safe and removing the need for task specifications
- C
Specifying rewards for complex tasks and improving learning sample efficiency
- D
Learning natural-language syntax and reconstructing the physical environment
Correct answer
CSpecifying rewards for complex tasks and improving learning sample efficiency
Explanation
The central challenges were that complex reward functions are difficult to specify and that RL may require many environment interactions to learn effectively.
- A
- 9
Which combination of temporal properties characterizes many of the motivating reward examples?
- A
They are instantaneous, unconditional, and represented by one action
- B
They are fully described by a fixed reward for every physical location
- C
They are independent of event order and require no memory
- D
They are temporally extended, conditional, and rich in syntax
Correct answer
DThey are temporally extended, conditional, and rich in syntax
Explanation
Examples such as completing an ice-cream-serving sequence or obeying conditions before allowing bath entry depend on conditions and events over time.
- A
- 10
What does linear temporal logic (LTL) add to ordinary propositional logic?
- A
A probability distribution over unknown transition systems
- B
A method for converting continuous observations into pixels
- C
A numerical reward value for each possible state-action pair
- D
Temporal modalities for expressing properties of traces over time
Correct answer
DTemporal modalities for expressing properties of traces over time
Explanation
LTL combines propositional connectives with temporal operators that describe properties across traces.
- A
- 11
Which set contains the basic logical connectives described for LTL?
- A
Next, until, and release
- B
State, action, and transition
- C
Eventually, always, and reward
- D
And, or, and not
Correct answer
DAnd, or, and not
Explanation
The talk identifies and, or, and not as basic logical connectives; implication can be defined from them.
- A
- 12
Which operators were identified as temporal modalities in LTL?
- A
State, action, and transition
- B
Reward, penalty, and discount
- C
Next, until, and release
- D
And, or, and implication
Correct answer
CNext, until, and release
Explanation
The talk names next and until as temporal operators and notes that eventually, always, and release can be defined as powerful operators.
- A
- 13
How can an LTL condition such as 'do not vacuum while someone is sleeping' be expressed conceptually?
- A
Eventually, vacuuming must occur whenever someone is sleeping
- B
Next, someone must sleep after every vacuuming action
- C
Until, vacuuming must continue until someone is asleep
- D
Always, if someone is sleeping, vacuuming must not occur
Correct answer
DAlways, if someone is sleeping, vacuuming must not occur
Explanation
The requirement is a safety condition: at all times when someone is sleeping, vacuuming should be forbidden.
- A
- 14
Why can a task such as serving ice cream be represented by a temporally extended formula rather than a single reward event?
- A
The desired behavior requires a sequence of actions and should be rewarded only when the full sequence is satisfied
- B
Each action in the sequence must receive the same reward regardless of what follows
- C
The task is complete as soon as the freezer door is opened
- D
The task depends only on the agent's location and not on action order
Correct answer
AThe desired behavior requires a sequence of actions and should be rewarded only when the full sequence is satisfied
Explanation
The example requires a sequence such as opening the freezer, removing and serving the ice cream, returning it, and closing the door; partial completion is not enough.
- A
- 15
What is a reward machine in the described framework?
- A
An automata-based representation of a reward function
- B
A probability distribution over the environment's possible states
- C
A hierarchical policy that selects among macro-actions
- D
A simulator that supplies the agent with transition probabilities
Correct answer
AAn automata-based representation of a reward function
Explanation
A reward machine represents reward structure using automata, making the reward function's temporal structure available to the agent.
- A
- 16
What labels a transition in the described reward machine?
- A
Only the physical action that moves the agent between locations
- B
A logical condition or guard together with a reward specification
- C
The name of a policy option and its termination condition
- D
A transition probability and a complete environment model
Correct answer
BA logical condition or guard together with a reward specification
Explanation
A reward-machine transition is associated with a logical guard and a reward; in the simple examples, the reward can be a scalar.
- A
- 17
What can the proposition vocabulary of a reward machine represent?
- A
Only actions that are directly executable by the agent
- B
Human-interpretable events or properties detected from the environment
- C
Only the numerical coordinates of the agent's position
- D
The full probability distribution over all future trajectories
Correct answer
BHuman-interpretable events or properties detected from the environment
Explanation
The vocabulary can contain interpretable events or properties realized through detectors over environment states; it may also be learned.
- A
- 18
Which description best captures the reward-machine structure presented in the talk?
- A
A policy over physical states that cannot represent logical conditions
- B
A transition table that must have exactly one terminal state and no reward function
- C
A finite set of machine states, an initial state, transitions, and a reward mapping, with terminal states that may be absent
- D
A list of states, each paired with a fixed action, and no transition conditions
Correct answer
CA finite set of machine states, an initial state, transitions, and a reward mapping, with terminal states that may be absent
Explanation
The formal structure includes machine states, an initial state, transition and reward functions, and a finite set of terminal states that can be empty.
- A
- 19
Why can the same physical move yield different rewards under a reward machine?
- A
The environment changes its transition probabilities after every action
- B
The reward machine ignores history and uses only the agent's current location
- C
The physical move is assigned a random reward independently of the task
- D
The reward can depend on the reward-machine state, which records relevant event history
Correct answer
DThe reward can depend on the reward-machine state, which records relevant event history
Explanation
The reward-machine state summarizes progress through the task. Thus moving to a location such as D can pay off only if earlier events have occurred.
- A
- 20
What is the purpose of a sink state in the furniture-avoidance example?
- A
To represent a condition such as hitting furniture after which the machine remains in an unsuccessful state
- B
To signal that the agent has completed the task and should receive the maximum reward
- C
To make the reward machine transition randomly among task states
- D
To store the agent's full physical location history indefinitely
Correct answer
ATo represent a condition such as hitting furniture after which the machine remains in an unsuccessful state
Explanation
Hitting furniture leads to a sink state that persists, with zero reward in the example, representing failure to satisfy the avoidance requirement.
- A
- 21
How does the reward machine for delivering coffee and mail to an office handle the order of pickup?
- A
It requires the agent to collect coffee, then mail, then visit the office in that exact order
- B
It rewards the agent for visiting the office before collecting either item
- C
It represents the two pickup orders as different physical transition systems
- D
It can accept either pickup order before the agent delivers both items to the office
Correct answer
DIt can accept either pickup order before the agent delivers both items to the office
Explanation
Because no pickup order is specified, the reward-machine structure can represent both collecting coffee then mail and collecting mail then coffee before delivery.
- A
- 22
What is the straightforward baseline for applying ordinary Q-learning to a non-Markovian reward machine task?
- A
Replace every reward-machine transition with an independently chosen macro-action
- B
Take the product of the environment state and reward-machine state, then run Q-learning on the resulting MDP
- C
Learn a separate transition model for every possible future trajectory
- D
Ignore the reward-machine state and learn only from the current physical location
Correct answer
BTake the product of the environment state and reward-machine state, then run Q-learning on the resulting MDP
Explanation
The product construction combines the physical state with the reward-machine state so the reward becomes Markovian in the product MDP.
- A
- 23
What does hierarchical reinforcement learning (HRL) learn in the described approach?
- A
A complete symbolic model of every possible environment transition
- B
Options, or reusable subpolicies, and a meta-controller that selects among them
- C
A reward machine with no policies or action-selection mechanism
- D
Only a single Q-value for each physical state, without task decomposition
Correct answer
BOptions, or reusable subpolicies, and a meta-controller that selects among them
Explanation
HRL learns options that act like macro-actions or subpolicies, along with a higher-level controller for composing them.
- A
- 24
In the HRL approach tied to a reward machine, what is learned for each proposition in the machine?
- A
A separate reward machine containing every other proposition
- B
An option policy aimed at reaching a state satisfying that proposition
- C
A transition probability for every pair of environment states
- D
A fixed reward value assigned to the proposition in all contexts
Correct answer
BAn option policy aimed at reaching a state satisfying that proposition
Explanation
The described HRL method learns one option policy per proposition, such as policies for reaching A, B, C, or D.
- A
- 25
How does reward-machine-based pruning change the HRL meta-controller?
- A
It permits the controller to use only options that have never been tried
- B
It removes all options and replaces them with random actions
- C
It uses the current reward-machine state to rule out options that are irrelevant at that stage
- D
It chooses options solely from the physical state, ignoring task progress
Correct answer
CIt uses the current reward-machine state to rule out options that are irrelevant at that stage
Explanation
The reward-machine state indicates which subgoal is currently relevant, allowing the controller to prune options that do not advance the task at that point.
- A
- 26
Why can HRL produce a suboptimal overall route even when individual options are locally optimal?
- A
Locally optimal options always have worse performance than random policies
- B
Optimizing each subtask in isolation can ignore how its choice affects the cost of later subtasks
- C
The meta-controller is guaranteed to choose an option at random
- D
An option cannot use rewards observed during its own execution
Correct answer
BOptimizing each subtask in isolation can ignore how its choice affects the cost of later subtasks
Explanation
HRL can be myopic: a locally efficient route to an intermediate goal may create a long route for the remaining task, making the composed plan suboptimal.
- A
- 27
What is the central learning strategy of QRM?
- A
Learn Q-values for reward-machine states and use off-policy experience to update multiple Q-functions
- B
Replace reward-machine transitions with hand-coded optimal policies
- C
Train only the option for the next proposition and discard all other experience
- D
Learn one independent physical transition model for each possible action sequence
Correct answer
ALearn Q-values for reward-machine states and use off-policy experience to update multiple Q-functions
Explanation
QRM maintains a Q-function for each reward-machine state and reuses experience off-policy to update these functions, exploiting the machine's structure.
- A
- 28
How does QRM select actions during an actual interaction?
- A
It uses the Q-function associated with the reward machine's current state
- B
It selects actions using only the number of propositions in the task
- C
It averages all reward-machine Q-functions regardless of the current machine state
- D
It always follows the policy associated with the terminal state
Correct answer
AIt uses the Q-function associated with the reward machine's current state
Explanation
The policy for the current reward-machine state determines action selection, while other Q-functions can still benefit from the same experience.
- A
- 29
What makes QRM's experience reuse counterfactual?
- A
It assumes the agent visited every physical state during each experience
- B
It assigns an imagined reward without consulting the reward machine
- C
It updates Q-functions as if the same observed transition had occurred from other reward-machine states
- D
It changes the observed physical transition to a different action outcome
Correct answer
CIt updates Q-functions as if the same observed transition had occurred from other reward-machine states
Explanation
QRM considers what the reward-machine transition and reward would have been if the agent had been in another machine state when taking the observed action.
- A
- 30
In the sequential A-then-B-then-C-then-D example, what can happen when an experience of moving to D is evaluated counterfactually from a machine state that expects D?
- A
It can receive the completion reward and transition to the initial machine state
- B
It must receive zero because the agent was physically collecting experience elsewhere
- C
It changes the environment's physical state back to its starting location
- D
It causes every machine state to become terminal
Correct answer
AIt can receive the completion reward and transition to the initial machine state
Explanation
If the counterfactual machine state represents having already completed A, B, and C, moving to D completes the sequence, gives the reward, and returns the machine to its initial state in the example.
- A
- 31
What is the main difference between QRM and the mentioned CRM variant?
- A
CRM removes reward machines and relies only on a physical transition model
- B
CRM learns one option for every possible physical state and no shared policy
- C
CRM uses counterfactual reward machines and is described as producing one large policy rather than separate policies
- D
CRM uses only on-policy updates and cannot reuse experience
Correct answer
CCRM uses counterfactual reward machines and is described as producing one large policy rather than separate policies
Explanation
CRM stands for Counterfactual Reward Machines and was described as a newer variant that produces one larger policy, with potential benefits for generalization.
- A
- 32
What problem does reward shaping aim to address in sparse-reward tasks?
- A
The agent may receive little or no feedback until it completes a long sequence of behavior
- B
The original reward function changes after the policy is learned
- C
The agent receives too many rewards to identify which action caused them
- D
The environment has no states in which actions can be taken
Correct answer
AThe agent may receive little or no feedback until it completes a long sequence of behavior
Explanation
When reward arrives only at the end of a long task, the agent can experience many zero-reward steps, making learning sample-inefficient.
- A
- 33
What is the basic intuition behind reward shaping?
- A
Replace the original task with a new task that has more immediate rewards
- B
Remove future rewards so that only immediate actions matter
- C
Give the maximum reward whenever the agent leaves its initial state
- D
Distribute guidance along a path while preserving the intended cumulative objective
Correct answer
DDistribute guidance along a path while preserving the intended cumulative objective
Explanation
The talk likens shaping to spreading a final cookie reward along the route, providing intermediate guidance while preserving the cumulative reward objective.
- A
- 34
What property of potential-based reward shaping was emphasized?
- A
It removes the need to define an original reward function
- B
It ensures that any approximate function-approximation method converges optimally
- C
It can provide intermediate guidance without changing which policy is optimal for the original reward
- D
It guarantees that every action receives a positive reward
Correct answer
CIt can provide intermediate guidance without changing which policy is optimal for the original reward
Explanation
The described shaping method preserves optimality with respect to the original unshaped reward while potentially helping the agent learn faster.
- A
- 35
How was reward shaping computed for the reward-machine example described in the talk?
- A
Value iteration was performed over the reward machine to derive shaping rewards
- B
A separate environment simulator generated a new reward for every action
- C
The agent selected arbitrary intermediate rewards from its visited states
- D
The reward-machine states were replaced with a learned transition model
Correct answer
AValue iteration was performed over the reward machine to derive shaping rewards
Explanation
The described method used value iteration over the reward machine to calculate the shaping values, then applied QRM to the shaped machine.
- A
- 36
Under what setting did the talk state that tabular Q-learning has an optimality guarantee?
- A
In the tabular case without function approximation, given sufficient learning experience
- B
Only when the environment is partially observable and rewards are dense
- C
Only when HRL options are guaranteed to be globally optimal
- D
In every deep-learning setting, regardless of the approximation method
Correct answer
AIn the tabular case without function approximation, given sufficient learning experience
Explanation
The talk noted that tabular Q-learning converges to an optimal policy in the limit under its stated tabular setting, though it may require many samples.
- A
- 37
What did the discrete Office World experiments illustrate about QRM compared with ordinary Q-learning?
- A
Both methods failed because the environment contained fragile furniture
- B
Ordinary Q-learning consistently learned faster because it ignored task structure
- C
QRM performed well only after the reward-machine transitions were hidden
- D
QRM reached optimal performance with fewer training steps by exploiting reward-machine structure
Correct answer
DQRM reached optimal performance with fewer training steps by exploiting reward-machine structure
Explanation
In the described Office World results, QRM learned the optimal policy quickly, while ordinary Q-learning made slower progress because it lacked the decomposed reward structure.
- A
- 38
What did the Craft World results show about ordinary Q-learning on the tested tasks?
- A
It did not solve the tasks within the reported training budget, while reward-structured methods performed better
- B
It outperformed all HRL variants by exploiting the reward machine
- C
It achieved optimal performance immediately without exploration
- D
It solved every task faster than QRM because the maps were random
Correct answer
AIt did not solve the tasks within the reported training budget, while reward-structured methods performed better
Explanation
Ordinary Q-learning remained near the bottom of the reported results after many training steps, whereas QRM and HRL methods benefited from task decomposition.
- A
- 39
What limitation was noted when moving from tabular learning to function approximation?
- A
The optimality guarantees no longer necessarily hold, although reward decomposition can still help
- B
The agent can no longer use actions or receive rewards
- C
Function approximation guarantees exact convergence for every task
- D
Reward machines cease to have states or transitions
Correct answer
AThe optimality guarantees no longer necessarily hold, although reward decomposition can still help
Explanation
With function approximation, the talk noted that optimality guarantees are lost, but the structured decomposition can still improve learning.
- A
- 40
Which kind of task was used to test the continuous-state deep-learning approach?
- A
A static grid in which only the agent's orientation could change
- B
A Water World task involving a controllable ball and moving colored balls
- C
A household simulation with no moving objects or continuous variables
- D
A board game in which every move was chosen by a symbolic planner
Correct answer
BA Water World task involving a controllable ball and moving colored balls
Explanation
Water World featured a controllable white ball and moving colored balls; tasks included avoiding one color and hitting others in specified orders.
- A
- 41
What was reported about reward shaping in the continuous-domain experiments?
- A
It always improved performance more than it did in the discrete domains
- B
It made all deep-learning methods converge immediately to the optimum
- C
It did not help QRM in the reported continuous setting and could hinder performance
- D
It was not applicable because continuous domains cannot define rewards
Correct answer
CIt did not help QRM in the reported continuous setting and could hinder performance
Explanation
The results showed that shaping helped in the first discrete graphs but did not help QRM in the continuous domain and could reduce its performance.
- A
- 42
What is one possible benefit of allowing reward-machine transitions to specify reward functions rather than only constant scalar rewards?
- A
The agent is guaranteed to learn without any environment interaction
- B
The reward can be tailored more finely in continuous domains instead of providing only large jumps between fixed values
- C
The task can no longer express conditions on event order
- D
The reward machine no longer needs transition guards
Correct answer
BThe reward can be tailored more finely in continuous domains instead of providing only large jumps between fixed values
Explanation
The talk noted that more general reward functions on transitions can offer a finer way to shape feedback in continuous domains.
- A
- 43
Why can reward machines serve as a normal-form representation for reward specifications?
- A
They eliminate the need for any language to define task requirements
- B
Different formal languages can be translated into automata, allowing shared learning algorithms to use one representation
- C
They ensure that all source languages have identical syntax
- D
They encode only the physical transition system, not reward behavior
Correct answer
BDifferent formal languages can be translated into automata, allowing shared learning algorithms to use one representation
Explanation
Reward machines can act as a common automata-based representation, so algorithms need not be separately designed for every source specification language.
- A
- 44
Which statement describes one route for constructing a reward machine?
- A
Infer the complete reward machine from the agent's physical coordinates alone
- B
Choose machine transitions randomly until the task is complete
- C
Convert every natural-language request directly into a Q-table without intermediate structure
- D
Translate a formal reward specification, such as a suitable regular-language or LTL specification, into automata
Correct answer
DTranslate a formal reward specification, such as a suitable regular-language or LTL specification, into automata
Explanation
A reward machine can be specified directly or generated by translating a formal language that can be represented by an appropriate finite-state automaton.
- A
- 45
What is another approach described for generating reward machines from high-level goals?
- A
Use a transition simulator to assign rewards without representing task progress
- B
Use a deep Q-network to replace the high-level goal with a random action
- C
Convert the goal into a fixed policy that cannot be adapted through learning
- D
Use symbolic planning to generate a plan and use that plan to populate a reward machine
Correct answer
DUse symbolic planning to generate a plan and use that plan to populate a reward machine
Explanation
The described planning approach starts from high-level goals, generates symbolic plans, and uses them to create a richer reward-machine structure that can guide learning.
- A
- 46
Why might a high-level planner provide waypoints for an RL agent?
- A
Waypoints remove the need for the agent to learn any low-level behavior
- B
Waypoints prevent the use of learned or previously acquired policies
- C
Waypoints can create richer intermediate guidance than a sparse reward for completing a distant goal
- D
Waypoints guarantee that the agent's transition model is fully known
Correct answer
CWaypoints can create richer intermediate guidance than a sparse reward for completing a distant goal
Explanation
A planner can turn a high-level goal into intermediate guidance, helping an agent learn a temporally extended task that would otherwise provide only a sparse final reward.
- A
- 47
What is the tradeoff associated with translating some high-level temporal specifications into deterministic automata?
- A
The resulting automaton must always contain exactly one state
- B
Translation removes all logical conditions from the task
- C
The resulting automaton is necessarily smaller than every equivalent expression
- D
The resulting automaton can grow exponentially or even doubly exponentially with the specification
Correct answer
DThe resulting automaton can grow exponentially or even doubly exponentially with the specification
Explanation
The discussion raised state blowup as a concern: translating LTL to deterministic automata can be very costly in the worst case.
- A
- 48
Which alternatives or techniques were mentioned for addressing automaton-size concerns?
- A
Use progression, nondeterministic or alternating automata, lifted representations, or hierarchical abstractions
- B
Remove every proposition from the task and retain only physical actions
- C
Replace all temporal specifications with a single constant reward
- D
Increase the number of reward-machine states before learning begins
Correct answer
AUse progression, nondeterministic or alternating automata, lifted representations, or hierarchical abstractions
Explanation
The discussion mentioned formula progression, nondeterministic and alternating automata, lifted representations, and hierarchical abstract machines as possible approaches.
- A
- 49
Why might learning a reward machine from demonstrations require more than identifying reward-worthy behavior?
- A
Reward machines cannot represent behavior observed in traces
- B
The learner may also need enough information about environment dynamics to form a useful Markovian representation
- C
Demonstrations cannot contain sequences of actions
- D
The learner must infer the agent's physical body from each demonstration
Correct answer
BThe learner may also need enough information about environment dynamics to form a useful Markovian representation
Explanation
The discussed learning work sought not only to identify reward-worthy behavior but also to capture sufficient environment dynamics for a Markovian representation.
- A
- 50
What makes a task partially observable in the described setting?
- A
The environment provides the agent with its complete state at every step
- B
The agent has no actions available in the environment
- C
The reward is always a function of the current physical location alone
- D
The agent's current observation omits some relevant parts of the environment or past events
Correct answer
DThe agent's current observation omits some relevant parts of the environment or past events
Explanation
In a partially observable environment, the agent may not see relevant objects or events from its current viewpoint and may need information from earlier experience.
- A
- 51
Why may the same physical position require different actions in a partially observable task?
- A
The agent's policy cannot condition on its current observation
- B
The correct action can depend on relevant history that is not visible in the current observation
- C
A physical position uniquely determines the complete future reward in every task
- D
The environment must assign a different action randomly at every visit
Correct answer
BThe correct action can depend on relevant history that is not visible in the current observation
Explanation
When the current observation hides past events, the agent may need memory to distinguish situations that look physically identical but require different actions.
- A
- 52
What are two ways mentioned to handle history-dependent information in partially observable environments?
- A
Ignore history or assume that all observations reveal the full state
- B
Construct a belief state or encode relevant history in a memory representation
- C
Replace the environment with a deterministic automaton over physical locations
- D
Use only the immediate reward or remove the agent's policy
Correct answer
BConstruct a belief state or encode relevant history in a memory representation
Explanation
The talk notes that one can construct a belief state, as in POMDPs, or represent relevant information through the history of states and actions.
- A
- 53
What role can a learned reward machine play in a partially observable environment?
- A
It prevents the policy from depending on past events
- B
Its state can serve as external memory that helps the agent remember task-relevant history
- C
It makes every hidden object directly visible to the agent
- D
It replaces the environment's external reward with a transition model
Correct answer
BIts state can serve as external memory that helps the agent remember task-relevant history
Explanation
The reward machine's state can record progress and past events, providing memory useful for selecting actions when current observations are insufficient.
- A
- 54
In the button-and-cookie example, why must the agent remember what happened before reaching the T-junction?
- A
The T-junction itself reveals the cookie's location directly
- B
The task requires the agent to visit rooms in alphabetical order
- C
Its best next action depends on whether it pressed the button and which rooms it has already searched
- D
The agent receives a cookie whenever it enters the corridor
Correct answer
CIts best next action depends on whether it pressed the button and which rooms it has already searched
Explanation
The agent must distinguish whether it has pressed the button, found or eaten a cookie, and which room it has searched; those events determine the next useful action.
- A
- 55
What assumptions were made about event information when learning reward machines for the partially observable example?
- A
The agent received a full symbolic state description at every time step
- B
The agent had complete access to every room and the cookie's location
- C
The agent had high-level binary classifiers or event detectors, but did not initially know where the cookie was
- D
The agent had no way to detect whether the button was pressed
Correct answer
CThe agent had high-level binary classifiers or event detectors, but did not initially know where the cookie was
Explanation
The setup assumed detectors for events such as button presses and cookie presence, while the cookie's location was not known in advance.
- A
- 56
How were the reward machines learned in the described partially observable work?
- A
Through discrete optimization using tabu search
- B
Through a fixed translation from the known cookie location
- C
Through ordinary Q-learning without any automaton structure
- D
Through value iteration over the physical transition system alone
Correct answer
AThrough discrete optimization using tabu search
Explanation
The talk states that reward machines for these partially observable tasks were learned using discrete optimization via tabu search.
- A
- 57
What did the described simple partial-observability example illustrate about some deep RL methods at the time?
- A
Several methods, including LSTM-based A3C, PPO, and ACER, failed to solve the example, while reward-machine learning succeeded
- B
Every tested deep RL method solved it immediately without memory
- C
Reward-machine methods performed worse because their states could not store history
- D
The example could only be solved by knowing the cookie's room beforehand
Correct answer
ASeveral methods, including LSTM-based A3C, PPO, and ACER, failed to solve the example, while reward-machine learning succeeded
Explanation
The talk emphasized that the apparently simple memory-dependent task was difficult for the cited deep RL methods, while learning reward machines enabled effective learning.
- A
- 58
Why can a learned reward machine be interpretable as well as useful for control?
- A
It contains only hidden numerical parameters with no event labels
- B
It encodes every possible future action sequence in natural language
- C
Its states and guarded transitions can expose recognizable stages and conditions in the task
- D
It guarantees that the environment has no unobserved variables
Correct answer
CIts states and guarded transitions can expose recognizable stages and conditions in the task
Explanation
A reward machine's structure can show task progress and the conditions that trigger transitions, making the learned representation understandable and open to inspection.
- A

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