# Fraud Prevention in the Age of Agentic Commerce

## Abstract

Join a Stripe engineering lead for an inside look at how Stripe’s AI‑powered fraud prevention solution, Radar, is built with NVIDIA hardware and software to detect and block fraudulent transactions at massive scale, including emerging risks and new fraud vectors from agentic commerce to free trial abuse prevention. Trained on patterns derived from more than $1.4 trillion in annual payment volume, Radar uses advanced ML techniques to surface high‑confidence signals that reduced fraud rates for its users by 17% year-over-year.

## AI Summary

- The presenter discussed the current fraud landscape and the challenges it poses, particularly with the rise of AI in fraud and the evolution of payment methods.
- The team at Stripe leveraged advanced machine learning models, including wide and deep networks and ResNeXt-inspired architectures, to improve fraud detection and handle complex fraud patterns.
- The presenter highlighted the importance of feature engineering and the use of a hybrid system called Shepard, which uses Flink for streaming and Spark for batch aggregations, to compute and ingest features efficiently.
- The team adopted mixed precision training, vectorization, and CUDA graphs to significantly speed up model training and improve GPU utilization.
- The Agentic Commerce Protocol (ACP) was introduced as a standard to support the emerging agent-driven commerce, ensuring structured metadata and agent reputation are captured for fraud detection.
- The presenter mentioned ongoing efforts to expand Radar's capabilities to the entire payment lifecycle, including sign-up and post-payment stages, to intercept fraud earlier and more effectively.

## Transcript

**[00:00:09 – 00:00:10]** My name is Akash Jaswal.

**[00:00:11 – 00:00:14]** I am really excited to be talking to you in the very interesting

**[00:00:14 – 00:00:18]** topic of fraud prevention in the age of agentic commerce.

**[00:00:18 – 00:00:20]** So thanks for being here.

**[00:00:20 – 00:00:21]** Brief background about me.

**[00:00:21 – 00:00:23]** Pahal just introduced me as well.

**[00:00:23 – 00:00:26]** I am an ML engineering manager in the payment

**[00:00:26 – 00:00:28]** intelligence team at Stripe.

**[00:00:28 – 00:00:32]** And my team builds and ships machine learning systems and models

**[00:00:32 – 00:00:38]** that power Stripe Radar, which is a real-time fraud detection product.

**[00:00:38 – 00:00:41]** So excited to be here.

**[00:00:41 – 00:00:44]** We have a packed agenda, so I'll start by setting the

**[00:00:44 – 00:00:48]** stage on giving you an overview of what the current fraud landscape

**[00:00:48 – 00:00:51]** looks like, why it's a hard problem that's getting dramatically

**[00:00:51 – 00:00:56]** harder, then talk about what's under the hood with Stripe Radar.

**[00:00:56 – 00:00:59]** And then this is an NVIDIA conference, so we will also

**[00:00:59 – 00:01:03]** spend a lot of time talking about how we leverage NVIDIA's really

**[00:01:03 – 00:01:07]** good software and hardware stack to accelerate some of our workloads.

**[00:01:07 – 00:01:10]** And then finally, at the start of the show, we will talk about

**[00:01:10 – 00:01:13]** how the world evolves with agentic commerce and what we are doing

**[00:01:13 – 00:01:17]** to adapt to this new paradigm.

**[00:01:17 – 00:01:22]** With that, you know, there are millions of businesses

**[00:01:22 – 00:01:25]** that use Stripe across the world.

**[00:01:25 – 00:01:29]** And what that gives us is what no single merchant can

**[00:01:29 – 00:01:33]** build by themselves, which is a network level view of fraud.

**[00:01:33 – 00:01:37]** So, if there is a card that appears in a fraudulent transaction

**[00:01:38 – 00:01:42]** at one merchant, Radar sees it and instantly almost every other

**[00:01:42 – 00:01:45]** merchant on the Stripe network can benefit from that signal.

**[00:01:45 – 00:01:49]** So, that is the scale and power of a shared network effect.

**[00:01:50 – 00:01:52]** You know, the other, the proof is in the pudding.

**[00:01:52 – 00:01:55]** You know, businesses that use and leverage Stripe, Radar,

**[00:01:55 – 00:01:59]** see an average of 38% reduction in their fraud rates.

**[00:01:59 – 00:02:03]** You know, last year alone, we blocked close to $112

**[00:02:03 – 00:02:04]** billion in fraud.

**[00:02:05 – 00:02:07]** And, you know, fraud in general is one of the most

**[00:02:08 – 00:02:10]** Adversarial ML problems are there.

**[00:02:11 – 00:02:13]** We have to constantly adapt because fraudsters, they're

**[00:02:13 – 00:02:14]** just people like us.

**[00:02:15 – 00:02:17]** They're really good at their jobs, and they force us to

**[00:02:17 – 00:02:19]** be better at ours as well.

**[00:02:19 – 00:02:23]** So we put a lot of emphasis on being ahead and iterating

**[00:02:23 – 00:02:27]** quickly because at the end of the day, Stripe's network

**[00:02:27 – 00:02:31]** data and our ability to iterate and evolve our ML systems and

**[00:02:31 – 00:02:36]** adapt to changing fraud patterns quickly is what gives us the edge.

**[00:02:36 – 00:02:39]** You know, we're not just keeping pace with the problem.

**[00:02:39 – 00:02:42]** We are really bending the curve in the other direction, right?

**[00:02:42 – 00:02:46]** So here are some of the companies that rely on Stripe Radar

**[00:02:46 – 00:02:48]** for their product purposes.

**[00:02:48 – 00:02:52]** AI companies, e-commerce, SaaS platforms, on-demand,

**[00:02:52 – 00:02:56]** you name it, and they use Stripe and Stripe Radar.

**[00:02:57 – 00:03:02]** And not just that, they rely on us and trust us with their business to

**[00:03:02 – 00:03:07]** do fraud prevention in real time, at scale, and also ensuring that

**[00:03:07 – 00:03:11]** good customers are not hindered by any friction that might be created.

**[00:03:12 – 00:03:16]** Let's talk about what's changing with the landscape,

**[00:03:16 – 00:03:18]** because the threat landscape isn't standing still.

**[00:03:18 – 00:03:20]** It is constantly evolving.

**[00:03:20 – 00:03:22]** Thank you for watching! There are three major trends that

**[00:03:22 – 00:03:24]** we are observing.

**[00:03:24 – 00:03:28]** First, it's quite evident, AI is supercharging fraud.

**[00:03:29 – 00:03:32]** What this looks like is that it's so easy these days to spin up

**[00:03:32 – 00:03:37]** many multiple accounts to just take advantage of, say, free trials.

**[00:03:37 – 00:03:41]** Or you rake up tons of compute bills without the intention

**[00:03:41 – 00:03:43]** of actually paying those off.

**[00:03:43 – 00:03:45]** Or it's so easy to also build websites and skim

**[00:03:45 – 00:03:47]** cards virtually online.

**[00:03:47 – 00:03:50]** So the same tools that are making all of us in this

**[00:03:50 – 00:03:53]** room more productive are also making fraudsters more

**[00:03:53 – 00:03:54]** productive and creative.

**[00:03:54 – 00:03:58]** And the barrier to entry has just lowered massively.

**[00:03:58 – 00:04:00]** And this is the first trend we're observing.

**[00:04:00 – 00:04:07]** Secondly, the payment methods are also evolving so quickly, right?

**[00:04:07 – 00:04:09]** Things like digital payments, crypto on

**[00:04:09 – 00:04:12]** ramps, buy now, pay later.

**[00:04:12 – 00:04:16]** These are growing at a staggering pace, I think 40% year over

**[00:04:16 – 00:04:18]** year at Stripe last year.

**[00:04:18 – 00:04:22]** What this does is that it creates new attack surfaces.

**[00:04:22 – 00:04:26]** With that, we have to, and each of these payment methods

**[00:04:26 – 00:04:28]** can be really complex.

**[00:04:28 – 00:04:29]** They have various settlement periods.

**[00:04:30 – 00:04:33]** The verification standards are quite different.

**[00:04:33 – 00:04:37]** So then our models have to constantly adapt and make sure that

