TY - GEN
T1 - Data Debugging Is NP-Hard for Classifiers Trained with SGD
AU - Guo, Zizheng
AU - Wu, Jun
AU - Chen, Pengyu
AU - Fu, Yanzhang
AU - Miao, Dongjing
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2026.
PY - 2026
Y1 - 2026
N2 - Data debugging is to find a subset of the training data such that the model obtained by retraining on the subset has a better accuracy.A bunch of heuristic approaches are proposed, however, none of them are guaranteed to solve this problem effectively.This leaves an open issue whether there exists an efficient algorithm to find the subset such that the model obtained by retraining on it has a better accuracy.To answer this open question and provide theoretical basis for further study on developing better algorithms for data debugging, we investigate the computational complexity of the problem named Debuggable.Given a machine learning model M obtained by training on dataset D and a test instance (xtest,ytest) where M(xtest)≠ytest, Debuggable is to determine whether there exists a subset D′ of D such that the model M′ obtained by retraining on D′ satisfies M′(xtest)=ytest. To cover a wide range of commonly used models, we take SGD-trained linear classifier as the model and derive the following main results.(1) If the loss function and the dimension of the model are not fixed, Debuggable is NP-complete regardless of the training order in which all the training samples are processed during SGD.(2) For hinge-like loss functions, a comprehensive analysis on the computational complexity of Debuggable is provided;(3) If the loss function is a linear function, Debuggable can be solved in linear time. These results not only highlight the limitations of current approaches but also offer new insights into data debugging.
AB - Data debugging is to find a subset of the training data such that the model obtained by retraining on the subset has a better accuracy.A bunch of heuristic approaches are proposed, however, none of them are guaranteed to solve this problem effectively.This leaves an open issue whether there exists an efficient algorithm to find the subset such that the model obtained by retraining on it has a better accuracy.To answer this open question and provide theoretical basis for further study on developing better algorithms for data debugging, we investigate the computational complexity of the problem named Debuggable.Given a machine learning model M obtained by training on dataset D and a test instance (xtest,ytest) where M(xtest)≠ytest, Debuggable is to determine whether there exists a subset D′ of D such that the model M′ obtained by retraining on D′ satisfies M′(xtest)=ytest. To cover a wide range of commonly used models, we take SGD-trained linear classifier as the model and derive the following main results.(1) If the loss function and the dimension of the model are not fixed, Debuggable is NP-complete regardless of the training order in which all the training samples are processed during SGD.(2) For hinge-like loss functions, a comprehensive analysis on the computational complexity of Debuggable is provided;(3) If the loss function is a linear function, Debuggable can be solved in linear time. These results not only highlight the limitations of current approaches but also offer new insights into data debugging.
UR - https://www.scopus.com/pages/publications/105013473023
U2 - 10.1007/978-981-95-0218-9_13
DO - 10.1007/978-981-95-0218-9_13
M3 - 会议稿件
AN - SCOPUS:105013473023
SN - 9789819502172
T3 - Lecture Notes in Computer Science
SP - 169
EP - 180
BT - Computing and Combinatorics - 31st International Computing and Combinatorics Conference, COCOON 2025, Proceedings
A2 - Fomin, Fedor V.
A2 - Xiao, Mingyu
PB - Springer Science and Business Media Deutschland GmbH
T2 - 31st International Computing and Combinatorics Conference, COCOON 2025
Y2 - 15 August 2025 through 17 August 2025
ER -