MacroLens: A Multi-Task Benchmark for Contextual Financial Reasoning under Macroeconomic Scenarios

Patara Trirat, Jin Myung Kwak, Jay Heo, Heejun Lee, Sung Ju HwangarXiv 2026

TL;DR

MacroLens is a new multi-task financial benchmark that requires models to reason jointly across price history, accounting fundamentals, macroeconomic regimes, and financial text. By enforcing strict point-in-time alignment to eliminate data leakage, the benchmark reveals a surprising truth: classical tree-based models still dominate long-horizon forecasting, and adding complex textual or macroeconomic context often yields diminishing returns for large language models (LLMs).

What Problem Does This Paper Address?

When human financial analysts evaluate a company, they don't just look at a stock chart. They read SEC filings, track Federal Reserve interest rate hikes, and evaluate accounting fundamentals simultaneously. However, existing AI benchmarks evaluate time-series forecasting and financial NLP in total isolation.

Furthermore, evaluating machine learning models on financial data is notoriously difficult because finance violates standard time-series assumptions:

  1. Look-ahead bias: Textual data (like news or 10-K filings) is often mistakenly back-dated to the period it describes rather than its actual public release date.
  2. Reporting lags: Quarterly financials are reported with a 1- to 90-day lag.
  3. Data redundancy: Filing text often repeats numerical tables.
  4. Regime leakage: Macroeconomic trends span across standard calendar train/test splits, leaking future information to the model.

MacroLens addresses these gaps by providing a unified, multimodal evaluation framework built with strict point-in-time constraints.

Figure 1: Left: Positioning of MacroLens against existing benchmarks. Right: A MacroLens instance at anchor date t, showing the four input types and the seven tasks derived from the same evidence.

Methods

The authors constructed MacroLens by enforcing four build-time invariants: point-in-time observability, text-availability gating, algebraic-leakage exclusion (removing features that are direct mathematical functions of the target), and applicability masking (handling structurally missing data properly).

They also introduced an automated Scenario Detector that identifies major macroeconomic shifts (e.g., Fed rate hikes, VIX volatility spikes) and translates them into natural language templates.

To understand exactly how different data types affect model performance, the authors designed a five-step feature-context ablation ladder:

  • Setting A: Price history (OHLCV) only.
  • Setting B: Price + accounting fundamentals and firm attributes.
  • Setting C: Setting B + macroeconomic state.
  • Setting D: Setting C + disclosure-activity flags.
  • Setting E: Setting D + raw filing-text excerpts.
Figure 2: MacroLens construction pipeline: universe definition, per-source ingestion, four build-time invariants, panel and scenario assembly, and per-task ground-truth construction.

Datasets

The paper introduces MacroLens, a point-in-time panel covering 4,416 U.S. small- and micro-cap equities from 2021-01-04 to 2026-03-31. The dataset contains:

  • 4.84M daily price rows
  • 46.8M XBRL accounting facts
  • 53 macroeconomic series (from FRED and EIA)
  • 295,860 SEC filings and 215,882 news articles
  • 139,855 RentCast real-estate property records (for cross-domain evaluation)

The benchmark evaluates models across seven distinct tasks (T1–T7), including long-horizon price forecasting, public/private company valuation, financial statement generation, and real-estate valuation.

Key Insights and Ideas

  • Tree Models are Hard to Beat: For long-horizon price forecasting, classical tree-based models (RandomForest and LightGBM) soundly defeat deep sequence models, specialized time-series foundation models (TSFMs), and zero-shot LLMs.
  • Financial Ratios Confuse LLMs: In a paired contrast between public valuation (T2, with market ratios) and private valuation (T5, fundamentals only), every single zero-shot LLM performed better when analyst ratios (like P/E or EV/EBITDA) were removed. While these ratios help tree models, they degrade LLM reasoning.
  • The "Flat Tail" of Context: As shown in the ablation experiments, adding macroeconomic states or raw text snippets (Settings C, D, and E) failed to provide consistent performance gains over basic accounting fundamentals (Setting B). This suggests that current frontier LLMs struggle to extract marginal trading signals from raw financial text.

Key Results

  • Forecasting (T1): At a 252-day horizon, RandomForest achieved the lowest Mean Squared Error (MSE) of 57,086, outperforming the best zero-shot LLM (Gemini-3-Flash at 133,037) and leaving time-series foundation models like Chronos-2 ($1.70 \times 10^6$) far behind.
  • Public vs. Private Valuation (T2 vs. T5): Removing derived ratios caused Gemini-3-Flash's Median Absolute Percentage Error (MedAPE) to drop from 88.17% to 61.27%, showing a massive improvement in zero-shot corporate valuation when forced to rely purely on raw fundamentals.
  • Statement Generation (T3): Classical regressors led the pack, with RandomForest hitting a 117.48% Mean Absolute Percentage Error (MAPE) when predicting future financial statement fields, compared to LLMs which hovered between 148% and 203%.

Limitations and Future Work

MacroLens is currently limited to a U.S.-centric, English-only scope and covers a single macroeconomic regime (2021–2026). There are also minor coverage gaps where certain sectors (like banks or insurers) do not align perfectly with standard XBRL accounting definitions.

The authors plan to extend MacroLens through annual updates to mitigate LLM pretraining contamination, expand the methodology to international markets (such as Europe's ESMA and Japan's EDINET), and implement more rigorous closing-price recall probes.

Summary updated

BibTeX
@misc{trirat2026macrolens,
  author = {Patara Trirat and Jin Myung Kwak and Jay Heo and Heejun Lee and Sung Ju Hwang},
  title = {{MacroLens: A Multi-Task Benchmark for Contextual Financial Reasoning under Macroeconomic Scenarios}},
  year = {2026},
  eprint = {2606.24950},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.24950},
}
Figure