Fairness
Fairness is the equitable allocation of treatment, opportunities, outcomes, or service among relevant people, groups, or tasks according to specified criteria.
AI Governance
Fairness is a normative criterion for evaluating whether an AI system treats people or groups equitably, with distinct formal definitions that may conflict.
- How it is used
- Guides launch and ongoing governance decisions for AI systems that may harm particular groups.
- How deep it goes
- Compares context-dependent fairness lenses and sets out stakeholder review, model evaluation, prompt, data, and monitoring controls.
- Examples
- Uses insurance claim denials and appeals, clinical referral testing, and gender stereotypes in generated engineer images.
- What you can do after
- Apply fairness lenses to select tests and controls, document decisions, and monitor outcomes after deployment.
Think Like a Software Engineering Manager
Fairness is the equitable and impartial treatment of people according to consistent standards and processes.
- How it is used
- Guides performance assessments, delegation, recognition, and equitable workplace treatment.
- How deep it goes
- Provides practical checks for standards, bias, appeals, and recognition while acknowledging that no single bias-reduction approach fits every situation.
- Examples
- Uses two employees’ performance assessments, caregiving accommodations, delegated intern mentoring, and recognition of technical-debt work.
- What you can do after
- Practice/perform fairer decisions by applying shared criteria, distributing opportunities, reviewing recognition patterns, and providing routes to appeal.
Read how Think Like a Software Engineering Manager explains fairness →
Generative AI in Action
Fairness is the property of treating people equitably and avoiding unjustified disparities in the outcomes or treatment produced by an AI system.
- How it is used
- Frames fairness as a design and deployment concern for responsible enterprise generative AI.
- How deep it goes
- Defines fairness risks and outlines layered mitigations, without specifying a fairness metric or implementation procedure.
- Examples
- Names Fairlearn, InterpretML, and AI Fairness 360 as open-source tools for model fairness or bias mitigation.
- What you can do after
- Evaluate and understand fairness risks by reviewing bias sources, model safety documentation, and the need for ongoing oversight.
Starting Data Analytics with Generative AI and Python
The property of treating relevant individuals or groups equitably and avoiding unjustified disparities in AI systems or their use.
- How it is used
- Guides responsible organizational use of generative AI through policy, team practices, ethical guidelines, and continuing review.
- How deep it goes
- Connects fairness to bias mitigation and lifecycle governance, but stops short of fairness metrics or technical model-internals analysis.
- Examples
- Uses a concise AI-use policy, diverse review teams, ethical guidelines, and continuous model monitoring as practical safeguards.
- What you can do after
- Apply fairness safeguards by writing policies, assembling diverse reviewers, defining ethical practices, and reassessing models and approved uses.
Read how Starting Data Analytics with Generative AI and Python explains fairness →
Introduction to Generative AI, Second Edition
Fairness is the property of treating individuals and groups equitably in an algorithmic system's design, operation, and outcomes.
- How it is used
- Positions fairness as a responsible-AI goal requiring governance, safeguards, oversight, and regulation.
- How deep it goes
- Frames fairness as a governance concern but stops short of defining tests, metrics, or operational procedures for measuring equitable treatment.
- Examples
- Contrasts voluntary AI-company self-policing with comprehensive regulation and highlights globally uneven participation in AI policy discussions.
Read how Introduction to Generative AI, Second Edition explains fairness →
Machine Learning System Design
The property that a model’s behavior or performance does not produce unjustified disparities across relevant demographic or other groups.
- How it is used
- Evaluates whether model improvements reduce error evenly across samples and monitors performance disparities across subpopulations.
- How deep it goes
- Defines residual inequality, demonstrates distribution comparisons, and gives Gini calculation; monitoring guidance stops at segment tracking.
- Examples
- Uses two ten-sample models with equal MAE gains, residual-distribution figures, and Gini coefficient geometry.
- What you can do after
- Evaluate model changes with residual distributions and Gini index, then monitor segment-level performance for discrepancies.
Inside AI
Fairness is the property of treating people equitably and avoiding unjustified disparities in system outcomes.
- How it is used
- Applies fairness when evaluating AI systems that affect citizens, alongside reliability, privacy, transparency, and explicability.
- How deep it goes
- Defines fairness through equitable treatment and bias avoidance, but does not specify metrics or implementation procedures.
- Examples
- Uses criminal-justice decisions about incarceration or probation, including medication and social support as alternatives.
- What you can do after
- Evaluate AI decisions affecting citizens by checking for bias, comprehensible logic, and explainability before deployment.
Causal AI
Fairness is the property that an algorithmic or statistical system treats individuals or groups according to specified equity criteria.
- How it is used
- Analyzes predictive algorithms by separating causal sources of statistical bias and informing fairer model design.
- How deep it goes
- Distinguishes direct penalties from indirect targeting pathways, but stops short of resolving normative definitions and fairness tradeoffs.
- Examples
- Uses loan repayment prediction, gendered digital-ad targeting, and a causal DAG to examine competing fairness interpretations.
- What you can do after
- Evaluate fairness by tracing bias to causal sources and designing models around variables causally relevant to repayment.
Building Reliable AI Systems
The property of an AI system treating people and groups equitably and avoiding unjustified disparities in outcomes.
- How it is used
- Treats fairness as a reliability concern enforced during fine-tuning and checked through production evaluation.
- How deep it goes
- Explains a group-gap training penalty and recommends group-wise audits and metrics, without specifying decision thresholds.
- Examples
- Uses unequal response lengths for different names and a LoRA loss penalty, then recommends demographic-group test sets.
- What you can do after
- Apply fairness through a LoRA fine-tuning loss and evaluate performance separately across demographic groups.
LLM Customization and Fine-Tuning
The quality of treating people or groups equitably in a model’s data, behavior, and outcomes.
- How it is used
- Balances model performance gains against safety, fairness, and compliance during fine-tuning.
- How deep it goes
- Identifies data review, rebalancing, and targeted group tests without specifying a full evaluation protocol.
- Examples
- Uses culturally diverse names and formal and informal language to represent varied users.
- What you can do after
- Evaluate fairness by reviewing dataset representation and testing for unjustified differences across demographic or contextual groups.
Read how LLM Customization and Fine-Tuning explains fairness →
The Art of AI Product Development
Fairness is the property of treating relevant people or groups equitably in an AI system's behavior and outcomes.
- How it is used
- Uses fairness to guide AI safeguards, governance decisions, stakeholder communication, and regulatory compliance.
- How deep it goes
- Explains data bias, audits, monitoring, safeguards, and regulation, but stops short of detailed fairness metrics or implementation procedures.
- Examples
- Uses Amazon hiring bias and regional or seasonal prediction imbalance to show how unfair outcomes emerge and can be detected.
- What you can do after
- Apply fairness checks through diverse data, bias detection, audits, explainability, monitoring, and safeguards for affected groups.
Read how The Art of AI Product Development explains fairness →
AI Model Evaluation
Fairness is the extent to which a model treats relevant user or content groups equitably and without unjustified disparities.
- How it is used
- Uses fairness diagnostics and cohort monitoring to detect and manage disparities in recommendation products.
- How deep it goes
- Explains metric trust, diverse diagnostic scenarios, precision trade-offs, cohort stratification, event logging, and subgroup guardrails.
- Examples
- Uses movie recommendations for niche versus mainstream tastes, new users, and minority-language speakers.
- What you can do after
- Apply it via cohort-stratified experiments, subgroup non-inferiority margins, attribute logging, and fairness diagnostics.
Context Engineering
Fairness is the property of treating people and groups equitably, including avoiding unjustified disparities in system outcomes.
- How it is used
- Guides context-management controls that reduce unjustified disparities in AI outcomes.
- How deep it goes
- Identifies retrieval, instruction, context, memory, and output checks without specifying their implementation.
- Examples
- Uses customer-support prioritization and sensitive customer attributes in memory as fairness examples.
- What you can do after
- Evaluate outputs and context sources for potential bias using tools such as Fairlearn or Aequitas.
Financial AI in Practice
The principle that decisions and outcomes should treat affected people or groups equitably and avoid unjustified discrimination.
- How it is used
- Constrains AI development and deployment in finance, where decisions have immediate effects and face regulatory scrutiny.
- How deep it goes
- Names fairness as a requirement but does not define measures, tests, or implementation steps.
Also covered in
- Machines that ThinkIn early access (MEAP)
- Causal Inference for Data Science
- AI for Everyday IT
- Ensemble Methods for Machine Learning
- Delivering Machine Learning Projects: From design to deployment
- Effective Data Analysis
- Interview Speak
- The Coder CafeIn early access (MEAP)
- Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI
- Microsoft Azure in Action
- Hidden InfluencesIn early access (MEAP)
- Transformers in Action
What to know first
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- biasBias is a systematic tendency or deviation that distorts measurements, estimates, judgments, or outcomes relative to a relevant reference or target.
- accuracyAccuracy is the degree to which a result agrees with a specified truth, reference, or criterion, commonly measured as the proportion of evaluated predictions that are correct.
- machine learningMachine learning is a field of computational methods in which systems learn patterns or relationships from data to make predictions, decisions, or other outputs.
Related concepts
- bias detectionmeasured by · Bias detection is the systematic assessment of data, decisions, or system behavior to identify distortions or unjustified disparities across groups or conditions.
- machine learningpart of · Machine learning is a field of computational methods in which systems learn patterns or relationships from data to make predictions, decisions, or other outputs.
- AI governancepart of · AI governance is the set of policies, processes, controls, and oversight mechanisms for directing and managing the development and use of artificial-intelligence systems.
- data qualitypart of · Data quality is the degree to which data meets requirements for accuracy, completeness, consistency, and suitability for its intended use.
- diversity, equity, and inclusionpart of · Diversity, equity, and inclusion is an organizational principle and practice promoting representation, fairness, participation, and belonging for people with different identities and backgrounds.
- Gini impuritymeasured by · Gini impurity is a measure of class-label heterogeneity in a set or decision-tree node, calculated from the proportions of its classes.
Questions about fairness
What is fairness?
Fairness is the equitable allocation of treatment, opportunities, outcomes, or service among relevant people, groups, or tasks according to specified criteria.
Which Manning books explain fairness?
AI Governance, Think Like a Software Engineering Manager, Generative AI in Action, Starting Data Analytics with Generative AI and Python, Introduction to Generative AI, Second Edition, Machine Learning System Design, Inside AI, Causal AI and 6 more.
What should I know before learning fairness?
Manning books that teach fairness usually introduce language model, bias, accuracy and machine learning first.
What is fairness part of?
Fairness is part of machine learning. Machine learning is a field of computational methods in which systems learn patterns or relationships from data to make predictions, decisions, or other outputs.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.













