TL;DR
Neural conversation models often default to boring, generic responses like "I don't know" because they optimize for the most likely output given an input. This paper introduces a Maximum Mutual Information (MMI) objective function that penalizes high-frequency, generic phrases, forcing the model to generate responses that are diverse, specific, and more engaging.
What Problem Does This Paper Address?
If you’ve ever interacted with an early-generation chatbot, you’ve likely encountered the "I don't know" problem. Standard sequence-to-sequence (Seq2Seq) models are trained using Maximum Likelihood Estimation (MLE), which maximizes $P(Target | Source)$.
The issue is that generic responses like "I'm okay" or "I don't know" are highly probable across a vast array of different inputs. Because these phrases appear so frequently in training data (e.g., 0.45% of the OpenSubtitles dataset contains "I don't know"), the model learns that they are "safe" bets. Consequently, the model ignores the specific nuances of the input message in favor of a globally likely, but ultimately useless, response.
Methods
The authors propose replacing the standard MLE objective with Maximum Mutual Information (MMI). Mathematically, MMI seeks to maximize the mutual dependence between the input ($S$) and the output ($T$):
$$\log \frac{p(S,T)}{p(S)p(T)} = \log p(T|S) - \log p(T)$$
By subtracting $\log p(T)$ (the probability of the response occurring in general), the model is forced to penalize generic responses and favor those that are highly specific to the input $S$.
The paper explores two practical ways to implement this during decoding:
- MMI-antiLM: This version subtracts a weighted language model term from the standard objective. To prevent the model from becoming ungrammatical, they apply the penalty more heavily to the first few words of a response, which usually dictate the sentence's direction.
- MMI-bidi: This involves a two-step process. First, the model generates a large "N-best" list of candidate responses using standard MLE. Then, it reranks these candidates using the inverse probability $P(Source | Target)$. If a response strongly implies the original message, it is ranked higher.
Datasets
The models were trained and evaluated on two massive datasets:
- Twitter Conversation Triple Dataset: 23 million conversational snippets. Evaluation used multi-reference BLEU scores to account for the many valid ways to respond to a tweet.
- OpenSubtitles (OSDb): A noisy dataset of 60M–70M scripted movie lines. For cleaner evaluation, the authors used the IMSDB (Internet Movie Script Database) to ensure message-response pairs actually came from different characters.
Key Insights and Ideas
- The "Safe Response" Trap: MLE doesn't just reward correctness; it rewards high-frequency patterns. In a space as diverse as human conversation, the "average" of all possible responses is a generic void.
- Directionality is Key: A truly good response should be a two-way street. Not only should the message suggest the response, but the response should, in theory, help you guess what the original message was.
- Early Penalty Matters: In the MMI-antiLM approach, the authors found that penalizing the language model early in the sequence is most effective. Once the first few specific words are chosen, the standard language model can take over to ensure the rest of the sentence remains grammatical.
Key Results
The MMI models significantly outperformed standard Seq2Seq baselines across both quantitative metrics and human judgment.
- Diversity: The MMI models showed a massive jump in "distinct-n" metrics (the ratio of unique n-grams to total words). On the OpenSubtitles dataset, MMI-antiLM increased unigram diversity by 228% and bigram diversity by 407% compared to the baseline.
- BLEU Scores: On the Twitter dataset, MMI-bidi achieved a BLEU score of 5.22, compared to 4.31 for the standard Seq2Seq baseline (see Figure 4).
- Qualitative Improvement: As shown in Figure 6, where the baseline might offer a generic "I don't know," the MMI model provides contextually relevant responses like "Not long enough. Sorry, sir."
Limitations and Future Work
- Reranking Bottleneck: The MMI-bidi approach relies on the initial MLE model to generate a good N-best list. If the "safe" responses occupy the entire top 200 list, reranking can't find a diverse gem that was never generated.
- Grammaticality vs. Diversity: There is a fine line in MMI-antiLM; if the penalty for common words is too high, the model may start producing gibberish just to be "unique."
- Beyond Objective Functions: The authors note that while MMI helps, other factors like speaker persona, intent, and grounding in real-world knowledge are necessary for truly human-like conversation. These were left for future research.
Summary updated