Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryFinancial LiteracyInvestment Banking Analyst
Private Equity AnalystHedge Funds AnalystBreaking Into VCBreaking Into QuantsAI For Finance
Financial Analyst ProgramRisk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Internships
Equity Research InternMutual Fund Intern
Portfolio Management InternFinancial Literacy Intern
Explore Micro Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
Courses
Explore Career Roadmaps
Investment Banking AnalystEquity Research AnalystVC AnalystPrivate Equity AnalystHedge Funds Analyst
Quant AnalystAI For FinanceFinancial Analyst ProgramPrivate Wealth ManagementDebt Capital Markets
Risk Management ProgramDerivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
AI, Automation & Digital Finance
1AI Foundations
Artificial Intelligence in FinanceAlgorithmNeural Networks and Deep LearningMachine LearningArtificial Intelligence vs Machine…Computer Vision in FinanceTraining Data and LabelsNatural Language Processing in Finance
2Generative AI
Generative AIGenerative AI vs Predictive AILarge Language ModelsEmbeddingsHallucinationFine TuningPrompting vs Fine TuningThe PromptThe Context WindowTool CallingGroundingVector DatabasesRetrieval Augmented GenerationRAG vs Fine Tuning
3Automation and Workflow
Workflow AutomationAutomation vs AugmentationHow to Map a…Straight-Through Processing and Exception…Robotic Process AutomationRule EnginesMachine Learning vs Rule-Based…
4Document and Operations AI
Intelligent Document ProcessingBatch vs Real-Time vs…Document Classification vs Entity…Service Level AgreementsCase ManagementHow to Document Data…Reconciliation AutomationOptical Character Recognition and Data ExtractionConfidence Scores
5Customer Systems, Identity and Digital Assets
Digital IdentityConsent ManagementBlockchain and Distributed LedgerChatbots and Conversational AIFrom Use Case to ProductionDigital Assets and TokenisationDigital SignaturesData Sharing in FinanceElectronic KYC and Digital Onboarding
6Credit and Fraud Systems
The Fraud AlertCredit Decisioning SystemsHuman in the Loop…Adverse ActionAnomaly DetectionThe Decision ThresholdCredit Score vs Credit DecisionAlert Triage and EscalationFraud Detection and Transaction MonitoringFraud Model vs Credit ModelHow to Build Human…
7Governance, Data and Vendors
AI Governance and the AI PolicyHow to Create an…Explainability and Interpretability ComparedThe AI VendorBias and Fairness in Financial AIShadow AIAccess Control and Data MinimisationCloud Computing in FinanceData Lineage and Master DataData ResidencyThe AI Use Case Register and Model InventoryThe Model Owner
8Model Performance, Monitoring and Resilience
Model DriftFalse Positives and False NegativesClassification MetricsAdversarial AttacksModel TestingBias, Fairness and Explainability…Stopping an Automated SystemModel ValidationAI Governance vs Model Risk ManagementPrompt InjectionHow to Create an…

Neural Networks and Deep Learning: When More Layers Help

A neural network is an input layer, one or more hidden layers, an output layer, and a set of weights between them that were fitted from past examples rather than written by a person. Deep learning means several hidden layers instead of one. Extra layers let a component handle harder inputs and cost the ability to state, in words a customer would accept, why it produced any particular answer.

Nothing inside that structure holds a reason. A weightA fitted number setting how strongly one unit's value carries into the next. is a number that survived fitting because it lowered the error across a great many examples, and no single weight and no single layer corresponds to a step in an argument. The missing reason is not a shortcoming of anybody's build. The missing reason is what a network is. A deployer either accepts that in a given place, or does not put one of these there.

So the interesting question is never whether a component ought to have more layers. The question worth asking is what the extra layers are buying, what they are costing, and whether the place they are going can afford the loss. Sumeru Bank Limited, an invented lender, answered that question twice on the same day, in opposite directions, for two parts of the same lending system.

How is a neural network actually put together?

Picture a room with four rows of clerks. The first row is handed the numbers read off a form. Every clerk in the second row reads all of the first row's numbers, multiplies each one by a figure written on a card in front of them, adds up the results and writes down a single number of their own. The third row does exactly the same to the second row's numbers. The last row produces four numbers, one for each answer available, and the largest of the four is the answer the room gives. Nobody after the first row ever sees the form.

