<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Deep Learning | Academic</title><link>http://peijiechen.fyi/tag/deep-learning/</link><atom:link href="http://peijiechen.fyi/tag/deep-learning/index.xml" rel="self" type="application/rss+xml"/><description>Deep Learning</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Fri, 01 Mar 2024 00:00:00 +0000</lastBuildDate><image><url>http://peijiechen.fyi/media/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_3.png</url><title>Deep Learning</title><link>http://peijiechen.fyi/tag/deep-learning/</link></image><item><title>PEEB, Part-based Bird Classifier with an Explainable and Editable Language Bottleneck</title><link>http://peijiechen.fyi/project/peeb/</link><pubDate>Fri, 01 Mar 2024 00:00:00 +0000</pubDate><guid>http://peijiechen.fyi/project/peeb/</guid><description>&lt;h1 id="peeb-part-based-bird-classifier-with-an-explainable-and-editable-language-bottleneck">PEEB: Part-based Bird Classifier with an Explainable and Editable Language Bottleneck&lt;/h1>
&lt;h3 id="abstract">Abstract&lt;/h3>
&lt;p>CLIP-based classifiers rely on the prompt containing a {class name} that is known to the text encoder. That is, CLIP performs poorly on new classes or the classes whose names rarely appear on the Internet (e.g., scientific names of birds). For fine-grained classification, we propose PEEB - an explainable and editable classifier to (1) express the class name into a set of pre-defined text descriptors that describe the visual parts of that class; and (2) match the embeddings of the detected parts to their textual descriptors in each class to compute a logit score for classification. In a zero-shot setting where the class names are unknown, PEEB outperforms CLIP by a large margin (~10x in accuracy). Compared to part-based classifiers, PEEB is not only the state-of-the-art on the supervised-learning setting (88.80% accuracy) but also the first to enable users to edit the class definitions to form a new classifier without retraining. Compared to concept bottleneck models, PEEB is also the state-of-the-art in both zero-shot and supervised learning settings.&lt;/p></description></item><item><title>gScoreCAM, What objects is CLIP looking at?</title><link>http://peijiechen.fyi/project/gscorecam/</link><pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate><guid>http://peijiechen.fyi/project/gscorecam/</guid><description>&lt;h1 id="gscorecam-what-is-clip-looking-at">gScoreCAM: What is CLIP looking at?&lt;/h1>
&lt;h3 id="abstract">Abstract&lt;/h3>
&lt;p>Large-scale, multimodal models trained on web data such as OpenAI&amp;rsquo;s CLIP are becoming the foundation of many applications. Yet, they are also more complex to understand, test, and therefore align with human values. In this paper, we propose gScoreCAM&amp;ndash;a state-of-the-art method for visualizing the main objects that CLIP is looking at in an image. On zero-shot object detection, gScoreCAM performs similarly to ScoreCAM, the best prior art on CLIP, yet 8 to 10 times faster. Our method outperforms other existing, well-known methods (HilaCAM, RISE, and the entire CAM family) by a large margin, especially in multi-object scenes. gScoreCAM sub-samples k = 300 channels (from 3,072 channels&amp;ndash;i.e. reducing complexity by almost 10 times) of the highest gradients and linearly combines them into a final &amp;ldquo;attention&amp;rdquo; visualization. We demonstrate the utility and superiority of our method on three datasets: ImageNet, COCO, and PartImageNet. Our work opens up interesting future directions in understanding and de-biasing CLIP.&lt;/p></description></item><item><title>How explainable are adversarially-robust cnns?</title><link>http://peijiechen.fyi/project/xai_robustness/</link><pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate><guid>http://peijiechen.fyi/project/xai_robustness/</guid><description>&lt;h1 id="how-explainable-are-adversarially-robust-cnns">How explainable are adversarially-robust cnns?&lt;/h1>
&lt;h3 id="abstract">Abstract&lt;/h3>
&lt;p>Three important criteria of existing convolutional neural networks (CNNs) are (1) test-set accuracy; (2) out-of-distribution accuracy; and (3) explainability. While these criteria have been studied independently, their relationship is unknown. For example, do CNNs that have a stronger out-of-distribution performance have also stronger explainability? Furthermore, most prior feature-importance studies only evaluate methods on 2-3 common vanilla ImageNet-trained CNNs, leaving it unknown how these methods generalize to CNNs of other architectures and training algorithms. Here, we perform the first, large-scale evaluation of the relations of the three criteria using 9 feature-importance methods and 12 ImageNet-trained CNNs that are of 3 training algorithms and 5 CNN architectures. We find several important insights and recommendations for ML practitioners. First, adversarially robust CNNs have a higher explainability score on gradient-based attribution methods (but not CAM-based or perturbation-based methods). Second, AdvProp models, despite being highly accurate more than both vanilla and robust models alone, are not superior in explainability. Third, among 9 feature attribution methods tested, GradCAM and RISE are consistently the best methods. Fourth, Insertion and Deletion are biased towards vanilla and robust models respectively, due to their strong correlation with the confidence score distributions of a CNN. Fifth, we did not find a single CNN to be the best in all three criteria, which interestingly suggests that CNNs are harder to interpret as they become more accurate.&lt;/p></description></item><item><title>The shape and simplicity biases of adversarially robust imagenet-trained cnns</title><link>http://peijiechen.fyi/project/shape_texture/</link><pubDate>Sat, 01 Aug 2020 00:00:00 +0000</pubDate><guid>http://peijiechen.fyi/project/shape_texture/</guid><description>&lt;h1 id="the-shape-and-simplicity-biases-of-adversarially-robust-imagenet-trained-cnns">The shape and simplicity biases of adversarially robust imagenet-trained cnns&lt;/h1>
&lt;h3 id="abstract">Abstract&lt;/h3>
&lt;p>Increasingly more similarities between human vision and convolutional neural networks (CNNs) have been revealed in the past few years. Yet, vanilla CNNs often fall short in generalizing to adversarial or out-of-distribution (OOD) examples which humans demonstrate superior performance. Adversarial training is a leading learning algorithm for improving the robustness of CNNs on adversarial and OOD data; however, little is known about the properties, specifically the shape bias and internal features learned inside adversarially-robust CNNs. In this paper, we perform a thorough, systematic study to understand the shape bias and some internal mechanisms that enable the generalizability of AlexNet, GoogLeNet, and ResNet-50 models trained via adversarial training. We find that while standard ImageNet classifiers have a strong texture bias, their R counterparts rely heavily on shapes. Remarkably, adversarial training induces three simplicity biases into hidden neurons in the process of &amp;ldquo;robustifying&amp;rdquo; CNNs. That is, each convolutional neuron in R networks often changes to detecting (1) pixel-wise smoother patterns, i.e., a mechanism that blocks high-frequency noise from passing through the network; (2) more lower-level features i.e. textures and colors (instead of objects);and (3) fewer types of inputs. Our findings reveal the interesting mechanisms that made networks more adversarially robust and also explain some recent findings e.g., why R networks benefit from a much larger capacity (Xie et al. 2020) and can act as a strong image prior in image synthesis (Santurkar et al. 2019).&lt;/p></description></item><item><title>Layer-Wise Entropy Analysis and Visualization of Neurons Activation</title><link>http://peijiechen.fyi/project/activation_entropy/</link><pubDate>Thu, 27 Feb 2020 00:00:00 +0000</pubDate><guid>http://peijiechen.fyi/project/activation_entropy/</guid><description>&lt;h1 id="layer-wise-entropy-analysis-and-visualization-of-neurons-activation">Layer-Wise Entropy Analysis and Visualization of Neurons Activation&lt;/h1>
&lt;h3 id="abstract">Abstract&lt;/h3>
&lt;p>Understanding the inner working mechanism of deep neural networks (DNNs) is essential and important for researchers to design and improve the performance of DNNs. In this work, the entropy analysis is leveraged to study the neurons activation behavior of the fully connected layers of DNNs. The entropy of the activation patterns of each layer can provide an efficient performance metric for the evaluation of the network model accuracy. The study is conducted based on a well trained network model. The activation patterns of shallow and deep layers of the fully connected layers are analyzed by inputting the images of a single class. It is found that for the well trained deep neural networks model, the entropy of the neuron activation pattern is monotonically reduced with the depth of the layers. That is, the neuron activation patterns become more and more stable with the depth of the fully connected layers. The entropy pattern of the fully connected layers can also provide guidelines as to how many fully connected layers are needed to guarantee the accuracy of the model. The study in this work provides a new perspective on the analysis of DNN, which shows some interesting results.&lt;/p></description></item></channel></rss>