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…

Document Classification vs Entity Extraction

Document classification decides what a document is. Entity extraction decides what values sit inside it. Classification runs first and its answer sets the field list extraction then goes looking for, so a wrong classification does not produce a small error downstream, it sends the extraction after fields that were never on the document. The two steps fail differently, and each needs its own measure.

Classification and extraction sit next to each other in one chain, they are usually built by the same people in the same quarter, and they are almost always reported on one slide with one number each. Reporting one number each is where the trouble starts. A chain is not the average of its parts. Money should not go to whichever step carries the lower accuracy figure. Money should go to whichever step's errors survive long enough to reach a person. At the bank in this case the more accurate of the two steps is also the one whose mistakes are almost entirely caught for nothing. The less accurate step has no free catch behind it at all. The two accuracy figures rank the steps one way and the free catch reverses that ranking.

What does each of the two steps actually assert?

Consider a pile of paper on a table, a familiar enough scene. Somebody hands over an envelope from a tenant applying for a flat. The first act is not to read anything carefully but to sort: this is a salary slip, this is a bank statement, this is an electricity bill, this is a photocopy of an identity card. Only after the sorting does the reading of values begin, and what gets read off each one depends entirely on which pile it went in. The salary slip supplies an employer and a net pay figure. The electricity bill supplies an address. Nobody looks for an employer on an electricity bill, and the reason nobody does is that the type of the document has already been decided.

Sorting before reading is the whole shape of it. Document classificationDeciding which kind of document a piece of text or an image is. asserts a type for the whole document: this is a pay slip. One document, one answer. Entity extractionPulling a named value, such as an employer or an amount, out of a document. asserts a value for a named place: the net pay on this document is Rs 38,000/-. One document, many answers, one for each field it was asked to find. The two steps do not differ in difficulty or in cleverness, they differ in what kind of sentence they produce, and every other difference in this guide follows from that one.

At Sumeru Bank Limited, invented for this guide, the retail loan intake chain receives 4 documents on each of the month's 8,600 completed files. Four documents on each of 8,600 files makes 34,400 documents. The classifier produces one answer for each of those 34,400. The reading step then produces 14 field values for each file, and 14 values on 8,600 files makes 120,400 values in the month. Two steps, one after the other, and their outputs are not even counted in the same unit.

Two steps in one chain, producing two completely different kinds of sentence. CLASSIFICATION EXTRACTION What it asserts A type for the whole document:this document is a pay slip A value for a named place:the net pay here is Rs 38,000/- Answers per file 4one for each document 14one for each field What its answer selects The field list the next stepwill go looking for Nothing further. It is theend of the reading step Unit its figure is in a share of 34,400 documents a share of 120,400 fields The last row is the one people skip, and it is the row that makes the two figures uncomparable.
Classification asserts what the document is, in one answer for the whole document, while extraction asserts what value sits in a named place, once for each of the fourteen fields.
Try it out

What does document classification assert, and what does entity extraction assert?

AI For Finance Bootcamp — Fin Maverick

Why does classification have to run first?

Back to the envelope on the table. Suppose the values had to be read off the documents before any sorting was done. There would be nothing to look for. A net pay figure cannot be searched for until the thing in hand has been decided to be the sort of document that carries one. The sorting is not a tidy-up performed for the convenience of the reader. Sorting is the step that supplies the question.

In the chain the same thing happens mechanically. The classification answer picks a field listThe set of values a chain expects to find, chosen by the classification., and that field list is what the reading step is handed as its instructions. Answer pay slip and the reading step goes looking for an employer name, a pay period, a gross figure and a net figure. Answer bank statement and it goes looking for an account number, a statement period and three months of salary credits. Same reading step, same images, different question. The first step chose the question.

The ordering is therefore not an implementation detail that a different design could reverse. The ordering is the mechanism. The second step has no question of its own until the first one gives it one. This is worth holding on to, because it is what turns a modest-sounding error rate on the first step into something structurally different from an error on the second. An error on the second step is a wrong answer to the right question. An error on the first step is the right machinery pointed at the wrong question entirely.

