Monoculture (computer science)

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Monoculture" computer science – news · newspapers · books · scholar · JSTOR (July 2024) (Learn how and when to remove this message)

|

In computer science, a monoculture is a community of computers that all run identical software. All the computer systems in the community thus have the same vulnerabilities, and, like agricultural monocultures, are subject to catastrophic failure in the event of a successful attack.[1]

## Overview

[edit]

With the global trend of increased usage and reliance on computerized systems, some vendors supply solutions that are used throughout the industry (such as Microsoft Windows) - this forms algorithmic monocultures. Monocultures form naturally since they utilize economies of scale, where it is cheaper to manufacture and distribute a single solution - savings that are typically passed on to end-users. Furthermore, by being used by a large community means that bugs are typically discovered and addressed faster.

Like agricultural monocultures, algorithmic monocultures are not diverse, thus susceptible to correlated failures - a failure of many parts participating in the monoculture. In complete non-monocultures, where the outcome of all components are mutually independent, thus un-correlated. The chance of catastrophic event (failure of all the parts in the monoculture) is the multiplication of each component failure probability (exponentially decreasing).

On the other end, perfect monocultures are completely correlated, thus have a single point of failure. This means that the chance of a catastrophic event is typically higher, as a failure of a single component can have widespread ramifications.

## Examples

[edit]

Since operating systems are used in almost every workstation, they form monocultures. For example, Dan Geer has argued that Microsoft is a monoculture, since a majority of the overall number of workstations connected to the Internet are running versions of the Microsoft Windows operating system, many of which are vulnerable to the same attacks.

Large monocultures can also arise from software libraries, for example the Log4Shell exploit in the popular Log4j library estimated to affect hundreds of millions of devices.[2]

## Individual level concerns

[edit]

The concept is significant when discussing computer security and viruses, the main threat is exposure to security vulnerabilities. Since monocultures are not diverse, any vulnerability found exists in all the individual members of the monoculture increasing the risk of exploitation.[3] An example to that is exploit Wednesday in which after Windows security patches are released there is an increase exploitation events on not updated machines.

Clifford Stoll wrote in 1989 after dealing with the Morris worm:[4]

> A computer virus is specialized: a virus that works on an IBM PC cannot do anything to a Macintosh or a Unix computer. Similarly, the Arpanet virus could only strike at systems running Berkeley Unix. Computers running other operating systems—like AT&T Unix, VMS, or DOS—were totally immune.

> Diversity, then, works against viruses. If all the systems on the Arpanet ran Berkeley Unix, the virus would have disabled all fifty thousand of them. Instead, it infected only a couple thousand. Biological viruses are just as specialized: we can't catch the flu from dogs.

> Bureaucrats and managers will forever urge us to standardize on a single type of system: "Let's only use Sun workstations" or "Only buy IBM systems." Yet somehow our communities of computers are a diverse population—with Data General machines sitting next to Digital Vaxes; IBMs connected to Sonys. Like our neighborhoods, electronic communities thrive through diversity.

Another main concern is increased spread of algorithmic bias. In the light of increased usage of machine learning there is a growing awareness of the biases introduced by algorithms. The nature of monocultures exacerbate this problem since it makes the bias systemic and spreading unfair decisions.

## Social level concerns

[edit]

Monocultures may lead to Braess's like paradoxes in which introducing a "better option" (such as a more accurate algorithm) leads to suboptimal monocultural convergence - a monoculture whose correlated nature results in degraded overall quality of the decisions. Since monocultures form in areas of high-stakes decisions such as credit scoring and automated hiring, it is important to achieve optimal decision making.

This scenario can be studied through the lens of mechanism design, in which agents are choosing between a set of algorithms, some of which return correlated outputs. The overall impact of the decision making is measured by social welfare.

### Suboptimal monocultures convergence in automated hiring

[edit]

This section demonstrates the concern of suboptimal monoculture convergence using automated hiring as a case study. Hiring is the process of ranking a group of candidates and hiring the top-valued. In recent years automated hiring (automatically ranking candidates based on their interaction with an AI powered system) became popular.

As shown by Kleinberg,[5] under some assumptions, suboptimal automated hiring monocultures naturally form, namely, choosing the correlated algorithm is a dominant strategy, thus converging to monoculture that leads suboptimal social welfare.

#### Framework

[edit]

In this scenario we will consider two firms and a group  S {\displaystyle S} of  n {\displaystyle n} candidate with hidden utilities of  x i {\displaystyle x_{i}} . For hiring process - each firm will produce a noisy-ranking of the candidates, then each firm (in a random order) hires the first available candidate in their ranking. Each firm can choose to use either an independent human rankers or use a common algorithmic ranking.

The ranking algorithm  F θ {\displaystyle {\mathcal {F}}_{\theta }} is modeled as a noisy distribution above permutations of  S {\displaystyle S} parametrized by an accuracy parameter  θ > 0 {\displaystyle \theta >0} .

In order for  F θ {\displaystyle {\mathcal {F}}_{\theta }} to make sense it should satisfy these conditions:

1. Differentiability: The probability of each permutation  π {\displaystyle \pi } is continues and differentiable in  θ {\displaystyle \theta }
2. Asymptotic optimality: For the true ranking  π ∗ {\displaystyle \pi ^{*}} :  lim θ → ∞ P r [ π ∗ ] = 1 {\displaystyle \lim _{\theta \to \infty }Pr[\pi ^{*}]=1}
3. Monotonicity: The expected utility of the top-ranked candidate gets better as  θ {\displaystyle \theta } increases, even if any subset of  S {\displaystyle S} is removed.

