Fairness in AI/ML Engineering: Interpretability, Metrics and Sociotechnical Design

Episode 9 59 min

Episode 9 · Fairness in AI/ML Engineering: Interpretability, Metrics and Sociotechnical Design

59 min

What we talked about

Tamara Atanasoska is an open-source software engineer at Probable and a maintainer of Fairlearn. She also contributes to scikit-learn and skops. Her path runs from civic tech and five years of music technology at Ableton, where she worked on the Push 2 hardware, to computational linguistics and machine learning research. Alexey invites her to explain fairness in AI, using credit scoring as the main example, and how open-source tools help teams assess it.

Tamara describes a study by Fairlearn, Ernst & Young and Microsoft that analyzed 300,000 data points and found that a credit model performed differently for male and female applicants. Wrong decisions in either direction have costs: denying loans to eligible people, or approving loans for people who cannot repay, which can lead to debt, repossession and job loss. Fairlearn focuses on group fairness, so teams compare a model's performance across sensitive groups. Tamara says the choice of groups depends on the domain. Fairlearn can visualize false positives and false negatives, and it offers mitigation through post-processing or retraining with exponentiated gradient methods.

Alexey and Tamara agree that automation cannot make these decisions alone. A human expert has to judge which harm matters more, and fairness is a socio-technical problem rather than a purely technical one. Alexey recalls a moderation team for an online marketplace that combined data scientists, fraud specialists and product managers, with moderators making the final call. Tamara argues that a human must be in the loop before any decision has real impact. She also mentions a practitioner who felt frozen by these choices, and says that curiosity and reviewing the problem definition help more than a perfect framework.

Tamara also describes her work on skops, which addresses the security risks of pickle, where an untrusted model file can run code when loaded. Her main recent work at Probable has been compatibility across Fairlearn and scikit-learn, including compatibility with scikit-learn 1.6. For readers who want to contribute, she recommends the Fairlearn Discord, linked from fairlearn.org, and the good first issues and help wanted labels on GitHub. A Fairlearn sprint in Berlin is planned for around February, and she plans a talk on custom estimators in January.

Chapters

  1. 0:00 Podcast Introduction & Episode Overview 3 min
  2. 2:31 Guest Introduction: Tamara’s Open-Source Roles (Fairlearn, scikit-learn, Skope-Rules) 1 min
  3. 3:18 Career Overview: Software Engineering to Computational Linguistics 1 min
  4. 4:37 Music Tech Experience: Ableton and Push 2 Instrument Design 2 min
  5. 6:41 Device Architecture: Laptop Computation vs Standalone Hardware 2 min
  6. 8:56 Transition to NLP & AI: Academic Interests and Motivation 1 min
  7. 10:04 Cognitive Systems Studies: Language, Neuroscience, and ML 2 min
  8. 11:50 Research Path: Returning to Study and New Projects 1 min
  9. 12:41 Music as Hobby: Balancing Creative Work and Research 1 min
  10. 13:44 Sociotechnical Framing: Modeling Language in Social Context 1 min
  11. 14:52 Fairness in AI: Credit Scoring Use Case and Real-World Impact <1 min
  12. 15:10 Empirical Findings: Gender Disparities in Credit Models (Fairlearn Study) 3 min
  13. 18:14 Societal Harms: Debt, Repossession, and Downstream Consequences 3 min
  14. 21:31 Fairlearn Tools: Group Fairness, Visualization, and Mitigation Methods 3 min
  15. 24:04 Sensitive Group Selection: Domain-Specific Decisions in Credit Models 2 min
  16. 26:21 Limits of Automation: Human Judgment in Fairness Assessments 3 min
  17. 28:52 Metric Tradeoffs: False Positives vs False Negatives and Demographic Parity 3 min
  18. 31:33 Organizational Responsibility: Who Decides Fairness Tradeoffs? 2 min
  19. 33:11 Practitioner Education: Frameworks, Ambiguity, and Learning Objectives 2 min
  20. 35:23 Moderation Case Study: Cross-Functional Teams and Domain Expertise 2 min
  21. 37:13 Human-in-the-Loop: Essential Component for Fair AI Systems 2 min
  22. 39:18 Joining Probable: From Open-Source Contributions to a Role 2 min
  23. 40:57 Probable Work: Explainability, Language Models, and Library Integration 2 min
  24. 42:54 Interpretability Tools: Inspection Package and Partial Dependence 2 min
  25. 44:54 Cross-Library Compatibility: Fairlearn, scikit-learn, and Estimator APIs 1 min
  26. 46:20 Scopes Library: Secure Model Persistence and Hugging Face Integration 1 min
  27. 47:16 Serialization Risks: Pickle Vulnerabilities and Secure Deserialization 4 min
  28. 50:54 Community Involvement: PyLadies, Sprints, and Fairlearn Events 1 min
  29. 52:10 Contributing to Fairlearn: Discord, Good-First Issues, and Sprints 4 min
  30. 55:41 Development Ethos: Testing, Refactoring, and Custom Estimators 1 min
  31. 56:37 Project Updates: Upcoming Fairlearn Release and Maintainer Notes 1 min
  32. 57:22 Practical Quirk: Tokenization Issues Breaking "Fairlearn" in Transcripts 1 min
  33. 58:14 Closing Remarks, Contact Info, and Final Thoughts 1 min

Tamara Atanasoska

Tamara Atanasoska works on ML explainability, interpretability, and fairness as an Open Source Software Engineer at :probabl.. She is a maintainer of Fairlearn and a contributor to scikit-learn and skops, and brings both a Computer Science Software Engineering and a Computational Linguistics (NLP) background to making machine learning systems more transparent and more fair.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Data Governance

How data governance connects inventory, ownership, catalogs, access controls, quality signals, metrics, contracts, privacy, and policy automation.

LLMs

Large language models with links to retrieval, agents, evaluation, production, and security pages.

Machine Learning

Machine learning as applied modeling, evaluation, production design, monitoring, roles, and business tradeoffs.

Open Source

Open source as public data and ML software, including stewardship, governance, licensing, contribution surfaces, ecosystems, and company distribution.

Tools

How data and ML teams choose and sustain tools across data engineering, MLOps, search, RAG, open source, and developer experience.

Annotation Quality Workflows

Annotation quality as an NLP workflow with guidebooks, human baselines, agreement checks, model assistance, privacy controls, and feedback loops.

Governance

Governance ties decision rights, risk review, compliance, release controls, and accountability across data, product, ML, and AI systems.

Interpretability

DataTalks.Club guide to interpretability as model understanding for debugging, trust, uncertainty, fairness, and responsible decisions.

Machine Learning Tools

Guide to choosing ML tools for modeling, experiments, platforms, monitoring, fairness, and AI tooling.

Open Source ML Contributions

How open-source ML contributors move from reproducible issues, docs, tests, and scikit-learn APIs to research reuse and portfolio proof.

Privacy Engineering for ML

Privacy engineering for ML across access governance, privacy-enhancing technologies, and production LLM privacy tradeoffs.

Scikit-Learn

DataTalks.Club guide to scikit-learn for classic ML baselines, pipelines, interpretability, open-source contribution, and production boundaries.

Security

Security in data and AI systems: LLM abuse, data exfiltration, access control, privacy, release approval, and secure ML artifacts.

Related books

Practical Fairness

9 questions answered

Fairness is becoming a paramount consideration for data scientists. Mounting evidence indicates that the widespread deployment of machine learning and AI in business and government is reproducing the same biases we're trying to fight in the real world. But what does fairness mean when it comes to code? This practical book covers basic concerns related to data security and privacy to help data and AI professionals use code that's fair and free of bias.

Nielsen Aileen

Data Governance: The Definitive Guide

14 questions answered

As you move data to the cloud, you need to consider a comprehensive approach to data governance, along with well-defined and agreed-upon policies to ensure your organization meets compliance requirements. Data governance incorporates the ways people, processes, and technology work together to ensure data is trustworthy and can be used effectively. This practical guide shows you how to effectively implement and scale data governance throughout your organization.

Evren Eryurek Uri Gilad Valliappa Lakshmanan Anita Kibunguchy-Grant Jessi Ashdown

Driving Data Quality with Data Contracts

9 questions answered

Despite the passage of time and the evolution of technology and architecture, the challenges we face in building data platforms persist. Our data often remains unreliable, lacks trust, and fails to deliver the promised value. With Driving Data Quality with Data Contracts, you’ll discover the potential of data contracts to transform how you build your data platforms, finally overcoming these enduring problems. You’ll learn how establishing contracts as the interface allows you to explicitly assign responsibility and accountability of the data to those who know it best—the data generators—and give them the autonomy to generate and manage data as required. The book will show you how data contracts ensure that consumers get quality data with clearly defined expectations, enabling them to build on that data with confidence to deliver valuable analytics, performant ML models, and trusted data-driven products. By the end of this book, you’ll have gained a comprehensive understanding of how data contracts can revolutionize your organization’s data culture and provide a competitive advantage by unlocking the real value within your data.

Andrew Jones

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club