The room is a neural networkA component built as layers of connected units with fitted weights between them. with nothing left out. A network has four named parts and no fifth one. An input layerOne rank of units, all reading from the rank before it and feeding the rank after. holds the numbers read off the thing being classified. One or more hidden layersAny layer between the inputs and the output, whose values nobody reads directly., called hidden for the unexciting reason that nobody reads their numbers on the way past. An output layer, one unit for each answer the component is allowed to give. And the weights: the figure on each clerk's card, one for every line running from one unit to the next.

All of the behaviour lives in the weights, and the weights were arrived at by fitting rather than written down by anybody. The layer count only decides how many times the numbers get combined before they come out the other end. Being slightly unimpressed by all of this is the right response. The awkward part of the subject comes from how ordinary the structure is, not from how clever it is.

Sumeru Bank Limited runs one of these as component 3 of its intake chain, the document classifierA component that decides which kind of document an image is. that decides whether the image a customer has just uploaded is a salary slip, a bank statement, an identity proof or an address proof. Numbers read off the image go in at one end and four numbers come out at the other, and the largest of the four is the kind of document the bank then treats it as.

THE WHOLE STRUCTURE, AND ITS FOUR NAMED PARTS INPUT LAYER HIDDEN LAYER 1 HIDDEN LAYER 2 OUTPUT LAYER salary slip bank statement identity proof address proof numbers read off the image 52 lines here, each carrying one fitted weight 1 INPUT LAYER 2 HIDDEN LAYERS 3 OUTPUT LAYER 4 THE WEIGHTS Not one of the four parts is a step in an argument, and part 4 is the only one that was fitted rather than chosen.
An input layer takes the numbers in, one or more hidden layers pass values forward through fitted weights, and an output layer produces the answer, and none of those parts holds a reason for it.
Try it out

Which set below names the four parts of the structure?

Breaking Into Quants Bootcamp — Fin Maverick

What is a weight, and why does it hold no reason?

A weight is one number on one line, and nobody chose it. The weight settled where it settled during fitting, a process covered separately. No document anywhere records why it came out at one value rather than another. There is nothing to read. Nothing was ever written down, so there was never anything to read.

Against that sits the written half of the same system. Component 5 of the intake chain, the step that checks declared income against the statement, is a procedure 34 lines long. Neelima Rao in the risk function read all 34 of those lines in 25 minutes and could then say exactly what the component would do to any file put in front of her. There is no equivalent of that reading anywhere inside a network, and no amount of care by whoever built it can put one there.

The second thing catches deployers out. Every unit in a layer reads every value from the layer before it. So one number in the second row is already a blend of all five numbers in the first row, and after four rows the output is a blend of a blend of a blend of a blend. The structure never held that information in the first place. Nothing in it records which of the original numbers mattered.

The shape of this is familiar from ordinary life. A household closes the month Rs 3,000/- short. The shortfall is genuinely made of about four hundred small decisions across thirty days, and no single one of them caused it. A story can be told afterwards about the wedding gift or the extra autorickshaw fares, and the story may even be useful, but it is a story constructed after the event rather than a record kept during it. The network is in exactly that position on every single document.

ONE UNIT, AND EVERYTHING THAT WENT INTO IT values move this way, on every document, and never the other way ONE NUMBER, MADE OF ALL FIVE BEFORE IT times five weights nobody wrote down There is no path back. Nothing here records which of the earlier numbers mattered to the answer. Sumeru Bank Limited is invented, and the structure drawn here is its document classifier rather than any real one.
Every unit in a layer reads every value from the layer before it, so by the output there is no path back to a single unit that mattered.

What does deep learning add, and how many layers make something deep?

Deep learningBuilding with several hidden layers rather than one. means building with several hidden layers rather than one. Several hidden layers rather than one is the whole content of the word, and anyone who says otherwise is selling something. Deep learning is not a different kind of mathematics, not a different kind of component and not a different kind of governance problem. A deep build is the same four parts with more of the second one.