The first answer becomes the second step's instructions. a documentarrives CLASSIFICATIONone answer a field list isselected EXTRACTIONone per field values, with areading each IF THE ANSWER IS: PAY SLIP employer namepay periodnet pay the reading step nowsearches only for these,and for nothing else. IF THE ANSWER IS: BANK STATEMENT account numberstatement periodthree months of credits a different question,on the same images,by the same step. Change the first answer and everything to the right of it changes, without anything to the right of it being wrong.
The classification answer selects which fields the extraction goes looking for, so the second step inherits the first step's answer as its instructions rather than forming a question of its own.
Try it out

Why must classification run before extraction?

What happens downstream when the classification is wrong?

Here is the sentence that most people get wrong on first meeting, and it is worth slowing down for. A wrong classification does not make the extraction worse. A wrong classification makes the extraction irrelevant, and leaves the extraction looking perfectly healthy.

Take one file. A bank statement arrives and is filed as a pay slip. The reading step is now handed the pay slip field list and told to find an employer name, a pay period and a net pay figure. The reading step does exactly what it was built to do. The step scans the document, finds text that sits where an employer name usually sits, and returns something. On a statement that something might be the name of the bank branch printed at the top. A statement carries a period, so the step finds a period. A statement is full of numbers, so the step finds one that looks like a net figure. Every one of those readings can come back with a high reading of its own. Nobody asked the reading step whether the document it was given was the right document.

A degraded answer and a redirected answer are not the same failure. A degraded answer is blurry and announces itself: the value comes back partial, or unreadable, or below whatever bar the bank set. A redirected answer is crisp and wrong, and there is nothing on the face of it to say so. A misclassificationA document filed as the wrong kind, redirecting everything after it. is therefore a harder failure to spot than a reading failure, and it is far rarer.

A wrong classification does not degrade the reading. It redirects it. WHAT ARRIVED A BANK STATEMENT no employer, no net pay,nowhere on the page FILED AS: PAY SLIP one wrong answer, upstream WHAT THE READING STEP THEN DOES searches for: employer name returns the branch name at the top searches for: net pay returns a closing balance figure searches for: pay period returns the statement period Three crisp answers, each carrying a healthy reading of its own, and not one of them answers a question the page could answer. Nothing in the reading step was asked whether it had been handed the right page.
A statement filed as a pay slip sends the extraction looking for an employer name and a net pay figure the document never carried, and it can return confident values for both.
Try it out

A bank statement is filed as a pay slip. What does the extraction do next?

How is each one measured, and why are the two figures not comparable?

Look at what the chain writes down for one file. The record settles this argument faster than any argument does. For each of the four documents on the file there is a single line: what the classifier said this document was, and one reading attached to that answer. Then, for the file as a whole, there are fourteen lines: a field name, a value, and a reading attached to each value. One answer against fourteen, in two different units, is why an accuracy figure taken from one of them cannot be set beside an accuracy figure taken from the other.

The classifier at this bank reads 96.2 per cent of documents correctly. The 96.2 is a share of 34,400 things. The reading step clears 95.0 per cent of fields. The 95.0 is a share of 120,400 things. The two percentages sit within about one point of each other on a slide and they answer questions that have no relation. One says how often a whole document is filed correctly. The other says how often a single value clears a bar. Neither is a statement about the other, and no arithmetic converts between them.

There is a second trap sitting inside that 95.0, and this sequence is where it does the most damage, so take it slowly. The 95.0 per cent is the share of fields that cleared the bank's own chosen confidence bar; it is not a statement that 95.0 per cent of the accepted values are correct. Those are separate facts. The bank hand-checked a sample of 400 accepted fields and found 7 of them wrong, a rate of 1.75 per cent. Applied to the month's 114,380 accepted fields, 1.75 per cent puts about 2,002 wrong values through without anybody looking. The meaning of a confidence value, and how a bar gets chosen, are set out under confidence scores. The 95.0 is an acceptance share, and reading the 95.0 as an accuracy is the fastest way to reach a wrong conclusion about this chain.

