Fairness Through Neural Network Architecture

33 concepts26 papers1 proposal

The prevailing wisdom in machine learning suggests that social bias is primarily a data problem: "garbage in, garbage out." However, a growing body of research demonstrates that the internal structure of a neural network—its depth, width, connectivity, and attention patterns—can independently exacerbate or mitigate performance disparities across demographic groups.

The Inherent Bias of Network Topology

One of the most striking findings in recent research is that bias can exist in a model before it has seen a single training example. Dooley et al. and Cherepanova et al. have shown that randomly initialized models exhibit demographic disparities similar to those found in trained ones. This suggests that certain architectural designs are fundamentally better suited for processing features prevalent in majority groups, creating an "architectural inductive bias" that predisposes the system to discriminatory outcomes.

This structural influence means that even with perfectly balanced datasets, specific network designs may still lead to disparate performance. As Li et al. argue, achieving equity requires looking beyond data distributions to the specific inductive biases of the network design itself.

Depth, Width, and Simplicity

The physical configuration of a network—its "shape"—plays a critical role in how it absorbs bias. Research across different domains suggests that shallower and wider architectures often provide a better balance between accuracy and fairness:

  • Speech Processing: Lin et al. found that while longer training increases social bias in self-supervised speech models, wider and shallower architectures are more effective at mitigating these biases.
  • Automated Scoring: In the context of essay grading, Yang et al. observed that shallower deep learning architectures help limit the model's ability to learn complex, biased associations compared to deeper, more complex models.
  • Spurious Correlations: Kafle et al. introduced OccamNets, which bake "Occam’s Razor" into the architecture by favoring shallower depth. This forces the model to ignore complex spurious correlations (like background textures) in favor of simpler, more robust features.

Furthermore, Sheng et al. discovered that a network's "tail" (its later layers) is primarily responsible for demographic bias. By freezing early layers and focusing on the structural design of the later components, they were able to find architectures that were both smaller and fairer.

Attention as a Bias Bottleneck

In Transformer-based models, the attention mechanism serves as a primary site where bias is encoded and amplified. Gaci et al. revealed that social biases are deeply embedded in how models distribute attention scores across social categories.

To address this, researchers have proposed structural constraints on the attention mechanism:

  • Debiased Self-Attention (DSA): Qiang et al. developed a framework for Vision Transformers that forces the model to ignore spurious features like gender or background by masking biased image patches during the attention process.
  • Indirect Bias Mitigation: Xu et al. identified "indirect bias," where models fixate on context words highly correlated with protected attributes (e.g., "fertility" for "woman"). They proposed regularizing attention patterns to prevent the model from relying on these proxy correlations.
  • ProSocialTuning: Liu et al. treat fairness as a structural constraint on the attention mechanism to prevent "forgetting" during fine-tuning. By identifying and constraining specific bias-inducing attention heads, they ensure the model maintains social alignment even when exposed to biased task-specific data.

Structural Interventions and Repair

Rather than just changing the training data, fairness can be achieved by "repairing" or augmenting the model's internal components. Zhai et al. introduced FairNeuron, which identifies and mutes specific neurons where accuracy and fairness goals conflict. Similarly, Marcinkevičs et al. demonstrated that weight-based pruning can be used to strip demographic bias from medical classifiers.

In some cases, specialized architectural modules are necessary. Shi et al. developed a Fair Identity Normalization (FIN) module that embeds fairness constraints directly into the network design. By normalizing features based on group-specific variability, the model fundamentally changes how it represents information from minority groups, leading to more equitable outcomes in high-stakes applications like medical screening.

Ultimately, as Sukthanker et al. and Sheng et al. suggest, the search for fair AI must include Neural Architecture Search (NAS). By treating model topology as a primary variable in the fairness equation, researchers can discover "fairer-by-design" architectures that outperform standard models in both accuracy and equity.

Key Foundational Work

On the Importance of Architectures and Hyperparameters for Fairness in Face Recognition (2022) — contributed 2 concept elements to this direction.
The Larger The Fairer? Small Neural Networks Can Achieve Fairness for Edge Devices (2022) — contributed 2 concept elements to this direction.
Debiasing Pretrained Text Encoders by Paying Attention to Paying Attention (2022) — contributed 2 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_architectural_bias_750d4040,
  title = {architectural bias},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/architectural-bias/rdr_750d4040acd94b78ba0eb34bbdfa48c1},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_architectural_bias_750d4040_v1,
  title = {architectural bias},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/architectural-bias/rdr_750d4040acd94b78ba0eb34bbdfa48c1/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake