AI Ethics, Safety & Governance: Interview Questions

Interview Q&A on fairness, explainability, privacy, alignment, model safety, and AI regulation — the responsible-AI topics that increasingly show up in ML and data roles.

Last reviewed Jul 24, 202617 questions
mediumHow do you measure bias or fairness in a machine learning model?

There's no single fairness number — you pick metrics that fit the harm you care about, usually comparing outcomes across protected groups. Common definitions: demographic parity (equal positive rates across groups), equalized odds (equal true-positive and false-positive rates), and calibration (predicted scores mean the same thing per group). A key result is that these often can't all hold at once when base rates differ — the impossibility theorems (Kleinberg, Chouldechova) mean you must choose. In practice you disaggregate error metrics by subgroup, use tools like Fairlearn or Aequitas, and involve domain and legal stakeholders to decide which fairness notion is appropriate. Fairness is a sociotechnical choice, not a metric you maximize blindly.

Open full page & share →

easyWhat are the main sources of bias in a training dataset?

Bias creeps in at several stages. Sampling/selection bias: the data doesn't represent the population you deploy on (e.g., mostly one demographic or geography). Historical bias: the data faithfully reflects past inequities, so the model learns them even if the pipeline is 'correct.' Labeling bias: annotators bring subjective or inconsistent judgments. Measurement/proxy bias: a feature imperfectly stands in for the true target (e.g., using arrests as a proxy for crime). Aggregation bias: one model forced across groups that behave differently. Feedback loops: model outputs influence future data (predictive policing sending patrols where they already patrolled). Mitigation starts with understanding provenance — you can't fix bias you haven't traced to its source.

Open full page & share →

mediumWhat is model explainability, and how do methods like SHAP and LIME work?

Explainability is making a model's predictions understandable to humans. LIME (Local Interpretable Model-agnostic Explanations) explains a single prediction by perturbing the input, seeing how outputs change, and fitting a simple linear model locally around that point. SHAP (SHapley Additive exPlanations) draws on cooperative game theory, attributing each feature a Shapley value — its average marginal contribution to the prediction across feature orderings — giving locally accurate, consistent attributions. Both are post-hoc and model-agnostic (SHAP has fast variants like TreeSHAP). Caveats: explanations are approximations, can be unstable, and aren't the same as causation or true model reasoning. For high-stakes cases, inherently interpretable models are sometimes preferable to explaining a black box.

Open full page & share →

easyWhat are model cards and datasheets for datasets?

Both are transparency documents. Model cards (Mitchell et al., 2019) accompany a trained model and summarize its intended use, out-of-scope uses, training data at a high level, evaluation results broken down by relevant subgroups, known limitations, and ethical considerations. Datasheets for datasets (Gebru et al.) document a dataset's motivation, composition, collection process, preprocessing, recommended uses, and maintenance — so downstream users understand provenance and consent. The goal is that anyone reusing a model or dataset can judge fitness for their context rather than discovering limitations in production. Many organizations and regulators now expect this kind of documentation, and it's a low-cost practice that materially improves accountability.

Open full page & share →

mediumHow do you handle PII and data privacy when building ML systems?

Start with data minimization — collect and retain only what you need. Identify PII (personally identifiable information) and apply techniques like anonymization, pseudonymization, aggregation, or differential privacy where feasible; note that true anonymization is hard and re-identification via linkage is a real risk. Under frameworks like the EU's GDPR, you need a lawful basis for processing, must honor rights such as access and erasure, and should run a data protection impact assessment for high-risk processing. Practical controls: access restrictions, encryption at rest and in transit, audit logging, and care that models don't memorize and regurgitate training PII. Because privacy law varies by jurisdiction (GDPR, CCPA/CPRA, others) and evolves, coordinate with legal/DPO rather than relying on generic rules.

Open full page & share →

mediumWhy do large language models hallucinate, and how can you mitigate it?

LLMs are trained to produce plausible next tokens, not to verify truth, so they can confidently generate fluent but false statements — especially for facts outside training data, niche details, or when prompted to answer regardless. Mitigations: retrieval-augmented generation (RAG) to ground answers in trusted sources with citations; lowering temperature; prompting the model to say 'I don't know' and to cite; constraining output with tools, schemas, or verifiers; and human review for high-stakes use. Post-hoc checks include fact-verification against sources and consistency sampling. None fully eliminate hallucination — it's an inherent property of current models — so the honest framing in an interview is risk reduction plus appropriate human oversight, not a claim that it's 'solved.'

Open full page & share →

easyWhat's the difference between AI safety and AI ethics?

They overlap but emphasize different things. AI ethics is broadly about whether a system's use is fair, transparent, accountable, and respects rights — think bias, privacy, consent, and societal impact, often here-and-now and value-laden. AI safety focuses on building systems that behave reliably and as intended, avoiding harmful failures — robustness, avoiding unintended behaviors, and (for advanced systems) alignment and control. Safety includes near-term concerns like a medical model failing on edge cases and longer-term concerns about powerful, autonomous systems. In practice teams need both: an unsafe system can cause harm even with good intentions, and a safe-but-unethical system can work exactly as designed toward a harmful goal. Many practitioners treat safety as one pillar within responsible AI.

Open full page & share →

hardWhat is model alignment, and how do RLHF and Constitutional AI approach it?

