第 21 章 · 深度学习与伦理
Understanding Deep Learning — Deep learning and ethics
This chapter was written by Travis LaCroix and Simon J.D. Prince.
AI is poised to change society for better or worse. These technologies have enormous potential for social good (Taddeo & Floridi, 2018; Tomašev et al., 2020), including important roles in healthcare (Rajpurkar et al., 2022) and the fight against climate change (Rolnick et al., 2023). However, they also have the potential for misuse and unintended harm. This has led to the emergence of the field of AI ethics.
本章由 Travis LaCroix 和 Simon J.D. Prince 撰写。
AI 即将改变社会,无论好坏。这些技术具有促进社会公益的巨大潜力(Taddeo & Floridi, 2018; Tomašev et al., 2020),包括在医疗保健(Rajpurkar et al., 2022)和应对气候变化(Rolnick et al., 2023)方面发挥重要作用。然而,它们也可能被滥用并造成非预期伤害。这催生了 AI 伦理领域的兴起。
The modern era of deep learning started in 2012 with AlexNet, but sustained interest in AI ethics did not follow immediately.
Indeed, a workshop on fairness in machine learning was rejected from NeurIPS 2013 for want of material. It wasn’t until 2016 that AI Ethics had its “AlexNet” moment, with ProPublica’s exposé on bias in the COMPAS recidivism-prediction model (Angwin et al., 2016) and Cathy O’Neil’s book Weapons of Math Destruction (O’Neil, 2016). Interest has swelled ever since; submissions to the Conference on Fairness, Accountability, and Transparency (FAccT) have increased nearly ten-fold in the five years since its inception in 2018.
深度学习现代时代始于 2012 年的 AlexNet,但对 AI 伦理的持续关注并未随之立即兴起。事实上,一个关于机器学习公平性的研讨会因缺乏材料而被 NeurIPS 2013 拒绝。直到 2016 年, AI 伦理才迎来自己的“AlexNet”时刻,随着 ProPublica 揭露 COMPAS 累犯预测模型中的偏差(Angwin et al., 2016),以及 Cathy O’Neil 的著作数学杀伤性武器(O’Neil, 2016)。此后兴趣不断高涨;自 2018 年创办以来,公平、问责与透明会议(FAccT)的投稿量在五年内增长了近十倍。
In parallel, many organizations have proposed policy recommendations for responsible AI. Jobin et al. (2019) found 84 documents containing AI ethics principles, with 88% released since 2016. This proliferation of non-legislative policy agreements, which depend on voluntary, non-binding cooperation, calls into question their efficacy (McNamara et al., 2018; Hagendorff, 2020; LaCroix & Mohseni, 2022). In short, AI Ethics is in its infancy, and ethical considerations are often reactive rather than proactive.
This chapter considers potential harms arising from the design and use of AI systems. These include algorithmic bias, lack of explainability, data privacy violations, militarization, fraud, and environmental concerns. The aim is not to provide advice on being more ethical. Instead, the goal is to express ideas and start conversations in key areas that have received attention in philosophy, political science, and the broader social sciences.
与此同时,许多组织提出了负责任人工智能的策略建议。 Jobin 等人(2019)发现 84 份包含人工智能伦理原则的文件,其中 88% 自 2016 年以来发布。这种依赖自愿、不具约束力合作的非立法性策略协议的激增,使其效力受到质疑(McNamara 等, 2018; Hagendorff, 2020; LaCroix 与 Mohseni, 2022)。简而言之,人工智能伦理仍处于起步阶段,伦理考量往往是被动的,而非主动的。
本章考察人工智能系统的设计和使用可能造成的危害。这些危害包括算法偏差、缺乏可解释性、数据隐私侵犯、军事化、欺诈以及环境方面的担忧。目的并非提供如何更具伦理性的建议。相反,目标是表达观点,并在哲学、政治学以及更广泛社会科学中受到关注的关键领域展开对话。
When we design AI systems, we wish to ensure that their “values” (objectives) are aligned with those of humanity. This is sometimes called the value alignment problem (Russell,
在设计人工智能系统时,我们希望确保它们的“价值观”(目标)与人类的价值观保持一致。这有时被称为价值对齐问题(Russell,
2019; Christian, 2020; Gabriel, 2020). This is challenging for three reasons. First, it’s difficult to define our values completely and correctly. Second, it is hard to encode these values as objectives of an AI model, and third, it is hard to ensure that the model learns to carry out these objectives. In a machine learning model, the loss function is a proxy for our true objectives,
2019; Christian, 2020; Gabriel, 2020)。这具有挑战性,原因有三。首先,很难完全且正确地定义我们的价值观。其次,很难将这些价值观编码为人工智能模型的目标,第三,很难确保模型学会执行这些目标。在机器学习模型中,损失函数是我们真实目标的代理指标,
and a misalignment between the two is termed the outer alignment problem (Hubinger et al., 2019). To the extent that this proxy is inadequate, there will be “loopholes” that the system can exploit to minimize its loss function while failing to satisfy the intended objective. For example, consider training an RL agent to play chess. If the agent is rewarded for capturing pieces, this may result in many drawn games rather than the desired behavior (to win the game).
In contrast, the inner alignment problem is to ensure that the behavior of an AI system does not diverge from the intended objectives even when the loss function is well specified.
If the learning algorithm fails to find the global minimum or the training data are unrepresentative, training can converge to a solution that is misaligned with the true objective resulting in undesirable behavior (Goldberg, 1987; Mitchell et al., 1992; Lehman & Stanley, 2008).
而两者之间的错位被称为外部对齐问题(Hubinger et al., 2019)。只要这一代理指标不够充分,就会存在系统可以利用的“漏洞”,使其在最小化损失函数的同时未能满足预期目标。例如,考虑训练一个强化学习智能体来下国际象棋。如果智能体因吃子而获得奖励,这可能导致许多和棋,而不是期望的行为(赢得对局)。相比之下,内部对齐问题是要确保即使损失函数定义良好,人工智能系统的行为也不会偏离预期目标。如果学习算法未能找到全局最小值,或训练数据不具代表性,训练可能收敛到一个与真实目标不一致的解,从而导致不良行为(Goldberg, 1987; Mitchell et al., 1992; Leh man & Stanley, 2008)。
Gabriel (2020) divides the value alignment problem into technical and normative components. The technical component concerns how we encode values into the models so that they reliably do what they should. Some concrete problems, such as avoiding reward hacking and safe exploration, may have purely technical solutions (Amodei et al., 2016). In contrast, the normative component concerns what the correct values are in the first place. There may be no single answer to this question, given the range of things that different cultures and societies value. It’s important that the encoded values are representative of everyone and not just culturally dominant subsets of society.
Another way to think about value alignment is as a structural problem that arises when a human principal delegates tasks to an artificial agent (LaCroix, 2022). This is similar to the principal-agent problem in economics (Laffont & Martimort, 2002), which allows that there are competing incentives inherent in any relationship where one party is expected to act in another’s best interests. In the AI context, such conflicts of interest can arise when either (i) the objectives are misspecified or (ii) there is an informational asymmetry between the principal and the agent (figure 21.1).
Many topics in AI ethics can be understood in terms of this structural view of value alignment. The following sections discuss problems of bias and fairness and artificial moral agency (both pertaining to specifying objectives) and transparency and explainability (both related to informational asymmetry).
Gabriel (2020)将价值对齐问题划分为技术性和规范性组成部分。技术组成部分关注的是我们如何将价值观编码到模型中,使其可靠地执行应有行为。某些具体问题,例如避免奖励黑客和确保安全探索,可能具有纯粹的技术解决方案(Amodei 等, 2016)。相比之下,规范组成部分关注的是究竟什么是正确的价值观。鉴于不同文化和社会重视的事物范围广泛,这个问题可能没有单一答案。被编码的价值观应当代表所有人,而不仅仅是社会中文化上占主导地位的群体。
思考价值对齐的另一种方式是将其视为一个结构性问题,该问题出现在人类委托人将任务委托给人工代理人时(LaCroix, 2022)。这与经济学中的委托代理问题类似(Laffont 与 Martimort, 2002),后者承认,在任一方被期望为另一方最佳利益行事的任何关系中,都存在固有的竞争性激励。在人工智能语境中,当(i)目标被错误设定,或(ii)委托人与代理人之间存在信息不对称时,也可能出现这种利益冲突(图 21.1)。
人工智能伦理中的许多主题都可以从这种价值对齐的结构观来理解。下文各节讨论偏差与公平问题以及人工道德主体性(二者都涉及目标设定),以及透明度和可解释性(二者都涉及信息不对称)。
From a purely scientific perspective, bias refers to statistical deviation from some norm. In AI, it can be pernicious when this deviation depends on illegitimate factors that impact an output. For example, gender is irrelevant to job performance, so it is illegitimate to use gender as a basis for hiring a candidate. Similarly, race is irrelevant to criminality, so it is illegitimate to use race as a feature for recidivism prediction.
Bias in AI models can be introduced in various ways (Fazelpour & Danks, 2021):
从纯粹的科学角度来看,偏差是指相对于某种规范的统计偏差。在人工智能中,当这种偏差取决于影响输出的不正当因素时,它可能有害。例如,性别与工作表现无关,因此以性别作为招聘候选人的依据是不正当的。同样,种族与犯罪无关,因此将种族作为再犯预测的特征是不正当的。
AI 模型中的偏差可能以多种方式引入(Fazelpour & Danks, 2021):

