Alephedge logo

An Introduction to Factor Timing and Its Development

Anyone who invests in multiple factors has probably noticed the same pattern: the value factor makes substantial gains in some years and suffers losses for several years in others, while the momentum factor occasionally crashes. If we could know in advance which types of factors were likely to outperform next and shift our positions toward them, returns should improve considerably. This is factor timing. Research on the subject now spans more than thirty years, dating back to the 1990s, yet its findings are far less encouraging than intuition might suggest. This article traces that research chronologically, then discusses our views on the role of large language models.

What Is Factor Timing?

For now, think of a factor as a score assigned to an asset: its price increase over a recent period, for example, its valuation, or the premium or discount of a deferred futures contract relative to a nearby contract. The standard approach is to sort assets into quantiles by their factor scores, buy the highest-scoring group, and sell the lowest-scoring group. The return on this long-short portfolio is defined as the factor return.

Once we have dozens or hundreds of factors, the simplest approach is to hold them at fixed weights over the long term, for example in an equally weighted portfolio. Factor timing instead adjusts those weights dynamically using information available at the time. That information may include the factors’ own recent performance, valuations, volatility, and crowding, as well as macroeconomic data or news text.

The value of timing is not self-evident. Its test is actually straightforward: after adding new information to a model or making an idealized assumption—for example, that factor performance itself persists—can it outperform a signal without timing in terms of returns or the Sharpe ratio?

The Challenges of Factor Timing

The first challenge is that signals are very weak. Neuhierl and coauthors tested 39 timing signals across 318 US equity factors. Even their best multisignal model achieved a median out-of-sample R2R^2 of only around 0.76% for monthly factor returns, with directional accuracy of approximately 57%. Timing signals can usually do little more than tilt a prediction slightly toward the correct outcome. In most cases, the resulting improvement does not offer a significant advantage when weighed against the stability of timing itself.

The second challenge is that factors are highly correlated. Haddad, Kozak, and Santosh found that the first 5 principal components of 50 anomaly returns explained roughly 60% of their variance. When selecting individually among many similar factors, much of what appears to be switching is simply moving back and forth between different versions of the same type of risk. Practitioners therefore also often address this problem with methods that remove correlations between factors.

The third challenge is overfitting arising from the decay of the factors themselves. McLean and Pontiff examined 97 return predictors and found that their returns declined by an average of approximately 58% after publication. A timing rule that appears effective historically may simply have happened to fit a particular market episode—a familiar problem in quantitative investing. When designing a timing strategy, we often also need to pay particular attention to whether the metrics used to rank factors for timing exhibit persistence.

Together, these issues imply a limited ceiling on the incremental gains from timing and a substantial cost of getting it wrong. The methods that hold up in the literature therefore tend to have fewer degrees of freedom, more reasonable priors, and more conservative implementation, rather than more complex models.

Three Decades of Research

Each stage introduced new factor-timing methods, while subsequent research repeatedly reassessed their practical value through stricter out-of-sample tests and evaluations of transaction costs.

Predictability and Conditional Models (1990s–2000s)

Ferson and Harvey (1991) found that much of the predictable component of stock and bond returns came from risk premia that varied with the macroeconomic environment. Risk premia are not constant, providing a theoretical basis for timing.

Asness and coauthors (2000) conducted an early study of style timing: the wider the valuation gap between value and growth stocks, the more likely value was to outperform subsequently. Cohen, Polk, and Vuolteenaho (2003) further analyzed valuation differences across stocks and found that only about 20–25% could be explained by differences in long-run expected returns. The remainder was also associated with expectations of future profitability and the persistence of valuation levels. This shows that valuation differences do not translate fully into predictability of future returns.

