版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Offline Contextual Bandits with High Probability Fairness GuaranteesBlossom Metevier1Stephen Giguere1Sarah Brockman1Ari Kobren1 Yuriy Brun1Emma Brunskill2Philip S. Thomas11College of Information and Computer Sciences University of Massachusetts Amherst2Computer Science Department Stanford University
2、AbstractWe present RobinHood, an offline contextual bandit algorithm designed to satisfy a broad family of fairness constraints. Our algorithm accepts multiple fairness definitions and allows users to construct their own unique fairness definitions for the problem at hand. We provide a theoretical a
3、nalysis of RobinHood, which includes a proof that it will not return an unfair solution with probability greater than a user-specified threshold. We validate our algorithm on three applications: a tutoring system in which we conduct a user study and consider multiple unique fairness definitions; a l
4、oan approval setting (using the Statlog German credit data set) in which well-known fairness definitions are applied; and criminal recidivism (using data released by ProPublica). In each setting, our algorithm is able to produce fair policies that achieve performance competitive with other offline a
5、nd online contextual bandit algorithms.1IntroductionMachine learning (ML) algorithms are increasingly being used in high-risk decision making settings, such as financial loan approval 7, hiring 37, medical diagnostics 12, and criminal sentencing 3. These algorithms are capable of unfair behavior, an
6、d when used to guide policy and practice, can cause significant harm. This is not merely hypotheticalML algorithms that influence criminal sentencing and credit risk assessment have already exhibited racially-biased behavior 3; 4. Prevention of unfair behavior by these algorithms remains an open and
7、 challenging problem 14; 24; 20. In this paper, we address issues of unfairness in the offline contextual bandit setting, providing a new algorithm, designed using the recently proposed Seldonian framework 47 and called RobinHood, which is capable of satisfying multiple fairness definitions with hig
8、h probability.Ensuring fairness in the bandit setting is an understudied problem. While extensive research has been devoted to studying fairness in classification, recent work has shown that the decisions made by fair ML algorithms can affect the well-being of a population over time 34. For example,
9、 criminal sentencing practices affect criminal recidivism rates, and loan approval strategies can change the amount of wealth and debt in a population. This delayed impact indicates that the feedback used for training these algorithms or defining fairness is more evaluative in nature, i.e., training
10、 samples quantify the (delayed) outcome of taking a particular action given a particular context. Therefore, it is important that fairness can be ensured for methods that are designed to handle evaluative feedback, such as contextual bandits. For example, instead of predicting the likelihood of viol
11、ent recidivism, these methods can consider what actions to take to minimize violent recidivism.Within the bandit setting, prior work has mostly focused on ensuring fairness in the online setting 24; 25; 35; 27, in which an agent learns the quality of different actions by interacting with the system
12、of interest. However, for many fairness applications, e.g., medical treatment suggestion 29, the online setting is not feasible, as direct interaction might be too costly, risky, or otherwise unrealistic. Instead,33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Can
13、ada.these problems can be framed in the offline bandit setting, where a finite amount of data is collected from the system over time and then used by the agent to construct a fair solution.Issues of ensuring fairness in the offline contextual bandit setting are similar to those in other ML settings.
14、 For instance, contextual bandit algorithms need to manage the trade-off between performance optimization and fairness. Ideally, these algorithms should also be capable of handling a large set of user-defined fairness criteria, as no single definition of fairness is appropriate for all problems 16.
15、Importantly, when it is not possible to return a fair solution, i.e., when fairness criteria are in conflict, or when too little data is present, the algorithm should indicate this to the user. We allow our algorithm, RobinHood, to return No Solution Found (NSF) in cases like this, and show that if
16、a fair solution does exist, the probability RobinHood returns NSF goes to zero as the amount of available data increases.In summary, we present the first Seldonian algorithm for contextual bandits. Our contributions are: 1) we provide an offline contextual bandit algorithm, called RobinHood, that al
17、lows users to mathematically specify their own notions of fairness, including combinations of fairness definitions already proposed by the ML community, and novel ones that may be unique to the application of interest; 2) we prove that RobinHood is (quasi-)Seldonian: that it is guaranteed to satisfy
18、 the fairness constraints defined by the user with high probability, 3) we prove that if a fair solution exists, as more data is provided to RobinHood, the probability it returns NSF goes to zero; and 4) we evaluate RobinHood on three applications: a tutoring system in which we conduct a user study
19、and consider multiple, unique fairness definitions, a loan approval setting in which well-known fairness definitions are applied, and criminal recidivism. Our work complements fairness literature for classification (e.g., 1; 8; 14; 50), contextual bandits (e.g., 24; 25; 35; 14; 27; 22), and reinforc
20、ement learning(e.g., 40; 49), as described in Section 7.2Contextual Bandits and Offline LearningThis section defines a contextual bandit, or agent, which iteratively interacts with a system. At eachiteration 1, 2, ., the agent is given a context, represented as a random variable X R forsome . We ass
21、ume that the contexts during different iterations are independent and identicallydistributed (i.i.d.) samples from some distribution, dX . Let A be the finite set of possible actions thatthe agent can select. The agents policy, : R A 0, 1 characterizes how the agent selectsactions given the current
22、context: (x, a) = Pr(A = a|X = x). Once the agent has chosen anaction, A, based on context X, it receives a stochastic real-valued reward, R. We assume that theconditional distribution of R given X and A is given by dR, i.e., R dR(X, A, ). The agentsgoal is to choose actions so as to maximize the ex
23、pected reward it receives.For concreteness, we use a loan approval problem as our running example. For each loan applicant (iteration ), a single action, i.e., whether or not the applicant should be given a loan, is chosen. Theresulting reward is a binary value: 1 if the loan is repaid and 1 otherwi
24、se. The agents goal usingthis reward function is to maximize the expected number of loan repayments.This paper focuses on enforcing fairness in the offline setting, where the agent only has access to a finite amount of logged data, D, collected from one or more different policies. Policies used to c
25、ollect logged data are known as behavior policies. For simplicity of notation, we consider a single behaviorpolicy, . D consists of the observed contexts, actions, and rewards: D = (X , A , R ), wheremb=1m is the number of iterations for which D was collected, and where A b(X, ).The goal in the offl
26、ine setting is to find a policy, 0, which maximizes r(0) := ER|A 0(X, )using samples from D only. Algorithms that solve this problem are called offline (or batch) contextual bandit algorithms. At the core of many offline contextual bandit algorithms is an off-policy estimator, r, which takes as inpu
27、ts D and a policy to be evaluated, e, in order to produce an estimate, r(e, D), of r(e). We call r(e, D) the off-policy reward of e.3Problem StatementFollowing the Seldonian framework for designing machine learning algorithms 47, our goal is to develop a fair offline contextual bandit algorithm that
28、 satisfies three conditions: 1) the algorithm accepts multiple user-defined fairness definitions, 2) the algorithm guarantees that the probability it returns a policy that violates each definition of fairness is bounded by a user-specified constant, and23) if a fair solution exists, the probability
29、that it returns a fair solution (other than NSF) converges to one as the amount of training data goes to infinity. The first condition is crucial because no single definition of fairness is appropriate for all problems 16. The second condition is equally important because it allows the user to speci
30、fy the necessary confidence level(s) for the application at hand. However, if an algorithm only satisfies the first two conditions, this does not mean it is qualitatively helpful. For example, we can construct an algorithm that always returns NSF instead of an actual solutionthis technically satisfi
31、es 1) and 2), but is effectively useless. Ideally, if a fair solutions exists, a fair algorithm should be able to (given enough data) eventually find and return it. We call this property consistency and show in Section 5 that RobinHood is consistent.Since condition 1) allows users to specify their o
32、wn notions of fairness, the set of fair policies is not known a priori. Therefore, the algorithm must reason about the fairness of policies using the available data. We consider a policy to be either fair or unfair with respect to condition 2). For example, we may say that a lending policy is fair i
33、f for all pairs of applicants who are identical in every way except race, the policy takes the same action, i.e., approving or denying the loan for both. This criterion is known as causal discrimination (with respect to race) 17; 30. Then, a policy that adheres to this definition is fair, and a poli
34、cy that violates this definition is unfair. The algorithm that produces a policy from data must ensure that, with high probability, it will produce a policy that is fair. Note that the setting in which each action is fair or unfair can be captured by this approach by defining a policy to be fair if
35、and only if the probability it produces unfair actions is bounded by a small constant.Formally, assume that policies are parameterized by a vector Rl, so that (X, , ) is theconditional distribution over action A given X for all Rl. Let D be the set of all possible loggeddata sets and D be the logged
36、 data (a random variable, and the only source of randomness in thesubsequent equations). Let a : D Rl be an offline contextual bandit algorithm, which takes asinput logged data and produces as output the parameters for a new policy.Let gi : Rl R be a user-supplied function, called a constraint objec
37、tive, that measures the fairnessof a policy. We adopt the convention that if gi() 0 then the policy with parameters is fair, andif gi() 0 then the policy with parameters is unfair. Our goal is to create a contextual banditalgorithm that enforces k behavioral constraints, where the ith constraint has
38、 the form: (1)Pr g (a(D) 0 1 ,iiwhere i 0, 1 is the required confidence level for the ith constraint. Together, the constraintobjective gi and the confidence level i constitute a behavioral constraint. Any algorithm that satisfies (1) is called Seldonian, or quasi-Seldonian if it relies on reasonabl
39、e but false assumptions, such as appeals to the central limit theorem 47.Some constraints might be impossible to enforce if, for example, the user provides conflicting constraints 28, or if i cannot be established given the amount of data available. Algorithms that provide high-probability guarantee
40、s are often very conservative 26; if only a small amount of data is available, it may be impossible for the algorithm to produce a policy that satisfies all behavioral constraints with sufficiently high confidence. In such cases, RobinHood returns NSF to indicate that it is unable to find a fair sol
41、ution. When this occurs, the user has control over what to do next. For some domains, deploying a known fair policy may be appropriate; for others, it might be more appropriate to issue a warning and deploy no policy. We define gi(NSF) = 0, so that NSF is always fair.Notice that the creation of an a
42、lgorithm that satisfies each of the three desired conditions is difficult. Condition 1) is difficult to enforce because the user must be provided with an interface that allows them to specify their desired definition of fairness without requiring the user to know the underlying data distribution. Co
43、ndition 2) is difficult to achieve because of the problem of multiple comparisons testing b solutions to see if they are fair equates to performing b hypothesis tests, which necessitates measures for avoiding the problems associated with running multiple hypothesis tests using a single data set. Con
44、dition 3) is particularly difficult to achieve in conjunction with the second condition the algorithm must carefully trade-off the maximizing expected reward with predictions about the outcomes of future hypothesis tests when picking the candidate solution that it considers returning.4RobinHood Algo
45、rithmThis section presents RobinHood, our fair bandit algorithm. At a high level, RobinHood allows users to specify their own notions of (un)fairness based on statistics related to the performance of a3potential solution. It then uses concentration inequalities 36 to calculate high-probability bound
46、s on these statistics. If these bounds satisfy the users fairness criteria, then the solution is returned.Constructing Constraint Objectives.Users can specify their desired fairness definitions withconstraint objectives, g , that accept a parameterized policy as input and produce a real-valuedkii=1m
47、easurement of fairness. For simplicity of notation, we remove the subscript i and discuss the construction of an arbitrary constraint objective, g. In our loan approval example, we might defineg() = CDR() , where CDR() indicates the causal discrimination rate of . However, computingg for this exampl
48、e requires knowledge of the underlying data distribution, which is typically unknown. In practice, each g might depend on distributions that are unavailable, so it is unreasonable to assume that the user can compute g() for an arbitrary g.Instead of explicitly requiring g(), we could instead assume
49、that the user is able to provide unbiased estimators for g. However, this is also limiting because it may be difficult to obtain unbiased estimators for certain constraint objectives, e.g., unbiased estimators of the standard deviation of a random variable can be challenging (or impossible) to const
50、ruct. Importantly, our algorithm does not explicitly require an unbiased estimate of g(). Instead, it computes high-probability upper bounds for g(). Even if the random variable of interest does not permit unbiased estimators, if it is a function of random variables for which unbiased estimators exi
51、st, then valid upper bounds can be computed.With this in mind, we propose a general interface in which the user can define g by combining dreal-valued base variables, z , using addition, subtraction, division, multiplication, absolutedjj=1value, maximum, inverse, and negation operators. Base variabl
52、es may also be multiplied and addedto constants. Instead of specifying the base variable zj() explicitly, we assume the user is able to provide an unbiased estimator, zj, of each base variable: zj() := EAverage(zj(, D). That is, each function zj takes a parameterized policy and a data set D and retu
53、rns an arbitrary number ofi.i.d. outputs, zj(, D). In the definition of zj, the average of the outputs is taken so zj() is a scalar.A base variable estimator zj for our loan approval example could be defined as an integer indicating whether or not causal discrimination is satisfied for applicable da
54、ta points in D. To do this, z(, D) should produce 1 if for points h and f that differ only by race, chooses the same action, and 0 otherwise. Defining z in this way gives us an unbiased estimate of the CDR. We could then define g() = z() , requiring the CDR to be within some value , with probability
55、 at least 1 .There may be some base variables that the user wants to use when defining fairness that do not have unbiased estimators, e.g., standard deviation. To handle these cases, we also allow the user to use base variables for which they can provide high-probability upper and lower bounds on z(
56、) given any and data D. As an example, in Appendix G we show how the user can define a base variable to be the largest possible expected reward for any policy with parameters in some set , i.e., max r().In summary, users can define constraint objectives that capture their desired definitions of fair
57、ness. Constraint objectives are mathematical expressions containing operators (including summation, division, and absolute value) and base variables (any variable, including constants, for which high- confidence upper and lower bounds can be computed). In Section 6, we construct constraint objective
58、s for different fairness definitions and find solutions that are fair with respect to these definitions. In Appendix A, we provide more examples of how to construct constraint objectives for other common fairness definitions used in the ML community.Pseudocode. RobinHood (Algorithm 1) has three steps. In the first step, it partitions the training
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年注册环保工程师考试环境工程案例分析试题及答案
- 中高频炉工岗前安全教育考核试卷含答案
- 污泥处理工操作水平模拟考核试卷含答案
- 中药药剂员岗前班组评比考核试卷含答案
- 水面保洁员安全生产基础知识强化考核试卷含答案
- 建筑五金制品制作工岗前综合应用考核试卷含答案
- 换罐清渣工诚信品质竞赛考核试卷含答案
- 轴承装配工安全文化模拟考核试卷含答案
- 钢材热处理工岗前理论知识考核试卷含答案
- 风电机组电气装调工岗中水平强化考核试卷含答案
- 《商洛市生态产品商标价值评估规范》
- 工厂车间更衣室管理制度
- 公共关系实践案例分析试题及答案
- 改良早期预警评分系统在急诊内科危重患者院内转运中的应用
- 经腋窝入路甲状腺手术
- 纸的力气大中班课件
- 2025年公务员考试《行测》模拟题及答案(详细解析)
- 《创新设计-TRIZ系统化创新教程》 课件 第15章 技术成熟度及其预测;第16章 技术系统进化定律和路线
- 部编版二年级下册一单元语文分层作业设计
- 【川教版】《生命 生态 安全》五上第4课《一片叶子落下来》课件
- 环评报告书下载
评论
0/150
提交评论