• Problem specification: Choosing a model’s goals requires a value judgment about what is important to us, which allows for the creation of biases (Fazelpour & Danks, 2021).
Further biases may emerge if we fail to operationalize these choices successfully and the problem specification fails to capture our intended goals (Mitchell et al., 2021).
• 问题设定:选择模型的目标需要对我们认为重要的事物作出价值判断,这便可能催生偏差(Fazelpour & Danks, 2021)。如果我们未能成功将这些选择操作化,并且问题设定未能捕捉我们的预期目标,则可能出现更多偏差(Mitchel et al., 2021)。
• Data: Algorithmic bias can result when the dataset is unrepresentative or incomplete (Danks & London, 2017). For example, the PULSE face super-resolution algorithm (Menon et al., 2020) was trained on a database of photos of predominantly white celebrities.
When applied to a low-resolution portrait of Barack Obama, it generated a photo of a white man (Vincent, 2020).
If the society in which training data are generated is structurally biased against marginalized communities, even complete and representative datasets will elicit biases (Mayson, 2018). For example, Black individuals in the US have been policed and jailed more frequently than white individuals. Hence, historical data used to train recidivism prediction models are already biased against Black communities.
• 数据:当数据集不具代表性或不完整时,可能产生算法偏差(Danks & London, 2017)。例如, PULSE 人脸超分辨率算法(Menon et al., 2020)在一个主要包含白人名人照片的数据库上训练。当将该算法应用于巴拉克 · 奥巴马的低分辨率肖像时,它生成了一张白人男子的照片(Vincent, 2020)。如果生成训练数据的社会对边缘化社区存在结构性偏差,那么即使数据集完整且具有代表性,也会引发偏差(Mayson, 2018)。例如,在美国,黑人个体受到警务执法和监禁的频率高于白人个体。因此,用于训练再犯预测模型的历史数据已
• Modeling and validation: Choosing a mathematical definition to measure model fairness requires a value judgment. There exist distinct but equally-intuitive definitions that are logically inconsistent (Kleinberg et al., 2017; Chouldechova, 2017; Berk et al., 2021).
This suggests the need to move from a purely mathematical conceptualization of fairness toward a more substantive evaluation of whether algorithms promote justice in practice (Green, 2022). • Deployment: Deployed algorithms may interact with other algorithms, structures, or institutions in society to create complex feedback loops that entrench extant biases (O’Neil, 2016). For example, large language models like GPT3 (Brown et al., 2020) are trained on web data. However, when GPT3 outputs are published online, the training data for future models is degraded. This may exacerbate biases
经对黑人社区存在偏差。
• 建模与验证:选择用于衡量模型公平性的数学定义需要进行价值判断。存在不同但同样直观、且在逻辑上相互不一致的定义(Kleinberg et al., 2017; Chouldechova, 2017; Berk et al., 2021)。这表明需要从纯粹数学化的公平概念转向更实质性地评估算法在实践中是否促进正义(Green, 2022)。 • 部署:已部署的算法可能与社会中其他算法、结构或机构相互作用,形成复杂的反馈回路,从而固化现有偏差(O’Neil, 2016)。例如, GPT3 等大型语言模型(Brown et al., 2020)是在网络数据上训练的。然而,当 GPT3 的输出被发布在线发布时,未来模型的训练数据就会退化。这可能加剧偏差并产生新的社会危害
and generate novel societal harm (Falbo & LaCroix, 2022).
(Falbo & LaCroix, 2022)。

