Learning Library

← Back to Library

Algorithms Everywhere: Inside the Bots

Key Points

  • Algorithms are embedded in virtually every online interaction, from the videos you watch to pricing, fraud detection, and stock trading.
  • Simple “if‑this‑then‑that” rules can’t handle massive, complex tasks, so companies rely on sophisticated algorithmic bots that learn to make decisions.
  • The inner workings of these high‑value bots are closely guarded trade secrets, and even their creators often don’t fully understand how they operate.
  • A practical way to develop such bots is to use meta‑bots—builder bots that generate candidate models and teacher bots that train and refine them—mirroring how neural networks learn to recognize patterns like images.
  • As a result, modern AI systems can outperform humans on many tasks, but their decision‑making processes remain largely opaque and “black‑boxed.”

Full Transcript

# Algorithms Everywhere: Inside the Bots **Source:** [https://www.youtube.com/watch?v=R9OHn5ZF4Uo](https://www.youtube.com/watch?v=R9OHn5ZF4Uo) **Duration:** 00:08:53 ## Summary - Algorithms are embedded in virtually every online interaction, from the videos you watch to pricing, fraud detection, and stock trading. - Simple “if‑this‑then‑that” rules can’t handle massive, complex tasks, so companies rely on sophisticated algorithmic bots that learn to make decisions. - The inner workings of these high‑value bots are closely guarded trade secrets, and even their creators often don’t fully understand how they operate. - A practical way to develop such bots is to use meta‑bots—builder bots that generate candidate models and teacher bots that train and refine them—mirroring how neural networks learn to recognize patterns like images. - As a result, modern AI systems can outperform humans on many tasks, but their decision‑making processes remain largely opaque and “black‑boxed.” ## Sections - [00:00:00](https://www.youtube.com/watch?v=R9OHn5ZF4Uo&t=0s) **Hidden Algorithms Power Modern Life** - The excerpt illustrates how pervasive algorithmic bots silently dictate everything from online content to financial transactions, often delivering superior decisions while remaining opaque even to their creators. - [00:03:05](https://www.youtube.com/watch?v=R9OHn5ZF4Uo&t=185s) **Iterative Evolution of AI Students** - The passage describes a continuous loop where a builder bot creates student bots, a teacher bot evaluates them, and only the top performers are kept and recombined, leading to gradual improvement despite initially random and flawed designs. - [00:06:14](https://www.youtube.com/watch?v=R9OHn5ZF4Uo&t=374s) **AI Student Bots Evolve Recommendations** - The passage describes how teacher‑guided student bots are iteratively trained and tested to become the hidden recommendation algorithms that maximize user engagement, yet remain opaque to users. ## Full Transcript
0:00On the internet, the algorithms are all around you. 0:03You are watching this video because an algorithm brought it to you (among others) to click, 0:07which you did, and the algorithm took note. 0:10When you open the TweetBook, A the algorithm decides what you see. 0:13When you search through your photos, A the algorithm does the finding. 0:16Maybe even makes a little movie for you. 0:18When you buy something, A the algorithm sets the price 0:21and A the algorithm is at your bank watching transactions for fraud. 0:26The stock market is full of algorithms 0:28trading with algorithms. 0:29Given this, you might want to know how these little algorithmic bots shaping your world work, 0:34especially when they don't. 0:36In Ye Olden Days, 0:37humans built algorithmic bots by giving them instructions the humans could explain. 0:41"If this, then that." 0:43But many problems are just too big and hard for a human to write simple instructions for. 0:49There's a gazillion financial transactions a second, which ones are fraudulent? 0:53There's octillion videos on NetMeTube. 0:55Which eight should the user see as recommendations? Which shouldn't be allowed on the site at all? 1:01For this airline seat, what is the maximum price this user will pay right now? 1:06Algorithmic bots give answers to these questions. 1:08Not perfect answers, but much better than a human could do. 1:11But how these bots work exactly, more and more, no one knows. 1:15Not even the humans who built them, 1:17or "built them", 1:18as we will see... 1:19Now companies that use these bots don't want to talk about how they work 1:23because the bots are valuable employees. 1:25Very, VERY valuable. 1:27And how their brains are built is a fiercely guarded trade secret. 1:30Right now the cutting edge is most likely very 1:33'I hope you like linear algebra', 1:34but what the current hotness is on any particular site 1:37and how the bots work, is a bit "I dunno", and always will be. 1:41So let's talk about one of the more quaint but understandable ways bots CAN be "built" 1:45without understanding how their brains work. 1:48Say you want a bot that can recognize what is in a picture. 1:51Is it a bee, or is it a three? 1:53It's easy for humans (even little humans), 1:55but it's impossible to just tell a bot in bot language how to do it, 1:59because really we just know that's a bee and that's a three. 2:03We can say in words what makes them different, but bots don't understand words. 2:07And it's the wiring in our brains that makes it happen anyway. 2:10While an individual neuron may be understood, and clusters of neurons' general purpose vaguely grasped, 2:16the whole is beyond. 2:18Nonetheless, it works. 2:20So to get a bot that can do this sorting, 2:22you don't build it yourself. 2:23You build a bot that builds bots, and a bot that teaches bots. 2:27These bots' brains are simpler, something a smart human programmer can make. 2:31The builder bot builds bots, though it's not very good at it. 2:35At first it connects the wires and modules in the bot brains almost at random. 2:39This leads to some very... 2:41"special" student bots sent to teacher bot to teach. 2:44Of course, teacher bot can't tell a bee from a three either; 2:47if the human could build teacher bot to do that, well, then, problem solved. 2:51Instead the human gives teacher bot a bunch of "bee" photos, and "three" photos, 2:54and an answer key to which is what. 2:56Teacher bot can't teach, 2:58but teacher bot can TEST. 3:00The adorkable student bots stick out their tongues, try very hard, 3:03but they are bad at what they do. 3:05Very, VERY, bad. 3:07And it's not their fault, really, they were built that way. 3:10Grades in hand, the student bots take a march of shame back to builder bot. 3:13those that did best are put to one side, 3:15the others recycled. 3:17Builder bot still isn't good at building bots, 3:19but now it takes those left and makes copies with changes in new combinations. 3:23Back to school they go. 3:25Teacher bot teaches - er, tests again, and builder bot builds again. 3:28And again, and again. 3:30Now a builder that builds at random, and a teacher that doesn't teach, just tests, 3:34and students who can't learn, they just are what they are, in theory shouldn't work, 3:38but in practice, it does. 3:39Partly because in every iteration, builder bot's slaughterhouse keeps the best and discards the rest, 3:45and partly because teacher bot isn't overseeing an old-timey, one-room schoolhouse with a dozen students, 3:50but an infinite warehouse with thousands of students. 3:54The test isn't ten questions, but a million questions. 3:57And how many times does the test, build, test loop repeat? 4:01As many as necessary. 4:03At first students that survive are just lucky, 4:06but by combining enough lucky bots, and keeping only what works, 4:10and randomly messing around with new copies of that 4:13eventually a student bot emerges that isn't lucky, 4:16that can perhaps barely tell bees from threes. 4:19As this bot is copied and changed, slowly the average test score rises, 4:23and thus the grade needed to survive the next round gets higher and higher. 4:27Keep this up and eventually from the infinite warehouse 4:30(slaughterhouse) 4:31a student bot will emerge, who can tell a bee from a three in a photo it's never seen before pretty well. 4:36But how the student bot does this, neither the teacher bot nor the builder bot, 4:40nor the human overseer, can understand. 4:43Nor the student bot itself. 4:45After keeping so many useful random changes, the wiring in its head is incredibly complicated, 4:51and while an individual line of code may be understood, and clusters of code's general purpose vaguely grasped, 4:57the whole is beyond, 4:58nonetheless, it works. 5:00But this is frustrating, especially as the student bot is very good at exactly 5:05only the kinds of questions it's been taught to. 5:08It's great with photos, but useless with videos or baffled if the photos are upside down, 5:13or things that are obviously not bees, it's confident are. 5:17Since teacher bot can't teach, 5:18all the human overseer can do is give it more questions, to make the test even longer, 5:23to include the kinds of questions the best bots get wrong. 5:26This is important to understand. 5:28It's a reason why companies are obsessed with collecting data. 5:32More data equals longer tests equals better bots. 5:35So when you get the "Are you human?" test on a website, 5:38you are not only proving that you are human, (hopefully), 5:41but you are also helping to build the test to make bots that can read, or count, 5:45or tell lakes from mountains, or horses from humans. 5:47Seeing lots of questions about driving lately? 5:50Hmm...! What could that be building a test for? 5:52Now figuring out what's in a photo, or on a sign, or filtering videos, 5:56requires humans to make correct enough tests. 5:59But there is another kind of test that makes itself. 6:02Tests ON the humans. 6:04For example, say entirely hypothetical NetMeTube wanted users to keep watching as long as possible? 6:11Well, how long a user stays on the site is easy to measure. 6:14So, teacher bot gives each student bot a bunch of NetMeTube users to oversee, 6:18the student bots watch what their user watches, looks at their files, 6:21and do their best to pick the videos that keep the user on the site. 6:24The longer the average, the higher their test score. 6:27Build, test, repeat. 6:29A million cycles later, there's a student bot who's pretty good at keeping the users watching, 6:34at least compared to what a human could build. 6:36But when people ask: "How does the NetMeTube algorithm select videos?" 6:40Once again, there isn't a great answer other than pointing to the bot, 6:44and the user data it had access to, 6:46and most vitally, how the human overseers direct teacher bot to score the test. 6:51That's what the bot is trying to be good at to survive. 6:54But what the bot is thinking, or how it thinks it, is not really knowable. 6:59All that's knowable is this student bot gets to be the algorithm, 7:03because it's point one percent better than the previous bot at the test the humans designed. 7:09So everywhere on the internet, behind the scenes, there are tests to increase user interaction, 7:13or set prices just right to maximize revenue, 7:17or pick the posts from all your friends you'll like the most, or articles people will share the most, or whatever. 7:22If it's testable, it's teachable. Well, "teachable", 7:24and a student bot will graduate from the warehouse to be the algorithm of its domain. 7:29At least, for a little while. 7:31We're used to the idea that the tools we use, even if we don't understand them, someone does, 7:36but with our machines that learn we are increasingly in a position where we use tools, 7:40or are used by tools, 7:42that no one, not even their creators, understand. 7:45We can only hope to guide them with the tests we make, 7:49and we need to get comfortable with that, 7:50as our algorithmic bot buddies are all around, and not going anywhere. 7:58OK. The bots are watching. 8:00You know what's coming. 8:02This is where I need to ask you... 8:04To like... 8:06comment... 8:07...and subscribe. 8:09And bell me. 8:11And share on the TweetBook. 8:13The algorithm is watching. 8:15It won't show people the video... 8:18unless you do this. 8:21Look what you've reduced me to, bots. 8:24What do you want? Do you want watch time? 8:26Is that what you want? 8:28Fine. 8:30(sigh...) Hey guys, did you know I also have podcasts you can listen to? 8:34Maybe even just in the background while you're tidying up your all room for hours? Or whatever? 8:40There's hours of audio entertainment for you, and watch time for the bots overseeing your actions. 8:47Go ahead and - and take a click. Entertain yourself. 8:50Help me. 8:51Help the bots.