Software Engineering for ML: Prevent Hidden Technical Debt with MLOps, Documentation & Team Alignment

Episode 5 60 min

Nadia Nahar Software Engineering PhD student

Episode 5 · Software Engineering for ML: Prevent Hidden Technical Debt with MLOps, Documentation & Team Alignment

60 min

What we talked about

Nadia is a software engineering PhD student at Carnegie Mellon University, where her department is now called S3D. She began in software engineering in Bangladesh, worked in industry and at the University of Dhaka, and has worked on software engineering for machine learning since 2020. Alexey, who started his career as a Java developer, invites her to explain what this field is and what researchers actually study.

Nadia says machine learning does not fit traditional software processes, because timelines are uncertain, data exploration comes before modeling and models need monitoring after deployment. Her first interview study, with 45 practitioners at mid-size companies, found problems with unclear requirements, unrealistic expectations of machine learning as a magic box, poor or inaccessible data, and disputes over who deploys the model. Teams also used different vocabularies, so "performance" meant response time to a software engineer and accuracy to a data scientist.

Her current work analyzes open source machine learning products. The dataset has about 300 repositories, and her team has studied 30 of them so far against six questions. These cover the order in which models and products are built, how contributors collaborate, testing, operations, responsible AI and code structure. Many open source repositories are libraries or notebooks rather than end-user products, so finding complete products is hard. She also describes a Yale project on explanations for health and school applications, where a classroom game feeds a risk score, and parents, teachers and counselors each need a different explanation.

Alexey asks about process, and Nadia says that CRISP-DM and agile do not fit together well, so teams end up running two separate processes. Common team structures are siloed data scientists, shared model code, APIs and all-in-one teams, which work only in small groups. Her recommendations are workshops, explicit shared vocabulary, documentation such as Model Cards, and engineering support through MLOps. Her advice for agile teams is to involve machine learning people from the requirements stage onward. Alexey suggests a machine learning canvas and checklists, and she promises to share resources for the show notes.

Chapters

  1. 1:36 Guest Background: Nadia Nahar (PhD, software engineering) 3 min
  2. 4:14 Academia–Industry Collaboration in Software Engineering 3 min
  3. 6:58 Defining Software Engineering for Machine Learning Systems 1 min
  4. 7:42 ML vs Traditional Software: uncertainty, data workflows, monitoring 2 min
  5. 10:12 System-Centric Perspective: "Hidden Technical Debt" and scope 1 min
  6. 10:54 Industry Pain Points: requirements, unrealistic expectations, data access 3 min
  7. 13:52 Communication & Alignment: vocabulary, expectation setting, documentation 1 min
  8. 15:17 Artifact Analysis: building an open-source ML product dataset 4 min
  9. 19:05 Open-Source ML Products: dataset size (~300 repos) and availability issues 3 min
  10. 21:54 Product Criteria: distinguishing ML products from models and APIs 2 min
  11. 24:03 Dataset Research Questions: development order, collaboration, testing, ops, responsible AI 2 min
  12. 26:02 Analysis Approach: manual review augmented by scripts (commits & code) 4 min
  13. 29:42 Failure Modes: discontinuation, unmet requirements, poor data, deployment gaps 5 min
  14. 34:22 Process Gap: CRISP-DM, Agile mismatch, and the need for integrated ML+SW processes 2 min
  15. 36:28 Team Structures & Integration Patterns: siloing, APIs, all-in-one teams, ML engineers 3 min
  16. 39:05 Practical Remedies: workshops, shared vocabularies, documentation, engineering support (MLOps) 4 min
  17. 42:47 Documentation Practices: Model Cards, Datasheets, factsheets, and checklists 4 min
  18. 47:16 Responsible AI Research: explainability requirements in healthcare and education 3 min
  19. 50:03 Explainability Use Case: classroom game predicting smoking risk and stakeholder needs 4 min
  20. 54:16 Responsible AI Governance: product-centric fairness and team accountability 3 min
  21. 56:55 Agile Integration: involving ML practitioners from requirements through testing 3 min
  22. 1:00:01 Closing Remarks & Resources

About Nadia Nahar

