Elamur Research

Sub-domain Modelling for Dialogue Management with Hierarchical Reinforcement Learning

Paper · 2017 · Paweł Budzianowski, Stefan Ultes, Pei-Hao Su et al.

Summary

Finding a hotel and booking it are parts of the same conversation, but they call for different decisions. To find the hotel, a dialogue system needs to work out what the user wants and identify a suitable place. Once the user asks to book it, the questions concern the reservation. Budzianowski and colleagues ask whether dialogue systems can learn to manage such conversations more effectively when these parts have their own policies. A policy determines which action to take given what the system currently understands. In the authors’ design, the main policy can ask a question or provide information itself, then hand over several turns to a specialist when the conversation reaches booking or payment.

The handoff is an option, a reinforcement learning action that can stay active across turns. Hotel and restaurant search each have a main policy, while the booking and payment policies are shared across both. During a handoff, the specialist chooses individual dialogue actions and receives feedback about progress toward its own goal. The main policy receives feedback from the dialogue environment and waits for the specialist to finish before making another decision. The authors use Gaussian processes to estimate the value of actions, giving the policies a way to explore choices whose value is still uncertain. They specify the division of tasks in advance and train the policies that operate within it.

In simulated conversations, the hierarchical system learned faster and performed better than a flat system that chose individual dialogue actions from a combined domain. The clearest reported difference concerned finding and providing the requested hotel or restaurant. The authors describe the flat system’s success rate there as around 20% lower than the hierarchical system’s, while its performance on the booking and payment subtasks was 10% worse on average. They also trained the hotel and restaurant policies separately on search, then introduced booking and payment through new options. Those pretrained policies adapted quickly in the more complex conversations. These findings come from a setting where the simulator’s intent was captured perfectly in the dialogue state and the search goal had to be met before the follow-up task could begin.

Deep dive: Sub-domain Modelling for Dialogue Management with Hierarchical Reinforcement Learning

How hierarchical reinforcement learning helps a dialogue system find hotels and restaurants, then hand off booking and payment to shared policies. · about 37 minutes to read

The problem and its context

Where search ends and another task begins

A dialogue manager decides what the system should do with what it has understood so far. If a user wants a moderately priced guesthouse, for example, the manager may need to ask about another search preference, confirm a constraint, or suggest an entity. Later in the same conversation, the user may want to reserve the place. Now the manager may need details about the party or the stay. A useful decision depends on both the information accumulated so far and the task it serves. A question about parking can help find a guesthouse and still be out of place once the conversation has moved to arranging a reservation.

The paper studies conversations that join these jobs together. A user starts by looking for something in a main domain, hotel or restaurant search, and can continue into a follow-up domain. Booking and payment serve as the follow-up tasks. The entity found in the initial part gives the next part its subject. The decisions are therefore connected even when their immediate goals differ. The system has to identify a suitable entity, recognize when the conversation calls for a different kind of work, and use what has already been established when carrying that work out.

The authors pose dialogue management as a control problem. At a given turn, the system has a belief state, a representation of what the user may intend or request. It chooses an action from those available and receives a reward, feedback on how well the interaction is going. Reinforcement learning uses that feedback to improve the policy. The optimization problem extends beyond the next utterance. A clarification question can consume a turn and still be worth asking if it enables the system to identify the right place and complete the rest of the task. Conversely, another question about search preferences can add effort when the relevant search work is already done.

Within a single domain, prior studies had already shown ways to learn dialogue policies from scratch. The introduction places neural policy learning alongside work on Gaussian processes and recurrent dialogue control. It also cites earlier work on optimizing policies while interacting with users. Those results motivate learning a dialogue policy from experience in the first place. The question here concerns how to organize the decision problem when a conversation joins tasks with different goals and some of those tasks recur across domains. Continuously Learning Neural Dialogue Management

Why the way tasks are divided matters

The paper describes earlier multi-domain approaches that treat a conversation as a collection of separate single-domain exchanges. One example combines deep Q-networks with a classifier that decides which domain should be active. A design of this kind gives each domain its own scope, but the authors point to a difficulty when one part of a conversation provides the conditions for another. A policy for taking a booking needs the context of the entity that the preceding exchange found. What happens during booking also matters to the quality of the conversation as a whole. A domain label alone leaves open how the decisions and their consequences should be connected during learning.

A flat policy presents a different difficulty. Here flat means that one policy for the combined task chooses successive actions at the same level. Search and follow-up actions are available to that policy as part of a common decision problem. In principle, it can learn when each action is appropriate. The concern is how much useful experience it takes to learn those distinctions across all the states and actions it encounters. Early in training, the system must discover useful sequences while it has little experience of what takes a dialogue to a successful outcome. The paper describes this difficulty as a cold start.

The authors also invoke the curse of dimensionality. In this context, a richer task brings more information to represent and more decisions to consider. A system that independently searches over what to do on every turn has to learn which distinctions matter at each stage. The desire to reuse a booking procedure makes the problem more concrete. The goal of collecting booking details can recur under both search domains. If the decisions remain embedded in separate combined policies, each policy has to learn how its own search and booking actions fit together.