**[00:04:37 – 00:04:43]** we are keeping up and safeguarding these new surfaces as they come on.

**[00:04:43 – 00:04:47]** The third thing, the third major trend that we're observing

**[00:04:47 – 00:04:49]** is that there is cost asymmetry.

**[00:04:49 – 00:04:53]** What that means is that even if a fraudster is able to,

**[00:04:53 – 00:04:57]** say, derive a dollar by scamming a business, the business actually

**[00:04:57 – 00:04:59]** ends up losing 6x more.

**[00:04:59 – 00:05:01]** Not just a dollar, but 6x more.

**[00:05:01 – 00:05:02]** What this means is that

**[00:05:02 – 00:05:05]** There's tons of overhead with, say, network fees

**[00:05:05 – 00:05:07]** or things like lost goods.

**[00:05:07 – 00:05:11]** So the actual cost to business is a lot higher, and businesses

**[00:05:11 – 00:05:14]** are feeling this pain, which is why we feel that we are in a really

**[00:05:14 – 00:05:19]** good spot to help the customers that rely on Stripe Radar.

**[00:05:19 – 00:05:22]** Now we've looked at what the threat landscape looks like.

**[00:05:22 – 00:05:24]** I hope you have a clear picture.

**[00:05:24 – 00:05:27]** Let's talk about how we fight it with Radar.

**[00:05:27 – 00:05:31]** You know, at a high level, there are three simple steps

**[00:05:31 – 00:05:32]** that Radar works under.

**[00:05:32 – 00:05:36]** Each time your payment gets created, we ingest and compute

**[00:05:36 – 00:05:42]** thousands of signals across device, behavioral analytics,

**[00:05:42 – 00:05:46]** even things like, what do you call, network-level features.

**[00:05:46 – 00:05:50]** Most critically, network-level features that are computed across.

**[00:05:50 – 00:05:53]** The entire Stripe payment volume.

**[00:05:53 – 00:05:58]** Because a payment that could look pretty normal in isolation with one

**[00:05:58 – 00:06:03]** merchant might start looking very suspicious when you see the same

**[00:06:03 – 00:06:08]** payment patterns across many other merchants in a fraudulent manner.

**[00:06:08 – 00:06:10]** Because at the end of the day, context is everything.

**[00:06:10 – 00:06:13]** Once we generate all these signals, obviously, they are

**[00:06:13 – 00:06:14]** fed into our models.

**[00:06:14 – 00:06:16]** We'll talk about what those models look like in a sec.

**[00:06:16 – 00:06:20]** But essentially, models are then producing a bunch of scores that

**[00:06:20 – 00:06:23]** end up in a decisioning system.

**[00:06:23 – 00:06:25]** Now, if there is one thing that I want you to take

**[00:06:25 – 00:06:27]** away from the slide.

**[00:06:27 – 00:06:30]** is the fact that the decision space is not binary.

**[00:06:30 – 00:06:36]** It's a spectrum where, depending on merchant risk appetite

**[00:06:36 – 00:06:40]** and their configuration, payment can either get auto-approved,

**[00:06:40 – 00:06:44]** or you might block it completely, or you might create some friction,

**[00:06:44 – 00:06:46]** have step-up interventions, and send it for 3D secure.

**[00:06:46 – 00:06:49]** So the whole spectrum

**[00:06:49 – 00:06:53]** This is a really complex decisioning space, and the

**[00:06:53 – 00:06:57]** best part is that merchants can configure this based

**[00:06:57 – 00:06:58]** on their risk appetite.

**[00:06:58 – 00:07:02]** Because at the end of the day, this all in concept sounds

**[00:07:02 – 00:07:06]** pretty simple, but it's extremely hard to get right at scale,

**[00:07:06 – 00:07:09]** and let's talk about why that is.

**[00:07:09 – 00:07:14]** This is an extremely oversimplified view of what the lifecycle

**[00:07:14 – 00:07:15]** of a payment looks like.

**[00:07:15 – 00:07:19]** Each time a payment gets created, Stripe

**[00:07:19 – 00:07:21]** is evaluating that with Radar.

**[00:07:21 – 00:07:23]** And essentially, Radar has multiple things.

**[00:07:23 – 00:07:24]** Like I said, it's a whole system.

**[00:07:24 – 00:07:28]** So obviously, it has both internal rules that we configure

**[00:07:28 – 00:07:29]** and also merchant rules.

**[00:07:29 – 00:07:34]** And of course, the core component is the actual ML model itself,

**[00:07:34 – 00:07:39]** which obviously sits on top of our really advanced feature

**[00:07:39 – 00:07:41]** computation platform, which I will talk about in a sec as well.

**[00:07:41 – 00:07:44]** But essentially, all of these components feed into Radar,

**[00:07:45 – 00:07:48]** which helps evaluate what we do with the payment.

**[00:07:48 – 00:07:51]** As you can see, as we make that decision, we either block it, or we

**[00:07:51 – 00:07:56]** say that, OK, we could allow it, or further raise step-up interventions

**[00:07:57 – 00:07:58]** and say that, OK, this payment.

**[00:07:58 – 00:08:01]** We still want to verify it in other ways, so we create

**[00:08:01 – 00:08:04]** some additional friction that you might have encountered while

**[00:08:04 – 00:08:09]** you're traveling or while you're making a really enormous payment

**[00:08:09 – 00:08:10]** that you haven't done before.

**[00:08:10 – 00:08:13]** So again, we have those interventions in place as well.

**[00:08:13 – 00:08:16]** And the one thing I want to highlight here that brings

**[00:08:16 – 00:08:19]** more complexity and the effort that we're putting in is that

**[00:08:19 – 00:08:21]** even after a payment is successful,

**[00:08:21 – 00:08:25]** Radar is still able to keep track of it, provide additional

**[00:08:25 – 00:08:28]** signals to the merchants as we learn more about the payment.

**[00:08:28 – 00:08:31]** Because even if, let's say, somebody has transacted, but

**[00:08:31 – 00:08:36]** we later, after the fact, find that this payment is highly, highly

**[00:08:36 – 00:08:38]** It can get disputed down the road.

**[00:08:38 – 00:08:41]** So we allow the merchants to also offer smart difference.

**[00:08:41 – 00:08:43]** That's also another nice product offering that we have here.

**[00:08:43 – 00:08:47]** But all in all, this is a simplified view, but the

**[00:08:47 – 00:08:51]** payment lifecycle is quite complex in general.

**[00:08:51 – 00:08:53]** Now let's switch gears a little bit.

**[00:08:53 – 00:08:55]** Now that you have some context, I want to talk about how we've

**[00:08:55 – 00:08:58]** evolved our ML models over time.

**[00:08:58 – 00:09:01]** You know, like, I think we have a lot of ML practitioners

**[00:09:01 – 00:09:04]** here in this room and most of you will agree that almost always,

**[00:09:05 – 00:09:09]** like, folks start with XGBoost and we did too, you know, because

**[00:09:09 – 00:09:11]** XGBoost is a workhorse, right?

**[00:09:11 – 00:09:16]** It can, it's easy, it's fast to train, it's highly

**[00:09:16 – 00:09:20]** interpretable and it gets you surprisingly far, right?

**[00:09:20 – 00:09:23]** It's a really strong baseline and we found that too.

**[00:09:23 – 00:09:27]** But there were two main issues and two specific limits in

**[00:09:27 – 00:09:30]** terms of ceiling that we ran into pretty quickly, especially

**[00:09:30 – 00:09:31]** in the fraud domain.

**[00:09:31 – 00:09:34]** First is feature interaction depth.

**[00:09:35 – 00:09:38]** So obviously, XGBoost kind of models, family of models,

**[00:09:38 – 00:09:41]** they're really good at capturing lower order interaction

**[00:09:41 – 00:09:45]** features and pairwise sort of interactions really well.

**[00:09:45 – 00:09:50]** But, you know, fraud signals and sophisticated fraud problems

**[00:09:50 – 00:09:54]** can involve way more higher order interactions, which, you

**[00:09:54 – 00:09:59]** know, trees are not as natural in capturing, unless you really have

**[00:09:59 – 00:10:02]** a tree of enormous depth, right?

