Neural networks are trained primarily based on their inputs and outputs, without regard for their internal mechanisms. These neglected mechanisms determine properties that are critical for safety, like (i) transparency; (ii) the absence of sensitive information or harmful capabilities; and (iii) reliable generalization of goals beyond the training distribution. To address this shortcoming, we introduce gradient routing, a training method that isolates capabilities to specific subregions of a neural network. Gradient routing applies data-dependent, weighted masks to gradients during backpropagation. These masks are supplied by the user in order to configure which parameters are updated by which data points. We show that gradient routing can be used to (1) learn representations which are partitioned in an interpretable way; (2) enable robust unlearning via ablation of a pre-specified network subregion; and (3) achieve scalable oversight of a reinforcement learner by localizing modules responsible for different behaviors. Throughout, we find that gradient routing localizes capabilities even when applied to a limited, ad-hoc subset of the data. We conclude that the approach holds promise for challenging, real-world applications where quality data are scarce.
LMask: Learn to Solve Constrained Routing Problems with Lazy Masking
Beijing International Center for Mathematical Research, Peking University(北京大学北京国际数学研究中心);Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);Department of Statistics and Data Science, University of Pennsylvania(宾夕法尼亚大学统计与数据科学系)
Learning to Handle Complex Constraints for Vehicle Routing Problems
Nanyang Technological University(南洋理工大学);Shandong University(山东大学);Singapore Management University(新加坡管理大学);Eindhoven University of Technology(埃因霍温理工大学)
Towards Efficient Constraint Handling in Neural Solvers for Routing Problems
Nanyang Technological University(南洋理工大学);Singapore Management University(新加坡管理学院);Shandong University(山东大学);Eindhoven University of Technology(埃因霍温理工大学);MIT(麻省理工学院)
Localize and Neutralize: Gradient-guided Token Suppression against Visual Prompt Injection Attack
School of Advanced Interdisciplinary Sciences, UCAS(UCAS交叉学科研究院);School of Electronic, Electrical and Communication Engineering, UCAS(UCAS电子电气与通信工程学院);State Key Laboratory of AI Safety, Institute of Computing Technology, CAS(中国科学院计算技术研究所人工智能安全国家重点实验室);Alibaba Group(阿里巴巴集团);School of Computer Science and Technology, UCAS(UCAS计算机科学与技术学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Key Laboratory of Big Data Mining and Knowledge Management, UCAS(UCAS大数据挖掘与知识管理重点实验室)
Dialectics of Alignment: Harnessing Unsafe Knowledge for Dynamic Safety Routing
Chandar Research Lab(Chandar研究实验室);Mila – Quebec AI Institute(魁北克AI研究所);Université de Montréal(蒙特利尔大学);Microsoft Research(微软研究院);Polytechnique Montréal(蒙特利尔理工学院);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)