search
HomeTechnology peripheralsAIECCV2024 | Harvard team develops FairDomain to achieve fairness in cross-domain medical image segmentation and classification

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

Editor | ScienceAI

Author | Yu Tian Team

In the field of artificial intelligence (AI), especially medical AI, addressing fairness issues is crucial to ensuring fair medical outcomes.

Recently, efforts to enhance fairness have introduced new methods and datasets. However, the issue of fairness has been little explored in the context of domain transfer, even though clinics often rely on different imaging technologies (e.g., different retinal imaging modalities) for patient diagnosis.

This paper proposes FairDomain, which is the first systematic study of the fairness of algorithms under domain transfer. We test the state-of-the-art Domain Adaptation (DA) and Domain Generalization (DG) algorithms for medical image segmentation and classification tasks. , designed to understand how biases are transferred between different domains.

We also propose a new plug-and-play Fair Identity Attention (FIA) module to improve the fairness of various DA and DG algorithms by using a self-attention mechanism to adjust feature importance based on demographic attributes sex.

In addition, we have organized and published the first domain-shift dataset focusing on fairness, which contains medical segmentation and classification tasks of two paired imaging modalities of the same patient population to rigorously evaluate domain-shift scenarios. fairness. Excluding the confounding effects of differences in population distribution between source and target domains will allow for clearer quantification of domain transfer model performance.

Our extensive evaluation shows that the proposed FIA significantly enhances model fairness and performance under different demographics in all domain transfer tasks (i.e., DA and DG), outperforming state-of-the-art in both segmentation and classification tasks. There is a way.

Share the work of the ECCV 2024 final draft here "FairDomain: Achieving Fairness in Cross-Domain Medical Image Segmentation and Classification"

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

Article address: https://arxiv.org/abs/2407.08813

Code address: https://github.com/Harvard-Ophthalmology-AI-Lab/FairDomain

Dataset website: https://ophai.hms.harvard.edu/datasets/harvard-fairdomain20k

Dataset download link: https://drive.google.com/drive/folders/1huH93JVeXMj9rK6p1OZRub868vv0UK0O?usp=sharing

Harvard-Ophthalmology-AI-Lab is committed to providing high-quality fairness data sets and more fairness data sets Please click on the lab’s dataset homepage: https://ophai.hms.harvard.edu/datasets/

Background

In recent years, the advancement of deep learning in the field of medical imaging has greatly improved classification and segmentation tasks Effect. These technologies help improve diagnostic accuracy, simplify treatment planning, and ultimately improve patient health. However, an important challenge when deploying deep learning models in different medical settings is the algorithm's inherent bias and discrimination against specific demographic groups, which may undermine the fairness of medical diagnosis and treatment.

Some recent research has begun to solve the problem of algorithm bias in medical imaging and developed some methods to enhance the fairness of deep learning models. However, these methods usually assume that the data distribution remains unchanged during training and testing phases, which is often not true in actual medical scenarios.

For example, different primary care clinics and specialty hospitals may rely on different imaging technologies (e.g., different retinal imaging modalities) for diagnosis, resulting in significant domain shifts, which in turn affects model performance and fairness.

Therefore, in actual deployment, domain transfer must be considered and models that can maintain fairness in cross-domain scenarios must be learned.

Although domain adaptation and domain generalization have been extensively explored in the literature, these studies have mainly focused on improving model accuracy, ignoring the criticality of ensuring that models provide fair predictions across different population groups. Especially in the medical field, decision-making models directly affect human health and safety, so studying cross-domain fairness is of great significance.

However, there are currently only a few studies that have begun to explore the issue of cross-domain fairness, and these studies lack systematic and comprehensive investigation and usually only focus on domain adaptation or generalization, but rarely both at the same time. In addition, existing research mainly solves medical classification problems, while ignoring the equally important medical segmentation task under domain transfer.

To solve these problems, we introduce FairDomain, which is the first study in the field of medical imaging to systematically explore algorithm fairness under domain transfer.

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

We conduct extensive experiments with multiple state-of-the-art domain adaptation and generalization algorithms to evaluate their accuracy and fairness under different demographic attributes and understand how fairness transfers across different domains.

Our observations reveal that group performance differences between source and target domains are significantly exacerbated in different medical classification and segmentation tasks. This demonstrates the need to design fairness-oriented algorithms to effectively address this pressing issue.

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

