Deploying AI Inside a Bank Is Not an Engineering Problem — Paden Gayle, Applied AI Engineers
AI Engineer · 15 min · 250 sentences · from YouTube's caption track
Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.
- 00:00Hello and welcome.
- 00:00Today we will be talking about deploying AI inside of a bank and how it is not an engineering problem.
- 00:06Before we get into that, I want to introduce myself.
- 00:08My name is Payeyton Gail.
- 00:09I worked across many different fields.
- 00:11So I started off at consulting at Accenture.
- 00:14Before moving over to Bloomberg as a software engineer where I worked on a trade infrastructure team and a data platform team.
- 00:20Then afterwards I would be at Google working on security and deployment.
- 00:23And right now I am a founding FTE at a startup and writing the book on for deploy engineering with O'Reilly.
- 00:30In this example, the system reviews client documents and drafts exceptions for an analyst.
- 00:35The demo shows the intended workflow and everybody can see why it would be useful.
- 00:40Then security asks, okay, which environment will host it?
- 00:43The data owners ask who agreed to this use of documents and someone from risk asked who will review a wrong exception before it reaches the next system.
- 00:51Those are reasonable questions, right?
- 00:53Each question can change what we are allowed to build.
- 00:56The team has already invested a design while several people responsible for that design have never seen it.
- 01:01So in this case, the demo worked.
- 01:03The model was fine.
- 01:03However, it still did not ship.
- 01:05I want to now show you how to uncover those decisions in week one so you can design a system with a credible route into production.
- 01:14These four labels represent decisions your deployments depend on.
- 01:17For each one, I want a person who can explain the decision, the evidence they need, and the next step.
- 01:22So, let's start with data.
- 01:23Data, who owns the source, who can grant access, who can approve using this in the workflow.
- 01:29Those responsibilities may belong to different people, but being able to query a data set does not settle every question about how the application may use it.
- 01:36For the model risk, find a person who can tell you which review applies to the intended use.
- 01:41Ask what a previous submission looked like.
- 01:43Learn who will own the system after launch and what evidence that owner will need to maintain it.
- 01:48For third party risk, draw the actual dependency chain.
- 01:51Include the model provider, the host arrangements, and your role in the operating service.
- 01:56Find out which relationships have already been reviewed and which proposed changes require another decision.
- 02:02For audit, ask someone, right?
- 02:06For audit, ask what someone would need to reconstruct a consequential action.
- 02:10Which input was used?
- 02:11Which configuration produced the output?
- 02:13What did the reviewer see?
- 02:15And who approved the action?
- 02:17Those are the questions that affect the records you need to capture from from the beginning.
- 02:21Now imagine getting those answers after you built the whole entire system, a deployment boundary, a data path or action that may have to change.
- 02:29The useful move is to bring these people in and bring them into the design early.
- 02:34Their responsibilities help us identify the system we can actually operate.
- 02:39And here discovery is the engineering.
- 02:42So now we want to talk about what discovery is and who we need to really find out to understand what exactly we need to build.
- 02:51So you want to think every data set has an owner.
- 02:53The work I did at Bloomberg on the data platform team made this concrete for me.
- 02:57So building infrastructure for for an LLM meant understanding which data sets could be used and who could approve that use.
- 03:04The idea we want to get across is that every data set has an owner.
- 03:07My work at Bloomberg on the data platform team made this concrete for me.
- 03:10Building an infrastructure for an LLM meant understanding which data sets can be used and who could approve that use.
- 03:17Carry that into each bank deployment.
- 03:19Honestly, any deployment.
- 03:20So before designing retrieval, find the person accountable for each source.
- 03:24Confirm the allowed use and the environment where the processing can actually start to happen.
- 03:30If those answers change, your design changes with them.
- 03:33Imagine the key on this slide stands for a real permission with a real owner.
- 03:36We should be able to name that owner to know where exactly this key needs to come from.
- 03:43When starting to scope out an architecture, a lot of the questions you may have can be answered by looking at the or chart.
- 03:50Read the top row first.
- 03:51Documents go into the model and an analyst reviews the output.
- 03:54You can probably sketch that system in a few minutes.
- 03:57Now read the row underneath it.
- 03:58The documents have a data owner.
- 04:00The model service needs a platform owner.
- 04:01The analyst workflow needs someone who can confirm the relevant risk requirements.
- 04:05And the last name still has a question mark.
- 04:08That question mark is a dependency.
- 04:10We have designed a workflow without finding the person who can tell us whether its intended use is acceptable and what evidence will be required.
- 04:18So I would walk through this diagram with a sponsor or someone you trust and figure out, okay, who owns the documents?
- 04:23Have they heard about this use?
- 04:25Who can help us reach the appropriate reviewer?
- 04:27Then I would confirm the answers directly with those people.
- 04:30The real map will have more relationships than this.
- 04:33A technical component may depend on several approvals.
- 04:36Some decisions span the entire system.
- 04:38The point is to make those dependencies visible while the design is still easy to change.
- 04:42An unnamed owner becomes a specific task with a person responsible for resolving it.
- 04:47That is how discovery starts turning uncertainty into an implementation plan.
- 04:54And given that you may start to ask yourself, okay, Peyton, what sort of question should I be asking?
- 04:58So here are some of the questions I would bring to a discovery call.
- 05:02Where does the data live and who can approve reading it?
- 05:05Who has stopped it in a similar project before and why?
- 05:09Which existing controls could cover this workflow and who owns them?
- 05:13Where will this production run and who are the administrators for that environment?
- 05:17Who signs the relevant risk review and what have they signed before?
- 05:21What obligation is the sponsor personally worried about and who can explain it?
- 05:25Notice what I want to leave with.
- 05:27It's either names, decisions, or next conversations.
- 05:30If someone says security will be fine, ask will actually review the design and when you can meet them.
- 05:35Then close the loop.
- 05:36Send each owner a short description of the proposed use and confirm what they need from you.
- 05:40By Friday, the people whose decisions the deployment depends on should know the project exists.
- 05:45That gives scoping a much firmer starting point.
- 05:48And once all that is done and we know who owns the decisions, I can scope the work.
- 05:52When the customer cannot write or give out the spec, I rely on these three things.
- 05:56Shadow, draft, and shrink.
- 06:00For example, at Bloomberg, I worked on a system that handled cash flows.
- 06:03That work had to reconcile.
- 06:04That gave me a concrete place to start.
- 06:06So, it started with following.
- 06:09For example, at Bloomberg, I worked on a system that handled cash flows.
- 06:11The work had to reconcile and that gave me a concrete place to start.
- 06:15Follow the flow and the people responsible for it.
- 06:18I use that approach when a sponsor wants AI for onboarding.
- 06:20Sit with an analyst, watch which systems they open, where they make a judgment, and when they ask for permission, ask what happens when a document is missing.
- 06:29Write down the actual sequence.
- 06:30That is the beginning of your specification.
- 06:32Now, imagine we are building the document exception assistant.
- 06:36This is a hypothetical example, but I would still put these three lines in front of the sponsor.
- 06:40One, review the documents.
- 06:42Two, draft the exceptions.
- 06:43And three, analyst submits.
- 06:46Then I would make each line specific.
- 06:48Which documents can the analyst access?
- 06:50Is it access approved for this processing?
- 06:52What should the model produce?
- 06:54And that'll be a highlighted passage, a draft form or both.
- 06:57And who checks the draft?
- 06:59And also who submits it?
- 07:00For first version, suppose the output is a highlighted exception and a draft form.
- 07:04The analyst checks the source, edits the form and submits.
- 07:08That is the boundary someone can correct.
- 07:10I would also propose a success criteria.
- 07:13So either less review time with no increases and misconceptions.
- 07:17We still need to agree on how to measure that against the current workflow because that again right is the whole point.
- 07:22It is a proposal until we have an agreement.
- 07:25Take the draft to the sponsor and the control owners.
- 07:28They can cross out a document type.
- 07:30They can change the reviewer or they could just, you know, flat out reject the output.
- 07:33Each correction gives a decision we can build around.
- 07:37So once the workflow is complete, scope becomes a series of approval questions.
- 07:42So now let's grow our hypothetical system one step at a time.
- 07:46First, it summarizes a document that the analyst already has.
- 07:49We will still confirm whether that existing access covers its use.
- 07:53Next, it reads from a second system.
- 07:56Now, there's another data path and somebody needs to approve it.
- 07:59Next, after that, it drafts a response that a customer will see.
- 08:02Who checks the content and which will review the applies that we can use.
- 08:07Finally, it sends a response automatically.
- 08:09Who owns that action?
- 08:10What happens if it sends something wrong?
- 08:12And how do we stop it and recover it?
- 08:14Those are the four different engineering scopes.
- 08:16The applicable reviews depend on the institution and the use case.
- 08:20So I would confirm them with people who own those decisions.
- 08:24Then I ask which increment creates the useful value today.
- 08:27Could I draft inside the analyst's current workflow to solve enough of the problem?
- 08:31If so, start there.
- 08:33Confirm that the existing control really fits and build the smallest useful version or the MVP with a credible path of approval.
- 08:42That brings me to autonomy.
- 08:43I start with the least authority that the problem solved then ask what task can be proven as evidence to give the system more.
- 08:49So when working on cash flows at Bloomberg I thought about automation a lot of the time.
- 08:54So every automated step needs a control and somebody owns a number.
- 08:57I carry that discipline into AI.
- 08:59So find the consequential action name its owner decide what happens when the system is wrong.
- 09:04So for example in a hypothetical exception workflow the submission is that action.
- 09:08An analyst reviewing the draft needs the source evidence and visible uncertainty to make a real judgment.
- 09:14A review button only helps if the person can actually check the work.
- 09:19So when thinking about autonomy, I want you to read the ladder from bottom up.
- 09:22Suggest means the analyst receives a recommendation and chooses what to do with it.
- 09:26Draft means the system prepares something the analyst checks and submits.
- 09:30That is a highlighted step.
- 09:32Acts with approval means a person authorizes each action before it happens.
- 09:35Acts means the system operates within limits that have already been approved.
- 09:39Each step changes the consequences of an error.
- 09:42However, it also changes which controls must work and which reviewer needs to be convinced.
- 09:47I would start at the lowest step that creates value.
- 09:49Then collect evidence from there.
- 09:51Are the reviews overriding the drafts?
- 09:53Which failures keep recurring?
- 09:54Can people recover when something breaks?
- 09:56Use those observations to make the next authority decision.
- 09:58A model does not become more capable by itself.
- 10:02Answer how much authority this particular workflow should give it.
- 10:06So now let's make that concrete with the same hypothetical exception assistant.
- 10:10Suppose the initial request is an agent that reads client documents, decides which ones fall outside of policy, and files exceptions automatically.
- 10:19In that design, the model's judgment can become an operational action without an analyst checking each case.
- 10:25Now keep the model and change the action boundary.
- 10:27It highlights a likely exception, points to the relevant source, and prepares a draft form.
- 10:32The analyst checks the evidence, corrects the form, and chooses whether to submit.
- 10:36Follow that sequence on the slide.
- 10:37Model, human, submit.
- 10:39I'll take that design to the people we found during discovery.
- 10:42Can this use the analyst existing workflow?
- 10:45Does the approved data access cover the processing?
- 10:47Which controls apply?
- 10:49And what evidence do the reviewers need?
- 10:51Human review does not guarantee approval and it does not determine a regulatory category on its own.
- 10:56We still have to confirm the intended use and the required reviews.
- 11:00The useful question is whether this drafting version solves enough of the problems to ship first.
- 11:04If it does, we can collect evidence about errors, overrides, and recovery while operating within that boundary.
- 11:10The next decision about authority can draw on what happened in real use.
- 11:14That makes the evaluation part of the operating plan.
- 11:17And that brings us to our fourth promise.
- 11:19An evaluation the risk team can use for evidence, which really just means the ones they're responsible for managing.
- 11:26At Google, the question I needed answered was what happens when the system breaks, who notices, what stops, who takes responsibility, how long will it take to bring back up.
- 11:35For an AI deployment, I want the same concrete account, right?
- 11:39The intended use, a threat model, the failure modes, and a response plan.
- 11:43Show me the controls working when the model gets something wrong.
- 11:47Name the person who receives the alert and can stop the workflow.
- 11:50That gives a practical way to evaluate our example.
- 11:54So going back to our lovely example, the hypothetical exception assistant.
- 11:58If it invents an exception, the analyst checks the source passage and rejects the draft.
- 12:04If extraction produces unreadable text, stop and request a clean file.
- 12:08If it misses exceptions, targeted offline cases help expose that weakness.
- 12:13They do not detect every live miss.
- 12:15Keep affected work under manual review.
- 12:17For each failure, name the detection path, the fallback, and its owner.
- 12:20Put those decisions in an evidence pack.
- 12:23These five files make the review complete.
- 12:25Intended use, record users, boundaries and prohibited actions.
- 12:29Data lineage, records, each example source and use approval, failure modes, records detection and fallback, results by segment, record coverage and errors controls, record reviews, thresholds, stopping rules and owners.
- 12:44So with all of this, we generate the evidence with each evaluation run.
- 12:48alongside it preserve the input prompts model version configuration output reviewer action that lets us reconstruct the historical decision.
- 12:56Calling the model again later may produce a different answer.
- 12:59So we preserve what actually happened.
- 13:01A reviewer can then expect that supporting record.
- 13:04So now we can take a look to see like what exactly is being used to organize that result which is in the fourth file.
- 13:12For a hypothetical workflow, I would separate clean documents, scans, rare exceptions, and new document types.
- 13:18Measure the errors and control behaviors in each group, then lead with the weakest result.
- 13:22An average can hide a serious gap in one segment.
- 13:25If a group has a little evidence, say so and restrict that use until you have enough.
- 13:30This tells reviewers what the results support.
- 13:33And it also brings us back to our week one decisions.
- 13:36Now, just rounding everything up by Friday, I want five answers.
- 13:41Is the data owner engaged and aware of this project?
- 13:44Are the production environment and its administrators named?
- 13:47Can the sponsor describe the workflow without saying AI?
- 13:50Can the smallest useful scope fit existing controls confirmed with their owners?
- 13:55Do we know the risk signer and what happened to the person that signed last time?
- 14:00Use those answers as a planning heristic.
- 14:02Four or five yeses suggest a credible path to ship.
- 14:04Three means unresolved decisions need owners and dates.
- 14:07Zero to two means resolve this decisions before committing to delivery, including possibly shrinking scope or even redefining scope.
- 14:14This score does not predict approval, but it does tell us where to spend the next week.
- 14:19And here is what I would carry into these next conversations.
- 14:24So to wrap this up, what I want people to walk away with is that discovery is the engineering.
- 14:29Draft the spec, then shrink it.
- 14:31Give the system only the authority it needs.
- 14:33Build the evidence pack in sprint one.
- 14:36The demo worked.
- 14:37The model was fine.
- 14:38It still did not ship.
- 14:40So what do we do?
- 14:41We go find the people.
- 14:43Thank you for going through this presentation with me.
- 14:46My name is Peyton Gail.
- 14:47I am a founding for deployed engineer writing the book on FTE for O'Reilly.
- 14:52And yeah, love to talk about FTE and everything related to it.
- 14:55If that's of interest, you can find me on LinkedIn or my website painting.com has all of my information.
- 15:02Thank you again for watching today and yeah looking forward to