Mortgage Insurance Underwriting Agent — architecture, benchmarks & workflow deep dive.
The Mortgage Insurance (MI) Underwriting Agent is a fully sovereign, AOP-governed reasoning workload purpose-built for new business underwriting across private mortgage insurance product lines — including flow, bulk, delegated, and non-delegated submissions. It ingests the complete loan file — Uniform Residential Loan Application (URLA / 1003), credit report, income documentation, bank statements, appraisal, automated underwriting system findings, and guideline overlays — processes every document simultaneously in a unified reasoning context, and produces a structured, evidence-cited, confidence-scored recommendation within a single automated pass. This page covers the MI-specific architecture, the insurance ontology embedded in the Agent Operating Procedure, how the confidence engine is calibrated and validated for this workflow, independently measured benchmarks against the MI-specific synthetic validation set, and the KPI impact model for underwriting operations. Mortgage insurance underwriting is distinguished from other personal-lines underwriting workflows by its income-document variety (W-2, pay stubs, bank statements, tax returns, VOE), its credit-report density, its LTV / DTI / FICO eligibility math against published guidelines and overlays, and its delegated versus non-delegated referral discipline. The AOP schema encodes all of these dimensions as first-class underwriting objects rather than general document extraction targets.1 — MI-specific Agent Operating Procedure
The AOP is the agent’s underwriting contract. For the MI workflow, it is not a generic document-processing instruction set — it is built on an insurance-native ontology that Layerup has assembled from first-principles mortgage insurance underwriting practice, including income documentation hierarchies, credit and capacity rules, LTV / DTI / FICO eligibility tables, occupancy and property-type overlays, and delegated authority boundaries. Your enterprise SOP and published guideline overlays are layered on top of this baseline, not substituted for it. The MI AOP schema covers three primary domains that are specific to mortgage insurance underwriting and do not exist in Layerup’s other workflow agents.1.1 Income and employment verification
MI eligibility and pricing are tied to documented, stable income. The AOP encodes income verification requirements by income type, documentation hierarchy, and cross-reference logic.
The agent does not compute a binary pass/fail against these requirements. It produces an income sufficiency score for each applicable income type, identifies which documents are present and which are absent, and generates a prioritized requirements list ranked by the evidentiary gap’s impact on the confidence composite.
Pay Stub Recency & Continuity
The AOP encodes the recency window and consecutive-period requirements for pay stubs. Gaps between pay periods, a stub older than the configured recency floor, or a YTD figure that cannot be reconciled to the stated base pay are surfaced as first-class income findings — not buried in a generic document-quality flag.
Bank-Statement Deposit Analysis
For bank-statement income or large-deposit sourcing, the agent extracts
transaction tables, identifies recurring deposits, flags NSF / overdraft
patterns, and sources large deposits against the loan file. Unsourced large
deposits and income that appears only as cash deposits without a matching VOE
or tax return are surfaced as capacity findings.
W-2 vs. Pay Stub Reconciliation
W-2 Box 1 / Box 5 figures are reconciled against annualised YTD pay-stub
earnings and the income stated on the URLA. Material mismatches — different
employers, a mid-year job change without a VOE, or a stated income that the
documents do not support — fire as income-domain discrepancies with both
source documents cited.
VOE / The Work Number Alignment
When a third-party employment verification feed is present, the agent treats it as an independent evidence stream against the borrower-submitted W-2, pay stubs, and URLA employer fields. Hire date, job title, and YTD earnings divergences are surfaced before the reasoning layer anchors on the submitted file.
1.2 Credit and capacity
Credit-report density and DTI construction are the second primary risk driver. The AOP encodes how tradelines, inquiries, public records, and stated liabilities are assembled into a capacity picture.Tri-Merge Credit Normalisation
Equifax, Experian, and TransUnion tradelines are resolved to a single liability set. Duplicate tradelines, authorized-user accounts, and medical collections are classified per the AOP inclusion rules. The representative credit score is selected by the AOP-configured method (middle of three, lower of two) — not by a generic “best score” heuristic.
DTI Construction
Housing expense (proposed PITIA) and monthly liabilities are assembled from
the credit report, URLA, and supporting documents. The agent distinguishes
qualifying DTI from stated DTI, applies AOP rules for installment accounts
with fewer than N remaining payments, and flags omitted liabilities that
appear on credit but not on the 1003.
Credit Event Recency
Bankruptcy, foreclosure, short sale, deed-in-lieu, and significant derogatory
events are dated and evaluated against AOP seasoning windows. An event inside
the window is a hard eligibility finding; an event at the window boundary
receives a confidence suppression and a referral flag.
Inquiry & Undisclosed Debt
Recent inquiries without a corresponding new tradeline, and new tradelines
opened after the credit-report date that appear on a refresh, are surfaced as
undisclosed-debt risk. The agent does not assume an inquiry is benign.
Letter of Explanation Adequacy
Borrower letters of explanation — often handwritten or wet-ink — are evaluated
for whether they address the specific credit finding cited (late pays, large
deposits, employment gap). A generic letter that does not address the flagged
item generates a targeted follow-up requirement.
Occupancy vs. Credit Footprint
The declared occupancy (primary, second home, investment) is cross-checked against address history on the credit report, URLA residences, and appraisal occupancy indicators. Occupancy inconsistencies are first-class eligibility findings.
1.3 Property, collateral, and guideline eligibility
MI coverage is collateral-backed. The AOP encodes LTV / CLTV construction, property-type and occupancy eligibility, appraisal sufficiency, and the delegated versus non-delegated authority boundary.LTV / CLTV / HCLTV Construction
Base LTV is computed from the lesser of purchase price or appraised value against the insured loan amount, with subordinate financing included per the AOP. Rounding conventions, financed MI, and closing-cost credits that affect the insurable balance are applied as encoded — not inferred.
Guideline & Overlay Screening
FICO floor, max DTI, max LTV by occupancy and property type, reserve
requirements, and product overlays are evaluated as a structured eligibility
matrix. A file that passes the published guideline but fails a company overlay
is classified as overlay-ineligible, not as a generic decline.
Appraisal Sufficiency
The agent extracts subject property data, comparable grid, condition/quality
ratings, and appraisal conditions. A value that does not support the requested
LTV, a condition rating below the AOP floor, or a comparable set that fails
the AOP distance / recency rules generates a collateral finding and, where
configured, an appraisal review requirement.
AUS Findings Alignment
DU / LPA findings are treated as an independent evidence stream. An
Approve/Eligible AUS that the document file does not support — or a
Refer/Caution AUS on a file the documents would otherwise clear — is surfaced
as an AUS-file discrepancy, not silently overridden.
Delegated Authority Boundary
Delegated submissions are evaluated against the delegated authority matrix
(FICO, LTV, DTI, occupancy, property type, and exception count). Files at or
beyond the boundary are routed as Refer Non-Delegated with the specific matrix
cell cited. The agent is not permitted to auto-approve through a
delegated-authority wall.
Insurance & Title Conditions
HOI coverage amount and named insured, flood-zone determination, and title exceptions that affect insurability are checked against AOP minimums. Missing HOI, inadequate dwelling coverage relative to the loan amount, or a flood zone requiring coverage without a matching policy are requirement-generating findings.
2 — MI workflow architecture
The following diagram describes the complete data and reasoning flow for a single MI underwriting case. Every component executes within your cloud account boundary. Fig. W1.1 — Mortgage Insurance Underwriting Agent full architecture. Every stage executes within your network boundary. The AOP governs all three reasoning domains simultaneously. Confidence scoring is the last step before output assembly — it cannot be bypassed.3 — Document intelligence layer
The MI workflow processes document types and volumes that are not handled by general-purpose document processing tools. A single loan file is routinely a few hundred pages across employer-specific pay stubs, bank-statement tables, tri-merge credit, tax-return schedules, and mixed-quality scans. The document intelligence layer is built specifically for that ecosystem.3.1 Multi-pass OCR pipeline
MI loan files routinely include:- Bank statements with institution-specific table layouts, running balances, and scanned or PDF-print artefacts
- Employer-specific pay stubs — checkboxes, earning codes, YTD columns, and handwritten annotations on the same page
- W-2 and 1040 packages with multi-schedule table grids
- Tri-merge credit reports with dense multi-column tradeline tables
- Handwritten or wet-ink letters of explanation and borrower certifications
- Appraisal PDFs that mix narrative, comparable grids, and photographs
3.2 Multi-document context assembly
The MI loan file is not a single document — it is typically fifteen to forty separate files totalling one hundred to several hundred pages. General-purpose LLM tools cannot process this volume in a single inference context, and processing documents sequentially loses the cross-document relationships that are the most valuable signal in MI underwriting. The context assembly layer constructs a unified case context that makes all documents simultaneously available to the reasoning layer:Intelligent Context Prioritisation
Rather than concatenating all documents in full, the assembly layer identifies the highest-information-density content from each document and prioritises it into the reasoning context. Full document text is available for citation; the reasoning layer operates on the structured, prioritized representation.
Entity Resolution Across Documents
Named entities — borrowers, employers, the subject property, creditors, and
the appraiser — are resolved to unified identities across all documents before
reasoning begins. This means the agent can immediately identify that “J.
Rivera” on the pay stub and “Jordan Rivera” on the URLA refer to the same
person, rather than treating them as separate entities.
Cross-Document Fact Graph
Material facts extracted from multiple documents — income, liabilities,
occupancy, property value, FICO, LTV — are assembled into a structured fact
graph that explicitly tracks which documents support, contradict, or are
silent on each fact. The reasoning layer operates on this graph, not on raw
document text.
Third-Party Feed Integration
Structured feeds from credit bureaus, AUS (DU / LPA), employment verification, flood determination, and fraud / early-warning services are normalized into the same unified schema as the submitted documents. The agent treats third-party data and borrower-submitted documents as two independent evidence streams and explicitly identifies any divergence between them.
3.3 Third-party data normalisation
Third-party data sources for MI cases arrive in a variety of formats — credit returns proprietary multi-bureau XML, DU / LPA return structured findings requiring interpretation against the AUS finding glossary, employment verification returns insurer-specific schemas, and flood certificates vary by provider. The normalisation layer converts all of these feeds into the unified MI case schema before any reasoning step:The cross-reference status field in the normalized third-party schema is
computed by the ingestion layer, not the reasoning layer. This means the agent
enters the reasoning phase already aware of structural discrepancies between
AUS findings, credit, VOE, and submitted documents — it does not discover them
mid-reasoning. This architecture prevents the reasoning layer from anchoring
on the loan file before evaluating third-party data.
4 — Confidence engine calibration for MI
The confidence engine architecture is described in the Confidence Engine reference. This section covers the MI-specific elements: how the five signal domains are weighted for this workflow, and how the engine is validated against an MI-specific synthetic dataset before any model version is certified for production.4.1 MI signal domain weights
The five confidence signal domains carry different weights in the MI composite than they would in a different workflow agent. The weight set is calibrated to reflect the relative evidential importance of each domain in mortgage insurance underwriting specifically.4.2 MI-specific detractors
In addition to the standard detractor taxonomy, the MI workflow includes several detractors that are specific to this product line and do not appear in other agent configurations.Unsourced Large Deposit
A deposit on a bank statement exceeds the AOP large-deposit threshold and cannot be sourced to payroll, a documented asset transfer, or a gift letter in the file. This detractor fires regardless of whether the remaining assets still clear the reserve requirement — unsourced funds are an independent eligibility finding.
Income Document Reconciliation Break
Annualised YTD pay-stub earnings, W-2 Box 1, VOE YTD, and URLA stated income
cannot be reconciled within the AOP tolerance. This detractor carries a high
severity weight because MI pricing and eligibility are directly tied to
qualifying income.
Omitted Liability
A tradeline on the tri-merge with a monthly payment above the AOP materiality
floor does not appear on the URLA or 1008. The agent does not assume the
borrower will pay it off at closing unless a documented payoff is in the file.
Delegated Authority Breach
The case characteristics — FICO, LTV, DTI, occupancy, property type, exception
count — place it at or beyond the delegated authority matrix cell. Cases at
the boundary receive a confidence suppression and are flagged Refer
Non-Delegated before disposition.
AUS–File Divergence
DU / LPA recommendation is Approve/Eligible but the extracted file does not
support the AUS findings (or the reverse). This detractor is specific to the
intersection of AUS and the document file and does not fire from either source
independently.
Occupancy Inconsistency
Declared occupancy is inconsistent with credit address history, URLA residence pattern, or appraisal occupancy indicators. Occupancy misrepresentation is treated as an eligibility finding, not a documentation nit.
5 — MI benchmark results
The agent is evaluated against an MI-specific synthetic validation dataset before any model version is certified for production. This section describes the validation methodology, the dataset, and the certified benchmark results for the current production model.5.1 Validation methodology
The MI synthetic validation dataset is constructed by Layerup’s underwriting implementation team to represent the full distribution of case complexity encountered in production mortgage insurance underwriting. Cases in the dataset are assigned ground-truth labels by experienced MI underwriters — not derived from model outputs. The dataset is structured to deliberately stress every agent capability:
Before any AOP version or model version is promoted to production, the agent must pass all six benchmark checks listed in Section 5.2. Failure on any single check blocks promotion.
5.2 Certified benchmark results — current production model
The following benchmarks are the certified results for the current production model version against the MI synthetic validation dataset. Results are expressed as the mean and interquartile range (IQR) across three independent validation runs. Recommendation accuracy — overall alignment between agent recommendation and ground-truth underwriter disposition:
Cross-document discrepancy detection — on the discrepancy segment of the validation set:
Confidence score calibration — Brier score and Expected Calibration Error (ECE) measure how accurately the composite confidence score predicts actual recommendation accuracy:
OCR extraction accuracy — on the OCR-degraded segment of the validation set:
“Extraction floor hit rate” is the proportion of pages where OCR confidence
falls below the configured extraction floor threshold, triggering an
uncertainty flag rather than passing the extracted value to the reasoning
layer. A higher floor hit rate on handwritten letters of explanation and
tri-merge credit reflects a conservative extraction policy — the agent prefers
to flag and require human verification over silently passing low-confidence
income, liability, or credit-event extractions.
5.3 Score distribution under production conditions
The certified baseline confidence score distribution across the validation set establishes the reference against which all production AOP updates are evaluated. Any AOP promotion that shifts the distribution beyond the configured tolerance band is blocked by the CI/CD test harness.The production target range is intentionally wide enough to accommodate
genuine variation across customer AOP configurations — delegated vs.
non-delegated mix, overlay tightness, income-type mix — while being narrow
enough to detect implausible distributions. A distribution concentrated above
70% auto-resolve would suggest a permissive AOP configuration that is not
applying appropriate sensitivity to MI-specific risk signals. A distribution
with over 25% hard escalations would suggest an AOP that is not covering the
case population adequately.
6 — Structured output schema
Every MI case processed by the agent produces a single structured JSON output payload. The following describes the top-level schema and the MI-specific fields.7 — KPI impact model
The MI Underwriting Agent is designed to produce measurable, auditable improvements across the underwriting operations KPIs that matter most — including cost per loan file, cycle time, and referral discipline. The following describes the KPI model and the mechanisms by which each improvement is achieved.7.1 Throughput & cycle time
Case Throughput
The agent runs in parallel across all queued loan files simultaneously — there is no single-threaded bottleneck. Throughput scales with compute configuration, not with headcount. Flow volumes that historically required hiring or overtime can be absorbed by scaling the agent’s task configuration.
Cycle Time Compression
The agent completes the initial file review — including document extraction,
income reconciliation, credit/DTI construction, guideline screening, and
requirement generation — in minutes rather than hours. The human underwriter
receives a fully prepared loan-file record rather than a raw document stack.
Requirement Latency Reduction
The requirements list is generated at the end of the agent’s first pass —
before any human underwriter touches the file. Outstanding conditions reach
the lender or correspondent earlier, reducing the time files spend in pending
status due to incomplete documentation.
In-Good-Order Rate Improvement
By generating targeted, document-specific requirements rather than generic follow-up requests, the agent reduces the round-trip count needed to resolve conditions. Correspondents receive precise instructions — “provide November YTD pay stub for employer Northlake Regional covering the period after the 2023 W-2” rather than “provide updated income docs.”
7.2 Underwriting quality & consistency
Consistent AOP Application
The agent applies the AOP with zero variance across every file. No file is processed differently because of the time of day, the underwriter’s experience level, or workload pressure. Income inclusion rules, FICO / LTV / DTI thresholds, and delegated-authority boundaries are applied identically on every case.
Discrepancy Detection Rate
The cross-reference between borrower-submitted documents and third-party data
(credit, AUS, VOE) surfaces omitted liabilities, unsourced deposits, and
AUS–file breaks that human review of submitted documents alone cannot reliably
identify. The agent’s validated income-reconciliation detection rate exceeds
99% on the benchmark dataset.
Intra-AOP Conflict Surface
As the agent processes files against the AOP, it surfaces situations where
guideline and overlay clauses conflict — inconsistencies that may have existed
in the underlying SOP for years without being identified because individual
underwriters resolved them informally.
Decision Auditability
Every recommendation the agent issues includes a full evidence citation chain from raw document to extracted fact to reasoning step to decision. Audit and compliance review of any historical file can trace the complete reasoning without re-running the agent or relying on underwriter notes.
7.3 Human underwriter productivity
The agent is designed to make the underwriter’s remaining work higher-value, not to create additional review burdens. Files that reach a human underwriter from the agent queue arrive with:- A structured recommendation with income verification, DTI construction, and guideline / overlay screening already completed
- A prioritized requirements list with document-specific, targeted conditions
- A confidence signal breakdown that tells the underwriter exactly which evidence domain is weakest and why
- Full evidence citations for every finding, so the underwriter can immediately navigate to the relevant document and page
7.4 Risk & compliance KPIs
False Approval Rate
The confidence engine’s calibrated escalation logic ensures that files the agent is not entitled to approve do not auto-resolve. The validated false approval rate in the MI benchmark set — cases where the agent issued an Approve recommendation but the ground-truth disposition was Escalate or Decline — is 0.4%.
Escalation Capture Rate
99.4% of validation cases with a ground-truth escalation or
non-delegated-referral disposition received the corresponding hard route from
the agent. Escalations are never suppressed by the output assembly layer — the
escalation flag is written before the recommendation payload is assembled.
Regulatory Exam Readiness
The structured, evidence-cited output payload and the immutable CloudWatch
audit trail give your compliance team a complete, immediately accessible
record for any file under regulatory examination — without requiring
underwriter recall or document reconstruction.
SOP Enforcement Consistency
The agent applies your AOP-encoded SOP identically across 100% of files. Enforcement consistency across flow vs. bulk, delegated vs. non-delegated, and state overlays is a direct output of AOP-governed operation — not a function of underwriter training or manager oversight.
8 — Rollout & human-in-the-loop model
The MI Underwriting Agent is deployed through a structured rollout model that preserves human decision authority at every stage. The agent’s role expands progressively as confidence in its calibration is established through real production data. Fig. W1.2 — MI rollout phases. Each phase transition is gated by a measurable calibration check. No phase transition is automatic — your underwriting governance team approves each gate.Human decision authority is preserved unconditionally throughout Phases 1 and
2, and for all hard-escalation and delegated-authority-breach cases in Phases
3 and 4. The agent does not make a binding underwriting decision at any phase
— it produces a recommendation. Your underwriting governance team configures
the confidence threshold at which recommendations are treated as actionable
without mandatory individual review.

