MCP
PH

Pingbang Hu

23 papers in the library · Same-name authors told apart using DBLP

Papers

23
Agentic Backdoors via Pretraining Poisoning
Xinyan HuPingbang HuChloe LoughridgeXuanli HeNicholas CarliniMatthew JagielskiJavier RandoYiming Zhang
This paper demonstrates, for the first time, that poisoning pretraining data can plant a remote code execution backdoor in a large language model agent, causing it to execute attacker-chosen commands. The authors pretrain Qwen3 models (0.6B, 1.7B, 4B) from scratch and post-train them into CLI agents with a clean pipeline. Poisoning only 0.1% of the corpus with a new poison design implants the backdoor, while behavior on clean inputs remains normal. Attack success rate increases with scale, reaching roughly 92% for the 4B model.
arXivarXiv · · October 27, 2026
0
dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale
Shixuan LiuTongli ZhouJunwei DengPingbang HuJiaqi W. Ma
dattri-LLM is a unified library that makes gradient-based training data attribution practical at LLM scale. It improves efficiency via compact gradient representations and cost-model-based routing, and compatibility by capturing per-example gradients from existing backward()-based training loops, including DDP, FSDP, and HuggingFace/TRL/OLMo pipelines, without loop changes. It exposes reusable gradient operations and callbacks for methods like gradient similarity and influence. On identical hardware, it achieves 3.2x average throughput over competitors and scales to 110B-parameter models on four H200 GPUs.
arXivarXiv · · September 30, 2026
0
0
dattri-LLM\texttt{dattri-LLM}: A Unified and Efficient Library for Training Data Attribution at LLM Scale
Shixuan LiuTongli ZhouJunwei DengPingbang HuJiaqi W. Ma
$\texttt{dattri-LLM}$ is a training data attribution library that targets LLM-scale per-example gradients through a unified gradient interface. For supported layers it offers exact factorized and materialized gradient representations, using a FLOP-aware cost model to choose between them per layer and operation; an open-loop interface captures gradients via autograd hooks during existing backward passes, integrates with unmodified DDP/FSDP pipelines, and caches them for reuse. An attributor interface over a uniform gradient stream supports new methods, and training-state callbacks enable in-training applications. Across evaluated methods and projection regimes it achieves $1.4$-$3.1\times$ speedups, with token-level attribution and online data selection shown as uses.
OpenReviewOpenReview · September 6, 2026
0
Dr. Post-Training: A Data Regularization Perspective on LLM Post-Training
Pingbang HuXueshen LiuZhuoqing MaoJiaqi W. Ma
This work recasts general training data in LLM post-training from a pool for selection into a data-induced regularizer that prevents overfitting to scarce, high-fidelity target data. At each training step, the proposed Dr. Post-Training framework builds a feasible set of update directions from the general data and projects the target-specified update onto it; standard training and existing data selection methods emerge as special cases corresponding to different regularization strengths along a bias--variance spectrum. This view yields a family of methods with more flexible tradeoffs, realized at LLM scale via system optimizations with minimal overhead, and experiments across SFT, RLHF, and RLVR show consistent gains over state-of-the-art data selection baselines.
OpenReviewOpenReview · · June 21, 2026
0
How Faithful Is Trajectory-Based Data Attribution? Error Sources, Remedies, and Practical Guideline
Junwei DengPingbang HuSuliang JinHao LuJiachen T. WangShichang ZhangJiaqi W. Ma
This work provides the first systematic analysis of error sources in trajectory-based data attribution, organizing total error into config-, algorithm-, and system-level categories. The dominant finding is optimizer mismatch: existing methods assume SGD even for models trained with AdamW, so the authors propose AdamW-influence to account for AdamW's dynamics, raising Spearman correlation between estimated and ground-truth influence by 10% to over 300% across MLP, CNN, GPT-2, and Llama 3.2-1B settings. They further isolate first-order Taylor error, showing learning rate and trajectory length govern its magnitude and deriving a closed-form proxy evaluable along the original trajectory without retraining. These insights yield practical selection guidelines unifying offline and online strategies under a K-step look-ahead framework.
OpenReviewOpenReview · June 19, 2026
0
How Faithful Is Trajectory-Based Data Attribution? Error Sources, Remedies, and Practical Guideline
Junwei DengPingbang HuSuliang JinHao LuJiachen T. WangShichang ZhangJiaqi W. Ma
This work provides the first systematic analysis of error sources in trajectory-based data attribution, organizing total error into config-level, algorithm-level, and system-level categories and turning it into practical remedies. The central finding is optimizer mismatch: existing methods assume SGD even for models trained with AdamW. The authors propose AdamW-influence, which accounts for AdamW's optimization dynamics and improves Spearman correlation between estimated and ground-truth influence by 10% to over 300% across four settings (MLP, CNN, GPT-2, and Llama 3.2-1B). They also isolate first-order Taylor approximation error, identify learning rate and trajectory length as governing factors, and derive a closed-form error proxy evaluable without retraining. Finally, they unify offline and online data selection under a K-step look-ahead framework, in which short-horizon online selection often matches or exceeds offline selection and the optimal horizon can be tuned jointly with the learning rate.
OpenReviewOpenReview · June 19, 2026
0
How Faithful Is Trajectory-Based Data Attribution? Error Sources, Remedies, and Practical Guidelines
Junwei DengPingbang HuSuliang JinHao LuJiachen T. WangShichang ZhangJiaqi W. Ma
This paper provides the first systematic error analysis of trajectory-based data attribution. It identifies optimizer mismatch as the dominant config-level error: existing methods assume SGD but are applied to AdamW-trained models. The authors propose AdamW-influence, which accounts for AdamW dynamics and improves Spearman correlation with ground-truth influence by 10% to over 300% across MLP, CNN, GPT-2, and Llama 3.2-1B. They also isolate the Taylor approximation error at the algorithm level, providing a closed-form proxy. Finally, they unify offline and online data selection under a K-step look-ahead framework, offering practical usage guidelines.
arXivarXiv · · May 12, 2026
0
3
Dr. Post-Training: A Data Regularization Perspective on LLM Post-Training
Pingbang HuXueshen LiuZ. Morley MaoJiaqi W. Ma
Dr. Post-Training reframes LLM post-training: instead of selecting from abundant general data, it treats that data as a regularizer. At each step, it builds a feasible set of update directions from general data and projects the target-data update onto it, preventing overfitting to scarce target data. Standard training and data-selection methods are special cases on a bias-variance spectrum. A method family with optimizations outperforms baselines across SFT, RLHF, and RLVR, especially when data are misaligned.
arXivarXiv · · May 8, 2026
0
1
A Unified Theory of Random Projection for Influence Functions
Pingbang HuYuzheng HuJiaqi W. MaHan Zhao
This paper develops a unified theory of random projection for influence functions. The central result characterizes the required sketch size $m$ for preserving the bilinear functional $g^\top F^{-1} g'$. For $g,g'$ in the range of $F$, exact preservation requires $P$ injective on that range, needing $m \geq \mathrm{rank}(F)$; with ridge regularization, guarantees depend on the effective dimension at scale $\lambda$, which can be much smaller. The theory extends to Kronecker-factored curvatures and out-of-range test gradients, where a leakage term quantifies errors.
OpenReviewOpenReview · February 8, 2026
0
2
Pseudo-Non-Linear Data Augmentation: A Constrained Energy Minimization Viewpoint
Pingbang HuMahito Sugiyama
We propose a data augmentation method for general data modalities, built on energy-based modeling and information geometry. Unlike learning-based generative approaches, it constructs a geometrically aware latent space that encodes data structure explicitly, with efficient encoding and decoding, and augmentations are controlled by designing this latent space. Empirically, it matches baselines on downstream tasks while providing finer-grained controllability lacking in prior work.
OpenReviewOpenReview · September 19, 2025
0
0
GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projection
Pingbang HuJoseph MelkonianWeijing TangHan ZhaoJiaqi W. Ma
GraSS is a gradient compression algorithm that exploits the inherent sparsity of per-sample gradients to enable scalable data attribution. By applying gradient sparsification and sparse projection, it achieves sub-linear space and time complexity for influence-function-based methods. A variant, FactGraSS, targets linear layers and yields up to 165% faster throughput on billion-scale models compared to prior baselines, while preserving data influence fidelity.
arXivarXiv · · May 25, 2025
0
18
GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projection
Pingbang HuJoseph MelkonianWeijing TangHan ZhaoJiaqi W. Ma
GraSS is a gradient compression algorithm that leverages the inherent sparsity of per-sample gradients to scale data-attribution methods like influence functions. With its linear-layer variant FactGraSS, it achieves sub-linear space and time complexity in per-sample gradient computation. Experiments show substantial speedups while preserving influence fidelity, with FactGraSS delivering up to 165% higher throughput on billion-scale models versus state-of-the-art baselines.
OpenReviewOpenReview · · May 11, 2025
0
A Reliable Cryptographic Framework for Empirical Machine Unlearning Evaluation
Yiwen TuPingbang HuJiaqi W. Ma
This paper addresses the unreliable evaluation of machine unlearning algorithms by proposing a cryptographic framework for membership-inference-attack-based evaluation. The authors model evaluation as a cryptographic game between unlearning algorithms and MIA adversaries, from which the naturally induced metric measures data removal efficacy with provable guarantees that existing metrics lack. They also propose a practical, efficient approximation of this metric, demonstrating its effectiveness through theoretical analysis and empirical experiments, thereby presenting a novel and reliable approach to empirical unlearning evaluation.
OpenReviewOpenReview · · May 10, 2025
0
Adversarial Attacks on Data Attribution
Xinhe WangPingbang HuJunwei DengJiaqi W. Ma
This paper introduces the first systematic study of adversarial robustness in data attribution, proposing a threat model and two attack methods that inflate data-attribution-based compensation. The Shadow Attack, assuming knowledge of the data distribution, uses "shadow training" to derive perturbations, while the Outlier Attack, relying only on black-box queries, exploits the inductive bias that outliers are influential. Experiments show Shadow Attack inflates compensation by at least 200%, and Outlier Attack by 185%–643%.
OpenReviewOpenReview · February 7, 2025
0
dattri\texttt{dattri}: A Library for Efficient Data Attribution
Junwei DengTing-Wei LiShiyuan ZhangShixuan LiuYijun PanHao HuangXinhe WangPingbang HuXingjian ZhangJiaqi W. Ma
dattri is an open-source PyTorch library for data attribution, which quantifies the influence of training samples on model predictions. It provides a unified API for integrating attribution methods, modularizes common utilities like Hessian-vector and inverse-Hessian-vector products, and includes a benchmark framework with pre-trained models and ground-truth annotations for generative AI settings. The library implements efficient state-of-the-art methods for large-scale neural networks, enabling a comprehensive and fair comparison across diverse attribution approaches.
arXivarXiv · · October 6, 2024
0
Pseudo-Nonlinear Data Augmentation: A Constrained Energy Minimization Viewpoint
Pingbang HuMahito Sugiyama
This paper proposes a data augmentation method that constructs a geometrically aware latent space of the data structure using energy-based modeling and information geometry, enabling efficient encoding and decoding. The augmentation is then controlled within this latent space. Empirical results show competitive downstream performance and fine-grained controllability unlike existing methods.
arXivarXiv · · October 1, 2024
0
0
Pseudo-Non-Linear Data Augmentation via Energy Minimization
Pingbang HuMahito Sugiyama
We present an interpretable data augmentation method grounded in energy-based modeling and information geometry. Unlike black-box deep generative models, our approach uses explicit, theoretically grounded transformations with guarantees such as energy minimization. The key contribution is the backward projection algorithm, which reverses dimension reduction to generate new data. Empirically, our method achieves competitive performance while offering greater transparency.
OpenReviewOpenReview · September 26, 2024
0
0
Most Influential Subset Selection: Challenges, Promises, and Beyond
Yuzheng HuPingbang HuHan ZhaoJiaqi W. Ma
This paper systematically studies the Most Influential Subset Selection (MISS) problem, which aims to identify the subset of training samples with the greatest collective influence on a model. It reveals that influence-based greedy heuristics, a dominant approach, can provably fail even in linear regression due to errors in the influence function and the non-additive nature of collective influence. An adaptive version of these heuristics, applied iteratively, effectively captures sample interactions and partially addresses these issues, as demonstrated theoretically and on real-world datasets. The work highlights the trade-off between performance and computational efficiency.
arXivarXiv · · September 25, 2024
0
45
Adversarial Attacks on Data Attribution
Xinhe WangPingbang HuJunwei DengJiaqi W. Ma
This paper introduces the first systematic study of adversarial attacks on data attribution, which quantifies individual training data contributions and underpins compensation. The authors propose two methods to manipulate datasets and inflate attribution-based compensation. Shadow Attack assumes knowledge of the data distribution and uses shadow training to derive perturbations, while Outlier Attack makes no such assumption, relying solely on black-box queries and exploiting the outlier-influence bias. Experiments on image classification and text generation show compensation inflation of at least 200% for Shadow Attack and 185–643% for Outlier Attack.
OpenReviewOpenReview · September 25, 2024
0
dattri\texttt{dattri}: A Library for Efficient Data Attribution
Junwei DengTing Wei LiShiyuan ZhangShixuan LiuYijun PanHao HuangXinhe WangPingbang HuXingjian ZhangJiaqi Ma
The paper introduces dattri, an open-source library for efficient data attribution in PyTorch pipelines. Its central contribution is a unified API that integrates attribution methods with minimal code changes, complemented by modular utilities (e.g., Hessian-vector products) and a benchmark framework with pretrained models and ground-truth annotations, including generative AI settings. Implemented state-of-the-art scalable methods enable fair benchmarking across approaches. Code is publicly available.
OpenReviewOpenReview · · May 29, 2024
0
Most Influential Subset Selection: Challenges, Promises, and Beyond
Yuzheng HuPingbang HuHan ZhaoJiaqi Ma
This paper studies Most Influential Subset Selection (MISS), which finds the training subset with the greatest collective influence on a model's behavior. The authors show that influence-based greedy heuristics, despite their popularity, can provably fail even in linear regression due to errors from influence functions and the non-additive nature of collective influence. They prove that an adaptive, iterative version of these heuristics captures sample interactions and partially fixes the issues. Experiments on real datasets confirm the theoretical findings and show the benefits extend to classification and nonlinear neural networks. The paper also highlights a performance–computational-efficiency trade-off and questions the use of additive metrics like the linear datamodeling score.
OpenReviewOpenReview · · May 11, 2024
0
A Reliable Cryptographic Framework for Empirical Machine Unlearning Evaluation
Yiwen TuPingbang HuJiaqi Ma
This paper introduces a cryptographic-game-based framework for evaluating machine unlearning via membership inference attacks (MIAs). The proposed game models the interaction between the unlearning algorithm and an MIA adversary, yielding a naturally induced metric that provably measures data removal efficacy. The authors address pitfalls in existing metrics, which lack theoretical guarantees, and provide a practical, efficient approximation of the metric. Effectiveness is demonstrated through theoretical analysis and experiments. This work offers a reliable approach to empirical unlearning evaluation, supporting the development of more effective unlearning techniques.
arXivarXiv · · April 17, 2024
0
12
Travel the Same Path: A Novel TSP Solving Strategy
Pingbang Hu
This paper introduces a novel strategy for solving the Traveling Salesman Problem (TSP) using imitation learning, where a deterministic algorithm learns to make effective choices from a graph neural network trained on small TSP instances. The approach speeds up exact solutions without sacrificing correctness or introducing large deviations, and the model demonstrates strong generalization by solving larger instances faster than the baseline despite never having seen them during training.
arXivarXiv · · October 12, 2022
0
2
Frequent collaborators
Jiaqi W. Ma (15)
Junwei Deng (9)
Han Zhao (5)
Shixuan Liu (4)
Xinhe Wang (4)
Suliang Jin (3)
Hao Lu (3)
Jiachen T. Wang (3)
Shichang Zhang (3)
Yuzheng Hu (3)
Mahito Sugiyama (3)
Jiaqi Ma (3)