{'fraction_non_alphanumeric': 0.011873350923482849, 'fraction_numerical': 0.0, 'mean_word_length': 5.543103448275862, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, '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}}
Locally optimal detection of adversarial inputs to image classifiers

Deep neural networks achieve state-of-the-art performance for image classification and other tasks but are easily fooled by forgeries which slightly modify a legitimate image in a specific direction and are visually indistinguishable from the original. This presents a security risk for applications such as driverless transportation systems. We formulate detection of such forgeries as a watermark detection problem and derive locally optimal statistical tests for identifying them. Motivated by this optimal structure, we present a procedure for learning a forgery detector from a training set. The reliability of our forgery detector is assessed for several image classification tasks.