Including code in the pre-training data mixture, even for models not specifically designed for code, has become a common practice in LLMs pre-training. While there has been anecdotal consensus among practitioners that code data plays a vital role in general LLMs' performance, there is only limited work analyzing the precise impact of code on non-code tasks. In this work, we systematically investigate the impact of code data on general performance. We ask "what is the impact of code data used in pre-training on a large variety of downstream tasks beyond code generation". We conduct extensive ablations and evaluate across a broad range of natural language reasoning tasks, world knowledge tasks, code benchmarks, and LLM-as-a-judge win-rates for models with sizes ranging from 470M to 2.8B parameters. Across settings, we find a consistent results that code is a critical building block for generalization far beyond coding tasks and improvements to code quality have an outsized impact across all tasks. In particular, compared to text-only pre-training, the addition of code results in up to relative increase of 8.2% in natural language (NL) reasoning, 4.2% in world knowledge, 6.6% improvement in generative win-rates, and a 12x boost in code performance respectively. Our work suggests investments in code quality and preserving code during pre-training have positive impacts.
Exploring the Impact of Corpus Diversity on Financial Pretrained Language Models
Department of Applied Artificial Intelligence, Hanyang University(应用人工智能系,翰阳大学);Division of Computer Science, Hanyang University(计算机科学系,翰阳大学);Ramply Inc.(Ramply公司)
Exploring the Impact of a Transformer's Latent Space Geometry on Downstream Task Performance
University of Montana(蒙大拿大学);College of Business, University of Montana(蒙大拿大学商学院);R. Ken Coit College of Pharmacy, University of Arizona(亚利桑那大学R. Ken Coit药学院)
Exploring the Impact of Personality Traits on Conversational Recommender Systems: A Simulation with Large Language Models
Chinese University of Hong Kong(香港中文大学);National University of Singapore(新加坡国立大学);Singapore Management University(新加坡管理大学);Hong Kong Baptist University(香港浸会大学);Huazhong University of Science and Technology(华中科技大学)
Exploring the Unfairness of DP-SGD Across Settings
University of Copenhagen(哥本哈根大学)
最终用户和监管机构需要私有和公平的人工智能模型,但之前的研究表明,这些目标可能不一致。我们使用CivilComments来评估将{ \em de facto}标准隐私方法DP-SGD应用于多个公平性指标的影响。我们评估了DP-SGD的三种实现:降维(PCA),线性分类(逻辑回归)和鲁棒深度学习(Group-DRO)。在线性分类和鲁棒深度学习的情况下,我们在隐私和公平性之间建立了负对数相关。DP-SGD对PCA的公平性没有显著影响,但经检查,似乎也没有导致私人陈述。