One file, as the record actually holds it. CLASSIFICATION: 4 LINES, ONE FOR EACH DOCUMENT pay slipone reading bank statementone reading identity documentone reading address proofone reading EXTRACTION: 14 LINES, ONE FOR EACH FIELD, EACH WITH A READING OF ITS OWN thirteen values cleared the bank's chosen bar on the median file one did not Four answers in one unit and fourteen in another. A percentage taken from the top row says nothing about the bottom row.
The record carries a single classification with its own reading for each document, and then fourteen field values each with a reading of its own, which is why the two accuracy figures count different things.
Try it out

Why can a 96.2 per cent classification figure not be set against a 95.0 per cent field figure?

Breaking Into Quants Bootcamp — Fin Maverick

How are the two kinds of error caught, and what does each one cost?

Now the fact that changes everything, and it has nothing to do with either step's cleverness. The fact has to do with what sits after each of the two steps.

A wrong classification usually contradicts itself within a few seconds. File a statement as a pay slip, and the reading step comes back with an employer name that is a bank branch, a pay period in a format pay slips do not use, and a net pay that does not sit where a net pay sits. The chain has a downstream checkA later test that catches an earlier error before anybody has to look at it. that notices these contradictions and sends the document back to be classified again, and that check costs nobody anything. The check runs on its own, in the same few seconds, and no person is told about it.

Put the month through that. At 96.2 per cent on 34,400 documents, 1,307 documents are misclassified. Of those, 1,224 are caught by a downstream check at no cost. 83 survive to reach a person. 1,224 and 83 make 1,307, and the survival rate is about 6.4 per cent. Ninety-four out of every hundred classification errors are corrected before anybody knows they happened. A free correction rate of ninety-four in every hundred is the single fact that decides where improvement money should go on this chain.

The reading step has nothing equivalent behind it. When the reading step cannot read a field, no second machine knows what the field should have said. A field value is precisely what the chain did not previously have. So a field that fails goes to the exception deskThe people who handle files the chain could not finish., every time. In the month, 6,020 of the 120,400 fields did not clear the bar. Failures cluster in files rather than spreading across them, so those 6,020 sat in only 1,264 files, an average of 4.76 fields to a file. The 1,264 files are exception cause 1, and they are 42.0 per cent of the desk's month.

What happens to a month of classification errors. 1,307 documents misclassified in the month, out of 34,400 1,307 1,224 caught downstream, at no cost 83 reach a person 93.6 per cent of them, corrected in seconds, with nobody told 1,224 + 83 = 1,307. The survivors are about 6.4 per cent of the errors, and they are the only ones that cost anything.
Of 1,307 documents misclassified in a month, 1,224 are caught by a downstream check at no cost and only 83 reach a person at the exception desk.

How does one desk's work actually split between the two steps?

The 83 do not arrive at the desk wearing a label saying classification error. Each of the 83 arrives the same way every other stopped file arrives, as a file with a field the chain could not settle. So the 83 sit inside the 1,264, not beside it. Of the 1,264 files stopped for an unreadable field, at most 83 come from a classification error and at least 1,181 come from a reading error. The split is 6.6 per cent against 93.4 per cent.

The at most and the at least are doing real work in that sentence and are not hedging. A file can carry both faults at once: a misfiled document and, independently, a genuinely unreadable value. Every such file has already been counted in the 83, so 83 is a ceiling on the classification contribution and 1,181 is a floor under the reading one. The whole argument turns on which of the two numbers is bigger, so the direction of the uncertainty matters. The uncertainty runs the wrong way for the classifier rather than in its favour.

