200 Factors a Day: Inside an Automated Factor Factory
This article explains how a quantitative research team built an automated "factor factory" that raises daily output from roughly one factor every few weeks to 200 factors per day. It breaks down the end-to-end pipeline into five layers—data, feature, validation, attribution, and filtering—and describes two interactive capabilities: natural-language factor mining and hot-topic extraction. It also covers the localization and data-residency requirements for licensed advisory firms, plus a practical checklist for deployment. Readers will learn how pipeline design, local model deployment, and human-machine collaboration change the way research output is organized.
1. The Starting Problem: Why Human Effort Caps Factor Output
In a quantitative research system, the factor is the smallest unit of measurement. Its job is to translate a market pattern into an expression that can be computed, validated, and reused—perhaps a combination of valuation and momentum, or a relationship among capital flows, sentiment, and fundamentals. Whether the logic behind a strategy holds up depends largely on how deeply factors are mined and how strictly they are screened.
Under the traditional workflow, a factor is born almost entirely from an individual researcher: reading data, finding features, writing code, running backtests, doing attribution, and removing overfitted candidates. None of these steps is easy, and all of them rely heavily on personal experience and intuition. A usable factor typically takes weeks to go from data cleaning to backtest validation. Even for a mature team, producing a few dozen effective factors in a year is a solid result.
This leads to a simple but critical conclusion: the scale of research output is locked to the number of researchers. To break through that ceiling, the only option is to turn serial human labor into parallel system capacity.
2. Compressing “Weeks” into “One Day”: A Layered End-to-End Pipeline
The so-called automated factor factory is essentially an end-to-end pipeline that chains data cleaning, mathematical modeling, code generation, and backtest validation into a closed loop. It can be split into five layers:
- Data layer: unified ingestion and alignment of market, financial, capital-flow, and alternative data, handling adjustments, trading halts, missing values, and timestamp misalignment.
- Feature layer: automated operator composition and symbolic expressions that expand raw fields into a candidate feature space.
- Validation layer: layered backtests, rolling-window checks, and out-of-sample validation that output returns, stability, and decay curves.
- Attribution layer: correlation clustering against existing factors to remove highly redundant items and keep incremental information.
- Filtering layer: overfitting screening and risk constraints to ensure factors are reusable rather than coincidental fits.
Two words here deserve special emphasis. Effective means the output is not just a pile of quantity—every batch of factors must pass validity checks and overfitting screening. End-to-end means the researcher receives not half-finished code but “raw material” that can go straight into the next step.
Illustrative pipeline pseudocode:
for batch in data_stream:feats = operator_search(batch.fields, depth=3)for f in feats:r = backtest(f, window="rolling", oos=True)if r.ic_mean > τ and r.decay < δ and r.redundancy < ρ:registry.add(f, meta=r)
3. Two Interactive Capabilities: From Writing Code to Stating Requirements
- Interactive factor mining: the researcher states a requirement in natural language; the model understands the task and dispatches multiple specialized agents to run an autonomous PDCA loop (plan–do–check–act), iterating until the output meets the bar.
- Hot-topic extraction: news, research reports, and social media are parsed in real time to identify market sentiment and policy direction, turning unstructured text into potential investment themes that feed back into the factor candidate pool.
One pipeline plus two interactive capabilities is not an efficiency tool but reusable capacity infrastructure.
4. The Prerequisite for Capacity: Local Deployment and Data Residency
No matter how high the capacity, it must rest on compliance. For licensed advisory firms, keeping data within their own domain is a hard constraint. The common approach is to complete a local, private deployment of the large model so that inference, fine-tuning, and logs all stay inside the internal network. With general capabilities from cloud platforms such as Baidu AI Cloud, teams can combine container platforms, object storage, message queues, logging services, and monitoring alerts to build an elastic yet isolated compute foundation—meeting audit requirements while avoiding leakage of sensitive data.
5. Deployment Checklist
- Unify data definitions before automating anything; otherwise errors get amplified at scale.
- Backtests must include out-of-sample and rolling windows to prevent “historical hallucination.”
- Build a factor registry with lineage tracking to keep results explainable and rollback-able.
- Use monitoring and alerts to track factor decay and retire失效 items promptly.
- Divide labor between humans and machines: the model handles broad search, while the researcher handles deep judgment and risk decisions.
In short, moving daily capacity from “one factor every few weeks” to “200 a day” changes not how hard researchers work but how research is organized: an end-to-end pipeline replaces serial manual work, local model deployment ensures compliance, and human-machine collaboration holds the quality line.
