Bloomberg Deploys DelFin AI to Outperform Classical Financial Models

Deep Generative Modeling of Financial Time Series With Bloomberg LP — Ai4

Ai4

Deep generative time-series architectures and neural factor models beat classical linear baselines by capturing non-linear market dependencies and dynamically adjusting hedge ratios during volatility shocks.

AI-assisted summary of Deep Generative Modeling of Financial Time Series With Bloomberg LP — original source. Check the original for full context.

Source published:

Detailed notes

## Background Published by the Ai4 channel on YouTube on August 29, 2025, this talk features Arun Verma, Head of Quantitative Research Solutions at Bloomberg LP. According to the page description, the session explores generative machine learning methods for financial time series forecasting, financial data imputation, and collaborative filtering for illiquid asset pricing using deep generative architectures.

## TL;DR Arun Verma outlines how Bloomberg is translating machine learning breakthroughs into numerical finance, moving from domain-specific language models like BloombergGPT to financial time series foundation models. He introduces DelFin, a pre-trained foundation model built to handle tasks ranging from economic nowcasting to long-horizon intraday volume prediction. Verma also details Neural Factor Modeling, which extracts non-linear latent stock embeddings to optimize portfolios, as well as Neural Beta, a deep architecture that models dynamic CAPM beta and adaptively handles extreme market shocks like the COVID-19 volatility spike.

## Atmosphere & style The presentation begins with self-deprecating humor about presenting in the post-lunch conference slump before shifting into a polished, highly technical discourse. Verma speaks with the pragmatic authority of a quantitative researcher, contrasting the forgiving nature of conversational text AI with the razor-thin error margins required in live financial markets. The talk carries a steady, analytical momentum, bridging classical econometrics with modern deep learning architectures in an engaging and accessible style.

## Key takeaways - [00:04](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=4s) Bloomberg maintains a 500-person quantitative research and AI division within an engineering workforce of roughly 10,000, cultivating an open research culture alongside proprietary finance technology. - [03:51](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=231s) Financial time series modeling demands a vastly lower error tolerance than textual NLP, as inaccuracies directly degrade portfolio optimization, risk estimation, and alpha generation. - [07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) Bloomberg developed DelFin, a pre-trained foundation model for financial time series designed to replace bespoke, fragmented models across tasks like risk forecasting, imputation, and anomaly detection. - [07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) DelFin enables economic nowcasting by integrating alternative data sources, such as granular consumer credit card transactions, to project company earnings ahead of official disclosures. - [07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) The foundation model captures structural intraday microstructure patterns, successfully forecasting 7-day rolling intraday volume curves at 5-minute resolution. - [16:34](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=994s) Neural Factor Models move beyond fixed Fama-French characteristics by jointly learning dynamic factor exposures and latent factor trajectories directly from raw asset return series. - [19:20](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1160s) Rather than producing deterministic point predictions, deep generative asset pricing models output full multivariate return distributions with explicit uncertainty bands. - [22:15](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1335s) Log-likelihood calibration identifies an optimal capacity of 64 latent factors, capturing complex non-linear market interactions that traditional linear PCA fails to detect. - [22:15](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1335s) Unsupervised embeddings naturally organize stocks into intuitive economic clusters, allowing illiquid instruments to borrow pricing signals from closely related liquid neighbors. - [25:31](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1531s) Neural Beta replaces rolling OLS regressions with non-linear deep neural networks optimized via maximum likelihood to track dynamic, time-varying market beta. - [29:02](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1742s) During extreme market dislocations like the 2020 COVID shock, Neural Beta intelligently down-weights transient extreme spikes to maintain stable, realistic hedge ratios.

## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=4s) Bloomberg’s R&D Culture and AI Journey

Opening during the post-lunch conference session, Arun Verma jokes about being assigned to the "lunch slump hour" before outlining his role within Bloomberg's Chief Technology Office (CTO), where his group leads innovation and incubation for emerging products. Connecting his session to earlier events, he notes Geoffrey Hinton’s keynote conversation with Bloomberg reporter Shireen Ghaffari. Verma emphasizes that while Bloomberg is known for journalism, it operates fundamentally as a global technology powerhouse serving 350,000 customers worldwide.

Verma underscores that roughly 40% of Bloomberg’s workforce—between 9,000 and 10,000 employees—are software engineers, including a dedicated cadre of 500 PhD-level quantitative finance researchers, machine learning scientists, and AI researchers. Unlike conventional Wall Street institutions that closely guard intellectual property, Bloomberg embraces a Silicon Valley research culture by actively contributing back to the open-source ecosystem.

Tracing the company's 15- to 20-year history with artificial intelligence, Verma points to Bloomberg News as their earliest production machine learning deployment. Every story published by internal journalists or received from third-party wire services was ingested into a real-time natural language processing (NLP) pipeline that tagged corporate entities, key executives, topic themes, and sentiment analysis. This long-standing foundation culminated two years prior with the release of BloombergGPT, demonstrating that domain-specific large language models trained on Bloomberg's proprietary financial data—spanning analyst reports, news, and market filings—could outperform generic models on specialized financial workflows.

- Bloomberg operates with 350,000 global financial clients and a technical staff of 9,000–10,000 engineers. - The company maintains a 500-person scientific research division holding PhDs in quantitative finance, machine learning, and AI. - The real-time NLP news pipeline established the company's early ML infrastructure by automatically tagging sentiment, named entities, and topics. - BloombergGPT established the blueprint for training domain-tailored autoregressive transformer models on specialized financial corpuses.

---

[03:51](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=231s) Adapting Transformers to Financial Time Series

Verma explains how researchers in quantitative finance are translating NLP transformer paradigms to numerical time series. Rather than tokenizing subwords, numerical observations across time steps are converted directly into continuous or discretized tokens and processed through standard attention and encoder-decoder mechanisms. However, the performance tolerance in quantitative modeling is far more unforgiving than in conversational NLP. While users tolerate minor hallucinations or vague answers in ChatGPT, financial risk management, alpha generation, and portfolio optimization demand strict precision:

> "In the textual setting we have accepted a little bit of more margin of error and the vagueness of response... but when you're trying to solve a financial time series question—for example, estimation of risk or projection of returns or optimizing your portfolio—there is very little room for error. You really want to make sure you are able to build a model that can definitely beat the benchmarks, otherwise it's not useful at all."

Verma charts the mathematical lineage of time series and asset pricing models. Early economic modeling began with William Sharpe's single-factor Capital Asset Pricing Model (CAPM) in the 1960s, which earned a Nobel Prize, followed by multi-factor paradigms such as the Fama-French models. Over the past century, statistical forecasting evolved from classical autoregressive techniques like ARMA and Robert Engle's Nobel Prize-winning GARCH family to LSTMs, attention-based architectures, and modern diffusion models repurposed from image generation to simulate continuous financial distributions.

```mermaid flowchart LR accTitle: Evolution of Financial Time Series Modeling

subgraph Classical["Classical Econometrics"] A["1960s: CAPM<br/>(Sharpe)"] B["ARMA & GARCH<br/>(Engle)"] C["Fama-French Factor Models"] end

subgraph ModernML["Machine Learning & Deep Architectures"] D["Recurrent Models<br/>(LSTM / GRU)"] E["Time Series Transformers<br/>(Attention / Encoders)"] F["Generative Diffusion<br/>& Foundation Models"] end

A --> B --> C --> D --> E --> F ```

---

[07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) DelFin: A Foundation Model for Financial Time Series

To replace the fragmented paradigm where data scientists build handcrafted, isolated models for individual tasks (e.g., separate custom architectures for 5-minute price predictions, anomaly detection, one-day horizon forecasting, or data imputation), Bloomberg developed **DelFin**—a foundation model named by blending the mythological oracle Delphi with finance. DelFin is pre-trained across diverse cross-domain numerical series, including macroeconomic indicators, equities, order book data, and non-financial data such as climatological and scientific series.

```mermaid flowchart TD accTitle: DelFin Foundation Model Architecture and Task Execution

subgraph Ingestion["Pre-Training Modalities"] D1["Financial Time Series<br/>(Equities, FX, Yields)"] D2["Macro & Alternative Data<br/>(Receipts, News)"] D3["Scientific & Climate Data"] end

subgraph Core["Foundational Core"] FM["DelFin Pre-Trained Backbone"] end

subgraph Execution["Downstream Execution"] FT["Task Fine-Tuning<br/>(Labeled Examples)"] ZS["Zero-Shot Inference"] end

subgraph Tasks["Target Financial Use Cases"] T1["Variance & Risk Forecasting"] T2["Economic Nowcasting"] T3["Intraday Volume Forecasting"] T4["Missing Data Imputation"] end

D1 & D2 & D3 --> FM FM --> FT & ZS FT --> T1 & T2 & T3 & T4 ZS -. Lower Accuracy.-> T1 & T2 ```

Verma outlines DelFin's operational performance across distinct benchmarks:

1. **Variance and Volatility Forecasting:** Multivariate risk modeling for correlated multi-asset portfolios over weekly or 3-month horizons. Fine-tuned DelFin strictly outperforms classic GARCH baselines, whereas zero-shot inference remains competitive but less robust. 2. **Economic Nowcasting:** Synthesizing non-synchronous, lagging economic releases (e.g., staggered housing starts vs. monthly nonfarm payroll prints). DelFin incorporates Bloomberg’s granular receipt-level retail credit card transactions across the United States to produce real-time quarterly revenue projections for public consumer companies well ahead of official earnings reports. 3. **Long-Horizon Intraday Volume Forecasting:** Predicting equity trading activity over a rolling 7-day period (projecting out roughly 500 steps of 5-minute bars, comprising 78 bars per trading day). The model reproduces the classic intraday "U-shaped" curve—characterized by high volume spikes during the 9:30 AM opening market auctions and 4:00 PM closing crosses, with subdued mid-day trading lulls.

While general-purpose time series foundation models exist (such as Chronos, TimesFM, MOMENT, and Moirai), DelFin is specifically engineered for financial dynamics. Verma highlights ongoing technical challenges, such as modeling long context windows for currency pairs (e.g., JPY/AUD) across multiple years of macro cycles, imputing missing data before downstream forecasting, and managing experimental overhead during fine-tuning.

- Traditional pipelines require distinct pipelines and bespoke datasets for 5-minute forecasting, anomaly detection, daily returns, and imputation. - DelFin uses a single pre-trained multi-modal backbone adapted to downstream tasks via few-shot or full fine-tuning. - Intraday volume forecasting spans 7 trading days at 5-minute resolution (78 intraday bars/day, totaling ~500 forecast steps). - The model captures standard market microstructure patterns, including morning order imbalance absorption and market-on-close execution surges.

---

[16:34](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=994s) Deep Learning and Factor Modeling Paradigms