Now put the two facts side by side. The two accuracy figures, 96.2 and 95.0, look like near neighbours. The two contributions to the desk, 83 and 1,181, differ by more than fourteen times. Same two steps, same month, same bank.

The figures on the slide, and the work on the desk. WHAT THE SLIDE SHOWS, ON A SCALE OF 0 TO 100 PER CENT 96.2 classification, share of 34,400 documents 95.0 reading step, share of 120,400 fields A 7 pixel difference at this width, in two units that do not convert into each other. WHAT THE DESK RECEIVED: 1,264 FILES STOPPED FOR AN UNREADABLE FIELD at least 1,181 from the reading step at most 83 from classification, 6.6 per cent 93.4 per cent of the stopped files Two figures a point apart at the top; two contributions differing by more than fourteen times at the bottom.
The two accuracy figures sit about a point apart, while the desk work they produce splits 83 against at least 1,181, which is almost the opposite of what the figures suggest.
Try it out

The classifier reads 96.2 per cent of documents correctly and the reading step accepts 95.0 per cent of fields. Which one is contributing more work to the exception desk?

Why does the more accurate step put less work on the desk?

Because accuracy is not the same quantity as consequence. The chain's next move after an error is what separates accuracy from consequence. Two steps can produce errors at similar rates and hand a person completely different amounts of work, purely because of what sits behind each of them.

The gap between accuracy and consequence gives improvement work a ceiling that can be computed before a rupee is spent, and the computation takes about a minute. Suppose the classifier were made perfect. Not better, perfect, at 100 per cent. Nothing is. The 1,307 misclassifications go to nil, so the 83 that reached the desk go to nil, and the desk goes from 3,010 files to 2,927. A perfect classifier removes 83 files a month from a desk handling 3,010, or 2.8 per cent of its work. The 2.8 per cent is the absolute best case rather than a realistic one.

Said out loud in a room, that ceiling changes the character of the conversation. Nobody is arguing about whether the classifier could be improved. It could. The question is whether the best imaginable outcome is worth the programme, and 2.8 per cent of one desk's month is a small answer to be holding once the money has already been spent.

The most a perfect classifier could ever take off this desk. 3,010 files reach the exception desk in the month, from six numbered causes 2,927 files that a perfect classifier would not touch 83 files, being 2.8 per cent the whole classification contribution, at 100 per cent accuracy The other 2,927 come from anunreadable field, an income thatdid not corroborate, a fraud rule,a referral, an identity mismatch oran incomplete consent record. The ceiling is visible before any work starts,and it costs one minute to compute.
Taking the classifier from 96.2 per cent to a perfect 100 removes 83 files a month from a desk handling 3,010, which is 2.8 per cent of its work.
Try it out

Before the control below is moved: the classifier goes from 96.2 per cent to a perfect 100. How many of the 1,264 stopped files disappear?

Play with it

Move the classifier from 70 per cent to perfect, and watch the desk

One input moves: how often the classifier files a document correctly. One consequence redraws: how many files reach the exception desk with a field the chain could not settle. The reading step is held exactly where it was, contributing 1,181 files, so everything that moves in the bar below is classification and nothing else.

70.0 per cent96.2 per cent100 per cent
Classification accuracy, per cent 70 80 90 100 96.2 as fitted Files reaching the exception desk with an unsettled field 1,181 from the reading step 83 1,181, a perfect classifier 1,264, the fitted reading The green block never moves. Every pixel that moves is a classification error that survived a downstream check.
Held constant
1,181
Documents misfiled
1,307
Files at the desk
1,264

At 96.2 per cent the classifier misfiles 1,307 of the month's 34,400 documents, 83 of them survive a downstream check and reach a person, and the desk receives 1,264 files with an unsettled field.

