显示第 1–10 条,共 10 条结果:Adam+Scherlis
-
arXiv:2210.01892 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Polysemanticity and Capacity in Neural Networks
摘要: Individual neurons in neural networks often represent a mixture of unrelated features. This phenomenon, called polysemanticity, can make interpreting neural networks more difficult and so we aim to understand its causes. We propose doing so through the lens of feature \emph{capacity}, which is the fractional dimension each feature consumes in the embedding space. We show that in a toy model the optimal capacity allocation tends to monosemantically represent the most important features, polysemantically represent less important features (in proportion to their impact on the loss), and entirely ignore the least important features. Polysemanticity is more prevalent when the inputs have higher kurtosis or sparsity and more prevalent in some architectures than others. Given an optimal allocation of capacity, we go on to study the geometry of the embedding space. We find a block-semi-orthogonal structure, with differing block sizes in different models, highlighting the impact of model architecture on the interpretability of its neurons.
提交于 2022年12月23日; 公告于 2025年3月25日。
评论: 22 pages, 7 figures. Improved notation and corrected an error in the description of the most general efficient matrices
-
arXiv:2501.18812 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Estimating the Probability of Sampling a Trained Neural Network at Random
摘要: We present and analyze an algorithm for estimating the size, under a Gaussian or uniform measure, of a localized neighborhood in neural network parameter space with behavior similar to an ``anchor'' point. We refer to this as the "local volume" of the anchor. We adapt an existing basin-volume estimator, which is very fast but in many cases only provides a lower bound. We show that this lower bound can be improved with an importance-sampling method using gradient information that is already provided by popular optimizers. The negative logarithm of local volume can also be interpreted as a measure of the anchor network's information content. As expected for a measure of complexity, this quantity increases during language model training. We find that overfit, badly-generalizing neighborhoods are smaller, indicating a more complex learned behavior. This smaller volume can also be interpreted in an MDL sense as suboptimal compression. Our results are consistent with a picture of generalization we call the "volume hypothesis": that neural net training produces good generalization primarily because the architecture gives simple functions more volume in parameter space, and the optimizer samples from the low-loss manifold in a volume-sensitive way. We believe that fast local-volume estimators are a promising practical metric of network complexity and architectural inductive bias for interpretability purposes.
提交于 2025年1月31日; 公告于 2025年1月31日。
评论: New experiments and clearer exposition
-
arXiv:2411.09003 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Refusal in LLMs is an Affine Function
摘要: We propose affine concept editing (ACE) as an approach for steering language models' behavior by intervening directly in activations. We begin with an affine decomposition of model activation vectors and show that prior methods for steering model behavior correspond to subsets of terms of this decomposition. We then provide a derivation of ACE and use it to control refusal behavior on ten different models, including Llama 3 70B. ACE combines affine subspace projection and activation addition to reliably control the model's refusal responses across prompt types. We evaluate the results using LLM-based scoring on a collection of harmful and harmless prompts. Our experiments demonstrate that ACE consistently achieves more precise control over model behavior than existing methods and generalizes to models where directional ablation via affine subspace projection alone produces incoherent outputs. Code for reproducing our results is available at https://github.com/EleutherAI/steering-llama3 .
提交于 2024年11月13日; 公告于 2025年1月28日。
-
arXiv:2412.07003 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Understanding Gradient Descent through the Training Jacobian
摘要: We examine the geometry of neural network training using the Jacobian of trained network parameters with respect to their initial values. Our analysis reveals low-dimensional structure in the training process which is dependent on the input data but largely independent of the labels. We find that the singular value spectrum of the Jacobian matrix consists of three distinctive regions: a "chaotic" region of values orders of magnitude greater than one, a large "bulk" region of values extremely close to one, and a "stable" region of values less than one. Along each bulk direction, the left and right singular vectors are nearly identical, indicating that perturbations to the initialization are carried through training almost unchanged. These perturbations have virtually no effect on the network's output in-distribution, yet do have an effect far out-of-distribution. While the Jacobian applies only locally around a single initialization, we find substantial overlap in bulk subspaces for different random seeds. Our code is available at https://github.com/EleutherAI/training-jacobian
提交于 2024年12月11日; 公告于 2024年12月11日。
-
arXiv:2205.01663 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Adversarial Training for High-Stakes Reliability
摘要: In the future, powerful AI systems may be deployed in high-stakes settings, where a single failure could be catastrophic. One technique for improving AI safety in high-stakes settings is adversarial training, which uses an adversary to generate examples to train on in order to achieve better worst-case performance. In this work, we used a safe language generation task (``avoid injuries'') as a testbed for achieving high reliability through adversarial training. We created a series of adversarial training techniques -- including a tool that assists human adversaries -- to find and eliminate failures in a classifier that filters text completions suggested by a generator. In our task, we determined that we can set very conservative classifier thresholds without significantly impacting the quality of the filtered outputs. We found that adversarial training increased robustness to the adversarial attacks that we trained on -- doubling the time for our contractors to find adversarial examples both with our tool (from 13 to 26 minutes) and without (from 20 to 44 minutes) -- without affecting in-distribution performance. We hope to see further work in the high-stakes reliability setting, including more powerful tools for enhancing human adversaries and better ways to measure high levels of reliability, until we can confidently rule out the possibility of catastrophic deployment-time failures of powerful models.
提交于 2022年9月15日; 公告于 2022年11月10日。
评论: 30 pages, 7 figures, NeurIPS camera-ready
-
arXiv:2007.04701 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
On Preheating in Higgs Inflation
摘要: Recently, the problem of unitarity violation during the preheating stage of Higgs inflation with a large non-minimal coupling has been much discussed in the literature. We point out that this problem can be translated into a strong coupling problem for the dimensionless effective coupling, and that the existence of these problems is highly dependent on the choice of higher-dimensional operators because they can significantly change the background dynamics and the canonical normalization of the fluctuations around it. Correspondingly, the typical energy of particles produced during the first stage of preheating can remain comparable to or below the cutoff scale of the theory. As an example, we numerically calculate the particle production in the presence of a specific four-derivative operator of the Higgs field, and confirm the statement above. Our argument also applies to multi-field inflation with non-minimal couplings.
提交于 2021年3月31日; 公告于 2021年3月31日。
评论: 28 pages, 9 figures; version to appear in JCAP (v2)
-
arXiv:1807.02581 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
The Goldilocks zone: Towards better understanding of neural network loss landscapes
摘要: We explore the loss landscape of fully-connected and convolutional neural networks using random, low-dimensional hyperplanes and hyperspheres. Evaluating the Hessian, $H$, of the loss function on these hypersurfaces, we observe 1) an unusual excess of the number of positive eigenvalues of $H$, and 2) a large value of $\mathrm{Tr}(H) / ||H||$ at a well defined range of configuration space radii, corresponding to a thick, hollow, spherical shell we refer to as the \textit{Goldilocks zone}. We observe this effect for fully-connected neural networks over a range of network widths and depths on MNIST and CIFAR-10 datasets with the $\mathrm{ReLU}$ and $\tanh$ non-linearities, and a similar effect for convolutional networks. Using our observations, we demonstrate a close connection between the Goldilocks zone, measures of local convexity/prevalence of positive curvature, and the suitability of a network initialization. We show that the high and stable accuracy reached when optimizing on random, low-dimensional hypersurfaces is directly related to the overlap between the hypersurface and the Goldilocks zone, and as a corollary demonstrate that the notion of intrinsic dimension is initialization-dependent. We note that common initialization techniques initialize neural networks in this particular region of unusually high convexity/prevalence of positive curvature, and offer a geometric intuition for their success. Furthermore, we demonstrate that initializing a neural network at a number of points and selecting for high measures of local convexity such as $\mathrm{Tr}(H) / ||H||$, number of positive eigenvalues of $H$, or low initial loss, leads to statistically significantly faster training on MNIST. Based on our observations, we hypothesize that the Goldilocks zone contains an unusually high density of suitable initialization configurations.
提交于 2018年11月12日; 公告于 2018年11月12日。
评论: 8 pages, 15 figures. Accepted for publication at the Thirty-Third AAAI Conference on Artificial Intelligence (AAAI-19). A subset of the paper accepted at Modern Trends in Nonconvex Optimization for Machine Learning workshop at the 35th International Conference on Machine Learning (ICML 2018), and BayLearn 2018
-
arXiv:1805.07362 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
The Stochastic Axion Scenario
摘要: For the minimal QCD axion model it is generally believed that overproduction of dark matter constrains the axion mass to be above a certain threshold, or at least that the initial misalignment angle must be tuned if the mass is below that threshold. We demonstrate that this is incorrect. During inflation, if the Hubble scale is low, the axion tends toward an equilibrium. This means the minimal QCD axion can naturally give the observed dark matter abundance in the entire lower part of the mass range, down to masses $\sim 10^{-12}$ eV (or $f_a$ up to almost the Planck scale). The axion abundance is generated by quantum fluctuations of the field during inflation. This mechanism generates cold dark matter with negligible isocurvature perturbations. In addition to the QCD axion, this mechanism can also generate a cosmological abundance of axion-like particles and other light fields.
提交于 2018年5月18日; 公告于 2018年8月15日。
评论: 19 pages, 3 figures. v2: minor changes made to agree with published version
-
arXiv:1510.07777 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Cluster Algebras and Symmetries of Regular Tilings
摘要: The classification of Grassmannian cluster algebras resembles that of regular polygonal tilings. We conjecture that this resemblance may indicate a deeper connection between these seemingly unrelated structures.
提交于 2015年10月27日; 公告于 2015年10月27日。
评论: 3 pages, 2 tables, 2 figures
-
arXiv:1507.01950 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Hedgehog Bases for A_n Cluster Polylogarithms and An Application to Six-Point Amplitudes
摘要: Multi-loop scattering amplitudes in N=4 Yang-Mills theory possess cluster algebra structure. In order to develop a computational framework which exploits this connection, we show how to construct bases of Goncharov polylogarithm functions, at any weight, whose symbol alphabet consists of cluster coordinates on the $A_n$ cluster algebra. Using such a basis we present a new expression for the 2-loop 6-particle NMHV amplitude which makes some of its cluster structure manifest.
提交于 2015年10月27日; 公告于 2015年10月27日。
评论: 32 pages; v2: minor corrections and clarifications