Illustration: iStockphoto Computer algorithms can help magicians create magic tricks that exploit human psychology
You are presented with two decks, one with images and the other with words. The magician shuffles and distributesthe decks into piles of four cards. You get to choose twopiles, one from the word deck and one from the image deck, to make a hand of eight cards. Then youre invited to picka word card and and an imagecardfrom yourhand.Once youve selected a pair, youwatch the magician reveal a previously written prediction about the cards youve chosen. The prediction is correct!
That kind of mind-reading magic trick could benefitfrom new AI computer algorithms. These algorithms are designed to exploithuman psychology andhelpmagicians choosethe best card combinations.
Thisassociation magic trickrelies upon making a spectator believe that the magician hasmanaged to predict his or herfree choice from a random combination ofshuffled cards. In reality, the magician has preselected two decks of cards that together containa category of card pairs that triggera particularly powerful mental association for most people. To help pull off this mind-reading illusion, computer scientists created a computer algorithm that can automatically help find compellingword and image combinations.
First and foremost its an entertaining magic trick we have built, but it does potentially allow insight into the processes that humans use to decide associations, saysPeter McOwan, a professor of computer science at Queen Mary University London in the UK.There are a range of mentalism tricks that use associations to accomplish their effects and similar computational frameworks could be applied across that range, he said.
McOwan began practicing magic as a hobby in his teens. He has since used magic tricks to teach computer algorithms and haswrittenfree e-books on the intersection between the two subjects. In recent years, McOwan has teamed up withHoward Williams, another computer scientistat Queen Mary University London, to develop computer algorithms that can help create new magic tricks. Their latest study on the association magic trick was published in the 9 Aug 2017 issue of the journal PLOS One.
The association magic trick takes advantage of how the human subconscious tends to formstrong mental associations between certain concepts. For example, people may quickly make food associations between images of burgers or fruitand related words such asbites,treats,snack andfeast. The human subconscious can quickly recognize and process such associations in a way that appears almost automatic to the conscious mind.
Another key part of the trick involves an appreciation of two psychological systems that underlay our decision making, as described byDaniel Kahneman, a psychologist and Nobel Prize-winner. System 1 covers the swift and seemingly automatic mental processing. System 2 refers to the more active, conscious thinking involved in planning, puzzle solvingor calculations.
The magician wants the spectator participating in the magic show to use the first system and make the automatic association because it makes his or her choice predictableespecially when the decks of cards are organized and shuffled in a way that ensures a matched pair of cards that belongto a certain category will always be among the choices. So the magician adds time pressure by asking the spectator to make a quick decision. That pressure typically ensures the spectator makes the predictable choice rather than making a more idiosyncratic pairingbased on the more conscious thought processes of the second system.
To collect relevant data in making the magic trick, the Queen Mary University London researchersperformed an online psychology experiment by showing human participants various selections of 10 trademarks from a pool of 100 of the most famous trademarks. The researchers then askedparticipantsto write down any words about how the trademarks made them feel, along with any otherassociations they had with each mark.
But theresearchers alsodeveloped an AI to help themfindstrong associations for the magic trick. First, their computer algorithm ran Internet searches on popular trademarks and plucked words from the webpages linked by the top ten search results for each trademark. Second, itused a previously developed search algorithm, called BM25, to organizeand rank the collecteddata according to certain association categories (such as food-related words). Additional AI techniques called word2vec and Wordnet helpedby providingsimilarity scores for certain word pairings.
The AI by itself was not necessarily able to find the strongest or most useful associations for the magic trick without human help. But suchautomated data gathering and organization could prove a handy time-saving tool for complementing data collected from the more time-consuming experimental surveys, according to Williams at Queen Mary University London. He described the tradeoff as follows:
Automated data gathering is useful as it is quick and can gather large sets of data. Experiments take longer to organize, perform, process data, etc., but provide more specific and targeted data. [Its] essentially a tradeoff between quality and quantity. Though quantity provides broadness, and is useful in its own right.
That process led Williams and McOwan to create image and word card decks that contained the food category as the likeliest choice. Theytested out their association magic trick on 143individuals during theBig Bang 2013 science fair in Birmingham, UK, where it succeeded in all but 15 cases. Those more unusual word and image pairings chosen in the unsuccessful cases could potentially be excluded by the computer algorithm or by hand in the future.
Even though there is a fairly clear pathway we have created in the trick for them to follow in the performances, some people just had left field associationsprobably influenced by their life experiences, McOwan says.Its an area worth looking at more.
Magicians could eventually makeuseof popular AI techniques such as machine learning and deep learning that can automatically find and learn from patterns in data. McOwan speculated that such techniques could prove useful in cold reading, which is when a magician uses psychological tricks and a data-driven understanding of population trends to pretend to divine personal details about a stranger.
The researchers have already commercialized magic tricks that were created with the help of computer algorithms. In 2014, they used a computer algorithm to help create a magic jigsaw puzzle that makes certain shapes seem to disappear upon reassembly based on certain geometric principles. That jigsaw puzzlesold out two production runs in a well known London magic shop, McOwan says.
The idea of computer algorithms helping create magic tricks may lack the emotional drama ofChristopher Nolans film The Prestige,where rival magicians vie to perfecttheir magic illusions. But even some of thefictional wizards in the magical world of Harry Potter might appreciate muggle AI technology that can help magicians seem toperform mind reading without wands and spells.
Of course a trick is only as good as the performer and our work is simply giving new tools to create new methods to perform with, McOwan says.The real magic still lies with the magician.
IEEE Spectrums general technology blog, featuring news, analysis, and opinions about engineering, consumer electronics, and technology and society, from the editorial staff and freelance contributors.
Sign up for the Tech Alert newsletter and receive ground-breaking technology and science news from IEEE Spectrum every Thursday.
A laptop-sized system could make it easier to diagnose and study sleep disorders 10Aug
Minor changes to street sign graphics can fool machine learning algorithms into thinking the signs say something completely different 4Aug
Engineers at Knowles bring the hearing aid industry together to fight feedback with simulation.
The DNA-as-malware hackthough difficultpoints to weaknesses in bioinformatics software 10Aug
From consumer audio to ultrasound imaging, the impact of new metamaterial structures for acoustic cloaking is far-reaching.
Deep learning AI can identify individual anthrax spores in seconds within special microscope images 4Aug
An audio technology startup delivers manufacturable transducers for high-end headphones.
In designing acoustical systems, engineers must account for multiple physics and their interactions at multiple scales and frequencies.
Glassdoor's latest research shows software jobs are diffusing beyond traditional geographies and industries 31Jul
A race is on to discover Planet Nine using classical astronomy and new computational techniques 31Jul
Blind opens its tech gossip app to anyone who works in tech, but only some get into closed company rooms 27Jul
Software engineering has highest share of foreign-born workers 25Jul
This body-tracking software could help robots read your emotions 22Jul
Find the programming languages that are most important to you 18Jul
Python jumps to No.1, and Swift enters the Top Ten 18Jul
We analyze the languages that are indemandbyemployers 18Jul
Blind quantum computing in the cloud could keep computation results secret even for remote classical-computer users 14Jul
Personalized learning has to get social. Students learn better through conversation 10Jul
Social and computer scientists parse online bot discourse 6Jul
Hedge funds are testing new quantitative strategies that could supplant traditional fund managers 28Jun
More:
AI Helps Magicians Perform Mind Reading Tricks - IEEE Spectrum
- AI File Extension - Open . AI Files - FileInfo [Last Updated On: June 14th, 2016] [Originally Added On: June 14th, 2016]
- Ai | Define Ai at Dictionary.com [Last Updated On: June 16th, 2016] [Originally Added On: June 16th, 2016]
- ai - Wiktionary [Last Updated On: June 22nd, 2016] [Originally Added On: June 22nd, 2016]
- Adobe Illustrator Artwork - Wikipedia, the free encyclopedia [Last Updated On: June 25th, 2016] [Originally Added On: June 25th, 2016]
- AI File - What is it and how do I open it? [Last Updated On: June 29th, 2016] [Originally Added On: June 29th, 2016]
- Ai - Definition and Meaning, Bible Dictionary [Last Updated On: July 25th, 2016] [Originally Added On: July 25th, 2016]
- ai - Dizionario italiano-inglese WordReference [Last Updated On: July 25th, 2016] [Originally Added On: July 25th, 2016]
- Bible Map: Ai [Last Updated On: August 30th, 2016] [Originally Added On: August 30th, 2016]
- Ai dictionary definition | ai defined - YourDictionary [Last Updated On: August 30th, 2016] [Originally Added On: August 30th, 2016]
- Ai (poet) - Wikipedia, the free encyclopedia [Last Updated On: August 30th, 2016] [Originally Added On: August 30th, 2016]
- AI file extension - Open, view and convert .ai files [Last Updated On: August 30th, 2016] [Originally Added On: August 30th, 2016]
- History of artificial intelligence - Wikipedia, the free ... [Last Updated On: August 30th, 2016] [Originally Added On: August 30th, 2016]
- Artificial intelligence (video games) - Wikipedia, the free ... [Last Updated On: August 30th, 2016] [Originally Added On: August 30th, 2016]
- North Carolina Chapter of the Appraisal Institute [Last Updated On: September 8th, 2016] [Originally Added On: September 8th, 2016]
- Ai Weiwei - Wikipedia, the free encyclopedia [Last Updated On: September 11th, 2016] [Originally Added On: September 11th, 2016]
- Adobe Illustrator Artwork - Wikipedia [Last Updated On: November 17th, 2016] [Originally Added On: November 17th, 2016]
- 5 everyday products and services ripe for AI domination - VentureBeat [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- Realdoll builds artificially intelligent sex robots with programmable personalities - Fox News [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- ZeroStack Launches AI Suite for Self-Driving Clouds - Yahoo Finance [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- AI and the Ghost in the Machine - Hackaday [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- Why Google, Ideo, And IBM Are Betting On AI To Make Us Better Storytellers - Fast Company [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- Roses are red, violets are blue. Thanks to this AI, someone'll fuck you. - The Next Web [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- Wearable AI Detects Tone Of Conversation To Make It Navigable (And Nicer) For All - Forbes [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- Who Leads On AI: The CIO Or The CDO? - Forbes [Last Updated On: February 6th, 2017] [Originally Added On: February 6th, 2017]
- AI For Matching Images With Spoken Word Gets A Boost From MIT - Fast Company [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Teach undergrads ethics to ensure future AI is safe compsci boffins - The Register [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- AI is here to save your career, not destroy it - VentureBeat [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- A Heroic AI Will Let You Spy on Your Lawmakers' Every Word - WIRED [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- With a $16M Series A, Chorus.ai listens to your sales calls to help your team close deals - TechCrunch [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Microsoft AI's next leap forward: Helping you play video games - CNET [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Samsung Galaxy S8's Bixby AI could beat Google Assistant on this front - CNET [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- 3 common jobs AI will augment or displace - VentureBeat [Last Updated On: February 7th, 2017] [Originally Added On: February 7th, 2017]
- Stephen Hawking and Elon Musk endorse new AI code - Irish Times [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- SumUp co-founders are back with bookkeeping AI startup Zeitgold - TechCrunch [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Five Trends Business-Oriented AI Will Inspire - Forbes [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- AI Systems Are Learning to Communicate With Humans - Futurism [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Pinterest uses AI and your camera to recommend pins - Engadget [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Chinese Firms Racing to the Front of the AI Revolution - TOP500 News [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Real life CSI: Google's new AI system unscrambles pixelated faces - The Guardian [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- AI could transform the way governments deliver public services - The Guardian [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Amazon Is Humiliating Google & Apple In The AI Wars - Forbes [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- What's Still Missing From The AI Revolution - Co.Design (blog) [Last Updated On: February 9th, 2017] [Originally Added On: February 9th, 2017]
- Legaltech 2017: Announcements, AI, And The Future Of Law - Above the Law [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Can AI make Facebook more inclusive? - Christian Science Monitor [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- How a poker-playing AI could help prevent your next bout of the flu - ExtremeTech [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Dynatrace Drives Digital Innovation With AI Virtual Assistant - Forbes [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- AI and the end of truth - VentureBeat [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Taser bought two computer vision AI companies - Engadget [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Google's DeepMind pits AI against AI to see if they fight or cooperate - The Verge [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- The Coming AI Wars - Huffington Post [Last Updated On: February 10th, 2017] [Originally Added On: February 10th, 2017]
- Is President Trump a model for AI? - CIO [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Who will have the AI edge? - Bulletin of the Atomic Scientists [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- How an AI took down four world-class poker pros - Engadget [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- We Need a Plan for When AI Becomes Smarter Than Us - Futurism [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- See how old Amazon's AI thinks you are - The Verge [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Ford to invest $1 billion in autonomous vehicle tech firm Argo AI - Reuters [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Zero One: Are You Ready for AI? - MSPmentor [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Ford bets $1B on Argo AI: Why Silicon Valley and Detroit are teaming up - Christian Science Monitor [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Google Test Of AI's Killer Instinct Shows We Should Be Very Careful - Gizmodo [Last Updated On: February 12th, 2017] [Originally Added On: February 12th, 2017]
- Google's New AI Has Learned to Become "Highly Aggressive" in Stressful Situations - ScienceAlert [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- An artificially intelligent pathologist bags India's biggest funding in healthcare AI - Tech in Asia [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Ford pledges $1bn for AI start-up - BBC News [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Dyson opens new Singapore tech center with focus on R&D in AI and software - TechCrunch [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- How to Keep Your AI From Turning Into a Racist Monster - WIRED [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- How Chinese Internet Giant Baidu Uses AI And Machine Learning - Forbes [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Humans engage AI in translation competition - The Stack [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Watch Drive.ai's self-driving car handle California city streets on a ... - TechCrunch [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Cryptographers Dismiss AI, Quantum Computing Threats - Threatpost [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Is AI making credit scores better, or more confusing? - American Banker [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- AI and Robotics Trends: Experts Predict - Datamation [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- IoT And AI: Improving Customer Satisfaction - Forbes [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- AI's Factions Get Feisty. But Really, They're All on the Same Team - WIRED [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Elon Musk: Humans must become cyborgs to avoid AI domination - The Independent [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Facebook Push Into Video Allows Time To Catch Up On AI Applications - Investor's Business Daily [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Defining AI, Machine Learning, and Deep Learning - insideHPC [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- AI Predicts Autism From Infant Brain Scans - IEEE Spectrum [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- The Rise of AI Makes Emotional Intelligence More Important - Harvard Business Review [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Google's AI Learns Betrayal and "Aggressive" Actions Pay Off - Big Think [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- AI faces hype, skepticism at RSA cybersecurity show - PCWorld [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- New AI Can Write and Rewrite Its Own Code to Increase Its Intelligence - Futurism [Last Updated On: February 17th, 2017] [Originally Added On: February 17th, 2017]