**[00:10:02 – 00:10:04]** So you have to work around these things, they're not very

**[00:10:04 – 00:10:05]** natural in solving those problems.

**[00:10:05 – 00:10:10]** The second thing, you know, the main reason why XGBoost is not

**[00:10:10 – 00:10:13]** as well suited for such a problem is because, you know, they're

**[00:10:13 – 00:10:14]** really good at memorization.

**[00:10:14 – 00:10:15]** Thanks for watching!

**[00:10:15 – 00:10:19]** If you have really strong training data, XGBoost can

**[00:10:19 – 00:10:22]** learn those patterns really well and memorize those.

**[00:10:22 – 00:10:25]** But when it comes to fraud, it's really important for us to

**[00:10:25 – 00:10:31]** continuously evolve our models to also identify novel fraud patterns

**[00:10:31 – 00:10:32]** that haven't happened before.

**[00:10:32 – 00:10:35]** Because like I said, fraudsters are really good at their jobs.

**[00:10:35 – 00:10:39]** They are always trying to find seams within the systems.

**[00:10:39 – 00:10:42]** And XGBoost is not very well suited for that.

**[00:10:42 – 00:10:45]** So naturally, we moved into this architecture that I

**[00:10:45 – 00:10:46]** am describing here.

**[00:10:46 – 00:10:49]** This was also way back when, where we had a wide and a deep network.

**[00:10:49 – 00:10:53]** The wide network here is, again, responsible for the memorization

**[00:10:53 – 00:10:56]** component, where, let's say, you have things like known

**[00:10:56 – 00:10:58]** card sort of fingerprints, right?

**[00:10:58 – 00:11:00]** Do you want to? Capture those.

**[00:11:00 – 00:11:02]** So that is what the job of this subnetwork is.

**[00:11:02 – 00:11:06]** And obviously, you have the deep network, which obviously

**[00:11:06 – 00:11:08]** is a neural network.

**[00:11:08 – 00:11:09]** We'll talk about what that looks like in a sec.

**[00:11:09 – 00:11:14]** But again, its main job is to capture and allow, bring

**[00:11:14 – 00:11:19]** more generalization in the model to capture novel fraud patterns.

**[00:11:20 – 00:11:24]** Moving on, I want to talk about another minor revolution

**[00:11:24 – 00:11:26]** in our model's architecture.

**[00:11:26 – 00:11:28]** So this is not, obviously, identical to what we do.

**[00:11:28 – 00:11:32]** But here, our model architectures are inspired

**[00:11:32 – 00:11:34]** by ResNeXt kind of setups.

**[00:11:34 – 00:11:39]** The key idea behind the model architectures is the fact that

**[00:11:39 – 00:11:45]** there are those grouped branching subnetworks within the main model.

**[00:11:46 – 00:11:48]** Especially because if you think about models, there's

**[00:11:48 – 00:11:51]** a similar family of models also like mixture of expert models

**[00:11:51 – 00:11:55]** where you have various parts of the model that specialize in different

**[00:11:55 – 00:11:57]** aspects of your data and problem.

**[00:11:57 – 00:12:02]** Because this fits very well with fraud, especially because fraud

**[00:12:02 – 00:12:05]** is not a single problem.

**[00:12:05 – 00:12:08]** It has many different subsets of smaller problems, like, say,

**[00:12:08 – 00:12:11]** card testing or identity mismatch, or it could have things like

**[00:12:11 – 00:12:12]** account takeover, friendly fraud.

**[00:12:12 – 00:12:15]** It has a lot of different

**[00:12:15 – 00:12:20]** sub-problems that might have very unique signal profiles as well.

**[00:12:20 – 00:12:23]** So that kind of model architecture is very well suited for fraud.

**[00:12:23 – 00:12:26]** Especially because those can then learn different fraud

**[00:12:26 – 00:12:29]** topologies, you can then do interesting things like attention,

**[00:12:29 – 00:12:32]** learn the attention on top to sort of compute your final scores.

**[00:12:33 – 00:12:36]** But essentially what we do is that here again, such a setup

**[00:12:36 – 00:12:38]** works for two really good reasons.

**[00:12:38 – 00:12:40]** Firstly, there's a lot of the long-tail fraud that is

**[00:12:40 – 00:12:44]** very unique, and we are able to capture those nuances.

**[00:12:44 – 00:12:45]** The second thing is that, you know,

**[00:12:45 – 00:12:48]** This kind of a model architecture, we'll see shortly why, but

**[00:12:48 – 00:12:51]** it also maps really well to GPU parallelism as well.

**[00:12:51 – 00:12:55]** So with that, let's move on.

**[00:12:55 – 00:12:58]** You know, model, I've spoken about the model architectures,

**[00:12:58 – 00:13:02]** but we all know it here, that in practice, you know, model

**[00:13:02 – 00:13:04]** architectures only go so far.

**[00:13:04 – 00:13:07]** What really matters is how a model is only as good as

**[00:13:07 – 00:13:09]** the data you feed it.

**[00:13:09 – 00:13:13]** You know, especially at Stripe, right, we take feature engineering

**[00:13:13 – 00:13:14]** really seriously.

**[00:13:14 – 00:13:17]** For us, we treat it almost like a product metric in terms

**[00:13:17 – 00:13:19]** of how quickly we can iterate.

**[00:13:19 – 00:13:21]** Again, I touched upon this earlier as well, because when

**[00:13:21 – 00:13:25]** a fraud pattern emerges, that's when the clock starts ticking.

**[00:13:25 – 00:13:30]** Because in fraud, the cost of slow iteration is not just

**[00:13:30 – 00:13:31]** any abstract problem.

**[00:13:31 – 00:13:34]** It sort of corresponds to an actual dollar value that

**[00:13:34 – 00:13:36]** accrues with every passing day.

**[00:13:36 – 00:13:40]** So we just cannot afford to sort of slow down our iteration.

**[00:13:40 – 00:13:43]** And our feature exploration also happens in the same way.

**[00:13:43 – 00:13:47]** Each time a novel fraud attack is uncovered, that our models could

**[00:13:47 – 00:13:52]** not catch, we immediately work very closely with a team, a fraud

**[00:13:52 – 00:13:55]** specialist team, which obviously will eventually, we know that

**[00:13:55 – 00:13:56]** agents are getting good as well.

**[00:13:56 – 00:13:59]** But the fraud teams sort of really hypothesize and come

**[00:13:59 – 00:14:02]** up with features and say, OK, what we could have done differently,

**[00:14:02 – 00:14:04]** what our models did not see.

**[00:14:04 – 00:14:07]** And we then try to quickly iterate and create Feed these

**[00:14:07 – 00:14:10]** features, feed them in the model and benchmark.

**[00:14:10 – 00:14:13]** One pitfall that we've learned the hard way several times,

**[00:14:13 – 00:14:16]** I'm sure you all have run into this at some point as well, is

**[00:14:16 – 00:14:20]** that sometimes features tend to do really well in confined settings.

**[00:14:20 – 00:14:22]** You might do some smaller benchmark, and you see

**[00:14:22 – 00:14:25]** that this feature is really helpful to the model.

**[00:14:25 – 00:14:28]** But when you run a backtest at scale,

**[00:14:28 – 00:14:30]** You may not see the same performance.

**[00:14:30 – 00:14:34]** So we put in a lot of effort in really making our backtesting

**[00:14:34 – 00:14:38]** pipelines pristine to work on tons of data, billions

**[00:14:38 – 00:14:42]** of past transactions, just to make sure that we are promoting the best

**[00:14:42 – 00:14:44]** models to test on live traffic.

**[00:14:45 – 00:14:49]** And then, of course, when we test them online as well, we have strong

**[00:14:49 – 00:14:52]** criteria and metrics to make sure that we are only promoting models

**[00:14:53 – 00:14:57]** that are good for our customers and are not hampering the business.

**[00:14:57 – 00:15:00]** Because the best fraud model in the world is useless if

**[00:15:00 – 00:15:04]** it's hurting your best customers.

**[00:15:04 – 00:15:07]** Okay, so quickly talking about feature computation here as well.

**[00:15:07 – 00:15:09]** I touched upon this earlier. Our system is based,

