Introduction
In the evolving landscape of AI-driven conversational agents, Dialog State Tracking (DST) serves as a critical component for maintaining the context of a conversation and identifying user goals. However, as these systems are deployed in dynamic environments, they must frequently adapt to new domains and services. The primary challenge in this adaptation is "catastrophic forgetting," where a model loses its ability to perform previously learned tasks upon training for new ones.
While traditional Continual Learning (CL) research often focuses on "Task-Incremental" scenarios—where the model is explicitly told which task it is performing during inference—real-world applications demand "Class-Incremental" capabilities. In a Class-Incremental setting, the model must autonomously identify the relevant domain from the user's utterance and apply the correct tracking logic. This paper introduces a novel framework, Prompt Pool Training (PPT), designed to address these challenges by decoupling task identification from state generation using a key-value memory bank of prompts.
The PPT Framework
The proposed PPT framework moves away from updating the entire model architecture, which is both computationally expensive and prone to forgetting. Instead, it utilizes a frozen backbone model and a dynamic pool of learnable prompts.
1. The Prompt Pool Mechanism
The core of the system is a prompt pool consisting of pairs of "Keys" and "Values." Each "Value" is a tunable prompt vector that provides task-specific instructions to the model, while the corresponding "Key" is a vector representing the context of that task.
2. Automatic Task Selection
During inference, the system must determine which prompts to use without an explicit Task ID. A frozen encoder (Sentence-BERT) converts the dialog history into a context vector. The system then performs a similarity search against the prompt pool, selecting the $N$ prompts whose keys are most closely aligned with the current conversation context.
3. Frozen Backbone Generation
The selected prompts are concatenated with the dialog history and fed into a frozen T5 language model. Because the T5 weights remain unchanged throughout the learning process, the model’s fundamental language understanding capabilities are preserved, and interference between tasks is minimized. Only the prompt vectors and their associated keys are updated during training.
4. Optimization and Rehearsal
The model is trained using a dual loss function. The first component is a generative loss to ensure the T5 model produces the correct dialog states (slots and values). The second is a discriminative loss designed to pull the "Keys" in the pool closer to their relevant dialog contexts in the embedding space. To further mitigate forgetting, the authors introduce PPT-R, which incorporates a small rehearsal buffer of 50 examples per task to periodically remind the model of earlier domains.
Experimental Evaluation
The researchers evaluated PPT on two diverse benchmarks:
- Schema-Guided Dialog (SGD): A large-scale dataset featuring 44 services across 19 domains. The study focused on a sequence of 15 distinct tasks.
- CM-Pickup: A real-world Chinese dataset involving 16 domains related to a mobile phone "pickup" service.
Key Results
- Performance Gains: On the SGD dataset, PPT achieved a Joint Goal Accuracy (JGA) of 34.6%, which increased to 36.3% with the addition of the rehearsal buffer (PPT-R). This significantly outperformed the baseline AdapterCL method, which reached only 30.6%.
- Selection Precision: The key-matching mechanism proved highly effective, achieving a key selection accuracy ($Acc_{key}$) of over 81%, demonstrating that the model can reliably identify the correct domain context without external guidance.
- Scalability: The framework showed a strong positive correlation with model size. Upgrading from T5-small (60M parameters) to T5-large (750M parameters) resulted in substantial accuracy improvements, suggesting that larger frozen models are more adept at utilizing the instructions provided by the prompt pool.
Discussion and Limitations
While PPT represents a significant step forward for Class-Incremental DST, the authors identified specific areas for improvement. A primary challenge is the "Similarity Trap," where the model struggles to distinguish between highly similar domains (e.g., different versions of a rental car service). In such cases, the keys become overlapping in the embedding space, leading to task interference.
Furthermore, while PPT-R narrows the gap, there remains a performance difference between continual learning models and "Oracle" models that have access to all data simultaneously (multi-task learning).
Conclusion
The Prompt Pool Training approach offers a parameter-efficient and robust solution for lifelong learning in dialog systems. By leveraging a frozen backbone and an automated prompt selection mechanism, PPT enables models to learn a sequence of new tasks while maintaining high performance on previous ones, all without the need for manual task labeling at test time. Future work will explore the application of this method to larger generative models and more complex, multi-domain conversational scenarios.
Summary updated