Bias in AI has significant technical, legal, ethical and social implications. This page explains the causes and types of bias, the underlying structures, the regulatory requirements, liability issues and specific measures to avoid it.
1. Definition: bias in AI
Bias refers to systematic deviations in the decision-making of AI systems that can lead to unfair, discriminatory or incorrect results. Bias can arise unintentionally or through deliberate decisions during the development and implementation of AI.
- Technical dimension: Bias arises from flawed data, inadequate model architectures or careless weightings in algorithms.
- Social dimension: Bias can reinforce existing inequalities in society and the economy or create new forms of discrimination.
- Legal dimension: Bias affects fundamental rights such as data protection, equality before the law and freedom from discrimination.
2. Classification of bias
2.1 By origin
- Data bias: Distortions in the data basis. Examples:
- Historical disadvantage of women in working life, which continues in AI-supported application systems.
- Imbalance in datasets, e.g. an overweighting of data from Western countries that is not representative of global user groups.
- Algorithmic bias: Decisions influenced by model architectures or the parameterisation of algorithms.
- Example: a recommendation algorithm prioritises content with a high interaction rate, which favours controversial or stereotypical content.
- Interpretation bias: Incorrect interpretation of results by developers or users.
- Example: failure to place AI decisions in context in automated systems.
2.2 By effect
- Direct discrimination: Conscious or unconscious disadvantaging of individuals or groups.
- Indirect discrimination: Distortions that result from neutral input variables but disadvantage certain groups.
- Example: using place of residence as a criterion in credit scoring, which can indirectly disadvantage ethnic minorities.
2.3 By area of use
- Facial recognition: Frequent errors in recognising people with darker skin.
- Application systems: Algorithms that favour male applicants on the basis of historical data.
- Lending: Discrimination based on algorithmic assumptions, e.g. about gender or age.
3. Causes of bias
3.1 Data-related causes
- Insufficient data quality: Data are incomplete, incorrect or not representative.
- Overrepresentation of certain groups: For example, data from certain regions or demographic groups dominate.
- Historical distortions: Discriminatory practices of the past are reflected in the training data.
3.2 Algorithmic causes
- Optimisation goals: Algorithms often maximise efficiency or accuracy without taking ethical consequences into account.
- Missing constraints: Mechanisms to mitigate bias are not implemented during model development.
- Unconscious biases of developers: Developers make assumptions that unconsciously reinforce distortions.
3.3 Systemic causes
- Cultural and social prejudices: These feed into the collection, processing and interpretation of data.
- Economic pressure: The focus on rapid market launch and efficiency leads to bias reviews being neglected.
4. Legal and ethical relevance
4.1 Data protection law
- Art. 22 GDPR: Prohibition of solely automated decisions that produce legal effects or similarly significantly affect the data subject, unless an exception under Art. 22(2) GDPR (performance of a contract, legal provision, explicit consent) applies.
- Art. 5 GDPR (data quality): Data must be accurate, relevant and, where necessary, kept up to date. Biased data may contradict these requirements.
- Art. 35 GDPR (data protection impact assessment): For high-risk AI systems, in particular when processing sensitive data, an analysis of the possible effects is required.
4.2 Anti-discrimination law
- EU Charter of Fundamental Rights, Art. 21: Discrimination, in particular on grounds of sex, ethnic origin or religion, is prohibited.
- General Equal Treatment Act (AGG): Governs protection against discrimination in working life and in civil law transactions, for example in services.
4.3 Product liability law
- Manufacturers and providers of AI systems may be liable if bias causes damage (e.g. economic disadvantages or discrimination).
4.4 Fundamental rights
- Equality before the law (Art. 3 Basic Law): Unfair decisions by AI can violate the principle of equality.
- Right to private life: Discriminatory algorithms can impair the dignity and autonomy of the individual.
4.5 Ethical implications
- Reinforcement of inequalities: AI can reinforce existing discrimination, e.g. in the labour market or in law enforcement.
- Responsibility of developers: Companies and developers bear the ethical responsibility to minimise bias.
5. Practical examples
5.1 Automated applicant selection
- Problem: An AI system evaluates applicants using algorithms based on historical data (predominantly from male applicants).
- Solution: Integration of bias control mechanisms and review of the weighting of criteria.
5.2 Lending by AI
- Problem: Historical data disadvantage women or ethnic minorities in creditworthiness assessments.
- Relevance: Possible infringement of anti-discrimination law; banks must design their AI models to be traceable.
5.3 Facial recognition
- Problem: Incorrect recognition of people with darker skin, which can lead to false suspicions.
- Relevance: Discrimination and violations of fundamental rights, particularly when used by the state.
6. Judgments and regulatory developments
6.1 Important judgments
- CJEU, judgment of 7 December 2023, C-634/21 (SCHUFA): The automated establishment of a probability value (scoring) can itself be an automated decision within the meaning of Art. 22 GDPR if a third party, such as a bank, draws strongly on it for its decision.
- Anti-discrimination law: Disadvantages caused by algorithmic systems must be assessed under the general rules, in particular the General Equal Treatment Act; the use of an algorithm does not relieve the user of responsibility.
6.2 AI Act (EU) 2024/1689
- AI Act: The Regulation has been in force since 1 August 2024 and applies in stages. For high-risk AI systems, such as biometric systems, AI in critical infrastructure and in law enforcement, it prescribes, among other things, data governance requirements intended to detect, prevent and mitigate possible biases (Art. 10). Following the Digital Omnibus (Regulation (EU) 2026/1744), these obligations apply to high-risk systems under Annex III from 2 December 2027 and to AI in products under Annex I from 2 August 2028 (AI Act deadlines).
7. Strategies to avoid bias
7.1 Technical measures
- Data review: Regular checks of data for bias.
- Bias mitigation algorithms: Special methods for detecting and reducing bias.
- Fairness tests: Validation of models for fair decision-making bases.
7.2 Organisational measures
- Interdisciplinary teams: Involvement of experts in ethics, law and technology.
- Transparency: Disclosure of the decision logic and model architecture.
- Training: Raising awareness of bias issues among developers and users.
7.3 Legal measures
- Contract drafting: Obligation of developers and providers to carry out bias reviews.
- Compliance audits: Regular review of compliance with statutory requirements.
- Damage limitation: Establishing mechanisms to correct unfair decisions.
8. Tasks of lawyers
8.1 Advice
- Development and review of bias prevention policies.
- Legal advice on liability issues and anti-discrimination.
8.2 Contract drafting
- Inclusion of anti-bias clauses in development and licence agreements.
- Obligation to carry out regular reviews and audits.
8.3 Representation
- Representation in proceedings concerning discrimination by AI.
- Communication with data protection authorities and regulators.
8.4 Development of standards
- Participation in drawing up industry standards and guidelines for minimising bias.
Practical Legal Examples
Discrimination in lending
A fintech finds that its model rates applicants from certain postcode areas worse. Place of residence can act as a proxy for ethnic origin. We supported a review for indirect discrimination and adjusted the selection of features.
Recruiting with biased training data
A group trained an applicant ranking with historical hiring data in which women were underrepresented. The model adopted this bias. Under Section 22 General Equal Treatment Act, indications are sufficient to shift the burden of proof to the employer; we introduced a testing procedure and documentation that make discrimination detectable.
Language model in customer service
A telecommunications provider notices that its chatbot makes fewer goodwill offers to customers with non-German names. We found the causes in the system instructions and sample dialogues and agreed regular sample checks. The topic was included in the AI policy.
Processing sensitive data to correct bias
A provider of a high-risk system wants to use health data to detect bias. Art. 10(5) AI Act exceptionally permits this subject to strict safeguards. We examine the requirements and design pseudonymisation, access rights and deletion periods.