**[00:15:09 – 00:15:11]** it's called Shepard.

**[00:15:11 – 00:15:15]** It's a hybrid system that uses Flink for streaming and

**[00:15:15 – 00:15:17]** Spark for batch aggregations.

**[00:15:17 – 00:15:19]** And it's also open source, by the way.

**[00:15:19 – 00:15:22]** We work very closely with our friends from Airbnb.

**[00:15:22 – 00:15:25]** And it's open source under the name of Cronon.

**[00:15:26 – 00:15:28]** So please look it up if you don't know it already.

**[00:15:28 – 00:15:30]** But it has a lot of great optimizations.

**[00:15:30 – 00:15:32]** One of them, those are like tile aggregations.

**[00:15:32 – 00:15:34]** Basically, what we do is, rather than computing the

**[00:15:34 – 00:15:38]** whole feature at once, the feature computation happens

**[00:15:38 – 00:15:41]** in the smaller tiles, which can then be composed during query time.

**[00:15:41 – 00:15:45]** So then that allows us to really have

**[00:15:45 – 00:15:50]** Extremely high scale, so 20,000 QPS at less than double-digit

**[00:15:50 – 00:15:51]** millisecond latency.

**[00:15:51 – 00:15:56]** So that's the scale at which our feature platform operates.

**[00:15:56 – 00:15:59]** And I think so far you should have gotten a really good

**[00:15:59 – 00:16:01]** view of what fraud looks like, what our models are, how we

**[00:16:01 – 00:16:02]** train them, how we build features.

**[00:16:02 – 00:16:05]** But now I think this is where the talk should start

**[00:16:05 – 00:16:06]** getting interesting, because we have a ton of context

**[00:16:07 – 00:16:08]** that is established already.

**[00:16:08 – 00:16:10]** So let's dive right in.

**[00:16:10 – 00:16:15]** You know, one thing we learned very quickly is that, as with

**[00:16:15 – 00:16:19]** every business, the volume of data grows at a rapid pace.

**[00:16:19 – 00:16:21]** And two things.

**[00:16:21 – 00:16:24]** We quickly realized that our model training infra

**[00:16:24 – 00:16:27]** and pipelines weren't able to keep up with that pace.

**[00:16:27 – 00:16:31]** And the fact that we also found a lot of empirical studies

**[00:16:31 – 00:16:35]** within our business that feeding more data to our models resulted

**[00:16:35 – 00:16:36]** in better models.

**[00:16:36 – 00:16:41]** So we were really motivated in improving and being able

**[00:16:41 – 00:16:42]** to scale our 10x data.

**[00:16:42 – 00:16:46]** Because what took hours before was now taking days.

**[00:16:46 – 00:16:48]** And that was not OK for us.

**[00:16:48 – 00:16:51]** So we attacked this problem on two angles.

**[00:16:51 – 00:16:53]** One is making training faster.

**[00:16:53 – 00:16:57]** Which is basically, how can you get more out of every single GPU cycle?

**[00:16:57 – 00:17:01]** How can you make every single training step faster?

**[00:17:01 – 00:17:03]** More throughput through the hardware.

**[00:17:03 – 00:17:05]** And second was improving orchestration.

**[00:17:05 – 00:17:08]** Which is everything that surrounds training, how can we still

**[00:17:08 – 00:17:10]** optimize that holistically?

**[00:17:10 – 00:17:13]** Because at the end of the day, what we care about is

**[00:17:13 – 00:17:17]** end-to-end optimization for our models and our pipelines.

**[00:17:17 – 00:17:19]** So that's what we spent a lot of effort doing.

**[00:17:19 – 00:17:21]** Talk about...

**[00:17:21 – 00:17:24]** Some very interesting aspects of both of these in the next

**[00:17:24 – 00:17:29]** coming slides, and how that had a compounding effect on how

**[00:17:29 – 00:17:31]** it transformed our pipeline to run.

**[00:17:31 – 00:17:34]** Scale 10x the data train on so much more data, but at

**[00:17:34 – 00:17:38]** the same cost and time.

**[00:17:38 – 00:17:45]** OK, first thing we did was we adopted mixed precision training.

**[00:17:45 – 00:17:48]** And here, again, we used PyTorch AMP.

**[00:17:48 – 00:17:52]** AMP is the automatic mixed precision training integration

**[00:17:52 – 00:17:52]** that PyTorch has.

**[00:17:53 – 00:17:56]** It sort of has a really cool integration and hooks

**[00:17:56 – 00:17:59]** up directly with CUDA Graphs and TensorFlow course.

**[00:17:59 – 00:18:03]** And, you know, I'm not a Tensor Core expert by any means,

**[00:18:03 – 00:18:06]** or this is not a Tensor Core deep dive, but I'm a big fan.

**[00:18:06 – 00:18:09]** You know, Tensor Cores, I think, first made their debut

**[00:18:09 – 00:18:11]** back in the Volta architecture.

**[00:18:11 – 00:18:12]** It was back in 2017.

**[00:18:13 – 00:18:16]** But our friends at NVIDIA have been really good at iterating

**[00:18:16 – 00:18:19]** and improving Tensor Cores with every generation of GPUs

**[00:18:19 – 00:18:21]** that they've launched since.

**[00:18:21 – 00:18:25]** I think even Blackwell has really cool optimizations that it's done.

**[00:18:25 – 00:18:27]** I think they also support FP4 right now.

**[00:18:27 – 00:18:30]** But, essentially, at a very high level, what a tensor

**[00:18:30 – 00:18:32]** core does is two things.

**[00:18:32 – 00:18:35]** It does matrix multiply and accumulate.

**[00:18:35 – 00:18:39]** And the best part is that it does matrix multiplication

**[00:18:39 – 00:18:42]** in a lower precision range, so we use FP16, and then

**[00:18:42 – 00:18:44]** accumulation happens in FP32.

**[00:18:44 – 00:18:49]** Now, why that matters is that FP32 accumulation seems to be

**[00:18:49 – 00:18:51]** really important for two reasons.

**[00:18:51 – 00:18:54]** One is to provide gradient stability while training,

**[00:18:54 – 00:18:58]** and the second is that it also matters a lot for model convergence

**[00:18:58 – 00:19:00]** as well, is what we observed.

**[00:19:00 – 00:19:04]** But all of that also integrates very nicely with CUDA graphs.

**[00:19:04 – 00:19:08]** Because here as well, with CUDA graphs, a lot of the

**[00:19:08 – 00:19:14]** operations within the graph, if they are static in nature,

**[00:19:14 – 00:19:18]** you are automatically wrapping them up in CUDA graphs, which

**[00:19:18 – 00:19:21]** have really cool benefits that I'll talk about in a sec as well.

**[00:19:21 – 00:19:23]** There's no replay overhead between CPU and GPU.

**[00:19:23 – 00:19:26]** There's no memory access that you have to repeat over time.

**[00:19:26 – 00:19:27]** And it's a really nice streamlined process.

**[00:19:27 – 00:19:30]** So all these three things hook very nicely together,

**[00:19:30 – 00:19:35]** which is PyTorch, AMP, with Tensor Cores and with CUDA graphs.

**[00:19:35 – 00:19:38]** And the best part is that this gave us a ton of acceleration

**[00:19:38 – 00:19:43]** in compute, but also saved massive amounts of memory, GPU

**[00:19:43 – 00:19:45]** memory as well, so we can fit more.

**[00:19:45 – 00:19:47]** And have better throughput.

**[00:19:47 – 00:19:50]** And the best part is that we tested this extensively

**[00:19:50 – 00:19:52]** online on live traffic.

**[00:19:52 – 00:19:56]** And we observed that it had no real impact on our model performance

**[00:19:56 – 00:19:59]** degradation, which I think is the biggest win that we could have here

**[00:19:59 – 00:20:03]** by using mixed precision training.

**[00:20:03 – 00:20:07]** OK, the next thing we did was vectorization.

**[00:20:07 – 00:20:11]** This sounds pretty novel and naive, but obviously I talked

**[00:20:11 – 00:20:15]** about how our model architectures have multiple branches.

**[00:20:15 – 00:20:19]** And like many others, we started with the naive implementation.

