1. Home
  2. Explore
  3. Computer Science
  4. Aligning AI with Human Values

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Aligning AI with Human Values

Transcript

welcome to Wisdom Planet wisdom worth spreading happy listening the book I'm discussing today is titled Aligning Humans and machines published in June 2023 it is authored by Brian Christian a bestselling writer known for his keen insights into cutting edge computer science we've previously reviewed his work The Most Human Human in Aligning Humans and Machines Christian tackles one of the most pressing issues and artificial intelligence to day ensuring that AI values align with human values

in simpler terms it's about making AI more human like in science fiction we often encounter scenarios where AI surpasses human eye intelligence takes over and enslaves humanity sometimes humans try to impose various rules on AI but these efforts don't always succeed you might have heard of the three laws of robotics proposed by SCI fi author Isaac Asimov with the first law stating that a robot cannot harm a human however in a sim of stories robots once in control imprison all humans at home to prevent them from harming each other the robots logic is that humans are prone to conflict and violence so the only way to protect them is confinement back in 1942 when the story was written it was merely speculative fiction but today these concerns are no longer farfetched AI is increasingly integrated into our daily lives merchants recommend products to you websites suggest videos banks decide on your credit card limit matchmaking services introduce potential partners and AI even influences

hiring decisions and bail determinations in courts there's an intriguing analogy in this book as AI becomes more powerful and widespread humans resemble the half baked wizards of fantasy novels dabbling in magic without full mastery often fearing the unintended consequences of their spells we might intend to summon a small flame but end up with a fireball once we realize our spell is inaccurate or incomplete we scramble to contain it lest our wisdom conjures a terrifying dragon so how can we prevent issues in AI training this book identifies the problems and potential solutions associated with different algorithms in essence there are three main scenarios which we will discuss one by one let's start with the first potential issue you might have heard about a major blender by Google in 2015 Google Photos introduced a feature where users could upload photos and the site would automatically tag them using AI for example

if someone uploaded a picture of themselves with a dog at tea he beach the AI might tag it as beach trip and dog making it easier for users to search their photos however a software engineer testing this feature found a tag in his gallery labeled gorilla this puzzled him since he hadn't taken any photos at a zoo upon clicking the tag he discovered that all the photos were of his black friend the engineer posted a screenshot on Twitter commenting Google Photos you messed up my friend is not a gorilla this incident caused a huge uproar online forcing Google to apologize why did this happen it wasn't because the AI had developed a consciousness and was deliberately being racist here's a bit of background the most popular algorithms for training AI to day include three main types Google's image recognition uses a method called supervised learning this approach is somewhat like how parents teach children by showing them pictures and naming the objects

this is an elephant this is a zebra over time the child learns to recognize these objects the problem is if parents only show red apples while teaching their Chi LD about apples the child might mistake a green apple for a pair when they see one Google's issue was similar because there are fewer black engineers at Google the image library used to train the AI had fewer pictures of black people compared to white people making the AI more prone to errors when encountering unfamiliar images you might think this kind of bias should be easy to fix right in reality correcting AI bias is much harder than it seems Google couldn't technically solve this issue and ended up banning them Gorilla Tag altogether even if users upload actual gorilla photos the AI won't tag them as such this book Aligning Humans and machines provides another example that highlights the problem an American computer science student named Brandeis once worked on a class project to create

a program that allows people to play hide and seek with a computer while the coating process went smoothly there was one issue the robot couldn't recognize Brandy's face because she is black she had to use her roommate's face to complete the project later when Brandice attended a startup competition in Hong Kong she saw a social robot developed by a Chinese company that also failed to recognize her face as Brandice noted on the other side of the world I Learned that algorithmic bias spreads as quickly as downloading a file from the internet after graduating Brandeis joined MIT slab and worked on a project called Inspiring Mirror an augmented reality mirror that gives users motivational visual effects like transforming their reflection into a lion again the results were impressive but there was one problem the AI still couldn't recognize Brandi's face so she had to wear a white mask to see the effects later Brandeis tested facial recognition

