Topic

Quantitative Finance

All digests tagged Quantitative Finance

· 20:07

Morgan Stanley's ALPHALAB: Multi-Agent Research Across Optimization Domains — Brendan Rappazzo

Morgan Stanley's AlphaLab is a multi-agent research system designed to automate quantitative finance research by managing the entire experimental lifecycle. Unlike simple code generation, AlphaLab accepts a problem in plain language and autonomously handles hypothesis formation, backtesting setup, cluster job submission (using tools like Slurm), statistical testing, and iterative refinement. The core innovation lies in its focus on building proprietary, verifiable evaluation environments—treating them as critical data inputs—allowing the system to self-improve and encode deep enterprise knowledge.

Key takeaways

  1. Full Research Automation Cycle

    AlphaLab operates in three phases: 1) Research (building context/hypotheses), 2) Evaluation Building (creating robust backtests, involving multiple critic agents to prevent forward leakage), and 3) Mass Experimentation. This allows the system to move from a natural language goal to a suite of trained models.

  2. Architecture: Strategist and Workers 15:36

    The process is managed via a Kanban/Jira-like board. A 'Strategist' agent proposes experiments, which are then assigned to 'Worker' agents responsible for writing code, configuring Slurm jobs (e.g., requiring 4 H100s), submitting the job, and performing postmortem analysis.

  3. The Value of Verifiable Environments

    The system's robustness hinges on building custom evaluation environments (evals) that mimic a private Kaggle competition. This strict format, which includes held-out validation sets, is crucial for measuring performance and encoding proprietary enterprise knowledge.

  4. Self-Improving Meta-Harness

    The ultimate goal (AlphaLab 2.0) is a self-improving system where the LLM performs meta-optimization, analyzing results and improving the harness itself, rather than just executing tasks within it.

Watch on YouTube Full article

· 25:45

How Bridgewater Built Pat, The AI Pocket Analyst Tool | Interrupt 26

Bridgewater Associates introduced PAT (Pocket Analyst Tool), an internal AI analyst capable of performing deep exploratory research in minutes—a task that would take human analysts days or weeks. The tool leverages five decades of codified investment logic and proprietary data to build an 'artificial investor.' Architecturally, PAT is designed not as a generic agent but as a specialized system using LangGraph for state management. Key technical differentiators include integrating human-like inspection into time series search (boosting accuracy from 50% to 90%), enabling parallel code generation across multiple sub-agents, and enforcing correctness by treating agentic coding as a deterministic compiler problem rather than an unpredictable LLM task.

Key takeaways

  1. AI Advantage through Institutional Knowledge

    Bridgewater's 50 years of written-down investment logic provides a unique, structured data trove that allows them to build specialized AI agents, rather than starting from scratch. This deep context is critical for the tool's success.

  2. Human-Like Data Inspection 17:04

    The search agent incorporates human reasoning by checking not just the name of a time series, but also its frequency, currency, and whether values align with prior expectations. This elevated accuracy from approximately 50% to 90%.

  3. Deterministic Code Generation

    The architecture treats coding agents as a compiler problem, ensuring that the process is fully deterministic and reliable. This involves running code through static analysis and validation agents to enforce correctness.

  4. Autonomous Learning via 'Teach' Button 25:24

    PAT improves continuously by allowing users to click the 'Teach button.' This process generates a benchmark that is expected to fail, which then triggers an agent to iterate on context or harnesses until the benchmark passes, resulting in a pull request (PR) for system improvement.

Watch on YouTube Full article