cs.AIAug 28, 2026

From Documents to Reasoning: A Validated Synthetic Data Pipeline and Semantic-Aware Fine-Tuning for Financial Numerical Reasoning

Authors: Lokendra Birla, Milind Savagaonkar, Visnu Srinivasan, Sowmya Rasipuram, Shubhashis Sengupta

Organizations: Accenture Labs Bengaluru, India

Abstract

Financial question answering (QA) has emerged as a key benchmark for evaluating the performance of Large Language Models (LLMs) on domain-specific tasks involving complex data formats such as tables, charts, and rich textual narratives. While recent advancements have enabled models to reason across modalities and perform multi-step arithmetic operations, limitations remain in performance consistency, and evaluation reliability. In particular, standard evaluation metrics like Exact Match (EM) often fail to account for minor variations such as differences in units or formats, misleading performance assessments. In this work, we propose a comprehensive pipeline for improving financial QA systems through high-quality synthetic data generation and fine-tuning of smaller language models (SLMs) using Quantized Low-Rank Adaptation (QLoRA). Our pipeline includes aggressive data validation for synthetic question answer generation to ensure the relevance and correctness of synthetic question-answer pairs. We introduce a novel evaluation metric that matches answers computed from arithmetic expressions rather than ground-truth answers; providing a more accurate reflection of model reasoning capability. Furthermore, we propose a modified loss function that aligns predicted and reference expressions using semantic similarity, our novel evaluation metric and standard cross-entropy, resulting in improved performance. Experimental results on benchmark datasets, ConvFinQA demonstrate significant gains in QA accuracy after fine-tuning using synthetic dataset and proposed loss function.

Figures & tables

Explore similar work

CardsList
  1. V-FiLLM: Verified Financial LLM Reasoning Benchmark

    Aug 11, 2026Alicia Larsen, Victoire Laurent, Aulia Kharis Rakhmasari +2Numerical Reasoning in Language ModelsSynthetic Data Generation

  2. Fighting Numerical Hallucinations via Data-centric Compilation for Online Financial QA

    May 29, 2026Hao Chen, Xing Tang, Qirui Liu +6Retrieval-Augmented GenerationHallucination in Language Models

  3. Unlocking Data Value in Finance: A Study on Distillation and Difficulty-Aware Training

    Mar 7, 2026Chuxue Cao, Honglin Lin, Zhanping Zhong +5Financial Language Model EvaluationLLM Training