**[00:20:19 – 00:20:23]** Which means that we were actually looping in Python code and running

**[00:20:23 – 00:20:25]** the forward pass sequentially.

**[00:20:25 – 00:20:28]** And what that does is that it creates a ton of overhead

**[00:20:28 – 00:20:32]** you cannot effectively capitalize on GPU parallelism.

**[00:20:32 – 00:20:34]** And there's multiple calls.

**[00:20:34 – 00:20:39]** Because every single branch is doing its own kernel call as well.

**[00:20:39 – 00:20:42]** So again, that is highly naive in nature.

**[00:20:42 – 00:20:47]** But obviously, we then leverage the Torch BMM

**[00:20:47 – 00:20:51]** package, which is basically the batch matrix multiplication.

**[00:20:51 – 00:20:55]** And what this does, essentially, is that it is able to compute

**[00:20:55 – 00:20:59]** all these branches as one single large operation that

**[00:20:59 – 00:21:01]** is parallelized across GPU cores.

**[00:21:01 – 00:21:06]** And also, it directly integrates with NVIDIA Kublas.

**[00:21:06 – 00:21:10]** And basically, Kublas, if you don't know, it's NVIDIA's linear algebra

**[00:21:10 – 00:21:12]** library that is highly optimized.

**[00:21:12 – 00:21:15]** And it basically distributes the workload across the different

**[00:21:15 – 00:21:16]** GPU-available cores.

**[00:21:16 – 00:21:20]** And what this essentially did was that rather than having

**[00:21:20 – 00:21:23]** n sequential kernel calls, you just have one.

**[00:21:23 – 00:21:26]** And that, again, gave us a really good speedup.

**[00:21:26 – 00:21:27]** We were able to have a high throughput.

**[00:21:27 – 00:21:30]** And again, it was roughly 15% higher throughput just

**[00:21:30 – 00:21:35]** by refactoring our code to be vectorized end to end.

**[00:21:35 – 00:21:38]** Which is also like a good thing and the good part is that,

**[00:21:38 – 00:21:40]** you know, this learning can scale to other family of models as well

**[00:21:40 – 00:21:45]** that have branches like so mixture of experts or you have transformers

**[00:21:45 – 00:21:48]** uses it like extensively multi-head attention is sort of using this as

**[00:21:48 – 00:21:52]** well So it has wide applicability across the different family

**[00:21:52 – 00:21:54]** of deep learning models as well

**[00:21:54 – 00:22:00]** OK, next thing we did to make training faster is using Torch

**[00:22:00 – 00:22:03]** compile with CUDA graphs.

**[00:22:03 – 00:22:09]** So the thing with PyTorch by default in eager mode is that it

**[00:22:10 – 00:22:12]** interprets your code line by line.

**[00:22:12 – 00:22:14]** What it means is that every operation would dispatch a

**[00:22:15 – 00:22:16]** separate CUDA kernel.

**[00:22:16 – 00:22:18]** Each of those will have the Python overhead.

**[00:22:18 – 00:22:21]** There's fresh roundtrip back to global memory as well.

**[00:22:21 – 00:22:26]** So it's good to get started, but again, highly unoptimized.

**[00:22:26 – 00:22:29]** Especially the thing is that

**[00:22:30 – 00:22:34]** Apart from the memory overhead as well, the dispatch also

**[00:22:34 – 00:22:36]** adds quite a lot of extra time.

**[00:22:37 – 00:22:40]** And Torch compile, basically what it does is it traces

**[00:22:40 – 00:22:45]** your entire computation graph end-to-end, and it generates

**[00:22:45 – 00:22:49]** fused optimized kernels where you are clubbing things together

**[00:22:49 – 00:22:53]** so that you can really make use of parallelism in a better way.

**[00:22:53 – 00:22:56]** And the best part is also even Torch Compile, I think they put

**[00:22:56 – 00:22:59]** in a lot of effort collaborating closely with NVIDIA to make sure

**[00:22:59 – 00:23:03]** that there is automatic CUDA graph integration with Torch Compile.

**[00:23:03 – 00:23:06]** And what that means is that, you know, whenever the compiler

**[00:23:06 – 00:23:08]** detects that there is any static computation pattern

**[00:23:08 – 00:23:12]** in your code, it automatically wraps it in a graph.

**[00:23:12 – 00:23:16]** So again, then that way you have some benefit of sort

**[00:23:16 – 00:23:17]** of speedups there as well.

**[00:23:17 – 00:23:20]** Although I did call out here in the slide that this is

**[00:23:20 – 00:23:21]** not straightforward.

**[00:23:21 – 00:23:24]** There are a lot of pitfalls with doing this correctly, because

**[00:23:24 – 00:23:27]** again, if the shapes of your data change midway during training

**[00:23:27 – 00:23:30]** and the graph is already compiled, then there are graph breaks.

**[00:23:30 – 00:23:32]** And what that does is that you have to recompile your graph, and then

**[00:23:33 – 00:23:37]** there's again all of the wasted time that's lost in overhead.

**[00:23:37 – 00:23:42]** The other thing is that although it gives you that speedup,

**[00:23:42 – 00:23:45]** The trade-off that you're making is that you have to

**[00:23:45 – 00:23:47]** spend some cycles upfront during model training to make sure

**[00:23:47 – 00:23:50]** that your compilation, it takes a few minutes, I think, depending

**[00:23:50 – 00:23:53]** on the size of your model, number of model parameters, et cetera.

**[00:23:53 – 00:23:57]** You have to spend some time upfront to account for that.

**[00:23:57 – 00:23:59]** OK, we've talked about making training faster.

**[00:23:59 – 00:24:01]** Let's talk about orchestration real quick.

**[00:24:01 – 00:24:05]** You know, like all ML practitioners, we also

**[00:24:05 – 00:24:07]** profile our code really seriously.

**[00:24:07 – 00:24:10]** And what we found very quickly is that we were not compute-bound.

**[00:24:10 – 00:24:11]** We were really IO-bound.

**[00:24:11 – 00:24:15]** If you look at what it looked like, so our GPUs were sitting idle.

**[00:24:15 – 00:24:18]** NVIDIA hardware, we all know how expensive those are and

**[00:24:18 – 00:24:20]** how they do not like waiting.

**[00:24:20 – 00:24:24]** So we quickly learned that we were making them wait quite

**[00:24:24 – 00:24:27]** a bit because we had a batch sort of loader that would sort

**[00:24:27 – 00:24:31]** of work on disk and like it just adds a lot of overhead in general.

**[00:24:31 – 00:24:34]** So we sort of refactored that and built a streaming data

**[00:24:34 – 00:24:37]** loader from the ground up, which basically allowed us

**[00:24:37 – 00:24:41]** to sort of do a lot of the data fetching, processing and sort

**[00:24:41 – 00:24:43]** of having it in memory like in.

**[00:24:43 – 00:24:45]** Parallel with model training, so then that way we were able

**[00:24:45 – 00:24:49]** to really improve our utilization of the GPU as well, because

**[00:24:49 – 00:24:53]** again, this is boring, unglamorous work, but this made a very

**[00:24:53 – 00:24:56]** big difference to our model training pipelines as well.

**[00:24:56 – 00:25:00]** Finally, we also spent a lot of time just identifying

**[00:25:00 – 00:25:03]** overhead and removing that during Startup entry and

**[00:25:03 – 00:25:05]** And Teardown as well, we saw that we were spending a lot

**[00:25:05 – 00:25:08]** of time provisioning cluster resources, et cetera, environment

**[00:25:08 – 00:25:11]** setup, all the boring stuff, and we optimized all of those pieces.

**[00:25:11 – 00:25:15]** And that gave us another good 18 minutes savings

**[00:25:15 – 00:25:16]** when you look at it.

**[00:25:16 – 00:25:19]** And so far, you've seen across the board, we were able to

**[00:25:19 – 00:25:22]** really make improvements to how we train our models and orchestrate.

**[00:25:22 – 00:25:25]** And I think at the end of the day, we were able to scale

**[00:25:25 – 00:25:30]** to 10x the data and not incur additional cost or time.

**[00:25:30 – 00:25:33]** And time is money here in this context.

