Manuscript Offprint

arXiv:2610.27256

TxnQA: Benchmarking Analytical Reasoning and Evidence Grounding over Transaction Event Sequences

Rabimba Karanjai, Yiming Bian, Yun-Shiuan Chuang, Jenna L. Ballard, Zijie Pan, Shivani Shekhar, Yixi Li, Yirou Ge, Avinash Thangali, Richard Williamson, Linsey Pang, Prakhar Mehrotra

Rabimba Karanjai 1^{1}, Yiming Bian 1^{1}, Yun-Shiuan Chuang 1^{1}, Jenna L. Ballard 1,2,∗^{1,2,*}, Zijie Pan 1^{1}, Shivani Shekhar 1^{1}, Yixi Li 1^{1}, Yirou Ge 1^{1}, Avinash Thangali 1^{1}, Richard Williamson 1^{1}, Linsey Pang 1^{1}, Prakhar Mehrotra 1^{1}

1^{1}PayPal AI, 2^{2}University of Pennsylvania

∗^{*}Work done during internship at PayPal.

Analyzing merchant transaction histories requires dynamic temporal filtering, entity resolution, and aggregation over irregular event streams—operations poorly captured by static tabular or time-series forecasting benchmarks. We introduce TXNQA, an analytical QA benchmark comprising 27 task families (81 templates) alongside a 5-scenario fraud-risk reasoning suite that evaluates both verdicts and supporting evidence over synthetic, privacy-mitigated transaction data. Ground-truth answers are computed programmatically, and model performance is decomposed into format-following rate (FFR), conditional content accuracy (CA), and end-to-end correctness (E2E). Evaluating prompted proprietary baselines and six LoRA-adapted open-weight models shows that adaptation reliably enforces output schemas but leaves arithmetic bottlenecks: Gemma-4-31B-IT and Qwen3-8B attain E2E scores of 0.867 and 0.816, whereas evaluated MoE checkpoints reach only 0.632–0.713. Furthermore, on the 500-instance fraud suite, verdict accuracy frequently exceeds 80%, yet joint accuracy (requiring exact evidence attribution) collapses to at most ~23%. These findings identify schema compliance, semantic calculation, and evidence attribution as three distinct bottlenecks in transaction-sequence QA.

Correspondence rkaranjai@paypal.com

Date October 2026

1 Introduction

Natural language interfaces for transaction histories allow analysts to query financial activity directly, determining how many unique buyers made purchases in a given window, identifying peak transaction periods, measuring periods of merchant inactivity, or checking whether median spend shifted following a specific date. While such queries are straightforward to articulate, answering them requires orchestrating multiple operations over an irregular stream of events. A large language model (LLM) must filter records by time, resolve counterparties, execute aggregations or comparisons, and format the final answer to meet downstream operational requirements. In high-stakes applications such as fraud detection, the LLM must also move beyond a binary classification to isolate the specific transactions and attributes that support its conclusion.

A transaction history differs fundamentally from standard tabular data or regularly sampled time series. It pairs static merchant metadata with an irregular sequence of timestamped events featuring mixed numerical and categorical attributes. Furthermore, the required computation depends entirely on the query: one question might demand an extremum search, another an entity-linkage check, and a third a multi-step aggregation over sliding windows. Rather than a static forecasting problem, transaction question answering (QA) is an analytical task conditioned entirely on the natural language query. While event-sequence modeling has recognized the distinct nature of irregular event data (Li et al., 2025; Sun et al., 2026), language-driven analytical interfaces over these streams remain underexplored.

Prior work has addressed adjacent problems, including QA over financial reports and tables (Chen et al., 2021; Zhu et al., 2021; Chen et al., 2022; Zhao et al., 2022), time-series QA (Kong et al., 2025; Jing et al., 2026; Xie et al., 2024; Han et al., 2026; Chen et al., 2026; Nie et al., 2026; Xie et al., 2026), representation learning for tabular sequences (Padhi et al., 2021; Babaev et al., 2022; Moskvoretskii et al., 2024; Mollaev et al., 2025), and safety or fraud evaluation for language models (Yang et al., 2025b; Chakraborty et al., 2024). However, current benchmarks rarely evaluate whether models can simultaneously reason across irregular event histories, comply with typed answer schemas, and provide grounded, feature-level evidence.

We make four contributions:

  1. A benchmark containing 27 analytical task families spanning 43 answer-format variants and 5 representative fraud scenarios;

  2. Programmatically generated analytical gold answers and a scheme that scores format compliance (FFR) separately from content correctness (CA) and jointly (E2E);

  3. Prompted-only evaluation across proprietary and open-weight systems and a base-versus-LoRA study across six open-weight checkpoints, compared against a time-series-specialized model;

  4. Evidence that nominal parameter scale is not monotonic with adapted performance, and that fraud-verdict quality can substantially exceed supporting-evidence quality.

References (42)