The discriminator's output is determined by a two layer 2D convolutional neural network applied to S. Convolutional neural networks have been shown to capture local as well as global patterns in 2D data -for example, images.
our discriminator is composed of two main components: computation of a ma-trix S, and a convolutional neural network to classify the computed matrix S. The pair-wise computation provides a useful inductive bias to identify the notion of rhyming, whereas the convolutional network is a suitable choice to capture overall rhyming patterns.