AI governance as part of the data science lifecycle

AI Governance & Assurance
Ethics & Responsibility
ai governance as part of data science - image

AI is everywhere.

AI is everywhere. It is embedded in virtually every new product, from toasters to our shoes and beyond - gone are the days when we found AI only in future-forward software and tech products.

AI is being leveraged far beyond the big tech companies. The AI we interact with today is being developed by teams in widely varied companies and industries. Across the broad range of problems that AI is deployed to solve, the potential impact on individuals is correspondingly broad.

In some cases, the impact on consumers is low - e.g., the toaster. In others, potential consequences can be shockingly high. Insurance, finance and lending services, autonomous vehicles, and medicine are areas where we can't afford our models to go wrong

There will always be a risk in deploying AI in sensitive application areas, but the risk is not a reason to abandon the use of models - quite the opposite. The places AI may have the most significant positive impact on humanity are also across higher-risk use cases. Perfect toast is much less interesting than a cure for cancer.

With higher-risk models, data scientists face responsibility to not only follow best practices for building responsible and ethical AI, but also develop common understanding with non-technical stakeholders to support overall business needs.

What do we want? Streamlined model governance. 

And therein lies the problem. The current state of model governance is best described as an organizational disaster. The data scientists I've worked with are not playing fast and loose from an ethical standpoint - and malicious intent isn’t the problem. Data scientists are adept at identifying and raising ethical concerns and ensuring their models meet the organization's standards. The problem stems from transferring that context from the mind of the data scientist to a place where non-technical stakeholders can view and understand their existing good work.

Data scientists are highly motivated by solving challenging problems and driving business value, and we must temper any discussion of model oversight through this lens. How can we provide the information our business users need without slowing down the model development process and thus compromising our value to the business?

How do we, as data scientists, ensure our models are working as expected?

We know that high-quality data and good corporate policy are necessary ingredients for ethical AI. How can you build effective models without trust in your data or clear expectations at the corporate level?

Real-time model monitoring, consistent processes for model project sign-offs, and uniform/discoverable documentation all play a part. In my experience, data science teams are doing this work now, but the process is bespoke, disorganized, and time-consuming. The velocity of model development has changed, and verbal approvals in one-off meetings and emails, policy tracking in spreadsheets, and home-grown one-off monitoring systems are no longer sufficient.

Without a way to evidence our work, we can’t effectively verify our ML decisions are sound. We conduct code reviews and ethical reviews should be equally important.

ai governance integration with data science - image

What we must avoid.

As data scientists and machine learning engineers, we have a choice. Get ahead of the problem or prepare to have a less optimal solution for AI governance imposed on us.

Several recent articles recommend implementing an AI review board as the answer. Doing so will certainly reduce the number of risky models moving into production - but probably not as intended. The first unintentional effect will happen almost immediately. Data scientists will choose to work on less risky problems, as those will be harder to get through the review board. This will significantly reduce the business value of ML for the organization and stifle growth and innovation.

Next, great data scientists will look for work elsewhere. Injecting bureaucratic slowdown into the model development and deployment lifecycle is one way to shake up your data science org indeed.

I've worked at big companies and navigated enterprise IT security. There must be a better path than advocating for another bureaucratic department of “NO”. We should be actively seeking ways to empower our partners across the business, even in the more bureaucratic areas, to say “YES!” instead.

How we can get ahead of AI governance.

A better solution from a top-down, post hoc, and draconian executive review board is a combination of sound governance principles, software products that match the data science lifecycle, and strong stakeholder alignment across the governance process. The tooling we adopt must:

  • Seamlessly fit the data science lifecycle
  • Maintain (and preferably increase) the speed of innovation
  • Meet stakeholder needs of today and into the future
  • Provide a self-service experience for non-technical stakeholders

In operationalizing the above, we are effectively creating a business-level system for continuous innovation. There are staged checks and tests to complete before deployment to production. Each step has been pre-negotiated with stakeholders and built into the data science lifecycle, and it is 100% clear to the data scientists what is required to drive business value with their model.

For more in-depth comparison of MLOps and model governance in a holistic data science lifecycle, see MLOps system design has a governance problem.

Including AI governance as part of the data science lifecycle is enabling for developers. Ask any data scientist that has spent months on a project, only to have it never see the light of day because of a counterintuitive result and “feelings.”

With governance software and principles in place, when a model is ready to move into production – stakeholder questions are already answered, and the model is already approved. No more meetings, emails, or last-minute one-off approvals. 

Organizations that adopt and operationalize sound governance principles (and software that enables them) for their data scientists will realize a substantial advantage over their competitors. An advantage weighed by models in production, cost savings, and incremental revenue. 

Remember: the gross value of all models not in production is zero.

Enabling data scientists drives business value, and intelligently operationalized governance can play a part. But much like responsible and ethical AI, it won't happen by accident.