The uses of hierarchy that the paper discusses go back to earlier work on task organization and the reuse of procedures. The idea is to let a higher-level policy choose an activity that has its own rules for acting and for finishing. The higher level can then make decisions less often than the policy carrying out the activity. The paper calls this temporal abstraction. In a dialogue, it means that a choice to book can remain in effect while several questions and responses settle the details. That choice defines the current activity for the duration of the exchange. Learning and executing generalized robot plans

The authors identify earlier hierarchical work on spoken dialogue as an important precedent. That work used MAXQ and hierarchical abstract machines, with estimates kept in tables. The paper sees the reliance on tables as a problem for extending such methods to richer belief states. A tabular representation assigns values to separately represented cases. A function approximator instead gives the learner a way to estimate values across inputs using a common representation. The distinction matters for this paper because a belief state contains a distribution over aspects of the user’s goal, and the proposed system should be able to learn from such states within each part of the hierarchy.

The paper also discusses contemporary evidence about flat reinforcement learning in tasks outside dialogue and names a parallel effort on composite dialogue tasks that used deep Q-networks. The authors point to instability they had observed with deep Q-networks in separate work and choose Gaussian processes for their experiments here. That choice is distinct from the decision to use a hierarchy. The hierarchy determines which decisions are made together and when. The Gaussian process supplies the value estimates that support those decisions. Benchmarking Deep Reinforcement Learning for Continuous Control

The paper’s starting point is thus a particular kind of composite task. The parts have a meaningful order, the follow-up work can be described as a goal in its own right, and the same kind of follow-up can arise in different main domains. Those properties give the designers a basis for specifying a hierarchy before training. The research question is whether learning within that structure helps the system handle the conversation, including when a policy that already knows how to search must learn to take on additional work.

The method, step by step

From looking up a place to arranging a booking

The system begins a dialogue in a restaurant or hotel domain. The paper calls these master domains because their policies can choose actions of their own and can also activate another policy. Each one is responsible for the search part of the conversation. To find out what the user wants or to convey what it has found, it can request information, confirm a detail, or inform the user. These are primitive actions: decisions whose execution occupies a single step in the learning problem.

Booking and payment are sub-domains. Each has a policy responsible for making the dialogue moves that advance its own goal. As an example, a booking policy can ask about the stay after the hotel has been identified, using the information that the main domain has passed along. Both master domains can call the booking policy, and both can call the payment policy. The main domain’s action choices therefore include both primitive actions and composite actions, whose execution belongs to a sub-domain and may take several turns.

A handoff changes which policy chooses the next dialogue move. While a booking option is active, the booking policy decides what to ask or convey. The main policy’s choice to begin booking remains in force as the exchange progresses. Once the option finishes, the main policy can act again if the dialogue is still ongoing. In the paper’s illustrated hotel dialogue, this allows the system to handle search, enter a booking exchange, and then return to the main domain for the closing response. The whole interaction continues to concern the same user goal even as responsibility for immediate decisions passes between policies.

The design specifies the hierarchy in advance. Hotel and restaurant search start the interaction, and booking and payment are the defined follow-up activities. The system learns to choose among its available actions given the belief state. For the main policies, this means learning when an action of their own is appropriate and when to delegate. For the sub-domain policies, it means learning which primitive moves serve their local task. The scope within which each policy makes those choices comes from the architecture.

How the dialogue hierarchy acts and learns

The steps in order.

How the dialogue hierarchy acts and learnsStep 1: Start in the hotel or restaurant domain1. Start in the hotel or restaurant domainStep 2: Read the current dialogue belief state2. Read the current dialogue belief stateStep 3: Choose a direct action or a subtask3. Choose a direct action or a subtaskStep 4: Run a chosen subtask with its shared policy4. Run a chosen subtask with its shared policyStep 5: Record local feedback during the subtask5. Record local feedback during the subtaskStep 6: Return control and accumulated feedback to the master6. Return control and accumulated feedback to the masterStep 7: Update the policies from recorded experience7. Update the policies from recorded experience

What a policy estimates

The learning formulation starts with the belief state and the actions available to the policy. The belief state describes the system’s estimate of the user’s needs. For example, current preferences can constrain which entity is appropriate, and the state can also reflect what information the user is seeking. As the conversation progresses, the belief state gives the policy a fresh input for its next decision. The simulator used in the experiments makes the user’s intent available through this representation. The decision problem is what to do given that input.

The paper gives the type of a policy over belief states and actions as follows.

π : B × A → [0, 1]

Here π is the policy, B is the set of belief states, and A is the set of available actions. The product sign × denotes pairs with one member from each set. The arrow gives the range of the mapping. The interval [0, 1] is the inclusive range for the probability of choosing the action in the belief state. A policy can assign different probabilities to its available actions as the state changes.

The authors frame the flat decision problem in terms of a Markov decision process, in which a policy acts from the current decision state, observes what follows, and receives reward. They distinguish directly optimizing the policy from estimating the value of taking an action and following a policy afterwards. Their chosen approach takes the latter route. To see the difference between reward and value, consider a system that asks a useful search question. The immediate feedback reflects the cost of the turn, while the value of asking can reflect the later success that the answer makes possible.

The paper writes this expected value as a sum of discounted rewards.

