AI4Finance Lab

A leakage-controlled multi-agent architecture for equity return prediction.

Can a regime-conditioned coordinator over fundamental, technical, and textual specialist agents beat both individual specialists and a simple equal-weight forecast average net of realistic transaction costs?

Launch Market & Signal Explorer → Coordinator benchmark ladder (C0–C7) Point-in-time signal contract
Status
Active · White Paper & MAS v0.1 Spec
Investigators
Reza Kalantarinejad & Amir Amel-Zadeh
Baseline Scope
Scope C ("3+1" Specialists + Regime Context)
Empirical Pilot Universe
AAPL, MSFT, NVDA, TSLA, AMZN (1d & 5d)
Theoretical & empirical motivation

Designed directly in response to the structural gaps identified in our systematic review of 775 studies.

Our Programme P1 systematic review revealed three sobering regularities in AI-based equity prediction: first, only 5.2% of empirical studies (3.1% validation-adjusted) integrate fundamental, technical, and textual sentiment signals simultaneously; second, multi-agent LLM systems frequently introduce unquantified pre-training look-ahead bias and high run-to-run variance without testing against simple non-agentic forecast averages; and third, only 2.5% (1.2% validation-adjusted) jointly report walk-forward validation, an economic portfolio metric, and transaction costs.

In econometric forecasting, the Forecast Combination Puzzle (Bates & Granger, 1969; Timmermann, 2006) shows that equal-weighted averages frequently dominate complex estimated weights out-of-sample because weight estimation error compounds signal noise. Programme P2 therefore treats the equal-weight average (C1) and statistical stacking (C4–C5) as strict hurdles that any agentic coordinator must clear net of costs.

System Architecture · Scope C ("3+1")

Three domain specialists. One shared regime context. Strict chronological isolation.

Rather than deploying unconstrained conversational LLM agents across numerical time series—where tokenisation degrades numerical precision and pre-training cutoffs leak future knowledge—our baseline architecture assigns each evidence modality to its native statistical representation, isolating language models to the textual stream under entity and date masking.

Specialist 01 · Market Microstructure & Price

Technical Specialist

Operates on split- and dividend-adjusted daily OHLCV bars. Computes trend, momentum, and volatility-scaled price features (returns across 1d–60d horizons, SMA20/50 crossovers, RSI-14, MACD, ATR/realised vol).

Models: Regularised Logistic / Ridge & Gradient Boosted Trees (Zero LLM usage)
Specialist 02 · Accounting & Disclosures

Fundamental Specialist

Processes quarterly and annual financial statement variables (profitability, leverage, accrual quality, cash-flow yield, valuation multiples, and earnings surprise) aligned strictly to SEC EDGAR filing acceptance timestamps, never fiscal period-end dates.

Models: Penalised Regression & Cross-Sectional / Tree Baselines (Zero LLM usage)
Specialist 03 · Financial News & Text

Sentiment Specialist

Extracts directional polarity, novelty, and cross-article disagreement ($\sigma_{\text{pol}}$) from timestamped news and disclosures prior to the daily cutoff. Applies entity and date masking during LLM ablation tests to prevent company-identity memorisation.

Models: Pinned FinBERT (Primary) vs. Pinned Temperature-0 LLM Extractor
Contextual State · "+1"

Shared Regime Context

Does not cast an independent directional vote on stock returns. Instead, it measures market-wide and stock-specific realised volatility, drawdown state, and cross-specialist dispersion to condition coordinator weights and scale the no-trade buffer.

Role: State-Dependent Weight Conditioning & Abstention Scaling
Interface & Chronology Protection

The 9-Field Signal Contract & Hard Time Gate.

Every specialist agent must emit a schema-validated JSON record at decision time $t$. A deterministic Hard Time Gate sits between the specialists and the coordinator: any record whose known_at timestamp exceeds $t$, or whose training_cutoff overlaps the evaluation fold, is automatically rejected before fusion.

