StarTalk Radio
StarTalk Radio

Cosmic Queries – Algorithms and Data, with Hannah Fry

What is an algorithm? How do you interpret large amounts of data? Neil deGrasse Tyson and comic co-host Chuck Nice answer fan-submitted Cosmic Queries exploring algorithms and big data alongside mathematician and author Hannah Fry, PhD.

Featured Speakers

Hannah Fry Guest

Topics Discussed

Episode Summary

Executive Summary: Neil deGrasse Tyson and Chuck Nice talk with mathematician Hannah Fry about what algorithms really are, how modern data is collected and interpreted, and why data quality matters more than sheer volume. They explore thresholding, predictive models, AI vs. algorithms, and the limits and ethics of prediction in areas like dating, policing, and science.

Main Topics: What algorithms are (Priority: 5/5): Fry defines algorithms as logical steps from input to output, spanning recipes, flowcharts, and computer programs; Tyson and Nice distinguish algorithms from AI and automated decision-making. The data explosion and data quality (Priority: 5/5): The conversation emphasizes that modern systems collect massive amounts of data, but the biggest challenge is cleaning, organizing, and making data usable rather than just having more of it. Inference from consumer data (Priority: 5/5): Fry explains how supermarkets can infer behaviors like home cooking from purchasing patterns, using examples such as fresh fennel as a strong signal of a home cook. Thresholds, uncertainty, and prediction (Priority: 4/5): The hosts discuss how algorithms often turn uncertainty into binary decisions by setting thresholds, using examples from lightning prediction and home-insurance risk inference. P vs NP and computational limits (Priority: 4/5): Fry explains the P vs NP problem through Sudoku-like examples, showing why some problems are easy to verify but hard to solve, and why this matters for science and computing. AI, pattern recognition, and evolving systems (Priority: 4/5): Tyson and Nice contrast static algorithms with AI systems that learn from patterns, illustrated by a smart light bulb that adapts to user behavior. Predictive analytics, policing, and ethical risk (Priority: 5/5): The discussion turns to predictive policing and the danger of using risk scores in the real world, where intended interventions can become tools of harassment or bias.

Key Arguments: Algorithms are broadly any logical process that transforms inputs into outputs; in common usage, people usually mean computerized, automated decision systems. More data does not automatically mean better understanding; data cleaning and quality control are often the hardest and most important steps. Behavior can be inferred from seemingly unrelated purchases, but those inferences are probabilistic, not absolute. Many real-world predictions rely on thresholds: a model does not need certainty, only enough probability to cross a decision line. Some problems are easy to verify but hard to solve; if those problems had fast solutions, it would radically change computation in science. AI differs from a fixed algorithm because it learns patterns and updates its behavior based on experience. Predictive systems in policing or social policy can cause harm if their outputs are used as targets for enforcement rather than support. The most sophisticated AI may not outperform simple models; in one large child-outcome prediction project, linear regression reportedly beat more complex approaches.

Data Points: Prime meridian distance from Hannah Fry's house: about 100 meters - Fry says she lives in Greenwich and the Prime Meridian is very close to her home. Earth circumference (corrected in conversation): 25,000 miles / about 40,000–50,000 km - Tyson and Fry joke about the Earth's circumference while discussing Greenwich and the Prime Meridian. BBC Radio 4 series count: 16th series - Fry says she and Adam Rutherford are recording their 16th series of The Curious Cases of Rutherford and Fry. Google-era data analogy: mid-90s to late 90s - Tyson references John Allen Paulos's remark about the internet as a library with books scattered on the floor, before search engines organized it. P vs NP prize: $1 million - Fry notes the Millennium Prize associated with solving P vs NP. Four-color theorem: 4 colors - Tyson and Fry discuss the theorem that any map can be colored with four colors so adjacent regions do not match. Dating site rating scale: 1 to 5 - Fry describes OkCupid's attractiveness ratings used in analyzing attention patterns. Platonics solids count: 5 - Tyson and Fry discuss the five Platonic solids in the Kepler orbit analogy.

Pivotal Quotes: "The internet is the world's biggest library. The problem is, all the books are scattered on the floor." — John Allen Paulos (quoted by Neil deGrasse Tyson): Used to describe the early challenge of organizing online information before search engines. "Algorithm is this gigantic umbrella term that doesn't really mean very much." — Hannah Fry: Fry explains why the word is both broad and often disliked. "The world isn't this ivory tower." — Hannah Fry: Fry warns that predictive systems can fail or harm when moved from controlled settings into messy real-world contexts.

Implications: Listeners are encouraged to see algorithms as powerful but limited tools: useful for prediction and discovery, but only as good as the data, assumptions, and human choices behind them. The episode highlights the need for data literacy and ethical caution.

🔓 Sign Up for Unlimited Episode Search

About StarTalk Radio

View all episodes from StarTalk Radio