Papers › FinBen: A Holistic Financial Benchmark for Large Language Models

FinBen: A Holistic Financial Benchmark for Large Language Models

20 Feb 2024arXiv:2402.12659archive 2025-07-28

Qianqian Xie, Weiguang Han, Zhengyu Chen, Ruoyu Xiang, Xiao Zhang, Yueru He, Mengxi Xiao, Dong Li, Yongfu Dai, Duanyu Feng, Yijing Xu, Haoqiang Kang, Ziyan Kuang, Chenhan Yuan, Kailai Yang, Zheheng Luo, Tianlin Zhang, Zhiwei Liu, Guojun Xiong, Zhiyang Deng, Yuechen Jiang, Zhiyuan Yao, Haohang Li, Yangyang Yu, Gang Hu, Jiajia Huang, Xiao-Yang Liu, Alejandro Lopez-Lira, Benyou Wang, Yanzhao Lai, Hao Wang, Min Peng, Sophia Ananiadou, Jimin Huang

LLMs have transformed NLP and shown promise in various fields, yet their potential in finance is underexplored due to a lack of comprehensive evaluation benchmarks, the rapid development of LLMs, and the complexity of financial tasks. In this paper, we introduce FinBen, the first extensive open-source evaluation benchmark, including 36 datasets spanning 24 financial tasks, covering seven critical aspects: information extraction (IE), textual analysis, question answering (QA), text generation, risk management, forecasting, and decision-making. FinBen offers several key innovations: a broader range of tasks and datasets, the first evaluation of stock trading, novel agent and Retrieval-Augmented Generation (RAG) evaluation, and three novel open-source evaluation datasets for text summarization, question answering, and stock trading. Our evaluation of 15 representative LLMs, including GPT-4, ChatGPT, and the latest Gemini, reveals several key findings: While LLMs excel in IE and textual analysis, they struggle with advanced reasoning and complex tasks like text generation and forecasting. GPT-4 excels in IE and stock trading, while Gemini is better at text generation and forecasting. Instruction-tuned LLMs improve textual analysis but offer limited benefits for complex tasks such as QA. FinBen has been used to host the first financial LLMs shared task at the FinNLP-AgentScen workshop during IJCAI-2024, attracting 12 teams. Their novel solutions outperformed GPT-4, showcasing FinBen's potential to drive innovation in financial LLMs. All datasets, results, and codes are released for the research community: https://github.com/The-FinAI/PIXIU.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.12659")

Code

Syntology Ran 7 of 12 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 5 ran with no contract checked.

By repository: community (archive-listed): 12 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

the-finai/pixiu officialmentioned in papermentioned on GitHubpytorch report
chancefocus/pixiu mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 7 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
5ran
5unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from chancefocus/pixiu. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

best_demos chancefocus/pixiu/src/factscore_package/atomic_facts.py community (archive-listed) ran MIT (permissive) · 510528f4db1006bc · report
is_invalid_paragraph_ppl chancefocus/pixiu/src/factscore_package/abstain_detection.py community (archive-listed) ran MIT (permissive) · 8eb846a8e76a79b8 · report
is_invalid_ppl chancefocus/pixiu/src/factscore_package/abstain_detection.py community (archive-listed) ran MIT (permissive) · 672bd38d830be48d · report
normalize_answer chancefocus/pixiu/src/factscore_package/atomic_facts.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 6a96435eba311b08 · report
remove_citation chancefocus/pixiu/src/factscore_package/abstain_detection.py community (archive-listed) ran fingerprinted MIT (permissive) · 3635046105ae0fce · report
single_chat chancefocus/pixiu/src/chatlm.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 371e5c4f5d2d78ca · report
text_to_sentences chancefocus/pixiu/src/factscore_package/atomic_facts.py community (archive-listed) ran fingerprinted MIT (permissive) · 13867f872a481bd3 · report
evaluate chancefocus/pixiu/src/interface.py community (archive-listed) unverified MIT (permissive) · 5a6e0b41ccbd8a98 · report
generate_prompt chancefocus/pixiu/src/interface.py community (archive-listed) unverified MIT (permissive) · d8c48497dd9cc819 · report
make_table chancefocus/pixiu/src/evaluator.py community (archive-listed) unverified MIT (permissive) · 9d95c14130837ee4 · report
recover_instruct_llama chancefocus/pixiu/src/factscore_package/download_data.py community (archive-listed) unverified MIT (permissive) · a643d9a7436e58c2 · report
softmax chancefocus/pixiu/src/factscore_package/npm.py community (archive-listed) unverified MIT (permissive) · 925c59b7e44138ab · report

Tasks

Question AnsweringRAGRetrieval-augmented GenerationText GenerationText Summarization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutGPT-4Label SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections