Rule-first transaction extraction from Indian bank SMS with a small language-model fallback: An empirical study

  • Unique Paper ID: 210039
  • Volume: 13
  • Issue: 5
  • PageNo: 4307-4313
  • Abstract:
  • Banks in India must send short message service (SMS) alerts for electronic transactions, which makes these alerts a natural input for automatic expense tracking, yet pipelines that turn them into categorized transactions are rarely evaluated on real message streams. This paper evaluates the pipeline of a self-hosted personal-finance prototype that extracts transactions with ordered regular-expression rules and categorizes them through user corrections, a learned merchant table, keyword lists and, as a last resort, a 4-bit quantized 3-billion-parameter language model. On 1,153 bank-sender messages from one consenting author’s handset, collected over 31 months and dominated by one bank’s formats, transaction detection reached a precision of 96.4% and a recall of 99.9% (F1 = 0.981); amounts were exact for all 991 detected transactions and merchant names for 98.3% of scorable ones. All 37 false detections were money-related messages that did not record a completed transaction. In a cold-start replay, 19.7% of messages invoked the language model, yet 81.9% received a category originating from a model answer, directly or through caching. Under default sampling, 30.2% of model inputs received the same label in three runs. Against the account holder’s merchant labels, end-to-end category accuracy was 20.3–28.3%, below a majority-class baseline of 31.5%, while keyword-derived categories were 66.3% correct. In this dataset, rule-based extraction performed well, whereas model-based categorization was unstable and inaccurate; deterministic decoding, output validation and user feedback are suggested remedies that remain to be evaluated.

Copyright & License

Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{210039,
        author = {Rushi Daulatkar and Abhijeet Pathode and Atharva Dhote and Harsh Yadav and Rushikesh M. Shete},
        title = {Rule-first transaction extraction from Indian bank SMS with a small language-model fallback: An empirical study},
        journal = {International Journal of Innovative Research in Technology},
        year = {2026},
        volume = {13},
        number = {5},
        pages = {4307-4313},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=210039},
        abstract = {Banks in India must send short message service (SMS) alerts for electronic transactions, which makes these alerts a natural input for automatic expense tracking, yet pipelines that turn them into categorized transactions are rarely evaluated on real message streams. This paper evaluates the pipeline of a self-hosted personal-finance prototype that extracts transactions with ordered regular-expression rules and categorizes them through user corrections, a learned merchant table, keyword lists and, as a last resort, a 4-bit quantized 3-billion-parameter language model. On 1,153 bank-sender messages from one consenting author’s handset, collected over 31 months and dominated by one bank’s formats, transaction detection reached a precision of 96.4% and a recall of 99.9% (F1 = 0.981); amounts were exact for all 991 detected transactions and merchant names for 98.3% of scorable ones. All 37 false detections were money-related messages that did not record a completed transaction. In a cold-start replay, 19.7% of messages invoked the language model, yet 81.9% received a category originating from a model answer, directly or through caching. Under default sampling, 30.2% of model inputs received the same label in three runs. Against the account holder’s merchant labels, end-to-end category accuracy was 20.3–28.3%, below a majority-class baseline of 31.5%, while keyword-derived categories were 66.3% correct. In this dataset, rule-based extraction performed well, whereas model-based categorization was unstable and inaccurate; deterministic decoding, output validation and user feedback are suggested remedies that remain to be evaluated.},
        keywords = {Edge inference, Personal finance management, Rule-based parsing, small language models, SMS information extraction, Transaction categorisation},
        month = {October},
        }

Cite This Article

Daulatkar, R., & Pathode, A., & Dhote, A., & Yadav, H., & Shete, R. M. (2026). Rule-first transaction extraction from Indian bank SMS with a small language-model fallback: An empirical study. International Journal of Innovative Research in Technology (IJIRT), 13(5), 4307–4313.

Related Articles