AI Ethics and Bias Mitigation: Engineering Fair and Transparent Models
Written by A.T.
Most articles about AI bias start with the algorithms. A better place to start is the rulebook, because the law decides what a company must actually do. Here is where things stand in late 2026, followed by engineering.
This is general information, not legal advice. Rules change, so check the current text before you rely on any date.
What the rules require right now
New York City, Local Law 144. Employers that use automated tools to screen job candidates must have the tool audited for bias by an independent auditor within one year before use. A summary of the results must be published, and candidates must get notice 10 business days beforehand. It has been enforced since July 5, 2023. Penalties are $500 for a first violation and $500 to $1,500 for each later violation per day. It is the only US law I found that requires a bias audit by name.
European Union, AI Act. Prohibited practices have applied since February 2025, and rules for general-purpose AI models since August 2025. The high-risk rules, which cover hiring, credit scoring and education tools, were delayed. A package called the Digital Omnibus on AI, Regulation (EU) 2026/1744, entered into force on July 27, 2026. It moved the deadline for stand-alone high-risk systems from August 2026 to December 2, 2027, and for AI built into regulated products to August 2, 2028.
Colorado. The state repealed and replaced its AI Act shortly before it was due to start. The new law applies to decisions made on or after January 1, 2027, is enforced by the state attorney general, and does not require audits or impact assessments, according to one compliance tracker.
Where bias comes from
Bias rarely starts in the algorithm. It enters at several points in the lifecycle:
Data. Historical data can encode past discrimination or under-represent some groups.
Features. A variable like postcode can act as a stand-in for race.
Labels. A label such as “high credit risk” may reflect human judgments rather than objective outcomes.
Three places to intervene
These are standard techniques from the fairness research literature, and open-source toolkits such as IBM’s AI Fairness 360 and Microsoft’s Fairlearn implement many of them.
Before training: adjust the data. Reweighing gives examples of different weights so groups are balanced, and other methods reduce the link between sensitive attributes and the outcome.
During training: add a fairness penalty to the loss function so the model is pushed toward a chosen fairness goal.
After training: adjust the outputs, for example by setting different decision thresholds for different groups, when the model can’t be retrained. In some jurisdictions that approach can raise legal questions of its own, so get advice.
Why fairness metrics collide
Statistical parity, equalized odds and similar measures describe different ideas of fairness, and in most real situations you cannot satisfy all of them at once. Choosing one is a judgment about values, not a purely technical decision. Write down which one you chose, and why.
A practical checklist
Define the decision, the people affected and what harm looks like.
Test results by group before launch and on a schedule afterward.
Keep documentation that a regulator or auditor could read.
Give people a way to appeal an automated decision.
Keep a human responsible for the outcome.
Define the decision, the people affected and what harm looks like.
Test results by group before launch and on a schedule afterward.
Keep documentation that a regulator or auditor could read.
Give people a way to appeal an automated decision.
Keep a human responsible for the outcome.
My view
I think the most useful sentence in this whole topic is that fairness is not a box to tick once. Laws set a floor, and the engineering has to continue after launch because data and people change. If your team treats an audit as paperwork, you will pass the audit and still build a biased product. For privacy-friendly ways to train on sensitive data, see our guide to federated learning.
