Building a Financial-Grade AI Research Platform in Three Stages
This article explains how to build a financial-grade AI research platform in three stages: constructing a verifiable research fact base, applying a three-tier evidence system with risk transmission modeling, and delivering conclusions through an interactive risk monitoring dashboard. It shows why direct questions to a model fail, how to enforce a time cutoff and explicit conflict handling, and how to make every conclusion traceable to primary evidence. Readers will find practical data schemas, prompt constraints, code snippets, and a reusable engineering checklist.
1. The Starting Problem: Why “Spike Then Slow Decline” Curves Are Hard to Model
A typical price pattern in capital markets is a rapid short-term rally followed by a long, slow decline. Large models struggle to identify this pattern in advance not because they lack financial vocabulary, but because they lack three things: a verifiable factual foundation, traceable evidence levels, and transmissible risk relationships.
When most teams build a financial research agent, they ask the model directly: “What risks does this company have?” This approach almost always fails. The model blends news headlines, social media rumors, sell-side estimates, and its own tendency to fill gaps, then produces a report that reads smoothly but whose every claim cannot be traced back to a source document. The real engineering solution is to invert the task: build the fact base first, assign evidence levels second, and only then allow reasoning.
2. Stage One: Build a Verifiable Research Fact Base
The single goal of the first stage is to reconstruct key events as of a fixed point in time into structured facts. This “fixed point” is critical: it is the temporal boundary of the entire system. All retrieval, crawling, and generation must be cut off at this watermark, otherwise the model will introduce future information and reach conclusions that effectively travel through time.
The fact base should be split along four dimensions, each with a different trust path:
- Corporate governance: board resolutions before and after executive changes, independent investigation findings, and organizational restructuring announcements. These rely on official company filings.
- Regulatory: securities regulator investigations, local prosecutorial subpoenas, criminal investigations into specific transactions by judicial authorities, legislative inquiry letters, and export control policies. These must go back to original government and regulatory documents.
- Financial: latest quarterly revenue structure, data center business revenue, accounts receivable turnover, inventory scale, purchase commitments, and guarantee exposure. These rely on periodic reports and their notes.
- Market: price and trading behavior, plus cross-verifiable signals from the supply chain side.
In engineering terms, the fact base should be stored as a “fact table” where each record contains at least the following fields:
{"fact_id": "F-2026-1125-014","statement": "Data center business revenue grew year over year in a given quarter","source_type": "regulator_filing","source_uri": "internal archive ID","published_at": "2026-11-20","evidence_level": 1,"confidence": 0.93,"conflicts_with": ["F-2026-1120-007"]}
The conflicts_with field is a key design that many implementations ignore. Financial facts are naturally conflicting: the same event is described inconsistently across outlets and across time. Only when conflicts are modeled explicitly can the model choose to “present side by side” during reasoning instead of “picking one at random.”
3. Stage Two: Three-Tier Evidence System and Risk Transmission Modeling
3.1 Three-Tier Evidence Grading
To keep official documents, anonymous sources, and secondhand estimates from being mixed together, grading constraints are required:
- Tier 1 evidence: company announcements and formal documents from regulatory and judicial bodies. Can be used directly as a support point for conclusions.
- Tier 2 evidence: media reports citing sources under editorial standards. Can describe trends but cannot independently support quantitative conclusions.
- Tier 3 evidence: analytical inference, secondhand compilations, and unverified information. Can only enter the next step as a hypothesis to be verified.
At the prompt layer, this grading must be written as a hard constraint, not a suggestion:
Rule R1: Every conclusion sentence must carry at least one Tier 1 evidence citation; otherwise it is downgraded to a "hypothesis."Rule R2: Tier 3 evidence must not appear in conclusion paragraphs; it may only appear in the "to-be-verified list."Rule R3: When Tier 1 and Tier 2 evidence conflict, output a conflict note and do not perform weighted merging.Rule R4: Every number must be bound to a source and a statistical basis; if the basis is missing, mark it as not comparable.
3.2 From a Risk List to a Transmission Graph
With the factual foundation in place, the second stage is where risks may be identified. The mistake to avoid here is outputting a flat risk list—a list has no explanatory power. A more valuable artifact is a directed graph: nodes are risks, edges are transmission relationships, and each edge is annotated with transmission lag and amplification factor (qualitative is enough; pseudo-precise quantification is not required).
Governance risk (executive change / unresolved investigation)└─> Compliance risk (higher probability of regulatory penalty, medium lag)└─> Financial risk (recognition of contingent liabilities and guarantee exposure, long lag)└─> Valuation risk (higher discount rate, short lag, high amplification factor)Supply chain constraints ─> Revenue recognition timing risk ─> Accounts receivable and inventory pressure
This graph directly explains “spike then slow decline”: expectations move first, and a liquidity narrative drives a rapid rally; then compliance and financial risks land segment by segment along the transmission chain, the valuation center is repeatedly revised downward, and a long-tailed slow decline forms. The model’s value is not in predicting price levels, but in anchoring every link of this chain to verifiable evidence.
3.3 Scenario-Based Projection
On top of the transmission graph, build three scenarios, each with explicit trigger conditions, observation metrics, and invalidation conditions:
- Base scenario: investigation findings are neutral, revenue structure holds, and valuation fluctuates slightly.
- Stress scenario: contingent liabilities are recognized or purchase commitments are concentrated for fulfillment, putting pressure on cash flow.
- Extreme scenario: expanded export controls combine with an advancing criminal investigation, creating a structural gap on the revenue side.
The key to scenario engineering is writing “observable falsification conditions”—for example, switching to the stress scenario if accounts receivable growth exceeds revenue growth by a set number of percentage points for a sustained period. This turns research from narrative into executable monitoring rules.
4. Stage Three: Implementing the Interactive Risk Monitoring Dashboard
The third stage is delivering the conclusions. A static report cannot carry transmission relationships; an interactive page is the right vehicle. The recommended technical path: the data layer fixes the fact table and risk graph in JSON, the rendering layer uses a single-file HTML page with a lightweight charting library, and the interaction layer keeps only three actions—filter, drill down, and scenario switching.
const state = { level: 1, scenario: "base", node: null };function evidenceFilter(facts, level) {return facts.filter(f => f.evidence_level <= level);}function renderGraph(nodes, edges, scenario) {// Adjust edge transparency and thickness by scenario to express transmission strengthreturn edges.map(e => ({ ...e, weight: scenarioWeight(e, scenario) }));}
The page must include an “evidence drawer”: clicking any conclusion opens a side panel showing the cited Tier 1 evidence excerpt, its publication time, and its archive ID. Without this drawer, the dashboard degrades into a better-looking slide deck.
5. Reusable Checklist and Engineering Recommendations
- Set the temporal watermark first: every retrieval request carries a cutoff time to prevent future information leakage.
- Decouple the fact table from the reasoning layer: the model may only read the fact table and may not recall freely.
- Make conflicts explicit: a conflict is a signal, not noise.
- Enforce citations: no citation means downgrade to hypothesis.
- Make delivery interactive: conclusions must be drillable down to evidence.
- Keep full-chain traceability: log the prompt version, retrieval snapshot, and model output for each generation, to support review and compliance auditing.
For engineering support, a combination of general cloud capabilities can be used: object storage for retrieval snapshots and report archiving, a message queue to smooth out crawling task spikes, a container platform to host parsing and inference services, and logging plus monitoring and alerting to track task success rate and latency. Baidu AI Cloud offers corresponding capabilities in these general categories, and teams can select based on their existing architecture.
6. Conclusion
The difficulty in financial research has never been generating text, but constraining text. Only when “build the fact base first, grade second, reason last” is fixed into a pipeline, when risk is upgraded from a list to a transmission graph, and when the report is upgraded to a drillable monitoring dashboard does the model truly acquire research properties. This method does not depend on any single tool and transfers equally well to due diligence, supply chain risk, and compliance review scenarios.
