Designing the user's side of an AI feature
People meet an AI feature on a screen, through what it shows them and what it lets them do.
Two sets of published guidelines are written for the people who design that screen. Microsoft's HAX Toolkit has 18 Guidelines for Human-AI Interaction, which Microsoft says are based on evidence. Google's People + AI Guidebook comes from its People + AI Research team (PAIR), and draws on dozens of Google user research studies.
What can it do?
The first HAX guideline reads "Make clear what the system can do." Microsoft explains it as helping the user understand what the AI system is capable of.
The second is "Make clear how well the system can do what it can do." That means helping people see how often the system may make mistakes.
How sure is it?
PAIR asks, "How should we show users the confidence associated with an AI prediction?"
Its answer starts with people. PAIR notes that confidence scores can be hard for users to understand, and that some groups are more familiar with probability than others. It suggests testing different kinds of display early in development.
PAIR also suggests user research, with people who reflect the range of your audience, to learn whether showing confidence helps them trust the output and make decisions.
When it gets something wrong
PAIR's chapter on errors asks when users consider a low-confidence prediction to be an "error". It also sees errors as a chance for people to learn how the system works and to give feedback.
One of its answers is to give control back. When an AI system fails, PAIR says, the easiest path forward is often to let the person take over, with the information they need to carry on.
PAIR also asks designers to invite feedback, both alongside an error message and alongside output that looks right.
Letting people correct it
HAX Guideline 9 is "Support efficient correction." Microsoft describes it as making it easy to edit, refine or recover when the AI system is wrong.
Guideline 8 sits beside it. It asks for an easy way to dismiss or ignore AI services a person didn't want.
Explaining why
HAX Guideline 11 is about explanations. Microsoft asks designers to let the user reach an explanation of why the AI system behaved as it did.
For UK organisations, the Information Commissioner's Office, known as the ICO, wrote joint guidance on this with The Alan Turing Institute. The guidance aims to give organisations "practical advice to help explain the processes, services and decisions delivered or assisted by AI, to the individuals affected by them."
The ICO says this guidance is under review because of changes made by the Data (Use and Access) Act, so check its page for updates.
Accessibility
When an AI feature lives on a web page, its buttons, messages and explanations are web content too. WCAG 2.2, the W3C's accessibility guidelines for web content, covers a wide range of recommendations for making that content more accessible.
Useful links
- Guidelines for Human-AI Interaction (Microsoft HAX Toolkit)
- HAX Design Library (Microsoft HAX Toolkit)
- PAIR Guidebook (Google PAIR)
- Explainability + Trust (Google PAIR)
- Errors + Graceful Failure (Google PAIR)
- Explaining decisions made with AI (ICO)
- Web Content Accessibility Guidelines (WCAG) 2.2 (W3C)