Verma transitions from universal foundation models to specialized deep learning formulations for asset pricing, focusing on **Neural Factor Modeling**. In quantitative finance, asset returns are traditionally decomposed into factor exposures ($\beta$), systematic factor returns ($F$), and idiosyncratic residual noise ($\epsilon$):

$$R_{i,t} = \beta_{i,t} F_t + \epsilon_{i,t}$$

Verma reviews the three distinct structural methodologies historically used to solve this equation:

| Approach | Known Variables (Observable) | Unknown Variables (To Estimate) | Mechanism / Description | |:--- |:--- |:--- |:--- | | **Fama-French Style (Style Portfolios)** | Factor returns ($F$) | Factor loadings / Betas ($\beta$) | Pre-defined long/short systematic factor portfolios (e.g., Value: High Book-to-Market vs. Growth; Size: Mega-Cap vs. Micro-Cap). | | **Characteristic-Based (Explicit Betas)** | Factor loadings / Betas ($\beta$) | Factor returns ($F$) | Observable firm characteristics (e.g., historical dividend payouts, balance sheet metrics) act as fixed $\beta$, while regression learns factor returns $F$. | | **Latent / Deep Factor Models** | None (Returns $R$ only) | Both Betas ($\beta$) and Factor Returns ($F$) | Both factor trajectories and asset-specific sensitivities are treated as unobserved latent states, extracted simultaneously using non-linear deep architectures. |

[19:20](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1160s) Neural Factor Models and Stock Time Series Embeddings

Moving beyond predefined fundamental or statistical factors, Arun Verma introduces a latent factor approach where the model operates in a data-driven regime, learning both latent factors and their implied returns simultaneously in an iterative manner. Rather than imposing rigid factor definitions or fixed exposures, the framework constructs dense representations of equity time series analogous to modern text embeddings. The neural factor architecture compresses the historical time series of an entire stock universe into an embedding space and pairs it with a factor return model, postulating that individual stock returns can be expressed as their factor exposures ($\beta$) multiplied by the latent factor returns. The entire joint system is trained end-to-end via standard neural network backpropagation to minimize reconstruction error and maximize data representation fidelity.

The objective is framed probabilistically by maximizing the posterior likelihood of observing the actual historical return realizations conditional on the latent factors. By optimizing this posterior distribution, the network finds an optimal representation of the stock universe within the learned embedding space. Crucially, the model does not merely generate deterministic point forecasts—such as predicting that "Apple's return for tomorrow is going to be 2%"—but instead outputs a full multivariate return distribution with explicit uncertainty estimates and confidence bands. This probabilistic formulation allows portfolio managers and risk systems to quantify the degree of estimation confidence under shifting market regimes.

```mermaid flowchart LR accTitle: Neural Factor Model Architecture subgraph DataPrep["Stock Universe Representation"] A["Stock Time Series History"] --> B["Neural Time Series Embedding"] end subgraph FactorEngine["Joint Optimization"] B --> C["Dynamic Factor Exposures (Beta)"] D["Latent Factor Returns"] --> E["Predicted Return Distribution"] C --> E end subgraph Output["Probabilistic Outputs"] E --> F["Point Estimates & Confidence Bands"] E --> G["Multivariate Risk & Uncertainty"] end ```

[22:15](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1335s) Factor Dimensionality, Non-Linear Dependencies, and Downstream Applications

Examining the model calibration across different latent factor dimensions reveals a distinct U-shaped log-likelihood curve. The loss drops sharply as factor capacity increases, bottoming out at an optimal dimensionality of 64 factors before increasing slightly at higher dimensions. This optimal number of 64 latent factors is substantially larger than what traditional Principal Component Analysis (PCA) identifies. Because PCA is strictly a linear dimension-reduction technique, it fails to pick up the nuanced, conditional non-linear dependencies present in real market data. The non-linear neural network framework successfully captures these complex dependencies, translating into superior distributional accuracy.

Once calibrated, these generative representations unlock several downstream quantitative workflows, including dynamic variance forecasting, Value at Risk (VaR) estimation, and portfolio optimization. Projecting the high-dimensional stock embeddings down to two dimensions using UMAP confirms that the latent space naturally organizes the market into economically intuitive clusters: banking institutions cluster together near the top, market vendors align across the center, and technology companies gather in a dedicated corner. For asset pricing and risk tasks, an illiquid target stock can borrow informational strength directly from adjacent neighbors in the embedding manifold. When plugged into a Sharpe ratio optimizer, the generative return and risk distributions produce systematically higher realized P&L compared to conventional baseline portfolio optimization strategies.

- **Optimal Latent Capacity**: Log-likelihood optimization peaks at 64 latent dimensions, capturing non-linear interactions invisible to standard linear PCA. - **Natural Market Clustering**: 2D UMAP projections show self-organized clusters of banking, technology, and vendor sectors without explicit manual tagging. - **Enhanced Portfolio Performance**: Feeding generative return distributions and uncertainty metrics into Sharpe ratio optimizers yields improved risk-adjusted P&L over standard mean-variance baselines.

---

[25:31](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1531s) Neural Beta: Estimating Dynamic CAPM Beta with Neural Networks

Verma transitions to a related initiative called "Neural Beta," which reimagines the classic Capital Asset Pricing Model (CAPM). In the standard CAPM framework, an asset's expected excess return is governed by its market beta ($\beta$). In practice, beta serves as the primary metric for hedging single stocks against index fluctuations—where an investor holding a long equity position shorts $\beta$ times the market index—and plays a foundational role in portfolio construction. However, standard CAPM estimation struggles because market beta is inherently dynamic and fluctuates significantly over time rather than remaining constant.

```mermaid flowchart TD accTitle: Evolution of Beta Calibration Models A["Standard OLS Regression\n(Static Historical Window)"] --> B["Weighted Least Squares\n(Exponential Alpha Decay)"] B --> C["Neural Beta Architecture\n(Non-linear Likelihood Maximization)"] ```

To capture these temporal shifts, the objective is structured to minimize the discrepancy between the realized next-day stock return and the model-implied return. Traditional quantitative approaches rely on Ordinary Least Squares (OLS) over rolling lookback windows as a baseline strawman, or extend it to Weighted Least Squares (WLS) with an exponential alpha decay parameter to place heavier emphasis on recent data points. Neural Beta replaces these linear heuristics with a deep neural network that directly models the non-linear relationship between underlying market features and dynamic beta. Furthermore, the loss function shifts from simple Root Mean Squared Error (RMSE) to maximum likelihood estimation, simultaneously minimizing prediction errors while maximizing the true observation probability.

---

[29:02](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1742s) Synthetic Evaluation and Real-World COVID-19 Adaptation

Evaluating beta estimation on real market data poses a fundamental challenge: true underlying beta is a latent parameter with no observable ground truth. To establish rigorous empirical validation, the team evaluates the models in controlled synthetic environments generated across various test patterns, including constant betas, abrupt step functions, and oscillating sine waves. Under step-function shifts, standard OLS exhibits substantial lag, taking extended periods to adjust, while WLS suffers from heavy dampening and sluggish reaction times. In contrast, Neural Beta tracks step changes almost immediately and adapts rapidly to oscillating regimes while handling stochastic noise.

Applied to historical market disruptions like the COVID-19 shock in early 2020, Neural Beta exhibits intelligent adaptive weighting. During the peak volatility of the pandemic, the network automatically slashed the weighting assigned to the most immediate recent observations. Because the COVID market crash was highly idiosyncratic, relying strictly on short-term trailing data would lead traditional rolling models to drastically overestimate beta, resulting in severely distorted hedge ratios once the market stabilized. By automatically down-weighting anomalous short-term spikes and extending its effective lookback horizon, the model prevented overreaction and preserved hedging efficiency. Verma concludes the presentation by noting that published research papers covering all three topics—collaborative filtering for illiquid pricing, generative financial data imputation, and neural factor/beta models—are available for deeper study.

- **Synthetic Step-Function Tracking**: Neural Beta reacts rapidly to sudden regime jumps, whereas rolling OLS lags behind and WLS dampens high-frequency dynamics. - **Adaptive COVID Shock Weighting**: During the 2020 volatility shock, the model systematically reduced weights on immediate trailing observations to prevent beta overestimation during post-shock stabilization. - **Published Research**: Full theoretical formulations and empirical results for these deep generative frameworks are detailed in Bloomberg LP quantitative research publications.

## Notable quotes > [03:51](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=231s) In the textual setting we have accepted a little bit of more margin of error and the vagueness of response... but when you're trying to solve a financial time series question—for example, estimation of risk or projection of returns or optimizing your portfolio—there is very little room for error. You really want to make sure you are able to build a model that can definitely beat the benchmarks, otherwise it's not useful at all. — Arun Verma

> Generative ML methods are becoming more popular for use cases like imputation of financial data, as well as forecasting asset prices. — Arun Verma

> Generative models are especially suited for estimating point values and uncertainty, giving us a measure of confidence in estimation. — Arun Verma

> Collaborative filtering methodologies for illiquid asset pricing, using generative deep gaussian processes to estimate behavior of a target instrument from the observations on more liquid, closely-related instruments — Arun Verma

> Machine learning techniques for financial data imputation, e.g., estimating companies' granular geographical exposure given sparse & aggregate disclosure in financial statements. — Arun Verma

> [19:20](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1160s) Apple's return for tomorrow is going to be 2% — Arun Verma

> [00:04](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=4s) Unlike conventional Wall Street institutions that closely guard intellectual property, Bloomberg embraces a Silicon Valley research culture by actively contributing back to the open-source ecosystem.

> [07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) DelFin is pre-trained across diverse cross-domain numerical series, including macroeconomic indicators, equities, order book data, and non-financial data such as climatological and scientific series.

> [22:15](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1335s) Because PCA is strictly a linear dimension-reduction technique, it fails to pick up the nuanced, conditional non-linear dependencies present in real market data.

> [29:02](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1742s) During the peak volatility of the pandemic, the network automatically slashed the weighting assigned to the most immediate recent observations.

## Mentioned Arun Verma, Bloomberg LP, Bloomberg News, BloombergGPT, DelFin, Ai4, Geoffrey Hinton, Shireen Ghaffari, ChatGPT, William Sharpe, Robert Engle, Capital Asset Pricing Model (CAPM), Fama-French models, ARMA, GARCH, Chronos, TimesFM, MOMENT, Moirai, Neural Beta, UMAP, Apple

## Video description Arun Verma, Head of Quantitative Research Solutions, Bloomberg LP

Abstracts

Generative ML methods are becoming more popular for use cases like imputation of financial data, as well as forecasting asset prices. Generative models are especially suited for estimating point values and uncertainty, giving us a measure of confidence in estimation.

In this talk, we will cover topics like: Collaborative filtering methodologies for illiquid asset pricing, using generative deep gaussian processes to estimate behavior of a target instrument from the observations on more liquid, closely-related instruments Machine learning techniques for financial data imputation, e.g., estimating companies' granular geographical exposure given sparse & aggregate disclosure in financial statements.