Qᵖⁱ(b, a) = Eπ[Σₖ₌₀ᵀ⁻ᵗ γᵏ rₜ₊ₖ | bₜ = b, aₜ = a]

Qᵖⁱ, with π as its superscript label, is the action-value function for the policy π. Its arguments b and a are a particular belief state and action. Eπ means an expectation under that policy, averaging the possible future rewards that follow the specified starting decision. The vertical bar introduces the conditions for that expectation. bₜ and aₜ are the belief state and action at time t, fixed to b and a in this expression. The equals signs state those conditions and define the value on the left.

The summation sign Σ collects terms indexed by k, a step offset beginning at 0 and ending at T − t. In this equation T marks the final time in the sum. The term rₜ₊ₖ is the reward at the time reached by adding the offset k to t. The discount factor γ is greater than 0 and at most 1. Its power γᵏ gives each reward a weight that depends on the offset. A policy can therefore evaluate an action in terms of both the feedback that arrives promptly and the feedback that follows after other decisions.

How the system estimates value with limited experience

The set of possible belief states is rich enough that the authors choose to approximate action values with a Gaussian process. The approximation treats the values as uncertain and represents how estimates for pairs of belief states and actions are related. After the system collects experience, it can update its estimates. A kernel is the function that specifies how those estimates are related. This allows experience with an action in one situation to be relevant to the value estimate for another input to the extent that the kernel connects them.

The paper presents the Gaussian process using this notation.

Q(b, a) ∼ GP(0, k((b, a), (b, a)))

Q(b, a) is the estimated action value at belief state b and action a. The symbol ∼ means that the value is described by the distribution that follows. GP stands for Gaussian process. The 0 specifies its prior mean. k is the covariance kernel, whose inputs are belief–action pairs. The displayed call repeats (b, a), giving the kernel at the same input on both sides. The kernel’s role across inputs is to relate the values estimated for different pairs. The k in this expression names a function and has a separate role from the step index in the return equation.

The authors use GPSARSA to learn the value estimates. What matters for policy choice in their account is that the learner has a distribution over plausible values after seeing data. This updated distribution is called the posterior. Given the current belief state, the policy samples values for available actions from the posterior and chooses the action with the highest sampled value. Actions whose estimates are well established can be chosen for their expected payoff. An uncertain action can also draw a high value and be tried, generating information about its consequences.

This way of choosing actions addresses exploration and exploitation. Exploration gathers experience about choices whose consequences are still uncertain. Exploitation makes use of what the learner already thinks works well. Both matter to the master policy early on. It has to discover when its immediate search actions are useful and when selecting an option helps complete the conversation. The authors make the master policies more exploratory at the beginning of training so that they have the opportunity to learn both kinds of choice.

How an option works

The option framework treats a longer activity as an action available at the higher level. An option specifies when the activity can start, how it acts once started, and how it can end. A primitive action fits the same general framework as an activity that takes a single step. A booking option may run across several steps because the policy inside it can still have details to resolve after the first question. The option framework lets the higher-level policy choose between these activities even though their durations differ.

The paper describes an option as a tuple.

⟨π, β, I⟩

The angle brackets identify the components of a single option. π is its internal policy, used to choose what happens while the option is active. β is the termination condition, expressed as a probability of ending the option in a state. I is the initiation set, the states in which the higher-level policy may select the option. These components answer different questions. Eligibility concerns whether the option can begin now, the internal policy concerns how it proceeds, and termination concerns whether control should return after it has started.

The paper gives the following signature for the internal policy in the general formulation.

π : S × A → [0, 1]

Here S is the set of states used in the option formulation and A is the action set. S × A contains the state–action pairs. The arrow says that the policy π maps a pair into [0, 1], the inclusive range of probabilities. The earlier formulation used B for dialogue belief states. The option definition uses the general state symbol S because it describes a framework for decision problems beyond the particular dialogue representation.

The termination rule has a state as its input.

β : S → [0, 1]

β is the termination probability function. S is again the set of states, and the arrow gives the range of the function as [0, 1]. An option that is already active can therefore have a state-dependent chance of finishing. This is different from the question of whether an inactive option may be selected in the first place, which the paper expresses through the initiation set.

I ⊆ S

I is the initiation set and S is the state set. The subset relation ⊆ means that the states allowing initiation are drawn from S. In the experiments, the search goal has to be reached before the user proceeds to the follow-up domain. That condition gives the handoff a clear task boundary. The formal definition is more general than the particular sequence used in the experiments.

The policy above the options is denoted by µ. The paper uses µ(s, o) for the probability of selecting option o in state s. In the general framework, an option’s own policy can in turn choose other options, allowing activities to be nested. In the dialogue architecture tested here, the booking and payment policies choose primitive actions. The behavior of an option is learned within the assigned sub-domain, and the higher-level policy learns the choice among options and primitive actions at its own decision points.

Why the two levels can act at different speeds

A policy that chooses among options may have to wait different amounts of time before it acts again. The paper describes this with a semi-Markov decision process. A direct dialogue action is followed by another decision at the main level after a single step. When the main policy starts booking, several user and system responses can intervene before that level makes its next choice. The booking policy still makes decisions during those turns, so decision time at the main level and decision time inside the option have different units in practice.

