{'fraction_non_alphanumeric': 0.0176678445229682, 'fraction_numerical': 0.0, 'mean_word_length': 5.647887323943662, '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}}
Training cascaded networks for speeded decisions using a temporal-difference loss

Although deep feedforward neural networks share some characteristics with the primate visual system, a key distinction is their dynamics. Deep nets typically operate in sequential stages wherein each layer fully completes its computation before processing begins in subsequent layers. In contrast, biological systems have cascaded dynamics: information propagates from neurons at all layers in parallel but transmission is gradual over time. In our work, we construct a cascaded ResNet by introducing a propagation delay into each residual block and updating all layers in parallel in a stateful manner. Because information transmitted through skip connections avoids delays, the functional depth of the architecture increases over time and yields a trade off between processing speed and accuracy. We introduce a temporal-difference (TD) training loss that achieves a strictly superior speed-accuracy profile over standard losses. The CASCADEDTD model has intriguing properties, including: typical instances are classified more rapidly than atypical instances; CASCADEDTD is more robust to both persistent and transient noise than is a conventional ResNet; and the time-varying output trace of CASCADEDTD provides a signal that can be used by ‘meta-cognitive’ models for OOD detection and to determine when to terminate processing.