Field Type / Domain Methodological Purpose
p_up float ∈ [0, 1] Calibrated probability that the target equity's forward return over horizon $h$ exceeds zero (or the benchmark threshold).
expected_return float (bps) Point forecast of forward return over horizon $h$ (`1d` or `5d`), scaled by in-sample training volatility.
uncertainty float ≥ 0 Epistemic/aleatoric uncertainty estimate (e.g., ensemble dispersion, predictive interval width, or news polarity dispersion $\sigma_{\text{pol}}$).
horizon enum ("1d", "5d") Explicit forecast horizon aligned with the rebalancing and transaction-cost accounting schedule.
known_at ISO-8601 UTC Latest publication or filing-acceptance timestamp of any input datum used to form the signal. Enforced by known_at ≤ t.
expires_at ISO-8601 UTC Timestamp after which the signal becomes stale and cannot be carried forward without re-observation.
abstain boolean Specialist-level selective abstention flag when input data are missing, stale, or exhibit extreme internal contradiction.
provenance object / hash Cryptographic hash and source identifiers of the raw price bars, EDGAR filing accession numbers, or news article IDs consumed.
model_version & training_cutoff string / ISO date Pinned model identifier and the exact terminal date of its training or pre-training corpus to audit chronological integrity.
Ablation & Falsification Protocol

The Coordinator Benchmark Ladder (C0–C7).

Our full-text audit of the literature showed that complex multi-agent architectures rarely test whether their coordination mechanism adds value beyond equal-weighted averaging (C1) or regularised stacking (C4). We therefore evaluate eight nested rungs under identical expanding-window walk-forward folds and transaction cost grids (5, 10, 25, and 50 bps one-way).

Rung Coordinator Specification Information Used Falsification Hurdle
C0 Single Best Specialist (Technical, Fundamental, or Sentiment alone) Unimodal signal stream only Baseline reference for multi-modal fusion value.
C1 Equal-Weight Forecast Average ($w_k = 1/K$) Specialist forecasts p_up / expected_return Must beat C0; serves as the primary Forecast Combination Puzzle benchmark.
C2 Uncertainty-Screened / Inverse-Variance Average Forecasts + specialist uncertainty & abstain Tests whether discounting high-dispersion or abstaining specialists improves net Sharpe over C1.
C3 Regime-Conditioned Heuristic Weights Forecasts + Shared Regime Context (vol, drawdown) Tests whether state-dependent weighting beats static weights (C1–C2) out-of-sample.
C4 Nested Out-of-Fold Linear / Ridge Stacking Specialist out-of-fold predictions in inner training window Tests whether learned linear combination weights survive out-of-sample estimation error.
C5 Regime-Interacted Stacking Out-of-fold predictions $\times$ Regime indicators Strongest non-agentic statistical benchmark; must beat C1–C4 net of turnover costs.
C6 Deterministic Risk & Veto Controller C5 output + explicit no-trade cost buffer & conflict veto Tests whether selective abstention and turnover gating add net economic utility after 5–50 bps costs.
C7 Constrained LLM Coordinator / Arbiter Structured Signal Contracts + Regime Context (JSON-only, temp 0) Must outperform C5 and C6 net of costs and pass the permutation sanity test to justify LLM coordination.
Open About Statistical Limits

Statistical power and Minimum Detectable Effect (MDE) in finite samples.

A core principle of AI4Finance Lab is stating explicitly what a sample can and cannot detect before experiments are run ($\alpha = 0.05$, two-sided, $80\%$ power). Over a two-year out-of-sample evaluation window ($\approx 500$ trading days), non-overlapping 5-day forecasts on a single equity yield only $N \approx 100$ independent observations—requiring an unrealistically large directional hit-rate improvement of $\approx 7.0\text{ percentage points}$ ($\Delta\text{Sharpe} \approx 0.89$) for statistical significance.

Single Equity · 5d Horizon (N ≈ 100)
+7.0 pp
Minimum detectable directional accuracy gain ($\Delta\text{Sharpe} \approx 0.89$). Underpowered for modest edges.
5-Stock Pooled Panel · 5d (N ≈ 500)
+3.1 pp
Pooled across AAPL, MSFT, NVDA, TSLA, AMZN with cluster-robust / Newey–West HAC inference ($\Delta\text{Sharpe} \approx 0.40$).
5-Stock Pooled Panel · 1d (N ≈ 2,500)
+1.4 pp
High statistical power ($\Delta\text{Sharpe} \approx 0.18$), paired with strict transaction-cost sensitivity grids (5–50 bps).