Litcius/Paper detail

M2T: Masking Transformers Twice for Faster Decoding

Fabian Mentzer, Eirikur Agustson, Michael Tschannen

202316 citationsDOI

Abstract

We show how bidirectional transformers trained for masked token prediction can be applied to neural image compression to achieve state-of-the-art results. Such models were previously used for image generation by progressivly sampling groups of masked tokens according to uncertainty-adaptive schedules. Unlike these works, we demonstrate that predefined, deterministic schedules perform as well or better for image compression. This insight allows us to use masked attention during training in addition to masked inputs, and activation caching during inference, to significantly speed up our models (≈4× higher inference speed) at a small increase in bitrate. <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup>

Topics & Concepts

Security tokenComputer scienceDecoding methodsTransformerInferenceArtificial intelligenceSpeech recognitionMasking (illustration)AlgorithmEngineeringComputer networkElectrical engineeringVisual artsArtVoltageGenerative Adversarial Networks and Image SynthesisAdvanced Neural Network ApplicationsNeural Networks and Applications