QuantMind: A Context-Engineering Based Knowledge Framework for Quantitative Finance

Haoxue Wang, Keli Wen, Yuante Li, Qiancheng Qu, Xiangxu Mu, Xinjie Shen, Jiaqi Gao, Chenyang Chang, Chuhan Xie, San Yu Cheung, Zhuoyuan Hu, Xinyu Wang, Sirui Bi, Bi'an Du · DOI

TL;DR

This paper introduces QuantMind, a novel framework designed to extract and intelligently retrieve knowledge from unstructured financial documents. By addressing limitations in current LLM and RAG systems, QuantMind aims to improve the accuracy and efficiency of quantitative finance research, as validated by a user study.

What Problem Does This Paper Address?

Quantitative finance research heavily relies on a vast and ever-growing amount of unstructured text data, including SEC filings, earnings call transcripts, and research notes. While existing Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) pipelines have made strides in processing this data, they suffer from critical drawbacks. These include a lack of "point-in-time correctness" (meaning they might not reflect the most up-to-date information), insufficient traceability of evidence (making it hard to pinpoint the source of an answer), and poor integration into the actual workflows of quantitative researchers. These issues limit their reliability and practical utility in a field where precision and auditable reasoning are paramount. The paper argues that existing general-purpose knowledge management systems are insufficient for the domain-specific needs of financial research, which requires structured, agent-readable knowledge that supports reproducible reasoning over dynamic data.

Methods

QuantMind tackles these challenges with a two-stage, decoupled architecture:

  • Knowledge Extraction Stage: This stage focuses on transforming raw, heterogeneous financial documents into structured, usable knowledge units. Key techniques include:
  • Multi-Modal Parsing: Going beyond just text, QuantMind parses not only textual passages but also tables, figures, and mathematical formulas, preserving cross-modal dependencies for a more abstract and comprehensive understanding.
  • Adaptive Summarization: To handle long documents efficiently, content is first summarized using lightweight models on smaller segments, and then these summaries are aggregated by a more powerful model. This cost-optimized approach maintains fidelity.
  • Domain-Specialized Tagging: A high-dimensional tagging scheme is employed to enrich documents with structured labels (e.g., research area, methodology, application domain). Each tag has a confidence score, enabling fine-grained, domain-aware retrieval and cross-paper comparison.
  • Intelligent Retrieval Stage: This stage focuses on accessing and utilizing the extracted knowledge for downstream tasks. It features:
  • Flexible Retrieval Patterns: QuantMind supports both lightweight RAG-style retrieval for simple queries and a more complex "DeepResearch" process for intricate reasoning, which iteratively expands context.
  • Multi-Hop Reasoning: The framework enables reasoning across multiple documents or methodologies by iteratively retrieving and synthesizing information, allowing for conceptual linking and comparative analysis.
  • Knowledge-Aware Generation: Retrieved context is integrated with queries to generate more informed questions and answers, moving beyond factual recall to support comparative reasoning and temporal analysis.

Datasets

The paper does not explicitly mention training datasets for QuantMind itself. However, for the user study, they curated a corpus of six seminal papers in quantitative finance. These papers cover a range of topics, including financial economics, factor modeling, and machine learning applications in finance. The evaluation questions were designed to assess both information extraction and higher-level analytical reasoning based on these papers.

Key Insights and Ideas

  • Structured Knowledge is Key for Finance: The paper strongly advocates that for quantitative finance, simply throwing unstructured text at LLMs isn't enough. The real value lies in meticulously engineering structured, domain-specific knowledge that is both accurate and traceable.
  • Multi-Modal Parsing is Crucial: Financial insights are often hidden in tables, charts, and formulas, not just plain text. QuantMind's ability to ingest and understand these diverse formats is a significant step forward.
  • Context Engineering for Deeper Reasoning: The "DeepResearch" and multi-hop reasoning capabilities highlight a shift from simple retrieval to more sophisticated methods that mimic how human researchers connect disparate pieces of information.
  • Auditable Outputs for Trust: The emphasis on provenance and structured knowledge directly addresses the need for auditable and reproducible research in finance, where trust and verification are paramount.

Key Results

A controlled user study was conducted to compare QuantMind against two baselines: unaided reading and a generic AI assistant (GPT-4). The results were promising:

  • Quality Improvement: QuantMind significantly outperformed both baselines in terms of answer quality. It showed a 1.14-point gain over the "Without AI" condition and a 0.43-point gain over the generic AI assistant.
  • User Experience (UX) Enhancement: While the overall UX effect was not statistically significant, QuantMind showed a notable improvement in perceived helpfulness, suggesting it provides a more supportive research environment.
  • Accuracy: The study indicated that QuantMind users achieved higher accuracy scores in extracting factual information and performing analytical reasoning.

Limitations and Future Work

The authors acknowledge several limitations:

  • Temporal/Domain Shifts: QuantMind's retrieval might drift when dealing with temporal changes or shifts in financial domains.
  • Limited Sample Size: The user study had a limited sample size, which could affect the generalizability of the findings.
  • Incomplete Coverage: The current framework's coverage is primarily focused on equities. Expanding to other asset classes like credit, rates, and derivatives would require broader taxonomies and schemas.

Future work could involve addressing these limitations by developing more robust temporal and domain-adaptive retrieval mechanisms, expanding the framework's scope to other financial instruments, and conducting larger-scale user studies.

Summary updated

BibTeX
@misc{wang2025quantmind,
  author = {Haoxue Wang and Keli Wen and Yuante Li and Qiancheng Qu and Xiangxu Mu and Xinjie Shen and Jiaqi Gao and Chenyang Chang and Chuhan Xie and San Yu Cheung and Zhuoyuan Hu and Xinyu Wang and Sirui Bi and Bi'an Du},
  title = {{QuantMind: A Context-Engineering Based Knowledge Framework for Quantitative Finance}},
  year = {2025},
  eprint = {2509.21507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.21507},
}
Figure