Forge Fate
Quant & Data Research

Verify the Research, Not the Price: Boundaries for LLMs in Quant Research

7 min read

An LLM can summarize a report or review backtest code. A citation beside a summary does not guarantee accuracy, however, and an explanation of suspicious code is not evidence that an error was found and fixed.

Research outputs need a path back to source passages, calculations, and execution results.

This article limits LLM use to organizing supplied material and proposing questions or candidates for further checking. It does not evaluate price prediction or investment performance. The examples below are fictional illustrations, not actual model responses or personal investment experiments.

Define both the task and the evidence needed to accept its output

“Summarize this” or “review this code” does not specify how to validate the result. Establish acceptance criteria alongside the request.

Delegated taskExpected outputCheck before accepting
Document summaryClaims with source locationsDoes the source actually support each claim?
Information extractionCompanies, products, events, and datesAre relationships and dates supported?
Results-table comparisonDifferences and follow-up questionsAre periods, units, costs, and formulas comparable?
Code reviewSuspected issues and proposed testsDoes a test exercising the implementation catch the error?
Research-record draftingInputs, settings, results, and limitationsDoes it match actual files and execution records?

This is a proposed division of work, not an institution's official risk classification or a procedure with demonstrated effectiveness.

FINRA's 2024 notice describes possible generative-AI applications such as summarizing research reports and retrieving information from filings or earnings materials, while noting accuracy, privacy, and bias concerns. It provides context, not comparative evidence that these tasks become more accurate or productive. FINRA Regulatory Notice 24-09

Starting with outputs that are easy to compare against sources does not eliminate verification. Even one short summary sentence can have significant consequences if it later supports an investment decision.

Separate facts, attributed statements, and inference in a fictional document

These sentences are illustrative material, not a real company's disclosure:

Sentence 1: Fictional Company A postponed a new product launch until the next quarter.
Sentence 2: The company cited delayed component procurement as the reason.
Sentence 3: This material contains no revenue forecast figures.

A possible request is:

Use only the supplied material. Separate facts, explanations attributed to the company, and matters that cannot be established. Cite supporting sentence numbers. Do not add causes or figures absent from the material.

The following is an example review standard, not an observed model response:

ItemEvidenceSupported wording
Launch postponed until the next quarterSentence 1A schedule change stated in the material
Company cites procurement delaysSentence 2The company's explanation, distinct from an independently verified cause
Revenue forecast figures unavailableSentence 3No figures in this material
Was the revenue forecast lowered?NoneCannot be determined from this material

The following sentence should not be accepted:

“Component shortages delayed the product launch, causing the company to lower its revenue forecast.”

This intentionally flawed illustration adds an unsupported forecast reduction and turns the company's explanation into established causality.

A defensible revision is:

“Company A postponed the launch until the next quarter and cited delayed component procurement. The supplied material does not establish whether its revenue forecast changed.”

Absence claims also need boundaries. No forecast in this document does not mean the company issued no forecast elsewhere. With real documents, also identify the publication date and fiscal period that define “next quarter.”

Check both whether a source exists and what it supports

When an LLM supplies a paper title and link, ask separately:

  1. Does the source exist?
  2. Does it support the adjacent claim?

A source can pass the first test and fail the second. An actual code-security study, for example, does not establish financial time-series execution rules.

NIST's generative-AI risk profile discusses confidently incorrect content as well as faulty reasoning and citations that appear to justify an answer. A citation is a starting point for checking, not proof that checking is complete. NIST Generative AI Profile, §2.2

The sources used here have distinct scopes:

SourceRelevant contribution hereWhat it does not establish by itself
NIST generative-AI risk profileRisk of incorrect content, reasoning, and citationsError rates or returns for a particular financial task
FINRA generative-AI noticeFinancial-document use cases and accuracy concernsProven effectiveness of those tasks
Lost in the MiddlePerformance varied with information position in evaluated tasksIdentical failure rates across all current models and financial documents
Asleep at the Keyboard?Security evaluation of code generated by the then-current CopilotBacktest timing alignment or the appropriate number of shifts

Lost in the Middle varied relevant information's position in multi-document question answering and key-value retrieval. Performance declined when relevant information occurred in the middle of long contexts. This does not imply every model misses long financial-document content to the same extent. Paper

