Only-IF: Revealing the Decisive Effect of Instruction Diversity on Generalization
This paper shows through controlled Turing-complete Markov algorithm experiments that LLM generalization to unseen instructions only emerges when training data is diversified across semantic domains. Within-domain diversification fails to ensure robust generalization, whereas cross-domain diversification, even under constrained data budgets, significantly improves adaptability. Extending to real-world fine-tuning, specialists improve when trained beyond their core domain, and generalists benefit from diverse data mixtures, offering guidelines for dataset collation.