At the fitted reading of 96.2 per cent the desk receives 1,264 files, of which at most 83 are there because of a classification error. At a perfect 100 per cent it receives 1,181, and the 83 are the whole of the difference. At 94.2 per cent, the reading once a fifth kind of document was arriving at 8 per cent of volume, it receives 1,308, a rise of 44 files.
Educational illustration. Figures are Sumeru Bank Limited's own, invented for this guide, and describe one deployment for one month: 8,600 files, 34,400 documents, 120,400 fields. Two simplifications apply. The reading step's contribution is held flat at 1,181 files whatever the classifier does, and 6.4 per cent of misclassified documents are assumed to survive a downstream check, being the locked 83 out of 1,307.
Financial Analyst Program Bootcamp — Fin Maverick

What does a new kind of document do to each of them?

Everything above assumes the mail keeps looking like the mail. The assumption breaks the moment something new arrives, and two different new arrivals get constantly merged into one.

The first is a new kind of documentA type such as a pay slip or a statement, distinct from the channel it arrived on.. At this bank a fifth kind began arriving through one route, and the classifier reads it correctly 71.0 per cent of the time, against 96.2 per cent on the four kinds it was fitted on. The gap is 25.2 points, and it is a gap on a question the classifier was never asked before. At 8 per cent of the month's documents, being 2,752 of the 34,400, the headline reading falls to 94.2 per cent, so the number on the slide moved 2.0 points while one part of the incoming mail was being read a quarter of the time wrongly.

The second is a new channelThe route a document arrived by, changing its images without changing its type.. Take the same four kinds of document and let them arrive through a route that was not in the fitting set. The images are different: different camera, different lighting, different crop. The reading falls from 96.2 per cent to 93.1, a gap of 3.1 points. The same question is being asked on worse pictures.

The two readings answer different questions, and merging them destroys both. The fix for each is different and the effort each deserves is different. A new kind of document needs the classifier taught a type it has never seen, and until that happens the safe behaviour is to stop those documents rather than file them as the nearest match. A new channel needs the images improved or the fitting set widened, and the type answer was never in doubt. Confusing the two rebuilds a classifier to solve a photography problem, or buys better cameras to solve a problem about what a document is.

Two different questions, and the answers must never be added together. Classifier reading, per cent. The scale starts at 60 so the two gaps can be seen. 60 80 100 the four kinds itwas fitted on 96.2 same four kinds, achannel not fitted on 93.1 3.1 a fifth kind ofdocument 71.0 a gap of 25.2 points One is worse pictures of a question already answered. The other is a question nobody ever asked. One fix does not touch the other.
The classifier reads a fifth kind of document correctly 71.0 per cent of the time against 96.2 on the four it was fitted on, which is a different fact from the 93.1 it reads on a channel it had not seen.
Try it out

A fifth kind of document starts arriving and the classifier reads it correctly 71.0 per cent of the time. Is that the same finding as a channel reading badly?

Where should the effort go when both could be improved?

Not to the lower figure. To the larger surviving error count, and those are different quantities that happen to be reported in the same place. The calculation has three lines and needs nothing that is not already to hand.

Count the errors each step makes in a month. Subtract the ones a later check catches without a person. The remainder is the work that step is actually sending to somebody, and the remainder is the only column a budget can act on.

Per month, at this bankClassificationThe reading step
Things it answers34,400 documents120,400 fields
The figure on the slide96.2 per cent95.0 per cent
Errors it makes1,3076,020
Caught by a later check, free1,224nil
Files it sends to a personat most 83at least 1,181

The reading step's 6,020 are field failures and the 1,181 is the count of files those failures sit in. Routed fields cluster, so 6,020 of them sit in 1,264 files at 4.76 fields to a file rather than spreading across 6,020 separate ones. The last row is in files for both columns. Files are the unit the desk works in and the only unit in which the two steps are comparable at all. Every row above the last one invites the wrong comparison, and the last row is the only row a spending decision should be made from.

