A New Time-Frequency Attention Mechanism for TDNN and CNN-LSTM-TDNN, with Application to Language Identification

Xiaoxiao Miao, Ian McLoughlin, Yonghong Yan


In this paper, we aim to improve traditional DNN x-vector language identification (LID) performance by employing Convolutional and Long Short Term Memory-Recurrent (CLSTM) Neural Networks, as they can strengthen feature extraction and capture longer temporal dependencies. We also propose a two-dimensional attention mechanism. Compared with conventional one-dimensional time attention, our method introduces a frequency attention mechanism to give different weights to different frequency bands to generate weighted means and standard deviations. This mechanism can direct attention to either time or frequency information, and can be trained or fused singly or jointly. Experimental results show firstly that CLSTM can significantly outperform a traditional DNN x-vector implementation. Secondly, the proposed frequency attention method is more effective than time attention, particularly when the number of frequency bands matches the feature size. Furthermore, frequency-time score merging is the best, whereas frequency-time feature merge only shows improvements for small frequency dimension.


 DOI: 10.21437/Interspeech.2019-1256

Cite as: Miao, X., McLoughlin, I., Yan, Y. (2019) A New Time-Frequency Attention Mechanism for TDNN and CNN-LSTM-TDNN, with Application to Language Identification. Proc. Interspeech 2019, 4080-4084, DOI: 10.21437/Interspeech.2019-1256.


@inproceedings{Miao2019,
  author={Xiaoxiao Miao and Ian McLoughlin and Yonghong Yan},
  title={{A New Time-Frequency Attention Mechanism for TDNN and CNN-LSTM-TDNN, with Application to Language Identification}},
  year=2019,
  booktitle={Proc. Interspeech 2019},
  pages={4080--4084},
  doi={10.21437/Interspeech.2019-1256},
  url={http://dx.doi.org/10.21437/Interspeech.2019-1256}
}