To compensate for the shortcomings of existing bias mitigation efforts, we introduce a new versatile Fair Identity Attention (FIA) mechanism designed to be seamlessly integrated into various domain adaptation and generalization strategies , feature importance is coordinated with self-attention derived from demographic attributes (e.g., racial group) to promote fairness.

A key challenge in the development of the FairDomain benchmark is the lack of a medical imaging dataset that truly reflects domain shifts in real-world medical domains, which are often caused by different imaging technologies.

In existing medical datasets, differences in patient demographics between source and target domains introduce confounds, making it difficult to distinguish whether observed algorithmic biases are due to demographic distribution changes or inherent domain shifts.

To address this issue, we curated a unique dataset consisting of paired retinal fundus images of the same patient cohort, using two different imaging modalities (En face and SLO fundus images), specifically for analyzing domain transfer scenarios algorithmic bias.

Summary of our contributions:

1. For the first time, the algorithm fairness under domain transfer in medical imaging was systematically explored.

2. Fair identity attention technology is introduced to improve accuracy and fairness in domain adaptation and generalization.

3. Created a large-scale paired medical segmentation and classification dataset for fairness research, specifically studying fairness issues under domain transfer.

Data Collection and Quality Control

Subjects were selected from a large academic eye hospital at Harvard Medical School between 2010 and 2021. Two cross-domain tasks are explored in this study, namely medical segmentation and medical classification tasks. For the medical segmentation task, the data includes the following five types:

1. En-face fundus image scan;

2. SLO fundus image scan;

3. Patient demographic information;

4. Glaucoma diagnosis;

5. Cup and plate mask annotation.

Specifically, the pixel annotation of the cup-disc area is first acquired through the OCT device, and the OCT manufacturer's software segments the disc edge in 3D OCT into Bruch's membrane openings, and detects the cup edge as the internal limiting membrane (ILM) intersecting the plane The intersection point of minimum surface area.

Due to the high contrast of Bruch’s membrane openings and internal limiting membranes with the background, these boundaries can be easily segmented. Because the OCT manufacturer's software utilizes 3D information, cup-disc segmentation is generally reliable.

Considering the limited availability and high cost of OCT equipment in primary care, we propose a method to transfer 3D OCT annotations to 2D SLO fundus images to improve the efficiency of early glaucoma screening.

We use the NiftyReg tool to precisely align SLO fundus images with OCT-derived pixel annotations, generating a large number of high-quality SLO fundus mask annotations.

This process has been validated by a team of medical experts with an 80% registration success rate, streamlining the annotation process for wider use in primary care settings. We leverage these aligned and manually inspected annotations, combined with SLO and En face fundus images, to study the algorithmic fairness of segmentation models under domain shifting.

For the medical classification task, the data includes the following four types:

1. En-face fundus image scan;

2. SLO fundus image scan;

3. Patient demographic information;

4. Glaucoma diagnosis.

Subjects in the medical classification data set are divided into two categories: normal and glaucoma based on visual field test results.

Data Features

The medical segmentation dataset contains 10,000 samples from 10,000 subjects. We divide the data into a training set of 8000 samples and a test set of 2000 samples. The mean age of the patients was 60.3 ± 16.5 years.

The dataset contains six demographic attributes including age, gender, race, ethnicity, preferred language, and marital status. The demographic distribution is as follows:

Gender: 58.5% female, 41.5% male;

Race: 9.2% Asian, 14.7% black, 76.1% white;

Ethnicity: 90.6% non-Hispanic , Hispanic accounted for 3.7%, unknown accounted for 5.7%;

Preferred language: English accounted for 92.4%, Spanish accounted for 1.5%, other languages ​​​​accounted for 1%, unknown accounted for 5.1%;

Marital status: married or partnered 57.7%, single 27.1%, divorced 6.8%, legally separated 0.8%, widowed 5.2%, unknown 2.4%.

Similarly, the medical classification dataset contains 10,000 samples of 10,000 subjects with a mean age of 60.9 ± 16.1 years. We divide the data into a training set of 8000 samples and a test set of 2000 samples. The demographic distribution is as follows:

Gender: 72.5% female, 27.5% male;

Race: 8.7% Asian, 14.5% black, 76.8% white;

Ethnicity: 96.0% non-Hispanic , Hispanics account for 4.0%;