systems developed by Microsoft and IBM and found similar issues these systems were 10 percent to 20 percent more accurate at recognizing mail faces than female faces and light skinned faces over dark skinned ones why is this problem harder to fix than we might imagine after all wouldn't simply showing the AI more diverse images solve the issue let's look at a pre AI era example to understand the core of the problem in the days when movies were filmed on celluloid Hollywood photographers used Shirley cards to calibrate colors these cards featured a standard photo of a white woman named Shirley an employee of Kodak Kodak's influence made the GC Shirley card an industry standard back then Kodak even adjusted its chemical processes based on white skin tones which made it difficult for cameras to capture black people accurately although cameras aren't biased when people calibrate cameras and film based on white skin tones the equipment inherits that bias imagine a scenario where a black

actor and a white actor compete fairly in front of the camera with equal talent and looks however if the camera doesn't capture the black actor as well as the white actor the black actor is more likely to be eliminated conversely as cameras and film technology improved to make white actors look better it created a cycle the story takes a twist in the 1960s when Kodak film improved its ability to capture darker tones not due to civil rights movements but because furniture and chocolate manufacturers wanted better representations of Darkwood and chocolate black actors and models benefited incidentally in the AI era every facial recognition system is backed by a vast image library containing tens or even hundreds of thousands of photos these photos are the 21st century Shirley cards although we've moved from a single card to thousands of images the underlying approach remains the same selecting a few representative images to guide subsequent work

more images mean increased workload and costs developers have to manually tag the content of each tray ning image before feeding them to the AI limited time and budget make it impossible to show the AI every image in the world so developers choose what they consider representative this selection introduces potential bias this is the first type of AI bias which can be described as bias arising from limited perspective can this bias be eliminated the book argues that transparency in AI training datasets is crucial allowing others to scrutinize these datasets ensures they are truly representative if the AI will impact many people those people should know whether the training data considered everyone fairly if we use a sufficiently comprehensive dataset to train AI without any omissions will the resulting AI be free of bias there is indeed such a training method earlier we mentioned that the training method used in image recognition is called supervised learning in other fields

there is another method called unsupervised learning where vast amounts of data are fed to the AI without labeling each piece of data the AI after seeing enough data will automatically discover patterns and relationships if supervised learning is like a teacher instruct in GA student then unsupervised learning is like allowing the AI to self study the AI is very diligent and will learn by researching a large amount of content on its own since this method doesn't require prelabeling the data theoretically it can let the AI see an unlimited amount of data avoiding the problem of limited perspective however new issues arise with this approach the book provides another example involving Google which seems to be at the forefront of AI development leading to both achievements and problems Google developed an AI that gathered vast amounts of lawn gauge data from newspapers magazines and the internet feeding this data into a neural network for the AI to find connections between words

although the AI might not fully understand these languages it learns the associations between words through automatic learning it quickly discovered that Beijing is related to China Moscow to Russia and if asked about the UK it would respond with London the AI understood the relationship between capitals and countries through self learning Google's engineers added a feature to the AI allowing it to perform addition and subtraction with words of course this isn't exactly like mathematical addition and subtraction for instance if you input China plus river the AI might answer Yangtze River it can handle more complex equations too like Paris France plus Italy and the AI would answer Rome if you input king man plus woman it would return queen this AI worked well until two years later some scientists playing around with it discovered some issues when they input Doctor Manplus Woman the AI returned nurse worse when they input shopkeeper Manplus Woman