Alignment means getting a model to pursue what its developers and users actually intend — being helpful, honest, and harmless — rather than just optimizing its training objective. RLHF (Reinforcement Learning from Human Feedback) collects human preference comparisons between model outputs, trains a reward model on them, then fine-tunes the model to score higher, steering behavior toward preferred responses. Constitutional AI (Anthropic) reduces reliance on human labels for harmlessness by giving the model a written set of principles (a 'constitution') and having it critique and revise its own outputs against them, using AI feedback (RLAIF) for part of the loop. Both improve behavior but are imperfect: reward models can be gamed, preferences encode the labelers' values, and neither guarantees alignment on novel situations — an active research area, not a solved problem.

Open full page & share →

mediumWhat does responsible deployment with human oversight look like in practice?

It means designing the whole lifecycle, not just the model, for accountability. Before launch: define intended use and out-of-scope use, evaluate on representative and edge-case data, red-team for misuse, and document with a model card. At deployment: match the oversight level to risk — human-in-the-loop (a person approves each decision) for high-stakes actions, human-on-the-loop (monitoring with ability to intervene) for lower-stakes automation, and clear escalation paths. Add guardrails, rate limits, logging, and the ability to roll back. After launch: monitor for drift, disparate impact, and abuse; collect feedback; and keep a named owner accountable. The point of oversight is that a human can meaningfully understand and override the system — rubber-stamping automated outputs doesn't count.

Open full page & share →

mediumCan you explain the EU AI Act at a high level?

The EU AI Act is a risk-based regulation that classifies AI systems by risk. Unacceptable-risk uses (e.g., social scoring, certain manipulative or untargeted biometric scraping) are banned. High-risk systems (e.g., in hiring, credit, medical devices, critical infrastructure) face obligations like risk management, data governance, documentation, human oversight, and conformity assessment. Limited-risk systems face transparency duties — for instance disclosing that users are interacting with AI or that content is AI-generated. There are also specific rules for general-purpose AI models. It entered into force in 2024 and its requirements phase in over a multi-year timeline, with prohibitions applying first and high-risk obligations later, plus significant fines for violations. Because dates, guidance, and standards are still being finalized, verify the current text and timeline before relying on specifics.

Open full page & share →

mediumHow can organizations ensure accountability in AI systems?

Organizations can ensure accountability in AI systems by establishing clear guidelines and frameworks for ethical AI usage. This includes setting responsibilities for decision-making, implementing auditing processes, and ensuring traceability of AI decisions. Additionally, organizations should foster a culture of transparency where stakeholders can understand AI processes and outcomes. Regular reviews and assessments, along with feedback loops, can help identify issues promptly, while involving diverse teams in development can shed light on various ethical considerations.

Open full page & share →

mediumWhat role does transparency play in AI ethics and governance?

Transparency in AI ethics and governance is vital as it allows stakeholders to understand how AI systems make decisions. This can involve disclosing model architectures, data sources, and decision-making processes. Transparency fosters trust, enables accountability, and encourages responsible use of AI by allowing external scrutiny. It also supports compliance with regulations and ethical standards. Organizations can promote transparency through documentation, reporting mechanisms, and open communication with affected parties, ensuring that users and regulators are informed about the AI system's functioning.

Open full page & share →

mediumWhat are the ethical implications of AI in society?

The ethical implications of AI in society are vast and multifaceted. Key concerns include potential job displacement due to automation, which may exacerbate inequality; privacy issues stemming from surveillance technologies; and the risk of misuse in decision-making processes affecting individuals' lives, such as in law enforcement or hiring. Furthermore, AI systems can reinforce existing biases if not properly managed, leading to unfair treatment of marginalized groups. Finally, the deployment of AI can lead to a lack of accountability, so it’s crucial for organizations to establish ethical frameworks guiding AI use.

Open full page & share →

mediumWhat role does bias play in AI governance?

Bias plays a critical role in AI governance as it directly affects the fairness, accountability, and transparency of AI systems. Effective AI governance seeks to identify, mitigate, and monitor bias at all stages of the AI lifecycle, from data collection to model deployment. This involves developing standards and guidelines to ensure that AI systems are assessed for potential bias and that there are mechanisms for recourse if bias is found. Additionally, governance frameworks often emphasize stakeholder engagement and inclusion to address the needs and perspectives of diverse communities, thereby enhancing the ethical deployment of AI.

Open full page & share →

mediumWhat considerations should be taken into account when determining the ethical use cases for AI?

When determining ethical use cases for AI, several considerations should be evaluated. Firstly, the potential impact on individuals and communities should be assessed, including risks to privacy and the possibility of exacerbating social inequalities. It's also vital to consider the context in which the AI will operate, ensuring it aligns with societal values and norms. Furthermore, stakeholder engagement is crucial, as it allows for diverse perspectives to inform ethical considerations. Finally, compliance with legal frameworks and ethical standards must be prioritized to ensure that the deployment of AI is responsible and just.

Open full page & share →

hardWhat are some regulatory challenges in governing AI technologies?

Regulatory challenges in governing AI technologies include the rapid pace of AI innovation, which often outstrips existing legal frameworks, leading to gaps in regulation. Additionally, the complexity and diversity of AI applications make it difficult to create one-size-fits-all regulations. There is also the challenge of balancing innovation with safety and ethical considerations, as overly stringent regulations could stifle development. Furthermore, issues related to cross-border data flows and international cooperation can complicate the regulatory landscape, as different countries may have varying standards and approaches to AI governance.

Open full page & share →