Designing Safety into Generative AI Experiences

Foundations / AI and Joule Design / Guidelines / Designing Safety into Generative AI Experiences

Intro

AI safety is a big concern for a lot of people, and for good reasons. AI systems are becoming increasingly powerful, and if they’re not designed safely, they could pose a serious threat to humans and society.

As UX designers, our role goes beyond just crafting intuitive interfaces; we are equipped and trained to ensure user trust and safety to the maximum level possible, in collaboration with data scientists, developers, architects, product managers and other contributors. But regardless of your discipline, we all play a big role in ensuring that technologies like generative AI improve things for people without causing harmful outcomes. It’s also important to ensure that there is no personally identifiable information (PII) in the training data sets, and that we do our due diligence when it comes to GDPR compliance.

Best Practices for Safe AI

We recommend incorporating the following best practices into the design process:

Technical Aspects of AI Safety

Explainability

Generative AI decisions and actions must be transparent and understandable to the user. When the system suggests something or takes an action, users should have access to an easily digestible rationale, enhancing trust and comprehension (similar to tooltips, help sections, or user-friendly error messages that explain why something happened in a user interface).

Example:

Consider an AI for financial advice built into a banking application. The AI recommends that the user apply for a particular loan. Instead of just showing the recommendation, it explains the rationale:

“Looking at your consistent income growth, your commendable saving habits, and your steadily improving credit score over the past six months, we believe this loan would be a great fit for you.”

This isn’t an arbitrary suggestion; there’s a clear line of reasoning behind it. By explaining its decisions, the AI offers transparency, helping end-users understand why a particular piece of advice was given. Such explanations can increase trust because users can see that recommendations aren’t random but are based on their personal financial patterns and data.

Constraints

Clearly define what the system can and cannot do. For instance, if a user interacts with an AI health assistant, it should be clear that the AI provides suggestions, not definitive medical diagnoses.

Avoid Negative Reinforcements

The system shouldn’t learn or perpetuate harmful behaviors or biases from its interactions. If an AI is frequently confronted with misleading user behaviors, it should be designed not to adopt or reinforce those behaviors.

The user interface can act as a gatekeeper or filter for the kind of data that a generative AI system interacts with. If users often input biased or misleading information because of the design of the interface, the AI may learn from that skewed data. To prevent this:

In short, the design of user interfaces and interactions can play a pivotal role in ensuring that AI systems receive accurate, unbiased data, shaping the AI’s learning and behavior.

Failsafes

Design mechanisms must allow users or administrators to intervene, correct, or pause the AI if it produces unintended results. This could be a user-accessible “stop” feature or a prompt for human verification in uncertain scenarios.

This is akin to designing controls that allow for human oversight. Consider an AI that curates news articles for users. If the AI shows increasingly biased or inappropriate content, users or administrators should have an easy-to-access method to stop its operations or guide it back on track.

Examples might be:

The idea is that while generative AI can automate and enhance many processes, it’s essential to embed layers of human oversight within its operations. Just as we design UI/UX with user errors in mind, generative AI design should account for system errors, with interfaces that allow humans to correct or intervene as needed. Check out our article on explainable AI once you dive deeper into the actual design.

Put Humans First

Beyond technical considerations, we must focus on the human-centered aspects of AI safety. Here are some places to start:

Responsible AI Is a Team Sport

By incorporating safety and ethics into your design process, we can help to ensure that we improve customer outcomes and create experiences that ALL people love. However, what we design is only as good as what we ship.

Remember: Cross-Functional Collaboration is Key!

We must work actively with the entire team – which includes product managers, data scientists, and engineers – to raise awareness of the risks and benefits of generative AI. It’s important to keep in mind and apply both the Guiding Principles for AI Ethics and Design Principles for Generative AI throughout the entire process – from idea to delivery.

Design Guideline on Explainable AI