How many is several? There is no agreed count. The word was never defined against a threshold. Five practitioners asked where deep starts will answer three, five and ten, and none of them will be wrong. The layer count is a description of a build rather than a category a build falls into, and chasing the number at which several becomes deep is the most reliable way to waste a meeting.

The pair of questions the count hides is worth a meeting. Ask what the extra layers bought on the task actually at hand, and what they cost on that same task. Both of those can be measured on the build in question. The definition cannot. Sumeru answered both of them with a number, and its committee could then argue about the answer rather than about the word.

THE ONLY DIFFERENCE THE WORD DEEP NAMES ONE HIDDEN LAYER FOUR HIDDEN LAYERS Not deep, by most descriptions Deep, by most descriptions There is no agreed count at which several becomes deep, and no decision a deployer takes turns on where the line is drawn.
The word deep names one difference and only one: several hidden layers where there might have been a single one, with no agreed count separating the two.
Try it out

How many hidden layers make a component deep?

What do more layers actually buy?

Harder inputs, read correctly. The answer is honest, and it is narrower than it sounds.

Think about what actually arrives at Sumeru. An applicant photographs a salary slip on a handset at a kitchen table at ten at night. A thumb covers one corner. The paper is folded across the middle so one line of figures bends away from the camera. A bank statement arrives as a photograph of a laptop screen, with the room reflected in it. An identity proof arrives with an office stamp printed across the text, so the letters underneath are half ink and half paper. Every one of those is still, obviously, a salary slip or a statement or an identity proof to a person glancing at it for one second.

A component with a single hidden layer combines what it reads once, and then has to give an answer. A single combination is enough when the useful signals are more or less directly readable: this region is dark, this block sits in the upper third, this line has more digits than words. A single combination is not enough when the useful signal is itself a combination of combinations. A folded, stamped, half reflected document carries exactly that. Extra layers do not add information to the input; they add ways of combining the information that is already in it.

Which is also why the honest answer to what more layers buy is: it depends entirely on the task, and mostly on how messy the inputs are. On tidy inputs the first combination already found what there was to find. The extra layers then buy close to nothing. On the documents Sumeru's applicants actually upload they bought something, and the bank measured how much rather than assuming it.

What do more layers cost, and who pays it?

One sentence. Specifically, the sentence somebody at the bank can say about one particular answer.

At two hidden layers, a reviewer at Sumeru could look at a single classification and name the feature that drove it: this was read as a salary slip mainly because of the stamped block in the upper third. At four hidden layers the bank could not produce that sentence for any one document. Not that the sentence was hard to produce, or expensive, or needed a specialist. A value four layers deep is a blend of a blend of a blend, and the structure never kept a record of which strand was which. There was nothing to produce the sentence from.

So the cost of depth is not money and it is not accuracy: it is a reportable reasonA statement about why one answer came out, in words the recipient can act on., and whether that cost is bearable depends entirely on who was going to ask for one.

In most of life nobody asks. If a photo application on a handset picks the wrong filter for a family picture, no explanation is owed to anybody and none is missed. Finance is not most of life. A person refused a loan can ask why, a supervisor can ask why, and the answer has to be in words the person on the other end can do something with. The obligation to answer is the whole reason this trade is a governance question in a bank and a shrug almost everywhere else.

WHAT A REVIEWER CAN SAY ABOUT ONE PARTICULAR DOCUMENT THE TWO LAYER BUILD THE FOUR LAYER BUILD Reviewer note, one document Read as a salary slip mainly because of the stamped block in the upper third. Reviewer note, one document Read as a salary slip mainly because of NOTHING TO FINISH THE SENTENCE WITH A REPORTABLE REASON: AVAILABLE A REPORTABLE REASON: NOT AVAILABLE The missing half sentence is the entire cost of the deeper build. It is not recoverable by asking the team to try harder. One invented bank, one classification task. Both notes are illustrations rather than extracts from any real file.
On the shallower build a reviewer at this invented bank could name the feature that drove one classification, and on the deeper build the same sentence could not be completed for any single document.
Try it out

Before the numbers appear. One task, built shallow and built deep. How much accuracy does the deeper build add?

What did one bank measure when it built the same classifier twice?

