At each word position, we take the hidden state h t as query, and obtain slot feature h slot t and intent feature h int t from both memories by the deliberate attention mechanism, which will be illustrated in the following.
for the slot feature h slot t , we firstly get a rough intent representation h int t by the wordaware attention with hidden state h t over the intent memory M int , and then obtain the final slot feature h slot t by the intent-aware attention over the slot memory M slot with the intent-enhanced representation [h t ; h int t ].