**[00:25:33 – 00:25:35]** Finally, we've set the stage so far.

**[00:25:35 – 00:25:39]** I've told what we do and why iteration is important.

**[00:25:39 – 00:25:43]** Let's talk about agentic commerce, because in this new realm,

**[00:25:43 – 00:25:46]** we are going to need more models, more features, faster

**[00:25:46 – 00:25:49]** iteration, anything more than we've ever built before.

**[00:25:49 – 00:25:53]** So all the work we've done is sort of leading up to this point.

**[00:25:53 – 00:25:55]** Agentic commerce is a new paradigm.

**[00:25:55 – 00:25:58]** Again, if you think about moving from human-driven to

**[00:25:58 – 00:26:00]** full autonomy, it's a spectrum.

**[00:26:00 – 00:26:04]** And we see it evolving in multiple stages.

**[00:26:04 – 00:26:08]** Stage 1, 2, and 3 still have human in the loop.

**[00:26:08 – 00:26:10]** You have basic things like eliminating web forms.

**[00:26:10 – 00:26:12]** This is very straightforward.

**[00:26:12 – 00:26:13]** You're interacting with an agent.

**[00:26:13 – 00:26:16]** It's filling the data out for you.

**[00:26:16 – 00:26:17]** You're giving it very deterministic instructions.

**[00:26:17 – 00:26:20]** Then you go into description where

**[00:26:20 – 00:26:23]** Essentially, you're just describing at a high level what you want

**[00:26:23 – 00:26:24]** from it, and it does that for you.

**[00:26:24 – 00:26:28]** And then persistence is also where the agent has the memory,

**[00:26:28 – 00:26:30]** and it's able to understand your preferences and account

**[00:26:30 – 00:26:34]** for that automatically without you having been more explicit.

**[00:26:34 – 00:26:39]** Things start getting spicier in four and five.

**[00:26:39 – 00:26:42]** So when you think about delegation and anticipation, here you're

**[00:26:42 – 00:26:44]** just delegating the agent at a high level that I want

**[00:26:44 – 00:26:46]** to buy groceries this week.

**[00:26:46 – 00:26:49]** It will figure out when, how, from where, et cetera.

**[00:26:49 – 00:26:52]** And anticipation is that it already knows your coffee is running out

**[00:26:52 – 00:26:53]** and it will make the order for you.

**[00:26:53 – 00:27:00]** So again, as this paradigm shift, we also will see the

**[00:27:00 – 00:27:04]** need to adapt faster and faster to stay ahead of the game here.

**[00:27:05 – 00:27:06]** This is a very simple example here.

**[00:27:06 – 00:27:08]** Again, this is one form of agentic commerce.

**[00:27:08 – 00:27:11]** I think the star here, descriptive search, shows this example

**[00:27:11 – 00:27:15]** where you're just asking that you want to buy some new wardrobe.

**[00:27:16 – 00:27:18]** And the main thing I want to highlight here is that

**[00:27:18 – 00:27:23]** you are able to make the purchase in line with the actual agent.

**[00:27:23 – 00:27:26]** So you don't have to go through the website or add

**[00:27:26 – 00:27:27]** your details, et cetera.

**[00:27:27 – 00:27:30]** You can just directly purchase here.

**[00:27:30 – 00:27:34]** And since all of the whole traditional e-commerce flow

**[00:27:34 – 00:27:38]** If it gets compressed in a conversational exchange, that

**[00:27:38 – 00:27:42]** really redefines the fraud problem fundamentally.

**[00:27:43 – 00:27:45]** Let me tell you why that is.

**[00:27:45 – 00:27:47]** If you think about the whole landscape when it comes to

**[00:27:47 – 00:27:50]** agentic commerce, traditionally you have the buyer and you

**[00:27:50 – 00:27:54]** have the merchant, but now you have AI agents that are

**[00:27:54 – 00:27:56]** brokering that exchange.

**[00:27:56 – 00:27:57]** For consumers.

**[00:27:57 – 00:28:01]** You know, we've spent many years building really rich

**[00:28:01 – 00:28:04]** signals, right, because for consumers you have, say, browser

**[00:28:04 – 00:28:06]** profiles, you have device fingerprints, you have behavioral

**[00:28:07 – 00:28:10]** patterns, you have session history, you have geolocation, you have

**[00:28:10 – 00:28:13]** all these rich signals, and they are very good at predicting fraud,

**[00:28:13 – 00:28:15]** and we've leveraged those heavily.

**[00:28:15 – 00:28:18]** But in an agentic world, right, the agents...

**[00:28:18 – 00:28:20]** Become the consumer from the perspective of the merchant,

**[00:28:20 – 00:28:22]** right, because they are directly interfacing with those, and

**[00:28:22 – 00:28:26]** agents, as we all know, they do not have a browser fingerprints, or

**[00:28:26 – 00:28:30]** they do not have mouse movements, right, or they do not hesitate

**[00:28:30 – 00:28:35]** before clicking buy, right, so it completely redefines what signals

**[00:28:35 – 00:28:38]** look like, and also the challenge here is building a standard and

**[00:28:38 – 00:28:40]** infrastructure to make that real.

**[00:28:40 – 00:28:43]** And that's exactly what we did with Agentic commerce protocol as well.

**[00:28:43 – 00:28:45]** I think this was announced widely.

**[00:28:45 – 00:28:48]** This is a standard that was built by Stripe, partnering with a lot of

**[00:28:48 – 00:28:50]** the other pioneering AI companies.

**[00:28:50 – 00:28:52]** It's built on three principles.

**[00:28:52 – 00:28:55]** Open, because again, no single company should own

**[00:28:55 – 00:28:59]** this layer, which is why we've built it on Apache 2.0.

**[00:28:59 – 00:29:02]** And it's open source. Anybody can use it and leverage it.

**[00:29:02 – 00:29:04]** Second, it has to work with current systems.

**[00:29:04 – 00:29:07]** You cannot go to a merchant and say they have to re-architect

**[00:29:07 – 00:29:10]** their checkout flow or they have to rebuild their whole

**[00:29:10 – 00:29:11]** payments infrastructure.

**[00:29:11 – 00:29:14]** It has to plug in seamlessly because, honestly, no merchant will

**[00:29:14 – 00:29:18]** want to change how they do business and how their systems work already.

**[00:29:18 – 00:29:19]** And finally...

**[00:29:20 – 00:29:21]** You know, commerce is complex.

**[00:29:21 – 00:29:24]** It is messy. Things like shipping, authentication,

**[00:29:24 – 00:29:28]** taxes, refunds, subscriptions.

**[00:29:28 – 00:29:32]** You want ACP to handle all of that mess out of the box.

**[00:29:32 – 00:29:34]** And that's exactly what informed our principles here as well.

**[00:29:35 – 00:29:38]** At a very high level, Radar still

**[00:29:38 – 00:29:42]** SITs within every agentic transaction flow in real time.

**[00:29:42 – 00:29:45]** Because at the end of the day, the system stays the same.

**[00:29:45 – 00:29:47]** The feature set might evolve a little bit.

**[00:29:47 – 00:29:50]** Because we are incorporating things like agent identity, agent

**[00:29:51 – 00:29:53]** reputation, the customer trust.

**[00:29:53 – 00:29:55]** with the AI platform, for example.

**[00:29:55 – 00:29:57]** So there will be new signals, but the best part is that

**[00:29:57 – 00:30:00]** we've built such a strong system and underlying architecture

**[00:30:00 – 00:30:03]** that is so flexible in ingesting these new signals and iterating,

**[00:30:03 – 00:30:05]** and that's our key strength here.

**[00:30:05 – 00:30:06]** And not just that.

**[00:30:06 – 00:30:08]** Our actioning framework, the decision framework itself,

**[00:30:08 – 00:30:11]** is so composable that it allows us to make this huge leap

**[00:30:11 – 00:30:14]** without changing how we do things massively.

**[00:30:14 – 00:30:16]** Although we're still quite early in the space here.

**[00:30:16 – 00:30:19]** We are still learning what fraud patterns are unique

**[00:30:19 – 00:30:22]** to agent e-commerce, and we will keep learning that.

