Abstract
Standard Sequence-to-Sequence (Seq2Seq) models often struggle with a "cold start" problem, where a generic, non-informative start symbol (e.g., </s>) is used to trigger the first word of a response. This reliance frequently leads to repetitive, high-frequency outputs and error propagation. We introduce Learning to Start (LTS), a novel approach that predicts the first word directly from the encoder's context and the decoder's embedding matrix. By treating the initial word generation as a specialized classification task rather than a standard language modeling step, LTS achieves significantly better diversity and accuracy in short-text conversation tasks.
Introduction
In traditional Seq2Seq architectures, the decoder generates a sentence word-by-word. To initiate this process, the decoder typically receives a context vector from the encoder and a static "start-of-sentence" symbol. This approach suffers from three primary flaws:
- Lack of Semantic Relationship: There is no inherent link between a generic start symbol and the varied semantic meanings of potential first words.
- Frequency Bias: The model often defaults to "safe," high-frequency words (like "I" or "The"), resulting in generic responses.
- Error Accumulation: A poorly chosen first word negatively impacts every subsequent word in the sequence.
Methodology
The proposed LTS (Learning to Start) model modifies the standard architecture by predicting the first word ($y_1$) through a dedicated calculation independent of the decoder's initial RNN state.
The first word is determined by the function $y_1 = g(c, E)$, where $c$ is the context vector summarizing the source sentence and $E$ is the decoder's embedding matrix. The model learns a transformation matrix that maps the source context into the word embedding space, essentially selecting the most appropriate starting word based on the "gist" of the input. Once $y_1$ is selected, it is fed into the decoder RNN to generate the remainder of the sequence ($y_2, y_3, ...$) as per standard practice.
Experimental Setup
Datasets
- Training Data: The authors utilized a dataset of 1 million one-to-one dialogue pairs crawled from the web, featuring a vocabulary of approximately 35,000 words.
- Test Data: Evaluation was conducted on a benchmark of 1,000 posts, utilizing multiple human-generated reference responses per post to ensure robust BLEU metric calculations.
Key Results
The LTS model was compared against a strong baseline, the "Hybrid Model" (HYP).
Quantitative Performance
LTS outperformed the baseline across all BLEU metrics. While the improvement in BLEU-1 was incremental, the gains in higher-order n-grams were substantial, indicating improved phrase-level coherence.
Diversity and Human Evaluation
Beyond BLEU scores, LTS demonstrated superior diversity. Using a custom metric ($accw-i$), the authors found that while the baseline's accuracy plummeted when high-frequency words were filtered, LTS remained stable, proving its ability to select context-specific vocabulary. In blind human evaluations, LTS achieved a Mean Score of 0.590 (on a 0-2 scale), significantly higher than the baseline's 0.510, with judges noting fewer generic or inappropriate responses.
Conclusion
By recognizing that the first word of a sequence is fundamentally different from subsequent words, the LTS framework successfully mitigates the "cold start" problem in Seq2Seq models. While the current study focuses on RNN-based architectures for short-text conversations, the principle of specialized start-word prediction offers a promising avenue for improving diversity in various generative NLP tasks. Future work may explore the application of this logic to modern Transformer-based architectures and long-form document generation.
Summary updated