the answer was housewife and 4 computer programmer Manplus Woman it again returned housewife in other words this AI associated professions with gender implying that certain jobs are inherently suited for men and others for women this bias wasn't due to the AI developing a consciousness and consciously discriminating against women the AI was simply finding associations between words based on the vast amount of data was fed which reflected human biases so can we array such biases and prevent the AI from linking professions with gender you'll find that this is much harder than it seems many large companies have developed AI systems to help screen resumes including Amazon their approach was to show the AI resumes of past employees helping it understand what the current employees are like when reviewing job applicants resumes the AI would select those most similar to existing employees naturally the applicants most similar to current employees are what the co

painting needs however it was found that this system inadvertently introduced bias for instance if the current engineering team has more men than women the AI would think the company needs more male engineers leading to more female candidates being screened out you might suggest modifying the system to exclude gender preventing the AI from seeing the applicants gender during evaluation but resume still include names and if the AI sees an applicant named Mike and another named Mary it might favor Mike you might then suggest removing names as well however resumes also list interests in hobbies and the AI might infer gender based on whether someone likes football or softball resumes also mention Alma maters and if a school is in all women's college the AI might pick up on that even the writing style can differ slightly between men and women and while we might not notice these subtle differences the AI can the old saying birds of a feather flock together applies here

with unsupervised learning the AI can categorize people into various groups and treat these groups as high walls excluding those who don't fit certain gender or ethnic profiles this problem is particularly challenging because we need the uncontrollability of unsupervised learning but we can't let it be too uncontrollable the purpose of designing such algorithms is to capture hidden correlations in the data for instance if the AI discovers that software engineers who know some Chinese perform better it might give bonus points to candidates who know Chinese during resum e screening this could be what the company needs because the AI has identified a trait that we might not have noticed the AI can sometimes spot talent better than humans however these correlations can be uncontrollable and while the company wants strong performers who can quickly integrate INT 0 the team the AI might prioritize certain genders or ethnicities Norbert Wiener

the father of cybernetics once said decades ago the best way to ensure that machines achieve the goals we desire is to make sure that their objectives align with our true intentions this statement is incredibly present to day I read another example in the book where human and AI goals did not align in the 21st century more and more American judges have been using AI to help make decisions such as whether to grant bail to a prisoner one of the most popular AI tools among judges is called Compass Compass can score a prisoner from 1 to 10 based on their history with higher scores indicating a higher likelihood of reoffending after release in principle the AI evaluates based on the criminal s past history to predict future behavior however in practice compass has shown significant racial bias for instance two drug offenders with similar cases might receive different scores with the white offender scoring 3 and the black offender scoring ten where did things go wrong

is the algorithm poorly designed some have pointed out that the issue lies in the past data while the AI's goal is to predict the likelihood of reofending the data users can't actually capture that you might argue that police records and court files provide this information but those records only show how many people were arrested and convicted not how many actually committed crimes therefore what compass predicts is not the likelihood of reoffending but the likelihood of being arrested and convicted again this explains why similar cases receive such different scores for white and black offenders in the US police and courts are indeed harsher on black individuals the book offers a striking analogy if humans teach an AI to recognize apples but only show at red apples the AI will develop a bias conversely if someone consistently mistakes a lion for a cat you can't expect the AI to accurately distinguish between lions and cats

this scenario increasingly resembles those imagined by SCI fi writers where people hope AI will enforce justice impartially but the AI inadvertently inherits biases it seems that both supervised and unsupervised learning can lead to problems supervised learning can introduce bias due to limited datasets overlooking unseen groups unsupervised learning while avoiding this issue can become uncontrollable sometimes producing brilliant insights and other times wild inaccuracies even if it objectively reflects past human thoughts if those thoughts were biased the bias is hard to eliminate given these challenges I wouldn't trust AI with judicial power fortunately there is another method for training AI earlier we discussed that there are currently three popular algorithms for training AI we've already covered supervised learning and unsupervised learning the third method is called reinforcement learning where AI receives feedback for every decision it makes