**[00:30:22 – 00:30:26]** So with that, let me close out real quick with what's ahead.

**[00:30:26 – 00:30:31]** Obviously, Radar sits at the time of transaction flow.

**[00:30:31 – 00:30:33]** But what we are really doing is expanding it to the entire

**[00:30:33 – 00:30:34]** payment lifecycle.

**[00:30:34 – 00:30:37]** Especially, say, for example, sign up.

**[00:30:37 – 00:30:40]** If a fraudster, if you're able to catch the fraudster,

**[00:30:40 – 00:30:43]** even before they sign up or create an account, before

**[00:30:43 – 00:30:47]** they abuse a free trial, or even before they are able to get in,

**[00:30:47 – 00:30:51]** intercepting fraud at this stage is orders of magnitude cheaper

**[00:30:51 – 00:30:52]** compared to doing it downstream.

**[00:30:52 – 00:30:54]** So we are putting a lot of effort there.

**[00:30:54 – 00:30:57]** Payment, I think I talked about payment methods as well.

**[00:30:57 – 00:31:00]** It's so easy to get and acquire those anonymously, so we are

**[00:31:00 – 00:31:03]** spending a lot of time sort of helping out and making

**[00:31:03 – 00:31:06]** sure our models are tuned to those instruments as well,

**[00:31:06 – 00:31:07]** post-payment as well.

**[00:31:07 – 00:31:10]** Even if, let's say, the fraudster ends up making a purchase,

**[00:31:10 – 00:31:13]** we still want to enable the merchants to act on it after

**[00:31:13 – 00:31:17]** the fact and still safeguard their business to a good extent.

**[00:31:17 – 00:31:21]** But, all in all, the work that we've done really makes

**[00:31:21 – 00:31:25]** us very confident that we can scale our models and infrastructure

**[00:31:25 – 00:31:28]** to this new paradigm, and evolve constantly as well.

**[00:31:28 – 00:31:31]** And I'll leave you with this, obviously, we've talked about

**[00:31:31 – 00:31:32]** fraud prevention in general.

**[00:31:32 – 00:31:33]** It's an arm race.

**[00:31:33 – 00:31:37]** I'm telling you, both sides are getting more capable,

**[00:31:37 – 00:31:41]** and again, for Stripe, our advantage is the network data that

**[00:31:41 – 00:31:46]** we have, our relentless pursuit of really iterating and improving and

**[00:31:46 – 00:31:47]** evolving our systems constantly.

**[00:31:47 – 00:31:50]** So, you know, and obviously like our close partnership

**[00:31:50 – 00:31:54]** with NVIDIA, I think really, we really appreciate the partnership

**[00:31:54 – 00:31:57]** that we have with them and the kind of hardware and software

**[00:31:57 – 00:32:00]** that we're able to build on together is really making

**[00:32:00 – 00:32:02]** it possible at the end of the day.

**[00:32:02 – 00:32:04]** And, you know, if all of this sounds interesting to you,

**[00:32:04 – 00:32:07]** please come talk to me afterwards as well, but I'll open up

**[00:32:07 – 00:32:10]** for questions right now.

**[00:32:12 – 00:32:14]** Yep.

**[00:32:14 – 00:32:16]** Maybe I'll start from the first row.

**[00:32:16 – 00:32:18]** Thank you. So I have two questions.

**[00:32:18 – 00:32:23]** So what is the performance lift of this new modeling

**[00:32:23 – 00:32:27]** framework compared to just fitting to a canonical XGBoost?

**[00:32:27 – 00:32:30]** And the second question is, is there an interpretability

**[00:32:30 – 00:32:35]** pipeline that you guys built to see what What are the new signals

**[00:32:35 – 00:32:37]** brought in by those agentic AI?

**[00:32:37 – 00:32:41]** Yeah, yeah. OK, so I think for our offline benchmarking, obviously, we

**[00:32:41 – 00:32:44]** look at a broad range of metrics.

**[00:32:44 – 00:32:45]** We look at false positive rates.

**[00:32:45 – 00:32:47]** We look at precision. We look at smooth recall.

**[00:32:47 – 00:32:50]** We look at how block rates happen or how it impacts

**[00:32:51 – 00:32:51]** auth rates as well.

**[00:32:51 – 00:32:54]** And across all our metrics, we at least saw more than

**[00:32:54 – 00:32:59]** double digit lift across the board when we moved to more advanced

**[00:32:59 – 00:33:01]** models because we were adding a ton of more model capacity,

**[00:33:01 – 00:33:04]** which allowed because the long tail of fraud is the most expensive.

**[00:33:05 – 00:33:07]** And the more advanced models were doing really well on those

**[00:33:07 – 00:33:10]** cases as well, so we saw really good improvements to performance.

**[00:33:10 – 00:33:16]** And your second question on how we add new signals.

**[00:33:18 – 00:33:20]** Oh, interpretability in it.

**[00:33:20 – 00:33:23]** Yeah, that is also the active area of research and work that

**[00:33:23 – 00:33:27]** we do to bring interpretability in the models as well.

**[00:33:27 – 00:33:29]** Because again, it's not straightforward.

**[00:33:29 – 00:33:32]** There are some techniques to bring, say, I think we've

**[00:33:32 – 00:33:34]** tried integrated gradients.

**[00:33:34 – 00:33:37]** And SHAP, I think, is what is more traditionally used.

**[00:33:37 – 00:33:41]** But we take interpretability very seriously because our

**[00:33:41 – 00:33:42]** businesses care about it.

**[00:33:42 – 00:33:44]** And we do a lot of work in making sure that we are using

**[00:33:44 – 00:33:50]** things like integrated gradients and SHAP for interpretation.

**[00:33:53 – 00:33:55]** Hey, thank you for the talk.

**[00:33:55 – 00:33:58]** Would you mind elaborating a little bit more on the side

**[00:33:58 – 00:33:59]** of agent e-commerce?

**[00:33:59 – 00:34:06]** So I see that context is really important for the fraud side,

**[00:34:07 – 00:34:11]** but for the side of the merchant, do you think you were saying

**[00:34:11 – 00:34:16]** that these transactions might happen outside the traditional

**[00:34:16 – 00:34:18]** marketplace or platforms?

**[00:34:19 – 00:34:25]** How do you see this game evolving between this agent e-commerce

**[00:34:25 – 00:34:31]** working outside the traditional websites that we shop or inside

**[00:34:31 – 00:34:33]** in like proprietary databases?

**[00:34:33 – 00:34:38]** Like would this help also to catch a fraud if you...

**[00:34:38 – 00:34:44]** This is a very good question you know especially the ACP protocol it

**[00:34:44 – 00:34:48]** sort of is responsible to provide structured metadata about the agent

**[00:34:48 – 00:34:51]** as well right so again it is built from the ground up to ensure that

**[00:34:51 – 00:34:55]** we are capturing and maintaining agent identity things like

**[00:34:55 – 00:34:59]** agent trustworthiness score as well or how what the relationship with

**[00:34:59 – 00:35:01]** The agent has with the consumer, right?

**[00:35:01 – 00:35:03]** That's on that side. And then there is also merchant, right?

**[00:35:04 – 00:35:07]** So we have a ton of signals in terms of how the agent reputation

**[00:35:07 – 00:35:09]** is with a given merchant, right?

**[00:35:09 – 00:35:13]** So again, like ACP handles that complexity to bring structured

**[00:35:13 – 00:35:16]** metadata, because like you said, it is extremely important

**[00:35:16 – 00:35:19]** to be able to predict fraud, to have that metadata that

**[00:35:19 – 00:35:20]** is really locked down.

**[00:35:20 – 00:35:22]** Second, I think your second part of your question was

**[00:35:22 – 00:35:25]** more interesting, where, in terms of where this transaction happens

**[00:35:25 – 00:35:28]** or lands, you know, traditionally, like I said before, like,

**[00:35:28 – 00:35:31]** we still, you know, the backend, we are not thinking about evolving

**[00:35:31 – 00:35:32]** that completely yet, right?

**[00:35:32 – 00:35:35]** Because we are still really early in the innings, like, product

**[00:35:35 – 00:35:36]** market fit is still happening.

