Diagnosing deep neural networks (DNNs) by analyzing the eigenspectrum of their weights has been an active area of research in recent years. One of the main approaches involves measuring the heavytailness of the empirical spectral densities (ESDs) of weight matrices. This analysis has been shown to provide insights to help diagnose whether a model is well-trained or undertrained, and has been used to guide training methods involving layer-wise hyperparameter assignment. In this paper, we address an often-overlooked challenge in estimating the heavytailness of these ESDs: the impact of the aspect ratio of weight matrices. We demonstrate that matrices of varying sizes (and aspect ratios) introduce a non-negligible bias in estimating the heavytailness of ESDs, leading to inaccurate model diagnosis and layer-wise hyperparameter assignment. To overcome this challenge, we propose FARMS (Fixed-Aspect-Ratio Matrix Subsampling), a method that normalizes the weight matrices by subsampling submatrices with a fixed aspect ratio. Instead of measuring the heavytailness of the original ESD, we measure the average ESD of these subsampled submatrices. We show that this method effectively mitigates the aspect ratio bias. We validate our approach across various optimization techniques and application domains that involve eigenspectrum analysis of weights, including image classification in computer vision (CV) models, scientific machine learning (SciML) model training, and large language model (LLM) pruning. Our results show that despite its simplicity, FARMS uniformly improves the accuracy of eigenspectrum analysis while enabling more effective layer-wise hyperparameter assignment. In one of the LLM pruning experiments, FARMS reduces the perplexity of the LLaMA-7B model by 17.3% when compared with state-of-the-art methods.
Cognitive Biases in Large Language Models for News Recommendation
University of Amsterdam(阿姆斯特丹大学);Shandong University(山东大学);Leiden University(莱顿大学);Peoples' Friendship University of Russia (RUDN University)(俄罗斯人民友谊大学(RUDN大学));Joint Institute for Nuclear Research(联合核子研究所);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学);University of Skövde(舍夫德大学)
Do ever larger octopi still amplify reporting biases? Evidence from judgments of typical colour
University of Cambridge(剑桥大学);Google Research(谷歌研究院)
在原始文本上训练的语言模型(LM)无法直接存取到物理世界。Gordon and Van Durme(2013)指出,语言模块可能因此受到报告偏见的影响:文本很少报告共同的事实,而是关注情况的不寻常方面。如果LM只接受文本语料库的训练,并天真地记住局部共现统计数据,那么它们自然会对物理世界产生偏见。虽然先前的研究已经反复验证了较小规模的LM(例如,RoBERTa,GPT-2)放大了报告偏倚,但当模型按比例放大时,这种趋势是否会持续仍是未知数。我们从颜色的角度研究了PaLM和GPT-3等大型语言模型(LLM)中的报告偏倚。具体来说,我们查询LLM的对象的典型颜色,这是一个简单的类型的感知接地物理常识。令人惊讶的是,我们发现LLM在确定物体的典型颜色方面明显优于较小的LM,并且更紧密地跟踪人类的判断,而不是过度拟合存储在文本中的表面图案。这表明,非常大的语言模型本身就能够克服某些类型的报告偏见,其特点是当地共同出现。
Greedy Gradient Ensemble for Robust Visual Question Answering
Key Lab of Intell. Info. Process., Inst. of Comput. Tech., CAS(中国科学院计算技术研究所智能信息处理重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Kingsoft Cloud(金山云);Peng Cheng Laboratory(鹏城实验室);Huawei Technologies(华为技术有限公司)