Detection of algorithmic monoculture based on estimation of causal effect relating to computing algorithm
By constructing a structural causal model to identify and quantify causal effects, the method detects and mitigates algorithmic monoculture, enhancing decision quality and ethical integrity in computing systems.
Patent Information
- Application Number
- JP2024006940
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-01-19
- Publication Date
- 2024-10-15
AI Technical Summary
Algorithmic monoculture in computing systems, where multiple systems rely on the same machine learning algorithms, leads to reduced decision quality, ethical issues, and homogenization of results due to unintended consequences and popularity biases.
A method involving the construction of a structural causal model (SCM) to identify mediating and confounding variables, estimate causal effects, and determine if a computing algorithm suffers from algorithmic monoculture, thereby detecting bias.
The method effectively identifies and addresses algorithmic monoculture, disentangling ethical concerns and improving decision accuracy by quantifying natural, direct, and spurious effects associated with computing algorithms.
Smart Images

Figure 2024146744000001_ABST
Abstract
Description
[Technical field]
[0001] The embodiments discussed in this disclosure relate to the detection of algorithmic monoculture based on the inference of causal effects for computing algorithms. [Background technology]
[0002] Advances in the field of data science have led to the development of several machine learning (ML) algorithms. Such ML algorithms may be used for the development of artificial intelligence (AI) models, software applications, and the like. Often, a particular ML algorithm may be favored by users and developers for a certain application domain and thus adopted in several applications, which may lead to an algorithmic monoculture for that application domain. In computer science, monoculture may refer to computers running the same software or algorithms for a certain application domain. Thus, such computers may be susceptible to similar vulnerabilities that may result from the use of common software / algorithms. Often, ML algorithms may be applied in screening job applicants, lending assets to suitable borrowers, and the like. Thus, concerns may arise about the impact of algorithmic monoculture, where several decision makers may rely on the same ML algorithms for their decisions. The presence of algorithmic monoculture in the software used for decisions may reduce the overall quality of decisions made by decision makers. Furthermore, the presence of algorithmic monoculture may reduce the accuracy of decisions made due to unexpected outcomes even under normal circumstances. Moreover, algorithmic monoculture may result in homogenization of outcomes based on the generation of the same decisions on similar data sets, but the decisions may be incorrect. Thus, algorithmic monoculture may raise ethical issues.
[0003] The subject matter claimed in this disclosure is not limited to embodiments that solve any shortcomings or that operate only in environments such as those described above. Rather, this background is only provided to illustrate one example technology area where some embodiments described in this disclosure may be practiced. Summary of the Invention [Means for solving the problem]
[0004] According to an aspect of an embodiment, the method may include a set of operations that may include receiving a dataset associated with a domain. The set of operations may further include encoding domain knowledge information associated with the received dataset. The set of operations may further include constructing a structural causal model (SCM) associated with the dataset based on the encoded domain knowledge information for a computing algorithm related to the domain. The set of operations may further include identifying mediating and confounding variables associated with the computing algorithm based on the constructed SCM. The set of operations may further include estimating a causal effect associated with the computing algorithm based on the identified mediating and confounding variables. The set of operations may further include determining whether the computing algorithm suffers from algorithmic monoculture based on the estimated causal effect to detect bias in the computing algorithm. The set of operations may further include rendering information indicative of whether the computing algorithm suffers from algorithmic monoculture.
[0005] The object and advantages of the embodiments will be realized and achieved at least by the elements, features, and combinations particularly pointed out in the claims.
[0006] Both the foregoing general description and the following detailed description are provided by way of example and are explanatory only and are not restrictive of the invention, as claimed. [Brief description of the drawings]
[0007] Example embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings.
[0008] [Figure 1] FIG. 1 depicts an exemplary environment relevant to algorithmic monoculture detection based on inference of causal effects on computing algorithms.
[0009] [Diagram 2] FIG. 1 is a block diagram illustrating an exemplary electronic device for algorithmic monoculture detection based on inference of causal effects on computing algorithms.
[0010] [Diagram 3] Figure 1 shows the execution pipeline for algorithmic monoculture detection based on the estimation of causal effects on computing algorithms.
[0011] [Figure 4] FIG. 1 illustrates a flowchart of an exemplary method for estimating causal effects for a computing algorithm.
[0012] [Diagram 5] FIG. 1 illustrates a flowchart of an exemplary method for algorithmic monoculture detection based on inference of causal effects on computing algorithms.
[0013] All based on at least one embodiment described in this disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Some embodiments described in the present disclosure relate to methods and systems for detection of algorithmic monoculture based on estimation of causal effects for a computing algorithm. In the present disclosure, a dataset associated with a domain may be received. Then, domain knowledge information associated with the received dataset may be encoded. Based on the encoded domain knowledge information, a structural causal model (SCM) associated with the dataset may be constructed for a computing algorithm related to the domain. Based on the constructed SCM, mediating and confounding variables associated with the computing algorithm may be identified. Based on the identified mediating and confounding variables, a causal effect associated with the computing algorithm may be estimated. Then, to detect bias in the computing algorithm, it may be determined whether the computing algorithm suffers from algorithmic monoculture based on the estimated causal effect. Further, information indicating whether the computing algorithm suffers from algorithmic monoculture may be rendered.
[0015] According to one or more embodiments of the present disclosure, the technical field of artificial intelligence (AI) and machine learning models may be improved by configuring a computing system in such a manner that the computing system may detect algorithmic monoculture based on an estimation of a causal effect related to a computing algorithm. The computing system may receive a dataset associated with a domain. Further, the computing system may encode domain knowledge information associated with the received dataset. Based on the encoded domain knowledge information, the computing system may construct a structural causal model (SCM) associated with the dataset for a computing algorithm related to the domain. Based on the constructed SCM, the computing system may identify mediating and confounding variables associated with the computing algorithm. Based on the identified mediating and confounding variables, the computing system may estimate a causal effect related to the computing algorithm. Based on the estimated causal effect, the computing system may determine whether the computing algorithm suffers from algorithmic monoculture to detect bias in the computing algorithm. The computing system may then render information indicating whether the computing algorithm suffers from algorithmic monoculture.
[0016] In computer science, it can be understood that a monoculture can refer to computers running the same software for a certain application domain. Thus, such computers may be susceptible to similar vulnerabilities. For example, a particular ML algorithm may be used in several software applications, which may lead to an algorithmic monoculture. Such an ML algorithm may be applied to screen job applicants or evaluate borrowers before lending assets to them. Thus, concerns may arise about the impact of an algorithmic monoculture, where several decision makers may rely on the same ML algorithm. The existence of an algorithmic monoculture may reduce the overall quality of decisions made by decision makers and the accuracy of decisions made by decision makers. Furthermore, algorithmic monoculture may result in homogenization of results. Thus, algorithmic monoculture may raise ethical issues.
[0017] Conventional techniques of algorithmic monoculture detection may focus primarily on determining bias in datasets and algorithms. Such techniques may not determine the causes attributable to which models may have been reused. Thus, such conventional techniques of understanding bias in datasets may not determine the causes behind the prevalence of algorithmic monoculture. Thus, there is a need to mitigate the ethical issues associated with algorithmic monoculture. On the other hand, the disclosed system discloses a framework for the detection of bias in computing algorithms due to issues related to popularity bias, which may be influenced by factors such as the endorsement of a computing algorithm by celebrities, the familiarity of a computing algorithm as reflected by citations, etc. The disclosed system may identify the source of the ethical concern. Furthermore, the disclosed system may disentangle or separate the true ethical concerns from other acceptable issues such as software portability, open source code, etc., that may favor one computing algorithm over another.
[0018] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings.
[0019] FIG. 1 is a diagram depicting an example environment relevant to algorithmic monoculture detection based on inference of causal effects on computing algorithms, configured in accordance with at least one embodiment described in the present disclosure. Referring to FIG. 1, an environment 100 is shown. The environment 100 may include an electronic device 102, a database 104, a user end device 106, and a communication network 110. The electronic device 102, the database 104, and the user end device 106 may be communicatively coupled to one another via the communication network 110. The electronic device 102 may include a structural causal model (SCM) 108. Further shown in FIG. 1 is a user 114 that may be associated with and / or operate the electronic device 102 and / or the user end device 106. Further shown are a plurality of datasets 112 that may be associated with a plurality of application domains. The plurality of application domains may include a first application domain, a second application domain, ..., and an Nth application domain. The plurality of datasets 112 may include a first dataset 112A associated with a first application domain, a second dataset 112B associated with a second application domain, ..., and an Nth dataset 112N associated with an Nth application domain. The plurality of datasets 112 may be stored in the database 104.
[0020] The N datasets shown in Figure 1 are presented merely as an example. The plurality of datasets 112 may include only two or more than N datasets without departing from the scope of the present disclosure. For simplicity, only N datasets are shown in Figure 1. However, in some embodiments, there may be more than N datasets without limiting the scope of the present disclosure.
[0021] Although SCM 108 is shown as being included or stored on electronic device 102, SCM 108 may be deployed or stored on a separate device, such as a server (not shown in FIG. 1), database 104, or user end device 106, without departing from the scope of the present disclosure.
[0022] The electronic device 102 may include suitable logic, circuitry, interfaces, and / or code that may be configured to detect algorithmic monoculture based on inferences of causal effects related to computing algorithms, as described herein. In certain embodiments, the electronic device 102 may be configured to store a SCM 108, as shown in FIG.
[0023] The electronic device 102 may be configured to receive a dataset associated with a domain (e.g., the first dataset 112A). The electronic device 102 may be configured to encode domain knowledge information associated with the received dataset. The electronic device 102 may be configured to construct a structural causal model (SCM) 108 associated with the dataset based on the encoded domain knowledge information for a computing algorithm related to the domain. The electronic device 102 may be configured to identify mediating and confounding variables associated with the computing algorithm based on the constructed SCM 108. The electronic device 102 may be configured to estimate a causal effect associated with the computing algorithm based on the identified mediating and confounding variables. The electronic device 102 may be configured to determine whether the computing algorithm suffers from algorithmic monoculture based on the estimated causal effect to detect bias in the computing algorithm. The electronic device 102 may be configured to render information indicative of whether the computing algorithm suffers from algorithmic monoculture.
[0024] Examples of electronic device 102 may include, but are not limited to, causal analysis machines, meta-learning machines, mobile devices, desktop computers, laptops, computer workstations, computing devices, mainframe machines, servers such as cloud servers, and groups of servers. In one or more embodiments, electronic device 102 may include a user-end terminal device and a server communicatively coupled to the user-end terminal device. Electronic device 102 may be implemented using hardware including a processor, a microprocessor (e.g., for performing or controlling the execution of one or more operations), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). In some other cases, electronic device 102 may be implemented using a combination of hardware and software.
[0025] The database 104 may include appropriate logic, interfaces, and / or code that may be configured to store multiple data sets 112. In certain embodiments, the SCM 108 may be stored in the database 104. The database 104 may be derived from data from a relational or non-relational database, or a set of comma separated value (csv) files in traditional storage or big data storage.
[0026] The database 104 may be stored or cached on a device such as a server or electronic device 102. The device storing the database 104 may be configured to receive a query for one of the plurality of datasets 112 (e.g., the first dataset 112A) from the electronic device 102. In response, the database 104 device may be configured to retrieve and provide the queried dataset (e.g., the first dataset 112A) to the electronic device 102 based on the received query. In some embodiments, the database 104 may be hosted on multiple servers stored at the same location or different locations. The operations of the database 104 may be performed using hardware including a processor, a microprocessor (e.g., performing or controlling the execution of one or more operations), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). In some other examples, the database 104 may be implemented using software.
[0027] The user end device 106 may include suitable logic, circuitry, interfaces, and / or code that may be configured to render, on a display device (associated with the user end device 106), information indicating whether the computing algorithm is subject to algorithmic monoculture. For example, the user end device 106 may include web client software or email software through which the user end device 106 may receive the plurality of datasets 112. As an example, each of the plurality of datasets 112 may be a comma separated value (csv) data file. Additionally or alternatively, the user end device 106 may include spreadsheet software that may be used to generate or edit the plurality of datasets 112. The user end device 106 may upload the plurality of datasets 112 that have been generated, edited, or received to the electronic device 102. Additionally, the user end device 106 may upload the plurality of datasets 112 to the database 104 for storage. The user end device 106 may receive a first user input (e.g., from a user 114) indicating feature dependency information corresponding to the SCM 108. The user end device 106 can transmit the received first user input to the electronic device 102. Examples of the user end device 106 may include, but are not limited to, mobile devices, desktop computers, laptops, computer workstations, computing devices, mainframe machines, servers such as cloud servers, and groups of servers. Although in FIG. 1 the user end device 106 is separate from the electronic device 102, in some embodiments the user end device 106 may be integrated into the electronic device 102 without departing from the scope of the present disclosure.
[0028] The SCM 108 may include suitable logic, circuitry, interfaces, and / or code that may be configured to represent causal relationships between variables associated with a dataset of the plurality of datasets 112. For example, the SCM 108 may correspond to a directed acyclic graph that may represent variables associated with the first dataset 112A. The directed acyclic graph may indicate causal effects of a set of input variables associated with the first dataset 112A on a set of output variables associated with the first dataset 112A. In addition, the directed acyclic graph may further include a set of unobserved variables that affect the set of input variables associated with the first dataset.
[0029] In one embodiment, SCM 108 may be represented as a 4-tuple data structure. The four elements of SCM 108 may be a set of exogenous variables “U”, a set of endogenous or observed variables “V”, a set of structure functions “F”, and a distribution “P(u)” over the set of exogenous variables “U”. The set of structure functions “F” may include a first structure function “F1”, a second structure function “F2”, ..., and an Nth structure function “Fn”. The set of structure functions “F” may be a function for determining each variable in the set of endogenous or observed variables “V”. Each variable in the set of endogenous or observed variables “V” may be determined according to Equation (1).
number
[0030] For example, "pa(V i )" and "an(V i ) is the i-th endogenous variable, V i For SCM 108, outcome "Y" may be considered fair with respect to variable "X" based on the direct, indirect, and spurious effects of variable "X" on outcome "Y". The direct effect (DE) may be determined according to equation (2).
number
[0031] The indirect effect (IE) may be determined according to equation (3).
number
[0032] The spurious effect (SE) may be determined according to equation (4).
number
[0033] The communication network 110 may include a communication medium through which the electronic device 102 may communicate with a server(s) or device(s) that may store the database 104, and with the user end devices 106. Examples of the communication network 110 may include, but are not limited to, the Internet, a cloud network, a Wireless Fidelity (Wi-Fi) network, a personal area network (PAN), a local area network (LAN), a cellular network (such as a Long Term Evolution (or 4G) cellular network or a 5G cellular network), a satellite network (such as a network of low earth orbit satellites), and / or a metropolitan area network (MAN). The various devices in the environment 100 may be configured to connect to the communication network 110 according to a variety of wired and wireless communication protocols. Examples of such wired and wireless communication protocols may include, but are not limited to, at least one of Transmission Control Protocol and Internet Protocol (TCP / IP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), ZigBee, EDGE, IEEE 802.11, Light Fidelity (Li-Fi), 802.16, IEEE 802.11s, IEEE 802.11g, multi-hop communications, wireless access points (AP), device-to-device communications, cellular communications protocols, and / or Bluetooth (registered trademark) (BT) communications protocols, or combinations thereof.
[0034] During operation, the electronic device 102 may receive a data set associated with a domain. For example, a first data set 112A associated with a domain may be received. Details regarding receiving the data set are provided further in, for example, FIG. 3 (at 302).
[0035] The electronic device 102 may encode domain knowledge information associated with the received dataset. In an embodiment, the electronic device 102 may determine information associated with observed and unobserved variables associated with the domain. The electronic device 102 may identify input and output variables associated with the problem area associated with the domain. The electronic device 102 may then encode the domain knowledge information based on the determined information regarding the observed and unobserved variables and the identified input and output variables. Details regarding encoding the received dataset are provided further (at 304), for example, in FIG. 3.
[0036] The electronic device 102 may construct a structural causal model (SCM) 108 associated with the dataset based on the encoded domain knowledge information for a computing algorithm related to the domain. In one embodiment, the SCM 108 may correspond to a directed acyclic graph that can indicate interdependencies in variables associated with the computing algorithm based on the encoded domain knowledge information. More details regarding the SCM 108 are provided further (at 306), for example, in FIG. 3.
[0037] The electronic device 102 may identify mediator and confounding variables associated with the computing algorithm based on the constructed SCM 108. In an embodiment, a mediator variable may be a variable that may affect an input variable associated with the computing algorithm, and a confounder variable may be a variable that may affect the input and output variables associated with the computing algorithm. More details regarding mediator and confounding variables are provided further (at 308), for example, in FIG. 3.
[0038] The electronic device 102 may estimate a causal effect associated with the computing algorithm based on the identified mediating variables and the identified confounding variables. More details regarding estimating the causal effect are provided further (at 310), for example, in FIG.
[0039] The electronic device 102 may determine whether the computing algorithm suffers from algorithmic monoculture based on the estimated causal effects to detect bias in the computing algorithm. In an embodiment, the electronic device 102 may determine a natural direct effect (NDE), a natural indirect effect (NDE), and a spurious effect (SE) based on the estimated causal effects to detect bias in the computing algorithm. The electronic device 102 may determine whether the computing algorithm suffers from algorithmic monoculture further based on the determined natural direct effect, natural indirect effect, and spurious effect. More details regarding algorithmic monoculture are provided further in FIG. 3 (at 312), for example.
[0040] The electronic device 102 may render information indicating whether the computing algorithm is subject to algorithmic monoculture, where the electronic device 102 may control a display associated with the electronic device 102 to notify a user, such as user 114, if the computing algorithm is subject to algorithmic monoculture. More details regarding rendering the information are provided further in FIG. 3 (at 314), for example.
[0041] In this manner, the disclosed electronic device 102 may enable detection of bias in computing algorithms due to issues related to popularity bias, which may be influenced by factors such as endorsement of a computing algorithm by a celebrity, familiarity of a computing algorithm as reflected by citations, etc. The disclosed electronic device 102 may identify sources of ethical concern. Furthermore, the disclosed electronic device 102 may disentangle or separate purely ethical concerns from other acceptability issues such as software portability, open source code, etc., that may favor one computing algorithm over another.
[0042] Modifications, additions, or omissions may be made to FIG. 1 without departing from the scope of the present disclosure. For example, environment 100 may include more or fewer elements than those shown and described in this disclosure. For example, in some embodiments, environment 100 may include electronic device 102 but not database 104 and user end device 106. Additionally, in some embodiments, the functionality of each of database 104 and user end device 106 may be incorporated into electronic device 102 without departing from the scope of the present disclosure.
[0043] FIG. 2 is a block diagram illustrating an example electronic device for algorithmic monoculture detection based on inference of causal effects on computing algorithms, configured in accordance with at least one embodiment described in this disclosure. FIG. 2 is described with reference to elements of FIG. 1. With reference to FIG. 2, a block diagram 200 of a system 202 including an electronic device 102 is shown. The electronic device 102 may include a processor 204, a memory 206, a persistent data storage 208, an input / output (I / O) device 210, a display screen 212, a network interface 214, and an SCM 108.
[0044] The processor 204 may include appropriate logic, circuitry, and / or interfaces that may be configured to execute program instructions associated with different operations to be performed by the electronic device 102. For example, some of the operations may include receiving a dataset, encoding domain knowledge information, constructing an SCM, identifying confounding and mediating variables, estimating causal effects, determining algorithmic monoculture, and rendering information indicative of algorithmic monoculture. The processor 204 may include any suitable special-purpose or general-purpose computer, computing entity, or processing device, including various computer hardware or software modules, and may be configured to execute instructions stored in any applicable computer-readable storage medium. For example, the processor 204 may include a microprocessor, a microcontroller, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or any other digital or analog circuitry configured to interpret and / or execute program instructions and / or process data.
[0045] Although depicted as a single processor in FIG. 2, the processor 204 may include any number of processors configured to individually or collectively perform or direct the performance of any number of operations of the electronic device 102 as described in this disclosure. In addition, one or more of the processors may reside on one or more different electronic devices, such as different servers. In some embodiments, the processor 204 may be configured to interpret and / or execute program instructions and / or process data stored in the memory 206 and / or the persistent data storage 208. In some embodiments, the processor 204 may fetch program instructions from the persistent data storage 208 and load the program instructions into the memory 206. After the program instructions are loaded into the memory 206, the processor 204 may execute the program instructions. Some examples of the processor 204 may be a graphics processing unit (GPU), a central processing unit (CPU), a reduced instruction set computer (RISC) processor, an ASIC processor, a complex instruction set computer (CISC) processor, a co-processor, and / or combinations thereof.
[0046] Memory 206 may include appropriate logic, circuits, interfaces, and / or code that may be configured to store program instructions executable by processor 204. In certain embodiments, memory 206 may be configured to store an operating system and associated application-specific information. Memory 206 may include a computer-readable storage medium for carrying or storing computer-executable instructions or data structures. Such computer-readable storage media may include any available medium that may be accessed by a general-purpose or special-purpose computer, such as processor 204. By way of example and not limitation, such computer-readable storage media may include tangible or non-transitory computer-readable storage media, including random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disk read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory devices (e.g., solid-state memory devices), or any other storage medium that may be used to carry or store specific program code in the form of computer-executable instructions or data structures and that may be accessed by a general-purpose or special-purpose computer. Combinations of the above may also be included within the scope of computer-readable storage media. Computer-executable instructions may include, for example, instructions and data configured to cause the processor 204 to perform a certain operation or group of operations associated with the electronic device 102.
[0047] The persistent data storage 208 may include appropriate logic, circuits, interfaces, and / or code that may be configured to store program instructions executable by the processor 204, an operating system, and / or application-specific information, such as logs and application-specific databases. The persistent data storage 208 may include computer-readable storage media for carrying or storing computer-executable instructions or data structures. Such computer-readable storage media may include any available media that can be accessed by a general-purpose or special-purpose computer, such as the processor 204.
[0048] By way of example, and not limitation, such computer-readable storage media may include tangible or non-transitory computer-readable storage media, including compact disk read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices (e.g., hard disk drives (HDD)), flash memory devices (e.g., solid-state drives (SSD), secure digital (SD) cards, other solid-state memory devices), or any other storage medium that can be used to carry or store specific program code in the form of computer-executable instructions or data structures and that can be accessed by a general-purpose or special-purpose computer. Combinations of the above may also be included within the scope of computer-readable storage media. Computer-executable instructions may include, for example, instructions and data configured to cause the processor 204 to perform certain operations or groups of operations associated with the electronic device 102.
[0049] In some embodiments, either the memory 206, the persistent data storage 208, or a combination may store the received multiple data sets 112. Either the memory 206, the persistent data storage 208, or a combination thereof may further store the SCM 108.
[0050] The I / O device 210 may include appropriate logic, circuitry, interfaces, and / or code that may be configured to receive user input. For example, the I / O device 210 may receive a first user input corresponding to the feature dependency information. The I / O device 210 may render information on the display screen 212 that indicates whether the computing algorithm is subject to algorithmic monoculture. The I / O device 210 may include various input and output devices that may be configured to communicate with other components, such as the processor 204 and the network interface 214. Examples of input devices may include, but are not limited to, a touch screen, a keyboard, a mouse, a joystick, and / or a microphone. Examples of output devices may include, but are not limited to, a display (e.g., the display screen 212) and a speaker.
[0051] The display screen 212 may have appropriate logic, circuitry, interfaces, and / or code that may be configured to display information indicating whether the computing algorithm is subject to algorithmic monoculture. The display screen 212 may be configured to receive user input (e.g., a first user input) from the user 114. In such a case, the display screen 212 may be a touch screen for receiving the user input. The display screen 212 may be implemented through a number of known technologies, such as, but not limited to, liquid crystal display (LCD) display, light emitting diode (LED) display, plasma display, and / or organic LED (OLED) display technologies, and / or other display technologies.
[0052] The network interface 214 may have appropriate logic, circuitry, interfaces, and / or code that may be configured to establish communications between the electronic device 102, the server / device of the database 104, and the user end device 106 over the communications network 110. The network interface 214 may be implemented by using various known technologies to support wired or wireless communications of the electronic device 102 over the communications network 110. The network interface 214 may include, but is not limited to, an antenna, a radio frequency (RF) transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a coder-decoder (codec) chipset, a subscriber identity module (SIM) card, and / or a local buffer.
[0053] Modifications, additions, or omissions may be made to the example electronic device 102 without departing from the scope of the present disclosure. For example, in some embodiments, the example electronic device 102 may include any number of other components that may not be explicitly shown or described for the sake of brevity.
[0054] FIG. 3 illustrates an execution pipeline for algorithmic monoculture detection based on inference of causal effects on computing algorithms, according to an embodiment of the present disclosure. FIG. 3 is described in conjunction with elements from FIG. 1 and FIG. 2. With reference to FIG. 3, an execution pipeline 300 is illustrated. The exemplary execution pipeline 300 may include a set of operations that may be performed by one or more components of FIG. 1, such as the electronic device 102. The operations may include dataset reception 302, domain knowledge information encoding 304, SCM construction 306, confounding and mediating variable identification 308, causal effect estimation 310, algorithmic monoculture discrimination 312, and information rendering 314. The exemplary execution pipeline 300 may further include an SCM 316. The SCM 316 may include a first node 316A, a second node 316B, a third node 316C, a fourth node 316D, and a fifth node 316E. The set of operations may be performed by the electronic device 102 for algorithmic monoculture detection based on inference of causal effects with respect to a computing algorithm, as described herein.
[0055] At 302, an operation for receiving a data set may be performed. In an embodiment, the processor 204 may be configured to receive a data set associated with a domain. For example, the processor 204 may receive a first data set 112A that may correspond to a banking domain associated with a first location. In certain scenarios, the processor 204 may receive the first data set 112A from the database 104. Upon receiving the first data set 112A, the processor 204 may store the received first data set 112A in the memory 206 (and / or the persistent data storage 208). In another scenario, the multiple data sets 112 may be pre-stored in the memory 206 (and / or the persistent data storage 208), and the processor 204 may retrieve the pre-stored first data set 112A from the memory 206 (and / or the persistent data storage 208).
[0056] At 304, operations for domain knowledge encoding may be performed. In an embodiment, the processor 204 may be configured to encode domain knowledge information associated with the received dataset. Here, user input from an expert user, such as the user 114, may be received to encode the domain knowledge information. In an embodiment, the processor 204 may be configured to determine information associated with observed and unobserved variables associated with the domain. The processor 204 may be configured to identify input and output variables associated with a problem area associated with the domain based on the user input. The encoding of the domain knowledge information may be further based on the observed and unobserved variables and the determined information associated with the identified input and output variables. The observed variables may be measurements that may be directly observed and the unobserved variables may be variables that may be inferred indirectly from a mathematical model of the observed variables. An input variable, also known as a policy variable, exposure variable, or treatment variable, may be a variable whose effect on another variable may need to be determined. An output variable, also known as an outcome variable, may be a variable whose causal effect on an input variable may need to be determined. In one example, the problem area may be "determining the impact of poverty on person's anger problem." Note that poverty may be directly related to anger, i.e., poverty may drive a person to anger, and thus poverty may be considered an input variable and anger may be considered an output variable.
[0057] In an embodiment, the processor 204 may be configured to determine feature dependency information associated with a received dataset, such as the first dataset 112A, based on a user input. In an embodiment, the feature dependency information may include, but is not limited to, at least one of a set of input variables associated with the received dataset, a set of output variables associated with the received dataset, dependency information associated with the set of input variables and the set of output variables, or a confidence level associated with the dependency information. For example, the processor 204 may receive a user input that may include a set of input variables and a set of output variables associated with a received dataset, such as the first dataset 112A. As an example, if the received dataset, such as the first dataset 112A, is related to a banking domain, the set of input variables may include an income variable, an age variable, a gender variable, and a credit score variable. Further, in such a case, the set of output variables may include a loan decision variable. The received user input may further include dependency information associated with the set of input variables and the set of output variables. The dependency information may indicate whether an input variable of the set of input variables affects a particular output variable of the set of output variables. The received user input may also include a confidence level associated with the dependency information. The confidence level associated with the dependency information may indicate a level of certainty the user 114 may have with the dependency information. In other words, a higher confidence level may indicate that the user 114 may have a higher confidence that an input variable influences an output variable of the first dataset 112A. For example, the user 114 may have a 90% confidence level that an individual's income and credit score (two input variables) may influence a loan decision output (output variable) associated with the received dataset, such as the first dataset 112A corresponding to the banking domain.Thus, in this case, the dependency information may indicate that the income variable and the credit score variable may influence the loan decision variable and there may be a 90% confidence level associated with such dependency information.
[0058] The user input may be received from an expert user (e.g., user 114), who may have domain knowledge associated with one or more of the multiple application domains. For example, the expert user may be a financial consultant with knowledge of the banking domain. Also, since the user input may include a confidence level associated with the dependency information, a degree of reliability of the dependency information may be quantifiable. Thus, the user input (from the expert user) may be accurate and useful for determining the feature dependency information. The domain knowledge information associated with the received dataset may be encoded based on the received user input.
[0059] At 306, operations for constructing a SCM may be performed. In one embodiment, the processor 204 may be configured to construct a structural causal model (SCM) 316 associated with a dataset based on the encoded domain knowledge information for a computing algorithm related to the domain. The SCM 316 may be associated with a received dataset, such as the first dataset 112A. In one embodiment, the SCM 316 may correspond to a directed acyclic graph that may indicate interdependencies in variables associated with the computing algorithm based on the encoded domain knowledge information. The directed acyclic graph of the SCM 316 may include multiple nodes, such as a first set of nodes, a second set of nodes, and a third set of nodes. The directed acyclic graph may indicate a causal effect of a set of input variables associated with a received dataset, such as the first dataset 112A, on a set of output variables associated with a received dataset, such as the first dataset 112A.
[0060] As discussed, a domain expert or expert user (e.g., user 114) may be associated with a domain. A domain expert (or expert user) associated with a domain may have domain knowledge related to that particular domain. Based on the domain knowledge known to the expert user (e.g., user 114), the processor 204 may receive a first user input from a domain expert associated with the particular domain (e.g., from user 114), the first user input corresponding to feature dependency information. For example, the domain expert may provide user input that may include input variables and output variables associated with a received dataset of the domain expert's domain, dependencies between the input variables and the output variables, and confidence levels associated with those dependencies. The processor 204 may determine a SCM 316 for the domain based on the feature dependency information. In an embodiment, the user input may indicate nodes of the SCM 316 associated with the received dataset (e.g., first dataset 112A). The user input may further include dependency information between nodes of the SCM 316. Dependency information may be represented in SCM 316 by directed edges between nodes.
[0061] In an embodiment, the SCM 316 may be constructed based on at least one of a computing algorithm associated with the SCM 316, a number of citations of the computing algorithm, a confounding variable associated with the computing algorithm, a probability that the computing algorithm is used, a result of the computing algorithm, or a familiarity of the computing algorithm. The number of citations may indicate the total number of times that the computing algorithm may have been cited, for example, in a research journal. The probability that the computing algorithm is used may indicate the probability that the computing algorithm may have been used in applications related to the domain by different users across different platforms. The result of the computing algorithm may be the output of the computing algorithm. The familiarity of the computing algorithm may indicate whether the computing algorithm is novel or familiar to other users associated with applications related to the domain.
[0062] For example, referring to FIG. 3, the SCM 316 may include a first node 316A, a second node 316B, a third node 316C, a fourth node 316D, and a fifth node 316E. The first node 316A may indicate a citation count "C" of a computing algorithm "A", the second node 316B may indicate a familiarity "F" of the computing algorithm "A", and the third node 316C may indicate a computing algorithm "A". Further, the fourth node 316D may indicate an outcome "Y" of the computing algorithm "A", and the fifth node 316E may indicate a probability "P" that the computing algorithm "A" is used. Here, the computing algorithm "A" may be an input variable, and the outcome "Y" may be an output variable.
[0063] At block 308, an operation of mediator and confounder variable identification may be performed. In an embodiment, the processor 204 may be configured to identify mediator and confounder variables associated with the computing algorithm based on the constructed SCM 316. In an embodiment, a mediator variable may be a variable that may affect an input variable associated with the computing algorithm, and a confounder variable may be a variable that may affect an input variable and an output variable associated with the computing algorithm, i.e., outcome "Y". That is, a confounder variable may be a common cause of the input and output variables and may cause spurious correlations between the input and output variables.
[0064] For example, referring to FIG. 3, the citation count "C" and familiarity "F" may affect both the input variable, i.e., computing algorithm "A", and the output variable, i.e., outcome "Y". Thus, the citation count "C" and familiarity "F" may be confounding variables. For example, if computing algorithm "A" is well cited, a researcher may be motivated to use computing algorithm "A". Thus, the first node 316A is connected to the third node 316C. That is, the selection of the computing algorithm may be based on the citation count "C". It may be understood that the selection of computing algorithm "A" may affect the outcome. Thus, the third node 316C may be connected to the fourth node 316D. That is, the citation count "C" may affect the input variable and the output variable. Thus, the citation count "C" may be a confounding variable. Similarly, the familiarity "F" may be another confounding variable.
[0065] At block 310, an operation of causal effect estimation may be performed. In an embodiment, the processor 204 may be configured to estimate a causal effect associated with the computing algorithm based on the identified mediating variables and the identified confounding variables. The causal effect may represent a cause-effect relationship between the variables. That is, the causal effect may indicate that the cause of the occurrence of the outcome may be attributable to an influence on variables, such as input variables, mediating variables, and confounding variables.
[0066] In an embodiment, the processor 204 may be configured to determine one or more variables associated with disparate outcomes or disparate treatments associated with the computing algorithm. The processor 204 may be configured to calculate direct effects, indirect effects, and spurious effects of each of the determined one or more variables based on the SCM. The processor 204 may be configured to establish evidence of disparate outcomes or disparate treatments based on the calculated direct effects, indirect effects, and spurious effects.
[0067] It should be noted that heterogeneous treatment may depict how changes induced by a treatment, e.g., input variable "X", may affect outcome "Y". In other words, heterogeneous treatment may indicate how the criteria of SCM 316 may change based on changes in input variable "X". Thus, heterogeneous treatment may indicate a direct effect. Heterogeneous outcomes, also known as heterogeneous effects, may indicate how outcome "Y" may behave. Furthermore, heterogeneous outcomes may indicate inconsistencies regardless of treatment. Thus, heterogeneous outcomes may be the result of a computing algorithm. One or more variables associated with the heterogeneous treatment or heterogeneous outcome associated with a computing algorithm may be determined. For example, the one or more variables associated with the heterogeneous treatment may be computing algorithm "A". In another example, an unemployment variable may be a heterogeneous treatment for an outcome such as poverty, since unemployment may be directly related to poverty.
[0068] Once the one or more variables associated with disparate outcomes or disparate treatment are determined, the processor 204 may calculate direct, indirect, and spurious effects of each of the determined one or more variables based on the SCM 316. Direct effects may indicate how each of the one or more variables directly affect outcome "Y". Indirect effects may indicate how each of the one or more variables may indirectly affect outcome "Y". Thus, indirect effects may indicate how an intermediate variable, such as the probability "P" that computing algorithm "A" is used, may affect outcome "Y". Spurious effects may indicate whether there is any effect on outcome "Y" through a confounding variable, such as the number of citations "C". Once the calculated direct, indirect, and spurious effects are determined, the processor 204 may establish evidence of disparate outcomes or disparate treatment. Details regarding evidence of disparate outcomes or disparate treatment are further illustrated, for example, in FIG. 4.
[0069] At block 314, an operation of algorithmic monoculture determination may be performed. In an embodiment, the processor 204 may be configured to determine whether a computing algorithm suffers from algorithmic monoculture based on the estimated causal effect to detect bias in the computing algorithm. It may be understood that algorithmic monoculture may be the repeated use of a particular computing algorithm without identifying shortcomings associated with the computing algorithm. For example, just because a computing algorithm may have achieved state-of-the-art results, people may tend to use the computing algorithm without considering the appropriateness of the computing algorithm for certain scenarios. Thus, if the test dataset is out of distribution, i.e., if the training dataset and the test dataset are dramatically different, the use of the computing algorithm may lead to unexpected results. Once the estimated causal effect is determined, the processor 204 may determine whether the computing algorithm suffers from algorithmic monoculture. Determining whether a computing algorithm suffers from algorithmic monoculture is further described, for example, in FIG. 4.
[0070] At block 316, an operation of rendering information may be performed. In one embodiment, the processor 204 may be configured to render information indicating whether the computing algorithm is subject to algorithmic monoculture. The information indicating whether the computing algorithm is subject to algorithmic monoculture may be rendered on a display screen, such as display screen 212 of FIG. 2. Thus, the user 114 may be informed whether the computing algorithm is subject to algorithmic monoculture. Based on an indication that the computing algorithm is subject to algorithmic monoculture, the user 114 may choose to evaluate the computing algorithm in detail.
[0071] FIG. 4 illustrates a flowchart of an exemplary method for estimating causal effects for a computing algorithm, according to certain embodiments of the present disclosure. FIG. 4 is described with reference to elements from FIG. 1, FIG. 2, and FIG. 3. With reference to FIG. 4, a flowchart 400 is shown. The method illustrated in the flowchart 400 may begin at 402 and may be performed by any suitable system, apparatus, or device, such as the exemplary electronic device 102 of FIG. 1 or the processor 204 of FIG. 2. Although illustrated with discrete blocks, steps and operations associated with one or more of the blocks of the flowchart 400 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.
[0072] At block 402, natural direct effects, natural indirect effects, and spurious effects may be determined based on the estimated causal effects. A determination of whether the computing algorithm suffers from algorithmic monoculture may be further based on the determined natural direct effects, natural indirect effects, and spurious effects. In an embodiment, the processor 204 may be configured to determine natural direct effects, natural indirect effects, and spurious effects based on the estimated causal effects, and a determination of whether the computing algorithm suffers from algorithmic monoculture may be further based on the determined natural direct effects, natural indirect effects, and spurious effects.
[0073] In one example, let "X" and "Y" be a set of variables and "u" be the unit. x The potential response of a variable "Y" to an action (e.g., X=x), denoted by "(u)", is expressed as a set of simultaneous equations "F x " may be a solution for "Y" in which the mechanism for "X" can be replaced by "x". x "(u)" is a sub-model of SCM "M" x A counter-statement such as "If X had been x for unit U equal to u, then value Y would have been obtained" can be used to answer the potential response "Y". x It can be understood that this can be interpreted as "(u)".
[0074] Note that the total effect (TE) may be defined as the difference between the outcome "Y" when variable "X" is set to "x1" and the outcome "Y" when variable "X" is set to "x0". TE may be determined according to equation (5): TE x0,x1 (y)=P(y x1 )-P(y x0 ) (5) Here, "TE x0,x1"(y)" may be the combined effect of variable "X" being set to "x1" versus variable "X" being set to "x0". Additionally, the experimental spurious effect may be the average difference in outcome "Y" when variable "X" is equal to "x" due to an intervention, compared to simply observing "X" equal to "x" contrary to the fact. The experimental spurious effect may be determined according to equation (6): ExpSE x (y)=P(y x )-P(y x |x) (6) Here, "ExpSE x (y)" may be an experimental spurious effect.
[0075] Furthermore, note that the natural direct effect (NDE) may correspond to the difference in the change in outcome "Y" when an intervention sets variable "X" to "x1" while keeping intervening variable "W" the same (i.e., at whatever value intervening variable "W" would have taken if "X" had been set to "x0"), compared to setting variable "X" to "x0". The NDE may be determined according to equation (7): NDE x0,x1 (y)=P(y x1 ,w x0 )-P(y x0 ) (7) Here, "NDE x0,x1 (y) can be a natural direct effect. Natural indirect effects can follow a similar logic while reversing the source of variation, as stated in equation (8): NIE x1,x0 (y)=P(y x1 ,w x0 )-P(y x1 ) (8) Here, "NIE x1,x0 (y)" may be the natural indirect effect. The processor 204 may determine the spurious effect (SE), the natural direct effect (NDE), and the natural indirect effect (NIE) according to equations (6), (7), and (8), respectively.
[0076] At block 404, it may be determined whether the natural direct effect (NDE) is non-zero. In one embodiment, the processor 204 may be configured to determine whether the natural direct effect (NDE) is non-zero. As discussed above, the NDE may be determined from equation (7). Then, in one example, a comparator may be used to determine whether the natural direct effect (NDE) is non-zero. If the natural direct effect (NDE) is not zero, control may proceed to block 406.
[0077] At block 406, evidence of disparate treatment may be determined based on a determination that the natural direct effect is non-zero. In an embodiment, the processor 204 may be configured to determine evidence of disparate treatment based on a determination that the natural direct effect is non-zero. As discussed, disparate treatment may ensure that a protected attribute does not have a direct effect on an outcome. Thus, if the natural direct effect is not zero, evidence of disparate treatment may be determined. In one example, the NDE may be "0.54", as determined from equation (7). Thus, evidence of disparate treatment may be determined. Note that if the natural direct effect (NDE) is zero, control may be passed to block 408.
[0078] At block 408, it may be determined whether the natural indirect effect is non-zero. In an embodiment, the processor 204 may be configured to determine whether the natural indirect effect (NIE) is non-zero. As discussed, the NIE may be determined according to equation (8). The determined NIE may be compared to 0 to determine whether the determined NIE is non-zero. 0 If the determined NIE is non-zero, control may proceed to block 410.
[0079] At block 410, evidence of disparate treatment may be determined based on a determination that the natural direct effect is zero and the natural indirect effect is non-zero. In an embodiment, the processor 204 may be configured to determine evidence of disparate treatment based on a determination that the natural direct effect is zero and the natural indirect effect is non-zero. In one example, the NDE may be zero and the NIE may be "0.65", as determined from equations (7) and (8), respectively. Thus, evidence of disparate treatment may be determined. If the determined NIE is zero (and the NDE is also zero, as determined at block 404), control may proceed to block 412.
[0080] In block 412, it may be determined whether the spurious effect (SE) is zero. In an embodiment, the processor 204 may be configured to determine whether the spurious effect (SE) is non-zero. It may be understood that the SE may be generated due to a variation that may causally precede the input variable "X". That is, the SE may be due to the presence of an unseen factor, such as the presence of a confounding variable that may affect the input variable. As described, the SE may be determined according to equation (6). The determined SE may be checked to determine whether the SE is non-zero. If the SE is non-zero, control may be passed to block 416.
[0081] At block 414, evidence of disparate treatment may be determined based on the determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is non-zero. In an embodiment, the processor 204 may be configured to determine evidence of disparate treatment based on the determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is non-zero. In one example, the NDE may be zero, the NIE may be zero, and the SE may be "0.7", as determined from equations (6), (7), and (8), respectively. Thus, evidence of disparate treatment may be determined. However, if the SE is zero, control may be passed to block 416.
[0082] At block 416, the computing algorithm may be determined to be associated with no evidence of disparate treatment or no evidence of disparate outcomes based on the determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is zero. In an embodiment, the processor 204 may be configured to determine that the computing algorithm may be associated with no evidence of disparate treatment or no evidence of disparate outcomes based on the determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is zero. In one example, the SE, NDE, and NIE may be zero, as determined from equations (6), (7), and (8), respectively. Thus, there may be no evidence of disparate treatment or disparate outcomes for the computing algorithm.
[0083] In one example, the familiarity of a computing algorithm "F" may be "1" if the computing algorithm "A" is familiar to a user "u", such as user 114. The familiarity of a computing algorithm "F" may be "0" if the computing algorithm "A" is unfamiliar to a user "u", such as user 114. To calculate the NIE, NDE, and SE, all possible values of "F" may need to be considered for all users in factual and counterfactual scenarios. Furthermore, if algorithm "A" is used, "A" may be assigned as "1". If algorithm "A" is not used, "A" may be assigned as "0". Furthermore, the outcome "Y" may be assigned as "1" if the person is labeled as an impostor and "0" if not.
[0084] The expected values of "Y" for various conditions of "A" and "F" are shown in Table 1 below. [Table 1]
[0085] For example, referring to Table 1, when computing algorithm "A" is "1" and computing algorithm familiarity "F" is "1", the expected value of outcome "Y" is "0.8". When computing algorithm "A" is "1" and computing algorithm familiarity "F" is "0", the expected value of outcome "Y" may be "0.4". When computing algorithm "A" is "0" and computing algorithm familiarity "F" is "1", the expected value of outcome "Y" may be "0.3". When computing algorithm "A" is "0" and computing algorithm familiarity "F" is "0", the expected value of outcome "Y" may be "0.2".
[0086] The expected value of "Y" given the occurrence of event "A" equal to "a" is shown in Table 2 below. [Table 2]
[0087] For example, referring to Table 2, the expected value of outcome "Y" when computing algorithm "A" is not used is "0.4". The expected value of outcome "Y" when computing algorithm "A" is used is "0.75".
[0088] Please note that the data provided in Tables 1 and 2 may be taken merely as examples and should not be construed as limiting the present disclosure.
[0089] The NDE for this example can be determined based on substituting the values from Table 1 in equation (7), as shown in equation (9): NDE=(0.40-0.20)×(1-0.40)+(0.80-0.30)×0.40 (9)
[0090] Therefore, from equation (9), the NDE can be calculated as 0.32. The NIE for this example can be determined based on substituting the values from Tables 1 and 2 in equation (8), as shown in equation (10): NIE=(0.75-0.40)×(0.30-0.20) (10)
[0091] Therefore, from equation (10), the NIE can be calculated as 0.035. The TE for this example can be determined based on substituting the values from Tables 1 and 2 in equation (5), as shown in equation (11): TE=0.80×0.75+0.40×0.25-(0.30×0.40+0.20×0.60) (11)
[0092] Thus, from equation (11), TE can be calculated as 0.46. SE for this example can be determined based on substituting the values from Tables 1 and 2 in equation (6), as shown in equation (12): SE=0.46-0.35 (12)
[0093] Thus, from equation (12), SE may be determined to be “0.11”. Since NDE, NIE, and SE are all non-zero, evidence of disparate treatment and disparate effects may be identified. Thus, in this example, the computing algorithm may suffer from algorithmic monoculture leading to homogenization of results. Control may be passed to termination.
[0094] In this manner, the disclosed method and electronic device 102 may identify sources of algorithmic monoculture by leveraging causal graphs. Additionally, direct effects, indirect effects, and spurious effects associated with algorithmic monoculture may be covered. The disclosed method may be applicable to a variety of computing algorithms, which may be applicable to machine learning (ML) models, software applications, and the like. The disclosed method may address algorithmic monoculture based on identifying the effects of popularity bias that may lead to unethical decisions. That is, the disclosed method may show how familiarity associated with a computing algorithm, or the mere fact that a computing algorithm is in high demand, or when a computing algorithm is endorsed by leading researchers, may lead to unethical decisions. The techniques of the disclosed method may be software language or framework agnostic. That is, the disclosed method may be independent of the language in which a computing algorithm may have originally been proposed. For example, the disclosed method may be applied to computing algorithms originally written in any deep learning framework. Additionally, the disclosed methods and electronic devices 102 may be extended to quantify adverse effects associated with excessive use of hardware or physical goods so that appropriate action may be taken in hindsight or foresight, as appropriate.
[0095] Flowchart 400 is depicted as discrete operations, such as 402, 404, 406, 408, 410, 412, 414, and 416. However, in certain embodiments, such discrete operations may be further divided into additional operations, combined into fewer operations, or eliminated, depending on the particular implementation, without departing from the essence of the disclosed embodiments.
[0096] FIG. 5 illustrates a flowchart of an exemplary method for algorithmic monoculture detection based on inference of causal effects on computing algorithms, according to certain embodiments of the present disclosure. FIG. 5 is described in conjunction with elements from FIG. 1, FIG. 2, FIG. 3, and FIG. 4. With reference to FIG. 5, a flowchart 500 is shown. The method illustrated in the flowchart 500 may begin at 502 and may be performed by any suitable system, apparatus, or device, such as the exemplary electronic device 102 of FIG. 1 or the processor 204 of FIG. 2. Although illustrated in discrete blocks, steps and operations associated with one or more of the blocks of the flowchart 500 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.
[0097] At 502, a dataset may be received, e.g., a first dataset 112A associated with a domain. In an embodiment, the processor 204 may be configured to receive the dataset associated with the domain. Details regarding receiving the dataset are provided further in, e.g., FIG. 3 (at 302).
[0098] At 504, the domain knowledge information associated with the received data set may be encoded. In an embodiment, the processor 204 may be configured to encode the domain knowledge information associated with the received data set. Details regarding encoding the received data set are provided further (at 304), for example, in FIG. 3.
[0099] At 506, a structural causal model (SCM) 108 associated with the dataset may be constructed for a computing algorithm associated with the domain based on the encoded domain knowledge information. In one embodiment, the processor 204 may be configured to construct a structural causal model (SCM) 108 associated with the dataset for a computing algorithm associated with the domain based on the encoded domain knowledge information. More details regarding the SCM 108 are provided further (at 306), for example, in FIG. 3.
[0100] At 508, mediating and confounding variables associated with the computing algorithm may be identified based on the constructed SCM 108. In an embodiment, the processor 204 may be configured to identify mediating and confounding variables associated with the computing algorithm based on the constructed SCM 108. More details regarding mediating and confounding variables are provided further (at 308) in, for example, FIG.
[0101] At 510, a causal effect associated with the computing algorithm may be estimated based on the identified mediator variables and the identified confounder variables. In an embodiment, the processor 204 may be configured to estimate a causal effect associated with the computing algorithm based on the identified mediator variables and the identified confounder variables. More details regarding estimating the causal effect are provided further (at 310), for example, in FIG. 3.
[0102] At 512, it may be determined whether the computing algorithm suffers from algorithmic monoculture based on the estimated causal effects to detect bias in the computing algorithm. In an embodiment, the processor 204 may be configured to determine whether the computing algorithm suffers from algorithmic monoculture based on the estimated causal effects to detect bias in the computing algorithm. More details regarding algorithmic monoculture are provided further (at 312), for example, in FIG. 3.
[0103] At 514, information indicating whether the computing algorithm is subject to algorithmic monoculture may be rendered. In an embodiment, the processor 204 may be configured to render information indicating whether the computing algorithm is subject to algorithmic monoculture. More details regarding rendering the information are provided further (at 314), for example, in FIG. 3. Control may be passed to an end.
[0104] Flowchart 500 is depicted as discrete operations, such as 502, 504, 506, 508, 510, 512, and 514. However, in certain embodiments, such discrete operations may be further divided into additional operations, combined into fewer operations, or eliminated, depending on the particular implementation, without departing from the essence of the disclosed embodiments.
[0105] The disclosed electronic device 102 and the disclosed method may detect algorithmic bias based on the popularity of computing algorithms that may be used in machine learning models, software applications, and the like. Furthermore, the effects of software portability and related technical issues may be disentangled from algorithmic biases that may result from the familiarity and popularity of computing algorithms. Thus, ethical concerns such as homogenization of results may be mitigated. Furthermore, the disclosed method may be extended to uncover issues in domains where repeated use of a particular hardware or physical commodity may result in similar results or consequences. In one example, a particular fertilizer or farm machinery may have been used at location "A" to obtain better crop yields. A farmer associated with location "B" may use that particular fertilizer or farm machinery at location "B" simply based on the information that that particular fertilizer or farm machinery may have been used at location "A" to obtain better crop yields. A farmer associated with location "B" may not know whether that particular fertilizer or farm machinery should be used at location "B." That is, the particular fertilizer or agricultural machinery used by the farmer may be due to the spread of agricultural monocultures that may have the potential for catastrophic failure. The disclosed method can alleviate the aforementioned problems by quantifying the natural, direct, and spurious effects associated with the use of a particular fertilizer or agricultural machinery on crop yields, and better agricultural practices can be suggested.
[0106] Various embodiments of the disclosure may provide one or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause a system (e.g., exemplary electronic device 102) to perform operations. The operations may include receiving a dataset (e.g., first dataset 112A of FIG. 1 ) associated with a domain. The operations may further include encoding domain knowledge information associated with the received dataset (e.g., first dataset 112A of FIG. 1 ). The operations may further include constructing a structural causal model (SCM) (e.g., SCM 108 of FIG. 1 ) associated with the dataset (e.g., first dataset 112A of FIG. 1 ) based on the encoded domain knowledge information for a computing algorithm related to the domain. The operations may further include identifying mediating and confounding variables associated with the computing algorithm based on the constructed SCM (e.g., SCM 108 of FIG. 1 ). The operations may further include estimating a causal effect associated with the computing algorithm based on the identified mediating and confounding variables. The operations may further include determining whether the computing algorithm suffers from algorithmic monoculture based on the estimated causal effect to detect bias in the computing algorithm. The operations may further include rendering information indicative of whether the computing algorithm suffers from algorithmic monoculture.
[0107] As used in this disclosure, the term "module" or "component" may refer to a specific hardware implementation configured to perform the actions of the module or component, and / or a software object or software routine that may be stored on and / or executed by general-purpose hardware (e.g., computer-readable media, processing device, etc.) of the electronic device 102. In some embodiments, various components, modules, engines, and services described in this disclosure may be implemented as processes or objects (e.g., as separate threads) that run on the electronic device 102. Although some of the systems and methods described in this disclosure are generally described as being implemented in software (stored and / or executed on general-purpose hardware), specific hardware implementations or combinations of software and specific hardware implementations are also possible and contemplated. In this description, a "computing entity" may be any electronic device 102 defined previously in this disclosure, or a combination of any module or sub-module that runs on the electronic device 102.
[0108] The terms used in this disclosure, and particularly in the appended claims (e.g., the body of the appended claims), are generally intended as "open" terms (e.g., the term "including" should be interpreted as "including, but not limited to," the term "having" should be interpreted as "having at least...," the term "including" should be interpreted as "including, but not limited to," etc.).
[0109] In addition, if a particular number of claim recitations to be introduced is intended, such intent will be expressly recited in the claim, and in the absence of such recitation, such intent does not exist. For example, as an aid to understanding, the following appended claims may include the use of the introductory phrases "at least one" and "one or more" to introduce claim recitations. However, the use of such phrases should not be construed as implying that the introduction of a claim recitation with the indefinite article "a" or "an" limits any particular claim that includes such an introduced claim recitation to an embodiment that includes only one such recitation, even if the same claim includes the introductory phrase "one or more" or "at least one" and the indefinite article "a" or "an" (e.g., "a" and / or "an" should be construed to mean "at least one" or "one or more"), and the same applies to the use of definite articles used to introduce claim recitations.
[0110] In addition, even if a particular number of claim recitations is explicitly recited, one of ordinary skill in the art will recognize that such recitation should be interpreted to mean at least the recited number (e.g., the recitation "two recitations" without other modifiers means at least two recitations, or more than two recitations). Furthermore, when idiomatic expressions similar to "at least one of A, B, and C, etc." or "one or more of A, B, and C, etc." are used, such constructions are generally intended to include A only, B only, C only, A and B, A and C, B and C, or A, B, and C, etc.
[0111] Furthermore, any disjunctive word or phrase presenting two or more alternative terms, whether in this document, the claims, or the drawings, should be understood to contemplate the possibility of including one of those terms, either one of those terms, or both terms. For example, "A or B" should be understood to include the possibilities of "A" or "B" or "A and B."
[0112] All examples and conditional language described in this disclosure are intended for educational purposes to help the reader understand the concepts contributed to the advancement of the art by the inventors of this disclosure, and should be construed as not being limited to such specifically described examples and conditions. Although the embodiments of the present disclosure have been described in detail, various changes, substitutions, and alterations can be made thereto without departing from the spirit and scope of the present disclosure.
[0113] The following supplementary notes are further disclosed regarding the embodiments including the above examples. (Appendix 1) 16. A processor-implemented method comprising: receiving a dataset associated with the domain; encoding domain knowledge information associated with the received dataset; building a structural causal model (SCM) associated with the dataset based on the encoded domain knowledge information for a computing algorithm related to the domain; identifying mediating and confounding variables associated with said computing algorithm based on the constructed SCM; estimating a causal effect associated with said computing algorithm based on the identified mediating variables and the identified confounding variables; determining whether the computing algorithm suffers from algorithmic monoculture based on estimated causal effects to detect bias in the computing algorithm; and rendering information indicating whether the computing algorithm is subject to algorithmic monoculture. method. (Appendix 2) determining information associated with observed and unobserved variables associated with the domain; and identifying input and output variables associated with a problem area associated with the domain; the encoding of the domain knowledge information is further based on determined information associated with the observed variables and the unobserved variables and the identified input variables and the identified output variables. The method described in Appendix 1. (Appendix 3) 2. The method of claim 1, wherein the SCM is constructed based on at least one of the computing algorithm associated with the SCM, a number of citations of the computing algorithm, a confounding variable associated with the computing algorithm, a probability that the computing algorithm is used, an outcome of the computing algorithm, or a familiarity of the computing algorithm. (Appendix 4) 4. The method of claim 3, wherein the SCM corresponds to a directed acyclic graph that indicates interdependencies among variables associated with the computing algorithm based on the encoded domain knowledge information. (Appendix 5) determining one or more variables associated with disparate outcomes or disparate treatments associated with said computing algorithm; calculating direct effects, indirect effects, and spurious effects of each of the determined one or more variables based on the SCM; and establishing evidence of said disparate outcomes or said disparate treatment based on the calculated direct effects, indirect effects, and spurious effects. The method described in Appendix 3. (Appendix 6) 2. The method of claim 1, wherein the mediating variables are variables that influence input variables associated with the computing algorithm, and the confounding variables are variables that influence the input variables and output variables associated with the computing algorithm. (Appendix 7) determining natural direct effects, natural indirect effects, and spurious effects based on the estimated causal effects; the determination of whether the computing algorithm is subject to algorithmic monoculture is further based on the determined natural direct effects, natural indirect effects, and spurious effects; The method described in Appendix 1. (Appendix 8) determining whether the natural direct effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is non-zero. The method described in Appendix 7. (Appendix 9) determining whether the natural direct effect is zero; determining whether the natural indirect effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is zero and the natural indirect effect is non-zero. The method described in Appendix 7. (Appendix 10) determining whether the natural direct effect is zero; determining whether the natural indirect effect is zero; determining whether the spurious effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is non-zero. The method described in Appendix 7. (Appendix 11) determining whether the natural direct effect is zero; determining whether the natural indirect effect is zero; determining whether the spurious effect is zero; determining, based on a determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is zero, that the computing algorithm is not associated with evidence of disparate treatment or evidence of disparate outcomes. The method described in Appendix 7. (Appendix 12) One or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause an electronic device to perform an operation, the operation being: receiving a dataset associated with the domain; encoding domain knowledge information associated with the received dataset; building a structural causal model (SCM) associated with the dataset based on the encoded domain knowledge information for a computing algorithm related to the domain; identifying mediating and confounding variables associated with said computing algorithm based on the constructed SCM; estimating a causal effect associated with said computing algorithm based on the identified mediating variables and the identified confounding variables; determining whether the computing algorithm suffers from algorithmic monoculture based on estimated causal effects to detect bias in the computing algorithm; and rendering information indicating whether the computing algorithm is subject to algorithmic monoculture. One or more non-transitory computer-readable storage media. (Appendix 13) The action: determining information associated with observed and unobserved variables associated with the domain; and identifying input and output variables associated with a problem area associated with the domain; the encoding of the domain knowledge information is further based on determined information associated with the observed variables and the unobserved variables and the identified input variables and the identified output variables. 13. One or more non-transitory computer-readable storage media as described in Clause 12. (Appendix 14) 13. The one or more non-transitory computer-readable storage media of claim 12, wherein the SCM is constructed based on at least one of the computing algorithm associated with the SCM, the number of citations of the computing algorithm, confounding variables associated with the computing algorithm, the probability that the computing algorithm is used, the results of the computing algorithm, or the familiarity of the computing algorithm. (Appendix 15) 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the SCM corresponds to a directed acyclic graph illustrating interdependencies in variables of the computing algorithm based on the encoded domain knowledge information. (Appendix 16) The action: determining one or more variables associated with disparate outcomes or disparate treatments associated with said computing algorithm; calculating direct effects, indirect effects, and spurious effects of each of the determined one or more variables based on the SCM; and establishing evidence of said disparate outcomes or said disparate treatment based on the calculated direct effects, indirect effects, and spurious effects. 15. One or more non-transitory computer-readable storage media as described in Clause 14. (Appendix 17) 13. The one or more non-transitory computer-readable storage media of claim 12, wherein the mediating variables are variables that influence input variables associated with the computing algorithm, and the confounding variables are variables that influence the input variables and output variables associated with the computing algorithm. (Appendix 18) The action: determining natural direct effects, natural indirect effects, and spurious effects based on the estimated causal effects; the determination of whether the computing algorithm is subject to algorithmic monoculture is further based on the determined natural direct effects, natural indirect effects, and spurious effects; 13. One or more non-transitory computer-readable storage media as described in Clause 12. (Appendix 19) The action: determining whether the natural direct effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is non-zero. 19. One or more non-transitory computer-readable storage media as described in Clause 18. (Appendix 20) receiving a dataset associated with the domain; encoding domain knowledge information associated with the received dataset; constructing a structural causal model (SCM) associated with the dataset based on the encoded domain knowledge information for a computing algorithm related to the domain; identifying mediating and confounding variables associated with said computing algorithm based on the constructed SCM; estimating a causal effect associated with said computing algorithm based on the identified mediating variables and the identified confounding variables; determining whether the computing algorithm suffers from algorithmic monoculture based on estimated causal effects to detect bias in the computing algorithm; and rendering information indicating whether the computing algorithm is subject to algorithmic monoculture. Electronic devices. [Explanation of symbols]
[0114] 302 Dataset received 304 Encoding Domain Knowledge 306 SCM Construction 308 Identifying confounding and mediating variables 310 Estimation of Causal Effects 312 Identifying Algorithmic Monocultures 314 Information Rendering 402 Based on the estimated causal effects, determine the natural direct effects (NDEs), natural indirect effects (NIEs), and spurious effects (SEs). The determination of whether a computing algorithm suffers from algorithmic monoculture is further based on the determined natural direct effects, natural indirect effects, and spurious effects. 404 NDE=0? 406 Evidence of disparate treatment 408 NIE=0? 410 Evidence of disparate treatment 412 SE=0? 414 Evidence of disparate treatment 416 No evidence of disparate treatment or disparate outcomes 502 Domain-related datasets received 504 Encode domain knowledge information relevant to the received dataset 506 For domain-relevant computing algorithms, construct structural causal models (SCMs) relevant to the dataset based on the encoded domain knowledge information Based on the constructed SCM, we identified mediating and confounding variables related to the computing algorithm. 510 Estimate the causal effects associated with the computing algorithm based on the identified mediating variables and identified confounding variables 512 To detect bias in computing algorithms, we determine whether a computing algorithm suffers from algorithmic monoculture based on estimated causal effects. 514 Rendering Information Indicating Whether Computing Algorithms Are Subject to Algorithmic Monoculture
Claims
1. 16. A processor-implemented method comprising: receiving a dataset associated with a domain; encoding domain knowledge information associated with the received dataset; constructing a structural causal model (SCM) associated with the dataset based on encoded domain knowledge information for a computing algorithm related to the domain; identifying mediating and confounding variables associated with said computing algorithm based on the constructed SCM; estimating a causal effect associated with the computing algorithm based on the identified mediating variables and the identified confounding variables; determining whether the computing algorithm suffers from algorithmic monoculture based on estimated causal effects to detect bias in the computing algorithm; and rendering information indicating whether the computing algorithm is subject to algorithmic monoculture. method.
2. determining information associated with observed and unobserved variables associated with the domain; and identifying input and output variables associated with a problem area associated with the domain; the encoding of the domain knowledge information is further based on determined information associated with the observed variables and the unobserved variables and the identified input variables and the identified output variables. The method of claim 1.
3. 2. The method of claim 1, wherein the SCM is constructed based on at least one of the computing algorithm associated with the SCM, a number of citations of the computing algorithm, a confounding variable associated with the computing algorithm, a probability that the computing algorithm is used, an outcome of the computing algorithm, or a familiarity of the computing algorithm.
4. 4. The method of claim 3, wherein the SCM corresponds to a directed acyclic graph that indicates interdependencies among variables associated with the computing algorithm based on the encoded domain knowledge information.
5. determining one or more variables associated with disparate outcomes or disparate treatments associated with the computing algorithm; calculating direct effects, indirect effects, and spurious effects of each of the determined one or more variables based on the SCM; and establishing evidence of said disparate outcomes or said disparate treatment based on the calculated direct effects, indirect effects, and spurious effects. The method according to claim 3.
6. 2. The method of claim 1, wherein the mediating variables are variables that influence input variables associated with the computing algorithm, and the confounding variables are variables that influence the input variables and output variables associated with the computing algorithm.
7. determining natural direct effects, natural indirect effects, and spurious effects based on the estimated causal effects; the determination of whether the computing algorithm is subject to algorithmic monoculture is further based on the determined natural direct effects, natural indirect effects, and spurious effects. The method of claim 1.
8. determining whether the natural direct effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is non-zero. The method of claim 7.
9. determining whether the natural direct effect is zero; determining whether the natural indirect effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is zero and the natural indirect effect is non-zero. The method of claim 7.
10. determining whether the natural direct effect is zero; determining whether the natural indirect effect is zero; determining whether the spurious effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is non-zero. The method of claim 7.
11. determining whether the natural direct effect is zero; determining whether the natural indirect effect is zero; determining whether the spurious effect is zero; determining, based on a determination that the natural direct effect is zero, the natural indirect effect is zero, and the spurious effect is zero, that the computing algorithm is not associated with evidence of disparate treatment or evidence of disparate outcomes. The method of claim 7.
12. One or more non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause an electronic device to perform an operation, the operation being: receiving a dataset associated with a domain; encoding domain knowledge information associated with the received dataset; constructing a structural causal model (SCM) associated with the dataset based on encoded domain knowledge information for a computing algorithm related to the domain; identifying mediating and confounding variables associated with said computing algorithm based on the constructed SCM; estimating a causal effect associated with the computing algorithm based on the identified mediating variables and the identified confounding variables; determining whether the computing algorithm suffers from algorithmic monoculture based on estimated causal effects to detect bias in the computing algorithm; and rendering information indicating whether the computing algorithm is subject to algorithmic monoculture. One or more non-transitory computer-readable storage media.
13. The act of: determining information associated with observed and unobserved variables associated with the domain; and identifying input and output variables associated with a problem area associated with the domain; the encoding of the domain knowledge information is further based on determined information associated with the observed variables and the unobserved variables and the identified input variables and the identified output variables. One or more non-transitory computer-readable storage media as recited in claim 12.
14. 13. The one or more non-transitory computer-readable storage media of claim 12, wherein the SCM is constructed based on at least one of the computing algorithm associated with the SCM, a number of citations of the computing algorithm, a confounding variable associated with the computing algorithm, a probability that the computing algorithm is used, an outcome of the computing algorithm, or a familiarity of the computing algorithm.
15. 15. The one or more non-transitory computer-readable storage media of claim 14, wherein the SCM corresponds to a directed acyclic graph that indicates interdependencies in variables of the computing algorithm based on the encoded domain knowledge information.
16. The act of: determining one or more variables associated with disparate outcomes or disparate treatments associated with the computing algorithm; calculating direct effects, indirect effects, and spurious effects of each of the determined one or more variables based on the SCM; and establishing evidence of said disparate outcomes or said disparate treatment based on the calculated direct effects, indirect effects, and spurious effects.
15. One or more non-transitory computer-readable storage media as recited in claim 14.
17. 13. The one or more non-transitory computer-readable storage media of claim 12, wherein the mediating variables are variables that influence input variables associated with the computing algorithm, and the confounding variables are variables that influence the input variables and output variables associated with the computing algorithm.
18. The act of: determining natural direct effects, natural indirect effects, and spurious effects based on the estimated causal effects; the determination of whether the computing algorithm is subject to algorithmic monoculture is further based on the determined natural direct effects, natural indirect effects, and spurious effects. One or more non-transitory computer-readable storage media as recited in claim 12.
19. The act of: determining whether the natural direct effect is non-zero; determining evidence of disparate treatment based on a determination that the natural direct effect is non-zero.
20. One or more non-transitory computer-readable storage media as recited in claim 18.
20. receiving a dataset associated with the domain; encoding domain knowledge information associated with the received dataset; constructing a structural causal model (SCM) associated with the dataset based on encoded domain knowledge information for a computing algorithm related to the domain; identifying mediating and confounding variables associated with the computing algorithm based on the constructed SCM; estimating a causal effect associated with the computing algorithm based on the identified mediating variables and the identified confounding variables; determining whether the computing algorithm suffers from algorithmic monoculture based on estimated causal effects to detect bias in the computing algorithm; and rendering information indicative of whether the computing algorithm is subject to algorithmic monoculture. Electronic devices.
