Non-determinism in GPT-4 is caused by Sparse MoE - 152334H
It’s well-known at this point that GPT-4/GPT-3.5-turbo is non-deterministic, even at temperature=0.0. This is an odd behavior if you’re used to dense decoder-only models, where temp=0 should imply greedy sampling which should imply full determinism, because the logits for the next token should be a pure function of the input sequence & the model weights.
Non-determinism in GPT-4 is caused by Sparse MoE What the title says 152334H included in Tech August 5, 2023 1701 words 8 minutes Contents It's well-known at this point that GPT-4/GPT-3.5-turbo is non-deterministic, even at temperature=0.0 . This is an odd behavior if you're used to dense decoder-only models, where temp=0 should imply greedy sampling which should imply full determinism, because the logits for the next token should be a pure function of the input sequence & the model weights. When asked about this behaviour at the developer roundtables during OpenAI's World Tour, the responses
Explore this link on the map →related reading
- Defeating Nondeterminism in LLM Inference - Thinking Machines Labthinkingmachines.ai
- GPT-4openai.com
- gpt-4.pdfcdn.openai.com
- Non-Determinism of “Deterministic” LLM Settingsarxiv.org
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4. · GitHubgithub.com
- SolidGoldMagikarp (plus, prompt generation) — AI Alignment Forumalignmentforum.org
- GPT in 60 Lines of NumPy | Jay Modyjaykmody.com
- Transformer Explainer: LLM Transformer Model Visually Explainedpoloclub.github.io
- GPT-4 Architecture, Infrastructure, Training Dataset, Costs, Vision, MoEsemianalysis.com
- gpt-4-system-card.pdfcdn.openai.com
- Using GPT-4 to Understand Code — LessWronglesswrong.com
- Papers I’ve read this week, Mixture of Experts editionfinbarrtimbers.substack.com