1 of 48

When Evolutionary Computation Meets Trustworthy Artificial Intelligence

Xin Yao

School of Data Science, Lingnan University

Hong Kong SAR

2 of 48

Where is Lingnan University?

2

3 of 48

3

1. Trustworthy AI: What and Why

2. Fairer ML Through Multi-objective Evolutionary Learning

3. Multi-objective Feature Attribution Explanation

4. Concluding Remarks

Outline

4 of 48

4

1. Trustworthy AI: What and Why

2. Fairer ML Through Multi-objective Evolutionary Learning

3. Multi-objective Feature Attribution Explanation

4. Concluding Remarks

Outline

5 of 48

Trust, trustworthy systems and trustworthiness are not new words in science and engineering.

5

6 of 48

Six Attributes of Trustworthy Systems

In order to build trustworthy systems, we need to consider at least six attributes:

      • Resilience
      • Security
      • Privacy
      • Safety
      • Reliability
      • Availability

J. Li, B. Mao, Z. Liang, Z. Zhang, Q. Lin and X. Yao, "Trust and Trustworthiness: What They Are and How to Achieve Them," 2021 IEEE International Conference on Pervasive Computing and Communications Workshops and other Affiliated Events (PerCom Workshops), Kassel, Germany, 2021, pp. 711-717, doi: 10.1109/PerComWorkshops51409.2021.9430929.

6

7 of 48

Seven System Requirements of Trustworthy Systems

  • SysR0. The system will realize its intended business functions.
  • SysR1. Potential adverse conditions of the system are adequately analyzed and addressed by design. The system is able to guard against and withstand adversities in a continuously improving manner.
  • SysR2. Only those privileges and interfaces for operational purposes are kept in the system during the operation phase.
  • SysR3. The system is designed such that, when an incident occurs during operation, the issue can be reproduced, traceable for when, where, and by whom the vulnerability or defect was introduced, and resolved effectively within appropriate timeframes.
  • SysR4. The system should be built such that easy-to-exploit vulnerabilities have been identified and well eliminated or circumvented.
  • SysR5. The system should implement measures to control malicious code where relevant.
  • SysR6. The system will provide tamper resistance and detection measures.

J. Li, B. Mao, Z. Liang, Z. Zhang, Q. Lin and X. Yao, "Trust and Trustworthiness: What They Are and How to Achieve Them," 2021 IEEE International Conference on Pervasive Computing and Communications Workshops and other Affiliated Events (PerCom Workshops), Kassel, Germany, 2021, pp. 711-717, doi: 10.1109/PerComWorkshops51409.2021.9430929.

7

8 of 48

From Trustworthy Systems to Trustworthy AI

Trustworthy AI has been a hot topic recently.

  • Have trustworthy AI considered all six attributes and seven requirements?

  • Anything new in trustworthy AI that is not in trustworthy systems?

8

9 of 48

Examples of Trustworthy AI (I): Safety and Discrimination

  • In June 2016, a Tesla driver was killed in a collision in Florida with a tractor trailer while the vehicle was in "Autopilot" mode.
  • Microsoft’s AI chatting bot, Tay.ai ,was taken down because it became racist and sexist only less than a day after she joined Twitter.

9

10 of 48

Examples of Trustworthy AI (II): Robustness and Fairness

  • Criminals used AI-based software to mimic a CEO’s voice and demand a fraudulent transfer of $ 243,000.

  • The software used across the country to predict future criminals was biased against blacks.

10

11 of 48

Examples of Trustworthy AI (III): Accuracy and Equality

  • Google Photos app tags two black people as gorillas.
  • Amazon scraps secret AI recruiting tool that showed bias against women.

11

12 of 48

What Does Trustworthy AI Should Include?

  • There seem to be more requirements to consider in trustworthy AI.

  • Previous examples all seem to be related to ethics in a human society.

  • Ethics is an area that was not featured in traditional trustworthy systems.

12

13 of 48

What Does Trustworthy AI Should Include?

  • There seem to be more requirements to consider in trustworthy AI.

  • Previous examples all seem to be related to ethics in a human society.

  • Ethics is an area that was not featured in traditional trustworthy systems.

13

14 of 48