Asleep at the Keyboard? evaluated code generated by the then-current GitHub Copilot in security-related scenarios. It informs discussion of generated-code review, but did not directly test trading timing or financial data leakage. Paper

Recording evidence locations and unresolved items is a workflow proposal informed by these limitations. No claim is made that a particular prompt has been proven to eliminate omissions.

Turn code-review explanations into executable questions

This code illustrates a timing problem. It is neither a real strategy execution record nor an observed model-generated example.

python
signal = price.pct_change()position = (signal > 0).astype(int)strategy_return = position * price.pct_change()

If price contains daily closes and each percentage change represents the return from the previous close to the current close, the code uses that interval's direction to decide whether the strategy held the position during that same interval.

A signal made after observing the current close would thereby receive an already completed return. This follows from the code and its time definitions; general AI-risk literature has not directly validated this snippet.

A useful request to an LLM is:

Describe the time represented by each signal and return row. If execution timing is unspecified, leave a question rather than inventing it. For each suspected error, propose a small input and expected result that would expose it.

QuestionWhat it establishes
When is the current close available?Information allowed when generating signals
When is execution assumed to occur?Timing of the weight change
Is a return stored at its start or end date?Alignment convention
Is the next row the next trading day?Holidays versus missing trading data
Does changing a future price alter an earlier signal?Future-information references
Do unfinished labels enter training?Outcome availability at training time

Do not settle on “shift one row” before resolving these questions. For a signal generated from the close at t and executed at the close at t+1, the new weight receives returns after execution. The return-storage convention is also needed to determine the shift.

Apply the same standard to LLM-proposed tests. A statement that “future information is not used” matters less than calling the actual function and checking the expected property after changing future values.

A small numerical example appears in timing alignment across four price intervals. This article presents no new execution or PASS record.

Check the conditions behind a results table before explaining it

An LLM can draft a comparison of completed results. Turning the largest number into prose is not enough to establish comparability.

ConditionQuestion
PeriodIdentical start and end dates?
MetricCumulative and annualized returns correctly distinguished?
CostsEntry, rebalancing, and liquidation treated consistently?
RiskDrawdowns and cash exposure compared too?
InputsSame assets, price definitions, and data snapshot?
Execution statusAny failed or excluded periods?

Do not accept “strategy A is superior” if these conditions differ. Produce comparable results or state the differences beside the numbers.

When evidence is insufficient, record an unresolved question instead of a conclusion:

“A has a higher reported return, but evaluation periods and cost assumptions differ, so no ranking was made. Recalculation under common conditions is required.”

This is a writing example, not an observation from a particular experiment.

The boundary adopted in this article

Treat LLM summaries, classifications, and review questions as intermediate research outputs. Before accepting facts or numbers, retain appropriate evidence:

  • Compare document claims with original passages.
  • Check numbers against raw inputs and formulas.
  • Check code behavior through execution and tests.
  • Compare strategies under common conditions using completed run records.

Systems that determine securities, positions, or live orders from LLM answers alone are outside this article's scope. This is a research-scope choice, not a judgment about every AI system or a statement of legal duties applicable to all investors.

Human approval alone does not complete verification either. Record what supported the decision. Asking the same model to recheck itself does not replace source comparison or independent calculation.

Measure verification effort before claiming usefulness

This article presents no measured time saving or error reduction from LLM use. Future evaluation could record:

RecordPurpose
Task and inputsIdentify what is being compared
Model, date, and requestIdentify generation conditions
Initial response and revisionShow corrected errors and omissions
Source checks and execution resultsSupport acceptance decisions
Drafting, review, and correction timeInclude verification effort
Completion criteria and unresolved itemsCompare speed alongside quality

A fast response does not make the overall task faster if checking and correction take longer. If the benefit is better questions, record which questions were added and what they revealed.

Comparing work with and without an LLM also requires comparable difficulty and completion criteria. One successful case does not establish general productivity gains.

The essential research-record questions are:

What output was received?
What evidence supported accepting or correcting it?
What remains unverified?

The workflow from question definition through checking and recording continues in a safe way to do quant research with LLMs.

Report an error or share feedback

Open a draft with this article’s title and URL. Review the message and recipient before sending.

To: [email protected]

Open email draft

If no email app opens, copy these details into your usual email service.

Contact information