The value of a policy that is initiated in a state is expressed as expected reward after initiation.

Vᵖⁱ(s) = E[rₜ₊₁ + γrₜ₊₂ + … | E(π, s, t)]

Vᵖⁱ(s) is the value of policy π from state s. The outer E means expectation. The reward rₜ₊₁ arrives at time t + 1, the first time shown after initiation at t. The next displayed reward, rₜ₊₂, is multiplied by the discount factor γ. The addition signs and ellipsis indicate that later rewards contribute to the continuing discounted sum. The vertical bar means that the expectation is conditional on the event to its right. The inner E(π, s, t) names that event, which is the initiation of π in s at time t.

A policy over options ultimately gives rise to a sequence of primitive actions. Its value can be understood in terms of the policy that produces those actions in the underlying process. This relationship lets the authors use reinforcement learning at each level, with different spans between decisions. From the booking policy’s point of view, a question about the stay and the user’s answer are part of successive steps. From the main policy’s point of view, the whole exchange belongs to the extended action it chose.

Which feedback reaches which policy

The main policy learns from extrinsic reward, the feedback supplied by the dialogue environment. When it takes a primitive action, it receives the associated feedback as the step is completed. When it takes a composite action, it waits until the sub-domain finishes and receives accumulated reward information for that interval. This gives the learning procedure a way to associate the consequences of the extended activity with the decision that started it.

A sub-domain policy learns from intrinsic reward, which the paper also describes as a pseudo-reward. An internal critic assesses whether the subgoal has been reached. The local signal is useful because the booking policy is responsible for the booking exchange. Its feedback can reflect how well that exchange progressed towards completion. The main policy’s feedback concerns the interaction at its own level, including the consequences of handing over control. The distinction defines who receives feedback about which part of the task.

For example, consider the decision to start booking after the user has accepted a hotel and asked to reserve it. The booking policy now faces a sequence of local decisions. It can ask for a missing detail, take account of an answer in the following belief state, and keep acting until its work ends. The main policy needs feedback about what followed the handoff. The booking policy needs feedback that distinguishes the choices it made while handling the details. The architecture records experience at both points so each learner has transitions that correspond to decisions it actually controls.

The paper’s algorithm initializes dictionaries for the main and sub-domain experience and initializes their policies. Each training episode starts with a dialogue and an initial belief state. At a main-level decision, the policy selects an action. A primitive action is executed and produces a next state and extrinsic reward. A composite action switches control to the relevant sub-domain. While it has control, the sub-domain policy selects actions, records transitions with intrinsic feedback, and advances the state. The outer decision is recorded for the main policy, and the dictionaries are used to update the policy parameters.

The distinction between dictionaries corresponds to a difference in the meaning of the recorded experience. A transition inside a sub-domain tracks what follows one of its primitive choices. A master-level transition following a handoff covers the interval during which the option had control. This is how the procedure preserves the time span of a composite action in learning. Treating every sub-domain turn as a fresh master decision would give the main policy choices that it did not actually make during execution.

For the simulated tasks, the paper gives the same form for the intrinsic and extrinsic return.

1(D) ∗ 20 − T

D identifies the dialogue being evaluated. 1(D) is an indicator of whether it succeeds. The multiplication sign ∗ applies the success payoff 20 when the indicator is active. T gives the length of the dialogue in the return expression, and the minus sign deducts that length. Accordingly, success earns a positive contribution and additional turns carry a cost. The intrinsic and extrinsic uses of the expression follow the different scopes of feedback described above. The paper separately sets the discount factor used in the experiment to 0.99.

How an existing search policy is extended

The training-from-scratch experiment asks the whole hierarchy to learn from the outset. The paper also considers a system whose hotel and restaurant policies already work in their original search tasks. The authors first train those policies in their independent master domains, with search goals and without follow-up goals. Once those policies are robust, the system enters hierarchical training with the new options available. The old decisions about requesting or providing information can draw on the experience acquired in the simpler setting.

This transfer is possible because the representations of belief states and actions have separate roles in the kernel. The authors keep the belief-state kernel because the master policy still operates on the same belief space when its action set grows. The action kernel retains connections for actions that belong to both the original and expanded sets. For cases outside that overlap, the transfer construction assigns 0. The earlier experience supplies information about actions whose identities carry over. The new high-level choices have to acquire their value through experience in the expanded task.

Suppose the restaurant policy has learned the value of asking about a search constraint. That question has the same search function after a booking option is introduced. Much of what the policy learned about when to ask can therefore carry forward. The policy still needs experience with the option itself, including when to select it in relation to ordinary search actions. The transfer procedure supports both by keeping the state representation and preserving the relevant part of the prior action kernel while expanding the set of choices.

The experiment follows the idea of curriculum learning, in which learning starts with a simpler problem and moves on to a more demanding one. Here the simpler task is to find an entity and supply the requested information. The more demanding task involves doing that work and then handling a follow-up. The authors use the structure of the hierarchy to make that expansion explicit. The master policy acquires an additional way of acting, and the steps inside the new option belong to a specialist policy.

Experiments and results

The simulated conversations

