A Three-Stage Framework for Financial-Grade AI Research: From Fact Verification to Interactive Risk Monitoring
This article presents a three-stage pipeline for applying large language models to financial research, where accuracy and auditability matter more than fluent output. It explains why treating an LLM as a direct answer generator produces reports that read well but fail verification, then details each stage: building a tiered evidence repository with L1/L2/L3 reliability levels, extracting risk items and modeling their transmission as a directed graph with lag periods, and rendering the results as an interactive single-page risk dashboard. The article includes the repository schema, transmission graph notation, scenario definitions with recomputable threshold expressions, and frontend code for evidence drill-down. It also lists common failure modes such as skipping stages, mixing evidence levels, and using non-recomputable metrics, along with their mitigations. The pipeline is described as transferable to compliance review, supply chain risk, and sentiment-based risk control.
1. Background: Why AI Analysis in Finance Often “Looks Right”
In high-rigor domains such as financial research, using a large language model directly as an answer generator tends to produce conclusions that are well structured and professionally worded but do not survive verification. The root cause is that the model outputs the most probable coherent text, while financial research demands a traceable, recomputable, and auditable chain of facts. When the underlying facts are not fixed in place, the model fills the gaps with news headlines, market rumors, and its own speculation, producing reports that are narratively complete but evidentially empty.
The more reliable engineering approach is therefore not to ask “what are the risks” first, but to solidify the objective facts about the research subject into a structured repository, with a reliability level attached to each entry. This step has a single goal: to make every subsequent analysis point back to a specific source.
2. Overall Architecture: A Three-Stage Pipeline
Split the capability into three stages, each producing an independent and verifiable artifact, to avoid the error accumulation caused by a single long reasoning chain.
- Data collection and fact verification: reconstruct the subject’s recent key events into a tiered evidence repository.
- Risk identification and transmission modeling: extract risk items on top of the repository, and establish transmission relationships and scenario assumptions between them.
- Interactive presentation of results: output conclusions as an interactive risk monitoring page, filterable by evidence level, scenario, and time dimension.
The three stages have a one-way dependency: stage two may only cite facts confirmed in stage one, and stage three may only render the structured conclusions from stage two. This constraint substantially reduces cross-stage hallucination.
3. Stage One: Building a Tiered Evidence Repository
3.1 Dividing the Information Domains
Take a semiconductor and accelerated computing vendor as the research subject. The information can be split into four domains, each collected and verified separately:
- Governance: board resolutions before and after executive changes, independent investigations, organizational adjustments, and scope of authority.
- Regulatory: securities regulator investigations, subpoenas from state attorneys general, criminal investigations by the justice department into specific transactions, legislative inquiries, and export control policy.
- Financial: the latest quarterly revenue structure, data center related revenue, accounts receivable, inventory, purchase commitments, and guarantee exposure.
- Supply chain and capacity: constraints on advanced process and advanced packaging capacity, and lead times for critical equipment and components.
3.2 The Three-Level Evidence System
Assigning a level to every record is the core constraint of the whole design:
- L1 confirmed facts: company announcements, formal regulatory and exchange filings, and public documents from government agencies.
- L2 reliable media citations: reporting from mainstream outlets with editorial standards, especially content citing named institutions or corroborated across multiple sources.
- L3 inference and unverified information: sell-side model estimates, secondary compilations, and single-channel reports from anonymous sources.
The rules are rigid: L3 may not independently support any conclusion; a conclusion that relies on L2 must explicitly flag its uncertainty in the output; when levels conflict, the higher level prevails, and the conflict itself is recorded.
3.3 Repository Structure
A flat table plus a relation table is sufficient, as long as the fields serve traceability:
{"fact_id": "F-2026-0117","domain": "regulatory","level": "L1","statement": "A state attorney general issued an investigative subpoena","source_type": "government_filing","source_ref": "doc://gov/2026/ca-1123","published_at": "2026-11-18","confidence": 0.95,"conflicts_with": ["F-2026-0121"]}
A practical setup combines object storage for the original documents, a relational database for the structured fields, and a search index service for semantic retrieval. Hash each original file into the database as evidence, so any conclusion can be traced back to a specific passage in the source.
4. Stage Two: Risk Identification and Transmission Modeling
4.1 Extracting Risk Items
Every risk item extracted from the repository must bind to at least one L1 or L2 piece of evidence, and must output a triple of trigger condition, impact path, and observable metric. For governance risk, observable metrics can be the duration of key position vacancies or changes in the proportion of independent directors; for regulatory risk, the number of newly added investigating bodies or the frequency of hearings and subpoenas; for financial risk, days sales outstanding, inventory turnover days, and purchase commitments as a share of current-quarter revenue.
4.2 Modeling Transmission Relationships
Risks are not parallel; they are directional. Use a directed graph to describe transmission, where nodes are risk items and edges are transmission mechanisms with lag orders:
[capacity constraint] --(delivery delay, lag 1-2 quarters)--> [purchase commitments cannot convert to revenue][regulatory investigation] --(customer compliance review, lag 1 quarter)--> [order deferral] --> [deterioration of receivables structure][governance change] --(strategic continuity discount)--> [downward shift in valuation center]
Label each edge with its evidence level and lag period, so scenario analysis can later distinguish what has already happened from what may still transmit.
4.3 Scenario Design
Fix three scenarios: base (L1 facts only), stress (adding high-confidence L2 transmission), and extreme (adding combined tail regulatory and capacity constraints). Each scenario outputs key metric ranges and trigger thresholds, and thresholds must be written as computable expressions rather than adjectives.
def covenant_headroom(commit, revenue, ebitda):# Purchase commitment coverage and earnings coverage multiples, both recomputable metricsreturn {"commit_to_rev": commit / revenue,"ebitda_to_commit": ebitda / commit}
5. Stage Three: An Interactive Risk Monitoring Console
The final artifact should be a single-page application with data injected as static structured files, avoiding runtime dependence on external APIs. Core interactions include evidence level filtering, scenario switching, timeline playback, and clicking through the transmission graph to the original evidence.
<div id="risk-board" data-scenario="base"></div><script type="application/json" id="facts">[{"id":"F-2026-0117","level":"L1","domain":"regulatory"}]</script><script>const facts = JSON.parse(document.getElementById('facts').textContent);const board = document.getElementById('risk-board');board.addEventListener('click', e => {const id = e.target.dataset.factId;if (id) console.log('drilldown', facts.find(f => f.id === id));});</script>
For cloud deployment, a container platform can host the frontend, a logging service can record access and drill-down behavior, and monitoring and alerting can notify when metrics cross thresholds. General-purpose capability categories are sufficient here.
6. Common Failure Modes and How to Avoid Them
- Skipping stages: asking for conclusions before building the repository, which leads to narrative hallucination. Avoid it by enforcing stage gates.
- Mixing levels: treating sell-side estimates as facts. Avoid it by making L3 structurally ineligible for direct citation by the conclusion layer.
- Non-recomputable metrics: using phrasing such as “significantly deteriorated.” Avoid it by giving every metric a formula and a data source.
- Smoothing over conflicts: averaging across contradictory sources. Avoid it by retaining conflict records and surfacing them explicitly on the page.
7. Conclusion
For financial research with large language models, the engineering focus is not prompt technique but evidence governance: fix and tier the facts first, then build directional transmission models, and finally present the results interactively. This pipeline transfers directly to scenarios that require high verifiability, such as compliance review, supply chain risk, and sentiment-driven risk control. The general-purpose storage, database, and container capabilities on Baidu AI Cloud are sufficient to support it.