Other findings from the same period were less supportive. Goyal and Welch (2008) tested the broad-market timing variables in the literature out of sample, one by one, and found that most failed to outperform forecasts based simply on the historical mean. Rapach, Strauss, and Zhou (2010) subsequently found that taking a simple average of multiple univariate forecasts substantially improved out-of-sample performance. Combining several weak signals is more reliable than selecting a single “best” signal, a lesson repeatedly confirmed in later factor-timing research.

Volatility Management at the Factor Level (2010s)

Barroso and Santa-Clara (2015), and Daniel and Moskowitz (2016), studied risk management in momentum strategies. They found that dynamically adjusting positions based on historical risk information could substantially mitigate momentum crash risk in their samples and improve risk-adjusted returns. Moreira and Muir (2017) extended the same approach to more factors: reduce positions when recent volatility is high and increase them when it is low. Most factors generated positive alpha.

Subsequent tests were less encouraging. Cederburg and coauthors (2020) conducted real-time out-of-sample tests on 103 strategies and found no systematic outperformance from volatility management. Barroso and Detzel (2021) found that only the market factor remained effective after costs. It was not until DeMiguel, Martín-Utrera, and Uppal (2024) applied conditional volatility management at the multifactor portfolio level and incorporated transaction costs directly into the optimization that out-of-sample performance after costs again surpassed that of a portfolio without timing. Costs cannot simply be deducted afterward; they must be considered from the design stage.

Factor Momentum and Valuation Timing (2016–2023)

The most important finding of this stage was factor momentum: factors that have performed well recently tend to continue doing so. Gupta and Kelly (2019) tested lookback windows of different lengths across 65 factors and found that factor momentum was reasonably robust across several time horizons. The one-month lookback window performed best, with a portfolio annualized Sharpe ratio of 0.84. Ehsani and Linnainmaa (2022) found positive autocorrelation in the returns of most factors and argued that the familiar phenomenon of individual-stock momentum was largely an aggregation of these factor autocorrelations.

For valuation timing, the approach of Haddad, Kozak, and Santosh (2020) is particularly representative. They first performed principal component analysis on 50 anomalies, timed only the first five principal components, and used each component’s own valuation level to predict its returns. Out of sample, the timed portfolio had a Sharpe ratio of 0.87, compared with 0.76 for the static portfolio without timing. The former’s information ratio relative to the latter was approximately 0.42. Reducing dimensionality before timing is the paper’s main methodological contribution.

Many studies remained cautious. Asness and coauthors (2017) argued that valuation timing largely amounts to intermittently adding and reducing value exposure, offering limited benefit to a portfolio that already holds the value factor. After examining nearly a century of data, Ilmanen and coauthors (2021) concluded that timing predictability was modest and might well be insufficient to cover implementation costs. These disagreements concern not only the predictive power of timing signals, but also investors’ existing factor exposures, holding periods, and transaction costs. Even a valuation signal with long-term predictive power may not translate into consistent excess returns in live trading.

High Dimensionality and Machine Learning (2019–2025)

In “Timing the Factor Zoo,” Neuhierl and coauthors expanded the problem to 318 factors and 39 signals. Combining multiple signals using partial least squares (PLS) produced some gains from timing. Among individual signals, however, past factor returns and volatility remained the most influential. Cakici and coauthors (2025) used machine learning to predict factor returns and found that predictability came primarily from factor momentum, while excess returns gradually diminished over time. The additional returns from complex models mainly reflected more effective use of momentum.

Meanwhile, avoiding misleading backtests became a research topic in its own right. McLean and Pontiff (2016) found that factor returns declined by an average of approximately 26% out of sample and 58% after publication. Harvey, Liu, and Zhu (2016) recommended raising the tt-statistic threshold for new factors to 3. Bailey and coauthors introduced the probability of backtest overfitting (PBO) and the deflated Sharpe ratio (DSR), which adjusts for the number of trials, specifically to address bias from trying many sets of parameters. On crowding, Lou and Polk (2022) found that when the stocks within a momentum portfolio moved together more strongly, momentum was more susceptible to large subsequent drawdowns. Crowding is therefore more useful as an indicator of tail risk than as a predictor of average returns.

