Latest / Agentic Conversations (formally mlops.community) / How to Build Production-Ready AI Models for Manufacturing // [Exclusive] LatticeFlow Roundtable
Transcript
- 0:07What is up good people of Earth? How y'all doing out there?
- 0:11I am very excited to be with you Today.
- 0:15We are going to be talking all about how to build production
- 0:19ready AI models for manufacturing, something that
- 0:22has been coming up over and over and over again when I talk to
- 0:28people about AI use cases. And so hopefully by the end of
- 0:32this, you're going to have some of your questions answered, but
- 0:35maybe you're going to have some food for thought and you're
- 0:37going to be chewing on some of these questions for a few days
- 0:40afterwards. And I want to bring out our
- 0:44Esteemed Guesses guests right now, But before we do that, I've
- 0:50got a few announcements on the MLS community side of the house.
- 0:54In case you didn't know, we do have a podcast that I recommend
- 0:59you all listen to. We're going to be putting stuff
- 1:01like this and other great episodes onto the feed.
- 1:06You can check it out. There's a little QR code for you
- 1:08that I'll throw up in the left hand corner.
- 1:12But the most fun that we've been doing is ohh, here's a better,
- 1:18there's a better QR code for you.
- 1:20So hopefully you can check out the podcast there.
- 1:23But what I have the most fun with is presenting you the merch
- 1:30that we've got. We've got shirts that say I
- 1:32hallucinate more than Chad. GT Get yours now.
- 1:35It is on limited edition run. And with that, we're gonna bring
- 1:41out our guests. Let me get that off.
- 1:43Hit that QR code if you want to check out the shirts.
- 1:45Otherwise, if you want something a little more tame, you can go
- 1:49with my prompts or my special sauce.
- 1:52We've got all kinds of fun merch out there.
- 1:55And last announcement before we get rolling with this roundtable
- 2:01session is on June 21st, June 25th, June 25th in San
- 2:09Francisco, we are having our first in person conference.
- 2:13If you want to join, hit me up, let me know.
- 2:16It's going to be San Francisco June 25th.
- 2:19We'll also be streaming one of the tracks onto this platform
- 2:25that you are on right now. So we will make sure that you
- 2:29are all updated. Enough of the announcements.
- 2:33We've got a lot of ground to cover and I want to get right to
- 2:39it and bring out our guests. Let's get Paval out here.
- 2:44Where you at? And we've also we're also joined
- 2:47today by Mohan and N kids. Where you all at A they're they
- 2:51are what's going on guys? Hello.
- 2:54Hey, the only I do guitar intros, but this time I didn't
- 3:01because I thought the QR code of our merch was funny enough to
- 3:05have some fun. Now let's jump into the topic at
- 3:10hand. I'll lead us through all kind of
- 3:12guide us and guide the conversation, but I'm by no
- 3:15means an expert in this topic and so I'm here to learn from
- 3:19you all. I would love to start with a
- 3:27little bit. Ohh, I just realised we're
- 3:29missing our our 4th to make it a foursome.
- 3:32There he is. Hey, sorry, I didn't mean to
- 3:34keep you out. Keep.
- 3:35Having no worries. So let's let's start with a
- 3:40little bit of like 10 second intros so everybody can know who
- 3:43you are and what you're doing and why you are on this virtual
- 3:48roundtable stage. And Mohan, since you're big on
- 3:53my screen right now, you can start it off.
- 3:56Thank you. Thank you.
- 3:58It's a pleasure to be here. First of all, thank you for
- 4:00having me so in background. I've been working in the
- 4:05computer vision slash machine learning AI space for the last
- 4:0925 years. About nineteen of those were in
- 4:13the manufacturing industry, in the semiconductor manufacturing
- 4:16industry. And other than that I've also
- 4:19worked in robotics, fintech and insurtech.
- 4:22And yeah, that in a nutshell is. Me So.
- 4:25However, today my name is Paula Paul.
- 4:27Bit less experience than one, so not 25 years, but we've been
- 4:32working, I would say probably more than 10 years on the topics
- 4:36of safety, robustness of our models, more from the academic
- 4:40background that I trade. This is where I did my PhD,
- 4:43after which we started company with two other professors that
- 4:48tries to bring some of the kind of research and knowledge we
- 4:52accumulated out in practise to help actually deploy these
- 4:56things in a. Safeway OK, so yeah, yoga and
- 4:59vice mega and part of Schneider Electric SA.
- 5:02I hop where I'm responsible for strategy innovation.
- 5:05I'm hanging around in the field. I'd like moan for the last 25
- 5:09years and also we're starting in the space of generate DVI.
- 5:16Actually lots of work in LVMS, large vision models, but also
- 5:21doing what's in the classically, say today you would say old
- 5:25school machine learning stuff, but it's still important to have
- 5:28it. And yeah, my teams were working
- 5:30on next generation solutions like teaching LGBT time and
- 5:35space. Hello, I'm gonna keep I work as
- 5:39a vision engineer, e-mail engineer at Altium cells which
- 5:45is one of the EV battery manufacturing plant here in
- 5:50Ohio. I don't have much experience
- 5:52like everybody else here but I did my masters last year and
- 5:58been working for almost a year. Well, fellas, when it comes to
- 6:03industry and Heavy Industries, AI and ML use cases are they're
- 6:09very prevalent, but I always want to know more about them.
- 6:14I think there are some common use cases that you have probably
- 6:18seen and some uncommon use cases that I want to hear about.
- 6:23So any kid, do you want to start us off with what some of the use
- 6:28cases that you've been playing around with are?
- 6:30Sure. So I mean most of the use cases
- 6:32for us, I mean there are multiple spaces where we use AI,
- 6:38but especially for us, we use it for battery inspection.
- 6:42We do the electrode inspection actually made it's in the this.
- 6:48So we do surface level inspection, dimension level
- 6:51inspection, but for surface we use the AI for the most part.
- 6:55Alright then, what about you Yergin?
- 6:57How you been playing with it besides teaching based which
- 7:03sounds like a song? I mean I I gotta be honest with
- 7:05you that does sounds like something out of a sci-fi novel
- 7:08too. But what are?
- 7:10What are some other use cases? But they men battery health as
- 7:14Ankit satus plays a big role for Schneider as when we are
- 7:18manufacturing UPS for data centres.
- 7:21So keeping this stuff alive is is super important thing.
- 7:26So understanding the cells health during a live, how you
- 7:30can manage charge and reach us. So is a huge area of business
- 7:35for us. But other big business areas as
- 7:38it comes to Heavy Industries is how do you control carbon,
- 7:42carbon emissions, carbon reduction.
- 7:44So working on carbon digital twins and then incorporating
- 7:49this with process optimization and electrification logics and
- 7:54machine learning programmes is does a lot to gain.
- 7:58And we find out there's lots more to understand because of
- 8:04people don't even know where all of the GHG is coming from.
- 8:07And so that's this is too big areas are US battery health,
- 8:12sustainability, CHE admissions where we do lots of work.
- 8:16My view is a bit different. So Aniket, you know, his view is
- 8:21in the manufacturing of the cells and you're and you were
- 8:24talking of what happens during the monitoring of cells as
- 8:28they're used in these data centres and their and their
- 8:30light span. My experience has been more than
- 8:34the semiconductor manufacturing industry where chips are made.
- 8:38And so there are two pieces to this.
- 8:41AI is used first in the development of the process
- 8:44itself, because that's a very, very difficult journey.
- 8:48And that tends to be the hardest set of problems that we solve to
- 8:52help the TSMC's and the Intels and the Samsungs of the world
- 8:56build their process to figure out what will work when they
- 9:01manufacture their next Gen nodes right at the critical dimension
- 9:05nodes as Moore's Law scales. And then the other part, which
- 9:10is volume production, when once the process is optimised, then
- 9:14you're going to volume production.
- 9:16And there you're doing much more of a monitoring of the process.
- 9:19So you sample some and you make sure that in both of these
- 9:23cases, where AI comes in is to discover known knowns, which
- 9:30means that you have some kinds of defects and you know that you
- 9:32can live with some statistical process control of how many
- 9:36defects per wafer or per cell or per 100 cells or whatever.
- 9:40Then you've got the known unknowns and then you've got the
- 9:43unknown unknowns. And so you've got to be able to
- 9:46be able to capture all of these things in the process so that
- 9:50the right actions can be taken in the manufacturing process.
- 9:54Anything else you want to add before we jump to the first
- 9:57question? Ohh, I think the there are a lot
- 10:02of small answers and subtleties that we can unpack in some of
- 10:07these disciplines, but happy to jump on and get into the
- 10:11details. Cool, very cool.
- 10:14Well, let's let's get your take on this panel because and maybe
- 10:19we can go into some of the challenges that you've seen as
- 10:23you've worked with many different use cases and many
- 10:27different customers in this field.
- 10:29What are they struggling with? Yeah.
- 10:31I think maybe to follow up on Mohan.
- 10:33So, So what we try to do at lattice flow is kind of be in
- 10:37this part of the manufacturing process.
- 10:39So this is like once there is already a production line and
- 10:42then you would want to set up and quality control on top to
- 10:47try to figure out what are the known knowns, known unknowns as
- 10:50well as the unknown unknowns. And this is one of the challenge
- 10:53where there is a process associated with kind of figuring
- 10:57it out. And this is at this point very
- 10:59manual. So you would rely on domain
- 11:01experts that have bought the machine learning expertise as
- 11:05well as the domain knowledge. And this is important because
- 11:08often when we work with some of the kind of applications, you
- 11:12would, for example, do preventive maintenance, you
- 11:14would look at the defects. And if you show them to me, I
- 11:17have really no clue like you would show like this is how it
- 11:19looks correct. This is how it looks incorrect.
- 11:22And I just don't see the difference.
- 11:24And there are people who have 10 years of experience who can see
- 11:27it from the image or maybe actually you cannot even solve
- 11:30it from like one signal. You would need multiple signals
- 11:33put together. And this is all the information
- 11:36you need kind of also at the design phase to be even able to
- 11:39design such system. OK, So the main thing that I I'm
- 11:45wondering about when you have these different use cases and,
- 11:49and I appreciate that each one of you has a very specific
- 11:53piece. I know that depending on the
- 11:58machine learning use cases that you do have and what you are
- 12:01doing with AI, sometimes you're really trying to optimise for
- 12:06certain pieces like latency. And if you're using LM, you
- 12:10can't really do that. If you are however, trying to do
- 12:14like predictive maintenance and figure out which piece needs to
- 12:18go off of the construction line or sorry, like the the line, the
- 12:24conveyor line, I can't think of the word right now, but you
- 12:27don't necessarily need really low latency for that either.
- 12:30So what are some of these constraints and things that you
- 12:34are optimising for as you're thinking through your AI
- 12:38problems? Are there different pieces that
- 12:40you're saying, all right, well, we're when we think about
- 12:43trade-offs, we think about tradeoffs like this.
- 12:46And maybe you're going all through this one over to you
- 12:49first, and whoever wants to jump in afterwards can.
- 12:52See it heavily depends on the application.
- 12:56When we have ultra low or zero latency applications today in
- 13:03specifically in computer vision related use cases where we
- 13:07talking total time to make it a Zishan 50 milliseconds inference
- 13:14time for AI sub 20 milliseconds because that's what many people
- 13:19don't understand is it takes time to acquire an image or
- 13:22multiple images that they need to be interpreted.
- 13:26You need to send signals to control systems.
- 13:28Control systems needs to actuate stuff.
- 13:31So people when they hear 50 milliseconds, I am forever 50
- 13:34milliseconds for AI. No, we don't have so we have 10
- 13:37to 20 milliseconds. So it puts you in in a whole
- 13:41world of pain to figure out the pure hardware setup for that.
- 13:47It's not as one big area. Then when it comes to other
- 13:51scenarios where time is of less importance, its accuracy, how
- 13:57precisely can you predict scenarios?
- 14:00How accurately can you make distinctions between?
- 14:03This is still within the realm of acceptable and this is where
- 14:08it starts to be not acceptable. We also seeing lots of safety
- 14:12use cases where the safety of human beings plays an enormous
- 14:17part area. So somebody enters an area where
- 14:22he's not supposed to be. If he doesn't leave the sound
- 14:24within a given time frame, you have to stop production.
- 14:28And then it's it's for people looks like stop production is
- 14:32not a big deal a whole it get the guy out, throw the switch
- 14:36and it runs again. And most processes it's not that
- 14:40way. It's not you just flip the
- 14:42switch and it runs again. It's one of my best examples.
- 14:45Take a paper machine. These things are between 4 and
- 14:49600 metres long and if you have to stop that machine, it's not
- 14:54flipping a switch. You have to clean it, restart
- 14:57it, it's ours to get it and running O.
- 15:01These are applications now where different types of accuracy
- 15:06plays an immediate role. And then this other applications
- 15:09where time is of essence and, and then when we going into the
- 15:15first big area around generative solutions, uh, what it becomes
- 15:21there is can you manage the quantity or the amount of
- 15:24hallucinations? So how accurate in how little
- 15:28hallucinations you actually produce when you create content.
- 15:34And I think more than was speaking about the semiconductor
- 15:37industry, we have, for example, a use case around generating new
- 15:40geography, which is super important because this is
- 15:43literally how you run all the stuff on the chip and you want
- 15:47to make it as small as possible and so on.
- 15:50So you want to hallucinate ideally 0 and that this is 3 big
- 15:56areas which different implications which really bother
- 16:00us today. Yeah, Yeah, you're good.
- 16:02Makes some excellent points and I could just expand on one or
- 16:06two of those points. So in a manufacturing process,
- 16:13if you've got too many false positives, you'll stop a line
- 16:16and, and, and it may trigger other processes like Yogan was
- 16:20saying, which if you trigger too often, it's very expensive.
- 16:25And yet if you miss certain manufacturing defects, you can
- 16:30create a massive loss of material because you've
- 16:33manufactured defective material. So it's really walking that
- 16:36tightrope. And here's where the initial
- 16:40process of figuring out the statistical process control of
- 16:45where those limits are, O one thing I've learned is there's
- 16:47nothing called 0 or 100, OK, so it's all a question of, you
- 16:51know, how many errors you can live with, how often do you do
- 16:54them? And figuring out statistical
- 16:55process controls in the manufacturing process.
- 16:58So to Jurgen's point, there's a cost on both sides and it's a
- 17:04fine line that we have to walk and we have to set that up at
- 17:09the point where the processing is developed and then make sure
- 17:12that that is followed throughout the as the process is run in
- 17:18time. That's brilliant to think about,
- 17:21especially when it comes to this idea of like it's not black or
- 17:26white, you have a lot of grey area, there's no 0 or 100.
- 17:29And so you have to be thinking through these different
- 17:32trade-offs. And if you're stopping the
- 17:36production line, that's great, especially if you make sure that
- 17:40there's not faulty products that are going out.
- 17:44But if you're stopping it too much, that's not great.
- 17:46And you have to really answer to people who might be a little
- 17:51more hawkish on, hey, let's just let's stop it.
- 17:53But then what you're going to say is people's lives are on the
- 17:56line. So you can't be playing loose
- 18:00fast and loose with somebody who is who's got their life there.
- 18:05So Next up that I wanted to, I wanted to just dive into like
- 18:10the idea of going from proof of concept to production and maybe
- 18:15educate. Can you talk to us about some of
- 18:17your experiences, if you've had any of like you've seen it in as
- 18:22a POC and then when you wanted to take something to production,
- 18:26how is that and what are some challenges that you've had
- 18:28there? So this is commonly one of the
- 18:31biggest challenges actually proof of concept because in in
- 18:35especially battery industry, you don't want to deploy any models
- 18:39right away just because you think it's working, because it
- 18:42takes months to make sure that your model is robust enough to
- 18:46be deployed on the line. Because it's not just about
- 18:50millions of dollars that you're going to lose in material, but
- 18:53also it's too risky to leak anything to the cars that those
- 18:58batteries going to go to. So this is one of the biggest
- 19:05challenges that I think we do have.
- 19:08So we spend a lot of time in the proof of concept and also doing
- 19:13like secondary inspections instead of actually doing a live
- 19:16inspection before deploying the model in the live for making
- 19:21actual judgments. And is there certain
- 19:26infrastructure? And I know one of the big
- 19:28questions that people have is around the teams and like how
- 19:32the platform looks, what kind of teams are responsible for the
- 19:36models when they go out? Once you get that green light,
- 19:39there's so many different stakeholders that are involved
- 19:42in these questions, right? And so how do you make sure that
- 19:47everyone is on board and everybody understands what's
- 19:50going on with these AI models that are going out?
- 19:53First of all, like in our use case, like when we do the proof
- 19:58of concept and we when we know that we are ready, we have to
- 20:01let the production team. Know that this this new model is
- 20:05going in place and then they take care of like dear part who
- 20:10they need to confirm, like they they need to notify that this
- 20:14change is happening. But even while the change is
- 20:17happening, it's usually not as a primary change because there is
- 20:20another model that's actually working to make sure that the
- 20:24secondary model is there. And then we compare the results.
- 20:29So like our analytics team would be the one comparing to make
- 20:32sure that OK, this is actually doing a better job than the
- 20:35current model. So now it's time to get it on
- 20:40the light. So then we have to notify the
- 20:42people who need to know and there is a chain of command.
- 20:47Of course it does take some time, but it's very important
- 20:51that we go through that step. Yeah, along that and there's a
- 20:54great question coming through in the chat from Richard.
- 20:57There's also an awesome one from Hattie that I'm going to ask in
- 21:00one minute, but the one from Richard is perfect.
- 21:03I want to throw this to everyone.
- 21:06Are we looking at purely AI ML solutions or hybrid where the
- 21:11legacy hardware and techniques are used In Sync with AI?
- 21:16How does AI integrate with what is in play already?
- 21:20Safety and emergency response is what I'm thinking about
- 21:23primarily. I can talk a little bit about
- 21:26this. So not everything is AI, Yeah, I
- 21:31is used, but we also use rule based system which is the OG of
- 21:36inspection still and a lot of dimensions we have to stay with
- 21:42a rule based methods. So and in many cases we use rule
- 21:47based and then AI after that or both models at once doing the
- 21:54judgement because rule based is pretty fast.
- 21:56Usually we don't have inference speed issues with rule based.
- 22:01SO sometimes both models are working and then we are using
- 22:05judgement of both of these models.
- 22:07Sometimes they're using being used as a combination.
- 22:11So the let's say there is a surface defect that's visible to
- 22:17the rule based model. It's then sent to the AI model
- 22:22to confirm OK it is actually a defect or not instead of just
- 22:26sending everything to AI because that's going to be time
- 22:29consuming. And 2nd it it's going to be very
- 22:33difficult to send everything to AI.
- 22:35Yeah, so there's two class two groups of faults happen.
- 22:38Yeah. So the not everything has and
- 22:41must be a I mean it's not here just a beauty contest to just
- 22:45strictly. So we are using lots of sensors
- 22:49or intelligent sensors, which make things easy when you can
- 22:53have little variables you put on workers in largely Windia
- 22:58entering someones not supposed to enter, they just get notified
- 23:02and that's very effective and especially also low error rates
- 23:06to Mohan's words per previously. And the other thing we are doing
- 23:10now is to marry the what's called first principle or
- 23:14natural or world with the data I world is pins physics and form
- 23:19neural networks. It was a natural evolution step
- 23:22because if you just go purely data, what these algorithms do
- 23:27is they optimise and they always try to find the maximum.
- 23:31The reality shows when when you show this, let's see this
- 23:34optimised solution to an engine. Here he's going to say to you
- 23:38why this is a perfect solution, but I will never going to do it
- 23:41because I'm 0 Margin for error is the critical thing is how you
- 23:45teach systems margin for error because this is what clever
- 23:50engineers this is like. I leave myself always a bit of
- 23:53wiggle room in case something goes a little bit off track.
- 23:58We're not having immediately disaster.
- 24:00We just keep it going. And this is what it is in many
- 24:03processes. When you look space thick, Elon
- 24:07Musks a fourth launch and yes, the thing was falling halfway
- 24:13apart on reentry, but it still it had enough margin for error
- 24:17to get it to a successful splashdown in the Indian Ocean.
- 24:22And this is what pure database systems don't understand.
- 24:26They don't understand the concept of what they were.
- 24:29And is that so? This is a fascinating idea
- 24:31because it's like in software, you have a lot of wiggle room.
- 24:37And in this type of scenario, when you're in the industry, you
- 24:41don't have that wiggle room and you can't do things where you
- 24:45have the 0 margin for error. Is that what I'm understanding?
- 24:50So there's very little environment where you truly have
- 24:530 margin for error. So every engineer tries to give
- 24:58himself a space where you can operate in, but this space is
- 25:04often differently defined or does not necessarily cohere
- 25:09with. You run an optimization
- 25:11algorithm which say I'm trying to climb the mountain as high as
- 25:14I can. So they would say if you take
- 25:17Mount Everest, would they go to 8843 metres?
- 25:22No, they would say I'm. For me, 7 1/2 thousand is good
- 25:25enough. If I'm sticking around there,
- 25:28I'm safe and I can manage it. If I'm going to the top, my
- 25:33margin for error was literally zero.
- 25:35And and seeing is that many, many industries is it's exactly
- 25:41what they're managing the margin for error to keep the process
- 25:45going because continuity in production is more valuable than
- 25:51short periods of peak production and then long prolonged periods
- 25:57of time where you are not running at all because you break
- 26:00something. And that's what these guys are
- 26:02factoring in. And this is teaching this
- 26:05machines isn't isn't an easy task.
- 26:09Yeah, maybe just to follow up on your again, I think this is an
- 26:11excellent point because essentially exactly if you just
- 26:15take the data, you throw it in, you take like the latest
- 26:18greatest optimization algorithms.
- 26:19They just don't have this notion of optimising and adding the
- 26:23error for the margin. And not only that, but it's also
- 26:27these algorithms are optimised for the average case, for the
- 26:30expectation over the data set. But this is again not something
- 26:34that you want to optimise for. You actually want to optimise
- 26:37for the corner cases that will lead to like production lines
- 26:40stopping. And this is where the margin of
- 26:42error is really important. And this is very, now again,
- 26:46would like to go and actually start thinking about how do I
- 26:49maybe change the algorithm? How do I add this margin of
- 26:52error for these things to actually work well in practise?
- 26:55And maybe one more thing to also follow up on what anarchists had
- 26:59said in the original question. So it is definitely often these
- 27:04kind of systems of systems where the EML algorithm is like one
- 27:08piece that maybe has actually replaced some original algorithm
- 27:13that now can be optimised more. And this is also something that
- 27:16often when going from POC production, not always is kind
- 27:21of so clear because then you get problems like, OK, if I change
- 27:24this algorithm in the future, now I have other things that
- 27:28depend on it. And maybe the other parts
- 27:32actually learn to kind of manage the mistakes the algorithm
- 27:37makes. And now maybe I improve my
- 27:39algorithm and actually the whole system breaks even though my
- 27:41algorithm is better. And that's because it's just not
- 27:44this like one small box. It's a bigger system.
- 27:48Man, that is, yeah, it's like you're you're taking one step
- 27:52forward, but two steps back in a way by making that algorithm
- 27:55better. So you have to be careful.
- 27:57Yes. And then this also goes back to
- 27:59like how are we making it better again?
- 28:02Is it like is it strictly improving over what we have
- 28:05previously such that we really avoid these regressions or is it
- 28:09this on average battery if I look at this traditional
- 28:13metrics, how we evaluate these models from like purely machine
- 28:18learning perspective? So the chat is awesome right
- 28:21now. I gotta give a shout out to
- 28:22everyone that is asking questions.
- 28:26Syed, what's up? Assad is in the chat asking
- 28:28about in the realm of quality control, how can AI systems be
- 28:33trained to handle the vast variability in defect types and
- 28:40severity seen across semiconductor slash wafers and
- 28:44EV components? And as as a manufacturing
- 28:47company mean, so we manufacture a lot of our components of
- 28:51ourselves. So we we have encountered what I
- 28:56call predicting the unknown because things can fail
- 29:02mathematically in many, many, many, many ways which we can
- 29:05never well, we never have enough data to train anything to
- 29:08predict it. O we made a conscious decisions
- 29:12a while ago where we said we forget the failure pattern
- 29:15training because it's never going to work.
- 29:17You will encounter every day something new which you haven't
- 29:21seen, and you'll be just retraining, retraining,
- 29:25retraining all the time. So we said, OK, let's train the
- 29:29algorithms on how the ideal state is supposed to be.
- 29:32Says OK, this is perfect. And Parliament mentioned it
- 29:36earlier. It's not always easy to define
- 29:39this, but saying OK, this is the ideal state, this is how it
- 29:41should look like. Everything within a certain
- 29:45margin of error which does not look like this is bad.
- 29:48And the advantage of that approach that is you can, you
- 29:52don't need to know the bats beforehand.
- 29:54You can either. What has a retro labelled them?
- 29:58So if you if you encounter something you've never seen, you
- 30:02can label it and add it to your foundation.
- 30:04So the next time you would not only create a KFW nation from
- 30:08good, you could also say, yeah, we have this in this case and
- 30:12this triggers this, this kind of fix.
- 30:15But the advantage of this is it keeps the system stable and
- 30:18robust and you can deal with all sorts of forms of abnormal
- 30:23abnormalities which you have never encountered before.
- 30:26So, so that's the take we took in since we, we switched this
- 30:30and we also found we have way lesser issues with labelled
- 30:33training examples reference cases, because the, the amount
- 30:38of good production data that we have outperforms the bad data by
- 30:44I don't know, a million to one or even more.
- 30:47So that is how we literally switched and tackled the the
- 30:51challenge of predicting the unknown.
- 30:54Yeah, so it it sort of boils down to a system design problem.
- 30:58So as you're gonna mentioned, you know, the points yoga
- 31:01mention are very important. So if you try to map out all the
- 31:06failure modes, then I think it's an impossible task because
- 31:09there's always going to be something new that pops up, some
- 31:11variation of something that you haven't seen before or what have
- 31:14you. And machine learning models,
- 31:16unfortunately, as all mentioned, they are function wrappings,
- 31:20which means that they're on distributions and the long tails
- 31:24of those distributions are very, very poorly learned because
- 31:27there isn't data there for them to learn, right?
- 31:30So, so really this is about system design.
- 31:33You've got to build what we call anomaly detectors that just
- 31:38detect as Yorkin mentioned from the ideal state that deviation.
- 31:42And so there's far anomalies that are easy to detect.
- 31:45Any kind of simple detector is going to detect that it's the
- 31:48near anomalies to the boundaries of the statistical process
- 31:51control that become really hard. And that's where that's that's
- 31:55where the challenge lies. And that's where you need to
- 31:58build a system designed quite carefully.
- 32:01And if you do that well then and you have the right feedback loop
- 32:05within the manufacturing system, that means that anything that
- 32:07you detect in that window, you must get it QC D right.
- 32:11And you must be able to QC it with root calls.
- 32:14So you not only QC what you're detected, but also you're able
- 32:17to root cause that to the manufacturing process itself.
- 32:20And then you can close that loop.
- 32:22Then you can maintain sort of a stable process as you
- 32:27manufacture. Nonetheless, having said this,
- 32:30surprises popping now and then and it leads to those late
- 32:34nights where everyone has got to get up and get going to figure
- 32:38out what the hell tracking here, right?
- 32:40And so that happens every now and then in, in, in, in these
- 32:45high stakes manufacturing environment where you've really
- 32:48got to solve that and get that process and control ASAP.
- 32:52This is so we always love hearing about those late nights
- 32:56and 3:00 AM calls, especially on Sundays, but it does feel like
- 33:02there's so I want to address one thing tonnes of questions about
- 33:06LM's in the chat. I'm going to get to that.
- 33:08We'll have a whole LM session section about that.
- 33:11The Gen AI hype train will arrive.
- 33:15Don't you worry about a thing. But before we do, staying on
- 33:19this idea of just like complex systems and system design
- 33:26challenges in designing the systems, it is something that
- 33:30you were saying, Pavel, they don't work in isolation, right?
- 33:33So you have your model that's only one piece of the pie.
- 33:37And what are some of these challenges of integrating AI
- 33:42into the equipment, into the processes?
- 33:45When you've gone about doing that you, you mentioned before,
- 33:52maybe the model starts working really well, but everything else
- 33:57has almost been picking U the weight or it's been carrying the
- 34:03model. And so now when the model starts
- 34:05working better, things start to not work as well.
- 34:09And especially when you're dealing with, I feel like when
- 34:11you're dealing with things in real world, it's not bits and
- 34:15bytes, right? It is actual physical materials
- 34:20that you have to deal with. How do you think about some of
- 34:23these system challenges? I think the definitely one of
- 34:28the big challenges here is, or at least traditionally have,
- 34:32have been trust. Because if you have these
- 34:34systems that have been designed by engineers, by humans, you
- 34:39kind of kind of look at how you can look inside.
- 34:43You can understand this is how the decision is made.
- 34:46This is why it was made. Maybe now This is why it's
- 34:48failing. And I was saying, let's praise
- 34:50this little box with the eye. You better get like kind of
- 34:56better return on investment than just now saying, OK, I don't
- 34:59actually know what's going on. So you really have to kind of
- 35:02have very good reason why you are replacing it.
- 35:04And there are there are very good reasons why, why companies
- 35:07are doing this, but then you have to somehow get the trust
- 35:11back. And, and this is again like one
- 35:14question is the system design and the other one is just very,
- 35:17very thorough evaluation. And this is also what unit had
- 35:20mentioned. These are not things that
- 35:22typically happen overnight. Like you have to be very careful
- 35:25about how you set up the process.
- 35:27There is like a backup system typically that is you are not
- 35:29running it on one model, you are running it on multiple models.
- 35:33And when whenever there is a disagreement, you would also
- 35:36start flagging things and things like this.
- 35:40I do like one thing that you mentioned, Aniket, about how you
- 35:43have analysts that are looking at the performance too and
- 35:47you're seeing is it actually doing better than what our
- 35:51baseline is or what we had before.
- 35:54One question that came through is what are some of those KPI's
- 35:57and metrics are used to evaluate the success of if something is
- 36:03is going better than before? And this actually, I mean, of
- 36:07course I could see a couple of things which we get from like
- 36:10confusion. Resources are common, but you do
- 36:13have to actually have a human look through it and not just
- 36:16numbers because you are comparing the images.
- 36:20Of course there's no way to do all the images, but the ones
- 36:24with the less confidence may be the ones where we are having
- 36:27more issues. Which one is performing better
- 36:31and is it still performing good on the ones that we are not
- 36:34having issues? Because we can't just just
- 36:35because the model starts to perform better on let's say a
- 36:39new type of defect that we start started to see and we trained
- 36:43well on and but then starts to perform bad on the other ones.
- 36:48So we still have to make sure that the ones that were already
- 36:51good are still good and the new ones are, is it actually
- 36:56performing better? So there's a lot of manual work
- 36:58in this process other than the mathematical numbers that we get
- 37:04just because of how the industry is.
- 37:07We need to be sure we can't have just rely on the numbers.
- 37:12You're gonna wanna throw one over to you because there was a
- 37:15pretty hairy use case that you mentioned beforehand about this
- 37:21low latency use case. I think it was computer vision
- 37:25though. Latency.
- 37:27Now, would you say those are some of the hardest ones that
- 37:32you've had to deal with where you're trying to incorporate AI
- 37:35or ML into it? Or if not, which ones are some
- 37:39of the hairiest problems? Yeah, it's it's a time when this
- 37:42one's from an AI perspective, it's still computer vision.
- 37:45If you have a well trained model and it's not that much of a big
- 37:53deal. And the things you need to solve
- 37:56is how you eradicate transfer times to because you still have
- 38:01multiple players, you have a camera or a camera system, you
- 38:05have control system in place. How do you get and you have you
- 38:09need to execute your AI model somewhere as close as possible.
- 38:14So how you eliminate the time in between, you can get the
- 38:18individual components run very, very fast.
- 38:22It's just how you stitch it together.
- 38:24So often it's it's not the individual parts, it's how you
- 38:27stitch it together. But we have other problems where
- 38:33the pure challenge on the AI side is reaching dimensions and
- 38:40which which are right now if you would say with standard means
- 38:46that really solvable, you would hear the likes of NVIDIA saying,
- 38:51ohh, you couldn't use our super chips and we can bring
- 38:53lithography from days to minutes and hours.
- 38:58Yeah, but this is still often not the answer.
- 39:01It's just throwing more compute power on.
- 39:03It doesn't solve the actual problem on hand.
- 39:06And this brings us back to the mathematical role of problems
- 39:10solvable in ON or not. And so this is same where it
- 39:17comes really into it. And then we also encountering
- 39:20scenarios where the algorithms we have today available just
- 39:26don't cut it or they cannot replicate the concept.
- 39:31For example, what what I always have to smile is when the
- 39:35generator if you I people speak about how they intend to teach
- 39:40reasoning to and generative model and they're quoting Yachin
- 39:44of Fort is the answer to reasoning.
- 39:47When I see it, I said, look just by changing from an programmatic
- 39:53programming language into a natural language programming
- 39:56language. This has nothing to do with
- 40:00teaching a system gene fault or reasoning.
- 40:03It's just you provide instructions in a different
- 40:07format, but it's still providing precise.
- 40:12Instructions to assist, and you can see that you can very easily
- 40:19circumvent or prove them wrong by making some tiny alterations.
- 40:24And when there's the classic examples in in computer vision,
- 40:28then you change one single pixel in an image of a cat.
- 40:33And for the human eye, it's still 100% a cat.
- 40:37But for the computer vision, it's already a doc.
- 40:40And so handling these things where you have ultra minor
- 40:46changes in assuring that still if you use human perception, you
- 40:52can easily determine, yeah, that's still a cat.
- 40:54Doesn't matter if that bloody pixel is changed or not.
- 40:57It's for it's for systems massive problems.
- 41:01And it they always make you think like him.
- 41:05And I know there's a lot of marketing going around say,
- 41:09yeah, yeah, no problem, you have it under control.
- 41:12And, and we're seeing it in some very simple programming,
- 41:18generative programming examples. It's by all means not simple
- 41:23because following the human, the human understands the process
- 41:27and then writes the code to fit the process.
- 41:32Making a machine understand the process is unsolved territory.
- 41:38Today we're trying to break it down, making the chunks small
- 41:42enough. But look at Morgan's example of
- 41:45manufacturing a computer chip. It's 1700 steps which have to be
- 41:52synchronised and sequenced. Try to ask a GPT right metre
- 41:57control programme which synchronises the 700 steps you
- 42:02get is simply not working. And so this is the things where
- 42:08it gets really, really complex and where we reaching limits of
- 42:12machine comprehension. Now I think here again makes a
- 42:16lot of good points. From my perspective, I think
- 42:20it's about both the machine learning models, the
- 42:23foundational models and, and, and these large language models,
- 42:27large language vision models, They definitely have all kinds
- 42:33of problems, right? But the question is, can we as
- 42:37humans introduce enough inductive biases to find small
- 42:41but controlled domains to use them impact fully in the
- 42:45industrial, right? So it's almost as if you're
- 42:48working around this very rough tool that it's very powerful,
- 42:54but it's got all kinds of problems and you figure out a
- 42:56way. No, no, no, I can cut my thing
- 42:58by just doing this there. So today we are in that kind of
- 43:02a situation. We we bring in all these machine
- 43:05learning scientists that try to figure this out day in and day
- 43:08out by building systems and trying to figure out how to make
- 43:11these rough and ready things that on their demos they
- 43:18amazing, right? You can see a demo that just
- 43:20looks like ohh yeah. We saw world hunger yesterday.
- 43:23But the reality is very different.
- 43:25So I think, I think to Yorgen's point, there is a place where if
- 43:32we can build the right guardrails, we can still get a
- 43:34lot of value out of these things today, even though they're far
- 43:37from perfect. And that's what you were talking
- 43:40about, protecting against hallucinations and, and really
- 43:44finding a way to use it. So I think the current state is
- 43:47very clear. These things are highly
- 43:49unreliable. And if you want to use that, you
- 43:51better put a lot of guardrails and protection mechanisms in
- 43:54place. But but let's see how these
- 43:57things evolve. I think there's just a lot of
- 43:59science and engineering and hardware and compute getting
- 44:03thrown at it and, and, and a lot of smart people working across
- 44:07the globe. So yeah, let's see how this
- 44:10evolves. And our challenge, I think, is
- 44:12to stay on top of this. It's so insane, right?
- 44:15Then the number of new models, a number of new approaches, some
- 44:18good, some not so good, and both staying on top of them, but also
- 44:22the cost of staying on top of them.
- 44:24So very expensive, you know, and new multimodal models come out
- 44:27to figure out if something is an actual improvement or not for
- 44:31our use case, right? So it's an interesting world we
- 44:35live in, but we diverge away from manufacturing.
- 44:37But. That that's a great point that
- 44:40it's not just the cost of like the API calls, but the human
- 44:44cost of trying to spend time and figure out if it's worthwhile to
- 44:49put a team on this and implement it or at least mess around like
- 44:54Aniket was saying, do a POC with it and then see if they can
- 44:58graduate up to being in production.
- 45:00So there there's also there's a few other valid points that I
- 45:05wanted to call out here. In these complex systems, we're
- 45:08by no means at any point where we can say to an LM, OK, go
- 45:13figure out this whole very complex system and optimise each
- 45:18step. But Mohan, what I'm hearing from
- 45:20you is you're, you're saying if we can limit the scope as much
- 45:25as possible, then potentially we can optimise maybe one small
- 45:32step or half of a step or .5 or .3 of a step, that type of
- 45:38thing. So I I do like that idea.
- 45:41No, since we're on the topic and I think everyone in the chat has
- 45:46been asking for it, we should start to talk about LLM's and
- 45:50how you all are using them, if at all with and especially like
- 45:55I know there were some use cases that you had mentioned you were
- 45:59going about using them. Like what?
- 46:01What are you using if at all? Because I heard from my friend
- 46:08Paco the other day and he was talking about with a company
- 46:13that he was working with that was in the heavy industry.
- 46:17You would think that a lot of this predictive maintenance and
- 46:22the stuff that we've been talking about for the last 45
- 46:24minutes would be the highest ROI and the most important things
- 46:29that they can do with AI. And he said that when he went
- 46:34into the company, the biggest ROI and the lowest hanging fruit
- 46:40was just digitising PDFs and letting those be searchable,
- 46:47which is debatable if it's even AI at all.
- 46:51And so I, I would love to hear if you all have found that on
- 46:55the admin side, there's been areas to leverage AI use cases.
- 47:02So men obviously by order of our CEO, we had to look into LM's
- 47:08and how we can apply them and believe the obvious use cases
- 47:14where it actually the lowest value is in automating simple
- 47:19things like we get lots of emails, customer service gets
- 47:24lots of emails, going through the emails and creating an
- 47:28appropriate response which would have otherwise taken days or
- 47:31weeks before it has been processed through The xx hens
- 47:36who have to take a look on it. So there is use cases around
- 47:41chatbot automated answer generation where these things
- 47:44working extremely well because it's what they are designed for.
- 47:49The very nice create very nice textural answers when we start
- 47:55to bring it into the industrial world than you see like when
- 48:02everybody was thinking coding, creating code with L&M's should
- 48:07be a super easy thing to do. And then in the first instance
- 48:12for your, let's say, private coding examples, it works fairly
- 48:18well. But when you lift it on an
- 48:21industrial scale where repeatability, maintainability,
- 48:26consistency in language plays a role, than this whole story
- 48:32becomes very, very different because the nature of the auto
- 48:35encoder specifically in combination with Rag is he tends
- 48:40to continuously change his answers.
- 48:42So if if I ask you 10 times over time, the question right me a 10
- 48:48second wait loop, my likelihood that I get 10 different answers
- 48:52for the same task is extremely high.
- 48:56Now translate this, you have field service engineers, service
- 48:59engineers going in the field. They're using these tools and
- 49:06when these guys are not dumb, they know how to fix things.
- 49:08So if if he asks the tool tell me how to fix it and he asks it
- 49:12five times and he get 5 different answers and it brings
- 49:16it back to the point of trust bubbles that earlier if you give
- 49:19him five different answers will he is the guy going to trust the
- 49:22system or will you just stop using it?
- 49:25As I'm, I'm reverting back to what I have in my head because
- 49:28this is more reliable and more repeatable than following a
- 49:31system which tells me every 5 minutes something just in the
- 49:35way how the probabilistic mathematics fall.
- 49:38It guides it through differently, and so ESS charming
- 49:43as it is on first glance, using these spins on industrial scale,
- 49:49you tap into the probabilistic nature of the algorithms and
- 49:54therefore the likelihood that they give you for the same
- 49:57question multiple answers is very high.
- 50:00And this creates a huge issue because many as I said in in if
- 50:06you control process control systems PLC, you don't, you
- 50:11don't wanna have 10 peel C's with 100 different programmes
- 50:16for the same task. So that's what we are finding.
- 50:19And this is where we are now have to be literally do open
- 50:23heart surgery on the GPS to again contain to Mohan's words,
- 50:30put the guardrails in place that it's not going to go ballistic.
- 50:34Yeah. One question that was coming
- 50:36through the chat that I think a lot of people have is, are you
- 50:40fine tuning directly? What?
- 50:42What if so like what does that look like?
- 50:44It's, I imagine it's not just hitting an open AI API.
- 50:50So maybe breakdown the use case Mohan for us and then tell us if
- 50:53you are using an in production or if you're like you're going a
- 50:57little bit more like it's fun, it might work, but it's very
- 51:03dangerous. Yeah, I think, I think honestly
- 51:06you're gonna covered most of the important points here, but I'll
- 51:09just add something from my perspective.
- 51:14So whenever there's a copilot use case, it can be quite
- 51:19useful, which means that think of a copilot use case where it's
- 51:24helping you to do some tasks and it's A and you as a human is
- 51:29other master and you control the, you know what that end
- 51:33result is. So a lot of copilot use cases
- 51:36are seeing a lot of traction from GPS where hallucinations
- 51:39are caught by the human. And yet for a majority of the
- 51:43time, if it gets it right, then it's useful to the humans to go
- 51:47faster, to do more things, etcetera, in terms of actually
- 51:53deploying this in production. So we've got think of the world
- 51:56as the development world where we actually develop things in
- 52:00house before we go to production.
- 52:02So improving the pace of development and internal
- 52:05processes, I think they're very much in place today in terms of
- 52:09production, you know, building the right guardrails becomes,
- 52:14becomes a bit challenging to do it right off the bat.
- 52:20So it's, you're not quite sure. Suddenly a new LLM pops up,
- 52:25suddenly a new multimode model pops up.
- 52:27Suddenly you want to try that and then it's just as Wild West.
- 52:30So we've got some limited sort of production deployment type
- 52:35situations, but we are very careful because for us, trust is
- 52:39important. If we deploy something and and
- 52:42and it leads to some errors and some obvious hallucinations,
- 52:46then our customers are just highly unlikely to trust
- 52:49anything right then. Then you, you break trust, not
- 52:52for that particular stake, you break trust across the whole,
- 52:56whole product. So, so production wise, I think
- 53:01it's in our world. And right now I work in
- 53:04Insurtech. It's not.
- 53:07We are, we are there in bits and pieces where we can control the
- 53:11destiny very well, but we're not there as a standalone multimodal
- 53:16model or an LLM that's that's deployed in production.
- 53:19So since you brought up the topic of trust, I think there is
- 53:23an interesting question around trust between traditional mill
- 53:32versus trust between looms And have you seen Pavel in your
- 53:37experiences people just finding that with traditional ML since
- 53:42we've had more time to stress test it, there is a bit more
- 53:46trust there and you see things going out into production.
- 53:50What is what is your take on like the trust with one versus
- 53:55the other? Maybe I would just say like and
- 53:59because the LMS are new hype, like everybody knows about them,
- 54:02but this is not a new problem. Like we had the same problems
- 54:06five years ago. Because it does boil down to
- 54:09there are people using systems And if these systems have been
- 54:12consistent answers as you're going mentioned, because like I
- 54:16turned on my light or like the camera shifts like 1° to the
- 54:20left and suddenly it's not a defect.
- 54:22I will just not be very happy with the system and and that
- 54:26user is at the end. And maybe all the people who
- 54:29have Teslas also seen this like there is a software update
- 54:32suddenly like think work differently than before and I
- 54:35have to adjust. And I think with LM, they're
- 54:38just more pervasive because it's, it's people have more
- 54:41access to it. And the main thing I would add
- 54:44here is it's, it's a challenge of kind of building even the
- 54:47framework to evaluate the systems in the 1st place.
- 54:51And kind of coming from academic background, this is also
- 54:54something we, we are very interested in.
- 54:57And we would be also open sourcing and kind of initiative
- 55:01around this to actually build the framework where anyone can
- 55:05go and kind of check the model against kind of set of kind of
- 55:10properties and benchmarks that these models should satisfy.
- 55:14You're you're gonna open source that did I just hear you say
- 55:16that? Yes.
- 55:17Alright, we will make sure that everybody finds out on you do
- 55:21that is super cool to hear. I feel like we are hitting up on
- 55:25time so I want to be very conscientious that you all are
- 55:27awesome for doing this and thank you so much.
- 55:31There's been some incredible questions that we didn't get to
- 55:34all of them. So forgive me for not being able
- 55:36to ask them all. If anyone is listening in the
- 55:40chat and wants to continue the conversations with any of these
- 55:44incredible panellists, hit them up on LinkedIn.
- 55:48I think they're all, they're all active on there.
- 55:51So it would be great to continue the conversation.
- 55:53And as I mentioned at the beginning, feel free to join us
- 55:59in California for the AI Q Con, AKA the AI Quality Con Friends.
- 56:06Would love to see you there folks.
- 56:09This has been a lot of fun and hopefully you learned some stuff
- 56:14and you have more questions when you're thinking about AI in
- 56:18industry. Let's keep the conversation
- 56:22going. I'll see you all later.
- 56:23A huge thank you to everyone of you for coming on here and
- 56:27talking with me and enlightening me on these very important
- 56:31topics.