Abstract
In human conversation an input post is open to multiple potential responses, which is typically regarded as a one-to-many problem. Promising approaches mainly incorporate multiple latent mechanisms to build the one-to-many relationship. However, without accurate selection of the latent mechanism corresponding to the target response during training, these methods suffer from a rough optimization of latent mechanisms. In this paper, we propose a multi-mapping mechanism to better capture the one-to-many relationship, where multiple mapping modules are employed as latent mechanisms to model the semantic mappings from an input post to its diverse responses. For accurate optimization of latent mechanisms, a posterior mapping selection module is designed to select the corresponding mapping module according to the target response for further optimization. We also introduce an auxiliary matching loss to facilitate the optimization of posterior mapping selection. Empirical results demonstrate the superiority of our model in generating multiple diverse and informative responses over the state-of-the-art methods.
Introduction
In human conversation, a single statement can trigger many different valid responses—a "one-to-many" relationship. For example, if I say, "It's raining outside," you might say "I hate the rain," "Do you have an umbrella?", or "Great for the garden!" Standard Sequence-to-Sequence (Seq2Seq) models struggle here because they try to find a single "average" mapping, which usually results in safe, generic, and boring responses like "I don't know" or "Me too."
While newer models try to use "latent mechanisms" (multiple internal paths) to capture diversity, they often suffer from rough optimization. During training, they don't know exactly which internal path should have generated the target response, so they update all of them slightly. This "blurs" the paths, preventing them from becoming truly specialized and distinct. To solve this, we introduce the MMPMS (Multi-Mapping and Posterior Mapping Selection) framework.
Methodology
The MMPMS framework introduces three key innovations to solve the rough optimization problem and facilitate the generation of diverse responses:
- Multi-Mapping Mechanism: Instead of one path, the model has $K$ different "mapping modules." Each module is a function that transforms the input post's representation into a candidate response representation.
- Posterior Mapping Selection: This is the "secret sauce." During training, the model looks at the actual target response (the "posterior" information). It calculates which of the $K$ mapping modules is most relevant to that specific response and selects it using a Gumbel-Softmax trick. Crucially, only the selected module is updated for that training step. This forces each module to specialize in a specific "style" or "regularity" of responding.
- Auxiliary Matching Loss: To prevent the model from getting stuck (e.g., always picking the same module early in training), an auxiliary task is added. The model must learn to "match" posts with their correct responses, which helps the response encoder provide better guidance for the selection process.
Experimental Setup
The model was trained and evaluated on two massive, real-world datasets:
- Weibo: A Chinese social media dataset containing over 2.6 million post-response pairs.
- Reddit: An English dataset containing over 2.1 million pairs.
These datasets are standard benchmarks for open-domain conversation because they capture the messy, diverse nature of real human interaction.
Results and Discussion
The MMPMS model significantly outperformed state-of-the-art baselines (like CVAE and MHAM) in both automatic metrics and human evaluation. On the Weibo dataset, the "Good" response ratio jumped to 0.24, compared to 0.08 for standard Seq2Seq. The model also achieved a Diversity score of 3.16 on Reddit, nearly double that of the standard Seq2Seq (1.27).
A key advantage of MMPMS is its interpretability. Unlike Variational Auto-Encoders (CVAEs), which use a continuous Gaussian "latent space," MMPMS modules learn distinct, identifiable responding regularities. Visual proof of this specialization can be seen in t-SNE visualizations of the candidate representations, where different modules form tight, distinct clusters.
Conclusion
MMPMS addresses the "one-to-many" problem in dialogue generation by enforcing module specialization through posterior selection. By using the target response as a guide during training, the model creates "specialist" modules rather than "generalist" ones, leading to more diverse and high-quality responses. Future work will explore more complex mapping structures and improved selection methods for inference.
Summary updated