Forge Fate
Quant & Data Research

Rules, Machine Learning, Deep Learning, and LLMs: Four Ways to Approach the Same Investment Question

6 min read

A computer can address “will the price rise next period?” through fixed conditions, learned relationships, or language-model assistance organizing research assumptions and calculation issues. Their outputs differ:

text
A signal that a specified condition was satisfiedA prediction from a fitted modelA written explanation organizing supplied information

Calling all three “AI predicted a rise” obscures what must be checked. This article compares inputs, learning, outputs, and evaluation using one hypothetical research question. It does not train models or compare investment performance.

1. These are overlapping approaches, not independent technical categories

Machine learning includes learning relationships or patterns from data. Deep learning is a neural-network-based approach within it, using multiple processing layers to learn representations. Widely used modern LLMs are also neural models trained on large datasets. Here, fixed rules mean conditions explicitly chosen by a person. LeCun, Bengio, and Hinton, Deep learning

Deep learning is not a separate superior tier above machine learning. Nor does using an LLM without new training mean the model was never trained; it uses prior training to respond to inputs.

The comparison is therefore about implementations and research roles:

Approach hereExample
Fixed ruleSelect when past return is positive
Tabular supervised learningLogistic regression or a tree predicts an upward outcome
Deep learningA neural network predicts the same outcome
LLM assistanceDraft an organized review of supplied evidence and rules

They can be combined: a model outputs probabilities, then a human-defined threshold and allocation rule converts them into positions.

2. Align the outcome interval before comparing answers

The hypothetical question is:

Can price/volume features known by month-end identify whether return from the next entry to the following rebalance will be positive?

“Next month's rise” is ambiguous, so define:

ItemIllustrative rule
Signal timeAfter observing month-end close
EntryNext trading day's close
ExitTrading-day close following the next month-end signal
OutcomeExit price / entry price - 1
Classification label1 if outcome is strictly positive, otherwise 0

This defines a price interval, not evidence that desired quantities can actually execute at those closes.

Assume one feature row:

FeatureIllustrative value
Trailing 20-trading-day cumulative return+3%
Sample standard deviation of daily returns over those 20 days1.5%
Current volume / trailing 20-day average volume1.2

These are invented explanatory numbers, not calculated market observations. Assume all are available at signal time. The current row has no future label yet. Historical training labels become available only after the defined exit and required prices are known; a new signal must not receive its future outcome as input.

3. A fixed rule executes a human-defined condition

text
Select if trailing 20-trading-day cumulative return > 0.Otherwise do not select.

The +3% example produces selection 1. This rule does not use volatility or volume merely because those columns exist. It executes a chosen condition rather than fitting an optimal period or threshold from training data.

ItemThis rule
InputTrailing 20-day return
Separate fittingNone
OutputSelection 0 or 1
Human choicesPeriod 20, boundary 0, strictly positive selection
Still neededPosition mapping and evaluation

Selection 1 does not mean a 100% chance of rising. It means the condition holds. Fixed rules can still result from searching many periods and thresholds; record that history. Short final code does not remove selection effects.

4. Tabular supervised learning estimates feature–label relationships

Logistic regression and trees need more than one feature row:

text
Features available at historical decision times+Labels subsequently established over the specified intervals

Supervised learning fits relationships from those examples. Applying the fitted model to a new input is inference. Google, Supervised Learning

The example can use trailing return, trailing volatility, and volume ratio. Output can be a class or estimated probability of the upward label.

There are no training data or fitted models in this article, so no predicted probability is calculated. Values +3%, 1.5%, and 1.2 alone cannot determine logistic-regression or tree outputs.

An estimated probability differs from a condition signal

Suppose a classifier outputs 0.60. This is an interpretive illustration, not an execution result. It does not automatically mean the real probability is exactly 60%. Calibration evaluates whether outcomes among similar predicted probabilities occur at corresponding frequencies. Probability-shaped output does not guarantee calibration. scikit-learn, Probability calibration

EvaluationQuestion
Class predictionHow well does a specified threshold distinguish upward/non-upward outcomes?
Probabilistic predictionAre probabilities assigned appropriately to observed outcomes?
CalibrationDo similar forecasts correspond to observed event frequencies?
Investment outcomeWhat returns and losses remain after positions and costs?

Log loss and Brier score evaluate probabilistic forecasts, but neither isolates calibration alone. Probability-bin outcome frequencies can be inspected separately. scikit-learn documentation

A prediction model is not yet a complete strategy

Still specify selection thresholds, allocation across multiple selected assets, behavior when none qualify, timing of changes to existing holdings, costs, and final liquidation. Different choices can produce different strategies from identical predictions.

5. Deep learning can fit the same question with another structure