Preferred language: 92.6% English, 1.7% Spanish, 3.6% other languages, 2.1% unknown;

Marital status: 58.5% married or partnered, 26.1% single, 6.9% divorced, Legal separation accounted for 0.8%, widowed accounted for 1.9%, and unknown accounted for 5.8%.

These detailed demographic information provide a rich data foundation for in-depth research on fairness in cross-domain tasks.

Methods used to improve the fairness of cross-domain AI models Fair Identity Attention (FIA)

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

Problem definition

Domain Adaptation (DA) and Domain Generalization (DG) It is a key technique in the development of machine learning models and is designed to cope with the variability that may arise when a model is applied from one specific domain to another.

In the field of medical imaging, DA and DG techniques are critical for creating models that can robustly handle variability between different medical institutions, imaging devices, and patient populations. This paper aims to explore fairness dynamics in the context of domain transfer and develop methods to ensure that models remain fair and reliable when adapting or generalizing to new domains.

We aim to develop a method function f that mitigates the common fairness degradation when a model is transferred from the source domain to the target domain. Such exacerbations are primarily due to the potential for domain shifts to amplify existing biases in the dataset, particularly those related to demographic attributes such as gender, race, or ethnicity.

To address this problem, we propose an attention mechanism-based approach that aims to identify and exploit image features relevant to downstream tasks such as segmentation and classification while taking into account demographic attributes.

Figure 3 shows the architecture of the proposed fair identity attention module. This module first obtains the input image embedding E_i and attribute embedding E_a by processing the input image and input statistical attribute labels. These embeddings are then added to position embedding E_p. The detailed calculation formula is as follows:

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

By calculating the dot product of query and key, we extract the similarity matrix related to the current feature attribute. The dot product of this matrix and value is then used to extract features that are significant in downstream tasks for each feature attribute. This process is represented by the following formula:

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

where D is a scaling factor to avoid excessively large values ​​in the softmax function.

Subsequently, a residual connection adds E_i to the output of attention to maintain the integrity of the input information. Finally, a normalization layer and a multi-layer perceptron (MLP) layer further extract features. After another residual operation on the outputs of these two layers, we get the final output of the fair attention module.

The Fair Identity Attention Mechanism is a powerful and versatile tool designed to improve model performance while solving fairness issues. By explicitly accounting for demographic attributes such as gender, race, or ethnicity, it ensures that learned representations do not inadvertently amplify biases present in the data.

Its architecture allows it to be seamlessly integrated into any existing network as a plug-in component. This modular nature enables researchers and practitioners to integrate fair identity attention into their models without requiring extensive modifications to the underlying architecture.

Therefore, the fair identity attention module not only helps improve model accuracy and fairness in segmentation and classification tasks, but also promotes the implementation of trustworthy AI by promoting fair treatment of different groups in the data set.

Experiments

Algorithmic fairness in domain transfer

In our experiments, we first analyze fairness in the context of domain transfer, specifically focusing on the cup and plate segmentation task. Cup-to-disc segmentation refers to the process of accurately delineating the optic cup and disc in fundus images, which is critical for calculating the cup-to-disc ratio (CDR), a key parameter in assessing glaucoma progression and risk.

This task is particularly important in the field of medical imaging, especially when diagnosing and managing eye diseases such as glaucoma. Since the optic cup is an important subregion of the optic disc, we reframe the segmentation task as cup and rim (the tissue region between the optic cup and optic disc rim) segmentation to avoid errors due to the large overlap between the optic cup and the optic disc. Resulting in performance distortion.

We studied fairness performance across three different demographics (gender, race and ethnicity) in two different areas: En face fundus images acquired from optical coherence tomography (OCT) and Scanning laser fundus image (SLO).

In subsequent experiments, we selected the En face fundus image as the source domain and the SLO fundus image as the target domain. The reason for this is that compared to SLO fundus images, En face fundus images are more common in specialist eye care settings and therefore the availability of the data is significantly higher.

したがって、ソース ドメインとして En face 眼底画像を使用し、ターゲット ドメインとして SLO 眼底画像を使用することを選択します。分類タスクでは、これら 2 つのドメインの眼底画像をソース ドメインとターゲット ドメインとして使用し、正常と緑内障の 2 つのカテゴリに分類します。

評価メトリクス