The authors evaluated the system with PyDial, a toolkit for statistical dialogue systems. In the restaurant domain, the database contains roughly 100 venues, and the search task has 3 constraint slots. In the hotel domain, there are 33 entities with 5 properties. A slot is a field in the dialogue representation that can hold information about what the user wants or what the system can ask about. In the paper’s example, price range helps specify a search, while the timing of a stay helps specify a booking. Which fields matter depends on which part of the conversation is under way.

Booking has 5 slots that the system can ask about. Payment has 3 search constraint slots. In the flat configuration, each main domain is combined with the follow-up domains. The paper reports 11 requestable slots for the resulting restaurant configuration and 13 for the hotel configuration. These counts describe the scope of the combined dialogue domains. The representation used as input to the policy is the full belief state, which includes distributions over aspects of the user’s intent and the requestable information. The number of input entries therefore describes a different property from the slot count.

At the start of each dialogue, the experiment randomly chooses the main domain and gives the simulated user a goal. The user must find an appropriate entity and then either book it for a date or pay for it. In this setup, there is a small chance that the user will be able to change the goal. Progression into booking or payment depends on achievement of the initial goal. This gives both architectures the same basic kind of conversation to solve. It also ensures that a follow-up task begins with an entity already identified, a condition aligned with the roles assigned to the master and sub-domain policies.

The user is agenda-based. Its behavior is driven by a simulated goal and the dialogue moves involved in pursuing that goal. The authors specify that the user’s intent is perfectly captured in the belief state. This makes the experiment chiefly a test of action selection. The policies can make poor choices even when given an accurate account of the user’s intent, for instance by returning to search constraints when the current request concerns a booking. Successful behavior requires using the state to decide what action advances the conversation.

The maximum dialogue length is 30 for both architectures, and the discount factor is 0.99. The return favors successful task completion and assigns a cost to length under the rule given above. The authors also discuss success rates for the search part and performance on the follow-up subtasks. Looking at these outcomes by part of the conversation matters because a composite dialogue creates more than one place where a policy can lose progress. Trouble supplying the entity and trouble taking a booking concern different decisions, even when both affect whether the overall interaction succeeds.

What the flat and hierarchical policies receive

The principal comparison is between a policy that organizes decisions into search and follow-up activities and a flat policy for the combined task. The flat restaurant policy deals with restaurant search together with the follow-up actions. The flat hotel policy does the same for hotels. The hierarchical restaurant and hotel policies each handle their own search and select follow-up options. The booking and payment decisions within an active option belong to policies shared across the two main domains. Thus the comparison is between two ways of arranging the information and decisions involved in the same kind of simulated dialogue.

The full belief state has size 311 for the hierarchical restaurant policy and 156 for the hierarchical hotel policy. The hierarchical booking policy receives a belief state of size 431, and payment receives one of size 174. The corresponding combined flat policies have input sizes of 490 for restaurant and 333 for hotel. These sizes characterize the inputs to individual policies. They help explain how the hierarchy distributes the decision problem, since some information serves a specialist and some serves the main policy.

The comparisons below use belief-state size because the paper gives exact dimensions for both architectures. A smaller main-policy input shows how the work is partitioned. The booking state size also makes clear that a specialist can have a substantial representation of its own. Taken together, the dimensions describe where the information is processed, while the learning curves and success rates show what the systems achieve in the simulated dialogues.

Flat and hierarchical restaurant belief-state sizes in PyDial

The restaurant master policy receives a smaller belief state when follow-up tasks have their own policies.

Flat and hierarchical restaurant belief-state sizes in PyDialFlat restaurant policy: 490Flat restaurant policy490Hierarchical restaurant master policy (this paper): 311Hierarchical restaurant master policy(this paper)311
The numbers
System or settingbelief-state entries
Flat restaurant policy490
Hierarchical restaurant master policy (this paper)311

Flat and hierarchical hotel belief-state sizes in PyDial

The hotel master policy also handles a smaller belief state in the hierarchy.

Flat and hierarchical hotel belief-state sizes in PyDialFlat hotel policy: 333Flat hotel policy333Hierarchical hotel master policy (this paper): 156Hierarchical hotel master policy (thispaper)156
The numbers
System or settingbelief-state entries
Flat hotel policy333
Hierarchical hotel master policy (this paper)156

Learning the composite task from scratch

The main experiment runs for 4000 training dialogues and evaluates the policy after each 200 dialogues. The repeated evaluations allow the authors to compare how the policies develop over the course of training. One issue is the cold start. At the outset, the flat policy needs experience to work out which actions advance search and which help with the follow-up. In the hierarchy, the master policy has to learn useful handoffs while the specialists learn their own exchanges. The authors report faster learning for the hierarchical arrangement and a better policy at the end of the comparison.

The flat policy improved enough to get past the cold start. The authors report that the gap was more pronounced in the main domains than on the follow-up tasks. On booking and payment, they describe the flat approach as performing 10% worse on average than the hierarchical one. For providing an entity in the hotel and restaurant domains, they describe the flat success rate as around 20% lower. Those are the paper’s descriptions of the gaps. They show where the authors saw the clearest separation without supplying absolute endpoint rates for each domain in the prose.

