{"id":42,"date":"2024-04-30T21:21:44","date_gmt":"2024-04-30T21:21:44","guid":{"rendered":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/?page_id=42"},"modified":"2024-12-11T08:11:34","modified_gmt":"2024-12-11T08:11:34","slug":"overview-2","status":"publish","type":"page","link":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/","title":{"rendered":"Project"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Motivation:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Many powerful machine learning models, especially deep learning models, are complex and operate like black boxes. This makes it difficult to understand how they arrive at their decisions.<\/li>\n\n\n\n<li>Without interpretability, users can&#8217;t trust the model&#8217;s predictions. This is crucial in areas like finance, healthcare, autonomous driving, or criminal justice, where model decisions can have significant consequences<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"862\" height=\"384\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor.png\" alt=\"\" class=\"wp-image-25\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor.png 862w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor-300x134.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor-768x342.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 1.: Deep learning for tumor classification<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"394\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/self_driving.png\" alt=\"\" class=\"wp-image-26\" style=\"width:188px;height:auto\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/self_driving.png 532w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/self_driving-300x222.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><figcaption class=\"wp-element-caption\">Fig. 2.: Autonomous  Driving algorithms<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n<p align=\"justify\">Interpretability and counterfactual explanations can help users understand the model&#8217;s reasoning and potentially challenge its decisions if necessary. This can improve user trust and acceptance of machine learning models.<\/p>\n\n\n<p class=\"has-large-font-size\"><strong>Problem Statement:<\/strong><\/p>\n\n\n\n<p>The main aim of this work is  finding the relevant feautres for a classifier that help it make its decision.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"313\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/classification-1024x313.png\" alt=\"\" class=\"wp-image-29\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/classification-1024x313.png 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/classification-300x92.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/classification-768x234.png 768w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/classification.png 1500w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 3: Finding relevant features<\/figcaption><\/figure>\n\n\n<p align=\"justify\">In the above figure (Fig 3), we can see, that just changing one feature changes its decision, which indicates that BMI is quite a relevant feature for Stroke prediction.\u00a0 In our project, we focus on getting such features but instead of tabular data, we aim for images.\u00a0<\/p>\n<p align=\"justify\">In the image below (Fig. 4), in the first 2 images from the left, we can see when some changes in the dogs appearance like its shade and increased hair length are made, the dog breed classification predicts it as golden retriever instead of Chesapeake Bay , however, when it is made a bit short and smoother it predicts it as a Labrador. Such images generated are called Counterfactual explanations.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"489\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/dogs-1024x489.png\" alt=\"\" class=\"wp-image-30\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/dogs-1024x489.png 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/dogs-300x143.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/dogs-768x367.png 768w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/dogs.png 1034w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 4: Counterfactual example for dog breeds [4]<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>So if we define Counterfactual Explanation in a bit formal way:<\/p>\n\n\n<p align=\"justify\">For a given image that a classifier classifies as \u201cc\u201d, a <strong>Counterfactual Explanation<\/strong> would have a small change over I, so that now with the small change the classifier would classify it as some other class.<\/p>\n\n\n<p><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Counterfactual Explanation \u2260 Adversarial Example<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Counterfactual examples\/Visual counterfacts need to be understandable, whereas adversarial examples mostly have noise invisible to the human eye.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Counterfactual explanations seek to reveal the learned correlations related to the model\u2019s decisions.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"334\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/emoji.png\" alt=\"\" class=\"wp-image-31\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/emoji.png 710w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/emoji-300x141.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><figcaption class=\"wp-element-caption\">Fig. 5: Counterfactual example vs Adversarial Examples<\/figcaption><\/figure>\n\n\n<p align=\"justify\">In the above image (Fig. 5), we can see that for a non smiley emoji, a CE would be a change in its lips, so that it gets predicted as a smiley emoji. However, an adversarial example would still look the same, but be predicted as smiley emoji.<\/p>\n\n\n<p class=\"has-large-font-size\"><strong>Related Works:<\/strong><\/p>\n\n\n<p align=\"justify\">One approach [1], attempts to generate CE, using a feature extractor as seen in following image (Fig. 6), where it extracts features from an image of a given class and of an image from another class which we want our original image to be classified as. Then using multiple sampling strategies, the smaller chunks of the features latents are then swapped which are then fed to the classifier. They try to keep these swaps to a minimum and keep on swapping until the classifier\u2019s prediction changes.<\/p>\n<p align=\"justify\">\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"416\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/Feature_extractor.png\" alt=\"\" class=\"wp-image-32\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/Feature_extractor.png 922w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/Feature_extractor-300x135.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/Feature_extractor-768x347.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 6: Counterfactual example generation using feature extractor [1]<\/figcaption><\/figure>\n\n\n\n<p style=\"font-size:20px\"><br><strong><br><\/strong><br><strong>Limitations:<\/strong><\/p>\n\n\n<p align=\"justify\">1. Requires image instances of the other class.<\/p>\n<p>2. Limited by the features present in the other instance.<\/p>\n<p>3. Requires multiple iterations for swapping features till the decision changes.<\/p>\n\n\n<p><\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Diffusion<\/strong>:<\/p>\n\n\n<p style=\"font-size: 17px\" align=\"justify\">To overcome some of these limitations, people started using Generative models to approach this problem of counteract generation. One of the leading generative method is diffusion. Diffusion models can not only generate from scratch but also modify a given image as desired [2,3]<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"322\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/diffusion-1024x322.png\" alt=\"\" class=\"wp-image-34\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/diffusion-1024x322.png 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/diffusion-300x94.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/diffusion-768x242.png 768w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/diffusion-1536x483.png 1536w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/diffusion.png 1844w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 7: Image generation using DIffusion model<\/figcaption><\/figure>\n\n\n<p align=\"justify\">In the above image (Fig. 7), we can see the model receives an image to which it adds noise step by step. It uses a conditioning variable to modify the images as desired. Here the conditioning can be from text, image, semantic maps, etc. Then it further removes this noise step by step in its reverse diffusion process, finally generates the desired image.<\/p>\n\n\n<h1 class=\"wp-block-heading has-large-font-size\"><strong>Diffusion Models for Counterfactual Generation:<\/strong><\/h1>\n\n\n<p align=\"justify\">Since diffusion models have a probabilistic nature it offers diverse set of images. This stochasticity also helps us get multiple explanations that may better describe a classifier\u2019s error mode.<\/p>\n<p align=\"justify\">Thus here we can see a diffusion being used to generate a Counterfactual explanation in the following image (Fig. 8) as in [5]. In this image, we can see an input image of a non-smiling face and the aim is to modify it so that with small changes, it can be predicted as a smiling face. So in this approach, a diffusion model adds noise and denoises the image, where we can see a focused image for each diffusion step. In this, the unconditional DDPM diffusion generation is used, where the image that is being generated is modified based on 2 losses : 1. Loss from the classifier 2. A perceptual loss. The loss from the classifier is based on the other class that we want this image to be predicted as. The perceptual loss ensures that the generated image is as similar to the original image as possible to avoid extreme changes in the image.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/05\/CE_diffusion-1-1024x410.png\" alt=\"\" class=\"wp-image-74\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/05\/CE_diffusion-1-1024x410.png 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/05\/CE_diffusion-1-300x120.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/05\/CE_diffusion-1-768x307.png 768w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/05\/CE_diffusion-1.png 1514w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 8: Counterfactual example generation using diffusion models [5]<\/figcaption><\/figure>\n\n\n<p align=\"justify\">So at the end of the generation, we see an image which has its lips more in a smiley style, which helps it get classified as smiley face.\u00a0<\/p>\n\n\n<p class=\"has-medium-font-size\"><strong>Limitations:<\/strong><\/p>\n\n\n<p align=\"justify\">In all of the above work, there were no explicit steps taken to ensure that it doesn\u2019t generate an adversarial example. Thus they are restricted to adversarially robust classifiers. Also, this whole process requires multiple iterations of the reverse process making it quite slow.<\/p>\n\n\n<ul class=\"wp-block-list\">\n<li>Diffusion models generate good and diverse Counterfactual Explanations.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>We would be working on their efficiency as it requires multiple iterations of the reverse process to create one sample, making it a very slow process.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>We would also be working on building a method that need not rely on a robust model during the creation of CEs and still avoid generating adversarial examples. Thus enabling us to create CEs for any type of classifier model.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Our method using Diffusion for Counterfactual Explanation (CFE): <\/strong><\/p>\n\n\n\n<p align=\"justify\">Changing description at different steps &amp; onwards can have varying effects.\u00a0Totally replacing a description i.e. a hard switch can have extreme effects. Instead, a soft combination can help transition smoothly and generate more aligned image.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"916\" height=\"106\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/eq1-1.png\" alt=\"\" class=\"wp-image-287\" style=\"width:583px;height:auto\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/eq1-1.png 916w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/eq1-1-300x35.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/eq1-1-768x89.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Eq.1: Modified Description<\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p align=\"justify\"> We can see in Fig 9, that changing description at different steps &amp; onwards can have varying effects, where different prompts even when the diffusion process is being run with the same seed can generate very different images.\u00a0\n\nTotally replacing a description i.e. a hard switch can have extreme effects. Instead a soft combination can help transition smoothly and generate more aligned image.[6]<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"485\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image1-1-1024x485.png\" alt=\"\" class=\"wp-image-290\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image1-1-1024x485.png 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image1-1-300x142.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image1-1-768x364.png 768w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image1-1.png 1106w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 9: CFE Generation<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n\n<p class=\"has-large-font-size\"><strong>Guiding conditions for our method: <\/strong><\/p>\n\n\n\n<p align=\"justify\">1. Perceptual Similarity: To keep the generated image close to original image. <br> \n\n2. Classification change:: To guide the image to be classified as the desired class. <br> \n\n3. Adversarial Robustness: To avoid invisible changes that can change the classification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"572\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/Screenshot-2024-12-08-at-14.46.44.png\" alt=\"\" class=\"wp-image-293\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/Screenshot-2024-12-08-at-14.46.44.png 902w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/Screenshot-2024-12-08-at-14.46.44-300x190.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/Screenshot-2024-12-08-at-14.46.44-768x487.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Fig. 10: Magnified visual of feature change<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Positive Results: <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"472\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image3-1.png\" alt=\"\" class=\"wp-image-294\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image3-1.png 734w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image3-1-300x193.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><figcaption class=\"wp-element-caption\">Fig. 11: Our generated examples and their desired counterfactuals<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Negative Results: <\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"342\" height=\"474\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image4-1.png\" alt=\"\" class=\"wp-image-295\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image4-1.png 342w, https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/12\/image4-1-216x300.png 216w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><figcaption class=\"wp-element-caption\">Fig. 12: Our generated examples with their unintended counterfactuals<\/figcaption><\/figure>\n<\/div>\n\n\n<li>Generating base image and CFE gives more control on the instance and class.<li>Since both images are generated from same model, the problem of difference in frequency domain is avoided.\n<li>Different models can be used to extend the variations and the method can be used with any field-specific diffusion model too and is not restricted to any particular diffusion method\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Conclusion and Future Works: <\/strong><\/p>\n\n\n\n<li>Improving the efficiency as it requires multiple iterations of the reverse process to create one sample, making it very slow.\n<li>Building a method that need not rely on a robust model during the creation of CFEs and still avoid generating adversarial examples.\n<li>Use it for downstream applications like causal relation or mutual interaction detection.\n\n\n\n<h1 class=\"wp-block-heading has-large-font-size\"><strong>References:<\/strong><\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Goyal, Y., Wu, Z., Ernst, J., Batra, D., Parikh, D., &amp; Lee, S. (2019, May). Counterfactual visual explanations. In International Conference on Machine Learning (pp. 2376-2384). PMLR.<\/li>\n\n\n\n<li>Ho, J., Jain, A., &amp; Abbeel, P. (2020). Denoising diffusion probabilistic models. Advances in neural information processing systems, 33, 6840-6851<\/li>\n\n\n\n<li>Rombach, Robin, et al. &#8220;High-resolution image synthesis with latent diffusion models.&#8221; Proceedings of the IEEE\/CVF conference on computer vision and pattern recognition. 2022.<\/li>\n\n\n\n<li>Augustin, M., Boreiko, V., Croce, F., &amp; Hein, M. (2022). Diffusion visual counterfactual explanations. Advances in Neural Information Processing Systems, 35, 364-377.<\/li>\n\n\n\n<li>Jeanneret, G., Simon, L., &amp; Jurie, F. (2022). Diffusion models for counterfactual explanations. In Proceedings of the Asian Conference on Computer Vision (pp. 858-876).<\/li>\n\n\n\n<li>Wu, Q., Liu, Y., Zhao, H., Kale, A., Bui, T., Yu, T., &#8230; &amp; Chang, S. (2023). Uncovering the disentanglement capability in text-to-image diffusion models. In <em>Proceedings of the IEEE\/CVF conference on computer vision and pattern recognition.<\/em><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Motivation: Interpretability and counterfactual explanations can help users understand the model&#8217;s reasoning and potentially challenge its decisions if necessary. This can improve user trust and acceptance of machine learning models. Problem Statement: The main aim of this work is finding the relevant feautres for a classifier that help it make its decision. In the above &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Project&#8221;<\/span><\/a><\/p>\n","protected":false},"author":211,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-42","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Project - MS Computer Vision Capstone | Team 10<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Project - MS Computer Vision Capstone | Team 10\" \/>\n<meta property=\"og:description\" content=\"Motivation: Interpretability and counterfactual explanations can help users understand the model&#8217;s reasoning and potentially challenge its decisions if necessary. This can improve user trust and acceptance of machine learning models. Problem Statement: The main aim of this work is finding the relevant feautres for a classifier that help it make its decision. In the above &hellip; Continue reading &quot;Project&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/\" \/>\n<meta property=\"og:site_name\" content=\"MS Computer Vision Capstone | Team 10\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-11T08:11:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/\",\"url\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/\",\"name\":\"Project - MS Computer Vision Capstone | Team 10\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/wp-content\\\/uploads\\\/sites\\\/108\\\/2024\\\/04\\\/tumor.png\",\"datePublished\":\"2024-04-30T21:21:44+00:00\",\"dateModified\":\"2024-12-11T08:11:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/wp-content\\\/uploads\\\/sites\\\/108\\\/2024\\\/04\\\/tumor.png\",\"contentUrl\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/wp-content\\\/uploads\\\/sites\\\/108\\\/2024\\\/04\\\/tumor.png\",\"width\":862,\"height\":384},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/overview-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Project\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/#website\",\"url\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/\",\"name\":\"Interpretability using Diffusion\",\"description\":\"\",\"alternateName\":\"iud\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2024team10\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Project - MS Computer Vision Capstone | Team 10","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/","og_locale":"en_US","og_type":"article","og_title":"Project - MS Computer Vision Capstone | Team 10","og_description":"Motivation: Interpretability and counterfactual explanations can help users understand the model&#8217;s reasoning and potentially challenge its decisions if necessary. This can improve user trust and acceptance of machine learning models. Problem Statement: The main aim of this work is finding the relevant feautres for a classifier that help it make its decision. In the above &hellip; Continue reading \"Project\"","og_url":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/","og_site_name":"MS Computer Vision Capstone | Team 10","article_modified_time":"2024-12-11T08:11:34+00:00","og_image":[{"url":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/","url":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/","name":"Project - MS Computer Vision Capstone | Team 10","isPartOf":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/#primaryimage"},"image":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/#primaryimage"},"thumbnailUrl":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor.png","datePublished":"2024-04-30T21:21:44+00:00","dateModified":"2024-12-11T08:11:34+00:00","breadcrumb":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/#primaryimage","url":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor.png","contentUrl":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-content\/uploads\/sites\/108\/2024\/04\/tumor.png","width":862,"height":384},{"@type":"BreadcrumbList","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/overview-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/"},{"@type":"ListItem","position":2,"name":"Project"}]},{"@type":"WebSite","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/#website","url":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/","name":"Interpretability using Diffusion","description":"","alternateName":"iud","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/pages\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/users\/211"}],"replies":[{"embeddable":true,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":16,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/pages\/42\/revisions"}],"predecessor-version":[{"id":302,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/pages\/42\/revisions\/302"}],"wp:attachment":[{"href":"https:\/\/mscvprojects.ri.cmu.edu\/2024team10\/wp-json\/wp\/v2\/media?parent=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}