UPI Study › Courses › Introduction to Artificial Intelligence › Free lessons › Lesson 9.2 Free with a free account
AI in Everyday Life: Current Applications
Introduction to Artificial Intelligence · Chapter 9: AI Applications, Ethics, and the FutureSection 9.2 · lesson 63 of 6915 min · free with a free account
Free preview
Create a free account to keep watching
It takes a minute and costs nothing. Your free account unlocks all of Chapter 1 and 3 more lessons of Introduction to Artificial Intelligence.
Lesson complete
Earn the 3 college credits for Introduction to Artificial Intelligence
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Transforming Healthcare Through Intelligent Systems →← Navigating the Ethical Landscape of AINext lesson: Transforming Healthcare Through Intelligent Systems →
In this lesson
How voice assistants, recommenders, maps and personal apps use AI daily.
- Describe the collect, predict, act and learn loop shared by everyday AI systems
- Explain how voice assistants, recommenders, navigation and ride-hailing apps work, including their key trade-offs
- Apply collaborative filtering, joint assignment and a standard-deviation alert rule to small everyday examples
- Evaluate everyday AI features for privacy, accuracy and fairness risks
Free study notes
Get this lesson's notes by email
The key points and 4 practice questions with answers, in your inbox. One email, free.
One email. Unsubscribe in one click.
Transcript
Everything said in the video, section by section (2,102 words). Read along, or search it.
Opening Question
Four AI Systems Before Work
Before Maya even leaves for work, AI has touched her morning four times. Her phone heard her ask for the weather. Her map steered her around a jam. Her video app lined up a show, and her bank flagged a strange charge. Most of it was invisible. So what is each system doing, what data does it feed on, and what can go wrong?
The Shared Loop
Collect, Predict, Act and Learn
Underneath, all four run the same loop. Each one collects data about you, and predicts something. It acts on that prediction, then learns from how you respond. That loop is what makes these services useful, and it's also where their risks come from.
Voice Assistants
Wake Word, Recognition and Reply
Start with voice assistants. A voice assistant is a speech pipeline packaged as a product, with one extra step in front: is anyone talking to me? A tiny, always-on detector listens for one wake word, and ignores everything else. Then the request is recognized as text, and understood as an intent with its details, like a timer and its length. Finally, the system acts or looks up an answer, and speech synthesis speaks the reply. The wake word is spotted on the device itself. The later stages may run on the device, or on the company's servers.
Wake-Word Threshold
Missed Commands Versus Accidental Wakes
The wake-word detector gives every sound a score, and wakes up when the score passes a threshold. Set the threshold low, and it rarely misses you. But ordinary sounds wake it by accident, and it may record talk never meant for it. Set it high, and it stays quiet, but ignores you more often. Here's a simulation with assumed scores, and sixteen thousand ordinary sounds a day. At a threshold of 0.5, nothing is missed, but it wakes by accident about 99 times a day. At 0.65, it misses under 1 percent of commands, and wakes by accident about once every two days. At 0.8, accidents all but vanish, but it misses about 27 percent of real commands. That's the precision-recall trade-off, with a privacy cost. So designers pick a point between, and add safeguards: on-device processing, a recording light, and easy deletion.
Conversation Levels
From Single Commands to Open-Ended Replies
Assistants also differ in how much conversation they handle. The simplest takes a single command with every detail given: set a timer for ten minutes. Guided dialogue asks for missing details, one at a time. Context-aware systems follow up on earlier turns: what's the weather today? And tomorrow? And open-ended systems generate free replies on almost any topic: a plan, a poem, a problem.
Slot Filling
Booking a Table Detail by Detail
Guided dialogue works by slot filling. The system knows which details a request needs, tracks which ones it has, and asks for the rest. Book a table for four, fills the party size. Which restaurant? Luigi's. What time? Seven thirty. Nothing is missing now, so it confirms. Open-ended replies are fluent, but fluency isn't accuracy. They can state wrong facts in a confident tone, so check the answers that matter. And at every level, unfamiliar accents, background noise and recognition errors remain the main reasons a request fails.
Recommenders
Content-Based, Collaborative and Hybrid
Now recommendation systems. A catalog can hold millions of items, and nobody browses them all. A recommender ranks items by how likely you are to like them. Content-based systems suggest items whose features resemble ones you liked. Their weakness: more of the same. Collaborative filtering suggests what people with tastes like yours enjoyed. It needs ratings from many users, and fails for new users and new items: the cold start problem. Hybrids combine both, plus context like the time of day. They're harder to build and test.
Worked Example
Predicting Alex's Ratings From Similar Viewers
Here's collaborative filtering at work. Five viewers rate six shows from one to five. Alex hasn't seen the last three yet. First, measure how closely each viewer's taste matches Alex's on the three shows Alex has rated. That's a correlation, from minus one to plus one. Bea and Chen score plus 0.97: nearly identical taste. Dara scores minus one, and Eli minus 0.84. Their tastes are opposite, so they're ignored. Alex's predicted rating for each show is a weighted average of Bea's and Chen's: 5 for Robot Friends, 4.5 for Detective Duo, and 1.5 for Garden Diaries. So Robot Friends goes first, Detective Duo second, and Garden Diaries isn't suggested at all.
Filter Bubbles
Exploration Finds Hidden Items
Cold start has a usual remedy: begin with popular or content-based picks, and ask a new user a few preference questions. There's a subtler trap. Recommendations shape what people click, and those clicks feed the next recommendations. A simulation offered fifty equally appealing items, with ten slots a round. Always showing the most-clicked items found only ten of them, ever. With 10 percent of slots shown at random, 38 were found by round 200, and all 50 by round 2,000. That's exploration against exploitation again. Without deliberate exploration, a recommender narrows what people see: a filter bubble. And clicks are easy to measure, but what matters is whether people were glad afterward.
Navigation
Shortest Paths on Live Traffic
Navigation is search. A map app treats the roads as a graph: junctions are nodes, and roads are links labeled with travel times. The fastest trip is a shortest-path search, from the search lessons. The AI is in the labels: live speeds from phones on each road, and models that predict delays. From Home to Work, the highway route takes 6, 8 and 5 minutes, 19 in all. The other two routes take 22. Now congestion triples the highway section, from 8 minutes to 24. That route jumps to 35, and the search switches to a 22-minute route. But send thousands of drivers down the same alternative, and it jams too, so good systems spread traffic. And location data reveals where people live and work.
Ride-Hailing
The Assignment Problem
Ride-hailing must match waiting riders to nearby drivers. That's an optimization problem, called the assignment problem. Here are four riders, four drivers, and each driver's pickup time in minutes. First-come matching gives each rider the nearest free driver, in turn. R1 takes D1, R2 takes D3, R3 takes D4, and R4 gets D2. Total, 26. R3's nearest driver was the one R4 needed most. The best joint assignment looks at everyone together, and totals just 12. Real systems also weigh traffic, driver direction and fairness to drivers. And when prices rise with demand, riders should be able to see why.
Quick Check
First-Come Versus Joint Assignment
Quick check. Two riders, two drivers. Driver one is 2 minutes from rider one, and 3 from rider two. Driver two is 4 minutes from rider one, and 12 from rider two. Rider one asks first. How many minutes does the best joint assignment save, compared with first-come? Pause, and decide. Seven minutes. First-come gives rider one the nearest driver, driver one, and leaves rider two waiting 12 minutes: 14 in all. The joint assignment sends driver two to rider one, and driver one to rider two: 4 plus 3, just 7. Nine is the trap. Rider two does save nine minutes, but rider one now waits two minutes longer.
Smart Homes
Sensors, Actuators, Rules and Learning
A smart home combines sensors, like motion, temperature, door contacts, cameras and microphones, with actuators: lights, heating and locks. Some behavior is hand-written rules: if a window is open, lower the heating. Other behavior is learned from how the household actually lives. Learned schedules warm the house before you usually wake. Presence detection, camera alerts for packages, and energy saving, like running the dishwasher when power is cheaper.
Worked Example
Learning When the Kitchen Light Goes On
Here's a routine being learned. A household logs when the kitchen light first goes on, over ten weekday and four weekend mornings. Weekdays average 7:01, with a spread of about 7 minutes, so the light could start itself at 6:54. Weekends average 8:30, with a spread of about 10 minutes: start at 8:20. Mix all fourteen days together, and the average is 7:26, with a spread of 42 minutes. The suggested time, 6:44, suits neither group. Finding the right grouping is part of what makes learned automation work.
Smart Home Risks
Microphones, Hacking and Data Sharing
Smart homes carry real risks. Always-on microphones and cameras collect intimate data, so look for physical off switches, local processing and clear indicators. Poorly secured devices can be hacked. Keep them updated, with strong, unique passwords, and put them on a separate network. Data may be shared with the maker or third parties, so read the sharing settings. And keep manual controls that work when the internet is down.
Personal Finance
Sorting Merchants With Naive Bayes
Personal finance apps connect to bank and card accounts. They sort spending into categories, track budgets, forecast bills and flag unusual charges. Sorting is text classification: the merchant name is the input, and the category is the label. A naive Bayes classifier was trained on just 24 labeled names. It got 8 of 8 new names right, and it reports how sure it is. Fresh Valley Market: Groceries, at 86 percent. Shell Coffee is right too, Dining, but only at 35 percent, against 33 for Transport. Shell appeared in a fuel station's name. When two guesses are that close, a good app asks you to confirm. Your corrections become new labeled examples, and it improves.
Unusual Charges
The Three Standard Deviation Rule
A second feature spots unusual charges. Over 29 ordinary days, dining spending averaged $26.38 a day, with a standard deviation of $8.50. A common rule alerts on anything above the average plus three standard deviations: about $52 here. On day 30, a $214.50 charge lands 22 standard deviations above average, and it's flagged at once. Remember, spending summaries describe the past. They don't know your debts or goals, so big borrowing or investing decisions belong with a qualified adviser.
Personalized Learning
Bayesian Knowledge Tracing Step by Step
Personalized learning tools fit practice to each student. They estimate what you've mastered, pick the next question, and schedule reviews. A classic model, Bayesian knowledge tracing, keeps the probability that a skill is mastered, and updates it after every answer. It uses four numbers. Here, the starting chance of mastery is 0.3, and the chance of learning from each practice is 0.2. A slip, a wrong answer despite knowing the skill, has a chance of 0.1. And a lucky guess has a chance of 0.25. Watch one student answer. A wrong first answer drops the estimate to 0.24. Two correct answers raise it to 0.89. Then a wrong answer at question four. The estimate dips to 0.61, not to zero, because that wrong answer might be a slip. Two more correct answers, and at question six it passes 0.95. The tool moves on to a new skill, instead of drilling the same one.
Strengths and Cautions
What Learning Tools Do Well and Poorly
The strengths are real. Practice fits each learner's pace, feedback is immediate, and teachers see who needs help, with what. So are the cautions. Student data is sensitive. Skills that are easy to measure can crowd out the rest, and over-reliance can replace discussion. And a model trained on an unrepresentative group of students can be less accurate for others.
Quick Check
Which Fuel Charge Gets Flagged
Quick check. A driver's fuel charges average $30 a fill-up, with a standard deviation of $4. The app uses the three-standard-deviation rule. Which of these three charges gets flagged? Pause, and decide. Only the $43 charge. The alert line is 30, plus three times 4: $42. $41 is the tempting one. It's well above average, nearly three standard deviations, but it's still under the line.
Judging AI Features
Questions to Ask Before Relying on It
So how should you judge an AI feature you rely on? Ask what data it collects, and why. More data can mean better service, and more exposure. Ask where the processing happens, and how long data is kept. Ask what happens when it's wrong: a wrong song is minor, a wrong money transfer is serious. Ask whether you can see, correct or delete what it knows about you, and whether it works for you, or for the company's goals. And ask whether it works equally well for everyone, since errors can fall harder on some voices, groups or neighborhoods.
Back to Maya
What Each System Was Doing
Back to Maya's morning. Her assistant woke on a threshold that trades missed commands for accidental recordings. Her map ran a shortest-path search on live traffic. Her show came from a recommender that needs to keep exploring. Her bank's alert was a simple standard-deviation rule. Each one collected data, predicted, acted and learned, and now she knows what to ask of each.
Key Takeaways
Everyday AI in Summary
To sum up. Everyday AI reuses familiar techniques: speech recognition, supervised learning, search, optimization, rules and probability. A wake-word threshold trades missed commands against accidental recordings. Recommenders need deliberate exploration, or popularity locks in a few items. Navigation and ride-hailing are search and optimization, fed by live predictions. Personal tools learn your patterns, and they must be tested for errors and protected for privacy.
Think About It
Happier This Week, Narrower This Year
Here's something to think about. A recommender makes people happier this week, but narrows what they discover over a year. How would you decide whether it's successful? What would you measure, and over what time?
About Introduction to Artificial Intelligence at UPI Study
Introduction to Artificial Intelligence (Computer Science 373) is a self-paced online course of 69 video lessons in 9 chapters, from intelligent agents and search to game strategy, neural networks, logic and reasoning, machine learning, language, robotics and AI ethics. It carries a NCCRS credit recommendation for 3 semester credits.
Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Enroll now → Course details Download the syllabus All Computer Science courses Every course with PRO →
Compare: AI vs Current Trends in CS and IT
Why take it here
Why students take Introduction to Artificial Intelligence with UPI Study
Where the credit goes
Universities that work with NCCRS
Introduction to Artificial Intelligence carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.
FAQ
Questions students ask us
About AI in Everyday Life: Current Applications
How does collaborative filtering work in a recommendation system?
What is a filter bubble in recommender systems?
How does a wake word detector decide when to start listening?
How does a finance app detect an unusual charge?
About the Introduction to Artificial Intelligence course
How many college credits is Introduction to Artificial Intelligence?
How much does Introduction to Artificial Intelligence cost and what is included?
Which universities accept UPI Study credits?
How long does Introduction to Artificial Intelligence take?
How are the exams done?
How do my credits reach my college?
Ready for the full course? Earn 3 credits in Introduction to Artificial Intelligence.
69 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.
3 credits · NCCRSEnroll →