Three lines, in this order, before any money moves. CLASSIFICATION THE READING STEP 1. How many errors a month?in whatever unit the step answers in 1,307 documents 6,020 fields 2. How many are caught free?by a later check, with nobody told 1,224 nil 3. What reaches a person?counted in files, which is the desk unit at most 83 at least 1,181 spend on the right-hand column Line 1 alone points at the reading step. Line 2 is the line that decides by how much, and it is the line nobody computes.
Take each step's error count, subtract what a later check catches for nothing, and spend against what is left rather than against the accuracy figure on the slide.
Try it out

Both steps could be improved and there is budget for one of them. Which figure gets computed first?

Bond Pricing and Yield Mechanics — free micro-course from Fin Maverick

How would somebody outside the project use this?

Building a chain is not a precondition for this being useful. Three people read it differently, and all three are reading the same two rows.

A lender's own reviewer, sitting where Neelima Rao sits in the risk function of this bank, wants one thing from a document processing chain: the count of errors that reached a person, per step, per month, and the count that was caught without one. Ismail Sheikh runs the exception desk and can supply the first count from his own queue. The second count is the one nobody keeps. A check that fixes something silently produces no record unless somebody decided in advance that it should. A chain that cannot say how many errors it corrects invisibly cannot say where its next rupee should go, and that gap is a design choice made much earlier by somebody who did not think anyone would ask.

An analyst reading a lender who says it has automated its document handling should ask what the accuracy figure is a share of. If the answer is a percentage with no denominator attached, the figure is not yet information. Two lenders quoting 96 per cent may be counting documents and fields respectively, and a difference of that size sits inside a rounding error on the way the figure is written.

And anybody approving spend on either step should ask for the ceiling first, in the form used above: if this step became perfect, what leaves the desk? The ceiling is a one minute calculation, it is available before any vendor conversation, and on this chain it would have returned 2.8 per cent. Ajay Agrawal, Joshua Gans and Avi Goldfarb, in Prediction Machines, 2018, make the general form of this point: a component of this sort produces a prediction, and the value of a better prediction is set entirely by what somebody does differently as a result of it. Here, at the ceiling, somebody does 83 fewer files a month differently. Eighty-three files a month is the whole prize, and the prize was knowable on day one.

The error that gets made, and what it cost here

The improvement programme at Sumeru Bank Limited was aimed at the classifier. The reasoning was not stupid and it took four seconds: 96.2 per cent was the figure on the slide, and next to a chain that was otherwise described in high nineties it looked like the weakest link. The 96.2 was the lowest number in view, so the classifier became the target.

A downstream check was already catching 1,224 of the classifier's 1,307 monthly errors for nothing. Taking the classifier to a perfect 100 per cent would therefore have removed 83 files a month from a desk handling 3,010, or 2.8 per cent of its work. Meanwhile the reading step, whose figure looked healthier at 95.0 per cent, was putting at least 1,181 files a month onto the same desk, and not one of its errors had a free check behind it.

Neither measurement was wrong. Both were carefully produced and both were correctly reported. The error was in setting two numbers side by side that answer different questions, and then spending against the comparison. Nothing was mismeasured, so no measurement discipline catches this one. The only thing that catches it is somebody asking what each figure is a share of, and what happens to each step's errors next.

How characters are recovered from an image and turned into a field, and what a confidence value is and how a bar gets chosen, are both set out under optical character recognition and confidence scores. How either step was built, fitted or validated is covered separately. The comparison itself is universal and carries no jurisdiction condition.
Three readers take three questions from the same two rows. See what extraction reports.

Sources

SourceDocumentSite
Reserve Bank of IndiaExpectations on a regulated lender covering digital lending, outsourcing, customer data, consent and record keeping, which apply to the lender whichever step reads the documents supporting a decisionrbi.org.in
Ajay Agrawal, Joshua Gans and Avi GoldfarbPrediction Machines, 2018, for the argument that the value of a better prediction is set by what somebody does differently as a result of itHarvard Business Review Press

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

Comparison

Other comparisons in Document and Operations AI

Comparison

Batch vs Real-Time vs Event-Stream Processing

← 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.