Skip to main content
PhoenixTeam Logo

Deep operating experience across commercial mortgage, housing finance, and federal programs.

Commercial Markets
Mortgage Banking & Consumer LendingOriginators, servicers, depositories, and the vendors who build for them.
Independent Mortgage BanksMortgage Servicers & SubservicersDepository LendersHome Equity & Non-QM LendersMortgage Technology Vendors
Housing Finance & Secondary MarketThe GSEs, capital markets, and the risk and closing ecosystem.
Government-Sponsored EnterprisesCapital Markets & InvestorsMortgage Insurers & Title / Settlement
Federal Programs
Federal Housing & Veterans ProgramsVA, HUD/FHA, USDA, and Interior program modernization.
VA Loan Guaranty (LGY)HUD / FHAUSDA Rural DevelopmentU.S. Department of the InteriorProgram Leadership & Delivery
Federal Health & Benefits AdministrationVeteran health and federal benefits administrators.
Veteran & Military Health AdministratorsFederal Benefits Delivery

Unvarnished perspectives and role-based training from operators who have done the work.

All Insights
Engineering September 22, 2025 5 min read

Towards Determinism in Generative AI-Based Mortgage Use Cases

Tela Mathias
PhoenixTeam
Header image for "Towards Determinism in Generative AI-Based Mortgage Use Cases"

Key Takeaways

  • Symbolic AI, automated reasoning, and neuro-symbolic AI provide a foundation for controlling genAI hallucinations.
  • Combining probabilistic and deterministic solutions can vastly reduce hallucinations, at the cost of speed and expense.
  • The tradeoff between accuracy and cost/speed is hard to overcome in the financial climate of mortgage.

Tags

Neuro-Symbolic AIDeterminismHallucinationsAgentic AI

There was a recent Fortune article over the weekend (sorry, it’s paywalled) making the ostensibly new case for symbolic (deterministic) reasoning in genAI based use cases to control for hallucinations. It codified some concepts I’ve been thinking about for some time but didn’t yet have the words to describe. Friendly reminder - artificial intelligence (AI) is a very broad field of computer science focused on enabling machines to perform tasks that typically require human intelligence. Generative AI (genAI) is a more narrow subfield focused on using deep learning and transformer models to generate new content. You’ll have to bear with me through some definitions and an AI history lesson to get to the mortgage point but I promise it will be worth it.

Symbolic AI (1950s to 1990s)

When I first read the article I was thinking “symbolic AI” was a fancy new thing, but really it’s been around since the 1950s thanks to Newell and Simon pictured below. It’s an early form of artificial intelligence that represented knowledge as symbols and logic. This was the era of rules based so-called “expert” systems. You can think the early days of Desktop Underwriter - given a set of inputs, a deterministic output will be produced. The bottleneck here is acquiring and accurately expressing the logic.

Allen Newell and Herbert Simon puzzling through the rules of chess and considering how to create a program that could think like a human. You know, just sitting around doin' math in a suit an tie.
Allen Newell and Herbert Simon puzzling through the rules of chess and considering how to create a program that could think like a human. You know, just sitting around doin' math in a suit an tie.

Automated Reasoning (1960s to 2000s)

Automated reasoning is the field of computer science that studies how computers can be used to reason logically through a problem. Use the mathematical concepts of proving theorems and solving equations to draw conclusions from a set of rules. (I know, right? Taking me back to me theoretical math days of college, I knew that would come in handy).

Another famous mathematician, John Alan Robinson, seen in the wild in this 2012 photo. Also in a tie but a less format overcoat. The times are changing. Robinson died in 2016.
Another famous mathematician, John Alan Robinson, seen in the wild in this 2012 photo. Also in a tie but a less format overcoat. The times are changing. Robinson died in 2016.

Automated reasoning is a big deal because it goes beyond rule-based systems by providing formal, mathematical proofs of correctness, ensuring that results follow logically from the rules rather than relying on rules that may themselves be incomplete or inconsistent. John Alan Robinson came up with this idea in his 1965 work.

Neuro-Symbolic AI (2000s to present)

Throw in some neural networks to the stew of structured cognitive models and voila - the neuro-symbolic AI field is born. Use symbolic AI to encode the rules, automated reasoning to prove the rules are right, and add a neural network to gobble up all the data and learn. Yowza.

Joshua Tenenbaum, MIT professor, seen thinking deep mathematical thoughts. We lost the tie, but still have the button-down shirt.
Joshua Tenenbaum, MIT professor, seen thinking deep mathematical thoughts. We lost the tie, but still have the button-down shirt.

Modern mathematics is more about groups of collaborators working together, rather than any one or two mathematicians making breakthroughs. I selected Josh Tenenbaum as our final mathematician for the article because of his contribution to neuro-symbolic AI and this amazing photo.

What Does this Have to Do with Mortgage?

I promise I have a point. We all know that hallucinations (also called confabulations) are the achilles heel of genAI solutions in mortgage. I often get the question “how do you know it’s right?” and, in fact, I have a dedicated evals team that is solely focused on content errors analysis, prompt (re)engineering and system evaluations. All they do is study data and genAI system behavior to answer this question and prove it.

Let’s consider the addition of deterministic functions on the typical agentic mortgage flow as in our next diagram. We use the basics of an agent to make a plan and delegate tasks, and we introduce multiple techniques to control for hallucinations. In step (6) we enforce format through a schema - the first control point after prompt engineering. In step (8) we introduce a deterministic rule check confirming eligibility and generate the reasoning trace. Then in step (10) a subagent computes uncertainty using a semantic entropy probe (fancy name for hallucination detector). Finally, we can send high confidence results directly to the borrower, and send low confidence results to a human-in-the-loop (HITL).

Here's a pattern that could be used to produce higher accuracy underwriting decisions, but we have to ask ourselves, is the juice worth the squeeze?
Here's a pattern that could be used to produce higher accuracy underwriting decisions, but we have to ask ourselves, is the juice worth the squeeze?

Seems legit, right? Why don’t we do this all the time? The main problem I have with this is that it’s very expensive and not very fast. I mean why not just code it deterministically the first time? The borrower has what they feel is a simple question, and here we are taking 13 steps through at least four solutions to give them an answer. Not a great customer experience.

Well deterministic decisioning is what got us into this problem in the first place. We have all these ancient, rules-based systems that are literally collapsing under the weight of regulatory change. Yes, it’s more overhead to do it this way, but in theory it would allow us to perfect our agentic experiences, learn additionally from error and confidence analysis, and ultimately achieve highly trustworthy generative solutions that are more dynamic and (ultimately) less expensive to maintain. That’s my theory anyway.

In this way, we combine probabilistic and deterministic solutions to our use cases to vastly reduce hallucinations. We tradeoff speed and cost, however, which we all know will be hard to overcome in the financial climate of mortgage. I’m just not sure the money is there to go this way. Time will tell, we’ll work it in the lab, of course, and keep you posted.

By Tela G. Mathias, Chief Nerd and Mad Scientist at PhoenixTeam, CEO at Phoenix Burst

Tela G. Mathias
About the Author

Tela G. Mathias

Chief Technology Officer, Chief Nerd & Mad Scientist | Managing Partner

Tela is the Chief Nerd and Mad Scientist at PhoenixTeam. She is also the Chief Executive Officer of Phoenix Burst. She has 25 years of experience in envisioning and delivering large-scale mortgage technology products. Tela is our strategy ninja and recognized genAI expert. Her superpower is using visualization to communicate the many steps ahead, which she sees intuitively.

Full profile

Ready to build?

Let's discuss how we can accelerate your operations.