**[00:35:36 – 00:35:38]** So again, like, the bottom line here is that we still

**[00:35:38 – 00:35:42]** want to not really ruffle the feathers quite a bit, right?

**[00:35:42 – 00:35:45]** Still use existing systems, and as we learn, we optimize

**[00:35:45 – 00:35:47]** and we sort of iterate.

**[00:35:47 – 00:35:49]** So right now, it's a game of just watching and making

**[00:35:49 – 00:35:52]** sure that we are supporting this current paradigm to get

**[00:35:52 – 00:35:56]** the learnings as quickly as we can and then evolve using data.

**[00:35:56 – 00:36:00]** Sorry, it was a non-answer, but that's exactly what we're doing.

**[00:36:10 – 00:36:11]** Thanks, Akash.

**[00:36:11 – 00:36:15]** I have two questions. The first one is, when you did

**[00:36:16 – 00:36:20]** the precision, mixed precision, did you see a correlation between the

**[00:36:20 – 00:36:23]** mixed precision, switching to mixed precision to a GPU utilization?

**[00:36:23 – 00:36:26]** That's number one. And then number two, I think so far you talked

**[00:36:26 – 00:36:28]** about the training side of it.

**[00:36:28 – 00:36:31]** Yeah. From the inference side of it, did you use any tensor

**[00:36:31 – 00:36:35]** at the model optimizer or anything to improve the inference

**[00:36:35 – 00:36:36]** speed from the new?

**[00:36:36 – 00:36:38]** Great questions, by the way. Thank you for that.

**[00:36:38 – 00:36:43]** You know, with mixed precision as well, in terms of GPU ,

**[00:36:43 – 00:36:47]** I think Tensor cores, they are purpose-built for lower

**[00:36:47 – 00:36:48]** order arithmetic.

**[00:36:48 – 00:36:52]** They're built for that purpose. And with NVIDIA hardware as well, they

**[00:36:52 – 00:36:56]** are more optimized for operations, even compared to if you did the

**[00:36:56 – 00:36:58]** same operation with a CUDA graph.

**[00:36:58 – 00:37:01]** At the same load position, I think if you're not leveraging tensor

**[00:37:01 – 00:37:03]** cores, you're missing that speedup.

**[00:37:03 – 00:37:06]** And not just speedup, but also throughput, which again goes

**[00:37:06 – 00:37:07]** back to GPU utilization as well.

**[00:37:07 – 00:37:11]** So yes, it is directly correlated for sure, because then that way

**[00:37:11 – 00:37:14]** you're able to pipe more data, your forward passes are faster, backprop

**[00:37:14 – 00:37:15]** also happens really quickly.

**[00:37:16 – 00:37:18]** So again, we were able to observe that.

**[00:37:18 – 00:37:23]** And I think your second question was around... And, um...

**[00:37:25 – 00:37:27]** Oh, inference, yes.

**[00:37:27 – 00:37:29]** You know, inference, our scale is massive, right?

**[00:37:29 – 00:37:33]** We are running 20,000 QPS per second, right, and really

**[00:37:33 – 00:37:34]** low latencies as well.

**[00:37:34 – 00:37:38]** So we have, like, our inbuilt optimizations, right, that we use

**[00:37:38 – 00:37:41]** right now, and then, again, like, they're folks of, like, various

**[00:37:41 – 00:37:42]** things that you mentioned as well.

**[00:37:42 – 00:37:46]** But again, like, we have a really strong infra team, and then

**[00:37:46 – 00:37:51]** they have a lot of good components that we built from scratch,

**[00:37:51 – 00:37:54]** which are really highly optimized, running low-level code as well.

**[00:37:54 – 00:37:57]** So, yep.

**[00:38:02 – 00:38:05]** Good presentation, thank you.

**[00:38:05 – 00:38:10]** My question is, do you see, I mean, Stripe, on Stripe

**[00:38:10 – 00:38:17]** data, what percentage of the agent expanding today and what

**[00:38:17 – 00:38:21]** can you like project in the future?

**[00:38:22 – 00:38:24]** Your guess is as good as mine right now.

**[00:38:24 – 00:38:27]** So again, I don't think those numbers are broadly shared.

**[00:38:27 – 00:38:30]** And my legal team is going to kill me if I reference any new numbers

**[00:38:30 – 00:38:32]** that are not already approved here.

**[00:38:32 – 00:38:34]** So again, I can't share those numbers, but I think recently

**[00:38:34 – 00:38:38]** we did publish our annual letter.

**[00:38:38 – 00:38:40]** Sorry, I can't remember at the top of my head, but I'm

**[00:38:40 – 00:38:43]** pretty sure there are some stats that are included there,

**[00:38:43 – 00:38:46]** because we don't exactly say the numbers, but I think we talk about

**[00:38:46 – 00:38:49]** the growth that we are seeing, and that is a hockey stick curve.

**[00:38:49 – 00:38:53]** We've seen that step change happen, although on an absolute

**[00:38:53 – 00:38:55]** scale, it is not substantial.

**[00:38:55 – 00:38:59]** It is a very minor portion of the entire economy, because

**[00:38:59 – 00:39:02]** we process $1.4 trillion in payments every year.

**[00:39:02 – 00:39:04]** So, agent tech is still a very small fraction of it,

**[00:39:04 – 00:39:08]** but it's growing very rapidly, that But I can tell you for sure.

**[00:39:09 – 00:39:10]** A question here.

**[00:39:10 – 00:39:15]** So what is, in your vision, what is the most challenging feedback

**[00:39:15 – 00:39:21]** looping in terms of the experience with the users, new users?

**[00:39:21 – 00:39:23]** Yeah, great question.

**[00:39:23 – 00:39:26]** So here again, users, actually, can you have the mic back?

**[00:39:27 – 00:39:29]** When you say users, are you referring to merchants or

**[00:39:29 – 00:39:30]** are you referring to end users?

**[00:39:30 – 00:39:31]** Merchants, right?

**[00:39:31 – 00:39:35]** Merchants, because they are more... Indie user.

**[00:39:35 – 00:39:39]** For us, we take feedback really seriously.

**[00:39:39 – 00:39:42]** Because we learn about fraud attacks through many sources.

**[00:39:42 – 00:39:45]** One of those is merchant escalations, and there's

**[00:39:45 – 00:39:46]** also proactive reach-outs.

**[00:39:46 – 00:39:49]** We also have agents that are constantly running to...

**[00:39:49 – 00:39:53]** Tell if a merchant is under attack, a fraud attack.

**[00:39:53 – 00:39:55]** Even before they know it, we sort of flag it.

**[00:39:55 – 00:39:58]** And that sort of triggers the whole loop automatically.

**[00:39:58 – 00:40:01]** So we've put in a lot of effort in being proactive.

**[00:40:01 – 00:40:04]** Because again, it's too late if a merchant is reading out to you,

**[00:40:04 – 00:40:06]** it's a bad experience for them.

**[00:40:06 – 00:40:07]** There's escalations.

**[00:40:07 – 00:40:10]** And it doesn't look good for us or for the business.

**[00:40:10 – 00:40:13]** So we are trying to automate a lot of that.

**[00:40:13 – 00:40:16]** We have separate models that are tracking if a merchant

**[00:40:16 – 00:40:18]** is under attack of various sort.

**[00:40:18 – 00:40:19]** Like you couldn't have card testing, you could have

**[00:40:20 – 00:40:21]** Any other scripted attack as well.

**[00:40:21 – 00:40:24]** So we constantly have systems that are monitoring those.

**[00:40:24 – 00:40:30]** And then those directly feedback to also now we are exploring agents

**[00:40:30 – 00:40:32]** to also automate that loop as well.

**[00:40:32 – 00:40:38]** But again, we are very bullish on automating more and more

**[00:40:38 – 00:40:40]** of those pieces with agents.

**[00:40:40 – 00:40:42]** And that's also one of the big work streams that I'm

**[00:40:42 – 00:40:42]** leading as well this year.

**[00:40:42 – 00:40:46]** So very excited about that topic in general.

**[00:40:46 – 00:40:48]** Very good. Thanks so much, Akash.

**[00:40:48 – 00:40:52]** You know, it is only a testament of his deep technical expertise.

