Abstract
Automated Reply Suggestion (RS) systems typically rely on monolingual retrieval models, which are difficult to scale across dozens of languages due to capacity dilution and data skew. We present the Conditional Generative Matching (CGM) model, a Variational Autoencoder (VAE) framework designed for universal multilingual RS. By employing message-conditional priors and mixture densities (CGM-M), our approach captures the multi-modal distribution of cross-lingual intents. Experimental results on a 15-language dataset demonstrate that CGM-M improves relevance by 10-16% and increases reply diversity by 80% compared to traditional matching baselines.
Introduction
Automated Reply Suggestion (RS) has become a core feature in modern communication platforms, offering quick responses like "Sounds good!" or "On my way!" However, maintaining separate models for every supported language is resource-intensive. Developing a single "universal" model faces two primary challenges: capacity dilution, where performance on high-resource languages drops to accommodate others, and data skew, where varying data availability leads to biased models. Traditional retrieval models often lack the inductive bias necessary to represent complex, multi-modal distributions across many languages simultaneously.
Methodology
The authors propose Conditional Generative Matching (CGM), shifting from simple dot-product matching to a generative framework based on Variational Autoencoders (VAEs).
Architecture
Unlike standard VAEs that utilize independent Gaussian priors, CGM employs a prior conditioned on the input message ($\Theta_M$). This ensures the latent space is directly informed by the conversational context, creating a stronger link between the message and the suggested reply.
To address the multi-modal nature of multilingual data, the CGM-M (Mixture Density) variant uses a Gaussian Mixture Model (GMM) as the prior. This allows different mixture components to specialize in specific languages or intents. A latent alignment classifier is further integrated to ensure mixture components align with the message's language.
Training Optimizations
To stabilize VAE training for multilingual RS, several techniques were introduced:
- Matching Loss Regularization: Anchors message and reply encoders to prevent divergence.
- Focal Loss: Directs model focus toward "hard" (weakly reconstructed) examples to mitigate data imbalance.
- Homoscedastic Uncertainty (HSU): Automatically learns optimal weights for various loss functions during training, removing the need for manual tuning.
Results and Discussion
The model was evaluated using the Multilingual Reply Suggestions (MRS) dataset, covering 15 languages. For low-resource languages, the authors augmented the set with machine-translated responses to reach a baseline of 40,000 pairs per language.
Performance Gains
CGM-M achieved a 10% average improvement in ROUGE scores over competitive baselines, with gains reaching 16% for low-resource languages. This suggests that the universal model benefits from "cross-lingual transfer," where patterns from high-resource languages assist in understanding lower-resource ones.
Diversity and Intent
A significant finding was an 80% increase in the diversity of suggested replies. While traditional retrieval models often suffer from "mode collapse"—suggesting near-identical responses like "Yes" and "Yes!"—CGM samples from a continuous latent space, capturing a wider variety of conversational intents.
Conclusion
The CGM framework demonstrates that a generative approach can outperform individually trained monolingual models in a multilingual setting. While "capacity dilution" remains a challenge for high-resource languages like English, the overall improvements in relevance and diversity mark a significant step toward efficient, universal communication tools. Future work will explore larger multilingual encoders to further bridge the performance gap in high-resource scenarios.
Summary updated