{"id":8988,"date":"2024-08-21T15:06:37","date_gmt":"2024-08-21T19:06:37","guid":{"rendered":"https:\/\/portfolios.cs.earlham.edu\/?page_id=8988"},"modified":"2025-05-14T20:25:22","modified_gmt":"2025-05-15T00:25:22","slug":"martin-olate-pinochet","status":"publish","type":"page","link":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/","title":{"rendered":"Martin Olate"},"content":{"rendered":"<h1>Facial Emotion Recognition (FER) with Bias Mitigation<\/h1>\n<div class=\"section\">\n<h2>Introduction<\/h2>\n<p>I am a Computer Science major at Earlham College with a strong interest in Artificial Intelligence and ethical applications of machine learning. My capstone project focuses on <strong>developing a Facial Emotion Recognition (FER) system<\/strong> with <strong>bias mitigation techniques<\/strong> to ensure fairness across demographic groups.<\/p>\n<\/div>\n<div class=\"section\">\n<h2>Abstract<\/h2>\n<p>Facial emotion recognition (FER) models often exhibit uneven performance across demographic groups, reinforcing existing social biases. This capstone quantifies and mitigates those disparities by building a pipeline that spans data cleaning through advanced bias-aware training. Using three benchmark datasets\u2014FER-2013, RAF-DB, and CK+\u2014we first trained a 48 \u00d7 48-pixel custom CNN baseline that reached 59.6. I then fine-tuned an ImageNet-pre-trained ResNet-50 and applied three complementary mitigation strategies: inverse-frequency sample re-weighting, focal-loss augmentation (\u03b3 = 2), and adversarial debiasing with a gradient-reversal race classifier. The best reweighted ResNet-50 improved overall accuracy to 66.5. The results demonstrate that simple weighting and adversarial objectives can substantially improve cross-group fairness without sacrificing overall performance, offering a practical recipe for bias-aware FER in real-time applications.<\/p>\n<\/div>\n<div class=\"section\">\n<h2>Graphical Abstract<\/h2>\n<\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"433\" src=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3-1024x433.png\" alt=\"\" class=\"wp-image-9946\" srcset=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3-1024x433.png 1024w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3-300x127.png 300w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3-768x325.png 768w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3.png 1338w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<div class=\"section\">\n<h2>Data Architecture Diagram<\/h2>\n<\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"695\" src=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/MartinOlate-ArchitectureDiagram-v3-1024x695.jpg\" alt=\"\" class=\"wp-image-9979\" srcset=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/MartinOlate-ArchitectureDiagram-v3-1024x695.jpg 1024w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/MartinOlate-ArchitectureDiagram-v3-300x203.jpg 300w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/MartinOlate-ArchitectureDiagram-v3-768x521.jpg 768w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/MartinOlate-ArchitectureDiagram-v3.jpg 1150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Technical Report<\/h2>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/technicalreportFinal.pdf\">technicalreportFinal<\/a><a href=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/technicalreportFinal.pdf\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n<div class=\"section\">\n<h2>Demo Video<\/h2>\n<p><iframe loading=\"lazy\" title=\"VideoCapstoneProject_MartinOlate\" width=\"940\" height=\"529\" src=\"https:\/\/www.youtube.com\/embed\/3sWZqvHJO6s?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<\/div>\n<div class=\"section\">\n<h2>Poster<\/h2>\n<\/div>\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/posterv2_MartinOlate-1024x682.png\" alt=\"\" class=\"wp-image-9983\" width=\"1226\" height=\"816\" srcset=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/posterv2_MartinOlate-1024x682.png 1024w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/posterv2_MartinOlate-300x200.png 300w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/posterv2_MartinOlate-768x512.png 768w, https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/posterv2_MartinOlate-1536x1024.png 1536w\" sizes=\"auto, (max-width: 1226px) 100vw, 1226px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Facial Emotion Recognition (FER) with Bias Mitigation Introduction I am a Computer Science major at Earlham College with a strong interest in Artificial Intelligence and ethical applications of machine learning. My capstone project focuses on developing a Facial Emotion Recognition &hellip; <a href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/\">Read More<\/a><\/p>\n","protected":false},"author":150,"featured_media":0,"parent":8534,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8988","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>Martin Olate - CS\/DS Student Portfolios<\/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:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Martin Olate - CS\/DS Student Portfolios\" \/>\n<meta property=\"og:description\" content=\"Facial Emotion Recognition (FER) with Bias Mitigation Introduction I am a Computer Science major at Earlham College with a strong interest in Artificial Intelligence and ethical applications of machine learning. My capstone project focuses on developing a Facial Emotion Recognition &hellip; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/\" \/>\n<meta property=\"og:site_name\" content=\"CS\/DS Student Portfolios\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-15T00:25:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1338\" \/>\n\t<meta property=\"og:image:height\" content=\"566\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/\",\"name\":\"Martin Olate - CS\\\/DS Student Portfolios\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/martin-cs-488-graphical-abstract-v3-1024x433.png\",\"datePublished\":\"2024-08-21T19:06:37+00:00\",\"dateModified\":\"2025-05-15T00:25:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/#primaryimage\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/martin-cs-488-graphical-abstract-v3.png\",\"contentUrl\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/martin-cs-488-graphical-abstract-v3.png\",\"width\":1338,\"height\":566},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/martin-olate-pinochet\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Students\",\"item\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"2024\",\"item\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"CS488\",\"item\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/index.php\\\/students\\\/2024-2\\\/cs488\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Martin Olate\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/#website\",\"url\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/\",\"name\":\"CS\\\/DS Student Portfolios\",\"description\":\"AI and ML, Image Classification, Arduino\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/portfolios.cs.earlham.edu\\\/?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":"Martin Olate - CS\/DS Student Portfolios","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:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/","og_locale":"en_US","og_type":"article","og_title":"Martin Olate - CS\/DS Student Portfolios","og_description":"Facial Emotion Recognition (FER) with Bias Mitigation Introduction I am a Computer Science major at Earlham College with a strong interest in Artificial Intelligence and ethical applications of machine learning. My capstone project focuses on developing a Facial Emotion Recognition &hellip; Read More","og_url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/","og_site_name":"CS\/DS Student Portfolios","article_modified_time":"2025-05-15T00:25:22+00:00","og_image":[{"width":1338,"height":566,"url":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/","url":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/","name":"Martin Olate - CS\/DS Student Portfolios","isPartOf":{"@id":"https:\/\/portfolios.cs.earlham.edu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/#primaryimage"},"image":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/#primaryimage"},"thumbnailUrl":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3-1024x433.png","datePublished":"2024-08-21T19:06:37+00:00","dateModified":"2025-05-15T00:25:22+00:00","breadcrumb":{"@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/#primaryimage","url":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3.png","contentUrl":"https:\/\/portfolios.cs.earlham.edu\/wp-content\/uploads\/2025\/05\/martin-cs-488-graphical-abstract-v3.png","width":1338,"height":566},{"@type":"BreadcrumbList","@id":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/martin-olate-pinochet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/portfolios.cs.earlham.edu\/"},{"@type":"ListItem","position":2,"name":"Students","item":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/"},{"@type":"ListItem","position":3,"name":"2024","item":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/"},{"@type":"ListItem","position":4,"name":"CS488","item":"https:\/\/portfolios.cs.earlham.edu\/index.php\/students\/2024-2\/cs488\/"},{"@type":"ListItem","position":5,"name":"Martin Olate"}]},{"@type":"WebSite","@id":"https:\/\/portfolios.cs.earlham.edu\/#website","url":"https:\/\/portfolios.cs.earlham.edu\/","name":"CS\/DS Student Portfolios","description":"AI and ML, Image Classification, Arduino","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/portfolios.cs.earlham.edu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"miolate21","author_link":"https:\/\/portfolios.cs.earlham.edu\/index.php\/author\/miolate21\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"Facial Emotion Recognition (FER) with Bias Mitigation Introduction I am a Computer Science major at Earlham College with a strong interest in Artificial Intelligence and ethical applications of machine learning. My capstone project focuses on developing a Facial Emotion Recognition &hellip; Read More","_links":{"self":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/pages\/8988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/users\/150"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/comments?post=8988"}],"version-history":[{"count":13,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/pages\/8988\/revisions"}],"predecessor-version":[{"id":10110,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/pages\/8988\/revisions\/10110"}],"up":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/pages\/8534"}],"wp:attachment":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/media?parent=8988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}