A Hierarchical Latent Variable Encoder-Decoder Model for Generating Dialogues
Paper · 2016 · Iulian Vlad Serban, Alessandro Sordoni, Ryan Lowe et al.
Summary
A conversation can take several reasonable directions from the same point. A reply might answer a question, ask for details, or pick up a remark from earlier in the exchange. Once a speaker takes one of those directions, the words in the reply usually work together to carry it through. This paper asks how a generator for dialogue systems can represent that uncertainty about the whole reply while still composing it one word at a time. The authors argue that earlier recurrent generators put too much of the burden on predicting the immediate next word. Even a system that tracks the conversation separately from its wording can fall back on brief replies that make little use of the history.
The authors propose VHRED, a hierarchical recurrent encoder–decoder that draws a new latent variable for each utterance. The variable is latent because the training conversations contain the words people wrote and leave the underlying choice of what to say unlabelled. Before composing a reply, VHRED uses the conversation so far to define a Gaussian distribution and draws a vector from it. The decoder receives that vector together with a direct representation of the dialogue history. The same draw can influence the whole reply. During training, a separate distribution also sees the actual reply and helps the system learn which draws would make that reply easier to predict. The training objective rewards prediction of the reply and penalizes discrepancies between the distributions with and without access to it.
The authors test the approach on Twitter conversations and Ubuntu technical support exchanges. In pairwise judgments on Twitter, people preferred VHRED to the hierarchical HRED baseline and to a retrieval baseline under both context settings. The comparison with a sequential LSTM depended on the amount of context. VHRED was preferred with long contexts, while the LSTM was preferred in the short-context setting. Comparisons based on word-vector similarity generally favored VHRED for matching the topic of the recorded reply. The advantage was especially apparent when the systems had to generate several consecutive turns. Ubuntu was evaluated through automatic measures and example inspection.
VHRED produced longer replies overall on Twitter, and the authors report roughly 6 more bits of estimated information per reply than HRED on that corpus. On both corpora, its generated words carried more estimated information per word than those of the recurrent baselines, while the recorded human replies scored higher still. These measures show different aspects of the output. A specific reply can carry more information and still fit the immediate situation less well than a safe alternative. The architecture gives the generator a way to vary its choices over a complete utterance, and the authors describe its use for other sequences with similar internal structure as a possibility.
Deep dive: A Hierarchical Latent Variable Encoder-Decoder Model for Generating Dialogues
VHRED draws a latent variable for each dialogue turn to generate responses and tests whether they stay on topic as conversations continue. · about 41 minutes to read
The problem and its context
A reply has a direction before it has a wording
Imagine a support exchange in which someone has already described a problem and tried a suggested remedy. A useful next turn might ask about the result of that attempt, check a detail from the original report, or offer a different step. The relevant uncertainty concerns which of these actions makes sense at this point. After a direction has been taken, later words in the reply should follow through on it. In a social exchange, the available directions may include changing the subject or responding in a different tone. A sequence generator has to deal with those possibilities alongside familiar constraints such as which word can sensibly follow the current phrase.
The paper treats dialogue as a hierarchy. Individual utterances have internal word order, and entire utterances take their place in the conversation. At the shorter scale, the words that have just appeared convey a great deal about the next plausible word. At the longer scale, the relevant evidence may be a question, topic, or goal established several turns back. The timing of these dependencies matters for text generation. A generator can make locally sensible choices at successive positions while contributing little to the exchange as a whole.
The authors are concerned with sequences for which uncertainty remains high even after the available history is known. An observed conversation shows which reply someone actually gave. Several other replies could have fit the same circumstances. A system trained on such data has to assign probability across the plausible futures implicit in its examples. The paper's architectural question is where to represent that variation so that it can affect the decisions it belongs to. A word choice and a change in what the speaker is trying to say have different consequences for the rest of the sequence.
What recurrent generators already tracked
A recurrent neural network processes a sequence by repeatedly updating an internal state. In a recurrent language model, the state after a token summarizes whatever the network has retained about the prefix. The next-token distribution is computed from that state. The update then incorporates the token that arrives, whether it comes from the training data or the generator's own output. This gives the system a way to let earlier words affect later ones, with a learned state standing in for the growing prefix.
The paper situates this approach within prior work on sequence generation and describes encoder–decoder methods as another part of its background. An encoder turns an input sequence into a representation that a decoder can use while generating an output. Earlier research used this arrangement for machine translation. HRED brought the encoder–decoder pattern to conversations by adding a separate recurrent state for the progression from one utterance to another. The encoder reads an utterance, the context network incorporates its representation, and the decoder uses the resulting context to produce the next utterance. Sequence to Sequence Learning, Learning Phrase Representations, HRED for Dialogue
HRED's hierarchy determines where information is stored and how frequently the context state updates. Given a particular dialogue prefix, however, the encoder and context network compute fixed vectors. If the decoder samples words, each sampled token can change the rest of the response by changing the subsequent decoder states. In that sense, word-level choices can already have lasting effects. The authors' point is about what the architecture encourages the network to learn. HRED has a separate representation for utterances, but the output token distribution supplies the only random choices.
Earlier dialogue studies cited by the paper had found that recurrent generators often produced responses that were appropriate in a wide variety of contexts and contributed very little to any particular one. The authors connect this observation to an account of the training signal. A decoder state has to support a good immediate prediction and occupy a position from which a plausible longer sequence can unfold. These demands can pull in different directions. A state that makes the next token easy to predict may preserve little of what will matter by the end of the reply. A Diversity-Promoting Objective Function
The paper also draws on the difficulty of transmitting learning signals over many recurrent steps. Gradients communicate how changing a parameter would affect the training objective. When the contribution from a distant prediction shrinks as it is propagated back through many updates, the network receives a weaker signal about the decisions that shaped that prediction. The authors argue that unpredictable sequences make this problem especially consequential. Each incoming token changes the state, and the effect of keeping that state on a useful long-term course can be harder to learn than the effect of making the next prediction.
What a latent variable adds to the hierarchy
The authors borrow a mechanism from the variational autoencoder. A generative system can draw a hidden vector and use it while producing a whole observation. In the sentence generator that the paper identifies as its closest precursor, a Gaussian draw is available throughout the generation of a sentence. The draw supplies a source of shared variation, while the recurrent decoder still computes a probability distribution for the next word. The same sentence can be more or less probable under different values of the vector, and the sentences favored by one draw can differ from those favored by another. Auto-Encoding Variational Bayes, Stochastic Backpropagation and Approximate Inference, Generating Sentences from a Continuous Space
The paper also discusses stochastic recurrent approaches to speech, handwriting, music, and motion. Some of those systems place a fresh latent draw at each decoder step. The authors distinguish VHRED by the span of its draw. An utterance may have any of the lengths the decoder can generate, and the latent variable applies from its beginning to its end. Its span is therefore determined by the sequence unit, rather than by a fixed number of token positions. The conversational hierarchy gives the system a place to introduce a new draw whenever it starts composing a new utterance.
Moving from sentence generation to dialogue also changes what the system knows before drawing the vector. A standalone sentence can be drawn from a general prior over possible sentences. In dialogue, the next utterance follows an actual exchange, and a reply distribution should depend on that exchange. The paper therefore combines a prior that varies with the conversation, a new draw for each utterance, and the existing deterministic path from context to decoder. Which meanings or styles the vector comes to influence remains a matter for training. Topic, goals, and sentiment are the authors' examples of the kinds of variation the mechanism could represent.
The method, step by step
From the conversation to a new turn
Start with a conversation whose completed utterances are known. A token is an item from the system's vocabulary, usually a word or another unit produced by preprocessing. The encoder recurrent network reads the tokens in an utterance and produces a fixed-length vector. The context recurrent network takes this vector as input. It updates once for that utterance and retains a state that can carry information across the conversation. This division lets word processing and dialogue history operate on different schedules.
When it is time to produce the next turn, a feed-forward network reads the context vector and computes a distribution for the latent draw. A feed-forward network applies its transformations in sequence, without the recurrent updates used for the words and dialogue turns. Its outputs describe the center and spread of a Gaussian distribution. A new vector is sampled from that distribution. The context state affects what is likely to be sampled, so two different conversations can give rise to different distributions over possible continuations.
The decoder receives the sampled vector and the context vector together. It generates tokens successively, taking account of the prefix of the reply already produced. The history reaches the decoder through two paths. It is used to construct the distribution that supplied the random draw, and its current representation is available to the decoder directly. That second path matters for a design in which the sample can represent something uncertain about a reply while the conversation continues to supply the information that is already available.
At training time, the recorded next utterance can also be encoded. Its representation helps define a second Gaussian, the approximate posterior. Drawing from this distribution lets the system train the decoder with a vector informed by the reply it is trying to predict. The training objective gives the prior a reason to put probability near values that the posterior finds useful. At generation time, the prior supplies the draw from the conversation alone. When generation continues over multiple turns, completed outputs can become part of the history for the next draw.
How VHRED generates a dialogue continuation
The steps in order.
These steps give the sampled vector a particular role without deciding in advance what its coordinates mean. Suppose a support exchange leaves open whether the next person will ask a diagnostic question or suggest a remedy. A useful latent representation could favor different continuations under different draws. The decoder itself would still have to produce the appropriate wording and maintain coherence as the utterance unfolds. The architecture supplies the shared input that could make a choice persist through the utterance. The training observations supply words, with no annotations for the kind of reply represented by any draw.
The distributions behind the decoder
The paper begins with the probability assigned to a sequence by a recurrent language generator. Its factorization expresses a familiar idea. The probability of a complete token sequence is assembled from the probability of beginning as it does and the probabilities of each of its later steps given what precedes them.
P_θ(w₁, …, w_M) = P(w₁) ∏_{m=2}^M P_θ(w_m | w₁, …, w_{m−1})
Here, w_m is the token at position m, and M is the number of tokens in the sequence. The ellipses stand for the intervening positions. P_θ is the probability distribution parametrized by θ, the learned parameters, and P(w₁) is the initial token probability in the paper's notation. The vertical bar means “given.” The product ∏ multiplies the conditional probabilities from the second position through the last. Tokens come from a discrete vocabulary, denoted by V.
h_m = f(h_{m−1}, w_m)
h_m is the hidden state after reading w_m, and h_{m−1} is the preceding state. f is the learned nonlinear update. The paper gives examples that include long short-term memory, abbreviated LSTM, and the gated recurrent unit, abbreviated GRU. These are ways of controlling how information is retained and updated. For the LSTM, the authors use a single state symbol to cover the cell state and its accompanying hidden representation.
P_θ(w_{m+1} | w₁, …, w_m) = P_θ(w_{m+1} | h_m)
w_{m+1} is the token to be predicted next. The left side writes the prediction as conditioned on the full prefix, and the right side writes how the network computes it, through h_m. P_θ, θ, and m have the same meanings as before. In the basic recurrent generator that the paper describes, a learned affine transformation maps the state to scores for the vocabulary. A softmax turns those scores into probabilities that together account for all choices of the next token.
The sentence-level variational autoencoder in the paper's background adds a vector that stays available throughout the sequence. This is easiest to see by writing its prior and conditional word generation separately.
P_θ(z) = 𝒩(μ_prior, Σ_prior)
z is a vector of d_z real-valued coordinates, where d_z is its dimensionality. 𝒩 denotes a multivariate normal, or Gaussian, distribution. μ_prior is its mean vector, and Σ_prior is its covariance matrix. The covariance is diagonal, so its diagonal entries give the variances of individual coordinates and its other entries are zero. P_θ is again the generative distribution, with θ denoting its parameters.
P_θ(w₁, …, w_M | z) = ∏_{m=1}^M P_θ(w_m | z, w₁, …, w_{m−1})
The same z appears in the conditional probability for every position m in the sequence of M tokens. w₁, …, w_{m−1} is the preceding word sequence and is empty at the first position. The product starts at that first position because the first token is also conditioned on z. P_θ denotes the decoder distribution using the generative parameters. This factorization retains successive word prediction and gives those predictions a common input beyond their evolving prefixes.
Q_ψ(z | w₁, …, w_M) = 𝒩(μ_posterior(w₁, …, w_M), Σ_posterior(w₁, …, w_M)) ≈ P_θ(z | w₁, …, w_M)
Q_ψ is the approximate posterior, with learned parameters ψ. It reads the observed sequence w₁, …, w_M and predicts a mean μ_posterior and diagonal covariance Σ_posterior for the Gaussian over z. The approximation sign ≈ relates this distribution to the true generative posterior P_θ, which describes how observing the sequence would change the probability of latent values under the generative system. In the sentence-level precursor, functions that read the encoder's last hidden state determine the mean and covariance. The paper points out that these functions can share part of their computation.
log P_θ(w₁, …, w_M) ≥ 𝔼_{Q_ψ(z | w₁, …, w_M)}[log P_θ(w₁, …, w_M | z)] − KL[Q_ψ(z | w₁, …, w_M) ‖ P_θ(z)]
log denotes the logarithm, and ≥ expresses the lower-bound relation. 𝔼 is an expectation, here an average weighted by the approximate posterior over z. The expression inside it is the log probability of the observed sequence under the decoder given the latent draw. KL[Q ‖ P] is the Kullback–Leibler divergence from distribution Q to distribution P. The double bar separates the distributions in that order. Here the penalty compares the answer-aware approximate posterior Q_ψ with the prior P_θ. The paper describes the quantity on the left as log-likelihood. Its introductory displays for the sentence precursor omit the logarithm on that side, while the dialogue bound includes it.
Conditioning the latent variable on earlier turns
For VHRED, the authors group the token sequence into utterances. Write 𝒘_n for the utterance at position n in a dialogue of N utterances. This utterance contains M_n tokens, with w_{n,m} denoting its token at position m. For compactness, the equations below use C_n for the completed utterances before position n. C_n is the observed history in the probability expressions. The implementation uses the context network's vector to summarize it.
P_θ(z_n | C_n) = 𝒩(μ_prior(C_n), Σ_prior(C_n))
z_n is the latent vector for utterance n, with the same dimensionality d_z as the Gaussian outputs. P_θ gives its conditional prior under the generative parameters. μ_prior(C_n) and Σ_prior(C_n) are the mean and diagonal covariance derived from the history C_n. 𝒩 has the same Gaussian meaning as in the sentence-level case. The dependence on the history is the change that makes the latent draw suitable for proposing a continuation to a particular conversation.
P_θ(𝒘_n | z_n, C_n) = ∏_{m=1}^{M_n} P_θ(w_{n,m} | z_n, C_n, w_{n,1}, …, w_{n,m−1})
The left side is the probability of the complete utterance 𝒘_n given the history and its draw. The right side multiplies the decoder probabilities of the tokens w_{n,m} from the first through the M_nth position. The preceding tokens w_{n,1}, …, w_{n,m−1} belong to the current utterance, while C_n contains the earlier complete utterances. z_n is held fixed throughout this product. At the next utterance, a different latent vector is drawn for the new history.
Q_ψ(z_n | 𝒘₁, …, 𝒘_N) = Q_ψ(z_n | C_n, 𝒘_n) = 𝒩(μ_posterior(C_n, 𝒘_n), Σ_posterior(C_n, 𝒘_n)) ≈ P_θ(z_n | 𝒘₁, …, 𝒘_N)
Q_ψ denotes the recognition distribution with parameters ψ. Its inputs for turn n are C_n and 𝒘_n, so the first equality expresses which parts of the observed dialogue this approximate posterior uses when the whole dialogue is available. 𝒘₁, …, 𝒘_N denotes that full observed dialogue. The functions μ_posterior and Σ_posterior return the mean and diagonal covariance of the Gaussian over z_n. The last expression is the true generative posterior, written with θ to identify the generative parameters consistently with the prior and decoder. The corresponding display in the paper places ψ on that last distribution.
The approximate posterior can use information from the completed target that would be impossible to know while composing it. For instance, the last part of a reply may make its direction clear even when its opening is compatible with several directions. The encoder representation makes the complete utterance available to the recognition network in one vector. That is different from the decoder's sequential access to the words within an utterance. The decoder predicts each word from its preceding words and the shared conditioning inputs, while the recognition network helps select those inputs during training.
log P_θ(𝒘₁, …, 𝒘_N) ≥ ∑_{n=1}^N {𝔼_{Q_ψ(z_n | C_n, 𝒘_n)}[log P_θ(𝒘_n | z_n, C_n)] − KL[Q_ψ(z_n | C_n, 𝒘_n) ‖ P_θ(z_n | C_n)]}
∑ adds the contribution for each utterance index n through the dialogue length N. Braces show that both the expectation and the divergence are included in each contribution. On the left, log P_θ is the marginal log probability of the observed dialogue, with the latent variables left unobserved. In the sum, the expectation averages the conditional log probability of 𝒘_n under draws from Q_ψ. The KL term compares that same recognition distribution to the context-only prior P_θ(z_n | C_n). C_n is the history before the utterance, and θ and ψ are the generative and approximate-inference parameters.
The first part of each contribution is often called the reconstruction term. In this dialogue setting, it rewards assigning probability to the recorded successor given the history and the sampled vector. The divergence term makes it costly for the approximate posterior to rely on regions of latent space that the prior gives little probability. These pressures work together. A draw that helps predict the observed reply is valuable to the decoder, and the prior must be able to supply useful draws at generation time, when the reply is still unknown.
The per-utterance sum also clarifies the relationship between the latent variables. With a fixed observed training dialogue, each term can use its own recognition distribution. During generation, an earlier latent draw can affect the words produced in its turn. Those words then become part of the history used to define the distribution for a later draw. The paper's hierarchy thus allows a draw to have effects beyond its own turn through the observed or generated words that the context network subsequently reads.
How the two Gaussians are computed
The appendix gives the transformations in terms of a time index t, which here refers to an utterance boundary in the token sequence. At that point h_{t,con} is the context state, a real vector of length d_{h,con}. The prior first transforms it through two stages with hyperbolic tangent activations, then uses distinct output transformations for the mean and the covariance.
h̄_{t,con} = tanh(H_{l₂,prior} tanh(H_{l₁,prior} h_{t,con} + b_{l₁,prior}) + b_{l₂,prior})
h̄_{t,con} is the transformed context vector. H_{l₁,prior} and H_{l₂,prior} are learned matrices for the first and second stages, and the corresponding b symbols denote learned bias vectors. Matrix–vector multiplication is written by juxtaposition, and + adds the bias. tanh is the hyperbolic tangent applied to each coordinate. The first matrix has d_z rows and d_{h,con} columns. The second matrix acts on a vector of length d_z and returns a vector of that same length.
μ_{t,prior} = H_{μ,prior} h̄_{t,con} + b_{μ,prior}
μ_{t,prior} is the mean of the Gaussian at boundary t. The matrix H_{μ,prior} has d_z rows and columns, and the bias b_{μ,prior} has d_z coordinates. Together they give a learned affine transformation of h̄_{t,con}. The μ labels identify this as the output that locates the center of the distribution.
Σ_{t,prior} = diag(log(1 + exp(H_{Σ,prior} h̄_{t,con} + b_{Σ,prior})))
Σ_{t,prior} is the covariance at the same boundary. H_{Σ,prior} is a different square matrix of size d_z, and b_{Σ,prior} is its bias of length d_z. The elementwise function formed by log, addition of 1, and the exponential exp is called softplus. It returns positive values, as required for the variances. diag places the entries of the resulting vector along the diagonal of a matrix and fills the other entries with zero. The amount of variation along each coordinate can therefore depend on the context.
z_t ∼ 𝒩(μ_{t,prior}, Σ_{t,prior})
At generation time, z_t is the latent vector drawn at the boundary for use in the upcoming utterance. The symbol ∼ means that the vector is sampled from the Gaussian on the right. Its parameters μ_{t,prior} and Σ_{t,prior} are those computed from the context state. The boundary-based subscript t refers to the same role that n identifies by utterance in the earlier formulation.
For the approximate posterior, the input at the same boundary combines the context state and the encoder state for the reply that follows. The paper's main description specifies a one-layer feed-forward network for this distribution. The appendix instead shows matrices and biases for two stages, and its displayed expression has mismatched parentheses. The following notation makes the two-stage arrangement in the appendix explicit. Both descriptions agree on what the network sees and on the separate Gaussian outputs.
h_{t,p} = concat(h_{t,con}, h_{t,enc⁺})
h_{t,p} is the input to the posterior network. concat joins the coordinates of its arguments. h_{t,con} is the context vector before the reply, and h_{t,enc⁺} is notation here for the encoder's final state for the next utterance. The superscript plus identifies that next utterance. The encoder state has dimension d_{h,enc}, so the joined vector has dimension d_{h,con} + d_{h,enc}. The extra input contains information about what was actually said at the turn being predicted.
h̄_{t,p} = tanh(H_{l₂,posterior} tanh(H_{l₁,posterior} h_{t,p} + b_{l₁,posterior}) + b_{l₂,posterior})
h̄_{t,p} is the transformed posterior input at boundary t. The H and b symbols with the posterior label are the posterior network's matrices and biases for the stages designated by l₁ and l₂. Its first matrix maps the joined context and target representation into d_z coordinates. The second maps between vectors of length d_z. The hyperbolic tangent tanh acts coordinate by coordinate, as in the prior.
μ_{t,posterior} = H_{μ,posterior} h̄_{t,p} + b_{μ,posterior}
μ_{t,posterior} is the mean vector for the approximate posterior at boundary t. H_{μ,posterior} is a square learned matrix of size d_z and b_{μ,posterior} is its bias vector. h̄_{t,p} is the shared feature vector from which the posterior computes its different Gaussian parameters.
Σ_{t,posterior} = diag(log(1 + exp(H_{Σ,posterior} h̄_{t,p} + b_{Σ,posterior})))
Σ_{t,posterior} is the diagonal covariance of that distribution. Its square matrix H_{Σ,posterior} and bias b_{Σ,posterior} form a distinct output transformation with d_z coordinates. The log(1 + exp(…)) expression applies softplus to obtain positive variances, and diag forms the covariance matrix from them. The prior and posterior use the same kind of Gaussian family and compute its parameters from different inputs.
z_t ∼ 𝒩(μ_{t,posterior}, Σ_{t,posterior})
For training, the draw z_t at boundary t comes from the Gaussian with mean μ_{t,posterior} and covariance Σ_{t,posterior}. The symbol ∼ again denotes sampling. The authors describe using a single draw per utterance to estimate the gradient of the variational bound. The decoder receives the draw along with the context vector, as it will during generation. The source of the draw is what switches when the observed reply is unavailable.
Making the training signal usable
The authors initialized VHRED's encoder and context network from the corresponding trained HRED baseline on each corpus. For the new prior and posterior feed-forward networks, the initial parameter draws came from a zero-mean Gaussian with variance 0.01, and the biases started at zero. They scaled the prior and posterior covariance matrices by 0.1. Their reason was that a large initial spread made the gradients from the reply prediction term unreliable, particularly early in training.
They also used two heuristics from the earlier variational sentence generator. During training, they dropped words on the decoder side at a rate of 25%. They gradually introduced the divergence penalty by multiplying it by a weight that rose linearly from zero to 1. The increase took the first 60,000 training batches on Twitter and the first 75,000 on Ubuntu. The early objective gives the decoder room to learn from latent draws before the full cost of separating the posterior from the prior applies. The authors report that these settings helped the system train stably and draw on its latent input. Generating Sentences from a Continuous Space
The training procedure used the Adam optimizer, learning rates of 0.0001 or 0.0002, and mini-batches of 40 or 80 training examples. The paper describes a variant of truncated back-propagation, which limits how far the gradient is propagated through a recurrent sequence during an update, and gradient clipping, which keeps exceptionally large updates in check. The entire validation set was evaluated every 5000 training batches. The authors describe using the variational bound for hyper-parameter selection and for early stopping with patience, which allows training to continue for a period before treating a lack of validation improvement as a reason to stop. Adam
The evaluation uses beam search to choose the words. Each beam is a candidate partial reply, and the search keeps a set of promising prefixes as it extends them. The authors used 5 beams for the recurrent decoders and scored prefixes by their token log-likelihood divided by the number of tokens they contained. For VHRED, the latent sample is drawn before the search and kept fixed during it. Therefore, the experiments combine a random choice at the utterance boundary with a search procedure for the wording. The conditional probabilities still have the token-level factorization above, even though the reported replies come from search. Sequence Transduction with Recurrent Neural Networks
Experiments and results
Two corpora with different purposes
The experiments ask a generator to continue a conversation from a supplied prefix. Twitter provides predominantly social exchanges. The authors assembled their Twitter Dialogue Corpus using a procedure similar to earlier work on generating replies in social media. Its training split contained 749,060 dialogues, its validation split 93,633, and its test split 10,000. Across the corpus, a dialogue averaged 6.27 utterances and 94.16 tokens. The corpus was collected in 2011. Preprocessing removed irregular punctuation and used the Moses tokenizer to split the remaining text into the units processed by the networks. Data-Driven Response Generation in Social Media
Ubuntu supplies conversations in which people typically have a practical goal. The corpus contains about 500,000 dialogues taken from the Ubuntu support channel on Internet Relay Chat. Users describe problems and other participants try to help. The authors used the Ubuntu Dialogue Corpus v2.0 obtained in January 2016. A topic match on this corpus can involve recognizing that a reply concerns the same technical issue, while judging its actual usefulness may call for technical knowledge. The paper identifies a preprocessed Ubuntu download and makes tweet identifiers available for Twitter because its terms of service restricted redistribution of the text. It also describes downloads of generated replies and states the intended release of the implementations and human-study code. The Ubuntu Dialogue Corpus
The two corpora change the purpose of the interaction while keeping the main task in view. Twitter allows the authors to investigate social continuation and collect judgments of contextual appropriateness. Ubuntu tests generation in a setting with technical language and help-seeking conversations. Both give the generator dialogue history and require it to produce a continuation. The experiments consequently address whether the approach helps on more than one kind of conversation, within the conditions that can be measured for each corpus.
What the baselines control for
The LSTM baseline has 2000 hidden units on each corpus and processes the dialogue as a recurrent token sequence. HRED provides the comparison with an explicit dialogue hierarchy. Both HRED and VHRED encode the completed turns and pass a context representation to a decoder. The proposed system adds the latent input and the training procedure needed to learn it. A separate retrieval baseline uses TF-IDF, a way of weighting terms by their occurrence in a text and how widespread they are across a collection. It supplies an existing reply through retrieval, providing a reference point for the judgments of generated text.
For Ubuntu's HRED baseline, the encoder, context network, and decoder have 500, 1000, and 500 hidden units respectively. The encoder is a GRU. A feed-forward transformation with a hyperbolic tangent activation connects context and decoding. On Twitter, the HRED encoder runs a GRU in each direction, with 1000 units in each. Its context network and decoder also have 1000 units each. The appendix describes a decoder-side transformation of the context for Twitter and reports carrying a prior utterance's encoder state into the next utterance rather than restarting from a fresh state each time. The authors used word embeddings of dimension 300 for Ubuntu and 400 for Twitter in the generators.
VHRED uses the corresponding HRED design for its encoder and context network on each corpus. The decoder's context input is extended with the sampled latent vector. This comparison is informative because both hierarchical systems have a direct representation of the history. A gap between them therefore concerns a system with the additional latent mechanism and its training recipe as a package. LSTM asks a different comparison question, since the sequential baseline also differs in how it organizes the history. Within a corpus, beam search provides a common policy for choosing token sequences from the recurrent decoders.
What people preferred on Twitter
The authors asked workers on Amazon Mechanical Turk to read a Twitter dialogue prefix and judge two candidate next turns. Each candidate came from a different system responding to the same prefix. Workers selected the reply they considered more appropriate, with an option to choose neither if they were indifferent or could not understand enough of the exchange to decide. The win, loss, and tie results are presented as mean preferences with 90% confidence intervals. The reported comparisons are about which of the displayed replies better fits its context.
The study ran separate comparisons under short- and long-context eligibility rules. The short-context setting required at least 20 tokens, with repeats counting towards the threshold. The long-context setting required at least 80 unique tokens. Unique tokens and total tokens measure different aspects of a prefix. Repetition can satisfy a total-token requirement more readily than a requirement for distinct tokens. The long-context experiment therefore draws from conversations with both more material and a broader range of token types under the study's rules.
Twitter human study minimum context length by setting
The long-context setting required a higher minimum and counted distinct tokens.
The numbers
| System or setting | tokens |
|---|---|
| Short context, all tokens eligible | 20 |
| Long context, unique tokens required (this paper) | 80 |
The chart compares eligibility thresholds. A higher value means a more demanding minimum under that setting's counting rule. The study also required contexts to contain at least 3 turns and both displayed replies to contain at least 5 tokens. Workers saw randomized orders of examples and candidate replies. The authors used attention checks and discarded judgments from workers who failed more than one. They filtered conversations for non-English and offensive content using automatic rules and manual screening. They report removing about 1/80 of the conversations by hand on average after the other filtering.
Each pairwise comparison was run in batches of 3-5 human intelligence tasks, the units of work distributed on the crowdsourcing platform. A task contained 70-90 examples and was evaluated by 3-4 different people. The study collected 5363 preferences in 69 tasks overall. The authors chose crowdsourcing for access to a larger and more heterogeneous pool and for ease of replication. They also acknowledge the greater noise and lower agreement that can accompany it compared with an in-lab study.
VHRED was preferred to HRED and to the retrieval system in both context settings. Against LSTM, VHRED was preferred on the long-context examples, and LSTM was preferred on the short-context examples. That reversal gives the context distinction practical significance. An account based solely on an overall win would hide the condition under which the simpler sequential baseline did better. The human results favor VHRED most clearly where the authors expected it to make better use of substantial dialogue history. The account of those results gives preference directions, while individual win, loss, and tie percentages are unspecified there.
The authors explain the short-context result in terms of how much a reply commits to. In their inspection, the LSTM often gave broadly acceptable replies tied to the end of the prefix. A response of that kind is less exposed to contradicting a detail in the exchange. VHRED's replies often introduced more specific content, which gives a judge more opportunities to find something relevant and more opportunities to find a small incompatibility. One Twitter example discussed in the paper illustrates this tradeoff. The authors regarded the VHRED reply as more interesting, while the safer LSTM reply fit the immediate context better.
Matching the topic of a recorded reply
The paper treats automatic evaluation as a collection of measurements with narrower meanings than human preference. It cites evidence that word-overlap measures have little correlation with human judgments of response quality. In dialogue, several different replies may make sense in the same context, so a recorded reply provides one possible continuation for comparison. The authors use pretrained Word2Vec vectors from the Google News Corpus to measure semantic similarity between the recorded and generated text. They interpret the resulting scores principally as evidence about topic. How NOT To Evaluate Your Dialogue System
Embedding Average represents each reply by the mean of its token vectors and compares the resulting reply vectors using cosine similarity. Cosine similarity measures how closely two vectors point in the same direction. Averaging makes it possible to compare the contribution of familiar words expressed in different ways across the two replies. Because all token vectors are pooled, the result mainly captures what the texts are about. The procedure loses the order of the words and distinctions that depend strongly on their arrangement.
Embedding Extrema also creates a vector for each reply, but takes the strongest coordinate by absolute magnitude from among its word vectors for each dimension. It then uses cosine similarity on the two reply representations. This changes what gets preserved in pooling. In a reply containing both ordinary conversational words and more specialized ones, a coordinate that is especially strong for one word can contribute more to the resulting representation than it would under the mean.
Embedding Greedy compares words more directly. For each word in a generated response, the procedure finds the closest word vector in the recorded reply. The matches can reuse the same reference word. The resulting cosine similarities are averaged. A longer response might express several details, and looking for a match for each word lets the metric register parts of that overlap. The authors consider the word-level alignment potentially helpful for longer replies. The score assesses closeness in the embedding space and leaves questions such as whether a support instruction follows logically from the exchange to other kinds of evaluation.
The paper reports both 1-turn and 3-turn generation. In the shorter setting, the comparison concerns the immediate next response. In the longer one, the system must produce three successive utterances. That setting puts more pressure on the system to remain on topic, because the later generation follows material the system has produced itself. A first reply can share the subject of the reference while a longer continuation gradually drifts. Both settings use the same general family of embedding comparisons.
The paper reports that VHRED generally matched the topic of the recorded continuation better than HRED or LSTM, with the advantage especially apparent for the 3-turn setting. It also notes a similar pattern when generated text was compared with the dialogue prefix itself. Those two targets give the measurements different meanings. Comparing with the recorded continuation asks whether the system followed a direction that resembles what actually happened. Comparing with the prefix asks whether the reply retains vocabulary and semantic content related to what the conversation had been about. The reported pattern favors VHRED on topical continuity. Numerical scores for the individual embedding comparisons are unspecified in the prose account of the results.
Length and estimated information
The paper also compares replies using a unigram distribution estimated from the training corpus. A unigram distribution assigns a probability to a token from its frequency, without conditioning on neighboring words. The authors use the preprocessed, tokenized corpus to estimate these probabilities. Common tokens carry little information under this measure, while infrequent ones carry more. Length is tracked separately because a reply can have more information in total by using more words, by using less predictable words, or by doing both.
H_w = −∑_{w ∈ U} p(w) log p(w)
This is the expression printed in the response-information caption. H_w labels the word entropy measure, U is the utterance, and w ∈ U indicates words belonging to it. p(w) is the training-corpus unigram probability of word w. ∑ adds the indicated contributions and the leading minus sign makes the terms non-negative for probabilities below one. log denotes the logarithm. The paper reports information in bits. The same caption names utterance entropy H_U and uses |U| for utterance length. The discussion distinguishes information per word from information per reply, while the caption supplies an explicit expression only for the quantity labelled H_w.
VHRED scored higher on information per word than HRED and LSTM on both Twitter and Ubuntu. On Twitter it also generated longer replies overall. The authors report that its average Twitter reply in the 1-turn evaluation contained roughly 6 more bits of estimated information than HRED's reply. The recorded replies carried more information per word than the generated texts on both corpora. The paper gives these comparisons as evidence that VHRED moved away from the very predictable wording associated with generic replies.
Per-word information and total utterance information answer different questions, particularly where systems differ in how much they say. A generator can use rarer words on average while composing fewer words in a turn. A gain per word supports a claim about the kinds of words used. The Twitter length result contributes separately to the reported gain per response there. Across the measures, the paper gives its strongest direct evidence for VHRED's tendency to use less predictable words and keep generated text closer to the conversation's topic.
What the ablations show
The direct path and the learned distribution
The paper offers preliminary architecture and training comparisons, qualitative inspection, and evaluations under different conditions. It has no systematic ablation grid that isolates every architectural and training change. The closest test of a single connection concerns the path that carries the context state directly to the decoder. The authors report that keeping this path helped lower the variational bound in their first experiment. They give no magnitude or detailed comparison for that result. The statement also leaves a sign ambiguity, since the objective in the method section is a lower bound that training maximizes.
The motivation for that connection is clear from the architecture. The context vector records details available before the next reply, and the latent draw can vary with the plausible ways to continue. Passing both to the decoder allows information already determined by the prefix to reach the next turn without having to be encoded entirely in a random draw. The preliminary comparison addresses the value of retaining the route. It does not establish how the decoder divides particular pieces of information between the two inputs or how relying on the direct route affects human preferences.
The HRED comparison is broader than the connection experiment. HRED already has the deterministic route. VHRED adds the new sampling mechanism and its inference network, starts from a trained HRED encoder and context network, and uses the associated training heuristics. The outcome compares two generation systems that share their basic hierarchy. It cannot identify which single component caused a particular improvement in the embedding scores or the human judgments. The architectural choice and the variational training signal are both candidates in the authors' own explanation.
Training changes and what they reveal
The authors report trying batch normalization in the feed-forward networks used to parametrize the Gaussian distributions. This procedure made training very unstable in their experiments and brought no substantial improvement on the variational bound. The observation concerns the attempted configuration. The paper gives no separate response judgments for it. Its value as evidence is that a plausible training modification did not improve this implementation's behavior on the objective the authors monitored.
The authors also report that word dropout and the gradual increase in the KL weight helped substantially with stability and with use of the latent variable. In this account, both changes support conditions under which the decoder can learn to use information provided by the draw. The paper does not supply matched runs for each heuristic separately. Their reported benefit applies to the training arrangement in which they were used, leaving the contribution of each and its interaction with the covariance scale unresolved.
A smaller implementation comparison appears in the discussion of Twitter. Carrying an encoder state from the end of the previous utterance into the next encoding worked slightly better for VHRED, according to the authors. They suggest that better hyper-parameter choices could remove the need for it. This observation matters when interpreting the experimental comparison because the implemented encoder can preserve some continuity across utterance boundaries in addition to the explicit context state. No size of effect is given for the change, and it is presented as a practical training observation.
Changing the amount of context and the generation horizon
The short- and long-context judgments show how an apparent architectural advantage depends on the examples being judged. VHRED's advantage over HRED and retrieval held under both eligibility rules. Its advantage over LSTM was specific to the long-context experiment. This is consistent with the authors' view that the latent hierarchy helps when the generator has substantial earlier material to use. Since the context sets are defined by different eligibility rules, the comparison varies what conversations enter the study along with how much context they contain. It is not a test that repeatedly shortens the very same prefix and measures the resulting change in preference.
The comparison of the 1-turn and 3-turn settings addresses a second question. Long contexts change what the generator is given. Continuing over several turns changes how much it must generate and how frequently it must build on its own output. The stronger topical results reported for VHRED in the latter setting support the idea that the system retains a useful direction through self-generated material. The embeddings measure the text that comes out of that process. They do not directly follow the internal states or test whether a specific latent coordinate preserved the topic.
The information measurements add evidence about the authors' explanation for the human preference reversal. If one system gives more specific replies and another frequently uses common words in widely applicable phrases, the first can score higher in estimated information while giving a less appropriate answer to a particular short exchange. That is the pattern the authors use to interpret LSTM's short-context advantage. It remains an interpretation because the study measured contextual preference, with no separate ratings for specificity, genericness, or sustained interest.
What the examples reveal about the scores
In their Twitter examples, the authors observed VHRED making greater use of informal expressions and emoticons, continuing an exchange across different languages, and sometimes producing imaginative actions or story-like material. These are qualitative observations. They expose dimensions of a reply that pooled similarity and unigram information will only register indirectly. In particular, a continuation in the language of the conversation can be helpful even when its wording diverges sharply from the one recorded continuation used for evaluation.
The examples also give the authors a way to show an error that an average score could obscure. A reply may be richer and more engaging in isolation and still introduce an assumption inconsistent with the exchange. The authors contrast this with connections that are weak but safe, which can receive a better preference judgment on a single turn. Their inspection explains why the paper reports several different measurements. The examples show possible behavior, while the scores characterize the particular outputs and evaluation tasks that were sampled.
Limitations
Limits the authors identify
The authors explicitly limit the interpretation of their embedding metrics. They acknowledge that the measures do not strongly track human judgments and use them to assess topical similarity instead. This distinction matters because replies carry out actions as well as mention subjects. A technically mistaken answer may use vocabulary related to the question. An appropriate clarification may bring in words mostly absent from the recorded reply. The three embedding measures differ in how they combine word vectors, while all depend on that representation of lexical content.
The authors excluded Ubuntu from the crowdsourced preference study because judging the support exchanges frequently requires expertise they did not expect from the recruited workers. The paper can therefore compare generated and observed text on Ubuntu, and examine examples, with human preference evidence limited to Twitter. On the social corpus, the authors acknowledge that a longer and more particular reply can contain small mistakes that weigh against it in a single comparison. They argue that variety matters for engaging conversations, while their workers rated immediate context fit.
The authors discuss search as another practical limit. Sampling words directly from recurrent decoders would introduce more variation into the outputs. They expected it to reduce their apparent quality relative to beam search and to make human comparisons more expensive. The paper's reported results come from beam search conditioned on a sampled vector for VHRED. They therefore describe what the systems did with that particular arrangement of search and randomness. The authors also present several possible applications of the architecture beyond dialogue, including document-level translation and multi-sentence summarization, as directions enabled in principle by the design.
The human-study appendix acknowledges imperfections in filtering and a tradeoff in the use of crowdsourcing. The authors filtered out conversations likely to be inaccessible to workers or inappropriate for display, and allowed a neutral judgment for cases people still could not assess. The label for this outcome includes both indifference and difficulty understanding the exchange. The reported ties consequently bring together different reasons for withholding preference. The possibility that a judge understands both replies and sees them as equally good is only one of those reasons.
Limits that follow from the design
The latent vector is a mechanism for shared variation, and the paper's examples of topic, sentiment, goals, and style are interpretations of what it could carry. Its coordinates are trained through predictions and distribution matching, with no labels for those properties. The human and automatic evaluations mainly measure generated text. They leave open whether a particular latent direction corresponds reliably to any one property, whether different draws produce distinct intents for the same prompt, and how much of the variation the deterministic context path already accounts for.
Several mechanisms change between HRED and VHRED at once. The latent draw affects generation, and the variational training objective supplies a different path for learning about whole utterances. Adding the inference network also changes the parameterization and training dynamics, and the paper uses a warm start and stabilizing heuristics. The discussion in the appendix is appropriately framed as an account of how a sentence-level learning signal might favor longer-range structure. The results do not isolate that account from other changes in the system or measure the gradients needed to establish it directly.
The information measure is about token probabilities under a training-corpus unigram. A relatively unusual word can raise the measure in a response that makes a mistake or misunderstands the question. Repeated examples of generic wording can produce low values, so the result can give a useful description of a corpus of outputs. Interpreting rarity as diversity of ideas requires more evidence. Similarly, the authors' suggestion that the more informative text corresponds to a broader range of hidden-state trajectories remains an inference from output statistics.
The 3-turn task is evidence about continuation over the study's chosen horizon. The systems generate all the future text in that comparison. A live conversation would introduce turns from another person, including corrections, subject changes, or new requests. The paper supplies no feedback-based evaluation of how VHRED responds after making its own mistake or after a person changes direction. On Ubuntu in particular, the evaluation leaves the correctness of technical recommendations open even when the embedding scores suggest that the generated text stayed with the issue.
Finally, the human results apply to test examples that passed the context, language, content, and reply-length rules. A minimum reply length can affect which pairs enter the study, particularly when one system often gives very brief replies. Filtering the Twitter examples for English also means that the multilingual behavior described in the qualitative discussion is outside the main preference evidence. The two context categories establish a difference under the study's sampling procedure. A claim about the effect of adding history to any given dialogue would require a comparison on matched conversations.
What came after
Latent choices became a question of discourse and action
The closest continuation among the citing works is Learning Discourse-level Diversity for Neural Dialog Models using Conditional Variational Autoencoders. It puts diversity at the level of discourse at the center of the task and uses conditional variational autoencoders to address it. The connection to VHRED is the premise that different reasonable responses to one history may reflect distinct choices about what to say. A conditional latent space provides a place to make those choices before composing the words. This later work's stated focus is diversity at that discourse level, which turns a motivating hypothesis in VHRED into the explicit subject of a dialogue-generation study. Learning Discourse-level Diversity
DialogWAE also makes the multiplicity of responses central, using a conditional Wasserstein autoencoder for multimodal response generation. The shared problem is how to represent a range of plausible next turns conditioned on the same history. VHRED uses a Gaussian prior and a variational objective for a draw that spans the reply. DialogWAE's stated method places the problem in a different autoencoder framework. Its title identifies the change in framework and the response-generation goal, without specifying how a particular VHRED component was reused. DialogWAE
Another line of work asks what an end-to-end dialogue agent should regard as an action when learning from reinforcement. Rethinking Action Spaces for Reinforcement Learning in End-to-end Dialog Agents with Latent Variable Models frames the choice of action space through latent variables. That emphasis connects to VHRED's decision about the scale of a draw. If an agent acts through an utterance, an internal decision that can influence a complete turn is a different unit from the individual words that express it. The later work examines the action-space side of that question in a reinforcement-learning setting. Rethinking Action Spaces
The tutorial An Introduction to Variational Autoencoders takes up the broader method behind the architecture. Prior sampling, approximate inference, and variational training define the family to which VHRED belongs. The dialogue paper's distinctive step was to attach these operations to the boundaries of a conversation's utterances and to condition the distribution on the preceding turns. A general treatment of variational autoencoders places that design within a wider set of problems involving hidden variables and observed data. An Introduction to Variational Autoencoders
Optimus takes sentence organization in a latent space as its subject and pursues it through pretraining. This is related to the representational claim behind VHRED. A whole sentence can be associated with a continuous vector whose effect extends across the words. VHRED uses that premise for conditional generation within a dialogue hierarchy. Optimus makes the organization of sentences in the latent space itself the focus of the work. The stated connection concerns the scale of representation, while the two papers ask different generation and representation questions. Optimus
Search and judgment stayed part of the comparison
Importance of Search and Evaluation Strategies in Neural Dialogue Modeling makes two choices from VHRED's experiments into subjects of study. VHRED samples a vector for the turn, searches for a word sequence using beam search, and then measures a mixture of topic similarity, information, and human preference. The output reachable under a search policy and the criterion used to judge it both enter the observed comparison. Studying search and evaluation directly continues the methodological question raised by that setup, independently of adopting its particular latent architecture. Importance of Search and Evaluation Strategies
Towards an Automatic Turing Test approaches dialogue evaluation by learning to evaluate responses. VHRED pairs human judgments with automatic diagnostics whose interpretations are deliberately narrower. A learned evaluator is a different approach to the problem of judging whether a reply fits when many responses are possible. The connection is especially direct at the level of the evaluated object. VHRED's judges assess a single next turn in context, and the later work's stated aim is to learn an evaluator for dialogue responses. Towards an Automatic Turing Test
Survey on evaluation methods for dialogue systems follows the evaluation question across systems. VHRED's Twitter preference experiments, embedding-based topical comparisons, and corpus-based information scores illustrate that different measures can disagree while each captures something about the generated text. A survey of dialogue evaluation takes that variety of methods as its subject. In this line of work, VHRED is pertinent as a case in which contextual preference depends on the test setting and in which automatic similarities are assigned a restricted interpretation. Survey on Evaluation Methods for Dialogue Systems
Later work made some conversational constraints explicit
Personalizing Dialogue Agents takes personalization as a specific problem. VHRED's motivation included speaker style among the possible sources of variation across utterances, and its latent vector was learned from words and context. A study centered on personalizing an agent sets aside that broad list of possible uses and asks how conversation can be shaped around who the speaker is. This connection concerns what constrains a reasonable reply. The citing work's stated aim is personalization, and the relationship alone leaves open how closely its implementation follows VHRED. Personalizing Dialogue Agents
Target-Guided Open-Domain Conversation makes the desired direction of a conversation an explicit subject. VHRED defines a distribution over an upcoming utterance from the conversation so far, which allows variation in the directions a reply may take. Target-guided conversation studies the related problem of guiding an exchange toward a specified target. The difference in what is given to the system changes the question from keeping a generated continuation related to its history to steering an open-domain exchange towards something intended. Target-Guided Open-Domain Conversation
Knowledge-Grounded Dialogue Generation with Pre-trained Language Models addresses a further constraint on what a reply can say. VHRED's Ubuntu study emphasizes the conversation prefix and asks whether generated text stays close to its subject. Work on knowledge-grounded generation makes the knowledge that supports a reply part of the task, using pretrained language models. Its stated approach belongs to a different generation framework. The connection to VHRED concerns the continuing problem of composing a coherent response under constraints that apply to the whole turn. Knowledge-Grounded Dialogue Generation
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Dialogue systems · 664 works
Cite
Cite as Iulian Vlad Serban, Alessandro Sordoni, Ryan Lowe, Laurent Charlin, Joelle Pineau, Aaron Courville and Yoshua Bengio. 2016. A Hierarchical Latent Variable Encoder-Decoder Model for Generating Dialogues. arXiv:1605.06069.
@misc{serban2016hierarchical,
title = {{A Hierarchical Latent Variable Encoder-Decoder Model for Generating Dialogues}},
author = {Iulian Vlad Serban, Alessandro Sordoni, Ryan Lowe, Laurent Charlin, Joelle Pineau, Aaron Courville and Yoshua Bengio},
year = {2016},
doi = {10.48550/arxiv.1605.06069},
eprint = {1605.06069},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1605.06069}
}References
- Bayer, J. and Osendorfer, C. (2014). Learning stochastic recurrent networks. In NIPS Workshop on Advances in Variational Inference. OpenAlex ↗ · Scholar ↗
- Boulanger-Lewandowski, N., Bengio, Y., and Vincent, P. (2012). Modeling temporal dependencies in high-dimensional sequences: Application to polyphonic music generation and transcription. In ICML. OpenAlex ↗ · Scholar ↗
- Bowman, S. R., Vilnis, L., Vinyals, O., Dai, A. M., Jozefowicz, R., and Bengio, S. (2015). Generating sentences from a continuous space. arXiv:1511.06349. our card
- Chelba, C., Mikolov, T., Schuster, M., Ge, Q., Brants, T., Koehn, P., and Robinson, T. (2014). One billion word benchmark for measuring progress in statistical language modeling. In INTERSPEECH. our card
- Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014). Learning phrase representations using RNN encoder–decoder for statistical machine translation. In EMNLP, pages 1724–1734. our card
- Chung, J., Kastner, K., Dinh, L., Goel, K., Courville, A., and Bengio, Y. (2015). A recurrent latent variable model for sequential data. In NIPS, pages 2962–2970. OpenAlex ↗ · Scholar ↗
- Fabius, O. and van Amersfoort, J. R. (2014). Variational recurrent auto-encoders. arXiv:1412.6581. OpenAlex ↗ · Scholar ↗
- Galley, M., Brockett, C., Sordoni, A., Ji, Y., Auli, M., Quirk, C., Mitchell, M., Gao, J., and Dolan, B. (2015). deltaBLEU: A discriminative metric for generation tasks with intrinsically diverse targets. In ACL. our card
- Goodfellow, I., Courville, A., and Bengio, Y. (2015). Deep Learning. MIT Press. OpenAlex ↗ · Scholar ↗
- Graves, A. (2012). Sequence transduction with recurrent neural networks. In ICML RLW. our card
- Gregor, K., Danihelka, I., Graves, A., and Wierstra, D. (2015). DRAW: A recurrent neural network for image generation. In ICLR. our card
- Hochreiter, S. and Schmidhuber, J. (1997). Long short-term memory. Neural computation, 9(8). OpenAlex ↗ · Scholar ↗
- Kingma, D. and Ba, J. (2015). Adam: A Method for Stochastic Optimization. In ICLR. our card
- Kingma, D. P. and Welling, M. (2014). Auto-encoding variational bayes. In ICLR. our card
- Li, J., Galley, M., Brockett, C., Gao, J., and Dolan, B. (2016). A diversity-promoting objective function for neural conversation models. In NAACL. our card
- Liu, C.-W., Lowe, R., Serban, I. V., Noseworthy, M., Charlin, L., and Pineau, J. (2016). How NOT to evaluate your dialogue system: An empirical study of unsupervised evaluation metrics for dialogue response generation. arXiv:1603.08023. our card
- Lowe, R., Pow, N., Serban, I., and Pineau, J. (2015). The Ubuntu Dialogue Corpus: A Large Dataset for Research in Unstructured Multi-Turn Dialogue Systems. In SIGDIAL. our card
- Mikolov, T., Karafiát, M., Burget, L., Cernockỳ, J., and Khudanpur, S. (2010). Recurrent neural network based language model. In INTERSPEECH, pages 1045–1048. OpenAlex ↗ · Scholar ↗
- Mitchell, J. and Lapata, M. (2008). Vector-based models of semantic composition. In ACL, pages 236–244. OpenAlex ↗ · Scholar ↗
- Pietquin, O. and Hastie, H. (2013). A survey on metrics for the evaluation of user simulations. The knowledge engineering review, 28(01), 59–73. OpenAlex ↗ · Scholar ↗
- Rezende, D. J., Mohamed, S., and Wierstra, D. (2014). Stochastic backpropagation and approximate inference in deep generative models. In ICML. our card
- Ritter, A., Cherry, C., and Dolan, W. B. (2011). Data-driven response generation in social media. In EMNLP, pages 583–593. our card
- Rus, V. and Lintean, M. (2012). A comparison of greedy and optimal assessment of natural language student input using word-to-word similarity metrics. In Building Educational Applications Workshop, ACL. OpenAlex ↗ · Scholar ↗
- Serban, I. V., Sordoni, A., Bengio, Y., Courville, A. C., and Pineau, J. (2016). Building end-to-end dialogue systems using generative hierarchical neural network models. In AAAI, pages 3776–3784. our card
- Shaikh, S., Strzalkowski, T., Taylor, S., and Webb, N. (2010). VCA: an experiment with a multiparty virtual chat agent. In ACL Workshop on Companionable Dialogue Systems, pages 43–48. OpenAlex ↗ · Scholar ↗
- Sordoni, A., Bengio, Y., Vahabi, H., Lioma, C., Simonsen, J. G., and Nie, J.-Y. (2015a). A hierarchical recurrent encoder-decoder for generative context-aware query suggestion. In CIKM. OpenAlex ↗ · Scholar ↗
- Sordoni, A., Galley, M., Auli, M., Brockett, C., Ji, Y., Mitchell, M., Nie, J.-Y., Gao, J., and Dolan, B. (2015b). A neural network approach to context-sensitive generation of conversational responses. In NAACL-HLT. our card
- Sutskever, I., Vinyals, O., and Le, Q. V. (2014). Sequence to sequence learning with neural networks. In NIPS, pages 3104–3112. our card
- Young, S., Gasic, M., Thomson, B., and Williams, J. D. (2013). POMDP-based statistical spoken dialog systems: A review. IEEE, 101(5), 1160–1179. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/serban-2016-hierarchical-latent-variable-encoder-decoder/