[Source](https://www.youtube.com/watch?v=fpyAzMJy-Ko)

中文简报

彭博部署DelFin AI超越传统金融模型 深度生成时间序列架构与神经因子模型通过捕捉非线性市场依赖关系,并在波动冲击期间动态调整对冲比率,超越了传统线性基准。 Arun Verma 概述了彭博如何将机器学习突破转化为数值金融应用,从 BloombergGPT 等领域特定语言模型拓展至金融时间序列基础模型。他介绍了预训练基础模型 DelFin,该模型旨在处理从经济实时预测(nowcasting)到长周期日内成交量预测等各类任务。Verma 还详细阐述了神经因子建模(Neural Factor Modeling),该方法通过提取非线性潜在股票嵌入来优化投资组合;以及 Neural Beta,这是一种对动态 CAPM Beta 建模的深度架构,可自适应应对如新冠疫情波动冲击等极端市场行情。 彭博在约万名工程师队伍中组建了 500 人的量化研究与 AI 科学家团队;其指出金融时序建模的容错率远低于文本 NLP,任何预测偏差都会直接影响风险估计、阿尔法收益生成与投资组合优化。 (0:04) 彭博研发了金融时序预训练基础模型 DelFin,用以取代分散的传统定制模型;该模型不仅能整合信用卡交易等另类数据完成财报前的经济临近预测(nowcasting),还能实现长达 7 天、5 分钟高频粒度的盘中成交量 U 型曲线预测。 (7:22) 神经因子模型(Neural Factor Models)摒弃了固定 Fama-French 特征假设,直接从收益率序列端到端学习动态因子暴露与潜在轨迹,并输出带有明确置信区间的全多变量分布;对数似然优化显示其在 64 个潜在因子处达到最优容量,成功捕捉到线性 PCA 无法察觉的非线性市场关联。 (19:20) 针对 CAPM 传统滚动回归滞后严重的问题,彭博提出了基于深度学习的 Neural Beta;在 2020 年新冠疫情等极端冲击期间,该模型通过自动降低即期异常数据的权重并自适应调整回溯期,有效防止了对冲比率失真。 (29:02)

Reading summary

Arun Verma of Bloomberg's Chief Technology Office argues that modern quantitative finance requires replacing isolated, linear econometric models with deep generative architectures and domain-tailored foundation models capable of handling complex non-linear dynamics. Precision Constraints and Generative Paradigms (3:51) Quantitative finance is translating transformer architectures from natural language processing to numerical time series by mapping observations directly into continuous or discretized tokens. However, Arun Verma stresses that while conversational text interfaces tolerate hallucinations and vague answers, financial tasks such as risk estimation, alpha generation, and portfolio optimization operate under strict error tolerances and must conclusively beat benchmarks to be viable. Unified Foundation Modeling with DelFin (7:22) To replace fragmented pipelines that rely on handcrafted architectures for individual tasks like anomaly detection and five-minute price predictions, Bloomberg developed DelFin. The foundation model is pre-trained across diverse datasets, including macroeconomic releases, equities, order books, and non-financial scientific or climatological series. It supports downstream execution through zero-shot inference and fine-tuning, with fine-tuned DelFin strictly outperforming classic GARCH baselines on multivariate variance forecasting over weekly or three-month horizons. DelFin also addresses multi-modal economic nowcasting by integrating granular receipt-level retail credit card transaction data across the United States, generating quarterly revenue projections for consumer firms prior to official earnings. For intraday volume forecasting, the model projects out roughly 500 steps of five-minute bars over a rolling seven-day horizon, reproducing structural market microstructure patterns such as morning opening spikes, mid-day volume lulls, and market-on-close execution surges. Neural Factor Modeling and Manifold Embeddings (19:20) Moving beyond classical linear asset pricing models—such as the Capital Asset Pricing Model and Fama-French style factors—Bloomberg's neural factor approach extracts latent factor trajectories and asset exposures simultaneously through joint end-to-end backpropagation. Instead of producing deterministic point estimates, the architecture outputs full multivariate return distributions with explicit uncertainty confidence bands. Model calibration across latent dimensions reveals an optimal capacity of 64 factors, outperforming linear Principal Component Analysis by capturing conditional, non-linear market dependencies. Two-dimensional UMAP projections of the learned stock embedding space show that equities naturally self-organize into recognizable industry clusters—such as banking institutions, market vendors, and technology firms—without manual supervision. These dense embeddings allow illiquid assets to borrow informational strength from neighboring assets on the manifold, which Verma notes yielded higher realized P&L when integrated into Sharpe ratio portfolio optimization compared to standard baseline strategies. Dynamic Beta Estimation and Market Regimes (25:31) To improve upon static Ordinary Least Squares and exponentially decaying Weighted Least Squares heuristics, Bloomberg developed Neural Beta, a deep architecture that uses maximum likelihood estimation to track dynamic, non-linear Capital Asset Pricing Model beta over time. Because true beta cannot be directly observed in market data, the approach was evaluated in synthetic test environments featuring step functions and sine waves, where it adjusted rapidly to regime jumps without the severe lag or dampening observed in linear methods. During real-world market disruptions such as the early 2020 COVID-19 shock, Neural Beta automatically adapted its historical lookback weighting. Rather than overweighting extreme short-term market volatility—which would cause rolling regression models to drastically overestimate beta and distort post-shock hedge ratios—the network down-weighted anomalous trailing spikes to preserve hedging stability. While foundation models and generative factor representations show empirical advantages over classic econometrics, Verma notes persistent engineering challenges, including managing experimental fine-tuning overhead, imputing missing data before forecasting, and maintaining multi-year context windows across long macroeconomic currency cycles.

精炼阅读摘要

彭博首席技术官办公室的Arun Verma阐释了将深度生成模型引入金融量化分析的范式转变,强调金融时间序列在风险估计与组合优化中对误差容忍度极低;彭博为此研发了DelFin基础模型与神经因子架构,以非线性表征和概率分布预测替代传统线性统计工具。 DelFin时间序列基础模型 (7:22) 针对以往量化团队为5分钟预测、异常检测和缺失插补单独构建孤立模型的碎片化弊端,彭博研发了统一的时间序列基础模型DelFin。该模型不仅在股票、外汇、国债收益率等核心金融数据上预训练,还融合了美国全境零售信用卡小票消费数据以及气象科学等异构多模态时序。Verma指出,文本对话大模型可以容忍一定的模糊与幻觉,但在资产风险测算和Alpha生成中几乎没有容错空间,模型必须能够切实战胜经典基准。 在下游基准测试中,微调后的DelFin在多资产组合的周度与季度波动率预测上严格超越了传统GARCH模型,零样本推理表现出竞争力但稳定性稍弱。在经济即时预报(Nowcasting)任务中,模型利用高频信用卡收据在公司官方财报披露前提前预测当季营收。此外,在跨度达7个交易日、由500个5分钟K线组成的股票日内成交量长程预测中,DelFin精确捕捉到开盘竞价冲击与尾盘集合竞价放量、午间成交低迷的经典“U型”市场微观结构。 神经因子建模与非线性表征 (19:20) 在资产定价领域,传统Fama-French模型或特征模型分别依赖人为预设的风格组合或固定的资产特征来估算因子暴露,而神经因子模型开创了一种完全数据驱动的潜在因子架构。该模型将全市场股票的历史时间序列压缩至高维密集嵌入空间,通过反向传播同时联合推导未知的动态因子暴露与潜在因子收益。该架构摒弃了单一确定的点预测(如预测某只股票次日涨幅固定为2%),转而输出完整的多元收益后验概率分布与置信区间,为投资组合经理在市场机制切换时提供明确的不确定性度量。 模型校准实验显示,对数似然损失在64个潜在因子维度处达到最优U型极值,这一容量显著超越传统线性主成分分析(PCA)所能捕捉的上限,证明深度神经网络成功学习到了复杂的非线性依赖关系。通过UMAP降维投影,股票嵌入空间自发聚类出银行业、科技公司和市场服务商等产业板块,使得流动性匮乏的资产能够借用邻近股票的流形信息。Verma指出,将该生成式收益与风险分布接入夏普比率优化器后,其实际实现的收益表现系统性优于传统基准策略。 Neural Beta与自适应对冲 (25:31) 针对经典资本资产定价模型(CAPM)中市场Beta因时变性导致对冲比率失真的难题,彭博提出了基于深度学习的Neural Beta。传统的滚动窗口最小二乘法(OLS)存在严重的时滞滞后,而带指数衰减的加权最小二乘法(WLS)在应对剧烈波动时反应迟缓。Neural Beta通过深度网络直接建模市场基础特征与动态Beta之间的非线性关联,并采用最大似然估计作为损失函数,在抑制预测误差的同时最大化真实历史观测的发生概率。 在合成阶跃函数与正弦波的受控测试中,Neural Beta能够近乎实时地追踪机制突变。而在2020年初COVID-19流动性危机等极端历史场景中,该模型展现出智能自适应加权机制:它自动降低了对短期突发异常极值的加权比重,并扩大了有效观测窗口,从而避免了传统滚动模型因被短期恐慌数据绑架而严重高估Beta,进而防止了市场企稳后出现严重的对冲扭曲。 Verma指出彭博已公开相关学术论文,阐述生成式插补、非流动性定价与神经因子的理论细节;但对于日元/澳元等货币对跨越数年宏观周期的超长上下文建模、数据插补前置流程以及高昂的微调算力开销,仍是量化基础模型实际落地中亟待解决的工程难题。

Detailed notes — zh

## Background 该视频于 2025 年 8 月 29 日由频道“Ai4”发布在 YouTube 平台上。内容由彭博(Bloomberg LP)首席技术官办公室量化研究解决方案负责人 Arun Verma 主讲,页面简介指出,本次演讲主要探讨生成式机器学习在金融数据插补及资产价格预测中的应用,涵盖利用深度高斯过程对非流动性资产定价以及财务数据地理暴露估算等前沿主题。 ## TL;DR 演讲系统介绍了彭博如何利用深度生成模型应对金融时间序列建模的极高精度与低容错要求。讲者重点展示了彭博自研的通用时序基座模型 Delphin,该模型通过统一预训练和下游微调在方差预测、经济数据临近预报及交易量分布等任务上大幅超越传统基准。随后,内容深入探讨了结合时间序列嵌入的神经因子模型,展示其在捕捉市场高阶非线性特征及提升投资组合夏普比率上的优势。最后,讲者介绍了动态资本资产定价架构 Neural Beta,阐明了深度学习如何有效应对极端市场冲击并实现稳健的风险对冲。 ## Atmosphere & style 整场演讲呈现出浓厚的技术极客范与华尔街严谨量化思维的深度融合。讲者开场风趣幽默,随后的阐述逻辑严密、层层递进,既有扎实的计量统计理论推导,又有详实生动的工业级实盘回测展示。聆听过程让人清晰感受到顶级金融科技机构在突破经典金融学边界时的创新活力,以及追求极致模型表现的严谨工程态度。 ## Key takeaways - [00:04](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=4s) 彭博不仅是新闻媒体,更是由 40% 工程师与 500 多名 AI/量化博士驱动的科技企业,深度参与开源并拥有深厚技术积淀。 - [01:53](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=113s) 彭博从毫秒级实时新闻 NLP 演进至垂直大语言模型 BloombergGPT,确立了专有金融语料在大模型训练中的核心价值。 - [03:51](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=231s) 金融时间序列建模对容错率的要求远高于文本生成,微小的数值误差可能导致严重的投资决策失误,必须在硬核统计指标上击败经典基准。 - [07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) 彭博自研的时间序列基座模型 Delphin 打破了任务孤岛,通过统一的大规模自监督预训练和少样本微调适配异构量化任务。 - [11:16](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=676s) Delphin 在多变量方差预测中显著击败了行业黄金标准 GARCH 模型,并在经济临近预报和长时间步日内交易量预测中展现出优异性能。 - [16:34](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=994s) 神经因子模型将股票时间序列压缩生成高维嵌入,并联合端到端学习潜在因子收益,跳出了传统线性因子模型的假设限制。 - [21:28](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1288s) 生成式时序模型摆脱了单一确定性点估计,通过输出完整的置信区间与联合概率分布,为资产定价提供精确的不确定性度量。 - [23:26](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1406s) 基于神经因子模型的嵌入向量经 UMAP 降维后展现出清晰的行业聚集特性,代入夏普比率优化器后可显著提升投资组合超额收益(P&L)。 - [25:33](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1533s) Neural Beta 采用深度学习与似然损失函数自适应学习时变 Beta,解决了传统 OLS 回归在市场突变时的滞后性问题。 - [28:38](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1718s) 在 2020 年新冠疫情冲击测试中,Neural Beta 能够智能识别异常短期噪音并降低近期数据权重,有效避免了对冲模型失真的陷阱。 ## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=4s) 彭博的科技基因与量化研发使命 讲座开场恰逢午餐后的困倦时段,演讲者 Arun Verma 风趣地表示希望自己的分享能帮大家打起精神。作为彭博(Bloomberg LP)首席技术官办公室(CTO Office)量化研究解决方案负责人,他的核心职责是为公司孵化前沿理念与创新产品。当天上午,图灵奖得主 Geoffrey Hinton 刚与彭博科技记者 Shirin Ghaffary 进行了主题对话,Verma 借此强调,彭博绝非单纯的新闻或媒体机构,而是一家名副其实的科技驱动型企业。 彭博在全球金融服务领域拥有超过 35 万家客户,但在其全球员工中,有 9,000 至 10,000 人(约占员工总数的 40%)是工程师,其中更包含 500 多名拥有博士学位的资深量化金融研究员、机器学习工程师与人工智能科学家。更独特的是,彭博打破了传统华尔街金融机构的封闭惯例,积极向开源社区贡献核心成果,在文化上兼具硅谷的技术极客精神与华尔街的金融敏锐度,持续在自然语言处理(NLP)、人工智能及量化金融领域推陈出新。 - 全球金融终端客户规模达 350,000 家。 - 研发人员规模庞大,工程师占比约 40%(9,000–10,000 人),科研与博士级 AI/量化人才超 500 人。 - 深度参与开源生态,将技术创新与华尔街金融业务深度融合。 --- ### [01:53](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=113s) 彭博的 AI 演进之路:从实时新闻 NLP 到 BloombergGPT 彭博在人工智能领域的探索已有十五至二十年的深厚积淀。其最早的 AI 落地场景是新闻资讯系统:无论是彭博社自有记者采写的新闻,还是第三方通讯社的实时电讯,只要进入彭博系统,就会在毫秒级时间内被 NLP 机器学习算法处理。算法能够自动识别人名、企业实体、情感倾向以及所属主题标签,并在资讯上线的瞬间将结构化数据分发给下游系统使用。 两年前,彭博推出了针对金融领域的垂直大语言模型 BloombergGPT。作为“金融世界的神经中枢”(the central nervous system of the finance world),彭博拥有无与伦比的专有数据资产,包括海量财报、分析师预测、市场研报以及高质量财经新闻。BloombergGPT 成功证明了利用海量金融语料训练特定领域大模型的有效性,能够精准解决金融专属下游任务,并为彭博全线产品的大模型智能化升级奠定了坚实的技术底座。 --- ### [03:51](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=231s) 从文本大语言模型跨越到金融时间序列模型 随着大模型技术在量化金融领域的深入,研发团队尝试将成熟的 Transformer、自注意力机制与编解码器架构迁移至时间序列数据上,直接将连续的数值型时间序列转化为“数值 Token”进行处理。然而,相比于文本大模型,金融时间序列建模的技术门槛和容错率要求要严苛得多。 在日常文本生成或通用对话中,用户对模型偶发的模糊表达、细微误差或召回率不足通常具有较高的容忍度;但在金融时间序列的核心场景下——无论是风险计量、资产收益预测还是投资组合优化——微小的数值偏差都可能导致毁灭性的投资决策失误,这里“几乎没有任何容错空间”。金融基座模型必须能在硬核指标上明确击败经典基准模型,否则就毫无实际业务价值。 ```mermaid flowchart TD accTitle: 从文本大语言模型到金融时间序列基座模型的演进对比 subgraph TextLLM["文本大语言模型 (如 ChatGPT / BloombergGPT)"] A1["文本语料 (词元 Tokens)"] --> A2["Transformer 架构 (Attention / Encoder-Decoder)"] A2 --> A3["文本生成 / 摘要 / 问答"] A3 -.-> A4["容错率较高:允许一定程度的模糊与轻微误差"] end subgraph TimeSeriesFM["金融时间序列基座模型 (如 Delphin)"] B1["数值时间序列 (连续数值 Tokens)"] --> B2["统一预训练模型 (金融 + 跨学科海量数据)"] B2 --> B3["方差预测 / 临近预报 / 异常检测 / 数据补全"] B3 -.-> B4["容错率极低:必须在统计指标上彻底击败经典基准"] end ``` --- ### [05:28](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=328s) 金融时间序列建模的历史脉络与技术演变 金融时间序列研究有着近百年的深厚学术底蕴。早在 20 世纪 60 年代,William Sharpe 提出了资本资产定价模型(CAPM),开创了单因子市场模型的先河并斩获诺贝尔经济学奖;随后 Eugene Fama 与 Kenneth French 进一步拓展为经典的多因子模型(Fama-French 模型),至今金融学界仍在不断挖掘能解释风险与收益的新因子。 在时间序列统计与深度学习层面,技术脉络经历了漫长的迭代升级: - **经典自回归模型阶段**:近一个世纪前起步的 ARMA 模型以及由 Robert Engle(诺贝尔奖得主)提出的用于波动率建模的 GARCH 模型。 - **早期神经网络与循环网络阶段**:20 世纪 90 年代随着机器学习兴起,LSTM 等循环神经网络被广泛引入处理序列依赖。 - **现代生成式与 Transformer 阶段**:基于 Transformer 与自注意力机制的序列大模型,以及近期在图像生成领域大放异彩但同样适用于数值时间序列生成的扩散模型(Diffusion Models)。 --- ### [07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) 金融时间序列基座模型 Delphin 的架构与多任务范式 针对金融时间序列碎片化的建模痛点,彭博推出了自研的时间序列基座模型——**Delphin**(名称结合了希腊神话中的 Delphi 与 Finance)。在传统的量化研究流程中,研究员面对 5 分钟短周期预测、异常检测、单日较长周期预测以及缺失值填补(Imputation)等不同任务时,必须孤立地针对每个任务手工清洗数据、提取特征并单独构建模型,研发效率低下且模型通用性极差。 Delphin 则借鉴了通用大模型的范式:通过一个统一的大型预训练模型来支撑多种异构的下游任务。该模型在海量历史金融时序数据以及气候、物理等跨学科数值模态数据上完成大规模自监督预训练,随后通过少样本(Few-shot)微调适配具体金融场景。虽然零样本(Zero-shot)推理同样可行,但在追求极致精度的金融任务中,微调后的模型在稳定性和预测准确率上均表现出显著优势。 ```mermaid flowchart LR accTitle: Delphin 统一时间序列基座模型的多任务适配架构 subgraph Pretraining["统一预训练阶段"] D1["海量金融时序数据"] --> P["Delphin 基座模型"] D2["跨学科数值数据 (如气候/科学时序)"] --> P end subgraph Adaptation["下游任务适配与微调"] P --> F1["5 分钟短周期预测"] P --> F2["异常检测 (Anomaly Detection)"] P --> F3["多日/长周期趋势预测"] P --> F4["缺失数据插补 (Data Imputation)"] end ``` --- ### [11:16](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=676s) Delphin 性能评测:波动率预测、经济临近预报与长期交易量分布 Verma 展示了 Delphin 在多个金融核心业务场景中的实际表现: - **资产方差与风险预测(Variance Forecasting)**:准确评估资产或多资产组合未来一周至三个月的相关性与风险敞口至关重要。长期以来,Robert Engle 提出的 GARCH 模型被奉为波动率预测的行业黄金标准。基准评测显示,经过下游任务微调后的 Delphin 模型在多变量方差预测准确率上显著超越了 GARCH 模型。 - **经济数据临近预报(Nowcasting)**:宏观经济指标(如房产开工率、失业率)通常是非同步发布的。彭博利用覆盖全美零售层面的信用卡与小票交易流数据,借助 Delphin 将刚发布的局部指标信息迅速映射并更新到其他滞后指标上,甚至能精准外推预测目标消费类上市公司下一季度的整体业绩。 - **日内交易量长期预测**:在跨越 7 个交易日、每交易日含 78 个 5 分钟周期的长时间步(约 500 个时间步)预测中,Delphin 完美学习并复现了美股市场经典的“U 型”成交量曲线(即上午 9:30 开盘时由于集合竞价与市价单积压导致成交暴增,盘中回落,下午 4:00 收盘前交易量再度飙升)。 尽管业界已有 Chronos、TimesFM、MOMENT、MOIRAI 等通用时序模型,但 Delphin 是专门针对金融领域深层特性量身定制的模型。与此同时,模型仍面临诸多前沿挑战:例如针对日元兑澳元等外汇资产风险评估时所需的超长上下文窗口(Long Context Length)、极度稀疏的非平稳缺失数据插补,以及微调策略在实验环境中的泛化成本。 --- ### [16:34](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=994s) 深度学习在资产定价中的应用:神经因子模型的三种范式 除了面向宽泛场景的通用时序基座模型 Delphin,彭博量化团队还将深度学习深入应用到特定的经典金融场景——**神经因子模型(Neural Factor Modeling)**。在量化资产定价中,资产收益率通常表示为因子暴露矩阵乘以因子收益率加上特质噪声项:$R = \beta \cdot F + \epsilon$。在传统与现代金融工程中,这一框架主要衍生出三种建模路径: 1. **Fama-French 风格模型(已知因子收益 $F$,求解/学习载荷 $\beta$)**:通过人工构建多空风格资产组合(如做多高价值股、做空成长股构成的 Value 组合;或做多超大市值股、做空微盘股构成的 Size 组合),因子的收益序列 $F$ 是已知的,模型主要用于推导和归演各个股票在这些风格因子上的风险暴露系数 $\beta$。 2. **特征/基本面驱动模型(已知载荷 $\beta$,求解/学习因子收益 $F$)**:预先将股票的历史财务特征(例如过去几个季度的实际分红率)直接设定为暴露载荷 $\beta$,再通过截面回归或深度网络反向学习该特征因子(如红利因子)随时间变化的隐含收益率 $F$。 3. **完全隐式因子模型($\beta$ 与 $F$ 均为未知量)**:将因子收益与因子载荷全部视为未知的潜变量(Latent Variables),借助深度学习等非线性方法跳出传统线性假设,直接从海量数据中同时抽取并重建隐藏的市场结构。 ### [19:20](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1160s) 神经因子模型与股票时间序列嵌入 在因子模型的研究中,量化团队跳出了传统预先指定因子或暴露的框架,转向通过端到端学习同时提取潜在因子(Latent Factors)及其隐含收益。这一方法被称为神经因子模型(Neural Factor Model)。其核心思想与自然语言处理中构建文本嵌入(Textual Embeddings)类似:首先对资产池中所有股票的历史时间序列进行表征学习与数据压缩,生成高维时间序列嵌入向量,随后将其与因子收益模型相结合。 ```mermaid flowchart TD accTitle: 神经因子模型架构 subgraph S1["输入与表征"] A["股票时间序列数据"] --> B["时间序列嵌入向量 (Embeddings)"] end subgraph S2["模型联合学习"] B --> C["神经因子模型 (Neural Factor Model)"] D["潜在因子收益 (Factor Returns)"] --> C C --> E["资产收益估算: Beta × 因子收益"] end subgraph S3["优化目标"] E --> F["反向传播优化"] F --> G["最大化后验对数似然 (Log-Likelihood)"] end ``` 在该体系下,单只股票的收益被表征为其嵌入衍生出的敏感度($\beta$)与潜在因子收益的乘积。整个联合模型通过标准的神经网络反向传播技术进行训练,参数优化的核心目标在于最小化表征误差,并在给定因子值的情况下最大化观测到实际收益数据的后验概率分布(Posterior Likelihood),以此获得股票在潜在嵌入空间和因子空间中的最优化表征。 --- ### [21:28](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1288s) 概率化输出与因子维度选择:超越线性 PCA 生成式模型相比传统回归的一大跃升在于摆脱了单一的点估计(Point Estimate)。在预测未来资产表现时,模型并非仅仅给出一个确定性数字(例如“苹果公司明天的收益率为 2%”),而是输出完整的置信区间(Confidence Band)与多变量收益的联合概率分布,从而为下游决策提供明确的不确定性度量。 在因子维度的超参数调优中,研究团队绘制了对数似然值(Log-Likelihood)随输入因子维度的变化曲线,呈现出明显的 U 型轨迹: - **最优因子维度**:在 64 维附近取得最优表现,随后对数似然出现反弹。 - **对比主成分分析(PCA)**:经典 PCA 给出的有效因子维度远低于 64。主成分分析在本质上属于线性模型,无法捕捉市场中复杂的非线性条件依赖关系;而深度生成式模型能够有效挖掘高阶、非线性的统计依赖,从而大幅提升拟合与预测的精确度。 --- ### [23:26](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1406s) 下游应用、UMAP 空间聚类与夏普比率收益提升 校准完成的神经因子模型具备广泛的下游衍生用途,包括资产方差预测、在险价值(Value at Risk, VaR)估算以及投资组合优化。高维嵌入空间本身构成了整个股票宇宙的紧凑表征,能够无缝迁移至各类特定的预测任务中。 ```mermaid flowchart LR accTitle: 因子模型下游应用流 subgraph Downstream["下游量化应用"] M["基础生成模型 / 嵌入空间"] --> O1["方差与在险价值 (VaR) 预测"] M --> O2["跨资产信息迁移与插补"] M --> O3["夏普比率组合优化 (提升 P&L)"] end ``` 通过 UMAP 等降维算法将高维股票嵌入投影至二维平面,可以清晰地观察到资产分布的内在经济学逻辑: - 银行与金融机构高度聚集于空间上方; - 市场数据提供商与技术服务商处于中间区域; - 科技类股票则整齐地归拢在特定角落。 这种直观的空间聚集验证了嵌入质量的可靠性。在实际交易应用中,将该基础生成模型输出的收益与风险分布代入夏普比率优化器中构建投资组合,其实际 P&L 表现显著超越了传统投资组合优化基准,实现了清晰的超额 alpha 收益——讲者风趣地将其总结为 “how we can make money which is always nice”。 --- ### [25:33](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1533s) 动态资本资产定价模型与 Neural Beta 架构 随后,讲者介绍了另一项衍生研究——Neural Beta 项目。经典资本资产定价模型(CAPM)将股票收益定义为无风险利率与市场风险溢价的线性组合: $$R_i - R_f = \beta_i (R_m - R_f)$$ 在现实市场中,$\beta$(Beta)是股票对冲交易(例如持有股票多头并做空 $\beta$ 倍指数)和风险预算的核心参数,但它绝非恒定常数,而是具备强烈的时变性(Time-Varying)。准确捕捉动态 Beta 构成了量化风控的关键瓶颈。 | 模型类型 | 核心机制 | 局限性 / 优势 | |:--- |:--- |:--- | | **普通最小二乘法 (OLS)** | 基于历史固定窗口的线性回归 | 作为基准模型(Straw Man),在市场剧烈变动时存在严重的滞后性 | | **加权最小二乘法 (WLS)** | 引入时间指数衰减参数 $\alpha$ | 赋予近期观测值更高权重,反应速度有所提升 | | **Neural Beta (神经网络)** | 深度神经网络直接学习非线性依赖映射 | 摆脱线性假设,自适应动态调整历史权重 | 在损失函数的设计上,Neural Beta 放弃了简单的均方根误差(RMSE),改用似然损失函数(Likelihood Loss),既惩罚了点估计的误差,又优化了观测值的概率发生密度,实现了“一石二鸟”的统计推断效果。 --- ### [28:38](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1718s) 合成数据验证与 COVID-19 极端市场冲击测试 真实金融市场不存在真实的“真实 Beta”(Ground Truth),因此量化团队首先在严格受控的合成数据环境下对模型进行了评估: - **受控形态测试**:设计了常数函数(Constant)、阶跃函数(Step Function)与正弦波(Sine Wave)三种 Beta 轨迹。 - **跟踪响应对比**:面对阶跃突变,Neural Beta 能够迅速跳升并紧密贴合真实曲线;相比之下,标准 OLS 呈现出严重的拖尾滞后(Lagging),其他阻尼模型则响应迟钝,无法及时反映市场剧变。 在 2020 年 COVID-19 市场动荡期的实盘数据回测中,该模型展现出独特的鲁棒机制: - 疫情爆发初期伴随极度异常的特异性冲击(Idiosyncratic Shock),近期行情的短期剧烈波动并不能代表中长期资产相关性。 - Neural Beta 模型自动识别出异常噪音,显著**调低**了对最近一周超短期数据的依赖权重,转而拉长观察视窗进行稳健估计。 - 这一机制有效避免了在恐慌期过度高估 Beta 而在随后的市场平复期导致对冲失效的经典量化陷阱。 ## Notable quotes > [00:04](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=4s) 彭博绝非单纯的新闻或媒体机构,而是一家名副其实的科技驱动型企业。 — Arun Verma > [01:53](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=113s) 两年前,彭博推出了针对金融领域的垂直大语言模型 BloombergGPT。作为“金融世界的神经中枢”(the central nervous system of the finance world),彭博拥有无与伦比的专有数据资产 — Arun Verma > [03:51](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=231s) 微小的数值偏差都可能导致毁灭性的投资决策失误,这里“几乎没有任何容错空间”。金融基座模型必须能在硬核指标上明确击败经典基准模型,否则就毫无实际业务价值。 — Arun Verma > [07:22](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=442s) 在传统的量化研究流程中,研究员面对 5 分钟短周期预测、异常检测、单日较长周期预测以及缺失值填补(Imputation)等不同任务时,必须孤立地针对每个任务手工清洗数据、提取特征并单独构建模型,研发效率低下且模型通用性极差。 — Arun Verma > [11:16](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=676s) 基准评测显示,经过下游任务微调后的 Delphin 模型在多变量方差预测准确率上显著超越了 GARCH 模型。 — Arun Verma > [21:28](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1288s) 在预测未来资产表现时,模型并非仅仅给出一个确定性数字(例如“苹果公司明天的收益率为 2%”),而是输出完整的置信区间(Confidence Band)与多变量收益的联合概率分布,从而为下游决策提供明确的不确定性度量。 — Arun Verma > [21:28](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1288s) 主成分分析在本质上属于线性模型,无法捕捉市场中复杂的非线性条件依赖关系;而深度生成式模型能够有效挖掘高阶、非线性的统计依赖,从而大幅提升拟合与预测的精确度。 — Arun Verma > [23:26](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1406s) 其实际 P&L 表现显著超越了传统投资组合优化基准,实现了清晰的超额 alpha 收益——讲者风趣地将其总结为 “how we can make money which is always nice”。 — Arun Verma > [25:33](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1533s) Neural Beta 放弃了简单的均方根误差(RMSE),改用似然损失函数(Likelihood Loss),既惩罚了点估计的误差,又优化了观测值的概率发生密度,实现了“一石二鸟”的统计推断效果。 — Arun Verma > [28:38](https://www.youtube.com/watch?v=fpyAzMJy-Ko&t=1718s) Neural Beta 模型自动识别出异常噪音,显著调低了对最近一周超短期数据的依赖权重,转而拉长观察视窗进行稳健估计。这一机制有效避免了在恐慌期过度高估 Beta 而在随后的市场平复期导致对冲失效的经典量化陷阱。 — Arun Verma ## Mentioned 彭博 (Bloomberg LP), Arun Verma, Geoffrey Hinton, Shirin Ghaffary, BloombergGPT, Transformer, Delphin, William Sharpe, 资本资产定价模型 (CAPM), Eugene Fama, Kenneth French, Fama-French 模型, ARMA 模型, Robert Engle, GARCH 模型, LSTM, 扩散模型 (Diffusion Models), Chronos, TimesFM, MOMENT, MOIRAI, 神经因子模型 (Neural Factor Model), 主成分分析 (PCA), UMAP, 在险价值 (VaR), Neural Beta, 普通最小二乘法 (OLS), 加权最小二乘法 (WLS) ## Video description Arun Verma, Head of Quantitative Research Solutions, Bloomberg LP Abstracts Generative ML methods are becoming more popular for use cases like imputation of financial data, as well as forecasting asset prices. Generative models are especially suited for estimating point values and uncertainty, giving us a measure of confidence in estimation. In this talk, we will cover topics like: Collaborative filtering methodologies for illiquid asset pricing, using generative deep gaussian processes to estimate behavior of a target instrument from the observations on more liquid, closely-related instruments Machine learning techniques for financial data imputation, e.g., estimating companies' granular geographical exposure given sparse & aggregate disclosure in financial statements. [Source](https://www.youtube.com/watch?v=fpyAzMJy-Ko)

Source quotes

[0:04] Arun Verma: 彭博绝非单纯的新闻或媒体机构,而是一家名副其实的科技驱动型企业。 [1:53] Arun Verma: 两年前,彭博推出了针对金融领域的垂直大语言模型 BloombergGPT。作为“金融世界的神经中枢”(the central nervous system of the finance world),彭博拥有无与伦比的专有数据资产 [3:51] Arun Verma: 微小的数值偏差都可能导致毁灭性的投资决策失误,这里“几乎没有任何容错空间”。金融基座模型必须能在硬核指标上明确击败经典基准模型,否则就毫无实际业务价值。 [7:22] Arun Verma: 在传统的量化研究流程中,研究员面对 5 分钟短周期预测、异常检测、单日较长周期预测以及缺失值填补(Imputation)等不同任务时,必须孤立地针对每个任务手工清洗数据、提取特征并单独构建模型,研发效率低下且模型通用性极差。 [11:16] Arun Verma: 基准评测显示,经过下游任务微调后的 Delphin 模型在多变量方差预测准确率上显著超越了 GARCH 模型。 [21:28] Arun Verma: 在预测未来资产表现时,模型并非仅仅给出一个确定性数字(例如“苹果公司明天的收益率为 2%”),而是输出完整的置信区间(Confidence Band)与多变量收益的联合概率分布,从而为下游决策提供明确的不确定性度量。 [21:28] Arun Verma: 主成分分析在本质上属于线性模型,无法捕捉市场中复杂的非线性条件依赖关系;而深度生成式模型能够有效挖掘高阶、非线性的统计依赖,从而大幅提升拟合与预测的精确度。 [23:26] Arun Verma: 其实际 P&L 表现显著超越了传统投资组合优化基准,实现了清晰的超额 alpha 收益——讲者风趣地将其总结为 “how we can make money which is always nice”。 [25:33] Arun Verma: Neural Beta 放弃了简单的均方根误差(RMSE),改用似然损失函数(Likelihood Loss),既惩罚了点估计的误差,又优化了观测值的概率发生密度,实现了“一石二鸟”的统计推断效果。 [28:38] Arun Verma: Neural Beta 模型自动识别出异常噪音,显著调低了对最近一周超短期数据的依赖权重,转而拉长观察视窗进行稳健估计。这一机制有效避免了在恐慌期过度高估 Beta 而在随后的市场平复期导致对冲失效的经典量化陷阱。

Source quotes

[3:51] Arun Verma: In the textual setting we have accepted a little bit of more margin of error and the vagueness of response... but when you're trying to solve a financial time series question—for example, estimation of risk or projection of returns or optimizing your portfolio—there is very little room for error. You really want to make sure you are able to build a model that can definitely beat the benchmarks, otherwise it's not useful at all. Arun Verma: Generative ML methods are becoming more popular for use cases like imputation of financial data, as well as forecasting asset prices. Arun Verma: Generative models are especially suited for estimating point values and uncertainty, giving us a measure of confidence in estimation. Arun Verma: Collaborative filtering methodologies for illiquid asset pricing, using generative deep gaussian processes to estimate behavior of a target instrument from the observations on more liquid, closely-related instruments Arun Verma: Machine learning techniques for financial data imputation, e.g., estimating companies' granular geographical exposure given sparse & aggregate disclosure in financial statements. [19:20] Arun Verma: Apple's return for tomorrow is going to be 2% [0:04] Unlike conventional Wall Street institutions that closely guard intellectual property, Bloomberg embraces a Silicon Valley research culture by actively contributing back to the open-source ecosystem. [7:22] DelFin is pre-trained across diverse cross-domain numerical series, including macroeconomic indicators, equities, order book data, and non-financial data such as climatological and scientific series. [22:15] Because PCA is strictly a linear dimension-reduction technique, it fails to pick up the nuanced, conditional non-linear dependencies present in real market data. [29:02] During the peak volatility of the pandemic, the network automatically slashed the weighting assigned to the most immediate recent observations.

Original transcript

[0:04] Hey, good afternoon everybody. I guess [0:06] I'm you get to be with me for the lunch [0:08] slump hour. Uh so I hope to make it [0:11] interesting. Um um so I work with the uh [0:14] the research area of Bloomberg within [0:17] the chief technology office where our [0:19] mandate is to do innovation and [0:20] incubation of new ideas and products for [0:23] Bloomberg. Um and I guess many of you [0:27] probably uh saw uh the keynote talk by [0:30] Jeff Hinton this morning uh who was [0:32] talking to uh you know Shireen Gafari [0:35] from Bloomberg who's who's from our [0:37] reporters side. So Bloomberg uh you know [0:40] as you probably know is not just a news [0:43] or media organization. We do have [0:45] reporters like Shireen but uh we also [0:47] have uh a large technology division. So [0:50] we we think of ourselves more of a [0:52] technology company. um you know we have [0:55] you know in financial services you know [0:57] uh 350,000 customers you know worldwide [1:01] presence um but I think one thing I want [1:03] to highlight is that um you know 9 to [1:05] 10,000 of our employees which is about [1:07] 40% of our workforce are actually [1:10] engineers and out of that 500 are are [1:13] like scientific staff like PhD level [1:16] quantitative finance uh researchers or [1:19] machine learning engineers or AI [1:20] researchers. So um in in uh in [1:24] particular we actually contributing back [1:26] to even open source community in a major [1:28] way which does not happen from the [1:30] finance world. Uh so we are very much uh [1:33] in the sort of Silicon Valley culture [1:35] than the Wall Street culture maybe or [1:37] maybe the maybe the mix of the two. Um [1:39] so uh there's a lot of different efforts [1:42] within the company uh to to make [1:44] advances in you know NLP, AI, machine [1:47] learning, quantitative finance in [1:49] general. Um uh I don't want you to read [1:53] through this slide. I mean this is just [1:54] a highlight of what Bloomberg uh AI AI [1:58] journey has been for about 15 20 years [2:01] now. I think the first foray of [2:03] Bloomberg in in AI was really around our [2:06] news uh news product where each and [2:10] every news that hit the Bloomberg system [2:12] whether it was generated from our own [2:14] reporters or from third party wires um [2:18] was um u analyzed in real time by a [2:22] machine learning algorithm using NLP and [2:26] we tagged the news uh for the people [2:28] mentioned in the news for the companies [2:31] mentioned for the sentiment expressed um [2:34] and even topics and topic themes. So [2:37] essentially as soon as the news hit [2:39] Bloomberrook system you had all this [2:41] data available uh immediately for any [2:44] further use and that was our first [2:46] machine learning and then uh over time [2:50] we have uh established um you know a [2:52] great uh success of uh ML NLP and and [2:57] other areas of of this technology in [3:00] many different products. Um a highlight [3:03] was two years ago when we came out with [3:05] the Bloomberg GPT model. This was [3:07] essentially a way to uh illustrate that [3:10] financial data that is uh you know [3:12] available to Bloomberg is you know [3:14] Bloomberg being kind of the the central [3:16] nervous system of the finance world. We [3:18] have all the financial you know uh [3:21] reports you know uh data uh analyst [3:25] projections and everything like that and [3:27] the news as well. So we were able to [3:29] show that we can uh train a a GPT model [3:34] using the financial data and solve for [3:37] very specific finance use cases using [3:40] that framework and that's sort of built [3:43] the backbone for our large language [3:45] model offering also for the for the for [3:48] the companies in many different products [3:51] but I come from the um quantitative [3:53] finance area and we are also playing [3:56] with a lot of uh these transformer-l [3:59] like models and technologies. So one of [4:01] the ideas that we have come up with is [4:04] to uh use the same architecture of and [4:08] so is typical LLM model which is [4:10] typically a transformer with some [4:12] attention and some encoder decoder tri [4:15] style architecture and use it on time [4:17] series data instead of textual data. So [4:20] we use instead of the text as tokens we [4:23] want to use the numerical values of a [4:25] time series as tokens apply the same [4:27] technology uh and see if that will work. [4:30] I think the um the bar is higher in in [4:34] in the time series models. Uh [4:36] unfortunately for me but um you know in [4:38] the in the textual setting we are I [4:41] think we have accepted a little bit of [4:44] of of more margin of error uh and the [4:48] vagueness of response or or maybe uh [4:51] lack of recall or whatever. But in in [4:53] when you're talking when you're trying [4:55] to solve a financial times risk question [4:57] for example estimation of risk or [5:00] projection of of returns or optimizing [5:03] your portfolio there is very little room [5:05] for error. So you you really want to [5:07] make sure you are able to build a model [5:09] that can definitely beat the benchmarks [5:11] otherwise it's not useful at all. It's [5:13] not just enough to you know throw [5:15] something uh at this model and get some [5:18] output and be okay with it like we tend [5:20] to be with chat GPD sometimes but in [5:22] these models we have a higher higher [5:25] bar. Um so yeah when we talk about [5:28] financial times risk models all these [5:30] terms kind of come at us um you know I [5:32] don't know how many of you have finance [5:34] uh background but um um but essentially [5:38] a lot of it is around estimating um you [5:41] know regression models or sometimes [5:43] called factor models. Some of them are [5:45] linear, some of them are highly [5:47] nonlinear and con contextual. Uh and we [5:50] use um um you know all kinds of models [5:53] uh to estimate for example a CAPM which [5:56] is a the you know one of the first [5:59] models that came out of of finance which [6:01] won uh you know William Sharp his first [6:04] Nobel Prize uh back in the 60s. Uh so [6:08] that was a one factor market model and [6:10] since then there have been many more [6:11] extensions of those models in particular [6:14] farmer French if you guys have heard of [6:15] farmer French models um and um and and [6:19] researchers and and scientists are still [6:21] discovering more and more uh factors [6:24] that can explain risk and return in the [6:26] markets. So it's pretty much an active [6:28] area of research as well. Um so yeah [6:32] just like neural networks uh financial [6:34] time series models also have a long [6:36] history. Uh so you know GA or ARMA these [6:40] are like sort of auto reggressive models [6:42] uh have been around for almost 100 [6:44] years. Um but obviously more recently [6:47] from the '9s onwards with the advent of [6:50] uh machine learning and neural networks [6:52] there have been uh uh you know much much [6:55] more progress in this area uh including [6:58] um you know uh LSTM in particular uh [7:01] than transformers or LLM style models [7:04] and finally we are talking about uh you [7:07] know diffusion uh models which are [7:09] actually very popular for generating [7:10] images. You may have seen um a lot of [7:13] diffusion models for generating uh [7:15] images but it's also very very uh [7:18] relevant for for numerical data as well. [7:22] And uh here is a illustration of one of [7:25] the foundational models that Bloomberg [7:27] has developed. We we call it deline. Um [7:31] so deline well who doesn't love Greek uh [7:35] mythology? So deli and with finance. So [7:38] we get deline um and that's the model [7:41] which is uh you know allowing us to [7:43] solve all these types of use cases. So [7:46] in this case uh I have I have listed [7:47] four different use cases. So we have on [7:50] the on the first uh top left part a five [7:53] minute forecast uh and then we have [7:56] anomaly detection a longer one-day [7:58] forecast and another one is imputation [8:01] of missing data. So in the traditional [8:04] modeling framework what a researcher or [8:06] data scientist will do is to take one [8:09] problem at a time. So you'll take the [8:11] five minute forecast problem you know [8:14] curate the data just for that problem. [8:16] So you will get the get the features, [8:18] the variables, the label data and you [8:21] will build a sort of a hand-crafted [8:24] model u perhaps to just address that [8:27] five minutes forecast and the same for [8:29] the anomaly detection is completely [8:32] separate model with different training [8:34] data and different uh different model [8:36] architecture uh and assumptions and so [8:39] on and so forth. So essentially each of [8:41] the each of the boxes here required its [8:44] own research its own effort to build a [8:47] model and the idea uh you know that we [8:50] are that we are um trying to bring here [8:52] is that just like the language models [8:54] there is one foundational model that [8:57] allows us to solve for many different [8:59] use cases. So chat GPD can do [9:02] summarization or question answering or [9:05] search or uh you know uh and many other [9:08] task uh as well. Uh can we use a large [9:12] you know a similar architecture for time [9:14] series models to do the same thing uh in [9:17] a sense um all all these types of [9:20] different very different tasks can they [9:22] be done performed or solved with the [9:24] same single model and that's that's the [9:27] idea for uh this model in particular [9:30] where we are building this foundational [9:32] model deline that can do all of these uh [9:35] tasks and um essentially there is a [9:38] pre-trained [9:39] uh component to it uh where we throw in [9:43] you know just like in chat GPD we throw [9:45] in all the textual data in the world we [9:47] we're trying to also look at all the [9:49] financial data and also a bunch of [9:52] non-financial data like climate data uh [9:54] and from any other scientific [9:56] disciplines we are trying to get all [9:58] types of uh modalities of of of [10:01] numerical data into the system we [10:03] pre-trained the model but then for each [10:06] each of the um particular problem we we [10:09] will use uh some some fine-tuning [10:12] um just like we do in in in chat GBT as [10:15] well. So in in uh other words yes you [10:19] will get the pre-trained model as your [10:21] first part and then you will um take a [10:25] look at the task at hand and provide a [10:27] couple of examples uh you know that are [10:30] labeled for that task and then you will [10:32] do fine-tuning and get a final answer [10:34] for the specific task. [10:37] Um and in the and when once you have [10:41] done that you have this obviously two [10:42] different options. You could actually do [10:45] um just a zero task uh inference where [10:49] you require no fine-tuning. Typically we [10:51] have seen that that's does not give you [10:53] as much accuracy as you as when you do [10:55] fine-tuning. So you know essentially you [10:58] know we have attempted to do uh all [11:01] these tasks using different different [11:03] styles of um you know uh zero zero task [11:07] zeros uh uh inference as well as variety [11:10] of different fine-tuning methods to help [11:12] us select the optimal one for each task. [11:16] And here's um here's one illustration of [11:19] what this model is capable of doing. So [11:22] variance forecasting in finance is a [11:24] very very big problem where we need to [11:27] know uh what is the risk of my asset for [11:30] let's say a three-month horizon or even [11:32] a week horizon and it's not just about a [11:35] single asset it could be about a [11:37] portfolio of assets. So you might have [11:40] to model uh a a a multivariable [11:43] forecasting problem where you're trying [11:45] to solve solve for you know correlated [11:47] returns of multiple assets and we see [11:50] that you know the GACH being the gold [11:52] standard. Garch is also authored by [11:54] another Nobel Prize winner Rob Angel. [11:57] Um, GAH is kind of the gold standard in [12:00] in variance forecasting, but with our [12:02] model uh with with the fine-tuned model [12:04] in particular. The uh we are able to [12:07] beat the u the accuracy of the GA model. [12:10] The zeros model is not as much um not so [12:14] much better but fine-tuned one does does [12:17] quite a bit better. Um another task that [12:20] we apply to is called now casting where [12:23] u very useful in economic uh setting [12:26] where we are you know uh getting [12:29] releases of economic data um you know on [12:31] on a very unsynchronized basis in the [12:34] news right so let's say today we might [12:36] get a report on housing tomorrow we [12:38] might get a report on unemployment [12:41] uh but they they are not being released [12:43] at the same time so so once the report [12:46] on let's say unemployment comes out then [12:49] can we use this latest information that [12:52] just just made available to project onto [12:55] all the other economic variables uh to [12:57] get a a more updated forecast and that's [13:00] a that's something we've done for our [13:03] own uh consumer transaction data here. [13:05] So Bloomberg is uh also uh curating a a [13:10] a a trans retail level transaction data [13:12] where they have you know receipt level [13:15] you know credit card level uh data for [13:18] retail transactions across the US and we [13:22] can actually use that data to further [13:24] forecast how companies uh you know that [13:27] you know that are selling the that the [13:29] consumers are buying products of how [13:30] those companies will perform in the next [13:33] quarter. So we can not only build the [13:35] current estimate, we can also project [13:37] out to a quarter and we see we do pretty [13:39] well. Uh long-term forecasting here is [13:42] for the volume of um of uh stock trading [13:47] and you can see um you know uh on the [13:50] graphs there each each uh um cycle is [13:54] one day. So this is about seven seven [13:57] days of intraday data. So in each day we [14:01] have five 70 we have 78 5 minute bars [14:04] and then we have 7 days of data. So we [14:06] have about you know projecting out to [14:08] about you know 500 uh time steps. And [14:12] you can see it's a typical U- shape [14:13] where the the volume uh uh in the [14:16] trading will always be the highest at [14:18] the very beginning of the day at 9:30 [14:20] a.m. and also at the very close of the [14:23] day at 4:00. And in between you will see [14:25] volume kind of dips down. um as as the [14:29] trading activity kind of slows um you [14:31] know because in the morning there's a [14:33] lot of limit orders that come in that [14:35] are or market orders that are waiting to [14:37] execute um and so on. So uh we are able [14:41] to uh extract this pattern or learn this [14:45] pattern from this model and actually [14:47] build a forecast for the next whole [14:50] week. [14:51] So in summary, yes uh yeah there are [14:53] many other models uh as well uh out [14:56] there uh so you know including Meta um [14:59] uh and other companies like we have [15:01] Kronos, Times FM, Moment Morai. So [15:05] Deline is the is the only model for the [15:07] financial world um and uh we can see [15:11] that you know we are able to um um solve [15:15] many kinds of problems with with a small [15:17] enough model as well. [15:20] Um so that [15:22] is still still very uh uh um hard to [15:26] actually solve for all kinds of [15:28] variations in the financial data. We see [15:30] that there's a lot of challenges. Um you [15:33] know sometimes we have uh we have to use [15:35] very long context length. So if you're [15:37] solving for um a risk of of let's say um [15:42] a currency currency like um you know u [15:46] um yen versus u let's say aussie dollar [15:50] we have to see the effect of the various [15:53] events um economic events that reflect [15:57] to that region for many many quarters [15:59] and years. So there's a very long [16:01] context length we need to be able to [16:03] solve that and long context lengths uh [16:06] are are not the strong suite of these [16:08] foundational models. So we still have [16:10] some work to do there and there's other [16:13] other challenges. So there's sometimes [16:15] missing data uh in finance. So we have [16:18] essentially have to first do imputation [16:20] and then do forecasting and uh also [16:23] fine-tuning uh is uh is has to be done [16:26] in some experimental sense. So there's a [16:28] lot of uh additional additional effort [16:30] and research that you might need to do [16:32] for fine-tuning. [16:34] All right. So I move on to now maybe two [16:37] flavors of of of [16:40] um let's say deep learning in financial [16:42] time series. Um one is called the neural [16:46] factor modeling. Uh essentially the idea [16:48] here um is to go for a specific use [16:52] case. So now I I talked about the most [16:55] general model the deline which can take [16:57] into account all kinds of time series [17:00] and all kinds of uh downstream tasks [17:02] that you want to solve. But here we are [17:04] going for a particular problem and still [17:07] using deep learning for it. So um when [17:10] you talk about the factor models in [17:12] finance there are actually three [17:13] different approaches. Let me just go all [17:15] the way to the bottom here. So um one is [17:18] called the former French style models [17:20] where we have constructed these style [17:24] portfolios. Uh so in the equation here [17:27] you'll see actually it's colorcoded. So [17:28] we have the known in the green and the [17:31] unknowns in the blue. So so the returns [17:35] uh that you see uh on the left hand side [17:38] are are expressed as beta times the [17:41] factor returns. So beta uh are the [17:44] loadings or exposure of the stock to [17:47] that factor and the and the f values are [17:51] the factor returns and then there is a [17:52] idiosyncratic noise. So in farmer French [17:55] style we know the uh factor returns [17:58] because factor returns are are defined [18:02] as style style factors. So these are [18:04] these long short portfolios like high [18:07] value stocks minus the growth stocks are [18:11] is a style called the value value [18:14] portfolio. Uh or you could have uh [18:16] another style which is based on the size [18:18] of the company. So you can go long all [18:21] the big mega caps and go short all the [18:24] micro or small cap companies. That's [18:26] another portfolio which is a size style [18:30] portfolio. So we know the returns of [18:32] those portfolios in F and we impute the [18:34] beta. [18:36] In the second style, we actually um um [18:39] impose the beta and we're trying to [18:41] learn the learn the returns. So we can [18:44] say that for example uh uh my stocks [18:47] have a certain characteristic like it [18:49] has a dividend that we I know it has [18:52] paid out in the past past quarters. So [18:54] that dividend becomes the beta. So and [18:57] the f of corresponding f value becomes [19:00] the the dividend factor. So if I want to [19:04] learn what is the return of the dividend [19:06] factor, I have to um use the dividend [19:09] exposure which is given to me by the [19:12] past data and I learn the factors. And [19:14] finally there's a third approach which [19:16] actually takes both as unknowns where we [19:18] are going going outside of the [19:20] interpretability or spinability regime [19:23] so to speak and we are trying to learn [19:25] latent factors and also their implied [19:28] returns. So I'm not going to impose you [19:30] either the exposures or the uh factors [19:33] I'm going to learn both in an iterative [19:35] fashion and uh these are different [19:38] approaches that we can do. So the neural [19:40] factor is more of the latent the third [19:43] approach and the idea here is to first [19:46] uh look at all the stocks that I'm I'm [19:48] uh I in my universe and first build an [19:52] embedding of those stocks. So just [19:54] similar to how we build textual [19:55] embeddings, we can also build embeddings [19:58] for the time series values of the [20:00] stocks. So kind of compress or or [20:03] represent the time series uh the stock [20:06] time series data u as embeddings and [20:10] also I I'm slapping on to it a factor [20:14] model uh which defines the factor [20:16] returns and when you combine the two you [20:19] are postulating the returns of the [20:21] stocks via the embeddings as beta times [20:24] the factor returns and this whole joint [20:28] uh sorry um this whole joint model is [20:31] learned using um uh the typical neural [20:35] network uh back propagation technique um [20:39] that can uh optimize for the parameters [20:43] that solve uh solve for this uh least uh [20:47] least error in representation of these u [20:49] quantities. [20:51] So once we have the once we have this [20:54] factor model essentially we are [20:56] minimizing [20:57] uh sorry minimizing the the posterior [21:00] distribution of observing a certain [21:03] return uh given the factor values. So [21:07] the essentially I want to make sure I [21:10] have the highest likelihood of observing [21:13] uh the actual data given what I trained [21:16] uh the my my model on and that will give [21:18] me the most optimal representation of [21:21] the of the stock uh in terms of their [21:24] embeddings and and factors. [21:28] All right. So um so yeah so essentially [21:31] we have built now uh you know uh the [21:34] estimator of this beta from the neural [21:36] network and uh we we get the factor [21:39] returns and essent finally what we're [21:41] doing is uh looking at uh building the [21:44] not just the distribution of the returns [21:47] in the future but also their [21:50] uncertaintity. So it's not about just uh [21:53] a point estimate of the next period [21:55] return like I I I I'm not just saying [21:58] that your uh Apple's return for tomorrow [22:00] is going to be 2% but I'm also giving [22:02] you a confidence band around it. Uh so [22:05] it's a prob probabilistic output where [22:07] you learn the entire distribution uh of [22:11] these multivaried returns. [22:15] All right. So yeah, so those are those [22:17] are more details on how it gets [22:19] calibrated and in terms of actually how [22:21] we build even some waiting schemes and [22:23] regularization in the method. Um so I'll [22:27] skip those details here and here's uh [22:30] what we found. So um on the y-axis we [22:33] have uh the log likelihood value and on [22:36] the x-axis we have various choices for [22:38] the number of factors of the dimensions [22:41] of the factors that we can uh input into [22:43] this model. You can see it's kind of [22:45] like a U-shaped curve where it it it [22:49] goes down quickly and then at the very [22:51] end it rises up. So there's an optimal [22:53] value at 64 [22:55] um and um you know it's it's actually [22:57] much more than what just the PCA will [23:00] tell you. So PCA tends to um tends to [23:03] give you much lower number of factors [23:05] and we think it's because um you know we [23:08] are capturing more types of nonlinear uh [23:11] relationships that PCA cannot do because [23:13] PCA by definition is a linear model. So [23:16] we are we have uncovered some some [23:19] conditional nonlinear dist uh [23:21] dependencies in the data that can give [23:23] us higher accuracy. [23:26] All right. So uh there's many [23:28] applications of this. Once you have [23:30] calibrated such a model, you can do [23:31] forecasting of variance. You can do [23:34] forecasting of value at risk. Um you can [23:37] also do portfolio optimization. Um and [23:40] um also uh it's it's it's the it's kind [23:45] of very wide open in terms of what kind [23:47] of downstream use case you might have [23:49] from the embedded themselves. The [23:51] embeddings is is a short uh [23:54] representation of your entire universe. [23:56] So you can use it for any downstream [23:58] application. So here we are showing you [24:00] in two dimensions um you know uh if I if [24:03] I take the take the large embedding [24:06] space and project it into two dimensions [24:08] I'll get a map like this. So something [24:10] like the U map that you guys have must [24:12] have seen and you will see that [24:14] different stocks and different indices [24:16] lie in specific areas. So we have all [24:19] the banks near the top. Then we have um [24:22] some of the market um um vendors in the [24:25] middle there. We have you know [24:26] technology stocks in one corner. So this [24:28] is kind of proves your proves your [24:31] thesis that it's kind of doing the right [24:32] job. And if you're if you're building a [24:35] any model to to to sort of solve a task [24:39] for any uh target stock in this space, [24:42] you can borrow information from this [24:44] embedding space to help solve that. [24:47] And this is a um u also a illustration [24:51] of how we can make money which is always [24:54] nice. Um so if we take the returns and [24:57] the and the risk of the um uh [25:01] distribution from the from the uh this [25:04] foundational model we have a better [25:06] sense of sharp ratio optimization. So [25:08] once I build a sharp ratio optimizer [25:11] using using this model I do have a [25:14] higher P&L uh compared to other [25:17] approaches. So you see that you know [25:19] once um you know compared to the regular [25:22] uh portfolio optimization um u solutions [25:26] um you know uh we get we get an enhanced [25:28] result from this and I had just a few [25:31] few more minutes so I'll just quickly me [25:33] also mention neural beta. This is [25:35] another project we did kind of in the [25:37] same space where we are solving for now [25:41] um you know uh CAPM model. So it's a [25:44] very well understood model where the [25:46] return of the stock is um essentially [25:48] the risk-free plus beta times the market [25:51] return. And um uh the problem with this [25:55] uh or the challenge with this model is [25:57] that it's very difficult to estimate [25:59] beta because beta is not a constant um u [26:04] quantity over time. Beta can vary [26:06] heavily over time. So we need to be able [26:09] to build a model that's dynamic. Um you [26:12] know as far as the use cases are [26:14] concerned you know beta is actually the [26:17] the primary uh quantity used for hedging [26:20] a stock. So when you want to hedge your [26:22] stock against the market, you will take [26:25] your you know take the long position in [26:26] your stock and you will buy beta times [26:29] the underlying index to hedge the risk. [26:32] So that's very obviously very central [26:35] and also is used for portfolio [26:36] optimization in general. Um and [26:40] essentially the idea idea is to you know [26:43] given the market return and the stock [26:44] return to calibrate that beta. Um and [26:49] let me quickly jump ahead to to our idea [26:53] here which is you know taking that [26:55] objective where we are minimizing the uh [26:58] the the return of the next day uh minus [27:02] the predicted return from my beta model. [27:05] So y minus the beta model um uh uh it [27:09] will give me the give me the most [27:11] optimal loss for my beta calibration. [27:15] And uh we will calculate beta using some [27:17] model using the past observations. And [27:20] the choice of these models is many fold. [27:23] So for example the most standard model [27:26] you guys have all seen is OS or ordinary [27:29] le squares where beta is very simple [27:32] function of the previous values. So that [27:35] is obviously our benchmark or a straw [27:37] man model so to speak. Uh so we just use [27:41] that as as as our standard model. But [27:44] the idea is um to go for more and more [27:48] nuance models. So this is just a simple [27:50] extension of the OS is called the [27:53] weighted le squares where we introduce [27:55] alpha decay parameter which is a a time [27:59] time weighted decay in addition to uh [28:01] just the regular regression. So this can [28:04] be more optimal [28:07] uh which takes into account uh more [28:10] weight on the more recent observations. [28:12] And finally, we can take the middle [28:15] block and replace it with the neural [28:16] network completely because uh we think [28:19] there's much more nonlinearity in place [28:22] on the dependence of the beta to the [28:24] underlying time series. So why not use [28:28] uh a a neural network to learn uh that [28:32] relationship and um this is uh sort of [28:35] uh the the model that we use. And we [28:38] also uh change the loss function [28:40] slightly to optimize for likelihood and [28:43] not just the the root mean squared error [28:46] because the likelihood is is actually [28:48] gives us two-fold twofold optimization. [28:51] It optimizes for the error and it also [28:54] optimizes for the actual probability of [28:56] observing a value. So we get we get two [28:59] two birds with one stone there. All [29:02] right. So, and then we uh to test this, [29:05] of course, the problem with the the real [29:08] market data is that there's no ground [29:10] truth that we don't have an actual beta. [29:12] I know we're getting out of time. Um but [29:15] so we have to test it using synthetic [29:17] data in control settings and um you know [29:20] we we try out various examples of [29:22] simulated data and we try to replicate [29:25] uh these models on those data and um for [29:28] example beta green line as constant as a [29:31] step function or as a sine wave and [29:33] let's see if we can replicate that right [29:36] and it turns out um yes on those [29:38] pictures we were able to get kind of [29:40] close enough to a flat beta but [29:42] obviously varying because it it is it is [29:45] going to be by nature noisy because it's [29:46] stochastic and you can see in the middle [29:48] picture one of the betas the the the [29:51] neural beta was able to shoot up as the [29:54] step function the ground truth shot up [29:56] uh as well while the other ones the the [29:59] least squares one is lagging in time the [30:01] the blue line in the middle is taking [30:03] its time to go up um and similarly on [30:06] the right hand side the blue line is [30:08] very damped so it's not able to react to [30:11] the market conditions while this model [30:14] is able to react much better to the [30:16] market conditions and uh we see good [30:18] results in terms of our evaluation [30:21] metrics and also we we in fact showed [30:24] one example for the COVID I'll I'll show [30:26] you that um and stop there. So in [30:29] particular we also do we also um looked [30:32] at the weights implied by our model um [30:35] on the recent data and we see that [30:37] during the COVID time uh you look at the [30:40] left chart and on the and and the right [30:42] chart the the um the weights uh which is [30:45] shown in the in the blue is dropping [30:48] during COVID which means that because [30:50] COVID event was so idiosyncratic the the [30:54] association with the recent past kind of [30:56] did not make any sense. So, so naturally [31:00] our model started to look longer and and [31:02] you know try to make better estimates uh [31:05] so because if you estimated use only [31:07] using the last week's data you will [31:09] overestimate the beta and you will do [31:11] very poorly in the next week when market [31:13] has calmed down. So we able to show that [31:16] it does it does actually um reduce the [31:19] weights heavily for the specific [31:21] periods. And with that there's papers um [31:25] you know um I know we don't have time [31:27] for this uh on all these three different [31:29] topics I discussed. So I thank you for [31:31] your time.