Paper Reading AI Learner

Decomposing and Editing Predictions by Modeling Model Computation

2024-04-17 16:28:08
Harshay Shah, Andrew Ilyas, Aleksander Madry

Abstract

How does the internal computation of a machine learning model transform inputs into predictions? In this paper, we introduce a task called component modeling that aims to address this question. The goal of component modeling is to decompose an ML model's prediction in terms of its components -- simple functions (e.g., convolution filters, attention heads) that are the "building blocks" of model computation. We focus on a special case of this task, component attribution, where the goal is to estimate the counterfactual impact of individual components on a given prediction. We then present COAR, a scalable algorithm for estimating component attributions; we demonstrate its effectiveness across models, datasets, and modalities. Finally, we show that component attributions estimated with COAR directly enable model editing across five tasks, namely: fixing model errors, ``forgetting'' specific classes, boosting subpopulation robustness, localizing backdoor attacks, and improving robustness to typographic attacks. We provide code for COAR at this https URL .

Abstract (translated)

机器学习模型如何将输入转换为预测?在本文中,我们引入了一个名为组件建模的任务,旨在回答这个问题。组件建模的目标是分解一个机器学习模型的预测,将其分解为其组件——模型计算中的简单函数(例如卷积滤波器、注意头)作为“构建块”。我们关注组件归因任务的特殊情况,即估计单个组件对给定预测的逆事实影响。然后,我们介绍了COAR,一种可扩展的算法,用于估计组件归因;我们证明了其在模型、数据集和维度上的有效性。最后,我们证明了使用COAR估计的组件归因可以直接使模型在五个任务上进行编辑:修复模型错误、忘记特定类、增强亚集的鲁棒性、定位后门攻击和提高对印刷攻击的鲁棒性。我们在这个链接处提供了COAR的代码:https://www.acm.org/dl/2022.0221000 。

URL

https://arxiv.org/abs/2404.11534

PDF

https://arxiv.org/pdf/2404.11534.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot