Policy Networks with Two-Stage Training for Dialogue Systems
Paper · 2016 · Mehdi Fatemi, Layla El Asri, Hannes Schulz et al.
Summary
A restaurant assistant has to decide when it knows enough to make an offer. Asking about the food again can be useful if the user’s preference is unclear. The same question wastes a turn if the user has already answered it. A premature offer can be worse, especially if it overlooks a requirement. The paper asks how a system can learn to make these decisions without spending its early conversations trying actions that a competent assistant would rarely take. Its answer is to teach the system from recorded dialogues first, then improve its decisions through interaction. It tests that approach on restaurant searches drawn from the Dialogue State Tracking Challenge 2, or DSTC2. Dialogue systems
The method separates the decision about what to do from the estimate of how well the conversation is going. The actor assigns probabilities to possible actions, such as asking about an area or offering a restaurant. The critic estimates the future reward the system can expect from its current understanding of the user. Before simulated interaction begins, the actor learns to predict the actions taken in recorded dialogues. The critic learns from rewards associated with recorded experience. During subsequent interaction, the critic helps the actor adjust its choices when a turn goes better or worse than expected. The authors call the two-stage version Teacher Deep Advantage Actor-Critic, or TDA2C.
The experiments distinguish the benefits of the architecture from the benefits of starting with demonstrations. In the simulated restaurant task, Deep Advantage Actor-Critic without pretraining converged after 6000 dialogues, compared with 10,000 dialogues reported for the value-based methods in the same comparison. In the comparison of actor-critic training regimes, supervised initialization on DSTC2 reached convergence after 3000 dialogues, compared with 5000 dialogues for the batch-training comparison. The authors saw little difference between supervised initialization using all 2118 dialogues and using the 706 dialogues in the highest expert-rated category. Their explanation is that a conversation can contain appropriate system actions even if its overall quality is lower.
A separate comparison found that a Deep Q-Network trained on the same compressed representations as Gaussian Processes SARSA converged with fewer dialogues. The Deep Q-Network could also learn from richer tracker features and select slot-specific actions directly. These findings address two costs of building a dialogue policy: designing simplified representations by hand and gathering interaction experience for a policy that starts untrained. The results come from one restaurant domain and an agenda-based user simulator. Earlier gains in that setting make the training scheme a candidate for use with real users, whose responses to a newly trained policy were outside the experiment.
Deep dive: Policy Networks with Two-Stage Training for Dialogue Systems
A dialogue policy learns from recorded restaurant searches before reinforcement learning refines its decisions through simulated conversations. · about 39 minutes to read
The problem and its context
What the system has to decide
The paper studies dialogue management, the part of a task-oriented system that chooses what to do next. A restaurant search gives that decision a concrete shape. The user can specify constraints such as food type, area, and price range, and request information such as the address or phone number of the restaurant the system finds. The manager has to decide when to ask for a missing preference, when to clear up an uncertain interpretation, and when to offer a restaurant. A conversation succeeds only when the restaurant fits the user’s constraints and the user obtains the requested information. Finding a plausible database entry is therefore one part of completing the task.
The system chooses its next move with incomplete information. A recognized utterance can be wrong, its interpretation can be uncertain, and the user can leave important details unstated. A dialogue state tracker keeps estimates of what the user wants as the conversation proceeds. For a food preference, it can assign different probabilities to candidate values. The same proposed restaurant can be a reasonable choice under one interpretation and a mistake under another. To act sensibly, the manager must weigh that uncertainty against the cost of spending another turn finding out more. The paper places speech recognition, language understanding, and state tracking upstream of the policy that makes this choice. Natural language understanding
A partially observable Markov decision process, or POMDP, describes this arrangement. The real state includes information the system cannot directly inspect, such as the user’s goal. The system receives observations and uses them to maintain a belief state, a distribution over possible underlying states. The manager acts on that belief. Two conversations can include the same most recent utterance and still call for different responses because the tracker carries forward different information from earlier turns. Likewise, two belief states can have the same leading guess about a preference and differ in how firmly the evidence supports it. A policy can treat a firm guess differently from a close choice.
Reinforcement learning supplies the training objective for these decisions. The system takes an action, receives feedback through a reward, and proceeds to a new state. Some turns contribute to success indirectly. Asking which area the user prefers may earn no immediate benefit beyond gathering information, yet it can make a later offer succeed. Training therefore considers the rewards that follow a decision as well as the reward on the immediate transition. It must also account for the fact that the system’s choice influences what the user says next and hence which situations the policy will encounter.
Why learning had required advance design
The earlier POMDP work discussed by the authors offered a way to learn dialogue strategies from data while retaining uncertainty about what the user said. The practical issue was the amount of interaction required to get a useful strategy. Work cited in the paper frequently needed several thousand training dialogues. An earlier online study showed that a system could be trained from a few hundred interactions with users, but that result depended on deliberate simplifications of the state and action spaces and on rules that blocked unsuitable actions in particular circumstances. Those design choices incorporate knowledge that a system might otherwise have to acquire through interaction.
A summary state compresses the tracker’s information into a representation that is easier for a learning algorithm to use. For instance, a designer can group close confidence scores into the same category. A summary action can remove the slot from a decision and let a separate rule put it back. The policy might choose to ask a question, while a heuristic selects whether the question is about food, area, or price. Both devices reduce the decisions the learner must distinguish. They also move some responsibility for the eventual behavior into the compression scheme and the rules that complete actions. Designing them requires judgments about which distinctions matter in a particular task.
The paper discusses Gaussian Processes SARSA, abbreviated GPSARSA, as an established reinforcement learning baseline for POMDP dialogue management. Prior work had used it with the original belief representation as well as with compressed states. The authors identify computation as an obstacle for the richer representation because the method’s kernel evaluations can grow more costly as training proceeds. A kernel describes how estimates at different inputs relate to one another. When many past observations are needed to maintain those estimates, carrying out the learning update becomes a practical consideration alongside the number of conversations required.
The earlier neural approaches described in the paper gave a reason to consider a different representation for dialogue values. A negotiation study used deep reinforcement learning with 70 actions and reported an advantage over heuristic or supervised procedures, while restricting the actions available to support efficient training. The authors also discuss a simpler Deep Q-Network implementation for dialogue. The earlier neural studies they describe left a direct comparison with other reinforcement learning approaches open. This paper addresses that comparison with GPSARSA on summary spaces, then considers whether neural policies can handle the restaurant task’s richer features and explicit slot choices.
The other strand of earlier work is imitation learning. If recorded data show what a system chose in each situation, the record can be used to teach a new system to make similar choices. The paper discusses direct imitation when the teacher and learner have compatible ways of representing situations and actions. It also mentions approaches that work through value functions when direct imitation is difficult. Here, the DSTC2 recordings came from a system similar to the one being trained, so the authors could use its actions directly as targets. Their training design combines that source of instruction with reward-based improvement. The records provide examples of what to do. Subsequent interactions provide evidence about what happens when the learned policy makes those choices.
The method, step by step
From the user’s goal to a machine action
Consider a user who wants a certain kind of food and needs the restaurant’s address. Food is a constraint on which restaurants can satisfy the goal. The address is information to return once the system has found a suitable restaurant. A tracker maintains beliefs about both kinds of information. It can be fairly sure about the food preference while still uncertain that the address was requested. The manager’s job is to act on those estimates. A decision to clarify the preferred area, for instance, changes the course of the dialogue and gives the tracker another observation to work with.
During simulated learning, the user side is supplied by an agenda-based simulator trained using DSTC2. It responds to the system’s latest action with one or more dialogue acts. A dialogue act records what a contribution does, such as supplying a preference, confirming information, or requesting a detail. The user’s goal gives those responses a purpose across turns. The state tracker, also trained with DSTC2 material, gives the system a belief to act on. This setup lets a policy experience the consequences of its own decisions while keeping the task, user simulator, and tracker fixed for the comparisons. Agenda-Based User Simulation for Bootstrapping a POMDP Dialogue System
The actor turns the current belief features into a distribution over system actions. The critic takes the belief features and estimates the reward the current policy can expect from that point onward. Following an action, the training process observes a reward and the next belief. If the reward and estimated prospects are better than the critic expected before the action, the policy update gives the chosen action more support in that situation. An outcome below the prior estimate supplies a signal in the other direction. The estimate can change throughout learning because the policy that produces later actions also changes.
To start TDA2C, the authors train the actor on recorded system choices and initialize the critic through batch reinforcement learning. Batch learning works with experience already collected. In the second stage, online reinforcement learning adds experience generated as the system interacts with the simulator. The distinction concerns where the interactions come from. At initialization, the learned actor has yet to determine which dialogues are recorded. In the online stage, its own behavior affects the beliefs and rewards that become available for learning.
How recorded dialogues initialize the policy before simulated interaction
The steps in order.
How the paper defines value and policy
The starting point is a sequential decision process. The state space is written as S and an individual state as s. At time t, the random state Sₜ takes some value in S. The random action Aₜ takes a value a from the finite set of actions available in that state, written A(s). An action is followed by a new state and a reward. In the fully observed notation the paper introduces first, the reward can depend on the old state, action, and new state.
Rₜ₊₁ = R(Sₜ, Aₜ, Sₜ₊₁)
Rₜ₊₁ is the reward following the action at turn t. The reward function is denoted by R. Sₜ is the state before action Aₜ, and Sₜ₊₁ is the resulting state. The subscript t + 1 identifies feedback or state information available following the decision at t.
For an action taken now, the action-value function measures expected future reward, including the rewards earned under subsequent decisions. The paper writes this expectation for a policy π as follows.
Q^π(s, a) = E_π[Rₜ₊₁ + γRₜ₊₂ + γ²Rₜ₊₃ + … | Sₜ = s, Aₜ = a]
Q^π(s, a) is the action value of choosing a in state s and following π thereafter. E_π denotes expectation over the possible outcomes under that policy. Rₜ₊₁ is the immediate reward, and Rₜ₊₂ and Rₜ₊₃ are rewards on subsequent transitions. The ellipsis extends the sequence. γ is the discount factor, which the paper places in the interval [0, 1]. Its powers determine the weight of later rewards. The vertical bar introduces the condition that the current state and action are s and a.
A deterministic policy sends a given state to a single action. A stochastic policy assigns probabilities to the alternatives.
π(a | s) = P(Aₜ = a | Sₜ = s)
Here π(a | s) is the probability that the policy gives action a in state s. P denotes probability. Aₜ and Sₜ are the random action and state at turn t. The condition fixes the state, while the event being measured is selection of a. A stochastic actor can assign some support to asking about food and some support to making an offer, even though it takes only one action at the current turn.
The POMDP adds the observation process to this description. Its components specify how states change, which observations can arise, how rewards are assigned, and where the belief starts.
(S, A, P, R, O, Z, γ, b₀)
S is the set of underlying states, A is the action space, and P specifies the probabilities of state transitions. The reward function is denoted by R. O is the observation space, and Z specifies the probabilities of observations. γ discounts future rewards, and b₀ is the initial belief over the underlying states. The paper writes the transition law for a given action in this form.
Pₐ(s, s′) = P(Sₜ₊₁ = s′ | Sₜ = s, Aₜ = a)
Pₐ(s, s′) is the chance of moving from s to s′ when the system takes action a. The prime marks the successor state. P on the right is the probability of the event that the random next state Sₜ₊₁ equals s′, conditional on the values of the random current state Sₜ and action Aₜ. The parallel expression for an observation uses the paper’s observation indexing.
Zₐ(s, o) = P(Oₜ = o | Sₜ = s, Aₜ = a)
Zₐ(s, o) is the probability assigned to observation o for state s and action a. Oₜ is the random observation at time t. P is probability, and the condition specifies the state Sₜ and action Aₜ. An observation can carry uncertain evidence about which state is present. The tracker starts from b₀ and updates its belief as observations arrive. The value function then conditions on the belief available to the system.
Q^π(Bₜ, Aₜ) = E_π[∑ₜ′≥ₜ γ^(t′−t) Rₜ′₊₁ | Bₜ, Aₜ]
Bₜ is the random belief state at turn t, and Aₜ is the selected action. Q^π on the left gives their action value under π. E_π is expectation under that policy. The sum ranges over turns t′ at or after t. Rₜ′₊₁ is the reward following turn t′, and raising γ to the elapsed number of turns gives the appropriate discount. The expectation is conditional on the current belief and action. The manager’s selection rule can be expressed on beliefs in the same way.
π(a | b) = P(Aₜ = a | Bₜ = b)
The symbol b denotes a particular belief state and a denotes a possible action. Bₜ and Aₜ are the corresponding random quantities at t. The rule assigns the conditional probability of choosing a when the system’s current belief is b. A value estimator and a policy can thus operate on the tracker’s representation, even though neither has direct access to the actual user goal.
What the value-based baselines learn
For GPSARSA, the action-value function is treated as a Gaussian process. In this application, the process supplies a way to express uncertainty about values and to update related estimates together when a transition is observed. A mean describes the central estimate and a kernel describes how values at two inputs covary. The kernel can relate estimates for belief and action pairs that resemble one another. In function notation, the representation is as follows.
Q ∼ GP(m, k)
Q is the action-value function on belief and action inputs. The symbol ∼ means that Q is represented as a draw from the Gaussian process denoted by GP. The function m is its mean, and k is its covariance kernel. The paper describes setting the initial mean to 0 and updating the estimate and covariance using observed beliefs, actions, and rewards. It uses kernel span sparsification to control computation. A dictionary of linearly independent belief states is built during learning and used to approximate the kernel. A threshold controls how precise that approximation is, which in turn affects the cost and behavior of training.
A Deep Q-Network, or DQN, accepts the current belief features as input and produces a value for each possible action. Its network weights are shared across inputs, so it can produce estimates for a new belief state with the same set of parameters that it uses elsewhere. The training signal for the selected action combines the immediate reward with an estimate of the best value available at the following belief. In the summary-space comparison, the network is a multilayer perceptron with two fully connected hidden layers using the hyperbolic tangent activation. Its output layer supplies the action values without an activation function.
The paper describes two devices for stabilizing DQN training. Experience replay keeps transitions in a finite pool and samples a small batch uniformly for each training update. When the pool fills up, a newly stored transition takes the place of the oldest one. Random sampling reduces the dependence between the examples in an update compared with learning from successive turns in order. A target network provides the next-state values used in the training target. Its weights are copied from the network being trained every τ steps and are held fixed between copies. Here τ is the interval between target updates.
(Bₜ, Aₜ, Rₜ₊₁, Bₜ₊₁) ∼ U(D)
The tuple contains the current belief Bₜ, the action Aₜ, the resulting reward Rₜ₊₁, and the next belief Bₜ₊₁. D is the replay pool, U(D) denotes uniform sampling from it, and ∼ indicates that the transition is drawn according to that distribution. The loss is the expected squared error between the target and the value assigned to the action that was taken.
Lₜ(wₜ) = E_U(D)[(Rₜ₊₁ + γ maxₐ′ Q^π(Bₜ₊₁, a′; wₜ⁻) − Q^π(Bₜ, Aₜ; wₜ))²]
Lₜ(wₜ) is the loss at training step t for weights wₜ in the main network. E_U(D) averages over transitions sampled uniformly from D. Rₜ₊₁ is the recorded reward, and γ is the discount factor. The maximum ranges over possible next actions a′ at Bₜ₊₁, using the target network’s weights wₜ⁻. Q^π denotes a network estimate of action value in the paper’s notation. Its final occurrence gives the main network’s prediction for the recorded belief Bₜ and action Aₜ. The square penalizes the size of the discrepancy in either direction.
Choosing the largest target value can favor estimates that happen to be too high. To show where this effect enters, the paper writes the DQN target with the selection step made explicit.
Rₜ₊₁ + γ Q^π(Bₜ₊₁, argmaxₐ Q^π(Bₜ₊₁, a; wₜ⁻); wₜ⁻)
The reward Rₜ₊₁ and discount γ have the same roles as in the loss. At next belief Bₜ₊₁, argmaxₐ returns the action a that receives the highest Q^π estimate under the target weights wₜ⁻. The outer Q^π, with those same weights, evaluates that choice. Double DQN, abbreviated DDQN, uses the main network for selection and the target network for evaluation.
Rₜ₊₁ + γ Q^π(Bₜ₊₁, argmaxₐ Q^π(Bₜ₊₁, a; wₜ); wₜ⁻)
Here the chosen action a maximizes the estimated value at Bₜ₊₁ using the current main-network weights wₜ. Its value for the target is obtained from Q^π with the target weights wₜ⁻. Rₜ₊₁ is again the immediate reward and γ discounts the next belief’s value. The replay procedure and periodic target updates remain part of DDQN training. The change concerns which network’s estimates are used to pick the next action for the target.
How the actor and critic learn together
A policy network directly outputs the probability of each action. This gives it a different relationship to the recorded choices. When a demonstrated action is available, the actor already has an output for the quantity the training example can supervise: the probability of that action. The critic has a different job. It estimates the expected reward from a belief under the policy, giving the actor a reference point for interpreting what followed a particular decision.
π_θ(a | b) = π(a | b; θ) = P(Aₜ = a | Bₜ = b, Θₜ = θ)
π_θ and π with θ after the semicolon in the notation denote the same parameterized policy. θ is the actor’s vector of weights, and Θₜ denotes the parameter vector at turn t. The probability P refers to taking action Aₜ equal to a given a current belief Bₜ equal to b and the specified weights. Training adjusts θ to improve an objective J. The paper discusses an average-reward objective and an objective based on discounted reward from a designated starting state.
∇_θ J(θ) = E_πθ[∇_θ log π_θ(a | b) Q^πθ(b, a)]
J(θ) is the objective for the actor weights θ, and ∇_θ denotes the gradient with respect to those weights. E_πθ is an expectation under the current policy π_θ. The gradient of log π_θ(a | b) describes how the log probability of choosing a at belief b changes as the actor weights change. Q^πθ(b, a) is the expected return for that belief and action under the current policy. It weights the contribution of the choice to the update. The paper introduces actor-critic methods through this formula: an actor represents the policy, and a critic evaluates behavior to supply the weighting signal.
The authors then replace the raw action value with a relative measure. Consider a belief from which several actions are expected to work well. Getting a good return after one of those actions gives a different training signal from getting the same return in a situation where the dialogue was going poorly. Subtracting a baseline that depends on the belief leaves the expected policy gradient unchanged. It can reduce the variance of the update and put the emphasis on how the selected action compares with the actor’s prospects in that situation.
Ad(b, a) = Q^πθ(b, a) − Ba(b)
Ad(b, a) is the advantage of choosing action a from belief b. Q^πθ(b, a) is the action value under policy π_θ. Ba(b) is the baseline, a function of b alone. The paper proposes using V^πθ(b) for Ba(b). V^πθ(b) is the expected return starting from that belief and choosing actions according to the policy, including the choice at the current turn. This baseline yields an advantage measured relative to what the policy would normally achieve from b.
∇_θ J(θ) = E_πθ[∇_θ log π_θ(a | b) Ad(b, a)]
The gradient ∇_θ J(θ) is again with respect to actor weights θ. E_πθ takes the expectation under the policy π_θ, and log π_θ(a | b) is the log probability of a at b. Ad(b, a) now weights that choice’s contribution. When the relative signal is positive, an update based on the sampled action favors making that choice more likely in similar circumstances. A negative signal has the opposite effect. The shared weights can affect several action probabilities and several beliefs as learning proceeds.
The authors use a temporal-difference error to estimate the advantage from a transition. This lets a single critic estimate belief values rather than fitting both a belief-value network and a separate action-value network for the actor’s update. The resulting feedback asks whether the immediate reward plus the estimated future value exceeds the value predicted before the system acted.
δₜ = r + γ V^πθ(b′; wₜ) − V^πθ(b; wₜ)
δₜ is the temporal-difference error for the turn. The current belief is b, the next belief is b′, and r is the observed reward after the action. V^πθ is the critic’s estimate of the belief value under actor π_θ, using critic weights wₜ. γ discounts the estimate at the next belief. Conditioning on the initial belief and action, the expectation of the temporal-difference error with the corresponding policy values is the action value minus the belief value. The actual update uses the critic’s learned estimates as well as the observed reward.
This distinction matters when the action’s consequences extend beyond the current turn. A clarification question incurs the turn cost, but the reply may give the tracker a belief from which the system has a better chance of finishing the search. That improved prospect can contribute to the actor’s signal through the critic’s value of the next belief. The authors describe training the value network with replay and a target network, as in DQN. They add L₂ regularization to the policy objective because large advantage estimates can scale up the policy gradient and cause instability. The resulting architecture is Deep Advantage Actor-Critic, abbreviated DA2C.
What is learned before interaction
The actor’s initialization is a supervised classification problem over action choices. Each recorded example pairs the input describing the conversation at that turn with the action the demonstrator took. Categorical cross-entropy measures the loss by comparing the recorded choice with the predicted distribution over actions. Under that objective, giving a low probability to the demonstrated action incurs a penalty, while assigning it more probability reduces the penalty. Across the records, the actor learns which choices tend to fit which beliefs. Direct supervision is possible here because the data-collecting system and the learner use compatible action representations.
The value network is initialized with reinforcement learning on the recordings. A conversation can supply evidence about reward even when the demonstrator made a poor choice. If a sequence ends unsuccessfully, that outcome is part of the critic’s training experience. Under supervised actor training, an action in the same dialogue can still be useful as an example of a locally appropriate choice. This difference is the reason the authors assign the records separate jobs for the two components. A human quality rating can help select which dialogues to use. It does not replace the per-turn targets for the actor or the reward feedback used to train the critic.
The authors see this distinction as useful when data come from a handcrafted system or a Wizard-of-Oz collection, where dialogue quality can vary. In particular, they propose teaching valid moves before exposing the policy to online interaction. Supervision supplies an initial preference for actions found in the records. The reinforcement learning stage can then change those preferences when simulated outcomes favor other choices. The authors use Adadelta for gradient optimization and report that it worked better in their experiments than Adagrad, Adam, and RMSProp. They give no separate numerical optimizer comparison.
What goes into the belief and action spaces
The summary-space experiment compresses both inputs and outputs. For each constraint slot, the tracker supplies the probabilities of its leading candidate values. The authors take the two highest probabilities and use Euclidean distance to find the nearest entry in a grid of probability pairs. The grid retains distinctions such as a strongly leading interpretation and a close choice while grouping nearby confidence estimates. The constraint grid is written as follows.
g_c = [(1, 0), (.8, .2), (.6, .2), (.6, .4), (.4, .4)]
g_c is the constraint grid. Each parenthesized pair supplies a representative value for the larger and smaller of the two leading probabilities. Euclidean distance measures proximity to the tracker’s actual pair. The result is stored as a one-hot vector, meaning that the position for the selected grid entry is active and the other positions are inactive. Request slots use a grid of single probabilities.
g_r = [1, .8, .6, .4, 0.]
g_r is the request grid. Each entry is a representative probability for a request slot, such as whether the user wants the phone number. Its selected position is also encoded as a one-hot vector. Joining the constraint and request vectors produces the complete summary state. The authors report a binary vector of length 60, formed from 12 vectors of length 5, and give the following size for the space of summary states.
5¹²
The base 5 is the number of grid positions per vector, and the exponent 12 is the number of vectors in the reported summary representation. The count describes possible combinations in that representation. Actual dialogues can reach only the combinations generated by the tracker and the user’s behavior. The paper’s domain specification describes constraint and request slots, while the reported summary size pertains to the particular encoding used for the comparison.
Summary actions also discard some information. The system can select a general act such as request, select, explicit confirmation, or offer. A request still needs a slot before it can be used. To supply it, the system looks at the most probable value for each candidate slot and chooses the slot whose leading value has the lowest probability. That rule treats the slot with the least confident leading interpretation as the one most worth querying. The experiment therefore assigns the general request decision to the learned policy and the choice of what to ask about to a heuristic.
The original-space experiment works directly with the tracker probabilities rather than mapping them to the grids. It also supplies probabilities for user acts, the current dialogue turn, and the number of database results. The database feature is 0 when there has been no query. The paper reports 31 continuous values and two discrete values for the resulting state representation. The label original distinguishes this input from the grid-based summary state. The policy still sees structured features prepared by the tracker and the task environment.
The original action space contains 11 actions. For area, food, and price range, the available decisions include asking for the slot, asking the user to select among candidate values, and asking for explicit confirmation. The other actions are offer and repeat. A slot-specific action such as request-area now represents a choice made by the learned policy. There is no separate confidence heuristic for filling the slot in that request. An offer is constructed with the values of the constraints the system has understood, in accordance with DSTC2’s conventions. The action interface thus gives the policy control over several distinct next moves while leaving the form of an offer specified by the task.
Experiments and results
The restaurant task and its feedback
DSTC2 contains dialogues with users looking for restaurants in Cambridge, UK. The authors use it to train the state tracker and agenda-based simulator, and as the source of dialogues for the initialization experiments. The simulator answers system acts in terms of user acts. The setting allows the researchers to run training dialogues under each policy and evaluate the learned policies without exploration, so that a deliberate random training action does not count as part of the evaluation behavior.
The reward favors both task completion and efficiency. The system receives +1 if the dialogue succeeds before 30 turns. Failure after 30 turns yields -1, and each turn carries a reward of -0.03. Hanging up also yields -1. In the simulation, the user hangs up whenever the proposed restaurant violates any constraint in the goal. Success requires satisfying the constraints and delivering all requested information. A policy can therefore lose reward by taking extra turns even if it eventually finds the right restaurant. An early incorrect offer can terminate the conversation altogether.
The results use learning curves to compare policies as they accumulate simulated dialogues. The task reward captures the competing consequences of success, failure, and dialogue length. The reported convergence counts describe how much interaction occurred before a method reached the behavior the authors identify as converged. These counts measure the second part of the learning process for the initialized methods. Recorded dialogues are a separate input, and the paper gives their counts separately. Convergence counts likewise differ from elapsed training time. The comparison with GPSARSA addresses both quantities, with a qualitative report for elapsed time.
DQN and GPSARSA on summary spaces
The first comparison trains DQN and GPSARSA on the same summary state and action spaces. Each has 15,000 simulated training dialogues. After every 1,000 training dialogues, the policies undergo evaluation on 500 test dialogues without exploration. This shared protocol makes the comparison about how the two algorithms learn from interaction when they receive the same compressed information and have the same action interface. There is also a DQN run on the original spaces, which examines whether the neural value approach still learns when the summary encoding and the slot-selection heuristic are removed together.
During training, GPSARSA uses a mixture of probability-weighted selection and uniformly random selection. The probability-weighted branch gives higher-valued actions more weight according to a softmax distribution.
P(a | b) = e^(Q(b, a)) / ∑ₐ′ e^(Q(b, a′))
P(a | b) is the probability of choosing action a at belief b within this branch. The base e is the natural exponential base. Q(b, a) is the estimated value of the candidate action, and the sum over a′ uses the corresponding exponential for every available action. The denominator normalizes the action weights into probabilities. In the description of GPSARSA, the branch using this distribution has probability 1 − ε, and the uniform branch has probability ε. The paper calls DQN’s method ε-greedy and gives DQN’s mixture with the complementary assignment, uniform selection with 1 − ε and greedy selection with ε. It states that ε is annealed to less than 0.1 in both runs. The evaluation comparisons use neither training mixture.
The paper reports that DQN converges with fewer dialogues than GPSARSA on the summary spaces. According to the authors, GPSARSA needs double the number of dialogues to reach convergence. Tuning the Gaussian process exposed a tradeoff. A lower-precision approximation learned rapidly but fell short of the desired behavior. Higher precision improved its eventual performance while slowing training considerably. The authors attribute GPSARSA’s longer elapsed training time to kernel evaluation. They give the direction of that timing difference without supplying a numerical duration.
DQN using the original state and action spaces achieved roughly the same performance as GPSARSA using the summary spaces. That comparison answers a practical question for this task. The DQN can work with the tracker probabilities and choose a slot-specific action within the same learning setup, while a competitive Gaussian process baseline uses both the compressed belief and the heuristic that completes summary actions. The original-space version changes the input and action interface together, so its result speaks to the viability of the combined setup.
Deep reinforcement learning on the original spaces
The second series uses the original restaurant-domain spaces to compare DQN, DDQN, DA2C, and the teacher-initialized version of DA2C. The training protocol uses ε-greedy exploration, with ε starting at 0.5 and with an annealing rate given as λ = 0.99995. The authors leave select-pricerange, select-area, and select-food out of exploratory selection to accelerate learning. The exclusion is the same at every state and applies to exploration. A policy can still choose any of the actions as part of its learned behavior. This detail matters when comparing these experiments with systems that prohibit specific actions based on the current belief.
The initialization data come in two versions. One contains the 2118 DSTC2 dialogues considered for this comparison. Their dialogue management quality was scored from 0 to 3 by a human expert. The second version contains the 706 dialogues rated 3. The authors treat the highest rating as a reason to assume that those dialogues reflect optimal policy behavior. In the comparison, the subset is a way to test how training on favorable examples fares against training on a larger record with mixed overall quality.
In the run without pretraining, DA2C converged after 6000 simulated dialogues. The paper cites 10,000 dialogues for the value-based approaches in reporting the comparison. It also reports a recurring convergence advantage for DDQN over DQN. The quoted convergence counts are landmarks from the experiments, and the paper describes differences in the learning curves in addition to those landmarks. The chart pairs DA2C with DQN in the run without initialization so the effect of teaching from recorded choices does not enter the comparison.
Dialogues to convergence without pretraining on the simulated DSTC2 restaurant task
The advantage actor-critic policy converged with less simulated interaction than DQN.
The numbers
| System or setting | training dialogues to convergence |
|---|---|
| DQN | 10,000 |
| DA2C (this paper) | 6000 |
The authors next compare runs initialized with the 2118 recorded DSTC2 dialogues. The value-based methods receive reinforcement learning initialization from the recorded data. TDA2C uses supervised training for the actor and reinforcement learning for the value network, giving it a direct way to use the demonstrated choices. With that initialization, the authors report that TDA2C converges faster than DQN and DDQN. The comparison places the paper’s strongest practical emphasis on how the data are used. A fixed collection can train an action-value estimate from transitions, or it can additionally teach an explicit actor which actions the original system took.
The final group of curves focuses on the actor-critic family. It compares DA2C, TDA2C, and TDA2C variants initialized in batch on DSTC2 or on the expert-rated subset. In the authors’ numerical account of supervised training on DSTC2, convergence occurs at 3000 dialogues, compared with 5000 dialogues for batch training in that comparison. These are counts of interaction on the restaurant task. The 2118 DSTC2 dialogues used for initialization and the 706-dialogue expert subset describe the recorded data available before that interaction.
Dialogues to convergence after initialization on the simulated DSTC2 restaurant task
The regime with supervised actor training converged earlier than the batch-training comparison.
The numbers
| System or setting | training dialogues to convergence |
|---|---|
| Batch-training comparison | 5000 |
| Actor-critic with supervised initialization on DSTC2 (this paper) | 3000 |
The authors report little apparent difference between the supervised runs using the expert-rated subset and the full collection. This result gives the smaller dataset practical significance in their argument about bootstrapping. The 706 highest-rated dialogues already provide enough demonstrations to see the acceleration in this setting. The larger collection also works well, in spite of including lower-rated material. The paper attributes this to the many appropriate system acts found in those other dialogues, alongside the ability of reinforcement learning to use their rewards. The outcome concerns the rate of reaching a high-performing policy in simulation. The results section does not give a separate numerical measure of how often the initial actor chooses a valid action.
What the ablations show
The actor-critic advantage appears before supervision
The experiment that starts each neural method without pretraining answers whether the actor-critic advantage requires an initial lesson from recordings. DA2C reaches convergence sooner than the value-based alternatives in that condition. All of these methods learn from simulated interaction in the original restaurant spaces, so the early advantage of DA2C cannot be attributed to receiving an extra supervised dataset. Its update uses a critic’s estimate of how much a selected action improved on expected prospects, and it represents action probabilities directly. Both features are part of the comparison.
That result does not isolate a single architectural cause. Moving from DQN or DDQN to DA2C changes what the network predicts, the rule for adjusting the policy, and the way the target for learning is used. It also brings in the actor’s regularization. The controlled comparison supports the performance of the complete DA2C training setup in this task. The paper offers the advantage calculation as a motivation for that design, while the reported comparison does not estimate how much of the observed convergence improvement comes from variance reduction or any one of the other design choices.
DDQN provides a narrower comparison with DQN. It separates action selection from action evaluation in the value target while retaining replay and a periodically refreshed target network. Its recurring convergence advantage is consistent with the authors’ reason for making the change: a value estimate chosen for being the largest can also be the one most inflated by estimation error. The curves show a learning difference. There is no separate restaurant-domain measurement of value overestimation that would establish how large that effect was for the policies under study.
Demonstrated actions add information to batch initialization
The initialization comparisons distinguish reward-based use of the recordings from supervision on recorded choices. The critic can use a transition to revise an estimate of future reward. The actor can use the same turn to learn that the demonstrator selected a particular action at that belief. One piece of feedback concerns consequences, and the other concerns a choice that was made. With a recorded conversation, the action label is available even when success or failure occurs much later. Giving the policy direct access to that label helps explain why the authors compare supervised initialization with a batch reinforcement learning start.
The comparison within the actor-critic family narrows the interpretation more than the comparison across all the deep methods. The reported change from 5000 dialogues to 3000 dialogues concerns adding supervision in the actor-critic training setup. It supports the conclusion that the faster learning of TDA2C reflects the use of demonstrations as well as the underlying DA2C architecture. The paper also compares initialized TDA2C with the value-based alternatives, which shows how the combined approach fares against other ways of exploiting the same stock of recorded interaction. Those comparisons address different questions even though they point in the same direction.
The subset analysis is about the value of dialogue-level filtering. A top rating applies to a whole conversation. It can identify trajectories the rater considers well managed, but a lower overall rating does not tell the learner which turns were poor. The authors’ observation that the remaining data contain many appropriate acts gives a concrete account of the small apparent difference between the supervised runs. For instance, a dialogue can contain a sensible request for the food type and still fail because of a later offer. The earlier request remains an example from which the actor can learn. Batch reinforcement learning can use the outcome of that same dialogue as feedback.
The full collection and the highest-rated subset also differ in how much material they contain. The experiment compares the data selection strategies as used, with 2118 dialogues on one side and 706 on the other. It leaves open how results would change for equally sized samples drawn by rating, for different raters, or for a collection with more systematically poor actions. The similar learning curves support the narrower conclusion that filtering for top ratings was unnecessary to get the reported bootstrapping benefit from this DSTC2 collection. They do not measure imitation quality as a function of rating independently of data quantity and coverage.
Richer features and explicit slots can be learned together
The experiments with and without summary spaces examine a different kind of engineering intervention. On summary spaces, the policy treats nearby probability values as the same input and asks a heuristic to complete certain output actions. On original spaces, the network receives continuous probabilities and makes slot-specific decisions itself. It also gets additional state features. The two DQN settings therefore show that the richer setup is usable, while leaving the contribution of each change unresolved. A comparison that removed only the probability grids would address a different question from one that removed only heuristic slot selection.
Likewise, the GPSARSA precision analysis concerns how much computation is spent maintaining a useful value estimate. Low precision and high precision produced different tradeoffs between learning speed and eventual performance. The DQN comparison is partly motivated by the fact that a fixed neural architecture does not need to grow a kernel dictionary as it sees more dialogues. That architectural distinction helps explain the authors’ concern with elapsed time as well as sample efficiency. The experiment reports no numerical breakdown of how kernel dictionary size, update cost, and convergence changed across thresholds.
Taken together, the comparisons offer strongest support for choices at the level at which they were tested. The paper compares algorithms on shared summary spaces, then tests a richer DQN setup, then varies the learning architecture and use of recorded dialogues on the original restaurant task. Some changes are relatively narrow, particularly the change to the value target in DDQN. Others change several components together. This distinction matters because the results can guide a reader towards the sources of the improvement without assigning each learning benefit to a component that the authors did not separately vary.
Limitations
Limits the authors identify
The authors describe the DSTC2 restaurant domain as simple. They use it to show that a neural policy can learn without the state-dependent action restrictions emphasized in their account of prior work. They advocate supervised actor initialization as a way to address the same problem in more complex domains. The experiments establish the result in restaurant search, while the wider claim is a proposal for where the method could help. Larger action inventories, more complicated user goals, or a wider variety of acceptable responses could place different demands on the policy and its demonstration data.
The paper also emphasizes that state and action summaries require hand design. Its first comparison uses such summaries to make GPSARSA tractable, and its original-space experiments remove the particular grids and action-slot heuristic used in that comparison. The authors’ practical argument is that richer tracker outputs can serve as inputs and that the policy can choose slot-specific acts directly. The resulting system still uses a defined tracker and a defined action inventory. Their conclusion points toward trainable end-to-end systems, while the experiments themselves optimize the dialogue policy within an existing task setup.
The authors’ account of the training data recognizes that recorded conversations can mix effective and ineffective behavior. Their expert subset is based on the assumption that the highest-rated dialogues correspond to optimal policies. The ratings assess the overall quality of dialogue management. They give no turn-by-turn certificate of which decision was optimal, and a good outcome can sometimes follow more than one defensible sequence of actions. That makes the subset a practical source of favorable examples. It does not establish that the actor learned the best action for every belief represented in the records.
The authors present the supervisor as a way to start with valid actions and make deployment more appealing. The experimental evidence for that argument is appropriate behavior learned from recorded restaurant dialogues and faster policy convergence during simulated learning. Supervised training influences which actions receive probability at a given belief. The training objective provides no hard barrier against choosing a poorly supported action in a new situation. The absence of a state-dependent action restriction is compatible with the use of training choices that steer exploration, as the fixed omission of the select actions illustrates.
Limits visible in the evaluation
The online training environment is a simulator. It can respond consistently and provide enough dialogues to compare learning curves, but its responses encode particular assumptions about how users behave. One decisive example is hanging up after an offer that violates a constraint. That rule makes the consequences of an unsuitable recommendation immediate. A person might instead restate the preference, relax it, or ask for alternatives. The relative rewards of clarification, offer, and recovery can depend on that difference. The simulator measures how the policies perform under the task’s specified feedback and user behavior.
The data, simulator, tracker, and evaluation domain all come from the same restaurant-search setting. This provides a common test for the algorithms. It also bounds the range of variation the experiments cover. The paper gives no transfer comparison to another service or dialogue corpus. An actor can learn that certain moves are appropriate because they recur under the demonstration policy and tracker used here. Evidence of improvement in this setting leaves open whether the same initialization would handle changes in user goals, errors in the perception pipeline, or action meanings outside the domain.
The reward defines completion and penalizes turns. Those are relevant measures for the task, but they cover a specified notion of quality. A short successful dialogue and a longer successful dialogue receive different feedback through the per-turn cost. Incorrect offers have a strong penalty through simulated hang-up. These choices affect which tradeoffs the policy learns and how performance should be interpreted. The paper includes no separate human judgment of the interaction quality of the newly trained policies and no study of whether users would favor the same tradeoff between additional questions and early offers.
The reported convergence counts summarize the authors’ reading of the learning curves. The experimental description gives a periodic test protocol for the DQN and GPSARSA comparison, along with the main numerical convergence landmarks. It does not give a single formal convergence criterion and uncertainty estimates for the quoted dialogue counts. The claim that an initialized method is faster is supported by the ordering in the reported runs. The exact counts should be read as results under those runs and their reward scheme, rather than as fixed interaction requirements for dialogue policies. The qualitative elapsed-time comparison likewise supplies no runtime figures for estimating the cost of a new deployment.
The exploration description also limits exact reconstruction of the training recipe. For the first comparison, the stated probabilities for DQN’s uniform and greedy branches run in the opposite direction from the assignment of the random branch to ε in the GPSARSA description. The paper gives a shared endpoint of less than 0.1 for ε and reports the evaluation with exploration turned off. In the neural comparison it separately gives the starting value 0.5, the annealing rate λ = 0.99995, and the fixed exploration exclusions. These details identify how the authors describe each experimental setting, while the first comparison’s probability assignments leave room for uncertainty about how to reproduce its exploration schedule.
The comparison between summary and original spaces also leaves open how much simplification is necessary for a domain of a different size. The original actions in this experiment already have a fixed structure, and the offer follows the dataset’s conventions. The 11-action task makes it possible to give each action its own output while leaving the system responsible for a manageable range of choices. Learning on that space demonstrates that the authors could dispense with a particular layer of compression and heuristic slot selection. A policy that operated over a much broader set of possible responses would face a different design problem.
Finally, the study demonstrates acceleration after access to recorded dialogues. Whether that acceleration reduces the overall cost of producing a policy depends on the availability and quality of those recordings, the effort of rating a subset if one is used, and the cost of collecting further interaction. The paper gives concrete counts for the recordings and the simulated training, which lets a reader see the two inputs separately. It supplies no end-to-end comparison of those collection costs. Its demonstrated result is that appropriate recorded actions help the actor reach effective behavior with less subsequent simulated experience.
What came after
The later papers cite this study in work on negotiation, remembered goals, hierarchical control, self-play, and dialogue in interactive environments. Their titles identify the application or methodological change at issue. The connections below concern those stated subjects and the questions they share with this study. A citation establishes that the later work refers to the paper. Details such as whether it retained the same critic, copied the initialization sequence, or reproduced the restaurant results require evidence about its methods.
Deal or No Deal? takes end-to-end dialogue learning into negotiation. Restaurant search in this paper gives the manager tracker features and asks it to choose a defined act in service of a user’s goal. Negotiation places the learned dialogue in a setting where the outcome of the exchange is itself an agreement to be reached. The connection is the role of an outcome in evaluating a sequence of conversational choices. The later work’s end-to-end framing also broadens the part of the dialogue system being learned compared with the restaurant experiments’ focus on management. Deal or No Deal? End-to-End Learning of Negotiation Dialogues
Frames addresses what goal-oriented dialogue systems can remember by contributing a corpus intended for memory. The restaurant manager in this paper acts on the current belief provided by a tracker, with uncertainty about constraints and requested details represented in that belief. A corpus designed for memory raises a related question about which parts of the earlier conversation should be carried forward so that the next decision has the context it needs. It extends the line of inquiry on the input side of the policy. Teaching action choices from a recording depends on the state representation preserving the information that made those choices appropriate. Frames: a corpus for adding memory to goal-oriented dialogue systems
The work on sub-domain modelling brings hierarchical reinforcement learning to dialogue management. Its organizing idea is a hierarchy for handling sub-domains, which addresses how decisions can be structured as the task extends across different parts of a dialogue domain. The restaurant paper studies whether a learner can choose directly among a flat inventory of restaurant actions, including choices that previously required a separate slot-selection rule. The later title points to another way to organize a larger decision problem: use sub-domain structure to shape the policy’s choices. That is a connection to the restaurant study’s concern with the design of action spaces. Sub-domain Modelling for Dialogue Management with Hierarchical Reinforcement Learning
The work on bootstrapping a neural conversational agent is the most direct continuation of the training question in the earlier paper. Its title brings together dialogue self-play, crowdsourcing, and online reinforcement learning. The restaurant approach begins with dialogues generated by a similar system and trains further against an agenda-based simulator. The later work names a different combination of sources for building initial competence and a continued role for online improvement. Both ask how to give an agent a useful starting point before relying on its own interactions to improve it. In the later work, self-play and crowdsourcing are part of how that starting point is obtained. Bootstrapping a Neural Conversational Agent with Dialogue Self-Play, Crowdsourcing and On-Line Reinforcement Learning
How to Motivate Your Dragon moves goal-driven dialogue into fantasy worlds and treats speaking and acting as things an agent must learn to do. The restaurant study’s actions are dialogue acts, with success defined using a restaurant and the user’s requested information. The fantasy-world framing extends the relation between language and task success to a setting where the goal-driven agent also acts in the world. The common question is how to evaluate a conversational choice through what it helps the agent accomplish. The later work places that question in an environment with both speech and action as part of the stated task. How to Motivate Your Dragon: Teaching Goal-Driven Agents to Speak and Act in Fantasy Worlds
Situated Dialogue Learning through Procedural Environment Generation makes environment generation part of situated dialogue learning. In the restaurant study, an agenda-based simulator provides interactions within a domain specified by DSTC2. Procedural environment generation addresses the source of training situations at the level of the environment. The relationship is to the paper’s reliance on generated interaction after initialization: the situations available during learning determine what a policy gets to practice and which consequences it gets to observe. The later work expands that question from generating a user’s responses in a specified domain to generating environments for situated dialogue. Situated Dialogue Learning through Procedural Environment Generation
Cite
Cite as Mehdi Fatemi, Layla El Asri, Hannes Schulz, Jing He and Kaheer Suleman. 2016. Policy Networks with Two-Stage Training for Dialogue Systems. Proceedings of the 17th Annual Meeting of the Special Interest Group on Discourse and Dialogue.
@inproceedings{fatemi2016policy,
title = {{Policy Networks with Two-Stage Training for Dialogue Systems}},
author = {Mehdi Fatemi, Layla {El Asri}, Hannes Schulz, Jing He and Kaheer Suleman},
booktitle = {Proceedings of the 17th Annual Meeting of the Special Interest Group on Discourse and Dialogue},
year = {2016},
doi = {10.18653/v1/w16-3613},
url = {https://doi.org/10.18653/v1/w16-3613}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/fatemi-2016-policy-networks-two-stage-training/