Large Language Models (2023–Present)

So far, we have seen relatively few papers directly studying the use of large language models for factor timing. Related progress has concentrated on several adjacent areas.

The first is having models read text and predict returns. Lopez-Lira and Tang found that GPT’s assessments of news headlines could predict next-day stock returns, although the performance of such strategies declined substantially over time. Research by Chen, Tang, Zhou, and Zhu showed that ChatGPT had some predictive power for the broad stock market after reading news from The Wall Street Journal, particularly during economic downturns and periods of high uncertainty.

The second is having models generate factor formulas. From Cheng and Tang (2024), who asked GPT-4 to propose equity factors based on its knowledge, to AlphaAgent, Alpha-GPT, and other systems that place large language models within a factor-mining loop, this is currently the application of large language models in quantitative research with the largest body of accumulated evidence.

The third is having models make trading decisions directly. FINSABER, introduced by Li and coauthors (2025), extended the test period to twenty years and covered more than one hundred instruments. The advantages reported in earlier papers shrank considerably; the models tended to be too conservative in bull markets and too aggressive in bear markets.

A challenge running through these studies is look-ahead bias: the training corpora of large language models already contain events that occurred after the backtest period. In response, “point-in-time” models trained only on text available before a specified date have emerged, including Time Machine GPT, ChronoGPT, DatedGPT, and the 2026 work by Kelly and coauthors. For now, however, these models are predominantly English-language and relatively small.

Looking back across these five stages, every new method performed well in sample when first proposed. Stricter out-of-sample tests and cost estimates subsequently brought expectations for live performance back down. The approaches that have held up through repeated testing are primarily factor momentum, valuation timing after dimensionality reduction, and robust combinations of multiple signals.

Lessons from Practice

Drawing these studies together, we believe several lessons are reasonably reliable, although their specific application still depends on the strategy, instruments traded, characteristics of the data, and other dimensions.

A timing model learns “which factor has performed well recently,” making it highly sensitive to the definition of “recently.” The definition of “performance” also requires careful consideration. In our research, after defining what we mean by factor “performance,” we found a relationship between the chosen lookback length and the persistence of that “performance.” This suggests that empirical analysis of factor momentum and investigation of its underlying explanations are crucial to research on timing systems, and can help avoid the illusion created by overfitting.

Signal horizons should also follow the factors themselves. Valuation signals remain relevant over years, whereas price-volume factors change quickly and may require much shorter windows. Instead of fixing a single window in advance, first test the horizons at which autocorrelation in each type of factor return is strongest.

When using weighted averages of multiple weak signals, rely less on all-or-nothing thresholds. Shrink forecasts moderately toward their long-run means, and anchor allocations to equal weights or long-run weights, allowing only limited deviations. This way, even if the timing signals are entirely ineffective, the portfolio should not fall too far behind its benchmark.

Costs must enter at the design stage. Rebalancing thresholds, weight smoothing, and turnover penalties all need to form part of the model evaluation criteria. Assumptions beyond persistence should also be examined individually. The purpose is not necessarily to prove or disprove each one; what matters more is understanding the external conditions under which an assumption holds. We believe a good model is part of the market, and should approximate live trading as closely as possible, even when market-impact costs cannot be modeled with complete realism.

Prospects for Large Language Models in Factor Timing

The most obvious approach is to have a large language model read the news, assess the market regime, and adjust factor weights accordingly. We believe this approach is difficult to validate at present. Commercial large language models “know” what happened before their training cutoff dates, so backtests over that history are inherently biased in their favor. Clean data after the cutoff cover only a short period. Assessing the market regime is also very difficult in itself; without an accurate assessment, it is hard to match factors to the current sources of returns.