Replace logistic regression or trees with a neural network while retaining the same three features, upward label, training/evaluation timing, and prediction metrics. The primary change is how the model represents and learns the input–output relationship.

ItemTabular model exampleNeural-network example
InputReturn, volatility, volume ratioSame three features
TargetPositive return over the defined intervalSame
ModelLogistic regression or treeMultilayer neural network
OutputEstimated upward probability, etc.Estimated upward probability, etc.
EvidencePredictions on unused evaluation dataSame data and metrics

Adding daily price sequences or news changes information inputs as well as architecture. If performance improves, distinguish architecture effects on common inputs, additional-information effects, and their combination.

“A neural network beat logistic regression” needs inputs, fitting scope, selection history, and evaluation dates. No network was trained here, so no superior probabilities or returns are reported.

6. An LLM can perform a different task within the same research

Language models model token or token-sequence probabilities in context and support generation and summarization. Google, Introduction to Large Language Models

For this research, consider asking an LLM to organize known facts and missing evidence into a memo:

text
Use only these features and rules to draft a research memo:- Trailing 20-day return: +3%- Sample standard deviation of daily returns: 1.5%- Volume ratio: 1.2- Rule: select if past return is strictly positive.Separate:1. Results determined by the rule.2. Results requiring a fitted model.3. Results requiring actual prices, costs, and evaluation data.Do not invent upward probabilities or investment performance.

This illustrative memo was written to explain the request, not collected from a model call:

text
Established:+3% exceeds zero, so the fixed rule selects the asset (1).Not currently computable:Without fitted models and parameters, probabilities from logisticregression, trees, or neural networks cannot be calculated.Additional requirements:Chronological training examples, completed labels, evaluation periods,position rules, cost assumptions, and execution assumptions.Interpretation limit:Volatility 1.5% and volume ratio 1.2 alone do not establish a futureprice increase or profitability.
Memo checkEvidence
Numbers copied correctlyInput table
Rule explained correctly+3% > 0
No invented forecastsScope of supplied material
Facts and interpretations separatedClaim-level support
Generated code works, if anyExecution and tests

Can an LLM also be used for prediction?

This does not restrict LLMs to prose organization. They can extract text features, classify, or produce numerical forecasts, but each role requires suitable evaluation.

A generated sentence saying “60% probability of rising” does not establish a probability fitted and tested like the classifier above. Explain how it was obtained and compared with outcomes.

Historical prediction experiments must also consider later information in pretraining or retrieved sources. Omitting future dates from a prompt does not establish a historical information boundary. The research-assistance workflow is developed in questions, verification, and research records.

7. Compare inputs, learning, outputs, and evidence

ApproachInputsTraining for this taskOutputEvidence
Fixed ruleRequired featuresNone; rule-search history separateSelectionCondition, timing, selection history
Tabular supervised learningHistorical features/completed labels and new featuresRequiredClass/probabilityTrain/evaluation separation and baseline prediction comparison
Deep learningSame features or separately defined sequences/textDirect fitting or pretrained modelTask-specific prediction/representationDistinguish input and architecture changes
LLM assistanceEvidence, rules, promptPretrained model without additional fitting assumed hereMemo/code draftSource agreement, omissions/additions, code execution

No additional training does not mean no verification. Fixed rules need performance evaluation; pretrained LLM outputs need evidence checks. Do not combine memo accuracy and classifier performance into one score when they perform different jobs.

8. Regression, classification, and clustering are another axis

TaskQuestionExample output
RegressionWhat will the holding-period return be?Estimated return
ClassificationWill it exceed zero?Class or probability
ClusteringWhich observations have similar selected features?Cluster assignment

The shared example is classification, implementable with logistic regression, trees, or neural networks. Clustering explores feature similarity without future upward labels. A cluster number alone does not establish an economic meaning such as bull market or crisis.

Choose along two axes: what task—regression, classification, structure exploration, document review—and what method—fixed rule, logistic regression, tree, neural network, or LLM assistance.

9. Design prediction and strategy comparisons separately

Comparing predictive models

Use common features, labels, and evaluation times. A simple probability predictor determined from training can serve as a baseline. Do not casually treat a rule's binary selection as a validated probability in probability-scoring comparisons. Align output types first.

Comparing complete strategies

Include the mapping from forecasts to selection and allocation:

text
Inputs → signal/prediction → selection/allocation → trades→ costs → wealth and loss-path evaluation

Slightly higher classification accuracy can accompany worse net results through more trading or different loss sizes. Record predictive and strategy metrics separately.

Comparing research assistants

Evaluate document/code errors and omissions, correction work, and final output accuracy. This article has not measured those benefits.

The scope is concepts and comparison design. No model fitting/inference, backtest, or separate collection of LLM responses was performed. These four approaches are not ascending performance grades: define the required output and verification evidence before choosing how to produce it.

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