Sumeru built component 3 twice before deploying either version, on the same four kinds of document and the same fitting examples, changing the layer count and nothing else. The shallow build used two hidden layers and read 91.5 per cent of documents correctly, and a reviewer could name the feature that drove any given classification. The deeper build used four hidden layers and read 96.2 per cent correctly, with no equivalent statement available for any one document.

Both figures belong to one bank, one task, and that bank's own four kinds of document. Neither figure says anything about what such components achieve anywhere else. A different bank with different documents would measure something different, and measuring it was therefore the whole point rather than looking the number up.

The gap is 4.7 percentage points, and 4.7 is the price of the explanation on this task. Not the price of explanations in general, and not a rate anybody can quote. One number, one task, one committee, one afternoon.

THE SAME TASK, BUILT TWICE, WITH ONLY THE LAYER COUNT CHANGED TWO HIDDEN LAYERS FOUR HIDDEN LAYERS Documents read correctly, on a scale of 0 to 100 per cent 91.5% 96.2% +4.7 POINTS The lime sliver on the right is the whole of the gain, drawn on the same scale as the bar beside it. A NAMEABLE DRIVER PER ANSWER yes, one sentence per document A NAMEABLE DRIVER PER ANSWER none, for any document DEPLOYED FOR CLASSIFICATION no DEPLOYED FOR CLASSIFICATION yes, this is the build that runs 4.7 percentage points bought, one sentence per document given up, on one task at one invented bank. Neither reading is a claim about what components of this kind achieve on any other task or anywhere else.
Two hidden layers classified 91.5 per cent of documents correctly with a nameable driver behind each answer, and four hidden layers classified 96.2 per cent correctly with none.

Percentage points are hard to feel, so translate them into the month. Sumeru's applicants send 4 documents on each of the 8,600 files that reach the decision engine, for 34,400 documents in a steady month. At 91.5 per cent, 2,924 of those are read as the wrong kind of document. At 96.2 per cent, 1,307 are. The deeper build misreads 1,617 fewer documents a month, more than half of what the shallower one got wrong.

The month at 96.2 per centDocumentsWhat happens to them
Read correctly33,093Nothing. The file moves on.
Misread and caught later1,224A downstream check catches it at no cost.
Misread and reaching a person83Lands on the exception desk, inside the 1,264 files whose exception cause was a field the reading step could not read.
All documents in the month34,4004 documents on each of 8,600 files.
DOCUMENTS READ AS THE WRONG KIND, IN ONE STEADY MONTH OF 34,400 2,924 two hidden layers at 91.5 per cent 1,617 FEWER MISREAD what the 4.7 points bought 4.7 per cent of 34,400 1,307 four hidden layers at 96.2 per cent, the deployed build 1,224 caught later 83 reach a person 1,224 + 83 = 1,307
Moving from 91.5 to 96.2 per cent cut the documents read as the wrong kind from 2,924 a month to 1,307, a fall of 1,617, of which 1,224 would have been caught later anyway and 83 reach a person.
Try it out

34,400 documents a month. Moving the classifier from 91.5 to 96.2 per cent changes the number read as the wrong kind by roughly how many?

AI For Finance Bootcamp — Fin Maverick

Which rule decided where that cost was accepted, and where it was refused?

The same committee, in the same session, took the deeper build for the document classifier and refused it for component 6, the scoring model. The pair of decisions looks inconsistent for about four seconds. The pair is consistent, and what separates the two cases has nothing to do with layers, methods or how modern anything is.

The question is: can this output refuse somebody, and does a reason have to be stated?

For the classifier, no. No applicant is ever refused by a document classifier. The classifier decides what a document is. Its output never leaves the system. When the classifier gets one wrong, the file either fails a later check or lands on Ismail Sheikh's exception desk, where a person opens it and looks. Nobody is owed a sentence, so giving up the sentence costs nothing that anyone will ever ask for.

For the scoring model, yes. The scoring model declined 688 applications in that same month, and a declined applicant can ask why. Revathi Balan, head of retail credit, is the named accountable person for that component, and she is the one who would have to say the sentence out loud. Sumeru refused the trade there and kept a structure it could report reasons from, accepting whatever accuracy that cost.