These conditions state that a firm should always prefer higher values of  θ {\displaystyle \theta } , even if it is not first in the selection order.

Both the algorithmic and human ranking methods are of the form of  F θ {\displaystyle {\mathcal {F}}_{\theta }} and differ by the accuracy parameters  θ A , θ H {\displaystyle \theta _{A},\theta _{H}} . The algorithmic ranking output is corotated - it always outputs the same permutation. In contrast, a human ranked premutation is drawn from  F θ H {\displaystyle {\mathcal {F}}_{\theta _{H}}} independently for each of firms.

For  s 1 , s 2 ∈ { A , H } {\displaystyle s_{1},s_{2}\in \\{A,H\\}} strategies of the first and second firm, Social welfare  W s 1 , s 2 {\displaystyle W_{s_{1},s_{2}}} is defied as the sum of utilities of the hired candidates.

#### Conditions to suboptimal convergence

[edit]

The Braess's like paradox in this framework is suboptimal monocultures converges. That is, using the algorithmic ranking is dominant strategy thus converging toward monoculture yet it yields suboptimal welfare  W A , A < W H , H {\displaystyle W_{A,A}<W_{H,H}} (welfare in a world without algorithmic ranking is higher).

The main theorem proved by Kleinberg[5] of this model is that for any  θ H {\displaystyle \theta _{H}} and any noisy ranking family  F θ {\displaystyle {\mathcal {F}}_{\theta }} that satisfy these conditions:

1. Preference for the first position: For all  θ > 0 {\displaystyle \theta >0} if  π , σ ∼ F θ {\displaystyle \pi ,\sigma \sim {\mathcal {F}}_{\theta }} then  E [ π 1 − π 2 | π 1 ≠ σ 1 ] > 0 {\displaystyle \mathbb {E} [\pi _{1}-\pi _{2}|\pi _{1}\neq \sigma _{1}]>0} .
2. Preference for weaker competition: For all  θ 1 > θ 2 , σ ∼ F θ 1 a n d   π , τ ∼ F θ 2 : E [ π 1 ( − σ 1 ) ] < E [ π 1 ( − τ 1 ) ] {\displaystyle \theta _{1}>\theta _{2},\sigma \sim {\mathcal {F}}_{\theta _{1}}and\ \pi ,\tau \sim {\mathcal {F}}_{\theta _{2}}:\mathbb {E} [\pi _{1}^{(-\sigma _{1})}]<\mathbb {E} [\pi _{1}^{(-\tau _{1})}]} .

there exists a  θ A > θ H {\displaystyle \theta _{A}>\theta _{H}} such that both firms prefer using the sherd algorithmic ranking even though the social welfare is higher when both use the human evaluators. In other words - regardless of the accuracy of the human rankers there exists a more accurate algorithm whose introduction leads to suboptimal monoculture convergence.

The implications of this theorem is that under these conditions, firms will choose to use the algorithmic ranking even though that the correlated nature of algorithmic monocultures degrades total social welfare. Even though algorithmic rankings are more accurate.

The first condition on  F θ {\displaystyle {\mathcal {F}}_{\theta }} (Preference for the first position) is equivalent to a preference of firms to have independent ranking (in our setting - non algorithmic). This means that a firm should prefers independent ranking methods given all else is equal.

The intuition behind preference for weaker competition is that when a candidate is removed (hired by a different firm), the best remaining candidate is better in expectation when the removed candidate is chosen based on a less accurate ranking. Thus, a firm should always prefer that its competitors would be less accurate.

These conditions are met for  F θ {\displaystyle {\mathcal {F}}_{\theta }} that is the Mallows Model distributions and some types of random utility models (Gaussian or Laplacian noise).

## See also

[edit]

* Comparison of DOS operating systems
* Domination of the clones
* History of computing hardware (1960s–present)
* IBM PC compatible
* Open architecture
* PC DOS
* Software diversity
* Timeline of DOS operating systems
* Wintel
* Researcher lecture about suboptimal monocultures convergence

## References

[edit]

1. ^ Goth, G. (2003). "Addressing the monoculture". IEEE Security & Privacy. 1 (6): 8–10\. doi:10.1109/msecp.2003.1253561. ISSN 1540-7993. S2CID 16965084.
2. ^ Murphy, Hannah (2021-12-14). "Hackers launch more than 1.2m attacks through Log4J flaw". Financial Times. Retrieved 2021-12-17.
3. ^ Stamp, Mark (2004). "Risks of monoculture". Communications of the ACM. 47 (3): 120. doi:10.1145/971617.971650. ISSN 0001-0782. S2CID 16746625.
4. ^ Stoll, Clifford (1989). The Cuckoo's Egg. Doubleday. pp. 320–321. ISBN 978-0-307-81942-0.
5. ^ a b Kleinberg, Jon (2021). "Algorithmic monoculture and social welfare". Proceedings of the National Academy of Sciences. 118 (22). arXiv:2101.05853. Bibcode:2021PNAS..11818340K. doi:10.1073/pnas.2018340118. PMC 8179131. PMID 34035166.