# What are the difficulties in avoiding direct discrimination on the basis of a protected characteristic (e.g. gender) when creating AI systems?

This is my formative writing task in Ethics and Regulation of Artificial Intelligence(LAWM161) at University of Surrey.

Professor: Mikolaj Barczentewicz

Over the past few years, lots of services or products with artificial intelligence have come to people’s life. After several waves of research in Artificial Intelligence, some AI technologies have been emerging like Machine Learning, Deep learning and Neural Networks. Although great progress has been made, research on ethics and laws still lags behind the development of technology. Besides, it turns out that prejudice and discrimination between people will also appear in AI systems easily due to the wide spread of AI systems. There are many reasons for discrimination. In the training process of the AI model, some inappropriate training data may be used, which may contain discrimination information. At the same time, the designer of the AI system will also entrain some personal emotions when designing. Or the idea that the decision made by the Ai system is discriminatory. Even the wrong use of the AI system by users will make them feel treated differently. In this article, I will focus on the direct discrimination when creating an AI system, and discuss some difficulties to decrease direct discrimination.

# 1. 什么是Guard

Laravel/Lumen框架中，用户的登录/注册的认证基本都已经封装好了，开箱即用。而登录/注册认证的核心就是：

1. 用户的注册信息存入数据库（登记）
2. 从数据库中读取数据和用户输入的对比（认证）

# 一些常用APP的URL Scheme

**如果微信小程序打开失效，请更换开发者ID(wx开头的字符)，**比如北京健康码：

# 记一次在Lloyds银行存钱的奇葩经历

Lloyds银行ATM存钱一次最多只能50张，不管什么面值。今天存钱带了100张5英镑，也没有提前分成2份，存的时候我直接拿出一半塞了进去，结果机子出问题，提示机子出了问题无法识别我的钱，让我联系工作人员。我之前存超出的钱直接吐出来了，这次结果机子出问题。工作人员过来说我塞的钱超过50张了，让我等一会，她去叫同事开机子把钱拿出来。