Introduction
Open-domain dialogue systems typically require vast amounts of data to achieve high performance. However, in "few-shot" scenarios—such as adapting a chatbot to a specific user's personality (persona) or a particular emotion (emoji) based on minimal examples—standard models often fail to maintain consistency. While Model-Agnostic Meta-Learning (MAML) has emerged as a powerful technique for finding optimal parameter initializations for fast adaptation, it relies on a fixed model architecture. This paper argues that parameter tuning alone is insufficient for the discrete and subtle nature of language; instead, each task requires a customized network structure to truly capture its unique characteristics.
Methodology: Seq2SPG and CMAML
The authors propose a novel framework consisting of the Seq2SPG architecture and the CMAML (Customized Model Agnostic Meta-Learning) algorithm.
The Seq2SPG Architecture
To enable structural customization, the model is decomposed into three functional components:
- Shared Module: A standard sequence-to-sequence (Seq2Seq) model that captures general linguistic rules common across all tasks.
- Private Module: A task-specific multi-layer perceptron (MLP) within the decoder designed to store unique persona or emotional quirks.
- Gating Module: A mechanism that dynamically balances information flow from the shared and private modules to generate the final output.
The CMAML Algorithm
The training process involves two distinct phases. First, Meta-Pre-training uses standard MAML to establish a robust baseline for all parameters. Second, Customized Training introduces structural sparsity through Private Network Pruning. By applying L1 regularization and an "up-to-bottom" pruning strategy, the algorithm removes weak connections in the private MLP, resulting in a unique, sparse architecture for every persona. Finally, Joint Meta-learning allows tasks with overlapping pruned structures to share updates, effectively leveraging data from similar tasks to overcome individual data scarcity.
Experimental Setup
The framework was evaluated on two benchmarks:
- Persona-chat: Requires models to generate responses consistent with specific user traits (e.g., "I am a pediatrician").
- MojiTalk: Focuses on emotional dialogue generation based on 50 different emojis.
Results and Key Insights
CMAML significantly outperformed standard fine-tuning and vanilla MAML across several dimensions. On the Persona-chat dataset, CMAML improved the C-score (consistency score) by 22.2% over the MAML-Seq2seq baseline. Human evaluators also rated CMAML higher in both response quality and task consistency.
One of the most significant findings was the Diff Score, a metric introduced to measure the structural divergence between models after adaptation. CMAML produced substantially higher Diff Scores, confirming that the algorithm successfully customized the model's "brain structure" rather than merely performing minor parameter tweaks. Furthermore, in extreme few-shot settings (e.g., 100 utterances), CMAML maintained coherence where non-meta-learning methods often failed.
Conclusion
By treating model structure as a learnable component of the meta-learning process, CMAML provides a more robust solution for few-shot dialogue generation. The use of structural sparsity as a form of task-specific memory allows models to "hard-code" persona-specific pathways, leading to more diverse and consistent conversational agents. Future work may explore more complex private module architectures and explicit modeling of task similarity to further refine the pruning process.
Summary updated