Nadia Nahar Software Engineering PhD student

Nadia Nahar is a Software Engineering PhD student in the Institute for Software Research at Carnegie Mellon University's School of Computer Science. Her research focuses on software engineering for machine learning: understanding hidden technical debt, failure modes, and engineering practices in real-world ML systems, including artifact analyses of hundreds of open-source ML repositories. She also works on responsible AI, ML documentation practices such as Model Cards, and more reliable production machine learning.

Topics in this episode

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

Machine Learning

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

Software Engineering

How software engineering discipline shapes data, ML, and AI systems through testing, interfaces, deployment, and maintainability.

MLOps

Reference page for MLOps as the operating discipline for production machine learning systems.

Data Roles Guide

Guide to common data roles, how responsibilities differ, how to choose a target role, and what portfolio evidence each role needs.

Data Science Project Guide

How data science project management frames, scopes, measures, ships, and hands off analytics and ML work with stakeholders and adoption owners.

Data Teams

Data team models, platform ownership, data products, stakeholder interfaces, and scaling risks.

Documentation

How documentation supports adoption, team memory, operations, onboarding, portfolio evidence, and open-source maintenance in data and ML work.

Interpretability

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

ML Portfolio Projects

Choose ML portfolio projects that show framing, baselines, data work, evaluation, production thinking, and maintainable code.

ML System Design Documents

How ML design docs capture product decisions, assumptions, data strategy, baselines, evaluation, monitoring, ownership, and production readiness.

ML for Software Engineers

A roadmap for software engineers moving into ML: transferable skills, missing data habits, project sequence, production awareness, and interviews.

MLOps Architecture

MLOps architecture as a component map for data, training, registries, CI/CD, serving, monitoring, and system interfaces.

MLOps vs DevOps Practices

Which DevOps practices transfer to ML, where model lifecycle risks begin, and how teams split delivery, monitoring, and ownership.

Machine Learning Engineer Role

The steady-state machine learning engineer role across model interfaces, runtime behavior, maintainability, observability, and nearby team boundaries.

Machine Learning System Design

ML system design as a production reference for requirements, labels, feature paths, evaluation, serving, monitoring, fallbacks, and ownership.

Machine Learning for Business

How businesses choose ML use cases, compare baselines, test small-budget options, define business models, and plan adoption and ownership.

Model Registry

Reference page for model registries as the handoff point between training, deployment, reproducibility, monitoring, and governance.

Notebook to Production AI

How notebook experiments become reliable AI systems through product framing, evaluation, monitoring, and ownership.

Portfolio Projects

Guidance for choosing data, analytics, ML, AI, and open-source portfolio projects with reviewable evidence and role fit.

Practices

Repeatable engineering habits for technical delivery across data, ML, AI, documentation, testing, and production ownership.

Production

Production for data, ML, and AI systems, covering deployment, monitoring, reliability, ownership, and cost.

Reproducibility

How data science, ML, research, and data pipeline work becomes rerunnable, reviewable, and explainable.

Software Engineer to ML

A transition path for software engineers moving into machine learning through project work, ML evaluation, production systems, MLOps, and role targeting.

Team Building

Data and ML team building through hiring order, role design, onboarding, org models, and platform enablement.

Related events

Related books

Advanced Algorithms and Data Structures

29 questions answered

As a software engineer, you’ll encounter countless programming challenges that initially seem confusing, difficult, or even impossible. Don’t despair! Many of these “new” problems already have well-established solutions. Advanced Algorithms and Data Structures teaches you powerful approaches to a wide range of tricky coding challenges that you can adapt and apply to your own applications. Providing a balanced blend of classic, advanced, and new algorithms, this practical guide upgrades your programming toolbox with new perspectives and hands-on techniques.

Marcello La Rocca

Machine Learning Design Patterns

14 questions answered

The design patterns in this book capture best practices and solutions to recurring problems in machine learning. The authors, three Google engineers, catalog proven methods to help data scientists tackle common problems throughout the ML process. These design patterns codify the experience of hundreds of experts into straightforward, approachable advice.

Valliappa Lakshmanan Sara Robinson Michael Munn

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