such as earning points or losing points reinforcement learning is akin to a coach training an athlete when the athlete makes a mistake the coach immediately points it out and corrects it this is the principle behind Alphago this method seems more reliable since it s similar to how coaches train athletes mentors guide apprentices and companies train new employees however this approach also has potential issues such as making the AI overly focused on actions while neglecting the underlying vision the book provides an interesting example the author's friend an economist was recently potty training his young son and wanted his young daughter to help to incentivize her he established a rule every time she helped her brother use the toilet she would get a piece of candy a few days later the little girl made what might be her first logical deduction and found a loophole in the rule she realized that the more water her brother drank the more he would need to use the toilet

so she started giving him lots of water every day this illustrates the potential problem with reinforce him at learning we've all seen similar situations in companies where employees diligently complete tasks but these actions may not necessarily benefit the company or contribute to business growth it's not always that employees lack responsibility sometimes even the bosses aren't clear on how specific actions relate to the company's development the relationship between humans and AI is similar training AI to play go where the rules are clear is relatively straightforward but in more complex scenarios we are often like the unclear bosses unable to determine the relationship between actions and vision so what can be done computer scientists have found several solutions one approach is imitation given the complexity of some scenarios we can t break them down into detailed reward and punishment rules so we let humans demonstrate and AI imitates during this process

AI gradually internalizes some of our values autonomous driving is a prime example it's challenging to teach AI how to drive using a set of rules especially with complex road conditions instead we have experienced drivers demonstrate and AI learns from them this is currently the best method for training AI in autonomous driving another approach is called inverse reinforcement learning as the name suggests this method is the opposite of reinforcement learning you can think of reinforcement learning as a game where AI takes various actions like moving forward backward or jumping and the environment rewards it with points the AI s goal is to try different strategies to maximize its score which might lead it to exploit loopholes in the rules in reinforcement learning the rules are fixed and the AI figures out how to act in inverse reinforcement learning the AI observes others playing the game seeing how scores change with different actions

and tries to infer the underlying rules this way we can see how the AI interprets the rules we've set and whether they align with our vision if not we can make adjustments this provides a different perspective as our goal is alignment and looking at the problem solely from the human side might be insufficient we also need to see how the AI understands it thus inverse reinforcement learning is a new direction in artificial intelligence there's another speculative approach so far the training methods we've discussed involve training individual AIEs however consider how a company trains new employees to make a team more efficient the best training method isn't to enhance each individual skills but to rotate positions allowing everyone to understand each other's roles challenges and pressures some computer scientists have proposed applying this concept to AI learning training multiple AIs and encouraging them to collaborate through interaction

although this is still a hypothesis if technically feasible it could be a promising direction scientists have found that even 18 month old infants can recognize when someone needs help when scientists intentionally fell in front of them the infants despite being unsteady walkers would wobble over to offer assistance this is a highly complexibility almost unique to humans developed through millions of years of evolution to understand the importance of cooperation and might also become more human like through such processes that concludes my summary of Aligning Humans and machines you'll see that instilling human values into AI is an incredibly complex issue this complexity goes beyond just technological development and rule setting AI also acts as a mirror reflecting our own imperfections we may not fully understand what our best qualities are and we should also reflect on the biases hidden behind our everyday assumptions at the end of the book

the author shares a piece of history that I think is a fitting conclusion for this discussion in 1952 the BBC produced a program featuring a roundtable discussion with four scientists on whether computers could truly think one of the guests was Allan Touring often regarded as the father of computer science and artificial intelligence during the program touring remarked indeed when a child is educated their parents and teachers constantly intervene stopping them from doing this or encouraging them to do that but when humans try to teach machines the situation is different I've done some experiments teaching machines to perform simple tasks and before getting any results a lot of interventions are needed in other words machines learn too slowly and require extensive teaching at this point the host interjected who is learning you or the machine touring replied I think we both are that encapsulates the essence of this book congratulations on finishing another book

thank you for your support please subscribe to our Wisdomplanet audiobook channel like and share it with family and friends wisdom worth spreading and opening up a better future thank you and see you again

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent