Latest / Agentic Conversations (formally mlops.community) / Cracking the Black Box: Real-Time Neuron Monitoring & Causality Traces
Transcript
- 0:00But yeah, so I don't see, I don't see the regulations as a
- 0:03barrier. They're like, if you get it
- 0:05right, they're there reflecting what good practice should be
- 0:07anyway. So deal, you know, think of it
- 0:09like that. These are the expectations of,
- 0:11of, of, of people of good systems that integrate with
- 0:15society. So we get that right then we
- 0:16should, we should we'll be be able to move, move along a bit
- 0:19quicker. Let's talk.
- 0:27Regulations, compliance, we're going to make it fun today and
- 0:32hopefully help all of the engineers listening understand
- 0:37what is important. You have the hidden sexiness
- 0:41that lies under the surface of compliance and regulations.
- 0:47Yes, so be careful listener. You may fall in love after this
- 0:51episode. Why and what have you been
- 0:56focusing on in the regulatory space recently, Mike?
- 1:03We've been pretty much solely focused on the beast that is the
- 1:08EUAI Act, which is a piece of horizontal legislation.
- 1:13So it's kind of supposed to be applied across the whole, you
- 1:16know, the whole territory of the EU, regardless of what business
- 1:19you're in or what your activities aren't.
- 1:21And it's kind of the tip of the iceberg because the the ACT is
- 1:26like a piece of legislation. So it lays down, this is what
- 1:30you got to do. Basically all these are these
- 1:32are things we expect you to achieve the standards really to
- 1:36not get into any trouble. But that sent me the start of
- 1:39the story because kind of hidden away in dark rooms around Europe
- 1:44for many years of being lots of experts who've been working on
- 1:47what's known as harmonised standards.
- 1:50So this is the kind of implementation layer under the
- 1:53act and there are thousands of people that have been involved
- 1:57with that process over many years.
- 1:59And they've been writing these these standards, which actually
- 2:02are full of real gold. They tell you if you need to
- 2:05comply with like the most stringent rules are in a system
- 2:09that's supposed to be biased, unbiased and fair.
- 2:13OK. That's everybody acknowledges
- 2:14that's somewhere that you'd like to get to, but what does it
- 2:18really mean in practice? So you've got all of these,
- 2:20these underlying documents that give you a real kind of paint by
- 2:24numbers nearly kind of walkthrough of what you should
- 2:27focus on in terms of your systems and your models and the
- 2:31sorts of things which would, if you can, if you can match the
- 2:35standards, you've got a presumption of conformity with
- 2:38the ACT. So our product basically is
- 2:40reverse engineered against the EU Act, but actually it's
- 2:43reverse engineered against this whole raft of standards,
- 2:46harmonize standards which sit below it.
- 2:49OK. So if I'm understanding this
- 2:50correctly, you're saying there's the EU Act, which is very fuzzy
- 2:55and interpretable by lawyers. It can go many different ways,
- 3:00but there's also a group of folks across Europe that are
- 3:05trying to say here's like numerical and kind of tangible
- 3:11ways that we can put this legislation into practice and we
- 3:17can cover our ass. So that if for some reason it
- 3:22seems like our AI is acting bias, we can say, well, we
- 3:29followed all of these steps that we were told are best practices.
- 3:36That's right. Yeah.
- 3:37So you've got this, this phrase called presumption of conformity
- 3:40in this world, which is if you do, if you have actually, if you
- 3:44can demonstrate that you've followed the standards, then you
- 3:47will automatically be complying with the act.
- 3:49So all the risk teams and big businesses, they, you know, get
- 3:52very hot under the collar about the risk of all this stuff like
- 3:56regulatory fines and reputational damage and all that
- 3:58kind of stuff. So in terms of how insider ML
- 4:02OPS team or a dev team who are putting this stuff, trying to
- 4:05get it into production for business value, you've really
- 4:08got a road map. As long as you can follow the
- 4:11instructions in the standards, then you don't have to stray
- 4:15from that. Essentially, if you follow it,
- 4:17then your risk team would be happy because you've got this
- 4:19presumption of conformity. There's still some
- 4:21interpretation from those standards.
- 4:23It's not it won't apply clearly in for every single case that
- 4:27they could possibly be. So you have to sort of interpret
- 4:29it and say, all right, well, this is my reading of how it
- 4:32would apply in our particular case.
- 4:34So there's still work to do with the risk team and to kind of
- 4:36define exactly what these testing evals and sort of
- 4:41monitoring systems need to do. But the gap's pretty small.
- 4:45So, you know, most people who are familiar with the space
- 4:48would be able to, you know, spec out what those tests should be
- 4:52to to make sure that you conform.
- 4:54But yeah, so it's kind of like a, I think it's just like gold
- 4:58really. Nobody really knows about that.
- 4:59You just find these standards. I mean, one of the things is, is
- 5:01that they are generally you got to buy them.
- 5:05So if they're not like they're not like freely available
- 5:07because they get produced by standards organisations like the
- 5:09ISO or here in the UK by BSI British Standards Institute,
- 5:13which it kind of they license out all of their their no hack
- 5:17in these in these documents. And you mentioned words like
- 5:23evals and observability. How does that way that they
- 5:29interpret observability differ from like me in my head, we're
- 5:35just observing the systems and we're seeing is the traffic
- 5:40going through, is it not? Are we predicting things?
- 5:44Are we not? How are the predictions coming?
- 5:47Are they drifting etcetera, etcetera.
- 5:50Like what kind of observability do you think about too?
- 5:56It's more about a kid. So I think there's like the the
- 5:59starting point for most engineers who are doing
- 6:03observation tasks are we want to make sure our systems work well
- 6:08all the time and we're aware of the failure modes and we kind of
- 6:13patch for that and we work that in and try and fix it.
- 6:15Whereas from the perspective of complying with regulatory
- 6:21demands like the EUAI acts and there's loads of others in
- 6:24different places, they've got different flavours, they tend to
- 6:26all have the same types of themes in them.
- 6:29They're coming at it purely from a risk perspective.
- 6:32So the idea there would be right.
- 6:35We've done an audit of our inventory, our all our AI
- 6:39systems and the models inside them.
- 6:41And we compared that to, let's say you're deploying a system,
- 6:44it's the EU. We then check it to see whether
- 6:47any of those systems are in fact classified as high risk because
- 6:52there's there's prohibited systems, not supposed to use
- 6:54them at all. Then you've got the high risk
- 6:55ones and then you've got literally everything else and
- 6:57everything else kind of gets a pass.
- 6:59It's like, well, if it works, it's fine.
- 7:01It's not going to hurt anyone. So the ones in the high risk
- 7:03category tend to link to whether you can be discriminated against
- 7:10your basic human rights. So you you're not getting a loan
- 7:13because you're, you know, you're this type of person rather than
- 7:16that type of person. OK, so that would fall foul of
- 7:18it. Or if it's a system which is
- 7:20already needs some kind of conformity from a Product Safety
- 7:25angle. So if it's AAI system that's in
- 7:28a car, in a lift, in a toy, in some machinery, then
- 7:32automatically it's fast as high risk because it already needs to
- 7:35prove it's safe without an AI element.
- 7:38With an AI element, you've got to then apply the same kind of
- 7:41stringent rules to it. So all of the thinking around
- 7:45observations then becomes what's risky here and therefore what
- 7:50have we got to track? So if you take the example of
- 7:53like a, a loan application that might be biased to some
- 7:57applicants, the risk is, is that you are potentially going to cut
- 8:02across that human, you know, those, those human values
- 8:06measures. So then you identify, OK, we've
- 8:09got a system here which is going to be caught by the ACT.
- 8:12It's going to be caught by the ACT because it's potentially
- 8:14could be unfair to certain people.
- 8:16So then you've got to build your monitoring tests and evals
- 8:19around trying to catch that. So from a, you know, the, the
- 8:23status quo is, does it work well, IE we don't, we don't want
- 8:27a bias model. But in this case, the demands of
- 8:30making sure that it isn't biased go up several notches so that
- 8:33you'd have to kind of engineer to a much higher level of
- 8:35granularity. And on that particular point,
- 8:39our kind of our secret source with our technology is really
- 8:41around in mechanistic interpretability.
- 8:45We're getting inside models when they're running inference time
- 8:47and we're pulling out those causal chains of decisions so we
- 8:51can have a kind of ground truth of what's actually running in
- 8:54the model when it spits out an output to say, oh, you, you get
- 8:57a loan or you don't. And then we build tooling,
- 9:00observation and and testing tooling on the back of those
- 9:02rule rule traces. So this may be a bit naive, but
- 9:09if I am sending everything to a model provider like Anthropic or
- 9:17Open AI, am I not offloading the risk on to them?
- 9:23Or is it like, Oh no, they're a black box system and should be
- 9:27treated like so and so it is much more dangerous if I have
- 9:32them as part of my flow. You inherit whatever their
- 9:38regulatory risks are, but you have the disadvantage that you
- 9:43can't see it. Sure, they'll produce model cars
- 9:46for all you know, for all their models.
- 9:47And you can do some due diligence around that and do
- 9:50some testing and some drag race type testing with these kind of
- 9:54metrics, but they are only input output type tests.
- 9:58So, you know, that's pretty sophisticated that world, but it
- 10:01won't necessarily comply with the the highest demands of the
- 10:05EUAI Act. So in those cases, the risk
- 10:07assessment around that when you're planning that system
- 10:10might be OK. We don't want to inherit a
- 10:14closed commercial model where we can't get access to the
- 10:17internals. So we use an open weights model,
- 10:20OK. So it, you know, you've then got
- 10:22a kind of performance decision to make.
- 10:24If we get an open weights model, we have to make sure that it's
- 10:27going to do the job well. And there's often a trade off
- 10:29between those things. What's the risk of the system
- 10:33falling foul of the compliance and the regulations and what are
- 10:36the downsides to all of that versus what's the performance
- 10:39hit we might take if we have to use an open weights model?
- 10:43But you know, there's a, there's more and more people that are
- 10:45kind of considering there because a gives you more insight
- 10:49into the internal operations of the model, get more control over
- 10:52it. And you can, you can get more,
- 10:56more flexibility around fine tuning sort of rag based
- 10:59systems, that sort of thing. So it for LLNS in very high
- 11:03stakes situations like defence, financial services, healthcare,
- 11:07there's a kind of a move, I wouldn't say wholesale, but
- 11:10there's a growing movement to take the open weights models
- 11:15because they've got this level of control and you can then
- 11:19prove to the regulators what you're doing with them to a
- 11:22much, much higher, much higher level of granularity.
- 11:26And so I remember back in the day when we used to call it
- 11:30machine learning, there were some folks that would come on
- 11:35the podcast that were in the financial services world and
- 11:39they would talk about how every time they released a new model,
- 11:45there was a whole rigmarole process that they had to go
- 11:49through to get it approved. And then there were things that
- 11:52they could do once a model was approved and it was able to go
- 11:56out into production, but like if they needed to retrain it or
- 12:02things like that. But I'm wondering if and how
- 12:07that world has changed since the advent of LLMS. Not a lot for
- 12:14financial services. That's my my understanding.
- 12:17I mean, we've got 2 target markets, financial services and
- 12:20defence and we're having early conversations with clients with
- 12:24in both of those sectors the in the UK.
- 12:29So I can speak more more specifically around the
- 12:31situation in the UK. There is has been a tendency to
- 12:40lean on and use more linear systems like gradient, gradient
- 12:44boosted models, random forests and that kind of thing.
- 12:47And they and they've become very sophisticated at doing things
- 12:50like fraud and credit decisioning and that kind of
- 12:52stuff. But they are inherently more
- 12:55explainable and interpretable because they are not, you know,
- 13:00opaque models. So they're more linear.
- 13:02So they so basically there's been sort of a branch in that
- 13:05decision way back to say, OK, well, the compliance tells us
- 13:09that we have to be able to stand behind the decisions to a
- 13:12certain level of understanding. So this whole class of models,
- 13:15like all big learning is off the books because it's just won't
- 13:18ever give us that. So they've gone this other way
- 13:21historically and have now very good and have made those models
- 13:23very, very, very sophisticated and do their job very well.
- 13:27But even. Yeah, but there's now kind of a,
- 13:31I think a, a drive to sort of say, OK, well, we're, we're
- 13:36missing out here. We're we're, we're leaving
- 13:38things on the table, leaving value on the table.
- 13:40If we had a better model, then, you know, we should be using it.
- 13:43So let's try and make that work. And the regulations in that
- 13:47space there say sound, sound like a bit of a geek now.
- 13:51SS1/23, which is the PRA Bank of England Prudential Regulatory
- 13:58Authority, we've basically got a whole piece around explain
- 14:01ability and they're saying lime sharp input output kind of
- 14:05feature relevance type metrics aren't really good enough.
- 14:09You're getting 'cause really, you know, get a variety of
- 14:12correlation type insights, but you're not getting causality.
- 14:15So you don't know where and when these things might what's going
- 14:18on inside. So yeah.
- 14:20And because of that same argument around using language
- 14:23models, I think I mean, they, they are used, but I think
- 14:25people, the risk teams are very cautious about at where they're
- 14:29being deployed back office stuff, passing a load of PDFs
- 14:32and doing some structured output into some of the part of the
- 14:35system kind of OK, you know, it's just kind of just admin
- 14:39type processing. But if it gets close to the
- 14:42regulatory sensitive areas like customers and bias fairness,
- 14:46that sort of thing, then then these they get more highly
- 14:50scrutinized. Yeah, I was fascinated in the
- 14:56financial sector back when LLMS came out.
- 15:02I spoke to one of the lead machine learning engineers at
- 15:06Angel List, and he was telling me about how he was using them.
- 15:12And he came on the podcast and he was like, dude, LLMS are
- 15:16amazing. They're much better than any of
- 15:18the models that I built myself. And it's way faster to get into
- 15:23production because I just have to hit API versus me figuring
- 15:27out the whole platform side of things.
- 15:30But I was kind of looking at him like, oh, so are you just like,
- 15:36how are you dealing with the compliance side of this?
- 15:39Because I know that it's in the financial sector and it it does
- 15:44feel like that is dangerous area.
- 15:48You're kind of like walking on thin ice the whole time.
- 15:50Yeah, Yeah. If it's a driver, I think a big
- 15:52driver is this sort of race dynamics is I guess boards and
- 15:57people who make investment, investment decisions around IT.
- 16:01They are in a race aren't they against the next guy and the
- 16:04next girl. You know, we're kind of if you
- 16:06were overly prudent and you just didn't invest R&D into this, you
- 16:11might end up it could be a company killer.
- 16:13So the boards are really kind of, I think quite scared around
- 16:17we need to be in the race, but we need to do it in such a
- 16:19measured way that we're very aware of what the risks are and
- 16:25the compliance risks and just the business risks are falling
- 16:28behind. So they're, I mean, they've been
- 16:29recruiting, I think quite a lot, especially in the UKA lot of a
- 16:31lot of financial services businesses have been beefing up
- 16:34their kind of responsible AIAI ethics, AI committee type staff.
- 16:39Because historically it's not necessarily a kind of horizontal
- 16:44decision team. You know, you've got your risk
- 16:48team, business team, your IT or devs team or whatever.
- 16:53And the AI challenge in that sector kind of sits across all
- 16:56those things. They've kind of been recruiting
- 16:58to form forums which can get the expertise into shaping what do
- 17:04we invest in, what risks are we happy to take and what kind of
- 17:08goals are we setting and the progress against those gold
- 17:11verse, you know, vis A vis their competition.
- 17:17All right, y'all real quick, let me talk to you about hyperbolic
- 17:20GPU Cloud. It delivers NVIDIA H1 hundreds
- 17:23at $1.69 per hour and H2 hundreds at $1.99 per hour.
- 17:32And this is with no sales calls, no long term commitments or.
- 17:36Hidden fees. You can spin up one GPU or scale
- 17:39to thousands in minutes with VMS, bare metal clusters and
- 17:44high speed networking. You've also got attachable
- 17:47storage and you only pay for what you use.
- 17:51Save up to 75% less than legacy providers.
- 17:55And Oh yeah, by the way, you need steady production grade
- 17:58inference. Well, you can choose dedicated
- 18:01model hosting with single tenant GPUs and predictable performance
- 18:07without running your own hardware.
- 18:10Try now at app dot hyperbolic dot AI.
- 18:15Let's get back into this show. Yeah.
- 18:17Talk to me a little bit more about this stakeholder alignment
- 18:20and how you've been seeing technology help in that regard,
- 18:27because it does feel like what you're trying to do is help
- 18:32bridge a people issue with tech in a way or just make people's
- 18:38lives easier to communicate against certain standards.
- 18:44Yeah, it's probably the biggest challenge we have I think is
- 18:47because there isn't an established sales process
- 18:51because it's not really in what we're selling is not really in a
- 18:54category yet. So we're trills trying to work
- 18:57out who are all of those key decision makers and how do we
- 19:02corral them into a decision making group.
- 19:05It's not easy. And I think the main, the main
- 19:07challenge is historically the business leads in the, you know,
- 19:12inside a business, there is a business need.
- 19:14We want to invest in an A system to make it happen.
- 19:21And they would deal with the tech team and then scope it out
- 19:23and they build it. And then later or at some point
- 19:26later, the risk team would come along GRC team and start to, you
- 19:31know, be seen as the fund police basically and say, oh, no, you
- 19:35know, prove me to, you know, prove this model against these
- 19:38metrics. And then the scope of the
- 19:39project could shrink or there's a load of tech debt that builds
- 19:43up because you've got to start wrapping everything in loads of
- 19:45additional tests. And if you change any component.
- 19:49So they, I don't think historically the cultures
- 19:51between those teams have been like, let's just go down the pub
- 19:53for a couple of beers at the end of the day.
- 19:54They kind of, that's my take on it anyway.
- 19:57So we're trying to, we're trying to work, how do we, how do we
- 19:59get into that? How do we get into that world
- 20:02and make these people love each other dearly?
- 20:06So what, what can we give both, both parties something that is
- 20:09helpful to the other? That's basically been a
- 20:11strategy. So like for the, for the, for
- 20:14the tech teams, we're trying to produce materials which explain
- 20:18in absolute definite detail you will need eventually to make a
- 20:22system of this type. Comply with the following and
- 20:26this is exactly the walkthrough in the regulations, which means
- 20:30why you've got to do that. That's the kind of the, the
- 20:32justification for including that particular thing in your testing
- 20:36regime or in the product, basically, or, or in the service
- 20:39and then tell them you, whilst it's all very boring, you're
- 20:44going to, when you show that to your risk team, they're just
- 20:47going to throw their arms around you because the problem that the
- 20:50wristing got is exactly the other way around.
- 20:52They come into the and they don't really understand the
- 20:55nuance of the tech, but they do understand what they systems
- 20:58have to achieve. So we kind of give the other
- 21:01party the secret sauce, basically all, all the keys to
- 21:04the Kingdom. And then when they both meet up,
- 21:07then they've got this shared ground, even though they might
- 21:10not even kind of internalise all the details, they're armed with
- 21:15the right information to say, well, that we put these two
- 21:18things together and then we're going to get where we need to
- 21:19go. Because I think the, the
- 21:23frustration with building stuff that doesn't get into production
- 21:27is like nearly taken as taken for granted.
- 21:30Oh yeah, we're working on something and we got X amount of
- 21:33projects on and this many are in prototype and this many got this
- 21:36far and this many got this far. And it's like a, can we can we
- 21:39actually get it through and push it to production?
- 21:42So everything which doesn't make it, which is still got a valid
- 21:45business case is, you know, some cost, isn't it?
- 21:49It's apart from what you might learn all the way.
- 21:51It's like kind of waste and redundancy.
- 21:54So if you can get rid of as much of that as possible and get your
- 21:57prototype to kind of production conversion rates, you know,
- 22:00higher, then everybody's going to be happy because you're, you
- 22:03know, as somebody, as builders, you see your stuff, you build,
- 22:06go out in the world and do good things and you don't have it
- 22:09knocked down or rescoped as the project goes along because of
- 22:13this kind of ugly spiky compliance issue that keeps
- 22:18keeps coming in. Well, it does feel like those
- 22:22two sides of the business or these different stakeholders are
- 22:26almost like at odds with each other and there's different
- 22:30incentives there and different goals.
- 22:32So they're going to have that friction, but I would love if
- 22:41you can walk me through since I've never been in one of these
- 22:47companies that is in a highly regulated space and putting AI
- 22:52into production in a company like that.
- 22:56What is it that the technical team now needs to do?
- 23:01I know you mentioned like having a certain set of tests
- 23:05understand it. I I'm guessing there's like
- 23:08special kinds of documentation that hit criteria, but can you
- 23:12give me like a concrete use case and then concrete needs that
- 23:16they would need to perform? Yeah, OK.
- 23:20We've got a a project which we're scoping at the moment in
- 23:25the defence sector, which is for an autonomous surface vessel.
- 23:33OK. So it's going to it's like sub
- 23:35the classes under 24 metres. So these are kind of near shore
- 23:40doing survey, you know, whatever they're doing, they're out
- 23:43there, there's nobody out on board and they've got to not hit
- 23:45anything. That's the main thing they've
- 23:46got not hit. So to scope that project on day
- 23:51one, we have to understand what the domain of operation is.
- 23:59Once you spec that you then spec what are the prevailing
- 24:04regulations that this system it once it's been deployed, needs
- 24:09to comply with, of which there are several.
- 24:12There's the Maritime and Coast Guards regulations, which have
- 24:15got AI sections in them. There's the MO DS internal
- 24:20version of that. There's rules of the sea.
- 24:23There's lots of. So all of these things are, if
- 24:26there were people on that boat or on that vessel, they would
- 24:29have to comply with all these regulations.
- 24:30You take the people off and there there's it's autonomous,
- 24:33it still has to comply with all of these things.
- 24:36So sensing visibility. To help me understand.
- 24:41Because it's if there were people on the boat, they would
- 24:45need to wear life preservers and they would need to have horns
- 24:50that they honk. But if it's autonomous, what is
- 24:55it on the level of compliance that they need to be doing
- 25:00besides just not hit something? I, I'm not, I can't, I'm trying
- 25:05to connect those dots, you know, like the code needs to comply
- 25:10with all of these different regulatory bodies.
- 25:13Idea of what autonomous code should look like.
- 25:17No, it's more about what are the, what is the, what are the
- 25:22capabilities of the vessel, what's it trying to do.
- 25:24So then you specify it's sort of domain of operations.
- 25:27So this when we deploy this autonomous vessel, we are going
- 25:31to follow operate within a certain area.
- 25:34We are going to report our status back to, you know, some
- 25:38reporting station every X whatever seconds, minutes,
- 25:41whatever, we are going to alert other sea faring vessels to our
- 25:47presence. We are going to scan through the
- 25:50following sensors, radar, LIDAR, sonar, we're going to ingest GPS
- 25:58data of other vessels. So it kind of you, you, you work
- 26:01out what it's going to do. So it's very much just like
- 26:03speccing any other system. It just happens to be the system
- 26:05is a boat on the sea. And then once you know what your
- 26:09domain of operation is, you then isolate off the subparts of that
- 26:12system. So you say right for the bit
- 26:14which is going to be tracking the GPS of other vessels, like
- 26:19what what does that sub component of the system do?
- 26:23What are the autonomous bits and how do those autonomous bits
- 26:26relate to the prevailing regulations?
- 26:30So as doing all of that scoping work, you need to do that right
- 26:33at the beginning is because it literally leads the rest of the
- 26:36project in this case because it's such a sort of safety and
- 26:40security focused project. So it's really that kind of
- 26:43mindset is that you have to do all of that scoping and
- 26:47translation of the regulations and then you map what your
- 26:52automated systems are doing. Now some of this stuff is all,
- 26:54you know, you've got lots of electronics, electronics on
- 26:56boats anyway. So there's these things are
- 26:58covered by safety cases and safety tests and certifications
- 27:02and inspections. So you're just mapping that kind
- 27:05of world onto what autonomous or AI or a gentic type
- 27:11functionality within that. But that's the kind of world
- 27:14compared to like build something.
- 27:16Is it a good model? Does it?
- 27:17Is it great at predicting AB or C and then ship it and just
- 27:20check it works all the time. When you get into these high
- 27:23risk scenarios. It literally is a wholesale
- 27:25change mindset change that you don't build a damn thing for.
- 27:30At least the first third is all scoping checking compliance work
- 27:34in kind of scoping to fit the to the rules?
- 27:37Yeah, because you could end up burning a whole lot of money if
- 27:42you don't go that way. Yeah.
- 27:46And I suppose our our business is predicated on, on the fact
- 27:50that whilst there aren't that many systems which get caught by
- 27:54the EUAI Act at the moment, it is the gold standard because
- 27:57it's people have been working on it since the late teens.
- 28:00There's thousands of experts that have kind of fed into this,
- 28:02this harmonised standards library that sits below it, that
- 28:07even if you're not caught by it, if you are taking a belt and
- 28:12kind of a gold, yeah, copper bottomed approach.
- 28:14Like we, we don't want unknown unknowns cropping up in our risk
- 28:20as a business. So we want to ship the most
- 28:23responsible and trustworthy system we possibly can.
- 28:27Then you would need to hit these sorts of standards anyway, in
- 28:30which case it then starts to make the working practice more
- 28:34like I just explained, loads of scope and loads of checking.
- 28:37So our business is trying to take that pain away.
- 28:38Basically, it's like we can plug into all these different rules
- 28:41and regulations and then the metrics can map quickly to all
- 28:46of these, all of these very these specifics.
- 28:48And then when you're building, you know that you're going to be
- 28:51compliant to these higher standards without all that pain.
- 28:55Cool. Talk to me more about the
- 28:57product then, is it? I come to the product and say
- 29:00I'm building an autonomous boat and what do I need to know about
- 29:08or how? Like how do I interface with the
- 29:12product itself so that it can give me the right regulation and
- 29:16map to the standards I need to hit on?
- 29:20OK, so the the 1st it's easy is the integration.
- 29:24We give you an SDK and that hooks into your deep learning
- 29:30model. So you've got to basically have
- 29:32your own open weights model that you can get that you basically
- 29:36develop yourself or you've got access to an open weights model.
- 29:39So the SDK has got some boiler plate in there that just hooks
- 29:41in when you run that model. We then pull out the inference
- 29:45data, so that kind of raw vector style data, which then depends
- 29:51on the deployment. So lots of these higher risk or
- 29:54high risk scenarios, they don't want, you know, they want
- 29:57complete, they want their hands completely around the data
- 30:02governance piece. So no date they want any, any
- 30:05data missing. So our product road map, we
- 30:07don't do this at the moment, but it's on the road map is it's
- 30:09basically completely SAS deployable solution.
- 30:12You put it in your world on your client turn, integrate it with
- 30:16your models. The data doesn't go anywhere.
- 30:18It just is processed by our kit in your world.
- 30:20But at the moment we're not there.
- 30:22So the inference data comes to us with that rule inference
- 30:28data. We then do a couple of data,
- 30:30proprietary data transformations which get it.
- 30:33Basically it's data, it's a information minimisation is the
- 30:36first step. So we squeeze out all of the
- 30:38noise and hang on to the signal. So every time the model runs, we
- 30:42get an inference log for that particular output, store it.
- 30:46We then do this information minimisation and then we end up
- 30:51with a trace, basically a causality trace of what's
- 30:54happened inside. And that's basically a
- 30:57representation of what's happened inside that deep
- 30:59learning model when it ran on that particular time.
- 31:03You can then run it, you know, in your test 10,000 times.
- 31:06Then we'll end up with 10,000 cases.
- 31:07And then we start to do post processing on those to analyse
- 31:11them, to work out against certain metrics what is good and
- 31:17what is bad. So you would end up the goal for
- 31:19a user is to define like a golden set in this this system,
- 31:24when we build it, normal and expected use looks like this.
- 31:28So inputs like this, we expect the outputs to look like this.
- 31:32That's gone through, you know, other types of like accuracy
- 31:35testing you might have done. And once you're happy with that,
- 31:37then you'd run a load of test cases.
- 31:39We then you hook our kit in, we drag out the data and then we do
- 31:43different analysis over the top to find out whether they are
- 31:47robust, accurate, unbiased, whether the transparency
- 31:52standards are there, that kind of thing.
- 31:53So it depends what what is the specific metric that we're
- 31:58testing against basically. And then that becomes your
- 32:05basically you end up with an in profile set and an out profile
- 32:07set. So normal use look at the trace.
- 32:11Fine, this one's fine because it's in profile.
- 32:14It's great. Let it go next one comes through
- 32:16right. There's something wrong here.
- 32:17What's that? Oh, injection for a open weights
- 32:20LLM, There was something weird with the input that meant that
- 32:23the internal activations in the model just were squiffy.
- 32:28And then we can classify what squiffy looks like for certain
- 32:31things. And then we can say, oh, that
- 32:32looks like it's a prompt injection.
- 32:34So we can hold the process at that point.
- 32:37So in a live deployment, we'd be able to gate that output because
- 32:41we say that red flag, there's some.
- 32:44Something up here because it's. Our profile, yeah.
- 32:47So that's the. Kind of data.
- 32:48Bit and then we've got a SAS front end platform which does
- 32:53dashboarding basically, you know, load up your models,
- 32:56configure your tests and then report on them in, you know, in
- 33:01in graphical format and hang on to all the source logs.
- 33:05So the that's how it works. And then your question was about
- 33:08how do you tune that to the specific needs of various
- 33:12regulations. We're building it to fit with
- 33:15all of those requirements for the EUAI Act and the difference
- 33:19between those and let's say NIST, which is the American AI
- 33:23risk management framework. It's more, it's more in that
- 33:27case, it's not the law. It's like recommended best
- 33:29practice, but there's so much crossover because they've had
- 33:33the same people work on what are the principles here, accuracy,
- 33:36safety, security, They all crop up in the same, in the same kind
- 33:39of ways that it's only a small tweak very often to to make you
- 33:43know what, what is robustness in the through the eyes of the EUAI
- 33:47Act? What is robustness through the
- 33:49eyes of the NIST AIR FM? They're very, very similar.
- 33:53So little tweaks. So these are kind of like a
- 33:55layer that sit on top. Yeah.
- 33:58So. Basically, to summarise,
- 33:59there's. Modules like if you want to
- 34:01comply with like, you know, the the FCA in the UK as a financial
- 34:06regulator, they got a whole sort of suite of your system must do
- 34:10this and must not do this. Basically we would build
- 34:13building modules so that they, as a user, you just choose what
- 34:16you need and you just plug them in.
- 34:19Yeah. What?
- 34:20What I didn't? Understand is how you have all
- 34:23of this rich data and then you have this compliance or these
- 34:29modules as you were calling them.
- 34:31How do you map those two together or how do you connect
- 34:35those two worlds? OK, so the.
- 34:39Thing around like the bias as an example, the.
- 34:43Law I'll paraphrase, but. The law basically says when you
- 34:48do a risk assessment of your system, if you think that, so we
- 34:52go back to the lone example that your system could be biased
- 34:56against your basic human rights, which is you're being
- 34:58discriminated of because of your sex, gender, race, whatever.
- 35:02Then that would then that system would fall foul of the the the
- 35:06bias requirements in the EUAI Act.
- 35:10In practice, what it means is you have to build a system which
- 35:13can identify when bias might be a creep into your system.
- 35:18So how'd you do that? Well, if you're using a deep
- 35:21learning model as a classifier in some part of your system that
- 35:26can be tested. So this is a separate part, you
- 35:28know, we can do this or the client can do it.
- 35:30You could use a fairly standard assessment to say, OK, is this
- 35:35potentially biased? Are there anything is a cause
- 35:38for concern around this model as it's operating at the moment?
- 35:41If it's yes, then our systems can then go and do this
- 35:44internals analysis, which then can report any event, any
- 35:48individual output from the model which is out of scope.
- 35:52So you have your in scope. These are all normal and
- 35:54unbiased because you've you've got a golden set which we can
- 35:57kind of get a kind of a like a, a thumbprint, you know what I
- 36:02mean? It's like a fingerprint of that.
- 36:04So we know the profile of what what normal looks like.
- 36:06And then if we have that model run and do a loan application
- 36:09decision where compared to what the normal profile looks like
- 36:16around these features, yeah, we then have something which is out
- 36:20of scope that indicates that that model has now fallen foul.
- 36:24So you have to have this logging at that kind of granular level
- 36:27because you'll risk management of that system says we must be
- 36:32aware to be compliant with the app.
- 36:34We must be aware every and any time that the model could be
- 36:38biased. So the only way to do that is
- 36:40actually to get that information at inference time and make this
- 36:43calculation against whether it is potential, you know, whether
- 36:46it's in scope or out of scope. And if it's out of scope, then
- 36:50if that output goes as far as the customer, you have to save
- 36:54all that stuff. And because you never know when
- 36:56it's wrong or could be wrong, you've got to save the logs for
- 36:59every time that system runs in production.
- 37:03Yeah, every time. For every model.
- 37:04Because you need that audibility right to.
- 37:06Backtrack. Yeah, exactly.
- 37:09So that order. Having that chain of custody all
- 37:12the way back down to the internal activations inside the
- 37:14model is necessary because you will have internal audit, which
- 37:18is like your third line of defence in financial services.
- 37:20This example who are like, they have nothing to do essentially
- 37:24with the operations of the business.
- 37:25They walk in internal police, right, We're going to test your
- 37:27systems. They need to get access to this
- 37:30stuff. External regulators need it for
- 37:33either doing investigations or you report this kind of stuff to
- 37:36them. Usually in aggregate or, and
- 37:40probably most pertinently, any end user who's a citizen who
- 37:45gets an output of one of these systems has got the cause for
- 37:48contestability and redress. So if they think I'm not sure
- 37:52this is right, I feel something's wrong here.
- 37:54I'd like to ask a question. So the comparison with GDPR
- 37:59would be a subject access request.
- 38:02Send me. All the data you have on me.
- 38:03Because, you know, I just don't like what you've got.
- 38:06And then you can have, you can ask them to remove it.
- 38:09You've got the right of removal under GDPR, so in the.
- 38:13EU AI actually got. The same thing you can contest
- 38:16it and to contest it, the only way to contest it is to get all
- 38:19the information and have it presented back to you in an
- 38:21explainable format. So it's no good as a as a bank
- 38:25who's denied me a loan, sending me a load of logs with vector,
- 38:30vector matrices or whatever and go there you are.
- 38:32That's why that's why we could give you like you have to then
- 38:36build systems which explain in that particular case, what were
- 38:41the features in the model, what was their particular, you know,
- 38:44characteristics of them as the, the input data, basically why it
- 38:48was right or wrong. So you have to build our load of
- 38:50explainability kit. There's no, no good just having
- 38:52the raw information. You have to then take it to this
- 38:55explain ability level. Yeah, so the login, the login is
- 38:59like. The is where it all starts.
- 39:01You have to be able to grab all, grab everything, otherwise you
- 39:03can do everything else. And because you never know when
- 39:05something might be wrong, you've got to save it all.
- 39:09Are you creating? Different data sets or more data
- 39:15or less data depending on the use case or that module that
- 39:18you're talking about. Are you logging different
- 39:21things? Are you doing it differently?
- 39:24Or is it that you just capture all the data you possibly can
- 39:28and then depending on the module you're applying it to one or the
- 39:31other so you can do so as? Long as you, as long as we save
- 39:34those traces, like you get the raw inference data, that's kind
- 39:37of step one. Then we do this data
- 39:39transformation into our own proprietary kind of data
- 39:42structures. Then we save those.
- 39:44So we don't need to do the next bit if the client doesn't want
- 39:48that. If they say all we want to do
- 39:49here is have a complete system of record.
- 39:52So every time the model runs, we just want to save it.
- 39:53And we what we know that if we get a complaint from a customer
- 39:57or a regulator puts a request in to see XYZ, we can then pull
- 40:01that from storage. Then we can run the analysis
- 40:05over it. Yeah.
- 40:06So they don't necessarily have to run all of this stuff in real
- 40:08time as like a monitoring thing. It can be saved, stored.
- 40:11I mean, this is a decision for the client in line with their
- 40:14risk management approach. Really.
- 40:16So yeah, you could like the dumb braces approaches that you would
- 40:18have everything monitored live. With reporting on all of these
- 40:22sensitive areas live and gating the answers live, that's a huge
- 40:26overhead and big engineering challenge to to make that work
- 40:31or you take a risk based approach.
- 40:34Why is it a huge? Engineering overhead.
- 40:38Just well, you might have models that are running, I don't know,
- 40:41hundreds of 1000 times a day. So the amount of data which has
- 40:44been collected and then processed.
- 40:46No, that would, that would be great for us because it's a huge
- 40:48amount of work and therefore a very, very big contract.
- 40:51So, but it's not, it's not intermantable.
- 40:54I think, you know, you have to optimize quite a lot of the data
- 40:57stuff because otherwise it would just become overwhelming quite
- 41:00quickly. So that's part of our of our
- 41:03value proposition, I guess is to be able to make it more
- 41:05manageable than it would be if you tried to build something
- 41:07like that yourself. Dude this is fascinating to.
- 41:13Me because it is a whole world that I do not play in at all.
- 41:17And I know living in Europe I just hear people complaining
- 41:22about the EUAI Act because back. In the day it's.
- 41:27Like, oh, we're not going to open source models to Europe.
- 41:29That's just a pain in our ass. And so we didn't get, I think
- 41:32like Llama 3 when it came out, it wasn't open sourced in Europe
- 41:36or something. And so I.
- 41:42Have seen. That side of it, I haven't seen
- 41:46that in depth side of it that you're talking to me about right
- 41:50now, which I feel like is the. Assumption, you know, I'm coming
- 41:53for like a free marketeer and I always think like, you know, put
- 41:55regulations anywhere that's just a pain and you want to just let
- 41:58the market decide. But I kind of think that because
- 42:01this technology, this current wave AI has is hit like society
- 42:07and and and has become a very immediate thing that they think
- 42:11about it. It's like the socio technical
- 42:13thing, you know, it's not just technology and it's not just
- 42:15society. These two things are kind of
- 42:17blending together quite tightly and quite quickly that in that
- 42:20space, it's probably it the regulations are just reflecting
- 42:24or they should just reflect what?
- 42:27Everybody wants, right? I don't want to be in
- 42:31interacting with a system which is going to be difficult to
- 42:34understand and could be unfair to me or could disadvantage me.
- 42:38Or if I wanted to ask why I got an answer from it, it was unable
- 42:42to do that. I just think it's common sense
- 42:44that whether you call it regulations or whether you say
- 42:48this is just the expectations of stakeholders like, you know, the
- 42:52users and the systems owners and the companies and all the rest
- 42:55of it, then we should aspire to be able to make these things
- 42:58work like deterministic software systems.
- 43:00Like it's really hard because they're not nondeterministic and
- 43:04you will live in a world of probabilities really.
- 43:06But we should be able to not shy away from that as a challenge as
- 43:10what we're doing is why our company exists.
- 43:12We're trying to attack that black box issue and try and make
- 43:14it as transparent and explainable and as kind of
- 43:17deterministic as possible so that if you have this trust,
- 43:21that's then. Kind of accepted.
- 43:24Like, oh, we can. Prove things to everybody.
- 43:26Then the adoption rates for this technology speed up and the
- 43:30compounds. What we might be in danger of
- 43:33now is like having all this promise and all this investment,
- 43:36but because you can't cross this trust bridge, we're all
- 43:40everybody's on one side being a little bit cautious about it.
- 43:43And then you don't get the the kind of widespread adoption and
- 43:46then you can't compare the benefits, which you know, should
- 43:49be amazing for the, you know, medical research and you know,
- 43:51all the, all the big problems of the world could be attacked, not
- 43:54men necessarily solved quickly, but you can make some great
- 43:56progress on lots of them. But you're not going to if the
- 43:59you can't bring everybody with you.
- 44:00So you need this trust to get in there somehow.
- 44:03And you know, what we do is only a tiny part of that.
- 44:05There's lots of other things around AI literacy and other
- 44:08policies like that that that that will help.
- 44:11But yeah, so I don't. See, I don't.
- 44:12See the regulations as a barrier.
- 44:15They're like, if you get it right, they're there reflecting
- 44:18what good practice should be anyway.
- 44:19So deal, you know, think of it like that.
- 44:21These are the expectations of, of, of people of good systems
- 44:25that integrate with society. So we get that right then we
- 44:27should, we should all be be able to move up, moving on a bit
- 44:31quicker. Yeah, we can't.
- 44:33Have no hacks building our systems around here.
- 44:38No shortcuts, right? No.
- 44:42Well, dude, this has been great. Is there anything that you
- 44:46wanted to talk about that I didn't ask you about yet?
- 44:50No, I've really enjoyed that. I think that was like other
- 44:52right kind of level in terms of, you know, we're we're deeply
- 44:55technical. So my Co founder, the 10 year AI
- 44:58research career PhD solely focused on AI trust, reasoning,
- 45:04explain ability. So he's kind of been in deep,
- 45:06deep, deep in that world for a for a long time.
- 45:10So we could have done more kind of technical bits, But really I
- 45:13wanted to have the opportunity to kind of fly the flag for why
- 45:16regulations and compliance is a good thing.
- 45:20And that that it's, it's basically a force, force
- 45:24multiplier for good systems. If done right, it should be seen
- 45:28as like kind of a wall to try and hop over or dig underneath
- 45:30or get right on the sides. OK, real quick if you happen to.
- 45:46Find yourself in the South Bay on March 3rd.
- 45:49We're going to be taking over the Computer History Museum for
- 45:53our Coding Agents conference. That's right, we're organizing.
- 45:57Another. Conference despite me telling
- 45:59myself so many times after we did our AI quality conference
- 46:03that I would never do another conference because of the stress
- 46:05that it caused. Somehow I seem to have broken my
- 46:08vows because the pole was too strong.
- 46:12I. Have been.
- 46:14Falling in love with all of these new ways to code and use
- 46:19coding agents so I wanted to organize a place where we can
- 46:22learn from the best in the game at how they are getting the most
- 46:28out of them. Some of the notable speakers
- 46:30that we have already announced are Sid, friend of the Pod and
- 46:34Co creator of Claude Code, Harrison Chase, the founder of
- 46:37Lang Chain, Thomas Reamers, the founder of Graphite who just
- 46:40sold it to Cursor, good old Dex, the founder of Human Layer and
- 46:46the dude who popularized the term context engineering and
- 46:50harness engineering. And last but not least, someone
- 46:53I consider a very close friend, Mikhail Erik is going to be
- 46:57doing a workshop. He's a Stanford lecturer and
- 47:00actually he was a past Co host of this here podcast that you're
- 47:04listening to, you know, before he got all famous and stuff.
- 47:09Come join us. It's intimate by design.
- 47:11There's only 450 people that we're going to let in to the
- 47:15room to try and keep the signal as high as possible.
- 47:18We've got early bird pricing happening until February 1st, so
- 47:23I'll see you there.