Lecture 2 · Reading the Leaderboard: IC, Excess Return, and Factor Versions¶
Chapter 1, Lecture 2 Learning objectives: master the meaning and pitfalls of the leaderboard's four core metrics; understand the "combo/version" structure of factors; recognize the three convention problems of "self-reported results". All numbers in this lecture are in the factory self-reported convention (the factory's built-in backtest, not independently validated) — that is itself one of the lecture's topics.
1. A Real Leaderboard¶
The A-share campaign's factor leaderboard, 290 factors in total. The top by self-reported excess return:
| Factor | Category | Self-reported excess | Evaluations (combos) | Code versions |
|---|---|---|---|---|
| asset_growth_neg | Other | +26.5% | 4 | 2 |
| low_beta_rank | Other | +26.5% | 4 | 2 |
| turn_of_month_rank | Liquidity | +26.5% | 15 | 14 |
| low_volatility_rank | Volatility | +20.8% | 2 | 2 |
| overlay_reversal_liquidity | Momentum/reversal | +14.9% | 2 | 1 |
| ep_rank | Value | +14.7% | 22 | 18 |
| momentum_20d / reversal_5d | Momentum/reversal | +14.7% | 23 | 33 |
Lecture 1 said: not one of these numbers can be trusted directly. But to see through it, you must first be able to read it.
2. Four Metrics: Intuition and Pitfalls¶
IC (Information Coefficient)¶
The cross-sectional correlation between factor values and future returns, computed daily.
- Intuition: how accurate the directional prediction is. IC=0.03 is already a level worth taking seriously in A-shares.
- Pitfall: the average IC can be propped up by a few extreme trading days — 49 of 50 days near 0 and one day at 0.3 averages to 0.006, yet also hands you a beautiful maximum.
Rank IC¶
Uses rank correlation (Spearman) instead of Pearson.
- Why quants prefer it: robust to outliers. A stock up 20% on the limit and one up 10% are both "first place" to a rank.
- Practical habit: watch Rank IC's sign-consistency rate (share of positive days) — it exposes problems earlier than the mean does.
ICIR¶
The mean of IC divided by the standard deviation of IC — the stability of the prediction.
- Intuition: a factor with mean IC 0.05 and ICIR 0.5 is better than one with mean IC 0.08 and ICIR 0.2.
- Pitfall: ICIR says nothing about turnover. A factor that fully turns over its book every day can have a great ICIR, but fees eat everything.
Excess return¶
Portfolio return relative to a benchmark. The most intuitive — and the most pitfalls:
- Who is the benchmark? The same factor with a different benchmark can flip the sign of the excess. This campaign's futures leg used a 23-instrument equal-weight index; the A-share campaign once used CSI 300 — later it turned out the benchmark excluded limit-up stocks, so a substantial part of the "excess" was an artifact (detailed in Lecture 8).
- Were costs included? The factory backtest's default convention may not include real fees.
- How is long-short done? The qlib 0.9.6 backtester blocks shorting at three layers — the factory's long-short numbers actually came from a vectorized side-computation, yet another convention switch.
3. Factor "Combos" and "Versions": Why One Factor Has a Dozen-Plus Records¶
On the leaderboard, momentum_20d has 23 evaluations and 33 code versions. Three layers of structure:
- Factor name: one hypothesis ("20-day momentum")
- Combos: records of this hypothesis being repeatedly implemented and evaluated across different time windows/loops. 23 evaluations means the loop touched it in 23 different contexts
- Versions: code iteration history — the AI fixed bugs, tuned parameters, changed implementations
Here is a concept the leaderboard never states outright but this course uses constantly: multiple testing.
The loop touched it 23 times, and what you see is the best of the 23. Flip a coin 23 times and one streak of heads is no surprise; test a factor 23 times and one good-looking excess is equally no surprise. 290 factors, each evaluated several times on average — this leaderboard is a multiple-testing generator.
The Lecture 1 discussion question can now be answered: run the loop 1000 rounds and the leaderboard's #1 becomes less credible — the larger the selection base, the more likely the top name is the luckiest noise. This is not an AI problem; it happens to human researchers manually trying 1000 factors too. The AI just accelerated it by orders of magnitude.
4. Three Things Self-Reported Results "Don't Tell You"¶
- Who is the benchmark — excess is a relative quantity, and every benchmark convention choice (exclusion rules, weighting, tradability assumptions) seeps into the excess. The A-share campaign's lesson: benchmark excludes limit-ups → the long side naturally avoids limit-up stocks → a chunk of the "excess" is an artifact.
- Were costs included — leaderboard numbers are mostly gross or semi-net. High-turnover factors (the momentum family with 33 versions is the hardest hit) frequently flip negative after net costs.
- How many times was it tested — as in the previous section. For a good-looking top name, first check its combos/versions: the more evaluations a factor has, the higher the ceiling on the luck component of its best record.
A controlled-experiment preview: the leaderboard top of these 290 factors was later re-tested in the independent validation pipeline under pre-registered rules — not a single one survived (Lecture 5). Not that the factors were all worthless, but the correlation between "leaderboard rank" and "true validity" is far weaker than intuition suggests.
5. Lecture Summary¶
- IC for direction, Rank IC for outlier robustness, ICIR for stability — none of the three contains cost information
- The combos/versions columns are direct evidence of "how many times it was tested"; read these two columns first when reading a leaderboard
- The leaderboard is a multiple-testing generator: top of 290 factors self-reports +26.5%, all fail independent validation
- Three must-ask questions: who is the benchmark, were costs included, how many times was it tested
Discussion question: If you could add just one column to the leaderboard to keep yourself from being fooled, which column? (This course's choice: the pre-registered verdict — think it through before checking the answer)