cd /news/large-language-models/perplexity-intelligence-and-pretrain… · home › topics › large-language-models › article
[ARTICLE · art-174402] src=micjm.com ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Perplexity, intelligence and pretraining corpus mix

A blog post published earlier today argues that raising the share of code in pretraining data lowers evaluation log-perplexity, citing the SAIL-SG RegMix project, whose data show code log-perplexity tracking code content with an r² of 0.75 and a p-value of about 4×10⁻²⁰. The post responds to OpenAI's blog "Perplexity and Intelligence" and contends OpenAI should have used a more balanced corpus to generate its log-perplexity figures, while conceding the data cannot confirm OpenAI is increasing code in its pretraining or explain the full drop in log-perplexity.

recommendation

When comparing log-perplexity across models, control for pretraining corpus mix, since code share alone explains much of the variance (r² 0.75 in RegMix data).

more in playbook: Fine-tuning and data
read1 min views3 publishedNov 22, 2026

Earlier today, I published a blog post showing that if you increase the proportion of code in pretraining, you will get lower log-perplexity in evaluation. This was in response to OpenAI’s blog today.

After publishing, I found a project that had actually randomized contents of pretraining and published log-perplexities on the various components. Basically, they’d already done an experiment to prove the relationship I was alleging.

Here’s the data from their experiment, you can see how closely log-perplexity for code tracks code content.

The r² of this chart is 0.75 and the p-value of this relationship is about 4×10⁻²⁰.

For fun, I asked an agent to cherrypick the data and generate a similar chart to OpenAI’s, just using the various points here. We even have an impressive internal model (that’s just 50% code in pretraining). Do we know that OpenAI is increasing the component of code in its pretraining over time? No, but I think it’s a good bet. Can we say that this explains the full drop in log-perplexity? Absolutely not and it’s unlikely. Can we say that there is some confounding here and that OpenAI should have used a more balanced corpus to generate log-perplexity? I think so.

── more in #large-language-models 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/perplexity-intellige…] indexed:0 read:1min 2026-11-22 · —