Auditing an algorithm from the outside

A platform's feed, an online price or a screening tool can be checked by people who never built it and cannot see inside it. Researchers, journalists and civil-society groups do this kind of checking.

Their methods differ in what access each one needs. Two reports from the Ada Lovelace Institute and one from the UK's digital regulators describe them.

Who carries out audits

Several UK regulators work together as the Digital Regulation Cooperation Forum (DRCF). In its paper on auditing algorithms, it says an organisation can appoint outside parties to audit its own system. Regulators, researchers and others also carry out audits "on their own initiative".

The DRCF adds, "Most audits led by researchers are undertaken without access to a company's data and algorithms." Those researchers judge a system by what comes out of it.

One word, two meanings

The Ada Lovelace Institute and DataKind UK found that people from different fields use "audit" to mean different things. Their report, Examining the Black Box, picks out two meanings.

A bias audit is "a targeted, non-comprehensive approach focused on assessing algorithmic systems for bias". Regulatory inspection is "a broad approach", checking a system against regulation or norms. Regulators or auditing professionals typically carry it out.

Six methods, and the access each needs

A later Ada Lovelace Institute report, published on 9 December 2021, compares six methods. It was written about online safety, and its authors describe each method like this:

The report notes that these methods "are pioneered by civil-society and academic groups, who routinely face challenges in implementing them".

Watching what comes out

When the auditor has no access to the system, the DRCF describes a "mystery shopping" approach. Auditors create accounts "with specifically curated characteristics" and test them on the live system. The DRCF calls this "an approach often used by researchers and journalists investigating algorithmic bias".

Its UK example comes from a regulator. The Advertising Standards Authority "created digital avatars to understand whether children were being served online ads for gambling".

What an output test can show

The DRCF calls this kind of check an empirical audit. It can show whether a system's outputs have a problem. It "does not generally reveal why those problems exist or how they can be resolved".

The forum sees it as a possible first step. A regulator might follow it with a technical audit, which looks at the data, code and methods inside.

Useful links