What Does Trustworthy AI Should Include?

  • There seem to be more requirements to consider in trustworthy AI.

  • Previous examples all seem to be related to ethics in a human society.

  • Ethics is an area that was not featured significantly in traditional trustworthy systems.

14

15 of 48

What Are Ethical Guidelines and Principles for AI?

In recent years, ethical issues related to AI have aroused widespread awareness and consideration among researchers, developers, users, enterprises, and governments.

15

Year

2015

2016

2017

2018

2019

2020

2021

No. of Documents (146)

2

7

25

53

31

24

4

To guide their strategies in developing, adopting, and embracing AI technologies, many organizations, including governments, companies, academic associations, and other national/international organizations, have established ethical frameworks or guidelines for the planning, development, production and usage of AI technology.

16 of 48

Ethical Guidelines and Principles for AI: Sources

Classification of AI ethical guidelines according to their sources.

16

17 of 48

Ethical Principles Identified in Existing Guidelines

17

Ethical principle

Number of�documents

Included codes/words

Transparency

107

Transparency, explainability, explicability, understandability, interpretability, communication, disclosure, showing

Fairness and Justice

107

Justice, fairness, consistency, inclusion, equality, equity, (non-) bias, (non-) discrimination, diversity, plurality, accessibility, reversibility, remedy, redress, challenge, access and distribution

Responsibility

100

Responsibility, accountability, liability, acting with integrity

Non-maleficence

81

Non-maleficence, security, safety, harm, protection, precaution, prevention, integrity (bodily or mental), non-subversion, reliability, robustness

Privacy

73

Privacy, personal or private information, data protection,

Beneficence

41

Benefits, beneficence, well-being, peace, social good, common good, non-violence

Freedom and Autonomy

34

Freedom, autonomy, consent, choice, self-determination, liberty, empowerment, human rights

Solidarity

20

Solidarity, social security, cohesion, inclusion, inclusiveness

Sustainability

19

Sustainability, environment, nature, energy, resources

Trust

14

Trust, trustworthiness, trustworthy

Dignity

13

Dignity

18 of 48

AI Ethics Is Hierarchical and Multi-dimensional

18

AI Ethics

Individual

Safety

Privacy & Data Protection

Freedom & Autonomy

Human Dignity

Group and Society

Fairness & Justice

Responsibility & Accountability

Transparency

Surveillance & Datafication

Controllability of AI

Democracy and Civil Rights

Job Replacement

Human Relationship

Environment and the Earth

Natural Resources

Energy

Environmental Protection

C. Huang Z. Zhang, B. Mao and X. Yao,“An Overview of Artificial Intelligence Ethics.”IEEE Transactions on Artificial Intelligence, vol. 4, no. 4, pp. 799-819, Aug. 2023, doi: 10.1109/TAI.2022.3194503.

19 of 48

Ethics and Trustworthiness in the Life Cycle of AI Systems

19

Stage of AI Lifecycle

Ethical Considerations Exist Along the Stage

Business Analysis

Transparency, Fairness (Does the designed AI product includes any variables, features, processes that are unreasonable, morally objectionable, or unjustifiable?), Responsibility & Accountability, Democracy & Civil Rights, Sustainability

Data Engineering

Privacy (How to assure the data security and keep the private and sensitive information included in data set?), Transparency (How to make data collection procedures transparent to consumers?), Fairness (Are data properly representative, relevant, accurate, and generalizable ?), Democracy & Civil Rights (How will you enable end users to control use of their data?)

ML Modeling

Transparency (Does the decision or inference process of the model can be understood ?), Safety (Accuracy, Reliability, Security, and Robustness of the model), Fairness (Are the model outputs show disparate results on different groups of people ?)

Model Deployment

Privacy (Make sure that private information cannot be re-identified through the deployed model), Safety (How to ensure the safety of the deployed model , such malicious modification and attack ? )

Operation &�Monitoring

Privacy (Privacy should be guaranteed during the operation & monitoring process), Fairness (Does the AI product has discriminatory or inequitable impacts on peoples they affect?), Democracy & Civil Rights (Do not infringe civil rights or the users)

Procedural Trustworthiness + Outcome Trustworthiness

20 of 48

Now that we know trustworthy AI a little, how can we enhance it?