The location of the larger gap is important to interpreting the result. A hierarchy might seem to help chiefly by giving booking and payment their own policies. The authors’ account shows that the difference also appears in the preceding job of supplying an entity. In the flat architecture, that job is part of a larger choice problem that includes follow-up actions. Under the hierarchy, the main policy handles its own dialogue moves and chooses when to activate a specialist. The results are consistent with that arrangement helping to preserve search behavior in a composite dialogue.

The authors also continued training the flat system for another 6000 dialogues. They report seeing no improvement in success rate during that extension. This observation addresses the immediate possibility that the flat policy merely needed more experience beyond the main training run. The additional run is described in the text, and the published learning curve is for the main comparison. The extension supports the authors’ result for the tested setup and budget. It leaves open how another flat training procedure or a different allocation of experience would behave.

For an engineer considering the computational implications, the relevant learning measure is the number of training dialogues seen at successive evaluations. The paper’s claim about speed concerns learning progress as interaction experience accumulates. An active option can span several primitive decisions, so the numbers of master-level decisions and local decisions inside a dialogue can differ. The comparison still has a common scale in dialogue episodes. The paper reports the policies’ progress on that scale and does not give a corresponding comparison of elapsed computation time.

What the example conversations reveal

The paper presents successful hotel dialogues from both architectures for the same initial user goal. The user wants a moderately priced guesthouse, has no firm preference about its star rating, and does not require parking. The interaction also involves a request for the hotel name and price, followed by arranging a booking. This example provides a way to see the action choices that a success measure compresses into an outcome. Both systems arrive at a reservation, but their behavior between finding the guesthouse and completing the booking differs.

The hierarchical dialogue establishes search preferences and offers a matching guesthouse. After giving price information, it receives the user’s request to book for a party. The main policy activates the booking option. The following questions concern when the user intends to arrive and how long the stay should last. The booking policy confirms the party and completes the reservation. The main domain then handles the farewell. The example makes the change of control legible because it occurs at the point where the purpose of the questions changes.

The flat dialogue also finds the guesthouse and gives its prices. Earlier, it repeats a question about the preferred star rating. After the user asks to book, it asks about parking and returns to a question about the hotel’s rating before gathering further reservation details. The paper marks these search-oriented moves as inappropriate to the active task. The dialogue nonetheless reaches a successful reservation. A reader can therefore see how success and the organization of the interaction capture different qualities. A policy can complete a task after spending turns revisiting matters that had already served their purpose.

This is an illustration of the authors’ proposed explanation for the aggregate result. The hierarchy keeps the booking policy in charge of the local exchange after the handoff, so its actions concern booking. The flat policy can continue to choose from actions associated with the broader combined task at that point. The examples show what a misplaced choice can sound like in practice. The learning curves and reported success gaps supply the evidence about overall performance, while the example supplies a concrete instance of how behavior can differ inside an otherwise successful dialogue.

Adapting from search to the expanded task

In the second comparison, the authors first train the main hotel and restaurant policies in domains without follow-up goals. After those policies become robust, they train the expanded hierarchical system for 4000 dialogues and test after each 200. This time the central comparison is between entering hierarchical training with earlier search experience and entering it from scratch. In both cases the expanded hierarchy can use the new options. The distinction is what the main policies already know when they first encounter the composite task.

The paper reports that the policies pretrained in the independent domains adapt quickly to the more complex conversations. The learning curves are used to show this transition. The text does not assign a precise dialogue count to reaching a target level of success, so the result is best read as comparative evidence of faster adaptation over the reported run. The action-kernel design makes that comparison meaningful. The new options can acquire value as the system encounters them, while the familiar actions still benefit from experience gathered before the expansion.

The adaptation experiment concerns adding capabilities to an existing policy whose search problem is preserved. The restaurant policy is still responsible for restaurant search and the hotel policy for hotel search. The belief-space kernel stays the same at each master policy during the transfer. The paper’s demonstration therefore involves changing what the policy can choose after or alongside its familiar actions. It gives evidence that the option structure can accommodate a larger task while reusing earlier training on an identifiable part of it.

The authors connect this finding to the prospect of training policies with available data and later adapting them to larger conversations. In the reported experiment, the directly observed result comes from training search policies in a simpler setting and then continuing with the hierarchy. The strength of that result is that earlier experience remains usable even though the master policies must make additional choices. The report of the adaptation curve concerns the subsequent composite-task run. The preparatory work that produced the robust search policies belongs to the earlier training stage.

What the ablations show

The paper reports no component-by-component ablation, and its analyses instead compare the full hierarchy with a flat system, compare pretrained and fresh hierarchical policies, check longer flat training, and illustrate the dialogue behavior.

Grouping the decisions changes where the gap appears

The flat comparison tests the architecture as a whole in a shared experimental setting. Both systems have to handle searching for an entity and completing a follow-up. Both face the same dialogue cap and the same form of return, and both interact with the simulated user. What changes is the arrangement of the decision problem. The hierarchy uses separate policy scopes, extended actions, and local feedback for the subtask. The flat configuration learns the combined action problem for each search domain. The resulting comparison can establish that the package performed better in this setting.