By contrast, having a large language model write timing rules in a constrained rule language is feasible today and more consistent with the existing evidence. The model’s inputs would be limited to historical series such as factor returns, predictive power, and volatility. Only a small set of operators would be available, such as rolling means, rolling volatility, ranks, and correlations. Its output would be each factor’s weight for that day. An interpreter that accesses only data available at the decision time would execute the rules, reducing look-ahead bias at the execution level. Nevertheless, the generation and selection of rules would still require strict control over the time span of the training data, together with independent out-of-sample testing to establish their effectiveness. The resulting rules would be highly readable, interpretable, and reproducible, making it easier to diagnose the causes when problems arise.

Conclusion

More than thirty years of research have not produced a once-and-for-all solution to factor timing. What has endured is relatively simple: factor momentum, valuation signals after dimensionality reduction, robust combinations of multiple signals, and strict controls on costs and overfitting. Of course, change is the norm in markets, and pronounced, large returns are inherently at odds with persistence.

As AI-based quantitative investing gradually matures, research into how AI can assist factor timing is necessary. Its advantage lies in rapidly capturing time-varying information and identifying shifts in the sources of returns more quickly. The technical challenge is equally clear: stability. This is also a problem AlephEdge is working to solve.

99 Ferson, W. & Harvey, C. (1991). The Variation of Economic Risk Premiums. Journal of Political Economy 99(2). doi:10.1086/261755 Asness, C., Friedman, J., Krail, R. & Liew, J. (2000). Style Timing: Value versus Growth. Journal of Portfolio Management. Cohen, R., Polk, C. & Vuolteenaho, T. (2003). The Value Spread. Journal of Finance 58(2). doi:10.1111/1540-6261.00539 Goyal, A. & Welch, I. (2008). A Comprehensive Look at the Empirical Performance of Equity Premium Prediction. Review of Financial Studies 21(4). doi:10.1093/rfs/hhm014 Rapach, D., Strauss, J. & Zhou, G. (2010). Out-of-Sample Equity Premium Prediction. Review of Financial Studies 23(2). doi:10.1093/rfs/hhp063 Barroso, P. & Santa-Clara, P. (2015). Momentum Has Its Moments. Journal of Financial Economics 116(1). doi:10.1016/j.jfineco.2014.11.010 Daniel, K. & Moskowitz, T. (2016). Momentum Crashes. Journal of Financial Economics 122(2). doi:10.1016/j.jfineco.2015.12.002 Moreira, A. & Muir, T. (2017). Volatility-Managed Portfolios. Journal of Finance 72(4). doi:10.1111/jofi.12513 Cederburg, S., O’Doherty, M., Wang, F. & Yan, X. (2020). On the Performance of Volatility-Managed Portfolios. Journal of Financial Economics 138(1). doi:10.1016/j.jfineco.2020.04.015 Barroso, P. & Detzel, A. (2021). Do Limits to Arbitrage Explain the Benefits of Volatility-Managed Portfolios? Journal of Financial Economics 140(3). doi:10.1016/j.jfineco.2021.02.009 DeMiguel, V., Martín-Utrera, A. & Uppal, R. (2024). A Multifactor Perspective on Volatility-Managed Portfolios. Journal of Finance 79(6). doi:10.1111/jofi.13395 Asness, C., Chandra, S., Ilmanen, A. & Israel, R. (2017). Contrarian Factor Timing is Deceptively Difficult. Journal of Portfolio Management 43(5). Gupta, T. & Kelly, B. (2019). Factor Momentum Everywhere. Journal of Portfolio Management 45(3). Ehsani, S. & Linnainmaa, J. (2022). Factor Momentum and the Momentum Factor. Journal of Finance 77(3). NBER w25551 Haddad, V., Kozak, S. & Santosh, S. (2020). Factor Timing. Review of Financial Studies 33(5). NBER w26708 Ilmanen, A., Israel, R., Lee, R., Moskowitz, T. & Thapar, A. (2021). How Do Factor Premia Vary Over Time? A Century of Evidence. Journal of Investment Management 19(4). Neuhierl, A., Randl, O., Reschenhofer, C. & Zechner, J. Timing the Factor Zoo. Working paper (AFA 2024). Cakici, N., Fieberg, C., Osorio, C., Poddig, T. & Zaremba, A. (2025). Picking Winners in Factorland. Journal of Portfolio Management 51(6). Lou, D. & Polk, C. (2022). Comomentum: Inferring Arbitrage Activity from Return Correlations. Review of Financial Studies 35(7). McLean, R. D. & Pontiff, J. (2016). Does Academic Research Destroy Stock Return Predictability? Journal of Finance 71(1). doi:10.1111/jofi.12365 Harvey, C., Liu, Y. & Zhu, H. (2016). …and the Cross-Section of Expected Returns. Review of Financial Studies 29(1). doi:10.1093/rfs/hhv059 Bailey, D., Borwein, J., López de Prado, M. & Zhu, Q. (2017). The Probability of Backtest Overfitting. Journal of Computational Finance 20(4). doi:10.21314/JCF.2016.322 Bailey, D. & López de Prado, M. (2014). The Deflated Sharpe Ratio. Journal of Portfolio Management 40(5). Szymanowska, M., de Roon, F., Nijman, T. & van den Goorbergh, R. (2014). An Anatomy of Commodity Futures Risk Premia. Journal of Finance 69(1). Bakshi, G., Gao, X. & Rossi, A. (2019). Understanding the Sources of Risk Underlying the Cross Section of Commodity Returns. Management Science 65(2). Boons, M. & Porras Prado, M. (2019). Basis-Momentum. Journal of Finance 74(1). Sakkas, A. & Tessaromatis, N. (2020). Factor Based Commodity Investing. Journal of Banking & Finance 115. Qian, Jiang & Liu (2025). Factor Momentum in Commodity Futures Markets. Journal of Futures Markets 45(11). Kang, W., Rouwenhorst, K. G. & Tang, K. Crowding and Factor Returns. Working paper, SSRN 3803954. Ham, H., Cho, H., Kim, H. & Ryu, D. (2019). Time-Series Momentum in China’s Commodity Futures Market. Journal of Futures Markets 39(12). Fan, J. & Zhang, T. (2020). The Untold Story of Commodity Futures in China. Journal of Futures Markets 40(4). Gu, Ming, Xiong, Zhitao & Chen, Haiqiang (2024). Smart Beta: An Empirical Study on the Factor Momentum Effect of A-share Market. China Journal of Econometrics 4(3). Ma, T., Liao, C. & Jiang, F. (2024). Factor Momentum in the Chinese Stock Market. Journal of Empirical Finance 75. Wu, Y. (2024). Factor Timing in the Chinese Stock Market. International Studies of Economics 19(4). Lopez-Lira, A. & Tang, Y. Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models. arXiv:2304.07619 Chen, J., Tang, G., Zhou, G. & Zhu, W. (2025). ChatGPT and DeepSeek: Can They Predict the Stock Market and Macroeconomy? arXiv:2502.10008 Cheng, Y. & Tang, K. (2024). GPT’s Idea of Stock Factors. Quantitative Finance 24(9). Tang et al. (2025). AlphaAgent: LLM-Driven Alpha Mining with Regularized Exploration to Counteract Alpha Decay. KDD 2025. arXiv:2502.16789 Li, W. W., Kim, H., Cucuringu, M. & Ma, T. (2025). Can LLM-based Financial Investing Strategies Outperform the Market in Long Run? arXiv:2505.07078 He, S., Lv, L., Manela, A. & Wu, J. (2025). Chronologically Consistent Large Language Models. arXiv:2502.21206 Kelly, B., Malamud, S., Schwab, J. & Xu, T. A. (2026). Scaling Point-in-Time Language Models. NBER w35247

This article is for research discussion only and does not constitute investment advice.