Dice メトリクスと IoU メトリクスを使用してセグメンテーションのパフォーマンスを評価し、AUC を使用して分類タスクのパフォーマンスを評価します。これらの従来のセグメンテーションおよび分類メトリクスは、モデルのパフォーマンスを反映するものではありますが、本質的には人口統計グループ間の公平性を考慮していません。

医療画像におけるモデルのパフォーマンスと公平性の間の潜在的なトレードオフに対処するために、新しい ESP (Equity Scaled Performance) メトリクスを使用して、セグメンテーションおよび分類タスクのパフォーマンスと公平性を評価します。

{Dice,IoU, AUC, .}M∈{Dice,IoU,AUC,...} の ∈{Dice,IoU,AUC,...}M をセグメンテーションまたは分類インデックスに適した一般的なパフォーマンスとします。 。従来の評価では、人口統計上のアイデンティティ属性が無視されることが多く、そのため重要な公平性評価が欠落しています。公平性を組み込むために、まずパフォーマンスの差 Δ を計算します。これは、全体的なパフォーマンスからの各人口統計グループの指標の集合的な偏差として定義され、次のように定式化されます:

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

グループ間のパフォーマンスの公平性が達成されると、Δ はゼロに近づきます。 、最小の差を反映します。次に、ESP メトリクスは次のように定式化できます:

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

この統一メトリクスは、深層学習モデルを包括的に評価するのに役立ち、その精度 (Dice、IoU、AUC などの測定によるなど) だけでなく、また、人口グループ間の異なる公平性におけるパフォーマンスについても調査しました。

ドメインシフトでのカップリムセグメンテーション結果

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

ドメインシフトでの緑内障分類結果

ECCV2024 | 哈佛团队开发FairDomain,实现跨域医学图像分割和分类中的公平性

概要

この記事は人工知能(特に医療)に焦点を当てていますAI における公平性の問題)は、公平な医療を実現するための鍵となります。

クリニックは異なる画像技術を使用している可能性があるため、ドメイン転送の公平性の問題はほとんど解明されていないままです。私たちの研究では、医療のセグメント化と分類という 2 つの一般的なタスクを含む、ドメインの適応と一般化を含む、ドメイン転送タスクにおけるアルゴリズムの公平性に関する包括的な研究である FairDomain を紹介しています。

私たちは、ドメイン転送タスクの公平性を強化するためのアテンション メカニズムを通じて、人口統計的属性に基づく特徴の相関関係を学習するための、新しいプラグ アンド プレイの Fair Identity Attendance (FIA) モジュールを提案します。

また、モデルの公平性に対する人口統計分布の変化の交絡的な影響を排除するために、同じ患者コホートの 2 つのペアのイメージング画像を含む、公平性に焦点を当てた最初のクロスドメイン データセットも作成しました。これにより、モデルの公平性に対するドメイン移転の影響を正確に評価できるようになります。

私たちの公平なアイデンティティ アテンション モデルは、既存のドメイン適応および一般化手法を改善し、公平性を念頭に置いてモデルのパフォーマンスを向上させることができます。

注: カバー画像は AI によって生成されます。

The above is the detailed content of ECCV2024 | Harvard team develops FairDomain to achieve fairness in cross-domain medical image segmentation and classification. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Can't use ChatGPT! Explaining the causes and solutions that can be tested immediately [Latest 2025]Can't use ChatGPT! Explaining the causes and solutions that can be tested immediately [Latest 2025]May 14, 2025 am 05:04 AM

ChatGPT is not accessible? This article provides a variety of practical solutions! Many users may encounter problems such as inaccessibility or slow response when using ChatGPT on a daily basis. This article will guide you to solve these problems step by step based on different situations. Causes of ChatGPT's inaccessibility and preliminary troubleshooting First, we need to determine whether the problem lies in the OpenAI server side, or the user's own network or device problems. Please follow the steps below to troubleshoot: Step 1: Check the official status of OpenAI Visit the OpenAI Status page (status.openai.com) to see if the ChatGPT service is running normally. If a red or yellow alarm is displayed, it means Open

Calculating The Risk Of ASI Starts With Human MindsCalculating The Risk Of ASI Starts With Human MindsMay 14, 2025 am 05:02 AM

On 10 May 2025, MIT physicist Max Tegmark told The Guardian that AI labs should emulate Oppenheimer’s Trinity-test calculus before releasing Artificial Super-Intelligence. “My assessment is that the 'Compton constant', the probability that a race to

