---
title: "Turning a Blind Eye — paper by Alvi et al. (2019)"
description: "How joint learning and unlearning removes unwanted information from facial embeddings, what its experiments establish, and where its claims stop."
canonical: "https://research.elamur.ai/free/en/papers/alvi-2019-turning-blind-eye-explicit-removal/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/alvi-2019-turning-blind-eye-explicit-removal/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / Turning a Blind Eye: Explicit Removal of Biases and Variation from Deep Neural Network Embeddings

# Turning a Blind Eye: Explicit Removal of Biases and Variation from Deep Neural Network Embeddings

Paper · 2019 · Mohsan Alvi, Andrew Zisserman and Christoffer Nellåker

**Authors:** Mohsan Alvi, [Andrew Zisserman](https://md.research.elamur.ai/free/en/authors/andrew-zisserman/) and Christoffer Nellåker · **Year:** 2019 · **Venue:** Lecture notes in computer science · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**211** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2890680318) · [Lecture notes in computer science](https://openalex.org/S106296714) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1809.02169)
- [DOI 10.1007/978-3-030-11009-3_34](https://doi.org/10.1007/978-3-030-11009-3_34)
- [arXiv 1809.02169](https://arxiv.org/abs/1809.02169)
- [OpenAlex](https://openalex.org/W2890680318)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Turning a Blind Eye: Explicit Removal of Biases and Variation from Deep Neural Network Embeddings

How joint learning and unlearning removes unwanted information from facial embeddings, what its experiments establish, and where its claims stop. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A network can make a useful prediction for an unreliable reason. An age classifier trained on celebrity photographs, for instance, may learn that women tend to be younger than men because that association appears in its training collection. Its predictions can then reflect the composition of the collection as well as the face in front of it. Turning a Blind Eye studies how to remove such unwanted associations from the internal representation used for classification. The aim is to preserve information needed for a chosen task while making specified attributes difficult to recover from that representation.

The authors call their procedure joint learning and unlearning, or JLU. A shared image-processing network supplies features to a primary classifier and several secondary classifiers. The primary classifier learns the task the system is meant to perform. Each secondary classifier tries to identify an attribute that the representation should stop revealing, such as gender, age, ancestral origin, or facial pose. Training alternates between strengthening those secondary classifiers and changing the shared features so that their predictions become uninformative. This arrangement matters because an ineffective secondary classifier would provide little evidence that information had actually disappeared.

The experiments show different outcomes depending on the relationship between the useful task and the unwanted attribute. For age classification on celebrity data, suppressing gender information made the age predictions for women and men more similar, with a small reduction in accuracy on a gender-balanced test set. Under deliberately extreme age–gender associations, suppressing age substantially improved gender classification: accuracy on the balanced test data changed from 70% to 86% for one training subset, and from 62% to 82% for the opposite association. Experiments involving several unwanted attributes also found that much of their recoverable information could be suppressed while retaining primary-task performance, although age classification incurred a larger cost in that setting.

The paper also introduces LAOFIW, a collection of 14,000 facial photographs grouped into broad ancestral-origin categories. Its purpose is partly to supply supervision for detecting and suppressing that attribute, even when the primary training collection has different labels. The broader contribution is therefore an approach to representation control: use separately labeled data to specify what an embedding should reveal and what it should conceal. The evidence supports substantial reductions in the information recovered by the tested classifiers. It does not establish that every possible classifier would fail, that every unwanted association has disappeared, or that the resulting decisions satisfy a general definition of fairness.

### Ideas worth borrowing

Separate usefulness from unwanted predictability. A representation should be assessed along more than the task it was built to solve. In this paper, age accuracy alone would miss the fact that gender remains recoverable from the age representation. Training an additional classifier makes that concern measurable. The same experimental pattern can be useful whenever a system should preserve one distinction while discarding another: define the desired prediction, define the unwanted prediction, and evaluate both. Its value is diagnostic as well as corrective, because it can reveal information that ordinary task evaluation never asks about.

Keep the detector competent. JLU does not simply make a secondary classifier perform badly and declare the unwanted attribute removed. It repeatedly trains that classifier against the current features before changing the features to confuse it. This gives the representation a moving challenge. If the secondary classifier were left weak or outdated, poor prediction might say more about its training than about the embedding. The reusable idea is to maintain a capable measurement instrument while optimizing against the property it measures. That principle applies to representation audits and other settings where a system is trained to conceal a specified signal.

Aim for uncertainty rather than systematic error. A classifier that reliably gives the wrong answer can still carry useful information about its target. The authors therefore encourage a uniform output distribution across the unwanted attribute’s classes. Each class should receive the same probability, rather than the correct class merely receiving a low score. This makes the intended behavior easier to state: the classifier should have no useful preference among its alternatives. For other applications, the lesson is to define the desired output distribution explicitly rather than treating every form of prediction failure as equivalent.

Use separate supervision for separate concerns. The primary task and the unwanted attributes do not need to be annotated together on every training image. The shared representation can receive primary-task supervision from one collection and secondary supervision from others. This is useful when an existing dataset was assembled for a narrow purpose and lacks the labels needed for a broader audit. It also turns data collection into a more modular activity: a collection labeled for an unwanted attribute can support several primary tasks. The qualification is that the secondary collection must still provide relevant evidence about the representation used on the primary data.

Test where the shortcut stops working. The extreme-bias experiments deliberately make age highly predictive of gender during training, then evaluate on data balanced across age and gender. That design exposes whether the classifier depends on the training association. Ordinary evaluation drawn from a similarly biased distribution could reward the shortcut instead. The transferable idea is to construct an evaluation setting in which the suspected nuisance variable no longer provides its familiar advantage. Such a test connects an internal intervention to a practical question about generalization.

Treat information removal as a measured tradeoff. Suppressing an attribute can improve accuracy, leave it approximately unchanged, or reduce it. The paper exhibits all of these possibilities across its tasks. A useful engineering practice is therefore to report primary performance beside the remaining predictability of each unwanted attribute. Neither result substitutes for the other. A representation that conceals everything is useless, while a highly accurate representation may still expose the very information an intervention was meant to remove.

### How Mova uses it

For Mova, a small transparent language system implemented in Rust, the paper offers a possible design and evaluation pattern rather than an established component. The facial experiments do not demonstrate behavior in language processing, and they provide no basis for claiming that JLU has already been implemented in Mova. The relevant connection is narrower: a system can explicitly name an unwanted source of variation, measure how much its representations reveal about it, and test whether reducing that signal preserves the intended linguistic function.

A plausible starting point would be a learned representation used for [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/). Mova could distinguish the label it is meant to predict from a separately annotated property that should not determine the result. A secondary classifier could then test whether that property is recoverable from the representation. This would borrow the paper’s measurement strategy before borrowing its training procedure. It would make sense only where Mova actually has a learned representation and suitable annotations; a symbolic rule or an explicit dictionary entry does not automatically become an appropriate target for this particular algorithm.

The use of separate datasets is especially relevant to a small system. A primary collection might have useful task labels but lack annotations for the suspected nuisance variable. JLU suggests a way to use another collection for that supervision without requiring every example to carry every label. In a language application, however, the relationship between the collections would need examination. If the secondary collection differs sharply in vocabulary, genre, or annotation practice, confusing its classifier might not remove the unwanted signal from the primary collection. The face experiments establish that separate collections can participate in this training arrangement; they do not settle every consequence of differences between collections.

Transparency would also require making the choice of unwanted information visible. The paper does not discover which attributes ought to be suppressed. Its authors select them according to the primary task. Mova could adopt that explicitness by recording the intended prediction, the attribute being discouraged, the supervision used to identify it, and the observed effect on useful performance. This would help a reader understand the intervention’s purpose. It would not turn the choice into a neutral technical fact: some linguistic distinctions may be irrelevant in one application and essential in another.

A further possibility is to use the paper’s evaluation logic without adding adversarial training. Mova could compare a representation before and after an ordinary design change, asking whether an unwanted attribute has become easier or harder to recover. It could also test primary behavior on data where a suspected shortcut no longer aligns with the answer. Those are concrete research directions inspired by the experiments. They would need their own language-specific evidence, rather than inheriting the facial results.

The strongest lesson for Mova concerns the scope of an explanation. If an auxiliary classifier stops recovering a property, the system should report that observation at the level at which it was tested. It should not claim that the property has become impossible to infer or that every downstream decision is fair. That restraint fits the paper’s most useful contribution: it makes a particular concern operational and testable. A transparent language system could benefit from the same discipline while keeping the distinction between an implemented safeguard, an experimental result, and a proposed extension clear.

### The problem and its context

The paper starts from a familiar advantage of [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/): a network can learn useful visual features directly from labeled examples. The same process creates a difficulty. The training labels specify what answer to produce, but they do not fully specify which visual evidence should support that answer. If several attributes correlate with the label, the learned representation may retain all of them. Some can be useful evidence; others can be accidents of how the dataset was collected.

Celebrity photographs provide the authors’ central example. Large face collections often contain people from entertainment-related sources. Within those collections, the age distribution of women can differ from that of men. An age classifier can exploit this association because it helps explain the training labels. The problem emerges when the association is treated as a reliable property of people more generally. A pattern that describes the sample can become an unreliable basis for decisions outside it.

The concern extends beyond a final prediction. A feature representation is the intermediate description of an input that later classifiers use. If that description contains gender, age, ancestral origin, and pose information, different downstream tasks may recover and use those attributes. Inspecting only the output of the original classifier leaves much of this information unexamined. The paper therefore places its intervention inside the network, at the shared representation, rather than merely adjusting a final decision rule.

This is also why [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) appears in the motivation. When a task has limited data, a network can begin with parameters learned on another collection. The authors identify possible problems at both stages: the new collection can introduce its own unwanted associations, while the starting network may already encode associations inherited from earlier training. A small task-specific dataset does not necessarily provide enough evidence to undo that inheritance. Representation learning is therefore influenced by more than the labels currently being optimized.

#### Accuracy does not reveal the reason for success

The paper connects this technical issue to [bias, fairness & safety](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/). It discusses automated decisions in settings such as employment, government, law, and medicine, where dependence on an inappropriate personal attribute can have serious consequences. Its motivating question is whether a network can be prevented from relying on specified information that should not govern a particular decision.

Ordinary accuracy cannot answer that question by itself. An accurate classifier may benefit from a correlation that happens to hold in its evaluation collection. If the evaluation data preserve the same relationship as the training data, the measurement can reward the unwanted dependence. Conversely, removing the dependence may reduce accuracy on that particular distribution even when it makes the system behave more consistently with the intended task.

The authors illustrate this concern through earlier work by Zhao and colleagues on gender associations in visual data. As the paper describes it, women appeared in kitchens more frequently than men, and a network learned to use the setting when identifying women. The association could support predictions within that collection while remaining an unreliable general indicator. The important point is the mismatch between the evidence rewarded by the dataset and the evidence intended by the application.

JLU addresses a specified part of that mismatch. It assumes that the researcher knows an attribute that should be treated as unwanted variation and can obtain supervision for it. The method then tries to make the representation uninformative about that attribute. It does not infer the ethical purpose of the application or automatically identify every problematic correlation. The human choice of what to suppress remains central.

#### The relationship to earlier representation learning

The paper situates its approach within image recognition built on convolutional networks, citing work including [Deep Residual Learning for Image Recognition](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/). These systems provide the broader setting: large labeled collections support learned feature extraction and classification. The proposed contribution concerns controlling what such learned features contain, rather than introducing the basic idea of learning visual representations.

Its closest methodological connection is domain adaptation. As described in the paper, domain adaptation seeks to reduce differences between the distribution used for learning and another distribution on which the system should work. Earlier approaches encouraged features that transferred across domains. JLU repurposes that logic: instead of discouraging a domain distinction alone, it discourages selected attributes of the input.

The authors particularly draw on Tzeng and colleagues’ work on transfer across tasks and domains. The relevant ingredient is a confusion objective that compares a classifier’s output with an uninformative distribution. This gives JLU a way to express the desired absence of useful secondary predictions. The paper extends this arrangement to several unwanted sources of variation associated with a primary task.

Other cited work addresses invariance through multitask learning. Yin and Liu’s pose-invariant face recognition approach is relevant both as an alternative arrangement and as an inspiration for future task weighting. The JLU authors also discuss changing the training distribution to reduce bias. Their objection is practical: some such methods require every training example to have labels for all the attributes being controlled. Existing collections often contain only the annotations needed for their original purpose.

JLU offers a different supervision arrangement. Age and gender labels can come from the celebrity collection, ancestral-origin labels from LAOFIW, and pose labels from AFLW. A shared representation connects those sources. This reduces the need for a single comprehensively annotated collection, although it introduces its own questions about how well the different sources cover the inputs of interest.

The paper also contrasts its confusion loss with gradient-reversal approaches discussed in work by Jia and colleagues and by Raff and Sylvester. In the authors’ account, those approaches update a network against an unwanted classification task. JLU instead specifies uniform predictions as the desired outcome. The distinction is conceptually important, but the experiments do not directly compare these alternatives under a matched setup. The paper provides a rationale for its choice rather than an experimental ranking of every related method.

### The method, step by step

JLU divides the learning problem into an intended task and a collection of attributes that should become difficult to predict. All tasks use a shared feature extractor. Separate classification heads interpret its output for their own labels. The primary head should remain effective; the secondary heads act as detectors of information that the representation is being trained to conceal.

The architecture is easiest to understand as a contest with a protected objective. The secondary classifiers continually try to recover their attributes from the current features. The representation is then changed to reduce their usefulness, while the primary classification loss resists changes that would destroy the information needed for the intended task. The result depends on balancing these pressures.

Learning useful features while suppressing selected attributes The steps in order.

#### Define what should remain predictable

The authors assume a labeled collection for the primary task:

```
𝒟ₚ = {(xᵢ, yᵢ)}ᵢ₌₁ⁿₚ
```

Here, 𝒟ₚ is the primary dataset, xᵢ is an input image, and yᵢ is its label. The index i identifies an example, and nₚ denotes the collection’s size. The label belongs to a task with K possible classes. Depending on the experiment, the intended prediction concerns age, gender, ancestral origin, or pose.

They also assume access to secondary collections:

```
𝒟ₛ = {𝒟ₘ}ₘ₌₁ᴹ
```

The symbol 𝒟ₛ denotes the set of secondary datasets. Each 𝒟ₘ supplies labels for an unwanted attribute, m identifies that attribute, and M is the number of secondary tasks. These datasets need not be the same collection as 𝒟ₚ. Their connection is architectural: their images pass through the same feature extractor.

That distinction is essential to the paper’s practical claim. A primary age-training image does not need accompanying ancestral-origin and pose annotations for those attributes to participate in training. Other images can supply those labels. What is shared is the feature-producing function, whose parameters receive learning signals from the different collections.

The paper denotes those shared parameters by θ_repr. The primary classifier has parameters θₚ, while the secondary classifier for attribute m has parameters θₘ. These symbols describe different parts of the network, not different labels attached to the same parameter set. Keeping that separation clear explains why training can strengthen a secondary classifier without simultaneously helping the representation preserve its information.

#### Train ordinary classifiers first

Both primary and secondary classification use the usual softmax classification loss:

```
L_softmax(x, y; θ_repr, θ꜀) = −∑ₖ₌₁ᴷ 𝟙[y = k] log pₖ
```

The input image is x, its correct label is y, and K is the number of classes. The parameters θ_repr produce the shared features, while θ꜀ belongs to the classifier for the task under consideration. The quantity pₖ is the probability assigned to class k after applying softmax to the classifier’s outputs.

The indicator 𝟙[y = k] selects the term corresponding to the correct class. The logarithm penalizes low probability for that class, and the minus sign makes improving its probability reduce the loss. The summation runs across all classes, although only the term selected by the label contributes for an individual example.

For the primary task, the authors call this loss Lₚ. For secondary attribute m, they call it Lₘ. The mathematical form is the same; the distinction lies in which labels are used and which parameters a training phase is allowed to change.

An ordinary primary classifier minimizes Lₚ and has no explicit reason to discard the secondary attributes. If gender helps predict age in the training collection, the representation may retain gender information. The secondary classifiers make that retention observable by learning to predict the attributes directly.

#### Specify what an uninformative prediction looks like

JLU adds a confusion loss for each unwanted attribute:

```
L_conf,m(xₘ, yₘ, θₘ; θ_repr) = −∑ₙₘ (1/nₘ) log pₙₘ
```

The image xₘ comes from the collection labeled for secondary task m, and yₘ is its associated label. The classifier parameters are θₘ, and θ_repr again denotes the shared feature parameters. The probabilities pₙₘ range over that secondary classifier’s output classes. The paper uses nₘ in this expression for its class-count and summation notation; the factor 1/nₘ assigns equal target weight to each class.

The target distribution is uniform. Unlike ordinary classification, the desired output does not depend on which secondary label is correct for this image. Though yₘ appears in the loss’s arguments, it does not select a favored class in the expression. Every class receives the same target probability.

This is the central distinction between learning and unlearning in the method. Ordinary classification asks for a confident preference that matches the label. Confusion asks the representation to make such a preference unavailable to the fixed secondary classifier. The objective is not to move examples into a consistently incorrect class. It is to remove the classifier’s ability to prefer any class on useful evidence.

The paper describes this as comparing a predicted distribution with a uniform distribution. In implementation, it reports using a Kullback–Leibler divergence approximation involving the softmax predictions and that uniform target. The text does not fully specify the divergence direction or establish equivalence between every possible interpretation of that description. The intended behavior is nonetheless explicit: secondary outputs should become uninformative.

#### Combine the secondary objectives

The individual confusion terms are averaged:

```
L_conf = (1/M) ∑ₘ₌₁ᴹ L_conf,m(xₘ, yₘ, θₘ; θ_repr)
```

Here, L_conf is the combined confusion loss and M is the number of unwanted attributes. Each term L_conf,m measures the departure of a secondary classifier’s predictions from the uniform target. Averaging gives the method a single confusion objective across the selected secondary tasks.

The ordinary secondary classification losses are combined separately:

```
Lₛ = ∑ₘ₌₁ᴹ βₘ Lₘ(xₘ, yₘ, θ_repr; θₘ)
```

The combined secondary classification loss is Lₛ. The coefficient βₘ controls the contribution from attribute m, and Lₘ is its supervised classification loss. These weights could, in principle, allow different secondary tasks to exert different influence. In the reported experiments, the authors set βₘ=1 for each secondary classifier.

The overall objective is written as:

```
L(xₚ, yₚ, xₛ, yₛ, θₚ, θₛ, θ_repr) = Lₚ(xₚ, yₚ; θ_repr, θₚ) + Lₛ + αL_conf
```

The primary input and label are xₚ and yₚ. The symbols xₛ and yₛ represent secondary inputs and labels, while θₛ collects the secondary classifier parameters. The primary classifier parameters are θₚ. The coefficient α determines how strongly the combined confusion objective affects representation learning relative to primary classification.

This expression gathers the ingredients, but it should not be read as an instruction to update every parameter against every term at once. The secondary classification and confusion losses have opposing purposes. One tries to extract an attribute from the features; the other tries to make that extraction fail. The training schedule gives those purposes separate parameter updates.

#### Alternate the opposing updates

During the secondary-classification phase, the representation is held fixed while the unwanted-attribute classifiers are trained. They learn whatever information the current features make available. In the next phase, those classifiers are held fixed while the shared representation is updated using the primary classification objective together with the weighted confusion objective.

This alternating schedule prevents an easy but unhelpful outcome: reducing the competence of the secondary head rather than changing the features. A poorly trained head could produce uncertain predictions even when the embedding contains a clear signal. Repeatedly fitting the head makes uncertainty more meaningful, because the representation must frustrate a classifier adapted to its current state.

The authors describe the procedure as finding the best secondary classifier for the current representation at each iteration. That is the intended optimization logic. The text does not provide a convergence analysis showing that every such fit reaches a global optimum. The method’s empirical claims rest on the trained classifiers and observed results.

Meanwhile, the primary loss supplies a counterweight. If removing an attribute also damages useful information, the primary objective resists that damage. This is why the method does not guarantee both complete suppression and unchanged accuracy. The representation has to negotiate objectives that may compete, and the experiments show that some primary tasks tolerate the intervention better than others.

#### Choose the network and training settings

The shared architecture is adapted from VGG-M and initialized using a network trained on VGG-Face. VGG-M contains five convolutional layers and three fully connected layers. The paper defines the representation as the portion extending from conv1 through fc7, with the task-specific classification layer following it.

The experiments freeze conv1–conv5. The authors report that updating those convolutional layers did not produce a significant improvement in their trials, while leaving them fixed made training faster. As a result, the definition of the representation is broader than the set of parameters actually changed during these experiments. The shared fully connected portion can adapt even though the earlier convolutional feature computation remains fixed.

Training uses stochastic gradient descent with a learning rate of 1×10⁻⁴. The task-specific classification layers receive learning rates increased by a factor of 10. The confusion coefficient is α=0.1, and every secondary classification coefficient is βₘ=1. The implementation uses MatConvNet.

Class imbalance is handled by weighting a class’s loss inversely to its relative frequency in the training data. This gives rarer labels more influence than they would receive under an unweighted average. It is separate from JLU’s confusion mechanism: class weighting changes how supervised errors contribute, while confusion changes which attributes the representation should make predictable.

#### Define the age task and the diagnostic scale

Age is treated as classification rather than continuous regression. The authors explain that their collection is relatively small for the latter approach. They create age categories spanning 5 years, with wider categories at the distribution’s ends. A prediction is counted as correct if it lies within one category of the true category, allowing tolerance around bin boundaries.

That scoring rule matters when interpreting age accuracy. A reported age-classification percentage is not an exact-year success rate. It reflects the paper’s category structure and its tolerance for nearby categories.

For the training-trajectory figures, secondary classifier results are transformed using:

```
a = 1 − e/e_max
```

The quantity e is the classifier’s mean-class error. The reference e_max is the error associated with random prediction. The transformed score is a: a perfect classifier reaches a=1, while random-level performance corresponds to a=0. The primary-task accuracy is left on its original scale.

This transformation lets secondary tasks with different class counts appear on a comparable diagnostic scale. It does not make their underlying classification problems identical, and it is not the paper’s measure of primary usefulness. Its purpose is to show how close each unwanted-attribute classifier comes to random behavior during training.

### Experiments and results

The experiments address related but distinct questions. Can JLU reduce an unwanted association already present in a realistic collection? Can it improve generalization when the training association is deliberately extreme? Can a shared representation suppress several attributes at once? These questions use overlapping facial tasks, but they should not be collapsed into a single claim that removing information always improves prediction.

#### The data and their preparation

The age and gender experiments use a cleaned version of IMDB facial data. For IMDb’s 100,000 most popular actors, the original collection links profile photos to information about gender and date of birth. The paper identifies a substantial source of label noise: a photograph on an actor’s profile can show someone else, so profile-level metadata can be attached to the wrong face.

Age labels also depend on photographic timestamps. Those timestamps can be unreliable, including cases in which the implied photograph date precedes the associated person’s birth. The authors therefore do not treat the original metadata as a sufficient reference.

They take an identity-balanced subset containing 150,000 images and obtain age and gender estimates through the Microsoft Azure Face API. An image is rejected if the API’s gender prediction conflicts with the IMDB gender label. Images are also removed when the estimated age and metadata-derived age disagree by more than 10 years. The resulting collection contains 60,000 images.

The authors assess this cleaning procedure by training gender classifiers using both the original subset and the cleaned collection, reserving 20% of the images for testing. The reported test accuracy is 75% before cleaning and 99% afterward. This supports the usefulness of the filtering for that classification task. It does not independently establish that all remaining labels are correct, especially because the filtering itself depends on another automated predictor.

For the bias experiments, the authors construct a held-out subset with equal numbers of women and men in every age category. This subset is excluded from training. Its role is to weaken the age–gender association at evaluation, allowing the experiments to test behavior without reproducing the training collection’s imbalance.

LAOFIW supplies ancestral-origin supervision. The collection begins with Bing image searches combining origin-related terms with terms for adults and children. The authors use 43 origin search terms and initially obtain 20,000 images. Duplicate removal uses Histogram of Oriented Gradients representations encoded with a Gaussian mixture procedure.

The remaining 14,000 images are manually assigned to broad categories covering sub-Saharan Africa, the Indian Subcontinent, Europe, and East Asia. The paper describes roughly balanced male and female representation and substantial variation in lighting, expression, age, and pose. More than a third of the photographs are non-frontal. These characteristics make the collection useful for testing a detector across varied images, although they do not establish comprehensive coverage of human ancestry.

Pose supervision comes from AFLW, categorized by yaw. Its labels distinguish left and right profiles, near-frontal views on either side, and frontal views. Non-frontal images are duplicated and flipped for augmentation. A class-balanced collection of 24,000 images is used for training, with a class-balanced set of 6,000 images reserved for testing.

#### Reducing gender dependence in age prediction

The first comparison trains an age-only baseline and a JLU version that also suppresses gender information. Both are evaluated on the gender-balanced age test subset. This arrangement isolates the effect of adding the unlearning objective within the chosen network and data preparation.

The baseline representation contains gender information. A visualization of its 4096-dimensional features using t-SNE shows separation associated with gender. The corresponding visualization after unlearning shows less pronounced separation. This is useful qualitative evidence, although a low-dimensional projection cannot by itself establish that all gender-related information has disappeared.

The output distributions provide a second view. On the balanced test set, the baseline tends to assign lower ages to women and higher ages to men. The paper relates that pattern to the training collection’s tendency towards younger women and older men. After JLU, the predicted age distributions for the genders become more similar.

Gender-balanced IMDB test data, divergence between predicted age distributions Gender unlearning makes the aggregate age predictions for women and men more similar.

**The numbers**

| System or setting | KL-divergence |
| --- | --- |
| Age-only baseline | 0.049 |
| JLU with gender unlearning (this paper) | 0.027 |

This divergence compares the age-prediction distributions for women and men. It is not a direct measure of how close either distribution is to the correct ages. A system could make similarly distributed errors for both groups. The value of the result is therefore specific: it shows reduced separation between these aggregate outputs under the paper’s evaluation conditions.

Primary accuracy changes slightly. The age-only baseline achieves 78.9% overall, with 78.4% for women and 79.4% for men. With gender unlearning, overall age accuracy is 78.1%, with 77.4% for women and 78.9% for men. These are category-based age results under the tolerance rule described earlier.

The experiment consequently shows a tradeoff instead of a universal accuracy benefit. The output distributions become more alike while useful age performance remains broadly similar but lower. The authors explicitly frame the objective as avoiding different treatment based on gender, instead of maximizing agreement with the age labels at any cost.

#### Breaking deliberately extreme associations

The next experiments make the suspected shortcut much stronger. In EB1, the training subset contains women aged 0-30 and men aged 40+. EB2 reverses the association, using women aged 40+ and men aged 0-30. A baseline learns gender alone, while JLU learns gender and simultaneously suppresses age information.

The paper’s descriptions of these subsets are not fully consistent. The experimental text gives those ranges and describes a 10-year buffer. A histogram caption instead describes the younger group as under 35 and the older group as above 45. Both versions express the same experimental purpose—separating the training genders by age—but they should not be silently treated as identical sampling specifications.

Evaluation again uses the balanced held-out data. This is the decisive part of the design. A classifier trained on the extreme association encounters combinations that the shortcut handles badly: age no longer provides the same guidance about the gender label.

EB1 training, gender accuracy on balanced IMDB test data Suppressing age improves gender prediction when the training association favors young women and older men.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Gender-only baseline | 70 |
| JLU with age unlearning (this paper) | 86 |

The EB1 baseline’s errors follow the direction expected from its training collection. Younger people are more often assigned the female label, and older people the male label. The JLU prediction distributions lie closer to the reference distribution. This connects the accuracy improvement to the suspected age shortcut rather than presenting the percentage alone.

EB2 training, gender accuracy on balanced IMDB test data Age unlearning also improves gender prediction when the training association is reversed.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Gender-only baseline | 62 |
| JLU with age unlearning (this paper) | 82 |

The reversed association matters scientifically. It shows that the benefit is not limited to correcting the particular direction found in the ordinary celebrity collection. Under EB2, the baseline more often assigns the male label to younger people and the female label to older people. JLU again brings the prediction distributions closer to the reference.

These results are the paper’s clearest evidence that removing a known unwanted attribute can improve useful generalization. The conditions are deliberately severe, and the evaluation collection is constructed to break the training relationship. They do not show how much improvement to expect for every naturally occurring bias, but they demonstrate the proposed mechanism in a setting designed to expose it.

#### Suppressing several attributes together

The final set of experiments rotates the primary task among age, ancestral origin, gender, and pose. For each choice, the remaining attributes are treated as unwanted variation. A baseline learns the primary task without JLU. The JLU system adds the secondary classifiers and confusion objectives.

The paper evaluates how well classifiers can recover each secondary attribute from the learned representation. Random prediction supplies a reference for an uninformative classifier. The reported percentages of information “unlearned” summarize reduction relative to the baseline’s performance above that reference. They should not be interpreted as a direct accounting of all information contained in the features.

With age as the primary task, the authors report primary accuracy 5% below the baseline. Ancestral-origin prediction is reduced to the random reference, while the reported removal figures for gender and pose are 88% and 91%. This is the strongest primary-performance cost among the multitask configurations.

With ancestral origin as the primary task, the reported primary accuracy improves by 1%. The corresponding removal figures are 92% for age, 98% for gender, and 86% for pose. This configuration shows that suppressing other attributes need not damage the intended classification under the tested conditions.

With gender as the primary task, primary accuracy matches the baseline. The reported removal figures are 94% for age, 98% for ancestral origin, and 95% for pose. These results extend the single-attribute age-suppression experiment by showing that several secondary objectives can participate together without a reported loss in the primary gender result.

With pose as the primary task, primary accuracy also matches the baseline. The reported removal figures are 93% for age, 78% for ancestral origin, and 86% for gender. The authors identify this configuration as the least successful overall, with ancestral-origin information especially difficult to suppress.

Across the multitask experiments, secondary prediction reaches within 5% of random performance in 9/12 cases. That is substantial evidence of reduced recoverability for the tested tasks and classifiers. The exceptions are equally informative: the same architecture, fixed weighting strategy, and training procedure do not make every attribute equally easy to conceal.

### What the ablations show

The paper does not present a broad component-by-component ablation study, but it offers controlled baseline comparisons, reversed-bias experiments, representation visualizations, prediction-distribution analyses, and training trajectories. These establish several aspects of the method while leaving others unresolved.

#### Adding unlearning changes more than aggregate accuracy

The age experiment compares a primary-only baseline with a system that additionally suppresses gender. If only the final age accuracy were reported, the intervention could look like a small degradation. The representation visualization and groupwise prediction distributions show why that reading would be incomplete.

Before unlearning, the age features visibly separate by gender in the projection, and the predicted ages differ systematically across the balanced groups. After unlearning, the visual separation is reduced and the output distributions align more closely. The combined evidence supports the interpretation that the intervention changes the representation’s relationship with gender, rather than merely changing the overall error count.

The analyses nonetheless address different levels. The visualization concerns a projection of the features. The divergence concerns aggregate predictions. Neither directly proves that each individual decision has become independent of gender. Their strength lies in agreement across complementary observations, with each retaining its own limits.

#### Reversing the shortcut strengthens the causal interpretation

EB1 and EB2 are particularly useful controlled comparisons because they reverse the association that a shortcut would exploit. In each case, the baseline’s behavior follows the direction of the training association. Age unlearning improves balanced-test performance under both arrangements.

This supports the proposed explanation that age is functioning as an unwanted predictor of gender. A single biased subset could leave more room for an explanation tied to its particular composition. Reversing the relationship and observing a corresponding reversal in baseline behavior makes the shortcut interpretation more convincing.

The experiments still compare complete training configurations. They do not isolate every possible effect of adding a secondary task, alternating updates, or changing optimization pressure. The evidence shows that the JLU configuration works better in these constructed settings, not that every ingredient’s separate contribution has been quantified.

#### Rotating the primary task reveals asymmetric difficulty

The multitask experiments change which attribute must remain useful and which must become uninformative. This is more revealing than testing a single fixed primary task. It shows that the same attribute can play different roles depending on the application, and that suppression difficulty depends on what information must be preserved alongside it.

Age stands out because its primary accuracy decreases when the other attributes are suppressed together. The other primary tasks retain their reported baseline accuracy or improve slightly. This suggests that the costs of invariance cannot be assumed constant across tasks.

The pose configuration reveals another asymmetry. It preserves primary performance, yet ancestral-origin information remains harder to remove than several other secondary attributes. Useful task performance and successful suppression are therefore separate outcomes. A configuration can do well on the former while remaining less successful on the latter.

#### The training curves support a dynamic account

The paper plots primary performance and transformed secondary performance during JLU training. The secondary scale makes random behavior correspond to the same reference across tasks. These trajectories are intended to show whether secondary predictability declines while the primary task remains useful.

This analysis fits the method’s alternating structure. The embedding changes, secondary classifiers adapt to it, and the embedding is challenged again. A final result alone would hide that interaction. The curves provide a qualitative view of whether the optimization moves towards the intended combination.

The paper does not supply enough numerical trajectory detail to infer precise convergence rates or compare training efficiency across every task. The plots support an account of changing predictability during training, instead of a general guarantee about optimization stability.

#### Several design choices remain unisolated

The authors report that updating the convolutional layers produced no significant improvement, motivating their decision to freeze them. This is a useful implementation observation, but the paper does not provide a detailed numerical comparison of frozen and fully updated networks.

Likewise, the reported experiments use a fixed confusion coefficient and equal secondary classification weights. They do not establish which settings would work best for each attribute. The authors’ suggestion of dynamic weighting is motivated by uneven suppression success, not validated by an additional experiment.

There is also no matched empirical comparison against gradient reversal or the other bias-reduction approaches discussed in the related work. The paper explains why uniform confusion is attractive, but its results should not be used to rank JLU above every alternative. The controlled evidence is strongest for adding JLU to the paper’s own primary-only baselines.

### Limitations

The paper’s conclusions are useful when kept at the level of its measurements. It demonstrates that selected facial attributes become much less recoverable by the trained secondary classifiers, and that this can preserve or improve useful performance. A broader claim that the representation has become completely free of a bias requires more evidence than these experiments provide.

#### Limits acknowledged by the authors

The authors explicitly observe that unwanted attributes differ in how readily they can be removed. The multitask pose setting is less successful, especially for ancestral origin. This matters because it rules out a simple interpretation in which adding a confusion objective automatically produces the same degree of invariance for every task.

They suggest adjusting the weights of the secondary objectives to reflect these differences. They also propose a dynamic weighting approach, drawing on the earlier multitask work they cite. Such a scheme could change the relative pressure exerted by each attribute as training progresses. It remains a proposed improvement instead of a demonstrated part of JLU’s reported results.

The age experiments also make the cost to useful prediction visible. Suppression can lower primary accuracy, and the authors do not hide that tradeoff. In the ordinary age experiment, they emphasize similarity of treatment across genders instead of insisting on perfect correspondence with the age labels.

The paper further acknowledges noisy supervision in the original celebrity collection. Its cleaning procedure is a response to that problem. The need for extensive filtering is itself a limitation on what could be learned from the unprocessed metadata and on how straightforward it is to obtain reliable facial labels.

#### Classifier failure is not an information-theoretic guarantee

A careful reader should distinguish failure of the tested classifier from impossibility of recovery. A secondary head may approach random performance because the representation has lost useful signal, but it may also be unable to exploit information encoded in a form that its architecture or training does not uncover.

Alternating training addresses this concern by repeatedly strengthening the secondary classifiers. It is a better test than observing an arbitrary weak classifier fail. It still does not examine every possible decoder or prove that the attribute is absent in an absolute sense.

The reported removal percentages inherit this limitation. They summarize changes in classification performance relative to a random reference. They are not measurements of the fraction of every relevant signal erased from the embedding. The paper’s language of blindness is best understood as an operational objective supported by specific classifiers and tests.

#### Similar output distributions do not settle individual behavior

The divergence between men’s and women’s age-prediction distributions is informative because the test collection is balanced within age categories. It helps expose a systematic output difference that follows the training imbalance. Reducing that divergence is evidence that the intervention changes aggregate behavior.

It does not establish that all errors are equally distributed, that every subgroup is served equally, or that a prediction for a particular person would be unchanged under every relevant comparison. Aggregate similarity and individual dependence are different questions.

The t-SNE visualizations have a related limit. They can make a large organizational difference in the representation visible, but they compress high-dimensional features into a small display. A less separated projection cannot certify that no recoverable distinction remains elsewhere in the feature space.

#### The unwanted attributes must already be specified

JLU requires the researcher to identify what should be suppressed and obtain labels for it. Unknown shortcuts are outside that direct mechanism. A network could lose the selected signal while retaining another unwanted predictor that was never represented by a secondary task.

Separate datasets make the supervision requirement more flexible, but they do not eliminate it. The method still depends on the quality and coverage of the secondary labels. If those labels miss relevant distinctions, the confusion objective cannot directly target what they fail to describe.

The appropriateness of suppression is also task-dependent. Age is unwanted when it is a shortcut for gender in these experiments, but it is the intended answer in the age experiments. Ancestral origin is suppressed in some configurations and predicted in another. The algorithm does not determine which role is socially or scientifically justified for a new application.

#### Dataset construction constrains the interpretation

LAOFIW uses broad manually assigned ancestral-origin categories, selected in part for visual distinctness. Search terms and returned photographs shape the collection before annotation begins. The resulting labels support the paper’s particular classification experiments, but they should not be treated as an exhaustive representation of ancestry or identity.

The category descriptions also vary somewhat across the paper, including references to Europe and Western Europe. That variation reinforces the need to interpret the labels as the authors’ operational grouping for this collection. It does not support a more precise taxonomy than the annotation procedure establishes.

The IMDB cleaning step introduces another dependency. Agreement with the Azure Face API is used as a filter. Improved gender classification after filtering is useful evidence of consistency, but an independent assessment would be needed to determine which errors or selection effects remain. Filtering may also alter the range of examples retained.

The reported holdout for the cleaning comparison is described in terms of images. The paper does not establish, through that description alone, every possible separation of identities across training and testing. Similarly, the results do not provide enough detail to reconstruct every split and every class distribution independently.

The inconsistent age thresholds for the extreme subsets are a further reproducibility limit. They do not undermine the overall contrast between a biased training distribution and a balanced evaluation distribution, but they leave the exact subset construction ambiguous.

#### The evidence covers a bounded experimental setting

The demonstrated tasks concern facial photographs and a particular adapted VGG-M architecture. The experiments do not test language applications, different representation families, or the institutional decision settings used in the motivation. Transfer to those settings remains a hypothesis requiring its own evaluation.

The results also do not include uncertainty estimates, repeated-run summaries, or a comprehensive sensitivity analysis for the weighting choices. A reported small improvement should therefore remain a result of the described experiment, without an additional claim about its stability under every training run.

Finally, the paper does not establish a general fairness guarantee. It studies an important technical ingredient: reducing access to selected information in a representation. Whether that intervention is appropriate, sufficient, and effective for a real decision process depends on its labels, population, objectives, and evaluation. Those broader questions are not resolved by making a particular secondary classifier uncertain.

### What came after

The account of later work contains no identified follow-up studies, so there is no supported citation-by-citation history of how subsequent research adopted JLU. The paper’s own discussion does, however, leave a clear set of open directions. These should be read as proposals and unresolved questions, rather than as accomplishments of later research.

The most explicit direction is more adaptive weighting. The experiments show uneven suppression across attributes, while the reported training uses equal secondary classification weights. A procedure that changes those weights during learning could respond to differences in difficulty. The authors connect this possibility to the multitask weighting work they already cite, but do not test it themselves.

A broader unresolved question is how to make the meaning of “removed” stronger. The paper combines secondary classification, visualization, output distributions, and primary-task evaluation. Those measurements support a useful operational claim. Further evidence would be needed to establish resistance to a wider range of recovery methods or persistence of the effect under new data conditions.

The lasting research idea is the separation between what a representation should help predict and what it should cease to reveal. JLU makes that separation concrete through labeled secondary tasks and alternating optimization. Its experiments show why the distinction matters: an unwanted association can quietly influence ordinary predictions, and suppressing it can either cost useful accuracy or improve generalization when the association becomes misleading.

## Cite

Cite as Mohsan Alvi, Andrew Zisserman and Christoffer Nellåker. 2019. Turning a Blind Eye: Explicit Removal of Biases and Variation from Deep Neural Network Embeddings. Lecture notes in computer science.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1007/978-3-030-11009-3_34](https://doi.org/10.1007/978-3-030-11009-3_34) · [arXiv 1809.02169](https://arxiv.org/abs/1809.02169)

```bibtex
@inproceedings{alvi2019turning,
  title = {{Turning a Blind Eye: Explicit Removal of Biases and Variation from Deep Neural Network Embeddings}},
  author = {Mohsan Alvi, Andrew Zisserman and Christoffer Nellåker},
  booktitle = {Lecture notes in computer science},
  year = {2019},
  doi = {10.1007/978-3-030-11009-3\_34},
  eprint = {1809.02169},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1007/978-3-030-11009-3_34}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
