To tackle the first problem, we propose to learn a Mahalanobis distance metric to measure the relationship between unseen and seen intents.
given the embeddings of an unseen intent l and a seen intent k, their squared Mahalanobis distance is given by: where Ω is a learnable covariance matrix which models the correlation between dimensions of the embedding.