Transcript 0:00 [upbeat music] Welcome, Chuck, to the IoT For All Podcast. Thanks for being here this week. My pleasure. Yeah, it's great to have you. 0:08 Um, let's kick this off by having you give a quick introduction about yourself and the organization you're with. 0:12 I have a master's degree in electrical engineering from Wisconsin, and I taught the computer control and instrumentation class there for a few semesters, so I'm, uh, pretty familiar with the details of sensors, actuators, edge computing, control, and so forth. 0:27 I worked at, uh, Bell Labs as a Bell Labs fellow for about 22 years, where I, uh, worked on switching and access and wireless infrastructure. 0:37 I was at Cisco for about 10 years working on media processing, analytics, IoT, and edge computing. 0:45 I've been CTO of a couple of organizations, uh, a company called Valqari that makes drone package delivery systems, heavily dependent upon AI and machine vision. 0:55 And, uh, most recently, and, and the organization I'm representing today is the Industry IoT Consortium, which is, uh, one of the programs of the Object Management Group. 1:05 We're a consortium of over 100 member companies interested in the Internet of Things as a mechanism for digital transformation and trustworthy networks. 1:15 I have 135 US patents, um, three dozen of which, more or less, are somehow related to AI technologies and applications. Happy to be here. Yeah, it's great to have you. So let's talk about, um, AI a little bit here then. 1:28 So when we're talking about the IoT industry and AI playing a role, what types of AI or what elements of AI are particularly important to the Internet of Things? 1:39 It's really about autonomy and automation in the IoT world. 1:43 So we're really interested in, in taking the readings from bunches of sensors, maybe readings that would overwhelm a human, you know, 20 camera images or 1,000 pressure sensors at once. 1:55 How is a human gonna look at those gauges, right? So we're gonna read those in. We're going to apply various kinds of algorithms. 2:02 Some of them might be heuristic based, meaning, you know, there's a rule for if the pressure goes over this, change that valve. 2:09 Or they could be based on, uh, a machine learning, artificial intelligence algorithm, where we know what that particular factory or refinery or locomotive is supposed to be doing, we know what the normal situations are, and we can, uh, detect abnormal situations by departure from that model and, and then the AI can further recommend how to adjust the actuators in order to make that IoT system come back into performance line. 2:37 Um, those would be some examples. 2:40 A lot of hype recently on the, the so-called large language model or, uh, generative AI, uh, ChatGPT being the prime example of that hype, um, that really involves trying to emulate, uh, s- sort of human creativity. 2:57 And there are applications for that in artificial intelligence and machine learning in IoT as well because, uh, we, we for example have a lot of Python code to write, and there have been excellent reports of good results writing Python code from plain text paragraph that, you know, write me Python code that reads these sensors and processes it thus and does an actuation. 3:23 That, that's something that, uh, we can never hire enough programmers to do for 50 billion sensor points. Um, AI might be able to write that code for us. That's one example. Another example really is the user interface. 3:35 I mean, if I'm driving in my self-driving car and the, let's say the, the ride is a little rough, I, I might say to it, "The ride is a little rough. Can you, as AI, do something about that?" 3:48 And then the AI will look at suspension parameters and, and try to find a better road or whatever it's gotta do in order to improve that situation. 3:55 The human didn't know anything about the physical plant involved with that. 3:58 They got no idea what the pressure of the shock absorbers ought to be, but the AI does, and the AI can translate the human language into a machine-understandable context, and it can therefore apply that to its, its learning models and know what parameters to adjust in the device. 4:17 That's a, a really important example. No, absolutely. That's fantastic. And when it comes to the, the models or the data itself, um, uh, I guess two things. 4:26 W- where is the data coming from, and how are the models being trained? Um, because I, I think those two things are interesting for our audience just to understand. 4:36 Uh, obviously with IoT, we're talking about being able to collect data, different data than what we had before, using sensors. Um, so once we have that data, 4:46 how are those models kind of being improved upon, being trained and so forth? And is there other data that maybe we're not thinking about that is playing a role here? 4:52 As much data as we can get is the short answer, from as many sources as we can get over as wide a timescale as we can get. 5:00 So there are historians right now who really just look at sensors and sort of record what's going on, kind of the black box of a factory. Um, what it's basically doing is recording everything. 5:09 If something goes bad, you know, there's a quality problem or a safety problem or whatever, um, those historians have months, years, perhaps decades in the case of something like an oil refinery, of data about the performance and readings from all of those thousands of sensors that are monitoring that thing. 5:27 And, and that is something that, uh, we can use. We can designate for the entirety of, of 2021, that refinery worked perfectly. 5:37 But in January of 2022, it had a weird hiccup, and what we can do is, is look back on the historian and learn from what caused that hiccup, then try to detect that as a trend that we can try to mitigate before it happens a second time. 5:53 That would be an interesting thing to do, uh, and that data comes from historians. Another source of data might be from the, uh, the, the physics models involved with it. 6:04 So if I'm trying to model, for example, the anti-lock brakes of a locomotive-I know how much the mass of the train is, I know what the coefficient of friction out of the steel wheels is, I know how much power I can apply at the braking, and therefore I can probably use that information as training data in the artificial intelligence engines that are running the anti-lock brakes in future locomotives. 6:28 Uh, the, uh, the ultimate physics simulation is sometimes what we call a digital twin, which is where we have a full complex system. 6:36 You know, it, it could be something like a city, it could be something like, uh, you know, a- an aircraft carrier, something as complex as that. 6:44 And we try to simulate all the different electrical, optical, physical characteristics of that thing, and use that physics to predict its behavior. And we can potentially predict its behavior much faster than real time. 6:57 So if we wanna know what's gonna be happening on an aircraft carrier a second from now, I might be able to run 1,000 simulations between now and a second from now in order to look at all kinds of different scenarios and determine- Yeah... 7:09 the state of the device. That is a, a way that we can train AI. If we can run all these different scenarios in digital twins, what happens if there's a low voltage event? What happens if the wind is blowing too fast? 7:19 Whatever it is, we can apply all those scenarios to the digital twin, use the real physics to determine how that system would likely react, and then use that as training information. 7:29 We, for example, probably wouldn't wanna simulate an oil refinery if one of the blowdown drums had an explosion, because that's a million-dollar repair if it's g- g- if, if we did it really. 7:39 What we can do is we can simulate that, and we can use that as a way to train the model of what happens if that explosion is imminent. That's useful. 7:46 And y- you mentioned this earlier a little bit, but talking about generative AI and, um, how an AI, or, sorry, an IoT system can take the output from generative AI and basically create value for a business. 7:57 Can you elaborate on that a little bit more and just talk about kinda how that potentially works or will work? Well, generative AI, especially the large language model versions, are trained with a huge corpus of data. 8:08 Uh, in the case of ChatGPT and the GPT 3.5 model, the most famous one that's out there today, although GPT 4.0 is being used to great effect by Microsoft, um, that one was trained of r- 2021 or early '22, uh, at the cost of something approaching $50 million. 8:27 Uh, and, uh, it was trained based on pretty much the entire written output of the human race as it's available at least on the internet. 8:36 And that lets ChatGPT take your seed phrase and kinda figure out what word comes next. That's what it does. That's all it does. Is it, is it... 8:45 It knows the words that it's said so far, and then it figures out what would come next if the, uh, the entire training corpus was kinda put to work on, on what it knows about the, the stimulus that you gave it. 8:57 Um, examples of how that might be applied to, uh, IoT is, uh... We, we... 9:03 Oh, one, one other thing about Chat is that, uh, because it's expensive to train these models, um, they take three times 10 to the 23rd, explanation point, if you know what that means, um, the, the, the, uh, uh, of, uh, what's called FLOPS, floating point operations, to train the GPT 3.5 model. 9:19 Um, that, if you u- if you had 82 racks of the, the best GPUs in the world, um, they could calculate that model about once... It would take about a week to calculate that model. 9:33 So if you dedicated that, those 82 racks, $100 million worth of GPUs, to, uh, training your large language model, that means that about once a week you can refresh that model with what's fresh on the internet. 9:46 And ChatGPT 3.5, you can do an interesting experiment. Ask it about the dangers of Chinese balloons, 9:53 and it will send you back information about, uh, choking hazards and heavy metal contamination in the latex and dangers to wildlife. 10:01 But it doesn't know about s- surveillance balloons flying over the Great Lakes because it was trained well before those news events were on everybody's mind for months and months. 10:11 So there, you know, think about what that means to training AI. 10:15 What happens if m- the data that I'm using for that conversational model doesn't know the current events that happened in the last, say, year, and how does that screw up the AI's, uh, usefulness, or what problems and dangers does it put into the, into the system? 10:32 It may not know, for example, that a interstate highway collapsed in, uh, in Philadelphia, and it might just try to route you right through there, right? 10:40 Um, you know, self-driving car doesn't know that collapsed 'cause it, it was trained well before that. 10:45 Those kinds of problems, that's a kind of a contrived example, but those kind of problems are going to be predominant in large language models that are too expensive to train continuously. 10:55 How do you see the, um, [clears throat] generative AI working with other technologies that are oftentimes being utilized in IoT solutions like machine vision, um, AR, VR, edge computing? 11:09 I know we talked about, um, uh, edge AI in the past and things like that. But how, how is that all kind of coming together? 11:15 The models are generally trained in the cloud, where you have lots of computing available and you don't care if it takes a few milliseconds or a few hours longer than you expected. 11:24 Uh, but when you run the inference, you take that model and you apply the, the sensor data or apply the human inputs to it, you, uh, you want that to run fairly quickly. 11:33 So you may decide to use that on more distributed computing resources than the cloud. You might drive it into content delivery networks like the, the caching engines that supply Netflix. There's edge computing there. 11:44 You might put it in what's called MEC, multi-access edge computing. That's an ETSI standard for computers that are typically located at the base of 5G cell towers. Those are nicely distributed around the landscape. 11:55 Um, there's... You can even run, uh, edge computing in edge gateways or mobile edge devices or even human portable edge devices that could actually run, uh, some of those more simple inference phases. 12:08 So what you wanna do is you wanna put the-The inference engine, the thing that's applying the model and making the decisions, you wanna put it at the right depth of the network, from the cloud all the way down to some kind of endpoint device, so that you have the right amount of computation capabilities there, the right amount of power and cooling and all that stuff. 12:25 Uh, but you wanna get as deep as you possibly can into that network so that you eliminate the latency and the network bandwidth and the potential for hacking and privacy violations and all that. 12:35 The deeper in the network the AI is inferring, the, the better off you generally are under those circumstances. What have you seen as far as 12:44 how the different biases and things that are happening with the models, um, obviously this is a big discussion and there's plenty of ways to kind of disc- or, or talk about it, but just from your perspective, 12:56 how are these biases playing a role? How are they being thought about? How are they being adjusted, fixed, minimized, um, with the, with how it's impacting potentially, uh, um, working without an IoT solution? 13:09 Yeah, bias in training models and training data into those models is an enormous problem. 13:15 And in fact, it's entirely possible that a significant portion of those people who are worried about losing their jobs due to AI automation and autonomous systems [laughs] are likely going to be able to be employed in trying to unbias the training data for some of these, these, uh, AI models. 13:31 Um, there's, there's lots of well-understood machine vision bias positions. 13:35 For example, uh, people with darker skin are, uh, have much less fidelity of their facial recognition than those with lighter skin because the algorithms were trained and developed apparently by folks with lighter skin. 13:49 Um, that's, that's a bias that's gotta... That kind of thing has gotta get removed, but there are, there are even more insidious versions of those biases that could exist in IoT systems. 13:58 There might be a bias towards the sunny day training data, because 99% of the time the factory is working properly and, and plucking out the, the right equipment and the r- right products at high quality. 14:11 But for the 1% that it's not, that 1% may not be enough represented in the training data to allow the AI to have, uh, a, a broad, unbiased view of all the possible operation modes of that factory, good and bad. 14:26 That's a thing that, uh, that's gonna require a lot of thought. 14:29 The, the digital twin approach that I mentioned before lets us investigate those failing and, uh, abnormal scenarios without actually producing tons of bad product. 14:40 Those are, those are some of the mechanisms that we can use to do unbias. Um, there will be humans involved in cleaning data. 14:47 There'll be humans involved in saying, "This picture has no trespassers in it, or this picture has a coyote in it, and this picture has three human trespassers that probably are a real problem." What... 15:01 But it, it's really hard for the, the, the AI to take those images and figure out what's in them without a human interpreting those contexts. 15:09 So there'll be a lot of, uh, a, a lot of crowdsourcing kind of work being done in terms of training those images. 15:16 In fact, the CAPTCHAs that you sometimes use as a, you know, if you're, if you're trying to go to a website and it wants to prove that you're a human, show me all the things with traffic signals. 15:25 You may have gotten that one. That's actually going into AI training data. 15:28 You as a, uh, as a human identifying those, are using tho- tha- that data where those traffic signals are to train the AIs that are running self-driving cars. Isn't that interesting? 15:39 So you're getting double duty out of those. 15:41 You're getting double duty out of that proving that you're a human and also, uh, throwing a lot of different images into a training model that the distributed crowd is, is validating. 15:52 Let me ask you this before we wrap up here. 15:53 One of the last things I wanted to kinda touch on is, as we move forward, um, with AI getting more integrated closely into, um, uh, into the IoT space, what does the future look like with AI, AI and IoT coming more closely together? 16:07 One thought is that, uh, government regulation, especially in the United States, European Union, and China, will have significant impacts on what AI is allowed to do and what kind of training data is acceptable for that AI. 16:24 Um, that, uh, that government regulation might retard the development of some of these things by a f- a year or so, uh, but, uh, I think that that might not be all bad. 16:37 Uh, waiting until we have some, what we sometimes call guardrails in the business, some rules for what's acceptable and what's not acceptable in terms of technologies and applications of those technologies, uh, that will be, um, that'll be something that needs to get done. 16:50 So that's one thing that I think might be in the future, and one of the big unknowns of the future is how much is government regulation going to impact the deployment of widescale AI? 17:03 Um, other things, uh, I think that large language models are, are very important to the way that humans are going to be doing work, 17:13 and any human who's, uh, you know, sort of sits at a desk and does a job that you could have described on a Post-it Note, they're gone. They're, they're replaced by AI, right? 17:24 So there, there's, there's plenty of humans, you know, a lawyer, think about that, they're, they're, they're probably not doing a job that can be described on a Post-it Note. 17:31 But if you can be, uh, you might wanna start retraining yourself to be more in, uh, AI data wrangling or testing, uh, validation of these systems, because you're gonna get replaced. 17:42 Uh, th- you know, th- these are people who do data entry clerks, you know, a- and anybody who types something in off of a piece of paper, forget it, they're gone. 17:51 Um, a lot of that stuff, a lot of those, those jobs, uh, do tend to exist in IoT networks. 18:00 The, the swivel chair people who sit there and manage those networks, they watch for the, wait for the red signal to come up on the dashboard, and then they dispatch, uh, a human to go and, you know, change that battery or fix that fiber cable, whatever the problem might be.Those folks I think could probably be replaced by various kinds of expert systems and conversational AI systems. 18:21 And, uh, as a result, uh, that might be a deal. I, I don't know where, where, uh, customer support's going to be, right? 18:27 Um, right, right now, when I get a, a, an automated customer support system, I push zero to see if a human will come on. That's right. And then I hang up. 18:36 We're starting this AI podcast, and we actually, one of our first guests, we were talking about how these... 18:42 We started off talking about enterprise assistance, and then turned into chatbot conversations, and just being able to create that experience to be something that people feel way more comfortable and trusting to engage with, and don't do exactly that, push to get to a human, 'cause the cost and the expenses that go into training people and maintaining a sales staff is pretty high. 19:02 So, how, how can, you know, these new tools, these new models help customer support become more efficient and do the job better than needing, uh, individuals and humans every step of the way? 19:15 So it's very fascinating to, to see how that's going to evolve, because everyone listening to this interacts with, with that kind of experience on, you know, a regular basis. 19:24 Five years from now, people like me, you know, sitting here trying to make my technology device work on, on hold with the helpdesk, they're going to prefer AI, because AI is instantly available, AI is always polite. 19:39 They have an accent that is perhaps the one that you chose with your slider, you know? If you want, if you want [laughs] something who talks with a British accent, you can do that, uh, if that, if that's easier for you. 19:49 Um, and, and, uh, a- and they're gonna be more knowledgeable than 90% of the folk. 19:55 So what, what you're gonna have is, is the AI doing the triage, and for the 10% that the AI doesn't have high confidence that it knows the answer to, 20:05 it will, it, it will abridge that information, it will send it to a human, and it will attach your conversation to that human. 20:13 You don't have to go through anything that you told the AI, 'cause, you know, that's all on the human screen already. 20:17 That kind of thing is, is inevitable, and I think what that lets us do is, is get those 50 billion IoT devices that the planet is, is supposed to have by the end of this decade, get them rolled out faster without having to rely on a bunch of humans in swivel chairs typing IP addresses, and, and a bunch more humans in swivel chairs with headphones on trying to troubleshoot the people whose garage door opener won't connect to the internet. 20:42 That stuff is gonna be AI driven, and, uh, a- and it's an enabling technology, but, uh, it does have a social cost, because the folks that used to have those moderate to good jobs sitting in those swivel chairs are, are going to be systematically replaced. 20:59 Really appreciate your time, Chuck, and, and thank you so much for being here. 21:01 For our audience who is looking to learn more about the organization, uh, follow up on this conversation, anything like that, what's the best way to do that? Connect to iiconsortium.org. 21:12 That's the Industry IoT Consortium dot org. And, uh, there's a resources page that has a whole bunch of, of fundamental, uh, documents that you can download for free. 21:23 One of them is about IoT-based AI engines, and I think you'll find that very useful. There's other ones about cybersecurity and trustworthiness, and other things that I think are useful. 21:34 Uh, there's also a, a apply for membership page, and we have excellent deals for startups, and not too bad a deal for small, medium, and large businesses, uh, depending upon your, your revenue, we'll, we'll charge you a not... 21:46 A modest, uh, annual fee. But you get a lot out of it. Mm-hmm. 21:50 You, you get the opportunity to sort of hear what's being talked about in terms of future reference architectures, future, uh, best practices, maturity models, all that stuff. 22:00 And you also have the opportunity to influence, uh, our organization as we invent the future. So if you have a particular technology that you love, a particular way of doing things, a protocol that you'd like to see i- 22:12 i- impl- implementation of, uh, we, we are the place that's making those decisions and trying to deploy it to the entire IoT industry. 22:20 Well, Chuck, thank you again so much for your time, and I'm very excited to get this out to our audience. Thank you so much. Good luck to the audience in your IoT journeys. Take care. [outro music]