{"id":39,"date":"2025-05-09T20:23:43","date_gmt":"2025-05-09T20:23:43","guid":{"rendered":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/?page_id=39"},"modified":"2025-12-11T06:36:23","modified_gmt":"2025-12-11T06:36:23","slug":"method","status":"publish","type":"page","link":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/","title":{"rendered":"Method"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"294\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.51.31\u202fPM-1024x294.png\" alt=\"\" class=\"wp-image-91\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.51.31\u202fPM-1024x294.png 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.51.31\u202fPM-300x86.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.51.31\u202fPM-768x220.png 768w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.51.31\u202fPM.png 1500w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Figure 1. Method Overview<\/figcaption><\/figure>\n\n\n\n<p>Our method begins by defining the target attribute through the construction of two sets of diverse prompts that describe the attribute in varying contexts. These sentences are then encoded using the CLIP text encoder to obtain the corresponding embeddings, as illustrated in Figure 2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.23.29\u202fPM-1024x344.png\" alt=\"\" class=\"wp-image-92\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.23.29\u202fPM-1024x344.png 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.23.29\u202fPM-300x101.png 300w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.23.29\u202fPM-768x258.png 768w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.23.29\u202fPM.png 1496w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Figure 2. Discovering Target and Nuisance subspaces<\/figcaption><\/figure>\n\n\n\n<p>Leveraging the discovered subspaces, we decompose  each image into target and nuisance variables as shown in Figure 3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"1024\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.54.34\u202fPM-516x1024.png\" alt=\"\" class=\"wp-image-94\" style=\"aspect-ratio:0.5039162338197708;width:255px;height:auto\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.54.34\u202fPM-516x1024.png 516w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.54.34\u202fPM-151x300.png 151w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/05\/Screenshot-2025-05-09-at-5.54.34\u202fPM.png 552w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><figcaption class=\"wp-element-caption\">Figure 3. Debiasing using discovered Target and Nuisance Spaces<\/figcaption><\/figure>\n\n\n\n<p>To construct an unbiased embedding set of an image dataset, for each class, we uniformly sample embeddings. This process effectively marginalizes the nuisance attributes by decoupling the selection of target and nuisance attributes, ensuring that the context information is sampled independently of the target variable. We construct a pairwise difference matrix and perform Singular Value Decomposition on that, to obtain top k features, which forms a subspace useful for classification and the orthogonal subspace forms the bias subspace. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"299\" src=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-1024x299.jpg\" alt=\"\" class=\"wp-image-112\" srcset=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-1024x299.jpg 1024w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-300x88.jpg 300w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-768x225.jpg 768w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-1536x449.jpg 1536w, https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-2048x599.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Figure 4. Final Model Pipeline<\/figcaption><\/figure>\n\n\n\n<p>Figure 4. shows two approaches for leveraging the balanced embedding set produced by NMS. The first approach (A) generates a balanced dataset using unCLIP, allowing model retraining on synthetic images to reduce bias. The second approach (B) learns a linear mapping from CLIP embeddings to the neural network feature space, enabling bias mitigation directly at the feature level without data generation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our method begins by defining the target attribute through the construction of two sets of diverse prompts that describe the attribute in varying contexts. These sentences are then encoded using the CLIP text encoder to obtain the corresponding embeddings, as illustrated in Figure 2. Leveraging the discovered subspaces, we decompose each image into target and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Method&#8221;<\/span><\/a><\/p>\n","protected":false},"author":243,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-39","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>Method - Debiasing vision datasets<\/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\/2025team12-1\/method\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Method - Debiasing vision datasets\" \/>\n<meta property=\"og:description\" content=\"Our method begins by defining the target attribute through the construction of two sets of diverse prompts that describe the attribute in varying contexts. These sentences are then encoded using the CLIP text encoder to obtain the corresponding embeddings, as illustrated in Figure 2. Leveraging the discovered subspaces, we decompose each image into target and &hellip; Continue reading &quot;Method&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/\" \/>\n<meta property=\"og:site_name\" content=\"Debiasing vision datasets\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-11T06:36:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-1024x299.jpg\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/\",\"url\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/\",\"name\":\"Method - Debiasing vision datasets\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/wp-content\\\/uploads\\\/sites\\\/128\\\/2025\\\/12\\\/usage-1024x299.jpg\",\"datePublished\":\"2025-05-09T20:23:43+00:00\",\"dateModified\":\"2025-12-11T06:36:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/wp-content\\\/uploads\\\/sites\\\/128\\\/2025\\\/12\\\/usage-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/wp-content\\\/uploads\\\/sites\\\/128\\\/2025\\\/12\\\/usage-scaled.jpg\",\"width\":2560,\"height\":748},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/method\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Method\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/#website\",\"url\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/\",\"name\":\"Debiasing vision datasets\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mscvprojects.ri.cmu.edu\\\/2025team12-1\\\/?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":"Method - Debiasing vision datasets","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\/2025team12-1\/method\/","og_locale":"en_US","og_type":"article","og_title":"Method - Debiasing vision datasets","og_description":"Our method begins by defining the target attribute through the construction of two sets of diverse prompts that describe the attribute in varying contexts. These sentences are then encoded using the CLIP text encoder to obtain the corresponding embeddings, as illustrated in Figure 2. Leveraging the discovered subspaces, we decompose each image into target and &hellip; Continue reading \"Method\"","og_url":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/","og_site_name":"Debiasing vision datasets","article_modified_time":"2025-12-11T06:36:23+00:00","og_image":[{"url":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-1024x299.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/","url":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/","name":"Method - Debiasing vision datasets","isPartOf":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/#primaryimage"},"image":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/#primaryimage"},"thumbnailUrl":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-1024x299.jpg","datePublished":"2025-05-09T20:23:43+00:00","dateModified":"2025-12-11T06:36:23+00:00","breadcrumb":{"@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/#primaryimage","url":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-scaled.jpg","contentUrl":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-content\/uploads\/sites\/128\/2025\/12\/usage-scaled.jpg","width":2560,"height":748},{"@type":"BreadcrumbList","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/method\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/"},{"@type":"ListItem","position":2,"name":"Method"}]},{"@type":"WebSite","@id":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/#website","url":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/","name":"Debiasing vision datasets","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/?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\/2025team12-1\/wp-json\/wp\/v2\/pages\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-json\/wp\/v2\/users\/243"}],"replies":[{"embeddable":true,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":5,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-json\/wp\/v2\/pages\/39\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-json\/wp\/v2\/pages\/39\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/mscvprojects.ri.cmu.edu\/2025team12-1\/wp-json\/wp\/v2\/media?parent=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}