20

21 of 48

Enhancing AI Trustworthiness

21

Major Approaches

    • Ethics by Design: develop ethical AI systems or agents, which can reason and act ethically according to ethical theories, by implementing or embedding ethics in AI.

    • Specific Technological Approaches: develop new technologies to eliminate or mitigate the shortcomings of current AI.

Technological Approaches

    • Guidelines
    • Standards
    • Legal approaches intend to regulate or govern the research, deployment, application, and other aspects of AI through legislation and regulation, with the goal of avoiding previously discussed ethical issues.

Non-technological Approaches

22 of 48

Specific Technological Approaches

The exiting work mainly focuses on some major issues and principles. Other issues and principles are rarely studied.

22

Principle

Representative Research Topics or Directions

Transparency

Explainable AI (XAI) or Interpretable AI

Fairness & Justice

Fair AI

Non-maleficence

Safe AI

Secure AI

Robust AI

Responsibility & Accountability

Responsible AI

Privacy

Confidential Computing

Differential Privacy

Federated or Distributed Learning

23 of 48

23

1. Trustworthy AI: What and Why

2. Fairer ML Through Multi-objective Evolutionary Learning

3. Multi-objective Feature Attribution Explanation

4. Concluding Remarks

Outline

24 of 48

Fair Machine Learning Is a Hot Research Topic

24

Search on Web of Science by using keys of “fairness and bias in artificial intelligence” or “algorithmic bias” or “algorithmic fairness” or “fairness-aware machine learning” or “fairness in machine learning”. (Accessed on Nov. 3, 2022)

25 of 48

Many Metrics Have Been Proposed to Measure Fairness

There are over 20 fairness metrics proposed so far [1].

25

[1] S. Verma and J. Rubin, “Fairness definitions explained,” in 2018 IEEE/ACM International Workshop on Software Fairness (FairWare), IEEE, 2018, pp. 1–7.

26 of 48

Fair Machine Learning Introduces Conflict

There are two inherent conflicts: (1) between model accuracy and fairness, and (2) among different fairness metrics.

26

(1) Conflict between accuracy and fairness

(2) Conflict among multiple fairness metrics

Image source: Figure 4 from [17] T. Speicher, H. Heidari, N. Grgic-Hlaca, K. P. Gummadi, A. Singla, A. Weller, and M. B. Zafarl, “A unified approach to quantifying algorithmic unfairness: Measuring individual &group unfairness via inequality indices,” in Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2018, pp. 2239–2248

dotted line: unfairness

solid line: accuracy

dotted line: individual unfairness

solid line: group unfairness

27 of 48

Key Research Question

How can we make machine learning fairer according to different fairness metrics without sacrificing accuracy too much?

27

28 of 48

Multi-objective Fair Machine Learning

Key Idea: Treating the model accuracy and different fairness metrics as separate objectives in multi-objective learning [1].

Two studies were carried out:

28

[1] Q. Zhang, J. Liu, Z. Zhang, J. Wen, B. Mao and X. Yao, "Mitigating Unfairness via Evolutionary Multi-objective Ensemble Learning," in IEEE Transactions on Evolutionary Computation, vol. 27, no. 4, pp. 848-862, Aug. 2023, doi: 10.1109/TEVC.2022.3209544.

      • Simultaneously optimize several fairness measures without sacrificing accuracy significantly
      • Provide a group of diverse models

      • Improve all fairness measures including those not used in model training
      • Generate an ensemble model combined from base models to balance accuracy and multiple fairness measures

Study 1

Study 2

29 of 48

Multi-objective Fairer Machine Learning Framework

29

Q. Zhang, J. Liu, Z. Zhang, J. Wen, B. Mao and X. Yao, "Mitigating Unfairness via Evolutionary Multi-objective Ensemble Learning," in IEEE Transactions on Evolutionary Computation, vol. 27, no. 4, pp. 848-862, Aug. 2023, doi: 10.1109/TEVC.2022.3209544.

Initial population

Model training

Evaluate each model in population using metrics

Select better offspring models to replace some models in the population

Mating selection

Reproduction strategy

Stop?

……

Model 1

Model 2

 

Offspring

Model training

Evaluate each model in offspring using metrics

New Model 1

