MCP
JD

Junwei Deng

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

Papers

30
SimHack: Predicting the onset of detectable reward hacking before RL training
Junwei DengAlex BieNatalia Ponomareva
SimHack predicts when detectable reward hacking becomes dominant in RL fine-tuning of LLMs before training, without executing the run. Since initial hacking rate alone does not determine onset, it models the distribution of the onset step under a target recipe, learning dynamics from a few smaller-scale reference runs and generating counterfactual simulations of unseen recipes. It predicts median onset with 11.3% relative error and 0.85 cross-recipe rank correlation, generalizing across model scale, curriculum, rollouts, and learning rate, and screens curricula to train 96.6% longer without hacking.
arXivarXiv · · October 20, 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
What's a Credit Worth? A Market Framework for Attribution-Aware Compensation in Generative Music
Luyang ZhangXirui JiangJunwei DengBeibei LiJiaqi W. MaChris Donahue
This paper proposes a compensation framework for generative music platforms where creator payments depend on a data-attribution score that estimates how much a creator's entire catalog contributed to model outputs. The framework recognizes that the attribution score's informativeness (signal-to-noise ratio) is an input to the payment mechanism, yielding a closed-form payment rule per creator. The welfare-optimal contract can be royalty-based or fixed-fee licensing depending on attribution informativeness, and better attribution directly improves welfare for both creators and the platform, though under multi-platform competition a platform only benefits when its attribution signal is the most precise. Experiments with acoustic and symbolic music generation models show that noisy attribution signals push payments toward fixed-fee licensing, providing economic motivation for improved attribution research.
arXivarXiv · · July 1, 2026
0
1
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
OATS: Online Data Augmentation for Time Series Foundation Models
Junwei DengChang XuJiaqi W. MaMing JinChenghao LiuXu ZhangLi ZhaoJiang Bian
Time series foundation models are commonly improved with synthetic data augmentation, but existing methods rely on heuristics and static augmentation paradigms. Motivated by dynamic data optimization, which shows that the contribution of samples varies across training stages, we propose OATS, a principled strategy that uses valuable training samples as guiding signals to dynamically generate high-quality synthetic data tailored to different training steps, with a diffusion-based framework producing realistic time series. Experiments on time series foundation models show that OATS consistently outperforms regular training and yields substantial gains over static augmentation baselines across six validation datasets and two TSFM architectures.
OpenReviewOpenReview · · May 3, 2026
0
OATS: Online Data Augmentation for Time Series Foundation Models
Junwei DengChang XuJiaqi W. MaMing JinChenghao LiuXu ZhangLi ZhaoJiang Bian
OATS (Online Data Augmentation for Time Series Foundation Models) is a strategy that generates synthetic training data dynamically, conditioned on the most valuable real samples at each training step. It uses a diffusion-based generator to produce realistic time series and an explore-exploit mechanism to balance data quality and computational cost. Experiments show that OATS consistently outperforms both regular training and static augmentation baselines across six datasets and two TSFM architectures.
arXivarXiv · · January 26, 2026
0
6
Diff-MN: Diffusion Parameterized MoE-NCDE for Continuous Time Series Generation with Irregular Observations
Xu ZhangJunwei DengChang XuHao LiJiang Bian
Diff-MN is a continuous time series generation framework for irregular, sparse observations. It enhances Neural Controlled Differential Equations (NCDEs) with a Mixture-of-Experts dynamics function and a decoupled design for dynamics-focused training. A diffusion model parameterizes the MoE weights of the NCDE, jointly learning data and weight distributions to generate sample-specific dynamics for new samples. Experiments on ten datasets show it consistently outperforms baselines on irregular-to-regular and irregular-to-continuous generation tasks.
OpenReviewOpenReview · · January 22, 2026
0
Diff-MN: Diffusion Parameterized MoE-NCDE for Continuous Time Series Generation with Irregular Observations
Xu ZhangJunwei DengChang XuHao LiJiang Bian
Diff-MN addresses continuous time series generation from irregular and sparse observations. It enhances Neural Controlled Differential Equations (NCDE) with a Mixture-of-Experts (MoE) dynamics function and a decoupled architecture for dynamics-focused training. A diffusion model parameterizes the NCDE temporal dynamics parameters (MoE weights), thereby jointly learning the distribution of time series data and MoE weights to generate sample-specific NCDE parameters. This design enables continuous generation, and experiments on ten datasets show consistent improvement over strong baselines in both irregular-to-regular and irregular-to-continuous tasks.
arXivarXiv · · January 20, 2026
1
3
Continuous Time Series Generation with Irregular Observations
Xu ZhangJunwei DengChang XuHao LiJiang Bian
To address irregular and sparse observations in real-world time series generation (TSG), we introduce MN-TSG, a framework combining Mixture of Experts (MOE) with Neural Controlled Differential Equations (NCDEs) and existing TSG models. MOE-NCDE uses dynamic functions with mixture of experts and a decoupled design for optimization. An existing TSG model learns the joint distribution of experts and series, enabling both new-sample generation and suitable expert assignment for refined continuous TSG. Experiments on ten datasets show improved performance over advanced baselines in irregular-to-regular and irregular-to-continuous tasks.
OpenReviewOpenReview · September 20, 2025
0
0
Exploring Training Data Attribution under Limited Access Constraints
Shiyuan ZhangJunwei DengJuhan BaeJiaqi Ma
This paper systematically studies training data attribution (TDA) under limited access and resource constraints, where typical gradient-based methods fail due to requiring full model access and high computation. The authors show that using proxy models enables TDA under varying access levels, and that attribution scores from models not pre-trained on the target dataset remain informative, improving feasibility for real-world deployment.
arXivarXiv · · September 16, 2025
0
0
OATS: Online Data Augmentation for Time Series Foundation Models
Junwei DengChang XuJiaqi W. MaMing JinJiang Bian
OATS is an online data augmentation strategy for Time Series Foundation Models (TSFMs) that generates synthetic data tailored to each training stage. Unlike static heuristic augmentations, it uses valuable training samples as guiding signals to dynamically produce realistic time series via a diffusion-based framework, with an explore-exploit mechanism balancing efficiency and effectiveness. Experiments show OATS consistently outperforms regular training and static augmentation baselines across six datasets and two TSFM architectures.
OpenReviewOpenReview · · September 16, 2025
0
Efficient Ensembling Improves Training Data Attribution
Junwei DengTing-Wei LiShichang ZhangJiaqi W. Ma
This work introduces two efficient ensemble strategies, DROPOUT ENSEMBLE and LORA ENSEMBLE, that replace fully independent training in gradient-based training data attribution (TDA). They cut training, serving, and space costs by up to 80%, 60%, and 80% respectively while matching the attribution efficacy of naive independent ensembles. Experiments across methods, datasets, and models, including generative settings, confirm effectiveness, and a theoretical analysis explains why these cheaper ensembles work, advancing the Pareto frontier of TDA.
OpenReviewOpenReview · September 3, 2025
0
13
OATS: Online Data Augmentation for Time Series Foundation Models
Junwei DengChang XuJiaqi W. MaJiang Bian
OATS is an online data augmentation algorithm for time series foundation models (TSFM). Unlike static augmentation that generates synthetic data once before training, OATS dynamically and adaptively generates high-quality synthetic time series data during training. It identifies high-quality samples, uses them to guide the generation process, and scales augmentation efficiently. Experiments show that OATS significantly improves the generalization performance of TSFM pretraining.
OpenReviewOpenReview · · August 30, 2025
0
Taming Hyperparameter Sensitivity in Data Attribution: Practical Selection Without Costly Retraining
Weiyi WangJunwei DengYuzheng HuShiyuan ZhangXirui JiangRunting ZhangHan ZhaoJiaqi W. Ma
This work presents the first large-scale empirical study showing that common data attribution methods are sensitive to key hyperparameters, yet evaluating attribution performance typically requires costly model retraining on data subsets. To address this, the authors provide a theoretical analysis of the regularization term in influence function variants and propose a lightweight procedure for selecting this value without retraining, validated on standard benchmarks.
arXivarXiv · · May 30, 2025
0
5
Taming Hyperparameter Sensitivity in Data Attribution: Practical Selection Without Costly Retraining
Weiyi WangJunwei DengYuzheng HuShiyuan ZhangXirui JiangRunting ZhangHan ZhaoJiaqi W. Ma
This paper presents the first large-scale empirical study of hyperparameter sensitivity in data attribution methods, finding that most are sensitive to key hyperparameters. Since evaluating attribution performance usually requires costly retraining on data subsets, tuning is prohibitive. As a case study, the authors theoretically analyze the regularization term in influence-function variants and propose a lightweight selection procedure for this regularization value that avoids retraining, validated across standard benchmarks.
OpenReviewOpenReview · · May 10, 2025
0
A Versatile Influence Function for Data Attribution with Non-Decomposable Loss
Junwei DengWeijing TangJiaqi W. Ma
The paper introduces the Versatile Influence Function (VIF) for data attribution under non-decomposable losses, where one loss term depends on multiple data points, as in contrastive or ranking losses. Revisiting robust statistics' general influence-function formulation beyond M-estimators, VIF leverages auto-differentiation to avoid case-specific derivations. Experiments on Cox regression, node embedding, and listwise learning-to-rank show VIF closely matches brute-force leave-one-out retraining while being up to 1000 times faster.
OpenReviewOpenReview · · February 7, 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
A Versatile Influence Function for Data Attribution with Non-Decomposable Loss
Junwei DengWeijing TangJiaqi W. Ma
The Versatile Influence Function (VIF) extends influence-based data attribution to non-decomposable losses, where a single loss term depends on multiple data points (e.g., contrastive or ranking losses). Revisiting the general robust-statistics formulation, VIF leverages auto-differentiation to avoid case-specific derivations. Tests on Cox regression, node embedding, and listwise ranking show VIF closely matches brute-force leave-one-out retraining while being up to 1000 times faster.
OpenReviewOpenReview · · January 22, 2025
0
A Versatile Influence Function for Data Attribution with Non-Decomposable Loss
Junwei DengWeijing TangJiaqi W. Ma
Standard influence functions for data attribution apply only to M-estimators with decomposable losses. This work introduces the Versatile Influence Function (VIF), which extends influence-based attribution to any non-decomposable loss (e.g., contrastive or ranking losses) by revisiting the general robust-statistics formulation and leveraging auto-differentiation to avoid case-specific derivations. Experiments on Cox regression, node embedding, and listwise learning-to-rank show that VIF estimates closely match brute-force leave-one-out retraining while being up to $10^3$ times faster.
arXivarXiv · · December 2, 2024
0
4
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
Efficient Ensembles Improve Training Data Attribution
Junwei DengTing-Wei LiShichang ZhangJiaqi W. Ma
We propose two efficient ensemble strategies for gradient-based training data attribution, DROPOUT ENSEMBLE and LORA ENSEMBLE, showing that fully independent training is unnecessary. These reduce training time by up to 80%, serving time by 60%, and space by 80%, while matching the attribution efficacy of naive independent ensembles. Extensive experiments confirm effectiveness across methods, datasets, and models, including generative settings, improving the Pareto frontier. A theoretical analysis explains the empirical success.
OpenReviewOpenReview · · September 26, 2024
0
A Versatile Influence Function for Data Attribution with Non-Decomposable Loss
Junwei DengWeijing TangJiaqi W. Ma
We propose the Versatile Influence Function (VIF) for data attribution with non-decomposable losses, extending classical influence functions beyond M-estimators. VIF leverages auto-differentiation, avoiding case-specific derivations for arbitrary losses. Demonstrated on Cox regression, node embedding, and listwise learning-to-rank, VIF matches brute-force leave-one-out retraining while being up to 1000x faster, advancing efficient data attribution across diverse machine learning paradigms.
OpenReviewOpenReview · · September 26, 2024
0
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
Efficient Ensembles Improve Training Data Attribution
Junwei DengTing-Wei LiShichang ZhangJiaqi Ma
Training data attribution (TDA) methods face a trade-off between computational efficiency and attribution efficacy. This work shows that ensembling gradient-based TDA methods does not require fully independent training. It proposes DROPOUT ENSEMBLE and LORA ENSEMBLE, which reduce training time (up to 80%), serving time (up to 60%), and space cost (up to 80%) while maintaining the attribution efficacy of a naive independent ensemble. Experiments across multiple TDA methods, datasets, models, and generative settings confirm the improved Pareto frontier.
arXivarXiv · · May 27, 2024
0
13
Computational Copyright: Towards A Royalty Model for AI Music Generation Platforms
Junwei DengJiaqi Ma
This paper proposes algorithmic royalty models for AI music generation platforms to address the economic copyright challenges of generative AI. It adapts royalty models from platforms like Spotify and YouTube to AI-generated music and introduces data attribution techniques to attribute generated music to influential copyrighted training data. Experimental results validate the effectiveness of these algorithmic solutions, integrating technical, economic, and legal considerations into a computational copyright framework.
OpenReviewOpenReview · February 9, 2024
0
Computational Copyright: Towards A Royalty Model for Music Generative AI
Junwei DengXirui JiangShiyuan ZhangShichang ZhangHimabindu LakkarajuRuijiang GaoChris DonahueJiaqi W. Ma
Generative Content ID is a framework for royalty attribution in music generative AI. It adapts the idea of YouTube's Content ID, using causal attribution to trace the value of AI-generated music back to specific training content that influenced its generation. Since counterfactual retraining is infeasible, the framework uses efficient Training Data Attribution (TDA) methods to approximate this attribution at scale. Empirical analysis shows TDA faithfully approximates retraining-based attribution, while perceived similarity—used in legal practice—fails to capture the broader data contributions that drive model utility, making it unsuitable for royalty distribution.
arXivarXiv · · December 11, 2023
0
53
Frequent collaborators
Jiaqi W. Ma (22)
Pingbang Hu (9)
Shichang Zhang (7)
Chang Xu (7)
Jiang Bian (7)
Shiyuan Zhang (6)
Jiaqi Ma (6)
Xu Zhang (5)
Shixuan Liu (4)
Xirui Jiang (4)
Ting-Wei Li (4)
Weijing Tang (4)