Human AI Interaction
F27ID Introduction to Interactive Design
2021-2022
## Overview * What is **Human AI Interaction**? * **Why** is Human AI Interaction so important? * Ways of representing and visualizing Human AI Interaction * Tools/Guidelines * Questions and Discussion
## Revision Question Which statements about User Experience (UX) are true? (You can pick more than one) * a) UX is easily quantifiable * b) UX is highly subjective * c) UX is more important than Usability * d) UX and Usability are completely independent * e) For some products UX is irrelevant
## Answer * b) UX is highly subjective * e) For some products UX is irrelevant
### Human Artificial Intelligence (AI) Interaction
### Human-AI Interaction in the light of Design (Principles) * Intelligent user interfaces can **violate** number of **design principles** or usability guidelines - Such as consistency and feedback. * **Consistency** refers to minimizing unexpected changes with a consistent interface appearance and predictable behavior, - However AI systems tend to be inconsistent due to poorly understood probabilistic behaviors * **Feedback** refers to providing user with information about the results of an action, - However Intelligent user interfaces can react differently due to sensor noise or lighting effects. - E.g. auto-completing systems suggesting different words after language model updates, search-engine returning different results due to personalization.
## Explainable AI * **How to avoid these problems, or address these challenges?** --- * AI explanations and interpretability to support human verification of AI actions * Goals include reducing the chances of potentially dangerous actions and costly outcomes
## Examples of Human-AI Interaction * **Emails** - Spam Filters * **Social Networking** - Facebook also uses AI to personalize your news-feeds and ensure you're seeing posts that interest you, * **Banking/Personal Finance** - uses AI and ML to decipher and convert handwriting on checks into text via OCR. * **Grading and Assessment** - Plagiarism Check (Turnitin)
##### **Examples** of Explainable AI ## ORCA Hub Project * Deploying robots on the oil rigs * Provide information about robot's actions * Improve situation awareness * Improve human factors - such as reduce mental load or effort, enhance performance & Trust
##### **Examples** of Explainable AI ## Glimpse into the future
* Self driving cars * Social Robots * Human AI Interaction (Common Place)
## What **Factors** should we consider when interacting with **Intelligent** Systems?
#### Humans' Interacting with **"Intelligent"** Systems ## Factors * Safety * Fairness * Interpretable / Transparent * Trustworthy * Engaging
## Research areas Research **needed** to explore * (1) **What** the desired properties are and why (e.g., AI and ethics), * (2) **How** to implement AI and machine learning algorithms to support these desired properties, * (3) **How** to **design and evaluate the interface / interaction between** humans and AI in order to "**actually**" achieve these desired properties.
#### How to Study Human-AI Interaction with ### User-Centered Design
#### Beyond UCD life cycle for Human-AI Interaction
User-Centered Design (UCD) Life-Cycle
## Discover * To create Human-AI Interaction systems * **First Step: know the audience (user)**
### Ways of Knowing the User
### Ways of **Knowing** the User * Knowing by **asking** * Interview, surveys * Knowing by **experimenting** * Lab experiment, statistical analysis * Knowing by **designing and building** * Ideation, Wizard-of-Oz prototyping * Knowing by **deploying** * Field study, dairy studies, log data analysis * Knowing by **sensing** * Remote user monitoring * Knowing by **observing** * Case studies
##### Design & Deliver ### Human-AI Interaction systems **are** 1. Designed to **adapt** the interaction to user capabilities 2. Designed iteratively and in **collaboration with users** 3. Designed carefully by considering which tasks to automate and which to keep under **human supervision**
##### Design & Deliver ### Human-AI Interaction systems are an **on-going research area** * The delivery of these systems needs a lot of testing and feedback * Therefore, it is also **important to understand guidelines** for designing and delivering Human-AI interaction Systems
## Guidelines * Guidelines and principles for designing user interfaces are studied in Interaction Design. --- ### **However!!!** * Due to the variability of AI designs (capabilities and interaction styles), * and high-reports of failures (autocomplete errors) * There is need to study guidelines for designing Human-AI interactions.
## Guidelines (Gs) ### G1-G18
## (G1) Make it clear what the system can do * Help the user understand what the AI system is **capable of** doing Example applications * [Activity Trackers] "Displays all the metrics that it tracks and explains how. Metrics include movement metrics such as steps, distance travelled, length of time exercised, and all-day calorie burn, for a day." Example violation * [Social Networks] "This guideline is violated because I cannot even tell what this news feed can/will show."
## G2 - Make clear how well the system can do what it can do * Help the user understand **how often** the AI system may make **mistakes** Example application * [Music Recommenders] "A little bit of hedging language: 'we think you'll like'." Example Violation * [Social Networks] "For some of the ads, there is a 'suggested post' on the top to indicate that this is just a suggestion. But for the rest of the posts, there is no clue for me to tell the quality.
## G3 - Time services based on context Time when to **act or interrupt** based on the user's current task and environment. Example application * [Social Networks] "If the user has not accessed [the product] in a while, the application will let the user know that there is something new to be explored - a story, video. Example violations * [Email] "Sending notifications for unimportant messages likely something most people will not want as an interruption."
## G4 - Show contextually relevant information * **Display information** relevant to the user's current task and environment. Example applications * [Web Search] "Searching a movie title returns show times in near my location for today's date" Example Violation * [Email] "What goes into the [tabs] is the same all the time. It does not change based on the context, for example to...emails related to the meeting I'm attending or the message I'm reading."
## G5 - Match relevant social norms * Ensure the **experience** is delivered in a way that users would **expect**, given their social and cultural context. Example application * [Voice Assistants] "[The assistant] uses a semi- formal voice to talk to you - spells out "okay" and asks further questions." Example Violation * [Email] "the system does not follow the social norms of a workplace. For example, one norm is to pay attention to your manager. However, even with access to company hierarchies, it isn't clear that the system will put messages from one's direct manager in the [appropriate tab] automatically."
## G6 - Mitigate social biases * Ensure the AI system's **language and behaviors** do not rein- force undesirable and unfair stereotypes and **biases** Example Application * [Autocomplete] "The autocomplete feature clearly suggests both genders [him, her] without any bias while suggesting the text to complete." Example violation * [Voice Assistants] "When asked "...can you change your voice" [the assistant] responds in a male voice saying "Here is an example of my other voice. Would you like me to use this one?"... While it's nice that a male voice is given as an option, the default...voice is female, which reinforces stereotypical gender roles that presume a secretary or receptionist is female."
## G7 - Support efficient invocation * Make it **easy to invoke** or request the AI system's services when **needed** Example Application * [Voice Assistants] "I can say [wake command] to initiate." Example violation: * [Navigation] "[The product] remembers where you parked your car. However if it fails to remember, or I want it to remember something else (e.g., where I chained up my bike), it is not possible (or at least not easily discoverable) to invoke the capability when I need it."
## G8 - Support efficient dismissal * Make it **easy to dismiss** or ignore undesired AI system services. Example Application * [E-commerce] "Feature is unobtrusive, below the fold, and easy to scroll past...Easy to ignore." Example Violation * [Navigation] "Suggested locations based on calendar entries can't be removed from the suggestions."
## G9 - Support efficient correction * Make it **easy to edit, refine, or recover** when the AI system is wrong. Example Application * [Voice Assistants] "Once my request for a reminder was processed, I saw the ability to edit my reminder in the UI that was displayed. Small text underneath stated 'Tap to Edit' with a chevron indicating something would happen if I selected this text." Example Violation * [E-commerce] "I already recently bought the items which are in my recommendation list & there is no message to discontinue nor option for users to deselect."
## G10 - Scope services when in doubt * Engage in disambiguation or gracefully **degrade the AI system's services when uncertain** about a user's goals Example applications * [Navigation] "If more than one line takes the same route the user can choose between the preferred line." Example violations * [Music Recommenders] "The system doesn't ask for user input about its recommendations, nor does it provide a way for users to provide input."
## G11 - Make clear why the system did what it did * Enable the user to access an **explanation** of why the AI system behaved as it did Example applications * [E-commerce] "Clicking 'Why recommended' explains why they have recommended that particular item to you." Example violations * [Music Recommenders] "The system provides no information about why the recommended songs/artists are chosen."
## G12 - Remember recent interactions * Maintain **short term memory** and allow the user to make efficient references to that memory Example applications * [Navigation] "Opening the app shows a list of recent destinations, as well as allows you to access 'favorite' locations." Example violations * [Social Networks] "This guideline is violated since there is no indication of 'what you have read'."
## G13 - Learn from user behavior * **Personalize** the user's experience by learning from their **actions over time** Example applications * [Music Recommenders] "I think this is applied because every action to add a song to the list triggers new recommendations." Example violations * [Activity Trackers] "The app notifies/nudges users to push them to achieve goals, but I haven't seen a change in behavior even though my patterns have changed."
## G14 - Update and adapt cautiously * **Limit disruptive changes** when updating and **adapting** the AI system's behaviors Example applications * [Music Recommenders] "Once we select a song they update the immediate song list below but keeps the above one constant." Example violation * [Social Networks] "If I'm in the middle of watching a video post, every now and then they will scroll me up to the first post."
## G15 - Encourage granular feedback * Enable the **user to provide feedback** indicating their preferences during regular interaction with the AI system Example application * [Social Networks] "[The product] allows the user to 'Hide an Ad,' and then when doing so, solicits feedback to improve relevancy of future ads." Example violations * [Voice Assistants] "Once [the assistant] performed the task I had asked of it, there was no additional ability to customize the experience or give feedback on my satisfaction; even when I chose to remove the reminder right after I verbally requested it."
## G16 - Convey the consequences of user actions * Immediately update or convey **how** user actions will **impact future behaviors** of the AI system. Example applications * [MusicRecommenders] "Tapping thelike/dislike button results in immediate popups informing that the user will receive more/fewer recommendations like it." Example violations * [Social Networks] "You can unfollow or like or interact but how that affects you isn't clear. It just sort a happens."
## G17 - Provide global controls * Allow the **user** to globally **customize** what the AI system monitors and how it behaves Example applications * [Web Search] "It has settings such as...private results that help users get results that are more relevant to them." Example violations * [Email] "The only option is to turn the system on or off. It otherwise applies to all messages at all times. It is not clear how the system works, or what data it monitors, but presumably it applies to entire email contents."
## G18 - Notify users about changes * **Inform** the **user** when the AI system **adds or updates its capabilities** Example applications * [Email] "The help tab for the interface features a "What's new" section which could be used to inform the user about AI system additions or capability updates." Example violations * [Music Recommenders] "The algorithm feels like it constantly updates, with a slightly different feel to my recommendations every week. However there is no explanation of what has changed."
## Summary * Understand **Core Concepts** (Human **AI** Interaction) * Guidelines and principles * Examples, limitations and challenges
## Recommended Reading
* Interaction Design: beyond Human-Computer Interaction Chapter 1
* Guidelines for Human-AI Interaction [Link](https://www.microsoft.com/en-us/research/uploads/prod/2019/01/Guidelines-for-Human-AI-Interaction-camera-ready.pdf)
## To do this week ... * Read over the lectures/recommended chapters * **Review** the revision questions * Read around the subject * Revising for the Exam