New Model 2

 

……

Yes

No

Output models in the final population

30 of 48

Does the Idea Work?

  • Yes, it worked very well in comparison with the state-of-the-art when evaluated according to accuracy and multiple fairness metrics [1].
  • The learned model even performed well according to metrics that were not used during training.
  • We even provide a toolbox for practitioners to check and improve fairness of their machine learning models [2].

30

  1. Q. Zhang, J. Liu, Z. Zhang, J. Wen, B. Mao and X. Yao, "Mitigating Unfairness via Evolutionary Multi-objective Ensemble Learning," in IEEE Transactions on Evolutionary Computation, vol. 27, no. 4, pp. 848-862, Aug. 2023, doi: 10.1109/TEVC.2022.3209544.
  2. B. Yuan, S. Gui, Q. Zhang, Z. Wang, J. Wen, B. Mao, J. Liu and X. Yao, "FairerML: An Extensible Platform for Analysing, Visualising, and Mitigating Biases in Machine Learning," in IEEE Computational Intelligence Magazine, vol. 19, no. 2, pp. 129-141, May 2024, doi: 10.1109/MCI.2024.3364430.

31 of 48

Latest Progress: Fairness-Aware Multiobjective Evolutionary Learning

Instead of using a fixed set of objectives during, we can let the algorithm to decide dynamically the set of objectives used in each generation of multi-objective evolutionary learning [1].

31

  1. Q. Zhang, J. Liu and X. Yao, "Fairness-Aware Multiobjective Evolutionary Learning," in IEEE Transactions on Evolutionary Computation, doi: 10.1109/TEVC.2024.3430824. Published online on 18 July 2024.

32 of 48

32

1. Trustworthy AI: What and Why

2. Fairer ML Through Multi-objective Evolutionary Learning

3. Multi-objective Feature Attribution Explanation

4. Concluding Remarks

Outline

33 of 48

What Is Feature Attribution Explanation in XAI?

Local feature attribution explanation (FAE) describes how much each input feature contributes to the output of a model for a given data point.

33

FAE explains a tabular data point [1]

FAE explains an image data point [2]

[1] Ribeiro M T , Singh S , Guestrin C . "Why Should I Trust You?": Explaining the Predictions of Any Classifier[C]// Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Demonstrations. 2016.

[2] Lundberg S M, Lee S I. A unified approach to interpreting model predictions[C]//Proceedings of the 31st international conference on neural information processing systems. 2017: 4768-4777.

34 of 48

How to Evaluate Different Explanation Methods?

  •  

34

[1] Bhatt U , Weller A , Moura J . Evaluating and Aggregating Feature-based Model Explanations[C]// Twenty-Ninth International Joint Conference on Artificial Intelligence and Seventeenth Pacific Rim International Conference on Artificial Intelligence IJCAI-PRICAI-20. 2020.

35 of 48

Key Research Question

How can we find explanations that (a) balance tradeoff among different performance metrics, and (b) satisfy different explanation needs from different stakeholders?

35

36 of 48

Multi-Objective Feature Attribution Explanation (MOFAE)

Key Idea: Treating each evaluation metric as a separate objective in multi-objective feature attribution explanation.

36

Z. Wang, C. Huang, Y. Li and X. Yao, “Multi-objective Feature Attribution Explanation For Explainable Machine Learning,” ACM Transactions on Evolutionary Learning and Optimization, , Volume 4, Issue 1, Article No. 2, pp. 1–32. February 2024.. https://doi.org/10.1145/3617380.

37 of 48

Multi-Objective Feature Attribution Explanation (MOFAE): Framework

  •  

37

Initial population

 

 

 

Stop?

……

 

 

 

Offspring

 

 

 

 

……

Yes

No

Output final population

 

38 of 48

Does the Idea Work?

Yes, it worked well. We have answered positively the following three research questions in our study.

Q1. Do faithfulness, sensitivity, and complexity conflict with each other?

Q2. Can MOFAE simultaneously optimize these conflicting metrics and be competitive against existing state-of-the-art FAE methods?

Q3. Can our method find a set of explainable models (i.e., explanations) with different trade-offs among the objectives (i.e., metrics)?

38

