XtractSol
Open navigation

Case study · Title & escrow

Domain-Specific SLM Fine-Tuning for Underwriting Knowledge Automation

How XtractSol fine-tuned a lightweight language model to improve underwriting Q&A accuracy on legal, insurance, and risk-specific topics.

Banner: XtractSol — AI agents for real estate operations

This case study highlights how XtractSol improved underwriting knowledge automation by fine-tuning a lightweight model on domain-specific legal and insurance data.

Overview

General-purpose language models often underperform on underwriting topics where legal, insurance, and risk terminology require high contextual precision. XtractSol implemented a domain adaptation workflow to train a compact model that can deliver more reliable underwriting question-answering performance in operational settings.

Improved domain relevance
with underwriting-specific model training

Lower deployment overhead
with a lightweight SLM architecture

Faster knowledge access
for underwriting Q&A workflows

Challenge

Baseline models lacked consistent accuracy on specialized underwriting subjects, including tax liens, bankruptcy context, and legal or insurance decision rules. Teams needed a solution that could raise domain performance without relying on large, expensive model stacks that are harder to optimize for targeted operational use cases.

Solution

XtractSol built a fine-tuning pipeline using a custom underwriting dataset covering tax lien scenarios, bankruptcy considerations, and legal and insurance rule context. Training data was preprocessed and mapped into chat-template format, then used to fine-tune a Qwen-based small language model with LoRA using Unsloth and TRL.

The resulting model was validated and evaluated for domain-question handling, producing a lightweight underwriting-focused model suitable for practical Q&A automation. This approach improves domain fit while maintaining efficient model size and keeps external communication focused on capabilities and outcomes rather than proprietary training internals.

Domain-specific SLM fine-tuning workflow overview
Domain-specific SLM fine-tuning workflow overview

Ready to get started?

Book a free discovery call and we will map how agentic AI can fit your workflows.