science

Did My Basketball Robot Just Change the Game?

When AI Promises Ring Hollow, Trust Engineers to Make the Dunk

Did My Basketball Robot Just Change the Game?

I’d spent months designing a basketball-playing robot, the Dunk-O-Matic. I was stoked to show it off at the big Sportecha Conference. But then I saw an ad for the event: “Watch the Dunk-O-Matic play against humans and adjust its skills for a fair game!” This wasn’t in the plan. I designed a robot that took turns shooting with a human, sometimes scoring, sometimes not. There was no talk of it balancing its performance based on the opponent.

It seemed like the CEO skimmed an AI article and overpromised, setting me up for a public disaster. Thank goodness, I had installed a feature to adjust the robot’s shooting probability. We also had data on each potential demo participant, including their basket-making probabilities.

In each game, the human shot first, then the robot, alternating until someone made a basket to win. I could tweak the Dunk-O-Matic’s probability between rounds. The million-dollar question was: What probability should I set for each opponent so the human had a 50% chance of winning?

One might guess to set the robot’s probability (q) equal to the human’s (p). But that’d overlook the edge of shooting first. If both probabilities were 100%, the first shooter would always win, despite equal skills. A deeper dive with geometric series was needed.

Geometric series are sums of numbers where each number is a fixed ratio of the previous one. If the ratio (r) is less than 1, the series sums to a finite number. The sum is the first number (a) divided by 1-r.

How did that help with the robot? The human made the first shot with a probability of p. Winning on their second attempt meant both missed the first round, which had the probability (1-p) and (1-q). The combined probability for this was (1-p) * (1-q). Multiplying these probabilities leads to an infinite geometric series.

To make the game fair, the sum of the human’s win probabilities needed to be 1/2. Solving the series sum with algebra, q turned out to be p / (1-p). If p was more than 50%, q would be over 1, which is impossible. For probabilities over 50%, an even game was out of reach because humans would have more than a 50% chance of winning from the start.

The robot’s win probability was also a geometric series. For the robot to win, the sequence involved double misses, a human miss, and then a robot score. Aligning the robot’s winning chances with the human’s, q had to be p / (1-p). Each round restarted the game equally if the probabilities matched.

The demo went smoothly, but honesty pulled at me. I took the stage and clarified our CEO’s false promises and my quick solution. The bad press aimed at my company surprisingly worked in my favor. The volunteers turned out to own a friendlier robotics company, leading to some IP litigation, and eventually, I found a healthier job and a regular spot on a pickup basketball team.



Similar Posts
Blog Image
Is the Universe Really Just a Symphony of Fields?

Ripples in the Fabric: From Atoms to Fields, Unveiling the Universe’s Vibrant Tapestry

Blog Image
Can We Really Unravel the Universe's Blueprint with the Standard Model?

Decoding the Universe: The Elegance of the Standard Model Without Gravity

Blog Image
Synesthesia: When Colors Have Taste and Numbers Have Hues

Synesthesia: A neurological condition where senses blend, creating unique perceptions. Common types include seeing colors for letters or tasting words. It's genetic, not a disorder, and often enhances creativity. Synesthetes have more brain connections between sensory areas. This phenomenon offers insights into human perception and brain function, challenging traditional views on sensory processing.

Blog Image
10 Groundbreaking Climate Science Discoveries That Shaped Our Understanding

Explore key breakthroughs in climate science, from ice cores to satellites. Discover how these advancements shape our understanding of climate change and guide action. Learn more.

Blog Image
Space Race 2.0: How the Cosmic Frontier Is Reshaping Global Politics and Economics

Space exploration has evolved into a complex mix of geopolitics and economics. More countries and private companies are joining the race, driven by reduced costs and new technologies. This shift impacts global politics, economics, and technological innovation. The space sector offers economic opportunities but also raises challenges in governance and regulation. It continues to inspire scientific progress and shape our perspective on Earth.

Blog Image
Did a High School Dropout Really Change the Way We See Reality?

Einstein's Genius: From Rejected Student to Revolutionary Physicist Redefining Reality