银行如何自训基础模型识别欺诈:Wells Fargo 的 Freddy Lecue 分享实践
原题A Bank Trained Its Own Foundation Model to Catch Fraud — Freddy Lecue, Wells Fargo
推荐理由银行从交易数据的表示方式重新设计基础模型,展示领域任务与预训练目标的连接。适合判断结构化数据场景为何需要专门的词表与下游评估。
看前速览
Freddy Lecue 介绍 Wells Fargo 的交易基础模型,强调领域专用 tokenization 和可复用表征在反欺诈及其他银行任务中的作用。
为交易构建表征,而不是把它当作普通文本
模型以交易序列从零预训练,预测下一笔交易用于学习基础网络,之后再适配多种业务任务。
词表设计是一项重要工程挑战
金额、时间间隔、渠道和地点具有不同结构。Lecue 解释了为何训练前需要明确决定词表大小与特征编码方式。
时间上下文可以补充表格模型基线
反欺诈案例通过对历史交易的注意力来理解新交易,并对比了用 XGBoost 特征编码历史信息所需的工作。
同时评估识别质量与运营成本
演讲报告了更多欺诈被识别、错误拒绝减少的结果,并在满足审批时限的前提下,将误报与客户来电、交易流失联系起来。
复用仍需要下游适配与验证
反欺诈是已展示的结果,其他银行应用仍在研究。共享预训练本身不能证明每个下游任务的表现。
完整摘要
Freddy Lecue 介绍了如何使用 Wells Fargo 交易数据,从零训练基于 Transformer 的基础模型,而不是改造预训练语言模型。预训练目标是预测交易 token 或后续交易,真正的价值则来自针对下游银行任务微调已学习的表征。反欺诈是演讲展示的应用,信用额度决策、反洗钱和营销则是进一步探索的方向。
演讲将 tokenization 视为核心设计难点。交易数据包含金额、时间差、渠道、商户、地点和类别属性,建立有用的词表不能只是把一行数据当成普通文本。Lecue 描述了将规模更大的工程化特征集缩减为约一百个基础特征,并利用交易间时间关系的做法。他还介绍了约十亿参数的 decoder-only 模型、token 与参数规模比例实验,以及常规分布式训练技术。
Lecue 报告,与生产中的 XGBoost 基线相比,该模型在识别更多欺诈的同时减少了误报。他把错误拒绝交易与客服成本和交易流失联系起来,并指出必须满足银行卡实时审批约束。转录没有提供可确定的具体基准数值,其中一段延迟比较在字幕中自相矛盾,因此无法可靠提取数值化加速幅度。最值得迁移的经验是专门的表征设计与下游评估,而不是 Transformer 一定优于表格模型的普遍保证。
章节
文字稿
简要说明Brief Description
Freddy Lecue 介绍了 Wells Fargo 如何利用客户交易数据从零构建交易基础模型。本次演讲涵盖了分词、Transformer 架构、训练和欺诈检测,并探讨了如何使用共享主干网络来支持其他银行业务任务。Freddy Lecue explains how Wells Fargo built a transaction foundation model from scratch using customer transaction data. The talk covers tokenization, transformer architecture, training and fraud detection, and discusses using a shared backbone for additional banking tasks.
目录Table of Contents
- 为什么要为交易构建基础模型Why a foundation model for transactions
- 为什么不直接用 XGBoost?Why not just XGBoost?
- 数十亿笔交易Billions of transactions
- 语言模型与事务模型Language models vs. transaction models
- 从头开始预训练Pre-training from scratch
- 谁、什么、如何、何时以及何地Who, what, how, when and where
- 将表格数据转换为标记Turning tabular data into tokens
- 架构与扩展能力Architecture and scaling
- 训练设置Training setup
- 欺诈检测结果Fraud detection results
- 回顾Recap
为什么需要用于交易的基础模型Why a foundation model for transactions
接下来,我将向你们展示我们近期一直在做的工作:构建我们的第一个基础模型——富国银行基础模型。我会解释我们为什么要这么做、如何做到的,以及取得了哪些成果。首先,基础模型不一定要以语言为基础。And I'm going to show you the work we've been doing lastly on building a our first foundation model Wells Fargo foundation model. So I explain why we did that, how we did it and what we accomplished in doing so. So first foundation model it doesn't necessarily to be language based.
我的意思是,我们都在使用 Claude、ChatGPT 等,它们都是基于语言的基础模型。在金融服务领域,我们当然也有语言,比如来自结构化数据和结构化表示数据的语言,但我们也有大量的结构化表示数据。这些数据中有很多是表格数据。I mean we all playing with Claude and chat GPT and others they all language based foundation models. In financial services we also have language of course from a structure and structure representation data but we have also have a lot of structure representation. A lot of this data is tabular data.
我们拥有大量来自客户的信息,包括投资银行和消费者银行领域的信息。这些数据都是富国银行拥有的数据,所有大型金融机构也都有。我们希望充分利用这海量数据,但并不是说你只要把它拿出来放进语言模型里,就能从中获得最大的价值。We have a lot of information from our customers. We have information in investment banking, consumer banking and all of these data is data that we have in Wells Fargo and all fun big financial organizations have to and we want to take benefit of all of these huge amount of data that we have and it's not like you just take it and put it in a in a language model and get the best of it.
当然,你可以从中获益良多,但这未必是最好的做法。因此,我们决定研究现有数据:所有交易,也就是客户使用借记卡、信用卡、数字支票进行的所有交易,这些交易来自许多不同的渠道。我们想看看能否构建一个基础模型,供我们使用并针对下游任务进行微调,比如信用评分;也可以将它用于欺诈检测、反洗钱和营销。那么,我们要如何构建一个通用骨干模型,让它能够应用于各种下游任务,并简化整个流程呢?Of course you can get a lot of benefit out of it but it's not necessarily the best way to do it. So what we decided to do is to look at the data we have all the transactions all the customer transactions that they're doing with their debit card, credit card, digital check all of those coming from many different channels and see if we can build a foundation model that we can use and fine tune for downstream task like credit scoring or that you can use it for fraud detection, anti-money laundering, do marketing. So how we can build one backbone that you can use and streamline across downstream task.
所以现在,你们正从各个组织中众多表现稳健的模型,转向一个真正统一的骨干模型。由于你们能够大规模学习客户交易的表征,每个组织都可以直接复用它。So now you're moving from many models very solid across different organizations in a really one backbone and every organization can just reuse because you learn the representations of customers transactions at scale.
所以,这就是意图。仅凭这一点,你也许会说:“嘿,这是表格数据。”So, that's the intent. And just for that, you may say, "Hey, that's tabular data.
为什么不直接用 XGBoost?Why not just XGBoost?
“为什么你们不直接用 XGBoost 和那些常见的方案?”我们试过了。这就是我们当时投入生产的模型。不过,我接下来要展示给你们的模型,不仅在延迟方面优于 XGBoost,在欺诈检测方面也表现更好:它能大幅减少误报,并提高检测率。Why do you just don't use XGBoost and the usual suspect?" We did that. This is the model we had in production. And but the model I'm going to show you is something that get that beats XGBoost even from a latency perspective, but also from a from a fraud detections, we get much better false reduction of false positive and better detection rate.
所以,这是一个很好的经验教训:如何利用基础模型获得更好的模型。至于基础模型,我一直在使用 Transformer 块。So, it was a really good lesson learned in term of having better model using foundation model. And to foundation model, I've been transformer blocks.
数十亿笔交易Billions of transactions
这就是我们打造的东西。正如我提到的,我们的客户每个月会进行数十亿笔交易,包括使用借记卡和信用卡、支票交易以及其他各种类型的交易。关键问题在于,我们如何规模化利用这些信息,而不是针对每一个下游任务分别处理。And that's that's what we built. So, so, we have as I mentioned billion of transactions on a monthly basis our customers interacting with their debit, credit card, and they do check, and they do different sort of transactions. And the question is really how we can use these informations at scale and not for one and every single downstream task.
接下来,我会介绍一些数据、表示形式、我们采用的架构、由此取得的成果,以及我们在构建过程中学到的经验。So, I'm going to cover a bit of the data, the representations, the architecture that we use, how that what the result we get, and the lesson we learned in building this.
语言模型与事务模型Language models vs. transaction models
好吧,我的意思是,左边是语言基础模型,它们处理语言 token,目标是学习一种能够预测下一个 token 的表示。然后你会进行监督微调,接着再做我们的 LCHEF、LRVR,以及所有出色的后训练流程,从而在你希望完成的任务上做得更好,对吧?All right. So, I mean, left-hand side, language foundation model, they're processing language tokens, and then the goal is to learn a representation that's going to predict the next token. And then you have you have supervised fine-tuning, and then you do our LCHEF, LRVR, and all of the great post-training process to get better at the task that you want to, right?
这些适用于语言领域,很不错。但如果你的数据在表示形式方面更为专业呢?这就是我们构建这个交易基础模型的原因。And that's for languages. That's great. but what if your data is very much more specialized in term of representation. So, that's where we build this transaction foundation model.
所以,基础不再是语言,而是交易——我们客户的交易。你仍然会尝试预测接下来会发生什么,而这里的“下一步”就是下一笔交易,或者交易中的下一个 token,并利用你所拥有的所有渠道。So, instead of having languages as the base, the base is now transactions. Transactions from our customers. And you still try to predict the next thing and here the next thing is the next transaction or it's the next token in the transaction using all of the channel that you have.
但那并不是最终目标。我的意思是,就像语言模型那样,你尝试预测下一个 token,这并不是全部,对吧?你会学习一种表征,然后使用这种表征,再对它进行微调,并针对其他任务进行后训练,对吧?But that's not the end goal. I mean, the similarly to language model where you try to predict the next token, that's not the end of the story, right? You learn a representation and then you use that representation and then you fine tune it and you post train it for any other task, right?
因此,这可以是一个针对语言的分类任务;但在我们的语境中,对于交易基础模型,它可用于提高信用额度、进行欺诈检测,以及从反洗钱的角度识别并标记不法分子。So, it could be classification task for languages, but in our context for transaction foundation model, it could be used for credit line increase, could be used for doing fraud detections and flagging bad actors from an anti-money laundering perspective.
从头开始预训练Pre-training from scratch
目标是学习交易随时间变化以及不同客户之间交易的关系。这才是真正的目的。所以,第一步是从头开始进行预训练。And the goal is to learn this relationship between transactions over time and transactions across customers. That's really the intent. So, the intent number one is you do pre-train from scratch.
我再说一遍,因为人们有时会混淆。我们使用自己的交易数据,从头开始大规模预训练 Transformer 模块。所以,我们使用的权重是从开放权重中取用的零权重。I'll say it again because people sometimes confuse. We pre-train transformer blocks at scale from scratch using our transaction data. So, the weights is zero weights that we use from open weights.
我们只采用这种架构,然后使用自己的 GPU 集群从头对它进行预训练。接着训练几天到几周,然后再针对下游任务进行后训练。We just use the architecture and then we pre-train it from scratch using our GPU cluster. And then we train it for couple of days and weeks. And then you do the downstream task of post training.
但这里的目标是对它进行预训练,让它预测下一个 token 或下一笔交易。然后你尝试这么做。嗯,你尝试预测客户接下来的、下一个行为模式。But the goal here and you pre-train it for predicting the next token or the next transactions. And you try to do this. Well, you try to predict the next the next pattern of the customer.
但这并非本意。But that's not the intent.
目的是稍后再执行下游任务。就规模而言,我们的业务规模很大:有数十亿笔交易、百万个账户,每位客户每月通过借记卡、信用卡进行数百笔交易,或开支票。The intent is to do the downstream task later on. And in term of scale, I mean, we operate at a large scale. So, we have billions of transactions, a million of accounts, hundreds of transactions per clients on a monthly basis interacting with their debit card, credit card, or doing check.
谁、什么、如何、何时以及何地Who, what, how, when and where
我们关注的五个主要维度,首先是“谁”——我是说,谁在处理、谁在询问,以及谁在提供服务。所以,实际上就是客户或商户。然后是“什么”——我是说,我们买什么?我们进行什么交易?And the five main dimensions we look at is really who is doing I mean, who is processing and who is asking on who is providing a service. So, really the customer or the merchant. the what, so I mean, what do we what do we buy? What do we transact?
那怎么说,具体是哪种渠道?是信用卡还是借记卡?And how, so which channel? Is it credit? Is it debit?
这是数字形式的吗?什么时候发生?又在哪里发生?Is it digital? When is it happening? And where is it happening?
所有这些基本上都是在 Android 中拆解特征。看看我们目前在生产环境中使用的模型,其中有很多……我是说,据我了解,那些在类似组织中构建过这类模型的人,也为此投入了大量艰苦的工程工作和手工设计的特征工程工作。这需要花费非常多的时间。And all of those, they basically breaking down in Android of features. And if you look at the existing model we have in production, there's a lot of I mean, and people that been build those model in similar organizations, my understand that we build a lot of very hard crafted uncrafted engineering feature engineering effort on that. And that's required a lot and a lot of time.
所以,我们退一步,看看真正需要哪些原始特征,而不是那些为了执行下游任务而预先构建或后续构建的特征,而是试着弄清楚究竟需要哪些原始特征。So, we step back and look at really the raw features we need, not the one that been really pre-built and post-built for doing the downstream task, but try to understand which raw features.
最后我们最终得到了大约 100 个特征。尽管到最后我们有数千个特征,但我们试图找出哪些才是真正的原始信息单元,然后让架构中的 Transformer 模块去推断这些核心特征之间的关系。And we ended up with basically 100 features. Even with at the end of the day, we had thousands of them, but we tried to find which ones are really the raw information unit. And then we let the architecture, the transformer blocks to figure out the relationship between those core features.
正如你们所见,我们在这五个维度上确实有一大堆特征。而且,这些词汇对于金融服务领域来说非常独特。所以,这也是我们没有使用现有预训练模型的原因,因为我们使用的词汇非常贴合你们要做的工作。即使你把数字业务、支票账户、储蓄账户以及这类交易都合并起来,最终得到的特征和属性数量仍然非常有限。And as you can see, we do have a yeah, a bunch of features on those five dimensions. And the vocabulary is very unique to the financial services setup. So, and that's the reason why I mean, we didn't really use existing pre-trained model because those the vocabulary that we use is very, very be to the work that you want to do and even if you merge well all digital and checking and saving and all of those sort of transactions, even if you merge all of those, you still end up with a very limited numbers of features and characteristics.
将表格数据转换为令牌Turning tabular data into tokens
那么,在这种规模下,问题就是:你该如何处理这些数据?我们一开始就把所有东西都视为表格数据。我的意思是,这不是什么秘密,它就是表格数据。接下来要做的,就是弄清楚如何捕捉这些词汇,因为你确实有数值、类别值,还有类——我的意思是,你还有像邮政编码这样的信息。So at that scale then the question is well how you work with that? So we started everything is tabular data. I mean there's no secret it's tabular data and then the goal is to understand how you going to capture the vocabulary because you do have numerical values, you have categorical values, you have cat I mean you have information like zip code.
你会把每一个邮政编码都编码成一个 token 吗?这合理吗?因此,你需要投入大量精力,弄清楚自己需要哪些词汇、希望词汇表扩展到什么规模。因为在训练时,如果词汇表过于庞大,用大得离谱的词汇表来训练这样的模型会有点混乱。Do you encode each and every zip code in a token? Does that make sense? So there's a lot of effort need to push in understanding the vocabulary that you need and vocabulary that you want also to scale because at the training if you have a too huge vocabulary, it would be kind of messy to train such a model with a vocabulary which is far too big.
因此,要理解这个值如何转换为 token,需要投入很多精力。那么,你会在一个 token 中编码哪些信息?So there's a lot of effort in understanding this value to token. So which information do you encode in a token?
然后你会得到 3D 这个 token、分词结果,然后进行嵌入查找。因此,当有一笔交易到来时,你就有了词汇表。基本上,这就是一个查找过程:将交易及其所有特征与一个 token、一个 ID 和一个嵌入向量对应起来。And then you have the token 3D, the tokenizations and then the embedding lookup. So then when we have a transaction coming up, you do have the vocabulary. So it's a basically it's a lookup and aligning a transactions and all the characteristics of that transactions to a token and an ID and then an embedding.
所以它只是给你一个数字,嗯,一些数字。我们有定量、定性,以及不同类型的类别,对吧?有些类别只有八种类型,有些则有更多种类型。So it just to give you a number well some numbers. So we have quantitative, qualitative, categorical of different kind, right? So categories with only eight types, some with much bigger types.
你有交易金额,这是个很重要的因素。你还有交易之间的时间间隔。再比如 IP 地址、邮政编码等,这些例子可以说明每种特征都具有多样性和异质性,既可以编码成一个二进制标记,也可以编码成数量多得多的标记。You have transaction amount which is a big deal. You have the delta time between transaction. So you have anything related to IP address, postal code to just to give you example of variety and heterogeneity of each and every characteristic could be encoded in a binary token or could be coded in a much larger number of tokens.
架构与扩展能力Architecture and scaling
即便只看邮政编码这一块,我的意思是,美国的邮政编码数量远远超过 2800 个,但你们有更精巧的——嗯,有更好的方法来构建结构,比如根据分布对邮政编码进行重新分组。所以,架构方面……嗯,我们这里就是……我们用 Chinchilla 背后的数学原理来确定如何构建它,对吧?我的意思是,一开始我们完全不知道它在表格数据领域会如何运作,尽管已经有一些用于表格数据基础模型的开放权重和开源方案。所以我们从他们学到的东西,以及我所做的工作出发,来着手做我们需要做的事情。And even if you just look at the bit that the zip code, I mean, you have a much larger number of zip code in the in the US than those 2800, but you have fancier, well, you have much better way to structure how you're going to regroup zip code based on distributions, for instance. So, architecture So, so here just what we So, we use the Chinchilla well, mathematics behind the to define how we build it, right? I mean, initially, cuz we had no clue how it's going to work in a tabular space, even though there are existing well, well, open weights and open solutions for doing tabular data foundation models. so we started from what they learned and what I did to what we needed to do.
我会给你举一个例子,从架构角度介绍创新维度、我们使用的解码器层数,以及完整的配置方案。And I'll give you an example of innovating dimensions, number of decoder layers we used, and all of the recipe from a from an architecture perspective.
所以我们有……正如你所看到的,我们并不打算构建一个万亿参数模型。我们并不试图与语言模型领域的任何领先者竞争,因为我们真正致力于并专注于交易,对吧?我们做的是十亿参数级别的交易基础模型。so we have And as you can see, we're not trying to build a trillion parameters model. We don't try to compete with any of the leaders in the language models, because we're working really and focusing on transactions, right? Transactions foundation models at billion level.
还有一个是 10 亿参数的模型,因为这是当时能给我们的模型中规模最小的一个,而且带来的提升最大。现在我们正在开发一个 110 亿参数的下一版本,不过目前这个模型已经足以通过降低下游任务中的误报率,带来很高的投资回报,例如欺诈检测和检测单元检测率。所以,至于架构类型,解码器专用架构基本上是用来预测下一个词元或下一笔交易的。And one 1 billion is because that's the model that give us that was the well, kind of the smallest and give us the highest boost. And now we're working on a on a next version that's 11 billion, but that's good enough to give a lot of ROI from a false positive reductions for downstream tasks, like fraud detections and detection unit detection rate. So, and the and the type of architecture So, the decoder-only architecture, that's basically for predicting the next the next token or the next transactions.
这基本上就是预训练。最初,我们用参数数量的 20 倍来估算可能需要的 token 数量。最终实际采用的倍数是这个的 10 倍。And that's really the pre-training. So here we initially used 20 times the number of parameters to define the number of tokens we might need. We ended up actually 10 times factor than that.
因此,通过进行一些实验,我们发现每个参数需要的 token 数量要多得多。这就是我们最初进行的这类实验。我就略过这一部分,因为这些都是常见的目标函数,也就是因果语言建模和掩码语言建模这类优化工作。So by doing a few experimentations, we needed much more much more tokens per parameters. I mean this is this kind of the initial experimentation we did. So I'll pass on this because this is the usual suspects from objective functions causal language modeling and mass language modeling type of optimization work.
训练设置Training setup
对,从架构角度来看,这里其实没什么特别花哨的。最复杂的部分确实是分词,然后是调整并进行预训练。And yeah, from an architecture perspective, nothing really I mean fancy here. The again, the most complex part was really the tokenization. And then and then adapting and doing the pre-training.
然后是如何进行微调。要我说,诀窍或秘密配方其实在于如何进行分词,以及之后如何开展后训练。但从训练角度来看,问题只是你会在上下文或历史记录中放入多少笔交易来进行训练。And then how you do the fine-tuning. So if I would say the recipe or the secret sauce is really how you do the tokenization and then how you going to do the post the post training. But anything from a training perspective, it's it the question is just how many how many transaction you're going to put in your in your context or in your historic for doing the training.
评估困惑度、基础准确率,以及下游任务上的仪表板表现,这些都是常见的关注项。然后,是的,使用混合精度和分布式数据并行,尽可能增大微批次大小,以加快收敛。是的,通常使用 RoPE,并通过 FlashAttention 和激活检查点提高内存效率。And evaluation perplexity base accuracy dashboard on downstream tasks, that's that's the usual suspect. And so Yeah, so use mixed precision distributed data parallel maximize micro batch size get faster convergence yeah, using one rope usual and memory efficiency flash attention activation checkpointing.
我的意思是,这里其实没什么新东西。我们只是采纳了最优秀的人,以及那些构建过规模大得多的模型的人给出的建议。所以这题我就跳过了。I mean here there's nothing really new. It just we used the advices from the from the best and from the one that built even much bigger models. So I'll pass on this one.
时间不多,不过我还是想花点时间,嗯,谈谈结果。所以,是的,当你构建这个基础时,这个基础实际上是建立在你的骨干网络之上的。它是你可以用于下游任务的东西。Time is short, but I wanted to spend some time yeah on the results. So Yeah, so the when you build this foundation, that foundation is really is of is really is on your backbone. It's something you can use for downstream task.
欺诈检测结果Fraud detection results
下游任务是进行欺诈分类。也就是说,你有一笔笔交易,然后尝试预测某笔交易是否会构成欺诈。我们部署在生产环境中的模型是一个 XGBoost 模型,它是在大量标记为欺诈或非欺诈的交易数据上训练的。And the downstream task was to do fraud classification. So you have a transactions and then you try to predict if that transaction is going to be fraudulent. So in the model we have in production, it's an XGBoost model and it's trained on large amount of transactions which is fraudulent or non-fraudulent.
缺失的部分在于:你试图预测或分类的那笔交易,与所有过去交易之间的关系。使用 XGBoost 模型时,这类信息会消失,除非以一种非常复杂的方式将其编码进去,而这并不容易。但如果使用 Transformer 架构,就能很好地利用从当前交易指向过去交易的注意力机制。And the missing piece is that was the relationship between whatever transaction you try to predict try to classify and the relationship with this transaction with all of the past transactions. And that information is kind of gone when you use an XGBoost model unless you encode it in a very hard way which is which is not so easy. But if you use transformer architectures, you do have this nice attentions from a from transactions to past transactions.
这基本上就是起到帮助的因素,也是我们认为真正推动欺诈检测率大幅提升的原因。And that's basically what helped and this is what we think this is what really helped pushing the fraud detection rate much higher.
但归根结底,下游任务是要判断这串交易中,有人只是在使用借记卡的情况下,考虑到他所有的历史信息,这笔交易是否属于欺诈?But at the end of the day the downstream task was to say here's the sequence of transactions. I have someone just using the debit card. Is that transaction fraudulent with respect of all his historical information?
这正是你在推理时尝试进行预测时输入的内容。所以,这就是架构。这里没什么特别复杂的。And that's that's exactly what you put in at inference time when you try to do the prediction. So that's the yeah architecture. So nothing really fancy here.
你只需要做好工程实现,让这些处理流程在250毫秒以内完成,因为处理……因为拒绝操作需要在这个时间范围内完成。不过,嗯,我们从延迟角度来看,速度比这个慢了整整10倍,所以一切都没问题。最后说一下我们得到的结果。You just need to have the good engineering in place to do less than 250 milliseconds for doing the processes because the processing because the decline need to happen within that time frame. But it's it's it's we were well 10 times slower than that from a latency perspective, so it was all good. And just in terms of final result we get.
因此,主要指标会直接与公司的成本和节省金额挂钩。So, the main metrics and those metrics relate right away to dollar to cost well to savings for the firm.
因此,关键在于检测率和误报率。当然,你可以大幅提高检测率,但很多时候误报也会增加很多。而在这种情况下,我们成功地标记出更多具有弱信号的欺诈活动,甚至还降低了误报率。So, it's detection rate and false positive rate. Of course, you can detect much higher, but in many cases sometimes we get much more false positive. And in this case, we managed to get more weak flag more fraudulent activities and we even reduced the false positive.
所以,这是一次重大胜利。归根结底,如果你拒绝了一笔并非欺诈的交易,对方就会打电话过来,而这通常会产生运营成本。So, that was a big win. That was a big win because at the end of the day, if you decline a transaction which is not fraudulent, then that person is going to call. There's often operation cost associated to it.
你会失去与那次非欺诈行为相关的交易。因此,这是一件……非常……嗯,你肯定不希望发生的事情。所以,再说一次,这是与用于欺诈检测的最先进 XGBoost 模型进行比较。You lose the transaction related to that non-fraudulent action. So, it's a it's a very it's a very well, something that you don't really want to happen. So, so again, that's this that's compared to the state of the art of XGBoost model using fraud detection.
所以,这基本上是巨大的,能节省数百万美元。So, it's it's basically huge it's millions of dollar savings.
所以,这确实是一个非常大的提升。好了,关于那张幻灯片,最后再补充一点。所以,所以,这个基础模型是基于富国银行客户数十亿笔交易构建的。So, it's it's a very big boost. So, just to finish up on that slide. So, So, that foundation model has been built on billions of transactions from Wells Fargo customers.
回顾Recap
第一,它是从零开始预训练的。也就是说,我们不会基于任何现有的开放权重模型进行预训练。That's number one. It's it's pre-trained from scratch. So, we don't pre-train from any open weight existing model.
我们使用现有架构,但按照他们采用零费率的方式,我们只用几天时间进行预训练。我的意思是,我们最初花了几周时间完成这项工作,但之后它就预训练好了。然后,经过预训练后,它在预测下一笔交易方面表现相当不错。We use existing architecture, but the way they zero rate, we pre-training on couple of days. I mean, we did it in a couple of weeks initially, but then that's pre-trained. And then you and then when it's pre-trained, it's pretty good in predicting the next transaction.
完成这项工作后,你就可以将其用于许多下游任务。我们曾将它用于欺诈检测。现在,我们正在探索它在提高信用额度、反洗钱和营销方面的应用。And when you done with that, then you can use it for many downstream task. We did it for fraud detection. Now we investigating for credit line increase, investigating for anti-money laundering, investigating for marketing.
所以,现在不同的机构都在使用同一套基础,甚至包括富国银行。嗯,感谢邀请我,也谢谢大家。So, now the same foundation is used across different organizations even Wells Fargo. And yeah. Thank you for having me and thank you.