The rule is about the person on the other end, not about the method. One committee could therefore take the accuracy in one place and refuse it in another on the same afternoon without contradicting itself once.

ONE QUESTION DECIDED BOTH ANSWERS CAN THIS OUTPUT REFUSE SOMEBODY, AND DOES A REASON HAVE TO BE STATED? NO YES TAKE THE ACCURACY Component 3, the document classifier. Its output never leaves the system, and a misread document is caught later or opened by a person on the desk. REFUSE THE TRADE Component 6, the scoring model. It declined 688 applications that month and each of those people can ask why, so the reason is part of the output. The branch turns on who is on the other end of the output, not on which method or how many layers were on the table. Sumeru Bank Limited and both decisions are invented, and describe one deployment rather than a practice anywhere.
Where nobody is refused by the output and a mistake is caught downstream, the bank took the accuracy; where an applicant can be refused and told why, it refused the same trade.
Try it out

The same committee took the deeper build for classification and refused it for scoring. Is that inconsistent?

Financial Analyst Program Bootcamp — Fin Maverick

Bias vs variance: what does the layer count actually trade?

Underneath the layer count sits a trade with a name older than any of this, and it is worth having the name because it stops the argument going in circles.

Set the count too low and the component cannot represent what it is looking at. The component is not confused by particular documents. The error runs in a consistent direction on nearly all of them, in the way a straight ruler is wrong about a curve everywhere at once. Error of that consistent kind is called biasError that comes from a component being too simple to represent what it is reading., and adding layers reduces it.

Set it too high and the opposite thing happens. The component now has enough structure to follow the particular examples it was fitted on very closely, including the accidents in them: the lighting in one channel's photographs, the way one form's boxes happen to line up. The component carries those accidents forward as though they were the point. A build like that is right on documents like the ones it learned from and wrong on documents that arrive a little differently. Error of that particular kind is called varianceError that comes from a component tracking the particular examples it was fitted on., and adding layers increases it.

One dial, two failures, pulling in opposite directions, and no setting that removes both. Every layer count anybody ever chooses is a position on that trade, whether or not the person choosing knew they were choosing.

How that trade is measured, how a set of examples is put together to measure it on, and the statistics underneath the two words are covered separately. A deployer needs something narrower, and it holds regardless: the dial exists, it has a bad end in both directions, and the position on it is found by measuring on the task at hand rather than by reasoning about the count.

THE TWO WAYS ONE COMPONENT CAN BE WRONG, AND THEY LOOK NOTHING ALIKE TOO FEW LAYERS: BIAS TOO MANY LAYERS: VARIANCE documents like the ones it was fitted on ok x ok x ok x documents arriving from somewhere new ok x ok x ok x documents like the ones it was fitted on ok ok ok ok ok ok documents arriving from somewhere new x ok x x ok x Wrong on three of six in both rows: the same error everywhere, and no gap between the rows. Wrong on none of six and then four of six: a gap between the two rows is the whole signal. FEWER LAYERS MORE LAYERS one dial, and both ends of it are bad Illustrative tiles rather than measured counts. How the trade is measured is covered separately and is not shown here.
Too simple and it is wrong the same way on every document; too closely fitted and it is right on the documents it learned from and wrong on new ones.
Try it out

A component is wrong in the same direction on almost every document it sees, old and new alike. Too simple, or too closely fitted?

Too few layers and too many: how does one component fail in two opposite ways?

Sumeru did not settle the layer count by argument. The bank built the classifier at every count from one hidden layer to six and took two readings each time. The first reading is the share of documents read correctly on documents like the ones it was fitted on. The second is the share read correctly on the same four kinds of document arriving from a channel that was not in the fitting set: same documents, same task, different origin.

Before the readings appear, a guess is worth committing to. The shape of the second reading is what almost nobody predicts.

Try it out

As hidden layers are added one at a time, what happens to the reading on documents from a channel the component never saw?

