Abstract
Researchers at Amazon Alexa have developed PDRFE (Personalized Dynamic Routing Feature Encoder), a Graph Convolutional Network (GCN) that generates context-aware user representations. By modeling user-skill interactions as a graph and treating spoken utterances as rich edge features, the model achieves up to a 41% improvement in predicting whether a customer's request will be successfully fulfilled.
Introduction
When users interact with voice assistants like Alexa, a system called Dynamic Routing (DR) determines which "skill" (application) should handle the request. Traditional DR systems often rely on simple frequency counts of past user-skill interactions. However, these methods fail to capture the inherent network structure—similarities between users or skills—and ignore the contextual ambiguity of the request itself. A user's intent is heavily dependent on the specific words used (the utterance), which standard graph models often treat as simple binary edges.
Methodology
The proposed PDRFE model utilizes a heterogeneous, edge-attributed graph where nodes represent Users and Skills, and edges represent Interactions. To incorporate context, the model introduces three primary components:
- Edge Attribute Encoder: A pre-trained Bi-LSTM converts user utterances into numerical vectors, providing the necessary context for each interaction.
- Edge-based Convolution: Unlike standard GCN layers, PDRFE uses operators that allow edge features to influence message passing. Two variants were explored: NNConv, which uses a filter-generating network, and Edge-based Attention, which weights neighbor importance based on the utterance.
- The Personalizer: This module creates a context-tailored representation by concatenating a user's base embedding with the current utterance embedding through a 2-layer neural network.
The model was trained on a massive real-world dataset from Amazon Alexa, comprising over 107 million interactions involving 12 million customers and 8,110 skills.
Experimental Results
The PDRFE model was evaluated on a downstream "defect prediction" task—predicting whether a request was fulfilled successfully. It was compared against industrial baselines such as PinSage and RGCN (Relational GCN).
Key findings include:
- Superior Performance: PDRFE (using NNConv) achieved a cross-entropy of 0.303, significantly outperforming the RGCN baseline (0.371) and PinSage (0.441).
- Relative Improvements: The model demonstrated relative gains in cross-entropy ranging from 15% to 41% over various baselines.
- Ablation Studies: The Personalizer module alone provided a 12% performance boost, while the NNConv edge-based convolution provided a 19% boost. The synergy of these components is critical for high-precision node representation.
Conclusion
PDRFE demonstrates the power of treating interaction content (utterances) as rich edge features in a graph-based recommendation system. By dynamically personalizing user embeddings based on current intent, the model significantly improves fulfillment prediction. Future work will focus on integrating these representations into live ranking models and addressing "cold-start" scenarios for new users.
Summary updated