In short
Practical AI Podcast Episode Notes
Episode Title
From ML to AI to Generative AI
Hosts
- Chris Benson - AI Strategist
- Daniel Whitenack - Data Scientist and Founder at Prediction Guard
---
Episode Summary In this episode, Chris and Daniel explore the evolution of artificial intelligence (AI) and machine learning (ML), with a particular focus on the rise of generative AI. They discuss the distinctions between traditional supervised learning, generative AI approaches, and the implications of these developments in the context of risk and compliance, particularly in light of recent regulatory discussions in the EU.
Key Topics Discussed
- Definitions of AI and Machine Learning
- The hosts define AI and ML in simple terms as data transformation processes where input data is processed through models to produce output data.
- The mental model of AI as a sophisticated “filter” that transforms data was introduced.
- Traditional ML vs. Generative AI
- Supervised Learning: The majority of ML tasks still use traditional supervised learning, which relies on labeled datasets for training.
- Generative AI: A new wave of AI characterized by models that can create new content (texts, images, etc.) based on prompts.
- Shifts in ML Approaches
- Transition from training models from scratch to fine-tuning existing large parent models (foundation models).
- The role of self-supervised learning in expanding the capabilities of AI without needing vast labeled datasets.
- Generative AI Impact
- Generative AI’s influence on public perception and its practical applications in various fields.
- Examples included using models like GPT and DALL-E for generating text and images based on user prompts.
- Risk and Compliance Implications
- The hosts discuss the potential risks posed by generative AI, touching on ethical concerns and the responsibility of human operators.
- The conversation includes thoughts on regulatory frameworks, particularly the EU’s movement towards AI regulation.
- Future Perspectives
- Speculation about how AI could evolve, including the potential for AI to surpass human performance in specific tasks (e.g., flying aircraft).
- The hosts express concern about the societal changes that might occur as AI becomes more integrated into everyday life and professional practices.
---
Key Takeaways
- Generative AI: Represents a transformative leap in AI capabilities, enabling the creation of new content rather than just classification or prediction.
- Training vs. Inference: Understanding the distinction between model training (learning from data) and inference (making predictions) is crucial in AI deployment.
- Ethical Considerations: Ethical frameworks must evolve alongside AI technology to address risks related to human oversight and model autonomy.
- Practical Engagement: Listeners are encouraged to engage with AI tools and explore their applications, emphasizing the importance of hands-on experience.
---
Relevant Links
- [Generative AI Risks: NYT Article](https://www.nytimes.com/2023/06/14/technology/europe-ai-regulation.html)
- [Fastly](https://fastly.com/?utm_source=changelog) - Bandwidth partner
- [Fly.io](https://fly.io/changelog) - Deployment solutions
---
Final Thoughts This episode of Practical AI highlights the dynamic landscape of artificial intelligence, emphasizing the importance of understanding the fundamental shifts from traditional machine learning to the exciting possibilities presented by generative AI. The hosts encourage proactive engagement with these technologies, fostering a future where AI complements human capabilities rather than replaces them.
---
For more insights and to join the discussion, consider following the hosts on their platforms:
- Chris Benson: [Website](https://chrisbenson.com) | [GitHub](https://github.com/chrisbenson) | [LinkedIn](https://www.linkedin.com/in/chrisbenson) | [Twitter](https://x.com/chrisbenson)
- Daniel Whitenack: [Website](https://www.datadan.io/) | [GitHub](https://github.com/dwhitena) | [Twitter](https://x.com/dwhitena)
---
Thank you for tuning in to Practical AI!
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Transcript
Automatic transcript. May contain errors.0:06Welcome to Practical AI. If you work in artificial intelligence, aspire to, or are curious how AI-related technologies are changing the world, this is the show for you. Thank you to our partners at Fastly for shipping all of our pods super fast to wherever you listen. Check them out at Fastly.com. And to our friends at Fly, deploy your app servers and database close to your users. No ops required. Learn more at fly.io.
0:42Well, welcome to another fully connected episode of Practical AI. This is where 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 and founder at Prediction Guard. and I'm joined by Chris Benson, an AI strategist. How you doing, Chris? Doing very well. How's it going today, Daniel? Oh, it's going great. I got back late during the night a couple days ago from my time in San Francisco where we had an in-person podcast meetup, kind of a collab with the Latent Space podcast, which is an awesome AI podcast if you haven't heard of it.
1:29But yeah, it was a really great time. I was a little bit tired yesterday, but I feel recovered today, which is good because today is also one of our favorite other podcasts, the MLOps community. They're having their LLMs in production part two conference today, and that's today and tomorrow. So by the time this podcast goes out, it will have passed, but I think they'll post the talks on YouTube and all of that. So make sure and check out those talks. There's a lot of really good ones there. Yeah, I'm sure there are. I've been learning a lot from them. Yeah, yeah. What a great community. I've joined their Slack and I'm chatting with people about how they're deploying models and all that stuff, which is fun.
2:13Another thing happened today, Chris. I was at a co-working space here in town. Shout out to Matchbox Co-working. I know a few people there listen to the show. But I ran into a friend, Tanya, and she's been listening to recent episodes of the show. And she made a really good point. And that's that we haven't taken time for a while anyway to stop and say, in this moment that we're in now, when we say AI, what do we mean? Like, what is AI now today? That's a really good point. Thank you, Tanya, if I got the name right. The last time that we kind of talked about what it means, there was no such thing as generative AI, for instance.
2:57Yeah, yeah, definitely not in the way that or at least in the term, the way we're using it now, the way the term is used now. Yeah. So I think that brings up a good point, Chris is like, what is generative AI, we can maybe talk about that. But maybe first, we should talk about what was AI or machine learning prior to generative AI, which that sort of machine learning and AI is still in existence, of course, and being used all throughout industry. But there's a difference between that and generative AI. In my mind, if you want to think about, actually, this would be true of both kinds of AI. So if you think about AI in general, or machine learning in general, the way I think about it, at its most simple form is a data transformation.
3:45and you put some type of data into one of these quote models and you get some other data out. It's like a software function essentially. Now, of course, there's a lot going on within that function, but at its basic core, an AI model or machine learning model is something that takes in one form of data and outputs other data like speech in and text out or language in one language in and language in another language out. There is a really old fashioned term that would be applied as it's a filter. Software developers who've been around for a while might know about creating filters. And it's just an incredibly sophisticated filter in that, you know, you get the one thing in, you get a different thing out.
4:31And it's all about the relationship between the two. Yeah. And that kind of brings in one level of a mental model into how we think about these things. We're going to put something into them. We're going to get something out. Now, obviously, these models are different than other software functions that are filters that people have written in the past. Right. And the key difference, I think, that I share with people, at least when they're forming their own mental model around these things, is that in kind of normal, quote unquote, I don't know if we have normal software engineering anymore, but normal software engineering, you have a function and the engineer or the programmer writes all of the logic of that function and determines what parameters should be used where like I'm going to accept two numbers and then I'm going to add those things together and output the output and that that is a data transformation right but the logic is completely programmed by the programmer it has to all come as an original thought out of a programmer's head correct and there could be some flexibility I guess would be the right way to put it.
5:41I mean, software is flexible in general. I could have a function that adds two numbers together and I could add any two numbers together. It doesn't have to be one and two. It could be 42 and 17 or something like that. However, in a machine learning or AI model, which does one of these transformations, there's still an element. This is maybe a misconception that people have. There's still an element of that software function. that is written by humans, right? It is structured by humans. Have you found that to be a misconception? I do. I think people think, people who are not in the space intimately as we in this audience would be, tend to think of it as, I mean, they won't admit to it, but they think of it as magic a little bit.
6:27I get into a lot of business conversations and I could take out the business words and put in the word magic and it would still work, the conversation. So it's a little bit instructive in terms of how people are perceiving it. Yeah, yeah. It's almost like there is software, but the bit that's the model is just totally, it manifests itself out of the computer, right? Yes. In reality, what happens is there's a thing called an architecture. And all that means is that you just have code that's written that does certain things within your function or within your data transformation that might be adding numbers together or averaging things or multiplying different numbers in various ways.
7:12And so all of those things are combined or structured actually by a human programmer, often researchers, I guess, in this case would come up with a model architecture like some people might have heard of or BERT or GPT, right? These architectures that are a form of a software function, but they have missing pieces in them. And what those missing pieces are called parameters. So one example I kind of give sometimes is let's say that we wanted to write one of these machine learning functions to classify cats or dogs, pictures of cats or dogs. I could have a very simple model architecture, which says if percentage of red in image is greater than X, classify it as a cat.
8:04If not, classify it as a dog. Now, I haven't said what X is. So how do I set this parameter that's a gap in my machine learning model, the most simple of machine learning models? Well, what I can do is I just take a bunch of examples of cats and dogs, and I try a whole bunch of different Xs and whichever one gives me the best result, in other words, whichever one classifies those the best, I choose that as my parameter. And this is what at a much larger scale we call training. People might have heard of that. Now, the models that are used these days don't have one parameter like my simple cat-dog model.
8:47They have billions of parameters that are set. And just to add in one little thing, that training process is based on an algorithm, which is just a fairly simple math problem that you iterate through over and over and over again, comparing your results to what you're targeting, what you're trying to get to. And there's an error there, and you're trying to reduce that error down to do that. And so when people talk about training AI and there's this kind of mystique associated with it, there's no mystique really there. It's just running an algorithm over and over and over again until you get a more accurate, less error prone answer.
9:27It's as simple as that. Yeah, in that sense, it's kind of a brute force implementation of trial and error. Now, not totally brute force because trial and error would require you to try every option or every combination, which for a six billion parameter model would take the life of the universe or something to explore. But of course, there is people have put in long, devoted much of their life to optimizing these types of problems. And so it is highly optimized. But at its core, like you're talking about, you're trying to reduce an error or what's called a loss and find those optimized parameters to perform a task.
10:06So in the case of dog and cat classification, you have a bunch of images which are labeled as dog or cat. You would feed those into the model with a bunch of different combinations of these parameters. And then the winning one that reduces the error or the loss would be your set of ideal parameters, which then you can use to classify new images, which don't have a label yet. So I don't know if this image is a dog or a cat. I'm going to put that in and then I can classify that. And that's what's called the inference process. So there's a training. It's two steps. There's a training process and an inference process.
10:46And this is generally what's called supervised learning, which means that you just have labeled gold standard labeled examples. And this, I would say, dominated the AI scene and still dominates much of what's done in industry. I think people also have the misconception that, oh, supervised learning is so 2016. No, it's still the vast majority of what's deployed out there. You know, what people are actually using in real life. I probably, I mean, I'm totally guessing, but I would say at least 95 % of what is out there in industry is that, and that might be a conservative guess. Yeah, yeah. So this is still the dominant frame of thinking about machine learning and AI, at least across industry.
11:38That has shifted a bit, though. So maybe around like 20, I mean, at least when it started shifting, my mindset was probably around 2019, 2020. Some of these what's called self-supervised models started coming out. The idea being that there was kind of a maybe a first shift and then a second shift that I've seen. So there was an era of data science where supervised learning, gather your data set, train your model with those examples, and you have your supervised machine learning model. Well, people gradually learned that if we make our models bigger and we expose them to enough data for a particular mode, let's say text, right, or images.
12:28Well, if I have a large model that's been trained to recognize 17 different things and images, I might have a use case where I want to recognize an 18th thing, right? Or maybe three different things. Well, that model has already, it has embedded in it the capability to find really good features of images and do image classification based on those features. And so I don't have to retrain a whole model from scratch, what I take is that large model that's been trained on a lot of images. And I do a process called fine tuning or transfer learning to then do this new task. So I saw this first shift, I'm going to call it a first shift, maybe.
13:15I mean, this is something people have talked about. You've just coined a phrase, you know that, don't you? Yeah, so this would be a shift from thinking purely about supervised learning, training from scratch with your own data into this realm of Google trains a big model for image detection. And I take that and I fine tune it for my own purposes. I'm not starting from scratch. I don't need as much data. And I would say also this framework dominates a lot of what's happening in industry right now. So there's there's NLP use cases for this where maybe you have a model that's trained to translate from English to Arabic.
13:55NLP being natural language processing. Natural language processing. And you want to translate though to like an Arabic vernacular. You would take that parent, what's called a parent model or a base model or more recently called foundation model, and then fine tune it to this new scenario where your task is slightly different. Okay, Chris, that brings us to our next wave or change in the landscape of AI, which we already talked about this sort of move from purely supervised learning to fine tuning from a parent model, a large parent model. And now we're in this kind of wave of generative AI, which is the kind of first wave of AI that has really hit the public perception so widely.
14:50Yes, it's been the game changing thing for the public. They've been hearing about AI in the media, they've been loosely aware of it, but they suddenly had some tools that were powerful and placed directly into their hands. And that has made a huge difference. It came out late last year, I guess, in that sense. But this year is really 2023 has been the year where the public's perception of AI has substantially changed. Yeah. And these models, these large models, like those used in the GPT family of models or open access ones like Llama or Falcon that people might be seeing or the image based ones like stable diffusion or DALI, all of these are still fitting this model of a data transformation or a filter.
15:45You put some type of data in, you get some type of data out. There are some fundamental, at least for some of these models, there's some differences in how they're trained. Remember that training process that we talked about. But then also there's quite a big difference in how they're being used. I think in my mind, that's almost the bigger shift in terms of how people are thinking about using these models. So used to when you would have one of these parent or foundation models, that parent or foundation model wasn't that useful in and of itself. Right. So you have like the base BERT model or something like that.
16:26There are some use cases for that model specifically. But the real power comes that you can downstream fine tune that model with your own data for a specific task. So instead of having a general model, you train a machine translation specific model or a sentiment analysis specific model on your own data. Before we move on from there, I just to address for a moment for those who are not familiar with foundation models, the value in doing what Daniel was just describing is in the fact that much of the training that occurs in a model is very resource intensive and very time consuming and is not specific to your problem.
17:09And so you can train a model to, you know, maybe 90, 95 % of what you want, maybe even even farther. And there's a huge investment there. But from that, it's that last little bit where you have many, many, many, many use cases that you can fine tune it for. And so if you can start by having somebody else, like a big cloud provider, do the first giant chunk of training, then you can take that almost done model and customize it to your need, as can thousands and thousands of other people with different use cases. So you're transferring the training cost to a large organization that does that anyway.
17:49And that's the value. So you can buy into a large model much easier. So I just wanted to clarify that in case anyone wasn't intimately familiar with foundation models. Yeah, yeah. And that's part of the reason, yeah, why the large tech companies are the ones that have dominated the production of these models like Google and Facebook or Meta and OpenAI, etc. have dominated that scene because they have a lot of resources available to them. Although there are some exceptions to that rule as well. If we think now towards generative AI, like I mentioned, there's still this concept of one type of data in, another type of data out.
18:33And there's still this concept of foundation or base model. I think the real shift, although there is some shift in how these large models are being trained, which is we do have an episode about reinforcement learning from human feedback. So maybe if people are interested more in the details of that sort of training process and how it's different, you can look back at that episode. But I think maybe a more significant shift in the distinction of these generative models from previous waves of models is that people now view these foundation models that are being produced these days as useful in and of themselves without any further fine tuning.
19:19although sometimes people do use fine-tuning later on and they're generative because the way people are thinking about using these models is by putting a sequence of information in and getting a completion of that information out that's what we mean by generative so I have some sequence of things in and the next thing that should come out the completion is what is quote generated so that doesn't necessarily have to be text, at least in how people think about these models. It could be, you know, you start out playing a few notes on your piano and then the model generates the next bar of music or something.
20:06Or it could be text like autocomplete. I put in text and then out comes the completion of that text. Yeah, it can really, when you think about it, it can be any kind of information sequence over time that's structured. And you can, you know, so, you know, we see this generative images, we see it in music, we're seeing text, obviously. And there may be other paradigms to come in terms of how people approach different ways of looking at information. That's a big topic of interest right now is what are, you know, kind of turning things on the side And could you do that? And, you know, it's I think that that point right there about not just the the baseline text and image and music and such, but what are other information streams that are possible to apply this approach to?
20:59Because it's already been game changing in terms of the productivity output from what we've just talked about. but that may just be the tip of the iceberg and what's to come. And we'll get there this week. I'll hand it back over to you before we go too far. Yeah, I think that's a really good point, Chris, because I've in recent days been telling people how I've had to rebuild my intuition a little bit as a data scientist because my knee-jerk reaction as a data scientist is to gather some data and train a model, maybe a generalization. but not so far off from the truth. But now with these models, I can solve a lot of the problems that I need to solve without doing any training at all, but doing this sort of engineering and processing around the information that goes into a generative model.
21:50So it produces the right thing out. So some of this, we can give some examples maybe of generative models and how this works out in practice. So maybe I want to generate an image, a lifestyle image for a product, something like that. I could take the product description. I could take some other elements, like some instructions and form that into what's called a prompt input to a model like stable diffusion, DALI, mid journey, something like that. And say, generate an image for this product and you inject the product description and make it black and white set in New York photorealistic something.
22:34So you can see I'm constructing a prompt where I expect the completion of that prompt or the thing generated out of it to be that sort of image that's grounded in the product description. So that's one example where you would insert that and you would actually get an image, that image out. I've done this with my wife's products and it works quite well. Of course, you could also do that with text, right? Let's stick with the marketing example. Maybe I want an ad now to go with my lifestyle image that I'm going to run on Facebook. And so I could use a model like one of the GPT models from OpenAI, or I could use Cohere, or I could use the Falcon model that was introduced recently, which is a large language model.
23:20This is a type of generative model. And I could put in a prompt to say, hey, here's my product description and I want to run a sale, something like this, generate some good, like a good Facebook post for me or a good Instagram post. And the output of that, the completion or the generation out of that is what's going to come out. And now I have an image and I have ad copy for that. But that doesn't, as we mentioned, that doesn't have to be what we limit ourselves to. There's music generation models now, and you can describe the mood that you want to put behind maybe a video corresponding to that ad and generate music out.
23:59And maybe I want to convert the image to a video. I could generate video content out of a prompt and add that in. So you can start to see how chaining all of these things together, multiple calls to these types of models can produce really magical output. And that's, that I think is what's dominating this current wave of AI that we're in. It is. And, and we have barely touched on the use cases because I think it's only limited right now by imagination. My friend Brent Siegel on the weekends likes to play with exactly exploring these ideas. And a couple of weeks ago, he was saying, hey, look, I generated a professional quality PowerPoint presentation that is indistinguishable from what a PowerPoint professional, you know, with graphics and everything was able to do.
24:47He did that entirely out of, I believe it was the GPT-4 model with ChatGPT. And he was like, yeah, I did this in a matter of minutes. I was able to generate the code, which would create the PowerPoint. And for every slide had I gave it a single topic of what I cared about, or I'd give a whole section a topic and tell it to create the slides. And it was amazing. It was better than most people could have done. So now that was his weekend project, which is great. But if you look at that, that one use case, think of the number of human hours that go into in businesses all over the world that go into generating presentations and documentation.
25:29And by the time he was done with his brief weekend project, he could do something that would have previously taken him a week, you know, of work time. And he did it, he could do it once the process was in place, he could do it in like a few minutes. And that was it. So if that became one of a million use cases that people are starting to do all over the world, that turns into real money in industry, in all industries. And so that's just one, which is, I think, representative of why the technology is so amazingly powerful. So if you multiply that times as many things as your imagination come up with, then yes, we have a technology now that we've barely tapped into and which will have an immense impact, whether you think it's positive or negative, on the world around us.
26:25I'm Jared, and this is a Changelog News Break. DeviceScript is Microsoft's new TypeScript programming environment for microcontrollers. It's designed for low power, low flash, low memory embedded projects, and has all of the familiar syntax and tooling of TypeScript, including the NPM ecosystem for distributing packages. This project has a lot of devs excited. Jonathan Barry says, quote, Dope. TypeScript for hardware. Always glad to see these attempts at bringing web technologies to embedded systems and see what sticks. Even when they don't, they inspire innovation. Zach Silviera says, quote, this is so much better than MicroPython.
27:09And Andrea Guiamarchi says, quote, this is the first Esperino competitor and I think it's going to be huge. You just heard one of our five top stories from Monday's Changelog News. Subscribe to the podcast to get all of the week's top stories and pop your email address in at changelog.com slash news to also receive our free companion email with even more developer news worth your attention. Once again, that's changelog.com slash news.
27:45Well, Chris, I think that was at least a good foundation for foundation models. And hopefully, Tanya, if you're out there, let me know at the co-working space if that was helpful. But I think it hopefully will be helpful for more than just you. There's a lot of people wrestling with how to think about these sorts of models and think about how we should interact with them and all of those things. And that really brings us maybe to our next kind of noteworthy news trend that's happening right now, which is around these generative models can do a lot of things. And certain of those things are viewed either for real legitimate reasons or not legitimate reasons as extremely risky.
28:33And I would say there's both legitimate and non-legitimate reasons. But yeah, a lot of people view these things as risky, more so, and I'm not necessarily talking about automating away jobs, which maybe is another topic that we've talked about this on the show before, but actual risk associated with running these models. Risk to humanity survival, I think, is what we're looking for. Yeah, yeah. Because that's the context that people tend to talk about it in. Yeah, what are the views or what are the things that are hitting your desk on that front, Chris? So people are debating that topic on whether these, you know, admittedly, I think everyone agrees that these are incredibly powerful capabilities.
29:17But do they constitute the ability to kind of automate an autonomous risk to us in some form? A lot of times you'll see people arguing for and against on various specific issues. but the thing that I've noticed the most is that they're not always talking about the same thing. I'll have two people arguing two sides of the point that I'm watching, but they're not really talking apples to apples on the two sides. And hearing many such arguments in the last few months, I've actually dramatically changed my own perception. And I haven't heard anyone, I'll throw it out in a minute, but I haven't heard anyone say quite the same as what I'll propose in a few moments, which has to do with that kind of miscommunication, kind of talking past each other.
30:03Yeah, I think my strategy has mostly been, although I think these are legitimate things to consider, mostly my response has been to put my head down and build things that I think are useful and practical. and I haven't necessarily given a lot more time to thinking about the end of humanity as we know it. So I've probably put more time into that part of it than you have. I think so. And so the thing that I think people focus on the wrong thing on this topic, they focus on whether the existing generative models, as we're now calling them all the time, are leading us into kind of artificial general intelligence, AGI, whether it's aware, whether it's conscious, and whether it would have an intent to attack.
Read the full transcript
30:58And I think that that completely misses the point. I think if you want to, and I'll take two seconds and argue both sides for a second. If you want to argue against current technology being a risk to humanity, then you're kind of pointing and saying, clearly these models are not conscious and they are not intelligent in having a broader awareness of the world around and having their own motivations and such. And so the people that are arguing that side scoff at the very nature of the fact that you could suggest that a model could threaten humanity. And within the context of that set of arguments, I think they're absolutely right.
31:41But there's also another side to it, and that is, which is actually where I am kind of migrating a little bit in my own personal thinking, and that is, what if it doesn't take AGI to be a threat to humanity? What if the threat can arise from the fact that, for one thing, we have humans in the mix. We have humans with motivations that create models and have specific things that they're trying to achieve. And so, you can take the power of models and you can shape them in certain ways to address different tasks. And so it might be possibly that if there is a danger to humanity, which I don't know, I'm just speculating, but if there is, it's shaping a bunch of models that by themselves, you know, can do one task really well, or as the generative ones, you know, can give you sets of things, but you combine them in ways with software and with human intent, to do damage.
32:38And so that's what I'm more concerned about, is not that the models will awake and suddenly become conscious and decide that they don't like me very much and they want to get me. I think that I'm a lot more worried about humans orchestrating a bunch of powerful tools and maybe automating those tools in such a way that the tool keeps going. You know, it doesn't take constant intervention. And that's the type of thing that I would actually give a little bit of credence to in my own personal thinking in terms of when I say that meaning not that it's happening, but meaning that it's worthy of consideration.
33:12And when we talk about things like AI ethics and such, that's where I would focus is that there are external concerns that don't require AGI and don't require consciousness to achieve some really bad outcomes. Is that a, what do you think of that? Yeah. So I can give a concrete example that I think fits within your, it's even in your domain of expertise. But let's say that we have a large, expensive and dangerous piece of equipment like an airplane or a helicopter. And there is obviously a vast amount of manuals and documentation about the maintenance of that and the operation of it and the safety around it, etc, etc.
33:58So there could be a case, and this would not even involve like a bad actor, but let's say that we put a chat with your docs interface on top of all of these manuals and the operation information and the maintenance information and all that. You could imagine if, again, these models are essentially generating output that's probable. They don't know anything about, like you're saying, reality or intent or anything like that. There's no knowledge there. It's just completion. So they could complete someone's request saying, well, how should I fix this issue with my airplane or helicopter? And the model could say, well, just take that part off.
34:46It's a throwaway part. It doesn't matter based on the text that it's seeing. And that could be a significantly life endangering decision if the maintenance technician or whoever it is actually trusts that as fact. Now, you could also imagine bad actors getting into that scenario and, you know, modifying information such that it would generate out dangerous information or something like that. So I think that's a concrete example that would endanger lives, but does not involve AI becoming sentient or something. Yeah, I think that there are many, many, many, many, many use cases you could create along those lines.
35:35The thing that I also think people lose sight of is this is evolving so fast. So the capabilities that we're talking about today, if you look back two years, it's come a long, long, long way in two years. and two years from now, I'm expecting it to have gone at least that far, if not more. And so it's a moving target in terms of what those capabilities, which means that the risk profiles associated with what we're talking about will also change. There may be a time when some more research comes about, things are released, and there is more of a sense of understanding, which is a different thing from consciousness.
36:14And I've heard that debated recently by some fairly significant figures in the AI world about whether completion is evolving to understanding. And I don't know the answer to that, but it would not surprise me to evolve at some point to that level and beyond. So we have to be conscious of the risk profile changing as we're trying to identify where things are going. to your use case, I still feel actually, and I know that probably most of the listeners will not agree with me on this, but I feel very comfortable with modern AI models flying aircraft personally. And I think in many cases, and I say this as a pilot, that they are far better than the humans that are doing the same because, you know, you can train the model to essentially have a million hours equivalent, whereas, you know, a great human pilot might be 10 ,000.
37:03So, you know, equivalent, you know, experience level. So one of the things I think, I'm going to throw out this as a point to address is, I think, the notion of AI ethics becomes very hard for us to not be outrun on that. So as we, AI ethics has always been chasing the development cycle. That's been one of the problems is how do you catch it up to get the decisioning in there early enough to matter. But we're also seeing the development cycle speeding up. And I've had some conversations with people lately about is it possible to do a catch up there given the evolving state over time. So there might be a whole AI ethics show we can have at some point in the future about how you how you address that, that quagmire there.
37:49Yeah. And there was actually a news article or a development this week related to exactly what we're talking about. So regulators and governments are trying to catch up with the state of generative AI, generally not keeping up, I would say. But this week, I'm just looking at this New York Times article, Europeans take a major step towards regulating AI. So, quote, the European Union took an important step on Wednesday towards passing what would be one of the first major laws to regulate artificial intelligence, a potential model for policymakers around the world as they grapple with how to put guardrails on the rapidly developing technology, end quote.
38:35So there was this regulation that is taking another step towards passing. And if you look through the article and, you know, I haven't read the full regulation, but looked at a few links. This is really focused on uses of AI that are seen as as risky. And one that's cited in the article is use of AI to automate processes around utilities, right? Water and electricity and all of that, which if it fails has vast consequences for large populations of people. So there are these sort of risky scenarios. I think one point that you have made before, Chris, in relation to the autopilot things and other other things like that, which is worth mentioning here is is also thinking about the fact that humans are are fallible.
39:30Right. Right. So whether we're talking machine translation gets a bad name for producing really terrible output in certain cases. Right. Well, you know, I've worked in that industry and I know it's very possible for humans to produce translations that are very, very poor as well. So a question is, you know, for the task you're considering, I think it's good to balance both. It is good to think about the risk because there is risk like in a manufacturing plant or in an aircraft or in a utility or wherever it is. There's risk associated with something going poorly. But also you have to think about, well, what is the risk and how do I test this AI or automated system?
40:19and what is the risk and how do I test these human operators? And in reality, one could be safer than the other and it might not be the one that you would expect from the start. There's an emotionalism that drives all these topics and keeping in mind that it is evolving, it is, I will argue with anyone, that there is a point in time in the future where it becomes, where the models, for instance, going back to the airplane flying, the models for those particular tasks, the AI models, are so good that statistically they're making many orders of magnitudes fewer errors than very experienced human pilots.
41:03They don't get tired. They've seen every weather condition in the models. They can navigate through all sorts of stuff. And if I was going to take my family on a transatlantic flight, there's a point in time where a rational person who's not driven by their fear and emotion is going to say, yes, statistically, I'm much more likely to arrive safely at my destination with my family with the AI driven airplane versus that. So we can debate when that happens, but I don't think it's terribly rational to say that's never going to happen. I'd always prefer the human because I don't think the statistics will substantiate that.
41:42Yeah, I think there's also, I've heard a risk proposed maybe more so over the past months than I heard in the past, which isn't really about AI automating jobs away, but it's a risk of how this technology transforms humans and the things that they do fundamentally. So pilots, I'm sure, like to fly, right? I love it. Yep, exactly. So if an AI is better than you and a regulator, a government regulator comes along and says, OK, well, it's no longer safe for humans to fly. Chris, no license for you. That's kind of a bummer. Right. I mean, it might be the safe option, but it is it is a bummer. And it also falls into this area of like content generation.
42:33I've heard this. I've talked to journalists and other people are like, hey, you know, like maybe an AI. Like I think some of those people are actually saying maybe an AI can do as good a job in certain cases or a better job than human writers in producing certain types of content. But isn't it a shame that we're going to lose our ability to like, if that's no longer needed, how's that going to shape how humans write into the future? We are going to change. The nature of humanity will change with this. And it doesn't take AGI to do that. That's what I'm kind of getting at. what we do with AI versus what we don't do with AI is going to fundamentally change how we self-identify.
43:16And not only will I most certainly eventually lose my license to AI, well, that will happen at some point because putting me in a plane in the air, no matter how good I am, will become too big of an acceptable risk. But that will also happen with automobiles at some point. At some point, none of us, you will go to an amusement park to drive a car or an amusement area to fly a plane if you're going to, you know, much like we go to amusement parks now to do roller coasters. Because it will not, there's a point in the future, we can debate when it is, where the technology is so good, it will not make sense to put a human who might have a crash and kill people into the mix.
43:57That will happen someday. So I'll finish my comment by saying, if you're like, I have a daughter who is 11. In her lifetime, assuming she lives out her life, the nature of what it means to be human and to live with AI will dramatically change our self-identification. It's a big statement, but I feel I'm quite positive that to be the case. Yeah, and I think, you know, closing on a positive note, there's a lot of benefit that we're seeing. And we will, you know, work through some of these things. And the people that are listening to this podcast, Practical AI, you know, we've talked about the mental model of how these things operate and encourage people, you know, get hands on with these models.
44:47They're not going to be malicious against you. As we've talked about, they don't have any sentience or consciousness. So, you know, get hands on with these models, develop tooling, practical tooling around these models. That's what I what I think is needed. we can dive into this topic, develop practical tooling that can help us move forward and create applications that really help our customers, delight our customers, help those around the world in various ways. So yeah, I encourage people to get hands on and get involved. These powerful tools are part of what it means to be human now. Yeah, yeah, for sure.
45:26Well, I mean, we've all been cyborgs for some amount of time carrying around cell phones. So it shouldn't surprise people that things are advancing. But I don't have my Vision Pro yet from Apple. So we'll see how that develops. But yeah. All right, Chris, it's been fun. Good conversation, Daniel. Thanks.
45:53Thank you for listening to Practical AI. Your next step is to subscribe now. if you haven't already. And if you're a longtime listener of the show, help us reach more people by sharing practical AI with your friends and colleagues. Thanks once again to Fastly and Fly for partnering with us to bring you all Change Talk podcasts. Check out what they're up to at fastly.com and fly.io. And to our Beat Freakin' Residence Breakmaster Cylinder for continuously cranking out the best beats in the biz. That's all for now. We'll talk to you again next time.
46:36Game on!
From the publisher
Chris and Daniel take a step back to look at how generative AI fits into the wider landscape of ML/AI and data science. They talk through the differences in how one approaches “traditional” supervised learning and how practitioners are approaching generative AI based solutions (such as those using Midjourney or GPT family models). Finally, they talk through the risk and compliance implications of generative AI, which was in the news this week in the EU.
Changelog++ members save 3 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
- Fastly – Our bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com
- Fly.io – The home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.
- Changelog News – A podcast+newsletter combo that’s brief, entertaining & always on-point. Subscribe today.
Featuring:
Show Notes:
Something missing or broken? PRs welcome!