An easy-to-understand explanation of how to write and compose lyrics and recommended tools in ChatGPTAn easy-to-understand explanation of how to write and compose lyrics and recommended tools in ChatGPTMay 14, 2025 am 05:01 AM

AI music creation technology is changing with each passing day. This article will use AI models such as ChatGPT as an example to explain in detail how to use AI to assist music creation, and explain it with actual cases. We will introduce how to create music through SunoAI, AI jukebox on Hugging Face, and Python's Music21 library. Through these technologies, everyone can easily create original music. However, it should be noted that the copyright issue of AI-generated content cannot be ignored, and you must be cautious when using it. Let’s explore the infinite possibilities of AI in the music field together! OpenAI's latest AI agent "OpenAI Deep Research" introduces: [ChatGPT]Ope

What is ChatGPT-4? A thorough explanation of what you can do, the pricing, and the differences from GPT-3.5!What is ChatGPT-4? A thorough explanation of what you can do, the pricing, and the differences from GPT-3.5!May 14, 2025 am 05:00 AM

The emergence of ChatGPT-4 has greatly expanded the possibility of AI applications. Compared with GPT-3.5, ChatGPT-4 has significantly improved. It has powerful context comprehension capabilities and can also recognize and generate images. It is a universal AI assistant. It has shown great potential in many fields such as improving business efficiency and assisting creation. However, at the same time, we must also pay attention to the precautions in its use. This article will explain the characteristics of ChatGPT-4 in detail and introduce effective usage methods for different scenarios. The article contains skills to make full use of the latest AI technologies, please refer to it. OpenAI's latest AI agent, please click the link below for details of "OpenAI Deep Research"

Explaining how to use the ChatGPT app! Japanese support and voice conversation functionExplaining how to use the ChatGPT app! Japanese support and voice conversation functionMay 14, 2025 am 04:59 AM

ChatGPT App: Unleash your creativity with the AI ​​assistant! Beginner's Guide The ChatGPT app is an innovative AI assistant that handles a wide range of tasks, including writing, translation, and question answering. It is a tool with endless possibilities that is useful for creative activities and information gathering. In this article, we will explain in an easy-to-understand way for beginners, from how to install the ChatGPT smartphone app, to the features unique to apps such as voice input functions and plugins, as well as the points to keep in mind when using the app. We'll also be taking a closer look at plugin restrictions and device-to-device configuration synchronization

How do I use the Chinese version of ChatGPT? Explanation of registration procedures and feesHow do I use the Chinese version of ChatGPT? Explanation of registration procedures and feesMay 14, 2025 am 04:56 AM

ChatGPT Chinese version: Unlock new experience of Chinese AI dialogue ChatGPT is popular all over the world, did you know it also offers a Chinese version? This powerful AI tool not only supports daily conversations, but also handles professional content and is compatible with Simplified and Traditional Chinese. Whether it is a user in China or a friend who is learning Chinese, you can benefit from it. This article will introduce in detail how to use ChatGPT Chinese version, including account settings, Chinese prompt word input, filter use, and selection of different packages, and analyze potential risks and response strategies. In addition, we will also compare ChatGPT Chinese version with other Chinese AI tools to help you better understand its advantages and application scenarios. OpenAI's latest AI intelligence

5 AI Agent Myths You Need To Stop Believing Now5 AI Agent Myths You Need To Stop Believing NowMay 14, 2025 am 04:54 AM

These can be thought of as the next leap forward in the field of generative AI, which gave us ChatGPT and other large-language-model chatbots. Rather than simply answering questions or generating information, they can take action on our behalf, inter

An easy-to-understand explanation of the illegality of creating and managing multiple accounts using ChatGPTAn easy-to-understand explanation of the illegality of creating and managing multiple accounts using ChatGPTMay 14, 2025 am 04:50 AM

Efficient multiple account management techniques using ChatGPT | A thorough explanation of how to use business and private life! ChatGPT is used in a variety of situations, but some people may be worried about managing multiple accounts. This article will explain in detail how to create multiple accounts for ChatGPT, what to do when using it, and how to operate it safely and efficiently. We also cover important points such as the difference in business and private use, and complying with OpenAI's terms of use, and provide a guide to help you safely utilize multiple accounts. OpenAI

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use