Unfairness can be exacerbated by considerations of intersectionality; social categories can combine to create overlapping and interdependent systems of oppression. For example, the discrimination experienced by a queer woman of color is not merely the sum of the discrimination she might experience as queer, as gendered, or as racialized (Crenshaw, 1991). Within AI, Buolamwini & Gebru (2018) showed that face analysis algorithms trained primarily on lighter-skinned faces underperform for darker-skinned faces. However, they perform even worse on combinations of features such as skin color and gender than might be expected by considering those features independently.
Of course, steps can be taken to ensure that data are diverse, representative, and complete. But if the society in which the training data are generated is structurally biased against marginalized communities, even completely accurate datasets will elicit biases. In light of the potential for algorithmic bias and the lack of representation in training datasets described above, it is also necessary to consider how failure rates for the outputs of these systems are likely to exacerbate discrimination against already-marginalized communities (Buolamwini & Gebru, 2018; Raji & Buolamwini, 2019; Raji et al., 2022). The resulting models may codify and entrench systems of power and oppression, including capitalism and classism; sexism, misogyny, and patriarchy; colonialism and imperialism; racism and white supremacy; ableism; and cis- and heteronormativity. A perspective on bias that maintains sensitivity to power dynamics requires accounting for historical inequities and labor conditions encoded in data (Micelli et al., 2022).
To prevent this, we must actively ensure that our algorithms are fair. A naïve approach is fairness through unawareness which simply removes the protected attributes (e.g., race, gender) from the input features. Unfortunately, this is ineffective; the remaining features can still carry information about the protected attributes. More practical approaches first define a mathematical criterion for fairness. For example, the separation measure in binary classification requires that the prediction ˆy is conditionally independent of the protected variable a (e.g., race) given the true label y. Then they intervene in various ways to minimize the deviation from this measure (figure 21.2). A further complicating factor is that we cannot tell if an algorithm is unfair to a com- munity or take steps to avoid this unless we can establish community membership. Most research on algorithmic bias and fairness has focused on ostensibly observable features
不公平可能因对交叉性的考量而加剧;社会类别可以结合,形成重叠且相互依存的压迫体系。例如,一名有色人种酷儿女性所经历的歧视,并不只是她作为酷儿、作为性别化身份或作为种族化身份所可能经历的歧视之和(Crenshaw, 1991)。在人工智能领域, Buolamwini & Gebru (2018) 表明,主要基于浅肤色人脸训练的面部分析算法在深肤色人脸上的表现不佳。然而,对于肤色和性别等特征组合,它们的表现甚至比独立考虑这些特征时预期的更差。
当然,可以采取步骤确保数据具有多样性、代表性和完整性。但如果生成训练数据的社会对边缘化社区存在结构性偏差,即使完全准确的数据集也会引发偏差。鉴于上文所述算法偏差的潜在风险以及训练数据集中代表性的缺失,还需要考虑这些系统输出的失败率可能如何加剧对已经边缘化社区的歧视(Buolamwini & Gebru, 2018; Raji & Buolamwini, 2019; Raji et al., 2022)。由此产生的模型可能会将权力与压迫体系制度化并固化,包括资本主义和阶级主义;性别歧视、厌女和父权制;殖民主义和帝国主义;种族主义和白人至上主义;健全中心主义;以及顺性别和异性恋规范。一种保持对权力动态敏感的偏差视角,需要考量数据中编码的历史不平等与劳动条件(Micelli et al., 2022)。
为了防止这种情况,我们必须主动确保算法公平。一种天真的做法是无感知公平,它只是从输入特征中移除受保护属性(例如种族、性别)。不幸的是,这种做法无效;剩余特征仍可能携带有关受保护属性的信息。更实用的方法首先定义公平性的数学准则。例如,二分类中的分离度量要求预测 ˆ y 在给定真实标签 y 的条件下与受保护变量 a (例如种族)条件独立。然后,它们以各种方式进行干预,以最小化与该度量的偏差(图 21.2)。
that might be present in training data (e.g., gender). However, features of marginalized communities may be unobservable, making bias mitigation even more difficult. Examples include queerness (Tomasev et al., 2021), disability status, neurotype, class, and religion. A similar problem occurs when observable features have been excised from the training data to prevent models from exploiting them.
这些特征可能存在于训练数据中(例如性别)。然而,边缘化群体的特征可能不可观察,这使得偏差缓解更加困难。例如酷儿身份(Tomasev et al., 2021)、残障状况、神经类型、阶级和宗教。当可观察特征从训练数据中被剔除以防止模型利用这些特征时,也会出现类似问题。
Many decision spaces do not include actions that carry moral weight.
For example, choosing the next chess move has no obvious moral consequence. However, elsewhere actions can carry moral weight. Examples include decision-making in autonomous vehicles (Awad et al., 2018; Evans et al., 2020), lethal autonomous weapons systems (Arkin, 2008a,b), and professional service robots for childcare, elderly care, and health care (Anderson & Anderson, 2008; Sharkey & Sharkey, 2012). As these systems become more autonomous, they may need to make moral decisions independent of human input.
This leads to the notion of artificial moral agency.
许多决策空间并不包含具有道德权重的行为。例如,选择下一步棋没有明显的道德后果。然而,在其他情境中,行为可能具有道德权重。例子包括自动驾驶车辆中的决策(Awad 等, 2018; Evans 等, 2020)、致命性自主武器系统(Arkin, 2008a,b),以及用于儿童保育、老年护理和医疗保健的专业服务机器人(Anderson 与 Anderson, 2008; Sharkey 与 Sharkey, 2012)。随着这些系统变得更加自主,它们可能需要独立于人类输入做出道德决策。
An artificial moral agent is an autonomous AI system capable of making moral judgments. Moral agency can be categorized in terms of increasing complexity (Moor, 2006): 1. Ethical impact agents are agents that affect a situation for the better or worse, but are not designed with ethics in mind. Hence, almost any technology deployed
in society might count as an ethical impact agent. 2. Implicit ethical agents are ethical impact agents that include some in-built
safety features. 3. Explicit ethical agents can contextually follow general moral principles or rules
这引出了人工道德代理的概念。人工道德代理是一种能够做出道德判断的自主人工智能系统。道德代理可以按复杂度递增进行分类(Moor, 2006):
1. 伦理影响代理是能够改善或恶化某种情境、但并非出于伦理考量而设计的代理。因此,几乎任何在社会中部署的技术都可能被视为伦理影响代理。 2. 隐式伦理代理是包含某些内置安全特征的伦理影响代理。 3. 显式伦理代理能够根据情境遵循一般道德原则或伦理行为规则。 4. 完整伦理代理是具有信念、欲望、意图、自由意志以
of ethical conduct. 4. Full ethical agents are agents with beliefs, desires, intentions, free will, and
consciousness of their actions.
The field of machine ethics seeks approaches to creating artificial moral agents. These approaches can be categorized as top-down, bottom-up, or hybrid (Allen et al., 2005). Topdown (theory-driven) methods directly implement and hierarchically arrange concrete rules based on some moral theory to guide ethical behavior. Asimov’s “Three Laws of Robotics” are a trivial example of this approach.
及对自身行为的意识的代理。
机器伦理学领域寻求创建人工道德主体的方法。这些方法可分为自上而下、自下而上或混合(Allen 等, 2005)。自上而下(理论驱动)的方法基于某种道德理论直接实现并分层组织具体规则,以指导伦理行为。阿西莫夫的“机器人三定律”就是这一方法的一个简单示例。
In bottom-up (learning-driven) approaches, a model learns moral regularities from data without explicit programming (Wallach et al., 2008). For example, Noothigattu et al. (2018) designed a voting-based system for ethical decision-making that uses data collected from human preferences in moral dilemmas to learn social preferences; the system then summarizes and aggregates the results to render an “ethical” decision. Hybrid approaches combine top-down and bottom-up approaches.
Some researchers have questioned the very idea of artificial moral agency and argued that moral agency is unnecessary for ensuring safety (van Wynsberghe & Robbins, 2019). See Cervantes et al. (2019) for a recent survey of artificial moral agency and Tolmeijer et al. (2020) for a recent survey on technical approaches to artificial moral agency.
在自下而上(学习驱动)的方法中,模型无需显式编程,即可从数据中学习道德规律(Wallach 等, 2008)。例如, Noothigattu 等(2018)设计了一种基于投票的伦理决策系统,该系统利用从人类在道德困境中的偏好收集到的数据来学习社会偏好;随后,系统对结果进行汇总并聚合,从而作出“合乎伦理”的决策。混合方法结合了自上而下和自下而上的方法。
A complex computational system is transparent if all of the details of its operation are known. A system is explainable if humans can understand how it makes decisions. In the absence of transparency or explainability, there is an asymmetry of information between the user and the AI system, which makes it hard to ensure value alignment. Creel (2020) characterizes transparency at several levels of granularity. Functional transparency refers to knowledge of the algorithmic functioning of the system (i.e., the logical rules that map inputs to outputs). The methods in this book are described at this level of detail. Structural transparency entails knowing how a program executes the algorithm. This can be obscured when commands written in high-level programming languages are executed by machine code. Finally, run transparency requires understanding how a program was executed in a particular instance. For deep networks, this includes
如果一个复杂计算系统的运行细节全部已知,那么它就是透明的。如果人类能够理解系统如何做出决策,那么该系统就是可解释的。在缺乏透明性或可解释性的情况下,用户与人工智能系统之间存在信息不对称,这使得确保价值对齐变得困难。 Creel (2020)从几个粒度层次刻画了透明性。功能透明性指对系统算法运作方式的了解(即,将输入映射到输出的逻辑规则)。本书中的方法就是在这一详细程度上描述的。结构透明性意味着知道如何执行程序算法。当用高级编程语言编写的命令由机器代码执行时,这一点可能会被遮蔽。最后,运行透明性要求理解程序在特定实例中是如何执行的。对于深度网络,这包括
knowledge about the hardware, input data, training data, and interactions thereof. None of these can be ascertained by scrutinizing code.
For example, GPT3 is functionally transparent; its architecture is described in Brown et al. (2020). However, it does not exhibit structural transparency as we do not have access to the code, and it does not exhibit run transparency as we have no access to the learned parameters, hardware, or training data. The subsequent version GPT4 is not transparent at all. The details of how this commercial product works are unknown.
有关硬件、输入数据、训练数据及其相互交互的知识。这些都无法通过仔细审查代码来查明。
例如, GPT3 具有功能透明性;其架构在 Brown 等人(2020)中有所描述。然而,它并不具有结构透明性,因为我们无法访问代码;它也不具有运行透明性,因为我们无法访问学习到的参数、硬件或训练数据。后续版本 GPT4 完全不具有透明性。这款商业产品如何工作的细节尚不为人知。
Even if a system is transparent, this does not imply that we can understand how a decision is made or what information this decision is based on. Deep networks may contain billions of parameters, so there is no way we can understand how they work based on examination alone. However, in some jurisdictions, the public may have a right to an explanation. Article 22 of the EU General Data Protection Regulation suggests all data subjects should have the right to “obtain an explanation of the decision reached” in cases where a decision is based solely on automated processes. 1 These difficulties have led to the sub-field of explainable AI. One moderately successful area is producing local explanations. Although we can’t explain the entire system, we can sometimes describe how a particular input was classified. For example, Local
即使一个系统是透明的,也不意味着我们能够理解决策是如何做出的,或该决策基于哪些信息。深度网络可能包含数十亿个参数,因此我们无法仅通过检查来理解它们如何运作。然而,在某些司法管辖区,公众可能有权获得解释。《欧盟通用数据保护条例》第 22 条表明,在决策完全基于自动化流程的情况下,所有数据主体都应当有权“获得对所作决策的解释”。 1我们有时可以描述某个特定输入是如何被分类的。例如,局部可解释模型无关解释或
interpretable model-agnostic explanations or LIME (Ribeiro et al., 2016) samples the model output at nearby inputs and uses these samples to construct a simpler model (figure 21.3). This provides insight into the classification decision, even if the original model is neither transparent nor explainable.
LIME (Ribeiro et al., 2016)在邻近输入处对模型输出进行采样,并利用这些样本构建一个更简单的模型(图 21.3)。这为分类决策提供了洞察,即使原始模型既不透明也不可解释。
It remains to be seen whether it is possible to build complex decision-making systems that are fully understandable to their users or even their creators.
There is also an ongoing debate about what it means for a system to be explainable, understandable, or interpretable (Erasmus et al., 2021); there is currently no concrete definition of these concepts. See Molnar (2022) for more information.
尚待观察的是,是否有可能构建出复杂决策系统,使其用户甚至创建者都能完全理解。此外,关于系统具备可解释性、可理解性或可诠释性究竟意味着什么,目前仍存在持续争论(Erasmus 等, 2021);这些概念目前尚无具体定义。更多信息参见 Molnar (2022)。
Figure 21.3 LIME. Output functions of deep networks are complex; in high dimensions, it’s hard to know why a decision was made or how to modify the inputs to change it without access to the model. a) Consider trying to understand why Pr(y=1| x ) is low at the white cross. LIME probes the network at nearby points to see if it identifies these as Pr(y=1| x )<0.5 (cyan points) or Pr(y=1| x )≥0.5 (gray points). It weights these points by proximity to the point of interest (weight indicated by circle size). b) The weighted points are used to train a simpler model (here, logistic regression — a linear function passed through a sigmoid). c) Near the white cross, this approximation is close to d) the original function. Even though we did not have access to the original model, we can deduce from the parameters of this approximate model, that if we increase x1 or decrease x2, Pr(y=1| x ) will increase, and the output class will change. Adapted from Prince (2022).
图 21.3 LIME。深度网络的输出函数很复杂;在高维空间中,如果不访问模型,就很难知道为何做出某个决策,或者如何修改输入以改变该决策。 a) 考虑尝试理解为什么 Pr (y=1| x) 在白色十字处较低。 LIME 在附近点对网络进行探测,以查看它是否将这些点识别为 Pr (y=1| x) <0.5 (青色点)或 Pr (y=1| x) ≥0.5 (灰色点)。它根据这些点到关注点的接近程度为这些点赋予权重(权重由圆圈大小表示)。 b) 这些带权重的点用于训练一个更简单的模型(此处为逻辑回归 —— 一个经过 sigmoid 的线性函数)。 c) 在白色十字附近,该近似接近 d) 原始函数。即使我们无法访问原始模型,也可以从该近似模型的参数推断出:如果增大 x1 或减小 x2, Pr (y=1| x) 将增大,并且输出类别将改变。改编自 Prince (2022)。
The problems in the previous section arise from poorly specified objectives and informational asymmetries. However, even when a system functions correctly, it can entail unethical behavior or be intentionally misused.
This section highlights some specific ethical concerns arising from the misuse of AI systems.
上一节中的问题源于目标定义不清和信息不对称。然而,即使系统运行正常,它也可能导致不道德行为,或被蓄意滥用。本节重点介绍一些具体
滥用人工智能系统所引发的伦理问题。
Face recognition technologies have an especially high risk for misuse. Authoritarian states can use them to identify and silence protesters, thus risking democratic ideals of free speech and the right to protest. Smith & Miller (2022) argue that there is a mismatch between the values of liberal democracy (e.g., security, privacy, autonomy, and accountability) and the potential use cases for these technologies (e.g., border security, criminal investigation and policing, national security, and the commercialization
人脸识别技术面临极高的滥用风险。威权国家可以利用它们识别并打压抗议者,从而危及言论自由和抗议权的民主理想。 Smith & Miller (2022)认为,自由民主价值观(例如安全、隐私、自主和问责)与这些技术的潜在应用场景(例如边境安全、刑事侦查与警务、国家安全以及商业化
of personal data). Thus, some researchers, activists, and policymakers have questioned whether this technology should exist (Barrett, 2020).
Moreover, these technologies often do not do what they purport to (Raji et al., 2022). For example, the New York Metropolitan Transportation Authority moved forward with and expanded its use of facial recognition despite a proof-of-concept trial reporting a 100% failure rate to detect faces within acceptable parameters (Berger, 2019). Similarly, facial analysis tools often oversell their abilities (Raji & Fried, 2020), dubiously claiming to be able to infer individuals’ sexual orientation (Leuner, 2019), emotions (Stark & Hoey, 2021), hireability (Fetscherin et al., 2020), or criminality (Wu & Zhang, 2016). Stark & Hutson (2022) highlight that computer vision systems have created a resurgence in the “scientifically baseless, racist, and discredited pseudoscientific fields” of physiognomy and phrenology.
个人数据的)。因此,一些研究者、活动人士和策略制定者质疑这项技术是否应当存在(Barrett, 2020)。
此外,这些技术往往并未实现其所声称的功能(Raji et al., 2022)。例如,纽约大都会运输署在概念验证试验报告称在可接受参数范围内检测人脸的失败率为 100% 的情况下,仍然推进并扩大了面部识别技术的使用(Berger, 2019)。同样,面部分析工具常常夸大其能力(Raji & Fried, 2020),可疑地声称能够推断个人的性取向(Leuner, 2019)、情绪(Stark & Hoey, 2021)、可雇佣性(Fetscherin et al., 2020)或犯罪倾向(Wu & Zhang, 2016)。 Stark & Hutson (2022)指出,计算机视觉系统使面相学和颅相学这些“科学上毫无根据、种族主义且已被证伪的伪科学领域”出现回潮。
Governments have a vested interest in funding AI research in the name of national security and state building. This risks an arms race between nation-states, which carries with it “high rates of investment, a lack of transparency, mutual suspicion and fear, and a perceived intent to deploy first” (Sisson et al., 2020). Lethal autonomous weapons systems receive significant attention because they are
政府以国家安全和国家建设为名资助人工智能研究,有着切身利益。这有引发民族国家之间军备竞赛的风险,而军备竞赛伴随着“高投资率、缺乏透明度、相互猜疑和恐惧,以及被认为具有先发部署的意图”(Sisson 等, 2020)。致命自主武器系统受到广泛关注,因为它们
easy to imagine, and indeed many such systems are under development (Heikkilä, 2022). However, AI also facilitates cyber-attacks and disinformation campaigns (i.e., inaccurate or misleading information that is shared with the intent to deceive). AI systems allow the creation of highly realistic fake content and facilitate the dissemination of information, often to targeted audiences (Akers et al., 2018) and at scale (Bontridder & Poullet, 2021).
Kosinski et al. (2013) suggest that sensitive variables, including sexual orientation, ethnicity, religious and political views, personality traits, intelligence, happiness, use of addictive substances, parental separation, age, and gender, can be predicted by “likes” on social media alone. From this information, personality traits like “openness” can be used for manipulative purposes (e.g., to change voting behavior).
容易想象,而且确实许多此类系统正在开发中(Heikkilä, 2022)。然而,人工智能也助长了网络攻击和虚假信息活动(即旨在欺骗而传播的不准确或误导性信息)。人工智能系统能够生成高度逼真的虚假内容,并促进信息传播,通常面向特定受众(Akers 等, 2018),且规模巨大(Bontridder & Poullet, 2021)。
Kosinski 等(2013)指出,仅凭社交媒体上的“点赞”,就可以预测包括性取向、种族、宗教和政治观点、人格特质、智力、幸福感、成瘾性物质使用、父母分居、年龄和性别在内的敏感变量。根据这些信息,像“开放性”这样的人格特质可被用于操纵目的(例如改变投票行为)。
Unfortunately, AI is a useful tool for automating fraudulent activities (e.g., sending mass emails or text messages that trick people into revealing sensitive information or sending money). Generative AI can be used to deceive people into thinking they are interacting with a legitimate entity or generate fake documents that mislead or deceive people. Additionally, AI could increase the sophistication of cyber-attacks, such as by generating more convincing phishing emails or adapting to the defenses of targeted organizations. This highlights the downside of calls for transparency in machine learning systems: the more open and transparent these systems are, the more vulnerable they may be to security risks or use by bad-faith actors. For example, generative language models, like ChatGPT, have been used to write software and emails that could be used for espionage,
不幸的是,人工智能是一种有用的工具,可用于自动化欺诈活动(例如,发送大量电子邮件或短信,诱骗人们透露敏感信息或汇款)。生成式人工智能可用于欺骗人们,使其以为自己在与合法实体互动,或生成虚假文件来误导或欺骗人们。此外,人工智能还可能提高网络攻击的复杂程度,例如生成更具迷惑性的钓鱼邮件,或针对目标组织的防御措施进行调整。这凸显了呼吁机器学习系统透明化的弊端:这些系统越开放、越透明,就越容易遭受安全风险,或被心怀恶意者利用。例如,生成式语言模型,如ChatGPT 已被用于编写可能被用于间谍活动的软件和电子邮件,
ransomware, and other malware (Goodin, 2023).
The tendency to anthropomorphize computer behaviors and particularly the projection of meaning onto strings of symbols is termed the ELIZA effect (Hofstadter, 1995). This leads to a false sense of security when interacting with sophisticated chatbots, making people more susceptible to text-based fraud such as romance scams or business email compromise schemes (Abrahams, 2023). Véliz (2023) highlights how emoji use in some chatbots is inherently manipulative, exploiting instinctual responses to emotive images.
勒索软件及其他恶意软件(Goodin, 2023)。
将计算机行为拟人化、尤其是将意义投射到符号串上的倾向,被称为 ELIZA 效应(Hofstadter, 1995)。这会导致人们在与复杂的聊天机器人交互时产生虚假的安全感,使其更容易遭受基于文本的欺诈,如情感诈骗或商务电子邮件欺诈方案(Abrahams, 2023)。 Véliz (2023)强调,某些聊天机器人中使用表情符号本质上具有操纵性,利用了人们对情感化图像的直觉反应。
Modern deep learning methods rely on huge crowd-sourced datasets, which may contain sensitive or private information. Even when sensitive information is removed, auxiliary
knowledge and redundant encodings can be used to de-anonymize datasets (Narayanan & Shmatikov, 2008). Indeed, this famously happened to the Governor of Massachusetts, William Weld, in 1997. After an insurance group released health records that had been stripped of obvious personal information like patient name and address, an aspiring graduate student was able to “de-anonymize” which records belonged to Governor Weld by cross-referencing with public voter rolls.
知识和冗余编码可用于对数据集去匿名化(Narayanan & Shmatikov, 2008)。事实上,这一著名事件曾发生在 1997 年的马萨诸塞州州长威廉 · 韦尔德身上。在一家保险机构发布了已去除患者姓名和地址等明显个人信息的健康记录后,一名准研究生通过对照公开选民名册,能够“去匿名化”出哪些记录属于韦尔德州长。
Hence, privacy-first design is important for ensuring the security of individuals’ information, especially when applying deep learning techniques to high-risk areas such as healthcare and finance. Differential privacy and semantic security (homomorphic encryption or secure multi-party computation) methods can be used to ensure data security during model training (see Mireshghallah et al., 2020; Boulemtafes et al., 2020).
因此,隐私优先的设计对于确保个人信息安全至关重要,尤其是在将深度学习技术应用于医疗和金融等高风险领域时。差分隐私和语义安全(同态加密或安全多方计算)方法可用于确保模型训练过程中的数据安全(参见 Mireshghallah 等, 2020; Boulemtafes 等, 2020)。
The previous section identified areas where AI can be deliberately misused. This section describes other potential side effects of the widespread adoption of AI.
上一节指出了 AI 可被蓄意滥用的领域。本节描述了 AI 广泛采用的其他潜在副作用。
Intellectual property (IP) can be characterized as non-physical property that is the product of original thought (Moore & Himma, 2022). In practice, many AI models are trained on copyrighted material. Consequently, these models’ deployment can pose legal and ethical risks and run afoul of intellectual property rights (Henderson et al., 2023).
Sometimes, these issues are explicit.
When language models are prompted with excerpts of copyrighted material, their outputs may include copyrighted text verbatim, and similar issues apply in the context of image generation in diffusion models (Henderson et al., 2023; Carlini et al., 2022, 2023). Even if the training falls under “fair use,” this may violate the moral rights of content creators in some cases (Weidinger et al., 2022). More subtly, generative models (chapters 12,14–18) raise novel questions regarding AI and intellectual property. Can the output of a machine learning model (e.g., art, music, code, text) be copyrighted or patented? Is it morally acceptable or legal to fine-tune a model on a particular artist’s work to reproduce that artist’s style? IP law is one area
知识产权(IP)可被界定为源于原创思想的无形财产(Moore & Himma, 2022)。在实践中,许多 AI 模型是在受版权保护的材料上训练的。因此,这些模型的部署可能带来法律和伦理风险,并可能侵犯知识产权(Henderson 等, 2023)。
有时,这些问题是明确的。当语言模型被输入受版权保护材料的摘录作为提示时,其输出可能逐字包含受版权保护的文本,类似问题也适用于扩散模型中的图像生成情境(Henderson 等, 2023; Carlini 等, 2022, 2023)。即使训练属于“合理使用”,在某些情况下这也可能侵犯内容创作者的精神权利(Weidinger 等, 2022)。更微妙的是,生成模型(第 12、 14–18 章)提出了有关人工智能的新问题
that highlights how existing legislation was not created with machine learning models in mind. Although governments and courts may set precedents in the near future, these questions are still open at the time of writing.
这凸显了现有立法并非针对机器学习模型而制定。尽管政府与法院可能在不久的将来确立先例,但在写作之时,这些问题仍未有定论。
As society relies more on AI systems, there is an increased risk of automation bias (i.e., expectations that the model outputs are correct because they are “objective”). This leads to the view that quantitative methods are better than qualitative ones. However, as we shall see in section 21.5, purportedly objective endeavors are rarely value-free.
The sociological concept of deskilling refers to the redundancy and devaluation of skills in light of automation (Braverman, 1974). For example, off-loading cognitive skills like memory onto technology may cause a decrease in our capacity to remember things. Analogously, the automation of AI in morally-loaded decision-making may lead to a decrease in our moral abilities (Vallor, 2015). For example, in the context of war, the automation of weapons systems may lead to the dehumanization of victims of war (Asaro, 2012; Heyns, 2017). Similarly, care robots in elderly-, child-, or healthcare settings may reduce our ability to care for one another (Vallor, 2011).
随着社会更加依赖人工智能系统,自动化偏差的风险也随之增加(即期望模型输出是正确的,因为它们“客观”)。这导致人们认为定量方法优于定性方法。然而,正如我们将在第 21.5 节中看到的那样,所谓客观的努力很少是价值中立的。
社会学中的去技能化概念指的是,随着自动化,技能变得冗余并被贬值(Braverman, 1974)。例如,将记忆等认知技能外包给技术,可能会降低我们的记忆能力。类似地,在道德负载的决策中自动化人工智能,可能会导致我们的道德能力下降(Vallor, 2015)。例如,在战争背景下,武器系统的自动化可能导致战争受害者被非人化(Asaro, 2012; Heyns, 2017)。同样,在老年人、儿童或医疗保健环境中的护理机器人可能会降低我们相互照护的能力(Vallor, 2011)。
Training deep networks requires significant computational power and hence consumes a large amount of energy. Strubell et al. (2019, 2020) estimate that training a transformer model with 213 million parameters emitted around 284 tonnes of CO2. 2 Luccioni et al. (2022) have provided similar estimates for the emissions produced from training the BLOOM language model. Unfortunately, the increasing prevalence of closed, proprietary models means that we know nothing about their environmental impacts (Luccioni, 2023).
训练深度网络需要巨大的计算能力,因此会消耗大量能源。据 Strubell 等人(2019 年、 2020 年)估计,训练一个拥有 2.13 亿个参数的 Transformer 模型排放了约 284 吨 CO2。 2 Luccioni 等人(2022 年)也对训练 BLOOM 语言模型所产生的排放提供了类似估计。
遗憾的是,封闭的专有模型日益普及,这意味着我们对它们的环境影响一无所知(Luccioni, 2023 年)。
The history of technological innovation is a history of job displacement. In 2018, the McKinsey Global Institute estimated that AI may increase economic output by approximately US $13 trillion by 2030, primarily from the substitution of labor by automation (Bughin et al., 2018). Another study from the McKinsey Global Institute suggests that up to 30% of the global workforce (10-800 million people) could have their jobs displaced due to AI between 2016 and 2030 (Manyika et al., 2017; Manyika & Sneader, 2018). However, forecasting is inherently difficult, and although automation by AI may lead
技术创新的历史也是岗位被取代的历史。 2018 年,麦肯锡全球研究院估计,到 2030 年,人工智能可能使经济产出增加约 13 万亿美元,主要源于自动化对劳动力的替代(Bughin et al., 2018)。麦肯锡全球研究院的另一项研究表明,在 2016 年至 2030 年间,全球多达 30% 的劳动力(1000 万至 8 亿人)可能因人工智能而失去工作(Manyika et al., 2017; Manyika & Sneader, 2018)。然而,预测本身就很困难,尽管人工智能自动化可能会带来
to short-term job losses, the concept of technological unemployment has been described as a “temporary phase of maladjustment” (Keynes, 1931). This is because gains in wealth can offset gains in productivity by creating increased demand for products and services. In addition, new technologies can create new types of jobs.
Even if automation doesn’t lead to a net loss of overall employment in the long term, new social programs may be required in the short term. Therefore, regardless of whether one is optimistic (Brynjolfsson & McAfee, 2016; Danaher, 2019), neutral (Metcalf et al., 2016; Calo, 2018; Frey, 2019), or pessimistic (Frey & Osborne, 2017) about the possibility of unemployment in light of AI, it is clear that society will be changed significantly.
对于短期失业,技术性失业这一概念曾被描述为“暂时性的失调阶段”(Keynes, 1931)。这是因为财富增长可以通过创造对产品和服务的更大需求,来抵消生产力增长所带来的影响。此外,新技术可以创造新的工作岗位类型。
即使自动化从长远来看不会导致总体就业净减少,短期内仍可能需要新的社会计划。因此,无论人们对人工智能可能造成的失业持乐观态度(Brynjolfsson & McAfee, 2016; Danaher, 2019)、中立态度(Metcalf et al., 2016; Calo, 2018; Frey, 2019)还是悲观态度(Frey & Osborne, 2017),显然社会都将发生显著变化。
As deep networks increase in size, there is a corresponding increase in the amount of data and computing power required to train these models. In this regard, smaller companies and start-ups may not be able to compete with large, established tech companies. This may give rise to a feedback loop whereby the power and wealth become increasingly concentrated in the hands of a small number of corporations.
A recent study finds an increasing discrepancy between publications at major AI venues by large tech firms and “elite” universities versus mid- or lower-tier universities (Ahmed & Wahed, 2016). In many views, such a concentration of wealth and power is incompatible with just distributions in society (Rawls, 1971). This has led to calls to democratize AI by making it possible for everyone to create
随着深度网络规模扩大,训练这些模型所需的数据量和计算能力也相应增加。在这方面,较小的公司和初创企业可能无法与大型成熟科技公司竞争。这可能导致一种反馈循环,使权力和财富越来越集中在少数公司手中。近期一项研究发现,大型科技企业和“精英”大学在主要人工智能会议或期刊上的论文发表数量,与中低层次大学之间的差距日益扩大(Ahmed & Wahed, 2016)。在许多观点看来,这种财富和权力的集中与社会公正分配不相容(Rawls, 1971)。这促使人们呼吁推动 AI 民主化,使每个人都能创造
such systems (Li, 2018; Knight, 2018; Kratsios, 2019; Riedl, 2020).
Such a process requires making deep learning technologies more widely available and easier to use via open source and open science so that more people can benefit from them. This reduces barriers to entry and increases access to AI while cutting down costs, ensuring model accuracy, and increasing participation and inclusion (Ahmed et al., 2020).
这样的系统(Li, 2018; Knight, 2018; Kratsios, 2019; Riedl, 2020)。这一过程需要通过开源和开放科学,使深度学习技术更广泛可用且更易于使用,从而让更多人从中受益。这降低了进入门槛,并增加了获取 AI 的机会,同时削减成本、确保模型准确性,并提高参与度和包容性(Ahmed et al., 2020)。
We now describe a case study that speaks to many of the issues that we have discussed in this chapter. In 2018, the popular media reported on a controversial facial analysis model—dubbed “gaydar AI” (Wang & Kosinski, 2018)—with sensationalist headlines like AI Can Tell If You’re Gay: Artificial Intelligence Predicts Sexuality From One Photo with Startling Accuracy (Ahmed, 2017); A Frightening AI Can Determine Whether a Person Is Gay With 91 Percent Accuracy (Matsakis, 2017); and Artificial Intelligence System Can Tell If You’re Gay (Fernandez, 2017).
There are a number of problems with this work. First, the training dataset was highly biased and unrepresentative, being comprised mostly of Caucasian images. Second, modeling and validation are also questionable, given the fluidity of gender and sexuality. Third, the most obvious use case for such a model is the targeted discrimination and persecution of LGBTQ+ individuals in countries where queerness is criminalized. Fourth, with regard to transparency, explainability, and value alignment more generally, the “gaydar” model appears to pick up on spurious correlations due to patterns in grooming, presentation, and lifestyle rather than facial structure, as the authors claimed (Agüera y Arcas et al., 2018). Fifth, with regard to data privacy, questions arise regarding the ethics of scraping “public” photos and sexual orientation labels from a dating website. Finally, with regard to scientific communication, the researchers communicated their results in a way that was sure to generate headlines: even the title of the paper is an overstatement of the model’s abilities: Deep Neural Networks Can Detect Sexual Orientation from Faces. (They cannot.)
It should also be apparent that a facial-analysis model for determining sexual orientation does nothing whatsoever to benefit the LGBTQ+ community. If it is to benefit society, the most important question is whether a particular study, experiment, model, application, or technology serves the interests of the community to which it pertains.
我们现在描述一个案例研究,它涉及我们在本章中讨论的许多问题。 2018 年,大众媒体报道了一个有争议的面部分析模型 —— 被称为“同性恋雷达 AI”(Wang & Kosinski, 2018) —— 并配以耸人听闻的标题,如 AI 能判断你是否是同性恋:人工智能仅凭一张照片就以惊人准确率预测性取向(Ahmed, 2017);令人恐惧的 AI 能以 91% 的准确率判断一个人是否是同性恋(Matsakis, 2017);以及人工智能系统能判断你是否是同性恋(Fernandez, 2017)。这项工作存在诸多问题。首先,训练数据集存在严重偏差且不具代表性,主要由白人图像构成。其次,鉴于性别与性取向的流动性,建模与验证也存在问题。第三,此类模型最明显的应用场景是有针对性的歧视和在将性少数身份定为犯罪的国家中对 LGBTQ + 个体的迫害。第四,就透明度、可解释性以及更广泛的价值对齐而言,“gaydar”模型似乎捕捉到了虚假相关性,这些相关性源于修饰、呈现和生活方式中的模式,而非作者所声称的面部结构(Agüera y Arcas 等, 2018)。第五,就数据隐私而言,从约会网站抓取“公开”照片和性取向标签的伦理问题引发了质疑。最后,就科学传播而言,研究人员以必定会引发头条报道的方式传播其结果:甚至论文标题也夸大了模型的能力:深层神经网络能够从面孔中检测性取向。(它们做不到。)
显然,用于判断性取向的面部分析模型对 LGBTQ + 群体没有任何益处。如果要造福社会,最重要的问题是,某项研究、实验、模型、应用或技术是否服务于其所属群体的利益。
This chapter has enumerated a number of ways that the objectives of AI systems can unintentionally, or through misuse, diverge from the values of humanity. We now argue that scientists are not neutral actors; their values inevitably impinge on their work.
Perhaps this is surprising. There is a broad belief that science is—or ought to be— objective. This is codified by the value-free ideal of science. Many would argue that machine learning is objective because algorithms are just mathematics. However, analogous to algorithmic bias (section 21.1.1), there are four stages at which the values of AI practitioners can affect their work (Reiss & Sprenger, 2017):
1. The choice of research problem.
2. Gathering evidence related to a research problem.
本章列举了 AI 系统的目标可能无意中或通过滥用而偏离人类价值观的多种方式。我们现在主张,科学家并非中立的行动者;他们的价值观不可避免地会影响其工作。
这或许令人惊讶。人们普遍认为科学是 —— 或者应当是 —— 客观的。这被表述为科学的价值中立理想。许多人会认为机器学习是客观的,因为算法不过是数学。然而,与算法偏差(21.1.1 节)类似, AI 从业者的价值观可能在四个阶段影响其工作(Reiss & Sprenger, 2017): 1. 研究问题的选择。 2. 收集与研究问题相关的证据。 3. 接受科
3. Accepting a scientific hypothesis as an answer to a problem.
4. Applying the results of scientific research.
It is perhaps uncontroversial that values play a significant role in the first and last of these stages. The initial selection of research problems and the choice of subsequent applications are influenced by the interests of scientists, institutions, and funding agencies. However, the value-free ideal of science prescribes minimizing the influence of moral, personal, social, political, and cultural values on the intervening scientific process. This idea presupposes the value-neutrality thesis, which suggests that scientists can (at least in principle) attend to stages (2) and (3) without making these value judgments. However, whether intentional or not, values are embedded in machine learning research. Most of these values would be classed as epistemic (e.g., performance, generalization, building on past work, efficiency, novelty). But deciding the set of values is itself a value-laden decision; few papers explicitly discuss societal need, and fewer still discuss potential negative impacts (Birhane et al., 2022b). Philosophers of science have
学假说作为问题的答案。 4. 应用科学研究成果。
这或许没有争议的是,价值在这些阶段中的第一个和最后一个阶段中起着重要作用。研究问题的最初选择以及后续应用的选择,受到科学家、机构和资助机构的利益影响。然而,科学的价值中立理想要求尽量减少道德、个人、社会、政治和文化价值对中间科学过程的影响。这一想法预设了价值中立论题,即科学家可以(至少原则上)从事阶段(2)和(3),而不作出这些价值判断。然而,无论是否有意为之,价值都被嵌入机器学习研究中。这些价值大多可被归类为认识论的价值(例如,性能、泛化、基于以往工作、效率、新颖性)。但确定价值集合本身就是一个带有价值色彩的决定;很少有论文明确讨论社会需求,而讨论潜在负面影响的论文更少(Birhane 等人, 2022b)。科学哲学家们已经
questioned whether the value-free ideal of science is attainable or desirable. For example, Longino (1990, 1996) argues that these epistemic values are not purely epistemic. Kitcher (2011a,b) argues that scientists don’t typically care about truth itself; instead, they pursue truths relevant to their goals and interests.
Machine learning depends on inductive inference and is hence prone to inductive risk. Models are only constrained at the training data points, and the curse of dimensionality means this is a tiny proportion of the input space; outputs can always be wrong, regardless of how much data we use to train the model. It follows that choosing to accept or reject a model prediction requires a value judgment: that the risks if we are wrong in acceptance are lower than the risks if we are wrong in rejection.
质疑科学的价值无涉理想是否可实现或是否可取。例如, Longino (1990, 1996)认为,这些认识论价值并非纯粹的认识论价值。 Kitcher (2011a,b)认为,科学家通常并不关心真理本身;相反,他们追求与其目标和利益相关的真理。
机器学习依赖归纳式推理,因此容易面临归纳式风险。模型仅在训练数据点上受到约束,而维数灾难意味着这仅占输入空间的极小比例;无论我们使用多少数据来训练模型,输出都可能出错。因此,选择接受或拒绝模型预测需要进行价值判断:即如果我们在接受预测时出错,其风险低于我们在拒绝预测时出错的风险。
Hence, the use of inductive inference implies that machine learning models are deeply value-laden (Johnson, 2022). In fact, if they were not, they would have no application: it is precisely because they are value-laden that they are useful. Thus, accepting that algorithms are used for ranking, sorting, filtering, recommending, categorizing, labeling, predicting, etc., in the real world implies that these processes will have real-world effects. As machine learning systems become increasingly commercialized and applied, they become more entrenched in the things we care about.
These insights have implications for researchers who believe that algorithms are somehow more objective than human decision-makers (and, therefore, ought to replace human decision-makers in areas where we think objectivity matters).
因此,使用归纳式推理意味着机器学习模型深深带有价值负载(Johnson, 2022)。事实上,如果它们不带有价值负载,它们就不会有任何应用:正是因为它们带有价值负载,它们才有用。因此,承认算法在现实世界中被用于排名、排序、过滤、推荐、分类、标签化、预测等,就意味着这些过程会产生现实世界的影响。随着机器学习系统日益商业化并得到应用,它们在我们所关心的事物中变得更加根深蒂固。
这些洞见对那些认为算法在某种程度上比人类决策者更客观(因此,在我们认为客观性很重要的领域,算法应当取代人类决策者)的研究人员具有启示意义。
It is easy to defer responsibility. Students and professionals who read this chapter might think their work is so far removed from the real world or a small part of a larger machine that their actions could not make a difference. However, this is a mistake. Researchers often have a choice about the projects to which they devote their time, the companies or institutions for which they work, the knowledge they seek, the social and intellectual circles in which they interact, and the way they communicate. Doing the right thing, whatever that may comprise, often takes the form of a social dilemma; the best outcomes depend upon cooperation, although it isn’t necessarily in any
individual’s interest to cooperate: responsible AI research is a collective action problem.
推卸责任很容易。阅读本章的学生和从业者可能会认为,自己的工作离现实世界太远,或者只是庞大机器中的一个小小部件,因此自己的行动无法产生任何影响。然而,这是一种误解。研究人员通常可以选择投入时间的项目、效力的公司或机构、追求的知识、交往的社交与学术圈子,以及沟通方式。
个人的利益:负责任的 AI 研究是一个集体行动问题。
One positive step is to communicate responsibly.
Misinformation spreads faster and persists more readily than the truth in many types of social networks (LaCroix et al., 2021; Ceylan et al., 2023). As such, it is important not to overstate machine learning systems’ abilities (see case study above) and to avoid misleading anthropomorphism. It is also important to be aware of the potential for the misapplication of machine learning techniques. For example, pseudoscientific practices like phrenology and physiognomy have found a surprising resurgence in AI (Stark & Hutson, 2022).
一个积极的步骤是负责任地进行沟通。在许多类型的社交网络中,错误信息比真相传播得更快、也更容易持续存在(LaCroix et al., 2021; Ceylan et al., 2023)。因此,重要的是不要夸大机器学习系统的能力(见上文案例研究),并避免误导性的拟人化。同样重要的是,要意识到机器学习技术被误用的潜在风险。例如,颅相学和面相学等伪科学实践在人工智能中出人意料地重新兴起(Stark & Hutson, 2022)。
A second positive step is to encourage diversity. When social groups are homogeneous (composed mainly of similar members) or homophilous (comprising members that tend to associate with similar others), the dominant group tends to have its conventions recapitulated and stabilized (O’Connor & Bruner, 2019). One way to mitigate systems of oppression is to ensure that diverse views are considered. This might be achieved through equity, diversity, inclusion, and accessibility initiatives (at an institutional level), participatory and community-based approaches to research (at the research level), and increased awareness of social, political, and moral issues (at an individual level).
The theory of standpoint epistemology (Harding, 1986) suggests that knowledge is socially situated (i.e., depends on one’s social position in society). Homogeneity in tech circles can give rise to biased tech (Noble, 2018; Eubanks, 2018; Benjamin, 2019; Broussard, 2023). Lack of diversity implies that the perspectives of the individuals who create these technologies will seep into the datasets, algorithms, and code as the default perspective. Broussard (2023) argues that because much technology is developed by able-bodied, white, cisgender, American men, that technology is optimized for able-bodied, white, cisgender, American men, the perspective of whom is taken as the status quo. Ensuring technologies benefit historically marginalized communities requires researchers to understand the needs, wants, and perspectives of those communities (Birhane et al., 2022a). Design justice and participatory- and community-based approaches to AI research contend that the communities affected by technologies should be actively involved in their design (Constanza-Chock, 2020).
第二个积极的步骤是鼓励多样性。当社会群体具有同质性(主要由相似成员组成)或同类相吸性(由倾向于与相似他人交往的成员组成)时,主导群体的惯例往往会被重复并固定下来(O’Connor & Bruner, 2019)。缓解压迫体系的一种方法是确保各种观点都得到考虑。这可以通过公平、多样性、包容性和无障碍倡议(在机构层面)、参与式和基于社区的研究方法(在研究层面),以及提高对社会、政治和道德问题的认识(在个人层面)来实现。
立场认识论理论(Harding, 1986)认为,知识具有社会情境性(即取决于个人在社会中的社会地位)。科技圈的同质性可能导致有偏差的技术(Noble, 2018; Eubanks, 2018; Benjamin, 2019; Broussard, 2023)。缺乏多样性意味着,创造这些技术的人的视角会作为默认视角渗入数据集、算法和代码中。 Broussard (2023)指出,由于许多技术是由身体健全、白人、顺性别、美国男性开发的,这些技术是针对身体健全、白人、顺性别、美国男性优化的,而他们的视角被视为现状。确保技术惠及历史上被边缘化的社区,要求研究者理解这些社区的需求、诉求和视角(Birhane et al., 2022a)。设计正义以及参与式和社区为本的人工智能研究方法主张,受技术影响的社区应积极参与其设计(Constanza-Chock, 2020)。
It is undeniable that AI will radically change society for better or worse.
However, optimistic visions of a future Utopian society driven by AI should be met with caution and a healthy dose of critical reflection. Many of the touted benefits of AI are beneficial only in certain contexts and only to a subset of society. For example, Green (2019) highlights that one project developed using AI to enhance police accountability and alternatives to incarceration and another developed to increase security through predictive policing are both advertised as “AI for Social Good.” Assigning this label is a value judgment that lacks any grounding principles; one community’s good is another’s harm.
When considering the potential for emerging technologies to benefit society, it is necessary to reflect on whether those benefits will be equally or equitably distributed. It is often assumed that the most technologically advanced solution is the best one— so-called technochauvinism (Broussard, 2018). However, many social issues arise from underlying social problems and do not warrant technological solutions.
不可否认,人工智能将彻底改变社会,无论好坏。然而,对于由人工智能驱动的未来乌托邦社会的乐观愿景,应当谨慎对待,并进行适度的批判性反思。许多被吹捧的人工智能优势仅在特定情境下有益,且仅惠及社会的一部分群体。例如, Green (2019) 指出,一个利用人工智能来加强警察问责制并发展监禁替代方案的项目,以及另一个通过预测性警务来增强安全的项目,都被宣传为“促进社会公益的人工智能”。赋予这一标签是一种缺乏任何基本原则的价值判断;一个社区的福祉可能是另一个社区的危害。
在考虑新兴技术造福社会的潜力时,必须反思这些益处是否会得到平等或公平的分配。人们常常认为最先进的技术解决方案就是最佳方案 —— 即所谓技术沙文主义(Broussard, 2018)。然而,许多社会问题源于深层社会问题,并不需要技术解决方案。本章中浮现了一些共同主题,我们希望
Some common themes emerged throughout this chapter, and we would like to impress four key points upon the reader: 1. Research in machine learning cannot avoid ethics. Historically, researchers could focus on fundamental aspects of their work in a controlled laboratory set- ting. However, this luxury is dwindling due to the vast economic incentives to commercialize AI and the degree to which academic work is funded by industry (see Abdalla & Abdalla, 2021); even theoretical studies may have social impacts,
so researchers must engage with the social and ethical dimensions of their work. 2. Even purely technical decisions can be value-laden. There is still a widely- held view that AI is fundamentally just mathematics and, therefore, it is “objec- tive,” and ethics are irrelevant. This assumption is not true when we consider the
creation of AI systems or their deployment.
s f 让读者铭记我们的要点: 1. 机器学习研究无法回避伦理问题。历史上,研究人员可以在受控实验室环境中专注于
其工作的基础方面。然而,由于将人工智能商业化的巨大经济激励以及学术研究受产业资助的程度(见 Abdalla & Abdalla, 2021),这种奢侈正在减少;甚至理论研究也可能产生
社会影响,因此研究人员必须正视其工作的社会与伦理维度。 2. 即使是纯技术决策也可能带有价值取向。人们仍然普遍认为, AI 从根本上只是数学,因此它是“客观的”,与伦理无关。当我们考虑 AI 系统的创建或部署时,这一假设
3. We should question the structures within which AI work takes place. Much research on AI ethics focuses on specific situations rather than questioning the larger social structures within which AI will be deployed. For example, there is considerable interest in ensuring algorithmic fairness, but it may not always be possible to instantiate conceptions of fairness, justice, or equity within extant social
and political structures. Therefore, technology is inherently political.
4. Social and ethical problems don’t necessarily require technical solutions. Many potential ethical problems surrounding AI technologies are primarily social and structural, so technical innovation alone cannot solve these problems; if scien- tists are to effect positive change with new technology, they must take a political
并不成立。 3. 我们应当质疑 AI 工作所处的结构。许多 AI 伦理研究聚焦于具体情境,而非质疑AI 将被部署于其中的更大社会结构。例如,人们非常关注确保算法公平,但在现存的社会和政治结构中,未必总能将公平、正义或平等的理念具体化。因此,技术本质
上是政治性的。 4. 社会与伦理问题不一定需要技术解决方案。围绕 AI 技术的许多潜在伦理问题主要是社会性和结构性的,因此仅靠技术创新无法解决这些问题;如果科学家要借助新技术促成积极变化,他们就必须采取政治
and moral position.
Where does this leave the average scientist? Perhaps with the following imperative: it is necessary to reflect upon the moral and social dimensions of one’s work. This might require actively engaging those communities that are likely to be most affected by new technologies, thus cultivating relationships between researchers and communities and empowering those communities. Likewise, it might involve engagement with the literature beyond one’s own discipline. For philosophical questions, the Stanford Encyclopedia of Philosophy is an invaluable resource. Interdisciplinary conferences are also useful in this regard. Leading work is published at both the Conference on Fairness, Accountability, and Transparency (FAccT) and the Conference on AI, Ethics, and Society (AIES).
以及道德立场。
这让普通科学家处于何种境地?也许可以归结为以下这一当务之急:有必要反思自身工作的道德与社会维度。这可能需要积极联系那些可能受新技术影响最大的社区,从而培育研究者与社区之间的关系,并赋能这些社区。同样,这也可能需要涉猎本学科以外的文献。对于哲学问题,斯坦福哲学百科全书是一项宝贵资源。跨学科学术会议在这方面也很有帮助。前沿成果发表在公平、问责与透明会议(FAccT)以及人工智能、伦理与社会会议(AIES)上。
This chapter considered the ethical implications of deep learning and AI. The value alignment problem is the task of ensuring that the objectives of AI systems are aligned with human objectives. Bias, explainability, artificial moral agency, and other topics can be viewed through this lens. AI can be intentionally misused, and this chapter detailed some ways this can happen. Progress in AI has further implications in areas as diverse as IP law and climate change.
Ethical AI is a collective action problem, and the chapter concludes with an appeal to scientists to consider the moral and ethical implications of their work. Every ethical issue is not within the control of every individual computer scientist. However, this does not imply that researchers have no responsibility whatsoever to consider—and mitigate where they can—the potential for misuse of the systems they create.
本章探讨了深度学习与人工智能的伦理影响。价值对齐问题是指确保人工智能系统的目标与人类目标保持一致的任务。偏差、可解释性、人工道德能动性及其他主题都可以透过这一视角来看待。人工智能可能被蓄意滥用,本章详述了其中一些可能的方式。人工智能的进展还会在知识产权法、气候变化等截然不同的领域产生进一步影响。
伦理人工智能是一个集体行动问题,本章最后呼吁科学家考虑其工作的道德与伦理影响。并非每一个伦理问题都在每一位个体计算机科学家的掌控之中。然而,这并不意味着研究人员完全没有任何责任去考虑 —— 并在力所能及之处加以缓解 —— 其所创建系统被滥用的潜在风险。