Gated Transformer for Robust De-noised Sequence-to-Sequence Modelling

Ayan Sengupta, Amit Kumar, Sourabh Kumar Bhattacharjee, Suman Deb Roy · 2021

Robust sequence-to-sequence modelling is an essential task in the real world where inputs are often noisy.Both user-generated and machine generated inputs contain various kinds of noises in the form of spelling mistakes, grammatical errors, character recognition errors etc, all of which impact downstream tasks and affect interpretability of texts.In this work, we devise a novel sequence-to-sequence architecture for detecting and correcting different real world and artificial noises (adversarial attacks) from English texts.Towards that we propose a modified transformer-based encoderdecoder architecture that uses a gating mechanism to detect types of corrections required and accordingly corrects texts.Experimental results show that our gated architecture with pre-trained language models perform significantly better that the non-gated counterparts and other state-of-the-art error correction models in correcting spelling and grammatical errors.Extrinsic evaluation of our model on Machine Translation (MT) and Summarization tasks show the competitive performance of the model against other generative sequence-tosequence models under noisy inputs.

Read the paper · More papers on PaperTik