The analysis by part of the task gives that finding more detail. The authors report that the flat policy came closer to the hierarchy on follow-up subtasks than it did on finding and providing the entity. Search is the prerequisite to the follow-up in the simulator, so weaker search behavior matters to how often the dialogue can reach later work in a suitable state. This is evidence against interpreting the run purely as a contest between alternative booking procedures. The larger reported difference concerns an action sequence that the main policy is responsible for before booking or payment has control.

Several features of the hierarchy could contribute to that result. The master policies see smaller belief representations, a specialist handles primitive actions during an option, and local reward targets the subgoal. Booking and payment experience can also be used by a shared policy across the main domains. The paper tests these features together. The comparison therefore cannot determine what would happen if only the input representation changed, or if the same options were used with a different reward arrangement. It supports the design the authors ran as a whole.

The authors’ example gives a behavioral interpretation of the flat policy’s difficulty. In the successful hotel dialogue, it returns to search concerns during booking. This illustrates imperfect separation of tasks within the combined decision problem. It cannot establish how common that pattern is, because the paper presents an example and does not count how often particular kinds of misplaced questions occurred. The example is especially helpful for identifying what would need to be counted to test that explanation more directly. The reported difference in search success is the broader observation the explanation has to account for.

More flat training addresses the budget explanation

Continuing the flat policy beyond the common training run tests a question left by the main comparison. Learning progress may differ early simply because one policy takes longer to discover successful behavior. If the flat approach later reached the same level, the result would primarily concern how early useful behavior emerged. The authors report that it had already moved past the cold start and that the additional run yielded no further improvement in success rate. This makes the observed gap more persistent within the course of training they describe.

The extension provides less detail than the main run. The paper states the extra training budget and the absence of observed improvement without presenting the additional curve. A reader can use it as evidence that more dialogues of the same kind did not close the gap in that run. It gives no direct information about sensitivity to other exploration choices, another flat value estimator, or a representation that marks the current subtask explicitly. Those would change more than the amount of training and are outside what the extended run tests.

Pretraining isolates a different question

Within the hierarchy, the adaptation comparison changes whether the search policies have already been trained. The expanded system is available to both the pretrained and fresh runs. This makes the comparison more directly about the value of carrying search experience into the composite task. The authors observe fast adaptation when the hotel and restaurant policies begin with that experience. It shows that the older decisions can remain useful as new options are introduced, given the stable belief space and the kernel’s treatment of shared actions.

The comparison measures the effect of the pretraining procedure as carried out. Earlier training changes the knowledge available to the main policy at the start of the complex dialogue run. The experiment does not break that effect down by action or identify which inherited search decisions matter most. It also does not tell how much of the benefit a different method of preserving prior action values would retain. What the learning curves establish is that search pretraining and the specified transfer rule can be used together when the main policy takes on the expanded action set.

The comparison leaves the mechanism of sharing between master domains largely untested on its own. The architecture permits booking and payment experience from hotel and restaurant conversations to update shared specialists. A version with separate specialists would be needed to measure the benefit attributable specifically to sharing, while keeping temporal abstraction and local rewards in place. The experiments establish that a shared arrangement can work in the tested setup. They give no separate estimate of how much faster learning becomes because both main domains call the same specialist.

Limitations

Limits identified by the authors

The authors present the hierarchy as a step toward more complex task-oriented dialogue. They identify a deeper hierarchy and more demanding tasks as the natural next stage. The experimental architecture is shallow. The master policies choose extended actions, and the corresponding sub-domain policies carry those actions out through primitive steps. The general options framework permits further nesting, and the experiments demonstrate the behavior of the level structure that the authors actually use. Claims about deeper composition remain prospective.

The authors also identify the scalability limits of earlier tabular work and explain their own choice of Gaussian processes in light of instability observed with deep reinforcement learning in separate work. The paper’s method responds to those concerns by combining options with a function approximator that represents uncertainty. Its evidence is a dialogue experiment with a defined task structure. It gives no head-to-head result showing how the Gaussian process would compare with a deep Q-network inside the same hierarchy. The motivation for the estimator and the demonstrated benefit of the complete system therefore support claims of different scope.

The paper’s conclusions emphasize that previously trained policies can be integrated into more complex conversations. The authors test that claim through an expanded action set with an unchanged main-domain belief space. This is a practical form of extension because the reusable search task is clearly identified. The transfer design is specified in terms of this overlap, so the authors’ experiment gives its strongest evidence where the original state representation and part of the action vocabulary remain usable after the expansion.

Limits visible in the experimental setup

The evaluation is simulated, with user intent perfectly reflected in the belief state. That condition makes it possible to study the policy without having to infer how recognition errors contributed to outcomes. It also restricts what can be concluded about a spoken dialogue system in use. A policy that receives a mistaken preference or misunderstands a request can face a different decision problem. Although the paper motivates Gaussian processes partly by referring to noisy settings, the reported comparison here provides no measurement of how the hierarchy behaves when the belief state is wrong.

The simulator’s task order favors a clear transfer of control. The user must achieve the main goal before moving on to booking or payment. A booking request is thus a follow-up to a search that has already succeeded. Realizations of the task in which a user revises the desired entity after beginning a reservation, brings up payment during search, or alternates between subtasks would put different demands on option termination and resumption. The paper allows some changes of goal, but its results concern the progression enforced by the experiment. They do not measure performance on freely interleaved or interrupted tasks.

