Evidence-based investing research
Value Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
Cash TLT LQD SPY
Momentum Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
1st ETF 2nd ETF 3rd ETF

The Value of AI Stock Portfolio Weighting

| | Posted in: Investing Expertise

Key Insight

Gemini 1.5 Flash-weighted five-stock portfolios did not consistently beat the S&P 500 or equal-weighted portfolios; return win rates were 43.4%–53.1% and 40.0%–57.9%, Sharpe win rates lower (18,000 random anonymized iterations; 2004–2023; 1–36 month horizons).

Can Google's large language model (LLM), Gemini, beat simple benchmarks by picking a small portfolio of stocks? In their September 2024 paper entitled "Can AI Beat a Naive Portfolio? An Experiment with Anonymized Data", Marcelo Perlin, Cristian Foguesatto, Fernanda Müller and Marcelo Righi test the ability of Gemini 1.5 Flash to weight a portfolio of five U.S. stocks for different investment horizons (1, 6, 12 or 36 months) using either financial data, price data or a combination of both. The tests employ real but anonymized financial data, ensuring that confounding training data about specific firms does not infect stock weighting decisions. Testing involves 18,000 iterations of five steps:

  • Select a random date during 2004 through 2023 with equal daily probability.
  • Based on this date, randomly select five U.S firms/stocks that have financial data, prices over $1.00 and average daily volumes over $250,000 over the prior five years.
  • Create anonymized versions of the financial and price data.
  • Ask Gemini to assign allocations from a fixed total amount to the five stocks, with the possibility of also allocating to the contemporaneous 5-year U.S. Treasury note yield.
  • Compare performance of the Gemini-weighted portfolio during the given investment horizon to that of the S&P 500 Index and an equal-weighted portfolio of the same stocks/Treasury note yield.

Using inputs as specified for 1,522 distinct firms during 2004 through 2023, they find that:

Read this study free

The rest of this study: 280 words and 1 chart.

Enter your email and we’ll send you a link to this article. 3 premium articles a month, no password or card.

Guru Grades

1,206 predictions by 42 market gurus since 2022: 41% right. Always saying stocks will go higher: 62%.

As of the Nov 25, 2026 close

  1. 1 Ed Yardeni A 71%
  2. Always bullish B 62%
  3. 2 Jim Paulsen B 61%
  4. 3 Sam Stovall B 58%
  5. 4 Adam Turnquist B 58%
  6. 5 Ryan Detrick B 56%

Full leaderboard ›