AI Product & UX
Designing for a system that is sometimes wrong.
Every earlier chapter worked to make the model right more often. This one starts from the fact that it will still be wrong sometimes, and asks what the person on the other side of the screen should see, check and be able to undo. Good AI product design is mostly the design of that moment.
The experiments are a simulation of 2,000 support questions with two different confidence signals, arithmetic on streaming speed against human reading speed, and arithmetic on what thumbs-up ratings actually measure. Each is labeled as what it is. The last section, on interfaces that respond as fast as a screen redraws, includes a simulated demo you can operate.
30.1Designing for a system that is sometimes wrong
Decide what happens when it is wrong before deciding what it does when it is right.
An LLM feature has an error rate, and the rate never reaches zero. Evals (chapter 23) tell you how often and where; this chapter is about what the person experiences when it happens. The two questions that decide the design are how much an error costs, and how easily the person can tell that one has happened.
The cost is not only the product’s problem. In 2024 a Canadian tribunal ruled on a case in which Air Canada’s website chatbot told a grieving customer he could buy a full-price ticket and claim the bereavement discount afterward. The airline’s own policy page said the opposite. Air Canada argued it could not be held liable for what the chatbot said; the tribunal rejected that, held the airline responsible for everything on its website, and ordered it to pay the difference. The amount was small. The principle is not: what your assistant says, your company said.
Read the figure as a set of defaults. Autocomplete and first drafts sit in the corner where errors are cheap and obvious, so the product can offer freely. A refund, a payment or a message sent on someone’s behalf is costly but checkable, so the product drafts and the person approves (section 30.4). The hard corner is where an error is both costly and invisible, as with a policy answer the customer has no way to verify. There the design narrows the job: retrieve the authoritative text and show it, or route to a person. The Air Canada answer lived in that corner and was designed as if it lived in the first.
The corners move with the user, too. The same code suggestion is easy to check for an experienced engineer and invisible to a beginner. Decide which user you are designing for, and test with that user.
Common take“Once accuracy is high enough, the design takes care of itself.”
Sharper take“Accuracy sets how often the bad moment happens; design sets what it costs. I place every feature by the cost of an error and how easily the user can spot one, and pick the pattern from that.”
30.2Setting expectations and showing confidence
A confidence signal helps only if it predicts errors, and the model’s own say-so rarely does.
Expectations come first. The first two of Microsoft’s eighteen guidelines for human-AI interaction are to make clear what the system can do and how well it can do it. In practice that means saying, near the input, what the assistant covers and what it does not, with examples of good requests, and never implying a certainty the system does not have. A sentence such as “Answers come from your company’s policy documents; check the linked passage before acting on anything about money” sets the right posture in one line.
Confidence is subtler. It is tempting to ask the model how sure it is and display the number. Self-reported confidence from a language model tends to cluster near the top of the scale whatever the answer, so it says little about which answers are wrong. A useful signal comes from checks you run: whether retrieval found supporting passages, whether every citation verifies (section 30.3), whether several samples agree, or a judge calibrated against human labels (section 23.7).
To see the difference, the experiment simulates 2,000 support questions answered correctly 83% of the time, with two signals attached to each answer: a checked score of the kind just described, and the model’s self-report. The product answers automatically only when the signal is high enough, and routes the rest to a person.
- checked score
- model’s self-report
Answering everything gives an error rate of 16.9%. Answering the 80% with the highest checked score cuts it to 11.6%, and the 60% with the highest score to 7.8%. Sorting by the self-report gets 14.1% at 80%, barely better than answering everything. The two signals’ ability to rank right answers above wrong ones, the AUROC of section 23.7, is 0.76 and 0.65.
Notice what the signal is for. It decides behavior, answer or hand over, rather than appearing as a percentage on screen. When something should be shown, show the reason in words a person can act on: “Found in the 2026 returns policy” or “Not found in your documents; this is a general answer.”
Common take“We show the model’s confidence score so users know when to trust it.”
Sharper take“The model’s self-report barely separates right from wrong. We compute a signal from checks, use it to decide when to answer and when to hand over, and show users the reason, not a number.”
30.3Citations users actually check
A citation earns trust only if checking it takes one click and lands on the sentence.
Citations are the main tool a user has for checking an answer, and they are often worse than they look. A 2023 audit by Nelson Liu, Tianyi Zhang and Percy Liang of four generative search engines found that only about half of the generated sentences were fully supported by their citations, and that about a quarter of citations did not support the sentence they were attached to. A citation that points at a forty-page document is decoration; one that points at the wrong passage is worse, because it borrows trust it has not earned.
Four rules make citations work:
- Cite each claim, not the answer. A marker after each sentence that makes a factual claim, pointing at one passage.
- Land on the passage. Clicking opens the source scrolled to the quoted span, highlighted, so checking takes seconds rather than a search.
- Verify before rendering. Code checks that each cited passage exists and contains the quoted words (sections 19.4 and 23.3). A claim whose citation fails is dropped or visibly marked, never shown with a broken link.
- Quote where wording matters. For policies, prices and contracts, show the source text verbatim next to the summary. A paraphrase of a refund rule is a new rule.
Measure whether people use them. The share of answers where a user opens a citation, and what they do after, is a product metric worth tracing (chapter 24). If nobody ever clicks, either the answers are trivially checkable or the citations are too costly to use.
Common take“Our answers include sources, so they are verifiable.”
Sharper take“A source list is not verification. Each claim cites one passage, the link opens at the highlighted span, and code drops any claim whose citation does not check out before the user sees it.”
30.4Approval and undo flows
Ask for approval where it changes outcomes, and make everything else undoable.
When the system acts, rather than answers, the design question becomes how much it may do on its own. The useful framing is a ladder, and the right rung differs by action, not by product.
Approval is the obvious safety, and it wears out. If a person approves fifty actions an hour and forty-nine are fine, the fiftieth gets the same glance as the rest. People come to rely on an automated system that is usually right, a pattern studied for decades in aviation and medicine as automation bias. So approvals have to be rare, which means reserved for actions that are costly and hard to reverse (sections 19.4 and 19.8), and they have to show the consequence, not the request. “Refund $240 to the Visa card ending 4421, order 8812” can be checked in a glance; “Process refund?” cannot.
Everywhere else, undo is better than a question. Undo is a property of the system, not a button: deletes that are soft for thirty days, email that waits a minute before it leaves, changes staged as a draft or a diff, and for actions that cannot be recalled, a compensating action that has been tested (a refund reversal, a correction message). Designing for undo also makes the agent safer to test, since mistakes in staging cost nothing.
Common take“To be safe, we ask the user to confirm every action.”
Sharper take“Confirming everything trains people to click yes. We ask only where an action is costly and hard to reverse, show the exact consequence when we do, and make the rest undoable.”
30.5Graceful failure states
The worst failure state is a confident wrong answer, so design the honest alternatives.
A conventional product fails with an error message. An LLM product can fail silently, by producing something fluent and wrong. The defense is to give the system honest ways to fail and to make them look like normal product states, not apologies.
| What went wrong | What the person should see | What the system does |
|---|---|---|
| Nothing relevant was found | “I couldn’t find this in your documents,” with a search link or a person to ask | Logs the question as a coverage gap for the data engine (chapter 25) |
| Only part could be answered | The part it can answer, and a plain statement of what is missing | Marks the trace as partial |
| A tool or provider is down | What is unavailable, and what still works | Follows the fallback chain of section 19.5 |
| A step or budget limit was reached | “I got as far as this. A person should take it from here,” with the work so far | Hands over with the trace attached |
| The request is out of scope | A short reason and the right channel, without a lecture | Counts out-of-scope requests by type; some become features |
| A long task is slow | Progress in steps, partial results, and a way to cancel | Honors cancellation down to the running tool (section 19.7) |
Two details make these states usable. Keep the person’s input, so that retrying or rephrasing costs nothing. And make abstaining cheap for the model too: a prompt that permits “not in the documents” and an eval that rewards it (section 15.7) produce far fewer invented answers than a prompt that implies an answer always exists.
Common take“The assistant should always give the user an answer.”
Sharper take“A confident wrong answer is the worst outcome we have. The assistant can say it found nothing, answer part of a question, or hand over with its work so far, and each of those is a designed state, logged and counted.”
30.6Streaming and perceived latency
People judge speed by when something useful appears, not by when the answer is finished.
Jakob Nielsen’s response-time limits, from 1993, still describe how waiting feels: about a tenth of a second feels instant, about one second keeps the flow of thought, and past about ten seconds attention wanders. A complete answer from a language model often takes longer than the middle limit. Streaming (section 11.3) changes which number the person feels, and section 28.6 covers the engineering side of the same split.
- streaming, 60 tokens/s
- streaming, 15 tokens/s
- not streaming
- reading at 238 words/min
In the computation, a 250-word answer with the first token after 0.7 seconds and 60 tokens a second is complete after 6.2 seconds. Without streaming, the screen is blank for all of that. With streaming, words appear after 0.7 seconds and arrive at about 45 words a second. An adult reads English non-fiction silently at about 238 words a minute, roughly 4 words a second, according to Marc Brysbaert’s 2019 meta-analysis of 190 studies. Generation is ten times faster than reading; even at 15 tokens a second it would stay ahead.
Two consequences follow. For text a person reads, time to the first token matters far more than tokens per second, once generation outpaces reading. For output nobody reads as it arrives, such as code to apply, JSON for the interface or an agent’s tool calls, total time is what counts, and streaming text does not help. There, show progress as steps (“searched the policy, checking your order”), show partial results as they become final, and give the person a way to cancel or redirect.
Do not fake it. A progress bar that moves at a fixed pace or a typing effect over text that already exists are tricks people learn to distrust. Real partial results are both honest and faster to act on.
Common take“Users need a faster model.”
Sharper take“For reading, speed is time to the first token; generation already outpaces reading by ten times. For work nobody reads live, we show real steps and partial results and let people cancel.”
30.7Feedback capture as a UX problem
Thumbs ratings measure who bothers to click, not how good the answers are.
Almost every assistant has thumbs-up and thumbs-down buttons, and teams often chart the share of thumbs up as a quality metric. The trouble is who clicks. People rate rarely, and they rate bad experiences far more often than good ones. The computation assumes that 1.5% of good answers get a thumbs up and 8% of bad ones get a thumbs down, rates of the kind teams commonly see.
- share of thumbs up
- if every answer were rated
A system whose answers are 85% good shows 52% thumbs up; at 95% good it shows 78%. The metric moves with quality, but it is not quality, and any change in who rates, such as a redesign that makes the buttons more visible, moves it as much as a real improvement. It is also thin: about 248 ratings per 10,000 answers.
Use explicit ratings for what they are good at: each thumbs down points to a trace worth reading in error analysis (section 23.2). For measurement, use better signals:
- Edits. When the product drafts and the person edits, the difference between the draft and what was sent is the best label you will get, and it costs the user nothing extra.
- Implicit actions. Copying an answer, accepting a suggestion, retrying, rephrasing, abandoning, or asking for a person. Define them per feature and record them on the trace (section 24.4).
- A question at the right moment. “Did this solve it?” after a ticket closes, not after every message.
- Sampled grading. Judges and human review on a sample of traffic (section 24.5), which do not depend on who chose to click.
When you do ask, make the reason one tap (wrong, incomplete, unsafe, wrong tone) with optional text, and attach the rating to the trace so someone can see what was rated.
Common take“Our thumbs-up rate is 52%, so the assistant is wrong half the time.”
Sharper take“Unhappy users rate several times more often than happy ones, so the thumbs rate understates quality and moves with the design of the buttons. We read the thumbs-down traces, and measure quality from edits, implicit actions and sampled grading.”
30.8When not to use an LLM at all
If a form, a rule or a search box does the job, it is cheaper, faster and right every time.
Language models are general, and that makes them a tempting answer to every interface question. A good share of AI product work is noticing when a plainer tool is better.
A model earns its place where input is unstructured or open-ended, where the variety of requests is too large to enumerate, or where the output is language a person will read and judge. It is the wrong tool where the choices are few and known (a dropdown is faster than typing), where the logic is fixed rules (code is exact and testable), where the answer must be verbatim (show the text itself), or where the interaction needs a response in under a tenth of a second.
The strongest designs often combine the two. The model turns free text into a structured request, and ordinary code and interface do the rest: “move my Tuesday meeting with Priya to after lunch” becomes a calendar change shown for confirmation, built from fields the model filled and code validated (section 13.6). The model handles the language; the product stays exact.
Common take“We should add an AI chat to the settings page.”
Sharper take“Settings have a few dozen known options; search and good labels beat a chatbot there. We use the model where input is free-form, and have it fill structured fields that code checks.”
30.9AI features and AI-native products
A sidebar adds a feature; redesigning the workflow around what the model does well changes the product.
The first AI version of most products is a chat panel beside the existing interface. It is quick to ship, and it leaves the person doing the hard part: knowing what to ask, copying context in, and carrying the answer back to where the work happens. Products that get more from the model change where it works.
| Pattern | What it looks like | Fits when |
|---|---|---|
| In place | Suggestions inside the object being edited: a drafted reply in the ticket, a proposed fix in the diff | The person is already doing the task and can accept or edit in one motion |
| Batch, with review by exception | The model works through the whole queue; people review only what it flags or scores low | Many similar items, and a signal that predicts errors (section 30.2) |
| Ambient | The model watches and raises things: a contract clause that differs from the standard, a ticket likely to escalate | Problems are rare and costly to miss, and false alarms are cheap to dismiss |
| Conversation | An open text box | The task really is open-ended, such as research or exploration |
A support inbox shows the difference. As a feature, an agent opens a ticket, clicks “Ask AI”, pastes the question and copies the reply back. Natively, every incoming ticket arrives with a drafted reply, cited and scored; agents work a queue sorted by score, approve most drafts with a glance and spend their time on the ones the system was unsure about, and their edits become the training signal of section 30.7.
Native designs cost more to run, because the model works on every object rather than on request, so they need the cost discipline of chapter 28 and evals that cover every path. They are also harder to copy, which matters for the defensibility question of section 31.7.
Common take“Our AI strategy is the assistant panel.”
Sharper take“A panel makes users bring the work to the model. We bring the model to the work: drafts in place, queues reviewed by exception, and chat only where the task is open-ended.”
30.10Realtime, steerable interfaces
When a model answers in a fraction of a second, a text box stops being the obvious interface.
Most products put a model behind a text box: type, wait, read. That shape is a consequence of slow generation. Chuanqi Sun’s Spaceship IDE (2026), a research demo from the MIT Media Lab, asks what becomes possible when a model responds as fast as a screen redraws, and proposes four interactions.
| Interaction | What the person sees | How the demo builds it |
|---|---|---|
| Focus monitor | The phrases and sentences that the next words depend on are highlighted, drawing the eye to what matters | A fast model is asked to name the key phrases; a second model scores each sentence |
| Attention lock | Pin a phrase, and what comes next is built on it | The phrase is added to the prompt as a key phrase |
| Steering dials, which the project calls future vector steering | Turn a dial such as tone or tension, and the upcoming text changes | A model picks which dials matter here; each setting is added to the prompt as a control line |
| Realtime re-generation | Drag backward and forward through the text, and the future is rewritten as the controls move | Text is generated speculatively on a very fast service, and requests are cancelled as soon as a control changes |
One thing about that last column is easy to miss. None of the four reaches inside the model. The “focus” that is highlighted is a model’s judgment about what matters, not the attention weights of section 5.3, which a hosted API does not expose. The dials are instructions in a prompt (section 13.4), not directions in the network’s internal space. Research versions that do intervene inside a model exist, under the names attention steering and activation steering, and they need a model whose weights you run yourself.
Try the interactions:
Focus monitor: how much the next words lean on each sentence
The lighthouse at Carrow Point had been dark for eleven years.
Ines came back on the last ferry of the season, carrying a brass key her grandmother had left her and no idea which door it opened.
The keeper’s cottage smelled of salt and old paper.
On the kitchen table, someone had set out two cups.
what comes next
Through the window the sea was turning the color of pewter, and the tower stood against it like a held breath. Ines thought, for no reason she could name, that the place had been waiting, and that it was glad.
What a live version would send to the model
Four lessons carry over to ordinary products.
- Speed changes the interaction, not only the wait. At several seconds per answer, people compose a request carefully and read the result. At a fraction of a second, they explore by adjusting, the way they use a dimmer or a map.
- For anything with a range, a control beats an instruction. A dial for tone is quicker and more repeatable than rewording a request. Behind it is still a line of prompt, which can be versioned and tested like any other (section 13.8).
- Showing what the system weighed helps only if the label is honest. “The model paid attention to this” claims more than a prompted judgment supports. “Phrases the next text builds on” says what is true.
- Speculation is paid for. Generating futures that nobody reads multiplies tokens (section 11.7). Cancel early, and give it a budget.
Common take“The interface to a language model is a chat box.”
Sharper take“Chat is what slow generation affords. When responses are near-instant, dials, highlights and scrubbing become possible, and each one is a prompt underneath that I can test.”
Key takeaways
- Place each feature by the cost of an error and how easily the user can spot one; the pattern, from free suggestion to no automation, follows.
- What your assistant says, your company said: a tribunal held Air Canada to its chatbot’s wrong answer.
- Use confidence to decide behavior, not as a number on screen. In simulation, a checked signal cut errors from 16.9% to 11.6% while answering 80%; the model’s self-report barely helped.
- Cite each claim, land on the highlighted passage, and verify citations in code before rendering. Quote where the wording matters.
- Approval wears out when everything needs it. Reserve it for costly, irreversible actions, show the consequence, and make everything else undoable.
- Give the system honest ways to fail: not found, partial, unavailable, handed over. Each is a designed state, logged and counted.
- For reading, time to first token is the speed that matters; generation already outpaces reading by ten times. For work nobody reads live, show real steps and let people cancel.
- Thumbs ratings over-represent unhappy users: at 85% good answers the computation showed 52% thumbs up. Measure with edits, implicit actions and sampled grading.
- Use plain tools where they fit, and let the model fill structured fields that code checks.
- Bring the model to the work: in place, in batches reviewed by exception, ambient, and conversation only for open-ended tasks.
Check your understanding
-
Your bank’s assistant answers questions about fees and dispute deadlines from the bank’s policy documents. It is right 94% of the time on the test set. Product wants to remove the “check the linked policy” note because it “makes us look unsure.” What do you recommend?
Answer outline
Fees and deadlines are costly to get wrong and hard for a customer to check, the worst corner of section 30.1, and the company is bound by what the assistant says. Keep the note, and go further: quote the exact policy text beside each answer about money or deadlines, cite each claim at the passage level and verify citations in code (section 30.3). Use a checked signal, such as whether retrieval found the policy and whether citations verify, to decide when to answer and when to hand over (section 30.2). At 94%, six answers in a hundred are wrong; the design decides what those six cost.
-
An agent that edits customer records asks the user to confirm every change. Logs show users approve 99.6% of requests in under two seconds, and two serious mistakes last month were both approved. What would you change?
Answer outline
Approval has become a reflex, so it no longer protects anything (section 30.4). Split actions by cost and reversibility. Make routine, reversible edits act directly with undo: soft changes, an audit history and a one-click revert. Keep approval only for changes that are costly or hard to reverse, such as deleting records, changing payment details or merging accounts, and make those approvals show the exact consequence, a before-and-after of the fields. Track the rejection rate per action type; review the two approved mistakes to see whether the confirmation showed what was about to happen.
-
After a redesign that moved the feedback buttons from a menu to under every answer, the thumbs-up share fell from 61% to 48%, and an executive asks what broke. How do you answer, and what would you measure instead?
Answer outline
Probably nothing broke. The thumbs share depends on who rates as much as on quality (section 30.7); more visible buttons change the mix of raters, and a change in rating behavior can move the share as much as a real change in quality. Check quality with signals that do not depend on who clicks: sampled grading with calibrated judges and human review on the same traffic before and after (section 24.5), edit rates on drafts, retries, rephrasing and escalations. Read a sample of the new thumbs-down traces to see what people object to.
Further reading
- Saleema Amershi and others, “Guidelines for Human-AI Interaction” (CHI 2019): the eighteen guidelines, with examples; also available as Microsoft’s HAX Toolkit.
- Google PAIR, People + AI Guidebook: patterns for expectations, explanations, feedback and errors.
- Nelson Liu, Tianyi Zhang and Percy Liang, “Evaluating Verifiability in Generative Search Engines” (2023): how often citations support what they are attached to.
- Chip Huyen, AI Engineering (O’Reilly, 2025), chapter 10: user feedback and product design.
- Jakob Nielsen, “Response Times: The 3 Important Limits” (Nielsen Norman Group): the 0.1, 1 and 10 second limits.
- Marc Brysbaert, “How many words do we read per minute?” (2019): the reading-rate meta-analysis used in section 30.6.