TWO READINGS FROM THE SAME CLASSIFIER, AT SIX LAYER COUNTS 86 88 90 92 94 96 98 per cent 88.0 91.5 94.0 96.2 97.4 98.1 86.5 90.0 92.3 93.1 91.0 87.2 DOCUMENTS LIKE THE ONES IT WAS FITTED ON THE SAME DOCUMENTS FROM AN UNSEEN CHANNEL peaks at four layers and falls away after it 1 2 3 4 5 6 NUMBER OF HIDDEN LAYERS One classification task at Sumeru Bank Limited, invented. Per cent of documents read as the right kind.
Adding layers kept improving the classifier on documents like the ones it was fitted on, and improved it on documents from a channel it had not seen only up to four layers, after which that second reading fell away.
Play with it

Move the layer count, and watch both readings at once

One control: the number of hidden layers, from 1 to 6. One consequence: two bars redrawing, the share of documents read correctly on documents like the ones fitted, and the share on the same four kinds arriving from a channel that was not in the fitting set. The reading being watched can also be changed. A deployer who watches only the first reading takes a different build. The default below is four layers, giving 96.2 per cent and 93.1 per cent for a gap of 3.1 percentage points. Sumeru deployed that build, and the two layer build named above sits at 91.5 per cent on the first reading.

TWO READINGS FROM ONE CLASSIFIER, ON A SCALE OF 0 TO 100 PER CENT read correctly read as the wrong kind DOCUMENTS LIKE THE ONES IT WAS FITTED ON 96.2% THE SAME FOUR KINDS, FROM A CHANNEL NOT IN THE FITTING SET 93.1% GAP 3.1 POINTS 1 layer 2 layers 3 layers 4 layers 5 layers 6 layers BEST BUILD ON THE READING BEING WATCHED Every other build choice is held fixed as the layer count moves, which is not how a real comparison is run. One classification task at Sumeru Bank Limited, invented, on four kinds of document, with one channel outside the fitting set.

4 hidden layers

Hidden layers
4
Like the ones fitted
96.2%
Unseen channel
93.1%
Gap
3.1

Four hidden layers. This classifier reads 96.2 per cent of documents like the ones it was fitted on correctly, and 93.1 per cent of the same four kinds arriving from a channel that was not in the fitting set, a gap of 3.1 percentage points. Watching both readings, four layers is the best build on the table, and it is the one this invented bank deployed.

Educational illustration. Readings are one bank's own, measured on one classification task, and a different bank with different documents would measure something else.

The first reading climbs the whole way, from 88.0 per cent at one hidden layer to 98.1 at six. The second reading climbs to 93.1 at four layers and then falls. By six layers it is down to 87.2, worse than the two layer build managed. A deployer watching only the first reading would have taken six layers and shipped the worst performance on new documents of any build on the table. Every number on the report in front of him went up.

O'Neil's point in Weapons of Math Destruction arrives in a very ordinary form: a component's errors do not fall evenly. The errors collected on documents from one channel. In practice they collected on whichever group of applicants happened to use that channel. Nobody chose that, and nobody would see it from the headline reading either.

Debt Capital Markets Bootcamp — Fin Maverick Reading an Option Payoff — free micro-course from Fin Maverick

Why does asking which layer refused the application have no answer?

Six weeks after go-live, an applicant asked Sumeru which part of the system had refused the application. A manager answered by naming the third layer of the model.

There is no sense in which that is true, and it fails in three separate ways at once. No layer holds a reason, so there is nothing in the third layer that could be the reason. Every value in every layer is a blend of everything before it, so no layer produced the answer on its own. And the same answer would have come out with the weights arranged quite differently, so even the arrangement is not the explanation.

The real danger is not that the answer was wrong; it is that it sounded mechanical enough that nobody checked it. An honest answer, that the structure does not hold a reason and the decision rests on something else, invites the next question. Naming a layer closes the conversation. Closing the conversation is precisely what made the answer spread.

THE ARTEFACT: ONE LINE WRITTEN INTO A CUSTOMER FILE CUSTOMER FILE NOTE, MONTH 6 Query received Which part of the system refused my application? Answer given The third layer of the model refused it. Repeated by two other people. Withdrawn at the month 12 independent validation. WHY IT IS NOT TRUE, THREE TIMES OVER 1 No layer holds a reason, so there is nothing in the third one to point at. 2 No layer produced the answer alone. Every value is a blend of all before it. 3 The same answer would have arrived with the weights arranged differently. IT SOUNDED MECHANICAL, SO NOBODY CHECKED The cost was not the embarrassment. It was six months of the same sentence going to an unknown number of applicants. Sumeru Bank Limited and this file note are invented, and the note is an illustration rather than a real record.
A manager told an applicant that the third layer had refused the application, two other people repeated it, and it had to be withdrawn at validation six months later.