Z. Wang, C. Huang, Y. Li and X. Yao, “Multi-objective Feature Attribution Explanation For Explainable Machine Learning,” ACM Transactions on Evolutionary Learning and Optimization, Volume 4, Issue 1, Article No. 2, pp. 1–32. February 2024. https://doi.org/10.1145/3617380.

39 of 48

Beyond FAE: A Roadmap for XAI

FAE is only a popular technique in XAI. There are more fundamental questions to be answered in XAI:

Explain to Whom, When, What and How? [1]

This question (actually questions) has not been fully answered by the existing literature!

39

[1] Z. Wang, C. Huang and X. Yao, “A Roadmap of Explainable Artificial Intelligence: Explain to Whom, When, What and How?,” ACM Transactions on Autonomous and Adaptive Systems, Volume 19, Issue 4, Article No. 20, Pages 1-40, November 2024, https://doi.org/10.1145/3702004.

40 of 48

To Whom: 9 Stakeholders

40

41 of 48

What to Explain

(1) How Explanations: How does the system work as a whole? For example, how does the autonomous driving system work?

(2) Why Explanations: Why does the system make a particular decision? For example, why did the car decide to slow down at this specific moment?

(3) Why-not Explanations: Why does the system not make a particular decision? For example, why did the vehicle not take an alternate route when encountering heavy traffic?

(4) What Explanations: What happens inside the system? For example, what has the AI system learned internally about recognizing obstacles?

(5) What-if Explanations: What would the system do if the input changes? For example, what if a pedestrian suddenly steps in front of the autonomous car, how would it react?

(6) What-else Explanations: What else are the similar instances? For example, what else are similar scenarios where autonomous vehicles also make decisions to turn?

(7) How-to Explanations: How to let the system make another particular decision? For example, how to change the environment to allow autonomous vehicles to choose a faster route?

(8) How-still Explanations: How much of a perturbation can there be while maintaining the same decision? For example, how much variation in road conditions can the vehicle withstand while still making the same decisions?

(9) Data Explanations: Ask for information about the data. For example, what biases exist in the training data of the autonomous vehicle system?

41

42 of 48

How to Explain

(1) Decision Trees (DTs) and Decision Rules (DRs). 

(2) Feature Attribution Explanation (FAE). 

(3) Partial dependence plot (PDP). 

(4) Counterfactual (CF). 

(5) Prototype Explanation (PE). 

(6) Text Explanation (TE). 

(7) Model Visualization (MV). 

(8) Graph Explanation (GE). 

(10) Exploratory Data Analysis (EDA). 

42

43 of 48

When to Explain

AI System Lifecycle under Consideration

    • Model Requirement Analysis
    • Data Acquisition and Understanding
    • Modeling AI
    • Deployment, Monitoring, and Interaction

43

44 of 48

44

45 of 48

45

1. Trustworthy AI: What and Why

2. Fairer ML Through Multi-objective Evolutionary Learning

3. Multi-objective Feature Attribution Explanation

4. Concluding Remarks

Outline

46 of 48

Concluding Remarks

  • Trustworthiness is the key to real-world applications of AI systems.
  • An important part of trustworthy AI is ethics, which is highly complex and multi-dimensional.
  • Evolutionary computation can play an important role in trustworthy AI, e.g., fair AI, explainable AI, safe AI, etc.
    • There are ample research opportunities at the intersection between trustworthy AI and evolutionary computation.

Email: xinyao@ln.edu.hk

46

47 of 48

Hong Kong PhD Fellowship Scheme (HKPFS)

The Fellowship provides

    • an annual stipend of HK$337,200 (approximately US$43,230), and
    • a conference and research-related travel allowance of HK$14,000 (approximately US$1,790) per year

for a period up to three years.

Contact: xinyao@ln.edu.hk

48 of 48

RGC JRFS and LU PPRF

  • RGC Junior Research Fellow Scheme (JRFS)
    • Funded by RGC (Research Grant Committee)
    • Deadline: October 2025
  • Presidential Postdoctoral Research Fellowship Scheme (PPRF)
    • Funded by Lingnan University
    • Within 3 years of obtaining the PhD degree
    • Prefer international candidates
  • Approx. ₤40K/year
  • Contact: xinyao@ln.edu.hk