The designers provide the decomposition in advance. The learner needs to work out how to act in search, when to call an available option, and how to carry out that option. It is given the main domains, the sub-domains, and the feedback used to judge subgoal attainment. Thus success with this architecture gives evidence about learning from a meaningful decomposition. It does not show how to discover task boundaries from dialogue experience, how to decide which activities are suitable for sharing, or how to learn a useful local objective when the subgoal is hard to specify.

The domain and goal coverage is also limited. Hotel and restaurant search each lead to booking or payment, and both main domains operate in the Cambridge setting studied in the paper. These tasks have a plausible relationship, which is part of the reason they make a clear test of the architecture. A follow-up whose meaning or required information changes substantially with the initial domain would be a different test of specialization and sharing. The paper offers no result showing how the shared policies fare when the new domain changes the subtask itself.

There are limits to the precision of the reported performance comparison. The prose gives relative descriptions of the gaps and distinguishes entity provision from follow-up performance. It does not give exact success proportions for every policy and domain at the end of training alongside those descriptions. The report of longer flat training gives a conclusion about the observed run, without the corresponding curve or a breakdown of variability. These details matter when asking how stable the difference was across runs or whether a particular domain drove an average. The strongest claim supported by the account is the comparative pattern the authors report for the evaluated setup.

The reward gives success a payoff and applies a cost for dialogue length. This specifies a concrete optimization objective and helps explain why unnecessary questioning can matter even when the conversation eventually succeeds. The illustrated exchanges also invite judgments about relevance and conversational flow, such as whether an extra parking question feels appropriate at a given moment. Those judgments extend beyond the reported measures. The paper does not supply user ratings or a separate evaluation of conversational quality, and the example dialogues should be read alongside the metrics they help illustrate.

Fast adaptation also has a specific meaning here. The work carried out after the hierarchy is expanded benefits from earlier training whose endpoint is described as having reached robust search policies. The experiment provides comparative evidence about learning in the expanded setting with that experience already in place. The complete cost of starting from scratch, preparing the reusable policies, and then adapting them is a separate accounting question. The reported adaptation budget alone gives no basis for answering it or for deciding when preparing policies beforehand would save training overall.

Finally, the flat comparison evaluates the architecture under the authors’ training choices, including the more exploratory policy used at the master level. The hierarchy changes which actions are available at particular decisions, the inputs seen by individual policies, and how reward is assigned. Those changes are appropriate to the design, but they limit causal attribution. The performance advantage shows what happened when the authors made these choices together. The experiment cannot quantify the independent effect of temporal abstraction, specialized reward, kernel estimation, shared specialists, or exploration.

What came after

The paper does not establish a record of later systems that adopted its method. It discusses a parallel effort on composite dialogue tasks, which it places alongside its own work. The authors distinguish their approach through the use of Gaussian-process value estimation in the hierarchy. The parallel research helps locate the paper within interest in composite task completion at the time. It provides no evidence of subsequent adoption of the paper’s particular way of sharing sub-domain policies or transferring search experience.

The direction the authors explicitly propose is to deepen the hierarchy and apply it to more complex tasks. In the tested arrangement, choosing booking or payment hands control from a master policy to a specialist that selects primitive moves. A deeper arrangement would exercise the general ability of an option to choose other options. That would bring additional decisions about which activity has control, when it has finished, and what feedback should reach the policy that delegated to it. The authors identify this as future work, so it remains separate from the reported comparisons.

The adaptation study also defines a concrete point from which further work could extend the task. Here an existing search policy keeps its belief space and acquires additional high-level actions. The reported result shows fast adjustment under those conditions. Expansion that changes both the state representation and the available actions would ask a different transfer question, because preserving the earlier belief kernel is part of what makes reuse straightforward in the experiment. The paper ends with evidence that search experience and shared follow-up policies can be combined in its simulated domains, and with an open question about how far that structure can extend.

Cite

Cite as Paweł Budzianowski, Stefan Ultes, Pei-Hao Su, Nikola Mrkšić, Tsung-Hsien Wen, Iñigo Casanueva, Lina M. Rojas-Barahona and Milica Gašić. 2017. Sub-domain Modelling for Dialogue Management with Hierarchical Reinforcement Learning. Proceedings of the 18th Annual SIGdial Meeting on Discourse and Dialogue.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w17-5512

@inproceedings{budzianowski2017sub,
  title = {{Sub-domain Modelling for Dialogue Management with Hierarchical Reinforcement Learning}},
  author = {Paweł Budzianowski, Stefan Ultes, Pei-Hao Su, Nikola Mrkšić, Tsung-Hsien Wen, Iñigo Casanueva, Lina M. Rojas-Barahona and Milica Gašić},
  booktitle = {Proceedings of the 18th Annual SIGdial Meeting on Discourse and Dialogue},
  year = {2017},
  doi = {10.18653/v1/w17-5512},
  url = {https://doi.org/10.18653/v1/w17-5512}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/budzianowski-2017-sub-domain-modelling-dialogue-management/