The error that gets made, and what it costs

The mistake was not naming the wrong layer. The mistake was answering a question about a reason with a fact about a structure. The applicant asked why, a question about the decision. The manager answered where, a question about the build. The two are not the same question even when the second one has a true answer.

The answer went into the file. Two other people read the file and repeated it, once in writing. The sentence sounded like the kind of thing an engineer says. Nobody at any point asked what a layer would have to be for the sentence to make sense.

The answer was withdrawn at the month 12 independent validation, six months after it was first said. By then the bank could not establish how many applicants had been told the same thing, a worse position than never having had an answer at all.

Try it out

An applicant asks which part of the system refused the application. What is the honest answer?

No layer holds the reason a refusal needs. See what a network can report.

How does a lender, a reviewer or a board actually use this?

What each of them does with a layer count

A board member is shown a spend and a build. Sumeru put Rs 2,40,00,000/- into building the intake chain once and spends Rs 65,00,000/- a year running it, and neither figure tells her anything about the trade between accuracy and a reportable reason. One short question does tell her: for each component in the chain, can its output refuse somebody? Wherever the answer is yes, a build that cannot produce a reason is a decision the board has taken, whether or not anybody described it that way in the paper.

A reviewer uses the layer count as a flag rather than a finding. A deep build is not a problem and a shallow one is not a comfort. The count tells a reviewer which kind of evidence to ask for. On a shallow build, what drove a particular answer can be asked. On a deep build that question has no answer, so the evidence has to be about measured behaviour across many files instead. Asking the wrong one of those two questions wastes a fortnight and produces nothing anybody can use.

Before the complaint arrives, a customer-facing manager uses the layer count to know which sentences she is able to say. Where the answer came from a written component she can show the procedure. Where it came from a deep build she can give an attributed reason and nothing more, and she needs to know which case she is in while the customer is still on the phone. Agrawal, Gans and Goldfarb make the same point about learned components generally: what comes out is a prediction, and a person still has to decide what to do about it, including what to say.

India

Who sets expectations where a component cannot report a reason

A bank in India deploying a component whose output affects a borrower sits under the Reserve Bank of India. The Reserve Bank publishes its expectations on digital lending, outsourcing, customer data and consent at rbi.org.in. Where the deployer is a market intermediary rather than a lender, the equivalent expectations come from the Securities and Exchange Board of India at sebi.gov.in. Requirements, thresholds and effective dates move, and the current position appears at the issuing body's own site.

How a network is fitted, how a layer count is chosen by measurement, and how any of it is validated are covered separately. The statistics underneath the trade between fitting the examples already held and handling the ones that were never seen, including how that trade is measured and how a set of examples is designed to measure it on, are covered separately too. How a refusal is explained to an applicant is covered separately.

Sources

SourceDocumentSite
Reserve Bank of IndiaExpectations on a regulated lender covering digital lending, outsourcing, customer data and consentrbi.org.in
Securities and Exchange Board of IndiaExpectations where the deployer of such a component is a market intermediarysebi.gov.in
Bank for International SettlementsInternational supervisory material on the deployment of such components by banksbis.org
Cathy O'NeilWeapons of Math Destruction, on the errors of a fitted component falling unevenly across a populationCrown
Agrawal, Gans and GoldfarbPrediction Machines, on a learned component producing a prediction a person must still act onHarvard Business Review Press

Sumeru Bank Limited, Revathi Balan, Ismail Sheikh and Neelima Rao are invented.
Educational material. Not advice on any investment, tax, budget or market position.

Covered in this topic

Subtopics

Deep LearningBias vs Variance
← PreviousNext →
Fin Maverick Micro CoursesExplore Micro Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsCareersShowdown
RESOURCES
All CoursesMicro CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.