One algorithm to rule them all?
15 Feb 2022 · 44 min
Daniel Whitenack and Chris Benson cover AI breakthroughs: protein-binding prediction that speeds drug discovery, Meta's data2vec for multimodal learning, DeepMind's AlphaCode solving competitive programming problems, and a Johns Hopkins robot performing laparoscopic surgery unsupervised. They dig into the technical details and what it means for human-machine collaboration.
Chapters
With current technology the way it is more or less right now, in 2022 you could have thousands, tens of thousands, hundreds of thousands of tasks that are trained in a very narrow, task oriented model. So could you have fully automated brain surgery? Maybe. But that's what I think about a lot more. In terms of the AI ethical concerns, going into the future is all of the models and handing our life over to all the models rather than one super knowledgeable model that rules them all, which is a fiction. Big thanks to our partners Linode, Fastly and launchdarkly. We love Lino. They keep it fast and simple. Check them out@lino.com changelog Our bandwidth is provided by Fastly. Learn more at fastly.com and get your feature flags powered by LaunchDarkly. Get a demo at launchdarkly.com hey Jared.
Here One of the things we can count on in the software industry is change. The state of the art changes so fast, in fact, that keeping up can feel like a whole other job on top of your actual job. That's why we created Changelog Weekly. It's our totally free newsletter that we drop in your inbox each and every Sunday. We link to the latest news, the best articles, and the most interesting projects that you should be aware of. We also added a little commentary from us saying why something's important, pointing you to other instances of a trend, or just making a dorky joke to keep it lively. So if you haven't yet, I recommend subscribing to Changelog Weekly and help us help you keep up with the Latest. Head to changelog.com weekly and sign up today. Again, it's totally free and we never spam you.
Yuck.
One last time, that's changelog.com weekly.
Foreign.
Welcome to Practical AI, a weekly podcast that makes artificial intelligence practical, productive, and accessible to everyone. This is where conversations around AI, machine learning and data science happen. Join the community and slack with us around various topics of the show@changeog.com community and follow us on Twitter. We're Racticalai FM.
Well, welcome to another fully connected episode of Practical AI. In these episodes, Chris and I keep you fully connected with everything that's happening in the AI community. We'll take some time to discuss the latest AI news and dig into some learning resources to help you level up your machine learning game. I'm Daniel Whitenack, I'm a data scientist with SIL International and I'm joined as always by my co host Chris Benson, who is a tech strategist at Lockheed Martin. How are you doing, Chris?
I'm doing very well, Daniel. How are you doing? I know you had been out with COVID like almost everybody else on the planet. Are you better?
Yes, much better. Yeah. I mean, for listeners that are maybe just jumping in at this episode, I've been out for a couple recordings, had the COVID Overall, though, I count myself very blessed because I didn't have the severe. The severe symptoms that some people had. Definitely had some, but not near as bad, of course, as what a lot of people are dealing with. So I count myself blessed in that regard. And yeah, it's good to be back in action.
Welcome back, buddy.
Yeah, good to be back. It was awesome to have Natalie Pastunovic fill in in a couple of recordings for me.
She did fantastic job. Very good.
Yeah, she's awesome. Love her insights on everything. And, you know, it's kind of fun to be able to listen to my favorite AI podcast without my voice on it. You know, I don't know if that's. If that's okay for me to call this my favorite AI podcast.
It is. It has to be. I'm going to be worried if it isn't. Okay.
Yeah. So, yeah, I mean, it's cool to. I do listen to some of our episodes where I am on it and, you know, obviously I'm part of the conversation, so I remember what's going on. But I gain a lot out of these podcast episodes. And actually I just had a conversation with someone. They're asking me with doing the podcast and kind of interacting with all sorts of AI people across industry. How has it shifted some of how you think about AI or the industry or something? I thought that was a really interesting question. I don't know how you'd answer that, Chris. I think I said something like, it's encouraging to learn from so many people that have really deep knowledge in different areas. But it sort of also reinforces that idea that everyone, even though they might seem like an expert in all areas, then there are some people like that, but most people have a sort of very deep knowledge in a certain area. So that's kind of what breeds this kind of imposter syndrome thing. And so to be able to, I think over time talk with so many kind of luminaries and experts in different areas, it's cool for one to learn from them, but also to just talk to them and feel like they sort of accept you and are excited to talk to you about what they're doing and don't view, you know, because we're not experts in those areas, but a lot of the people we have on are very gracious. And so yeah, maybe that's my insight is that there's just a lot of very gracious people in the industry. I'm sure that there's many that aren't, but being able to learn from them and yeah, that's kind of what came to mind. I don't know if anything comes to mind on your own.
I think that's well said. I wasn't expecting to go here, but it's us talking about kind of that we've been doing this for about three years, getting close to three years now. And having done that on a more or less weekly basis over that time we've gotten to talk to so many really interesting people. They come on. We haven't. Maybe we've just lucked out and we've only found the gracious ones. But they're so human and it's that human touch around the technology that makes it special. And so that's really what. And then the other thing that I would notice, and I think it would be the same whether you're a listener or whether you're the host like us, is that you're privy to this conversation and it kind of keeps you out of some very narrow bubbles. You know, we're still kind of in the AI bubble as an industry, but I know that, you know, if I go to my employer, there's a particular way we think think at any given employer and it gives you perspective and you hear really smart, amazing people saying things that you can learn from. I think that enriches us all.
I've seen this with other podcasts as well and other just like, I mean, if you read books, this is something that happens too, where you sort of, you don't remember everything, but you sort of have this low level remembrance of certain ideas and technologies and products or whatever it is. And so when you're in conversations in your job and someone brings up like, oh, well, we need to label things in this way or oh, we're having this problem, I'm not sure how, then it's sort of like all of a sudden something comes out of that soup of things you've sort of stored away and is really useful. So yeah, I found that as a really interesting benefit.
Yeah, it definitely expands the mind. I know as my own day job not in the podcast has evolved over time and I've moved from very focus on the deep learning stuff too. I'm also now looking forward a lot. And you Know, kind of the what's next? It may not be here yet.
All that and ethics things.
And ethics things, which are huge. You know, these are big, big parts of not only the industry, but it affects everybody now. So it's a very cool time to be alive and participating in things. I know a lot of people focus on all the negatives in the world and there are, There are many. We are in the middle, maybe approaching the end, we'll have to see of a global pandemic. We' had all sorts of crazy politics in recent years. Lots of challenges, but I still. My daughter was asking me the other day, what historical period would you choose to be a part of? And I said, this is it, we're living it. This is a cool moment and someday this is going to evolve. We'll have things like quantum AI eventually. I don't think we're there yet, but it will happen someday. So. Yeah. Pretty cool.
Yeah. Yeah. Well, I mean, I guess on that note, with the sort of theme of health things and trending news and all that. I know just to get into some of the AI news things that happened in recent times, both you and I kind of sent each other the same link. I know.
Yeah, we did.
Which was this work about proteins attaching. Yes. Which people might, might not know why. That's. Yeah. We found two different references to the same thing.
It was the same thing written by two different online things. But clearly it was something that mattered to both of us. I didn't mean to cut you off. Go ahead.
No, no, I was just thinking, like, people might be wondering why, like proteins attaching. It seems like sort of a random, random thing, especially for, like myself. I am not. I don't have a lot of biology knowledge or like that sort of. I'm not familiar with that side of, of things. But the idea here is that, you know, there are things like viruses which we're familiar with, like the virus that causes COVID 19. It's like something that it attacks, but you can attach things to it. Right. Like these virus spikes. So there's like antibodies that can bind with the virus spike proteins to prevent the virus from entering a human cell. So it's almost like one way to fight this sort of virus. And I'm speaking way above, beyond what I know about biology, but I think we've all learned a bit about viruses and vaccines in recent years.
Yeah.
But yeah, one of the ways to sort of think about this vaccine or fighting a virus is attaching things to it, to the virus, like proteins to prevent it from entering our cells. So that's kind of the context of.
This and this article. It uses Covid kind of as the example of why it's important because it's such a relevant thing right now. Antibodies are proteins themselves and so this ability for these complex molecules, in this case proteins, to be able to do attachment and to figure out what it's going to be, it's a very difficult thing. AI, as it's done in so many other kind of pattern matching use cases is doing an amazing job. But I think the thing for me, this one struck a personal note which I'm going to share because lately, on several occasions and as recently as this morning as we recorded this, I was talking to a friend who has a PhD from Harvard University in chemistry. This person really, really knows chemistry well. And we were talking more or less about this topic. Not in, in terms of COVID but we were talking in terms of the fact that I'm vegan, he's not. And he loves teasing me about all the, all the challenges vegan have, vegans have getting nutrition. And I said, well, you know what? You need to help me with your chemistry PhD find a way for me as a vegan to get all the things that I need.
Right.
And we got into a, I am not a chemist. I know just enough to have a conversation. And we got into a conversation about that. And then I saw this article and I was like, okay, we, we really want to talk about that today. At least I do. And I was glad you did.
So yeah, maybe a side outcome of this work is, is nutrients for vegans.
There's so many things in medicine and nutrition and stuff that this could help.
Yeah, it's very interesting that how computers doing this sort of task are working with expert, you know, biologists and chemists and drug developers to produce things much, much quicker than they could otherwise. Which brings up like all sorts of like, I think it is a really good example of like humans and machines working together very closely with, with a lot of benefit because no one would want like your machine to sort of like combine a bunch of things together virtually and say, here's the vaccine and then they just go out and produce it. And that's that there has to be a human element in this process still. And my understanding is the sort of machine learning model is doing a lot of this brute force stuff that was very time consuming before with previous software products. So it kind of directly predicts complexes that will form when two proteins bind together. And so it's talking about it doing it 80 to 500 times faster and potentially more accurately. So you just think about like, this is probably. And again, I'm speaking outside my expertise here, but this is probably like in past time stages of the process that were really like, the humans didn't even enjoy this bit. I would imagine, like, just like searching through structures and kind of combining.
Oh, God, you haven't met my friend.
And yeah, I don't know, like, it seems like the, like a. Yeah. Manual grid search sort of like thing.
As an analogy, you know how you always talk about how you love to clean data? You know, all the things that the rest of us complain about and get, you know, grumble about. And you love that there are people that love to do this.
Love just like looking at structures.
Yeah. And there's a lot of variability and, you know, there can be so many combinations. I'm not going, you know, I'm assuming millions. I'm not going to speculate. One of the co authors and I'm going to butcher his name. Octavian Eugene Ganya, maybe, I hope. And if I have mispronounced your name, sir, I sincerely apologize on that. But he made the comment. Deep learning is very good at capturing interactions between different proteins that are otherwise difficult for chemists or biologists to write experimentally. And some of those interactions are very complicated and people have not found good ways to express them. So the deep learning model can learn these types of interactions from the data. So kind of a classic deep learning task, just not, you know, one that those of us not in chemistry might not have thought about previously.
I'm Gerhard Szyu, host of Shipit, a show with weekly episodes about getting your best ideas into the world and seeing what happens. We talk about code ops infrastructure and the people that make it happen, like Charity majors from Honeycomb.
We act like great engineers, make great teams. It's exactly the opposite. In fact, it is great teams that make great engineers.
And Dave Farley, one of the founders of Continuous Delivery.
Start off assuming that we're wrong rather.
Than assuming that we're right. Test our ideas, try and falsify our ideas. Those are better ways of doing work. And it doesn't really matter what work it is that you're doing. That stuff just works better.
We even experiment on our own open source podcasting platform so that you can see how we implement specific tools and services within changelog.com what works and what fails.
It's like there's a brand new hammer and we grab hold of it and everyone gathers around. We put our Hand out and we, we strike it right on our thumb. And then everybody knows that hammer really hurts when you strike it on your thumb. I'm glad those guys did it. I've learned something instead.
Yeah, I think that's a very interesting perspective, but I don't see that way. Okay.
It's an amazing analogy, but I'm not sure that applies here.
Listen to an episode that seems interesting or helpful and if you like it, subscribe today. We'd love to have you with us.
I also noticed, Chris, that some of what was done with this protein attaching model thing had to do with sort of very interesting data structures and how they're kind of processed into the neural network. Where here we have sort of 3D structures, these 3D protein structures, and from what I'm understanding here, they sort of convert those 3D protein structures into 3D graphs which are processed by the neural network. And of course that also fits a theme that we've been seeing in really the past year and a half or more where people are really exploring graph structured data and putting in graph structured data into neural networks in very interesting ways. So sort of different type of data was used here, which is pretty interesting. That I guess kind of leads me to one other thing that I wanted to bring up, which is related to the types of data that we process with neural networks, which is this data2vec project from Meta AI. Okay, so people might have heard of sort of word2vec or maybe certain types of image2vec things or image feature extraction or word embedding or feature representation type of things. All of these sorts of things fit into kind of some, some type of category where you have a, you have a neural network model and the sort of pre training of that model helps you pre train vectors or embeddings or representations of some type of data that you put in that then can be maybe fine tuned later on for downstream tasks. So this has been like part of the driver for a lot of the innovations in NLP recently, but also in other fields like image processing, a lot of sort of large image processing neural networks have. Most of the complexity of the network is involved in the sort of feature extraction phase which kind of takes an image and converts it to a vector representation. What's interesting I think about this work is that for the most part all of these techniques that people have been doing by and large are a single modality. So they take text input and convert it into some vector representation, or they take image input and convert it into some vector representation. Or speech input into some vector representation or a spectrogram or something. I think this is really interesting because they're taking the perspective of, well, whatever data we put in, and I guess in this case whatever is either image, speech or text, but whatever data we put in, we're going to create a model that is trained to represent that in a learn vector space. So that, hence the name data to vec. So moving from thinking about a single modality of data input to like a model that can take like one or two or three or a combination of kind of data inputs and represent that in a vector space. So that's why I kind of thought this was pretty interesting.
It does sound interesting. Did you get any sense of why the modality was no longer kind of a critical part of the pattern? I mean, or any sense of how they've overcome that approach in this?
Yeah, so I mean they talked a little bit about, you know, and there's a paper we'll link in our show notes if people want the specifics. But essentially they have a sort of non learned representation of each of these types of data that they can input to a similar series of layers. And what they do is they sort of use this trick of masking, which is used kind of both in image processing, speech processing and text processing, as a sort of way to, in a self supervised way learn the vector representation. So if you think about an image, you can mask off a piece of that image and try to fill in the missing pieces, or if you have speech, you can mask off a bit of that speech and try to fill in the missing pieces or text, you can mask off certain words and try to fill them in. And that kind of principle of that masking is applicable across these different modalities in a way that I guess is similar enough to where they can use a single set of models to in a self supervised way learn the representations. And they use this also student teacher method that sometimes we've seen in recent years as well.
Very cool. I noticed that that was done by Facebook's AI team.
Yeah. Or meta or whatever it is.
Yeah, meta.
Now I guess we're in the metaverse now.
Do they have any mention of use cases for it or was that not addressed? Was it just still too much in the research area?
Yeah, I think they provide some motivation in that, like there is an overhead and big differences in the way that algorithms are put together for images and speech and text and other modalities. And so bringing them together provides both that flexibility and more simplicity. But I think there's also this element of something about working with multiple modalities of data, at least in certain cases, can provide you a boost in performance across all modalities. They show certain benchmarks where they beat other models or other image 2vec or word 2vec sort of models in the different modalities. So like on imagenet, and at least similar or better performance than sort of models like Roberta, which is a single modality. So you get sort of similar performance, similar or better performance in a single modality. But it's flexible to use it across different modalities, which allows you to have a sort of one model that operates in multiple spaces. Which is kind of cool.
That is pretty cool. One of the articles that I came across, I've been. Actually several articles are in the general area is I've been very interested lately in AI and its interface with robotics. And once upon a time, at a previous employer, I was kind of doing that exclusively for a while. And so I ran across this article. It was in Science Daily called Robot Performs First Laparoscopic Surgery Without Human Help. And it actually referencing a paper by John Hopkins University that was very recent, January 26, which had a similarly named. A robot has performed laparoscopic. I'm probably butchering the name. Surgery on soft tissue of a pig without the guiding hand of a human. A significant step in robotics toward fully automated surgery on humans. It's pretty cool because this is when you think of what's called keyhole surgery, where they make a very small incision and it goes in. The laparoscopic surgery is on the gut. So when you think of all of the various ailments that humans and for that matter, animals get, all mammals in their gut, anything from cancer to various digestive problems, and we've come far enough in such a short amount of time so that they can put the robot to work and it makes the cut, it goes in, it does the work, it has to do. Mends, sews back together, things like that and pulls out. And we've been talking in recent years about human surgeons doing these surgeries with the assistance of robots and the assistance of AI. But now we're. We're looking at this, making this next jump where you're taking that human surgeon out of the loop, at least in this test case, and the AI combined with the robot are successfully doing it on their own. What do you think of that?
It's interesting and it sort of gives, I think, people mixed feelings. Probably.
Probably. We did mention AI ethics.
Yeah. I think you're Right. In that the sort of next question comes, well, is it always better to have a human with the machine?
Yes.
That's one interesting question I would have is sort of the automated robotic procedure. It would not surprise me if that was sort of more or had a higher performance than a human alone. What would be interesting to know, and maybe they do mention this in the paper that I don't see at a first reading, but if the human plus machine sort of combination, if there's a way for that to outperform either the robot or the human itself. That's an interesting question.
I think that's an evolving question over time. I know in the industry I'm in doing kind of defense stuff, the term for that is mumt, which is manned unmanned teaming, where you have an automation which may be an AI, may include robotics may not working with a human to achieve some sort of task. And the value proposition in a broad sense on that is exactly what you said, that by combining the two, you're doing better. I think we're entering a period now where that is called into question and may change for various tasks over time as we see the fully automated version of able to outperform. And this, this goes back to another example that I've, I have talked about in earlier episodes. There was a, A DARPA program been, I don't know, a year and a half, probably maybe two years. I think it was before COVID fully set in called Alpha Dogfight. And in that they had, it was publicly broadcast and they on YouTube and they had a fully automated F16 in a simulator is using an F16 simulator. The fully automated pilots completely outperformed the human ones completely outperformed. And now that's in a simulation world. And there, and there's all sorts of caveats you can apply, but it surprised everybody just how well the AI did in those contexts. So here we are in a different area in medicine and now we're seeing the first ones coming about and they will start to evaluate performance over many of these tasks. It's a really interesting time that we live in as we see the relationship of whether the human's in the loop or not in some capacity is evaluated. Yeah.
And I mean this is obvious, I think to practitioners, but it's something that I, that I really notice in talking with like just friends or people that aren't practitioners. It's not obvious to them. And that's that like when you say this sort of AI quote is doing the surgery, there's this sort of perception that like, like The AI could like go off and do something so it could decide to do a different surgery than you told it to do.
That's a great point.
The sort of idea of control and the sort of distribution of inputs and outputs is not something that's obvious to general people out there. And I don't know how to better communicate that as practitioners. But the things that we're doing are for the most part very task specific, very narrow, very narrow. So this process is not like a robot that can do all surgeries. Yeah, I'm guessing that it's a single sort of like operation and it's very specialized. It's not going to like, you thought it was going to like, you know, remove a tumor and instead it like took out your appendix or like something.
Since we're talking kind of along the ethical thing, I think that raises an interesting point which I don't think non practitioners generally understand. And it's, and it's extending what you're saying right there. And that is the fact that because these models address very narrow tasking, it's not intelligence, I think the way most of us define it, it's mathematically learning a set of patterns and going through. That's a little bit loose in my language. I know, but being able to go and do that. So I think when people focus on the intelligent side, they are missing the boat on that. I think it's important that they start to understand. I think what's a lot more likely to happen is that with current technology the way it is more or less right now in 2022, you could have thousands, tens of thousands, hundreds of thousands of tasks that are trained in a very narrow task oriented model. And all of those tasks are out there. So could you have fully automated brain surgery maybe at some point here in the future? Fully automated heart surgery, maybe. So we're just talking about surgeries right there. But that's what I think about a lot more in terms of the AI ethical concerns. Going into the future is all of the models and handing our life over to all the models rather than one super knowledgeable model that rules them all, which is a fiction.
It's interesting, Chris, on that last point you made, you kind of made this comment about what we perceive as intelligence or what the sort of general population perceives as intelligence. I was reading a book by Hamming called Learning to Learn. I think it's the art of Doing Science and Engineering. Really interesting and in certain cases humorous book. But yeah, he talks a little bit about, I think he has a few Chapters on AI and limits of AI. He brings up the point that sort of we keep kind of moving the goal marker of intelligence. So like, you know, 15 years ago or something, we said, well, if a robot could perform a surgery, would we consider that artificial intelligence, or would we consider that intelligence Likely you'd get a different distribution of answers than after the event has happened. Right. Like, after the event has happened, it's very easy for us to look at that event and say, well, it wasn't really intelligence, because xyz. Right. So then we move the goal marker, you know, however far. And I'm not saying it is or isn't sort of intelligence, because that, I mean, you can define that in so many different ways.
That's where I was going to go next. Keep going.
Yeah. I think what's weird is like, somehow there's the mix of using the terminology artificial intelligence to describe what's going on here, which triggers the wrong thing in people's mind in terms of how they define intelligence. And so, yeah, I think it's just a lot of confusion, which probably feeds into that sort of narrow versus wide perception that you brought up earlier.
It's very imprecise, the phrase. So except for. For the name of our podcast, which is perfect, the term artificial intelligence is otherwise a very, very nebulous and imprecise way of describing it. And as we see, as you just pointed out, it's changing constantly. And I think as practitioners, we're not spending our time thinking AI in this big nebula. We're looking today at specific deep learning algorithms and approaches to training and implementation. And it's very narrow. And I don't think most of us spend much time thinking about it the same way that untrained people in the general population probably perceive it as. And so it is very practical. It is very pragmatic what we're doing. But I think a lot of people miss that. And we've just demonstrated, going to how to define intelligence, that now that the surgery is done, neither one of us, we're both in agreement that that isn't what we think of as intelligence. And I think that's because people conflate several ideas together, which is consciousness, intelligence, self awareness.
Yeah, Robustness, generalization.
Yeah, yeah, absolutely. So I think that in this maybe narrow form of intelligence that we're describing, I think we'll see a lot of that in years to come. But I still think that I'm looking forward to the day when the general population kind of understands it, maybe along the same lines that we do who address these things on a daily basis.
Yeah. And I guess on that note, Chris, did you see that? Now AI coders are as good as the average human coder. Did you see that article?
I did not see that article, but I am not at all surprised about that.
So DeepMind. Well, the article that ran across my feed is DeepMind says its new AI coding engine is as good as an average human programmer. And so DeepMind. So if you remember, we've talked about OpenAI's codecs in the past. Right. Which is this sort of code. It's like a language model for code and can do sort of like code. It's like your AI pair programmer is how it's being used within the GitHub Copilot products which could be integrated into VS code and such. Well, DeepMind has this AI system called AlphaCode.
Everything is alpha. Have you noticed that?
Yeah, yeah. I mean, I can't wait for beta code. That's going to be pretty killer. Yeah. But yeah, the quote is sort of. It writes computer programs at a competitive level and this was done with data from a set of challenges that were curated as a. As competitive coding challenges on a platform in which there is competitive coding that happens. This code forces competitive coding platform, which one kind of side note, I really do not want to get into competitive coding.
I don't.
I really think I'd be really bad at it.
I would do. I love to code and I know you do too, but I'm too slow. Maybe it's a function of age, but I, I think it would be. It would take the fun out of it at the stress level on that. I'd rather just enjoy my coding.
Yeah, it's like those people that are like competitive professional video game players like esports. And my understanding is that many of them like no longer actually enjoy like the game that they're. They're too busy competing because it's competitive. Right. It's like a. Anyway, that's like a total rabbit trail. But despite that, there's this sort of set of tasks and they ran alpha code through its paces on these competitive coding tasks and determined that. I don't think they're saying that it is vastly better than the human coders, but I think they're saying it's as good. That's kind of their conclusion. As good, in some cases better. And you can go and look at the example challenges that they have and they're definitely not, you know, I would not consider them easy challenges.
No, I was looking at those on this article that You've asked me. They are not, you know, it really, as we record this in early 2022, you raise that is it as good? But it probably will be going forward and surpass. And it really, it really draws out the fact that if you can take a task and break it down into kind of a repetitive pattern, there's a pretty good chance that there is a narrow, deep learning ALPH algorithm which can learn it eventually better than a human expert can. It's an interesting world that we're moving into. Daniel Whitenack.
Yeah, yeah, for sure. And it's sort of that line. I view it as like people have known this for a long time, right, that they're a repetitive coding task. Which is why code generation of course, which is kind of that rule based approach to generating code for XYZ things. So like you have you know, generating a client for, based on some proto buff or something like that, or you're generating like the, some backend code for your web application based on some config that you've created or you know, something like that. All of these problems, they're like very repeatable and can follow patterns. And this is sort of like there's probably, I guess in my view, if you look at all code that's written on the one side, one third of it is probably almost repetitive enough to just be rule based generation. There's a middle third of it which is not quite rule based generation. It goes beyond that. There's levels of decision making and such, but maybe it could be attacked by this sort of algorithm. And then there's probably still a third. It's like very hard code that is solving very unique problems that aren't represented well in other spheres or something.
A tiny fraction of all code. A tiny fraction. In that last category.
You think I am over generous in my thirds?
I do. I think that you're way over generous because aside from this AI that we love, you and I both came from programming before that and we were doing a lot of programming in various languages and most of the programming across many projects, even across time, copy paste. It really is. It's copy paste or it's basically doing the same thing in a different language that you did before, maybe a little bit of a different architectural paradigm. But I'm going to postulate that 95 to 99% of all the code out there has a lot of commonality across projects and there's a little fraction that's multiple and, and if this is something that we think of, if you go back just A few years before, we were doing this podcast and we programmers were thinking, wow, I'm out there making amazing things and all that. This is the challenge of automation. This is, I think, the question of our time. Certainly one of the top questions, if not the only one. It's one of several that we need to contend with, is that automation doesn't have to be all knowing, all intelligent, super. The thing that people think of in the Hollywood movies to be able to do this.
And now we come to the great battle of our time.
Indeed. Indeed. This is the AI version of Lord of the Rings right here. You're in it, folks.
Yeah. As soon as we can generate a next reasonable script for the Lord of the Rings, then, oh boy. Probably do a pretty good job right now. But still, I think, lacking. But yeah, I agree.
Nero AI still can't quite match JR or Tolkien, if I'm saying the name right. Yeah, yeah, that's a tall order. I agree.
Okay, so maybe that's my definition of intelligence there. I'll say that. Yeah. No, I'm just kidding. So as we wrap up in these fully connected episodes, we do always like to share a couple of learning resources. Chris, I noted a couple over the past week, so I'll share those. One that I found, which I'm not totally sure if I've shared before, but I thought it was really cool, is there's this seeingtheory Brown Edu site which is a visual introduction to probability and statistics. And it probably like some people don't learn this way, right? Some people don't learn visually. But I love to have sort of a visual component that I can have in mind for, for a concept and especially for, I think, statistics and probability. A lot of people view that they have trouble with the intuition around certain concepts within probability and statistics. Maybe more so than like calculus or algebra or linear algebra, sorts of things. And so this goes through and actually kind of walks you through various ideas like expectation values and other things. And you can like see a visualization paired with that. And it's a very cool sort of way of approaching probability and statistics and an intro to certain ideas. So I would definitely recommend going through that.
It's a very nice website. It's elegantly done, pretty, and I like the visuals in it. It's easy on the eyes.
Yeah, yeah, for sure. The other one that I'll just mention people might want to take a look at is there's this book which is posted online, which I came across on on Twitter. Patterns, Predictions and Actions. A story about machine learning. And I thought that was intriguing, so I clicked on it. I think it's intriguing that they sort of, they sort of frame it as a story, but if you look at kind of the things that are covered, they might cover them in a sort of different narrative approach, but, and maybe from, from their own perspective. But it is a very seemingly comprehensive introduction to various topics going through supervised learning, representations, optimization, deep learning, causality and causal inference. Really a lot of relevant topics. And they kind of start, I think, from the idea of fundamentals of prediction and the classification problem. And that's kind of where they're starting. And they lead from there in their story to these other areas that people are very interested in now. So it's a cool approach from Moritz Hart and Benjamin Recht, a story about machine learning patterns, predictions and actions.
I'll check it out.
We'll share those links along with the other links that we talked about in our show notes. So definitely people check those out and let us know your thoughts on these things and the various rabbit holes that we went through. As a reminder, you can connect with us directly on our slack channel or LinkedIn. If you go to changelog.com community, you can join our Slack channel there and connect with us on Twitter or LinkedIn. We'd love to hear about what you're interested in. But yeah, good to be on with you again, Chris.
Another good conversation. Thank you so much.
Uh huh. I'll talk to you soon.
Bye bye.
All right, that's Practical AI for this week. Thanks for listening. If this is your first time with us, subscribe now at PracticalAI FM or simply search for Practical AI in your favorite podcast app. We're in there. And if you're a longtime listener, do us a solid by recommending the show to a friend. Word of mouth is still the number one way people find new podcasts they love. Special thanks to our partners for support supporting our work fastly launchdarkly and Linode. We appreciate it. And to the mysterious Brakemaster Cylinder for cranking out new beats for us all the time. That's all for now. We'll talk to you again next week.
Sam.
More from LARRUZ


Ep 881: Faster AI Agents, Fewer Human Coworkers: The Overly Productive Future of Managing Agents? (Replay)


Ep 879: New: OpenAI Presence. Has The AI Customer Service Takeover Finally Arrived? (Replay)


Ep 878: What’s Coming Next: 5 AI Trends, Problems and Opportunities around the Corner (Replay)




