Fine-grained image recognition is central to many multimedia tasks such as search, retrieval and captioning. Unfortunately, these tasks are still challenging since the appearance of samples of the same class can be more different than those from different classes. Attention has been typically implemented in neural networks by selecting the most informative regions of the image that improve classification. In contrast, in this paper, attention is not applied at the image level but to the convolutional feature activations. In essence, with our approach, the neural model learns to attend to lower-level feature activations without requiring part annotations and uses those activations to update and rectify the output likelihood distribution. The proposed mechanism is modular, architecture-independent and efficient in terms of both parameters and computation required. Experiments demonstrate that well-known networks such as Wide Residual Networks and ResNeXt, when augmented with our approach, systematically improve their classification accuracy and become more robust to changes in deformation and pose and to the presence of clutter. As a result, our proposal reaches state-of-the-art classification accuracies in CIFAR-10, the Adience gender recognition task, Stanford Dogs, and UEC-Food100 while obtaining competitive performance in ImageNet, CIFAR-100, CUB200 Birds, and Stanford Cars. In addition, we analyze the different components of our model, showing that the proposed attention modules succeed in finding the most discriminative regions of the image. Finally, as a proof of concept, we demonstrate that with only local predictions, an augmented neural network can successfully classify an image before reaching any fully connected layer, thus reducing the computational amount up to 10%.
Now You (Still) See Me: Detecting Evasive Steganographic Payloads in LLMs
UCL Centre for AI(UCL人工智能中心);University College London(伦敦大学学院);ML Alignment Theory Scholars(机器学习对齐理论学者);Department of Computer Science(计算机科学系);School of Computing and Communications(计算与通讯学院);ETH Zürich(苏黎世联邦理工学院);University of Sussex(Sussex大学);Imperial College London & University of Oxford(伦敦帝国学院与牛津大学)
Data-aware customization of activation functions reduces neural network error
University of Idaho(爱达荷大学);Institute for Modeling Collaboration and Innovation, University of Idaho(爱达荷大学建模协作与创新研究所)
Activation functions play critical roles in neural networks , yet current off-the-shelf neural networks pay little attention to the specific choice of activation functions used. Here we show that data-aware customization of activation functions can result in striking reductions in neural network error. We first give a simple linear algebraic explanation of the role of activation functions in neural networks ; then, through connection with the Diaconis-Shahshahani Approximation Theorem, we propose a set of criteria for good activation functions . As a case study, we consider regression tasks wi…
Group-wise Inhibition based Feature Regularization for Robust Classification
SZU Branch, Shenzhen Institute of Artificial Intelligence and Robotics for Society(深圳市人工智能与机器人研究院深圳大学分中心);National Engineering Laboratory for Big Data System Computing Technology(大数据系统计算技术国家工程实验室);Guangdong Key Laboratory of Intelligent Information Processing(广东省智能信息处理重点实验室)