{'fraction_non_alphanumeric': 0.02743362831858407, 'fraction_numerical': 0.0, 'mean_word_length': 6.024844720496894, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
SVIT: Hybrid Vision Transformer Models with Scattering Transform

Transformer architectures not only enable significant performance in natural language processing tasks, but also demon-strate comparable feature extraction ability as convolutional neural networks in computer vision tasks. Unlike words in sentences, it is difficult to specify a graphic token with definite semantic representations in pictures, which diminishes the impact of the self-attention mechanism. This work inves-tigates tokenization methods for Vision Transformer (ViT). Scattering transform shares a tiny network structure based on fixed wavelet filters. It is capable of providing adequate spatial and frequency-based tokenizations. So we propose hybrid ViT models with scattering transform called Scat-tering Vision Transformer (SViT). Experiments on image classification tasks suggest that scattering-transform-based tokenizations can improve performance of vanilla ViT, especially on small datasets or frequency-sensitive tasks such as satellite image classification. Our codes are available at https://github.com/TianmingQiu/scattering_transformer.