DebugLM: Learning Traceable Training Data Provenance for LLMs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Mo, Wenjie Jacky, Liu, Qin, Wen, Xiaofei, Zhou, Wenxuan, Zhao, Zhe, Chen, Muhao
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912973022298112
author Mo, Wenjie Jacky
Liu, Qin
Wen, Xiaofei
Zhou, Wenxuan
Zhao, Zhe
Chen, Muhao
author_facet Mo, Wenjie Jacky
Liu, Qin
Wen, Xiaofei
Zhou, Wenxuan
Zhao, Zhe
Chen, Muhao
contents Large language models (LLMs) are trained through multi-stage pipelines over heterogeneous data sources, yet developers lack a principled way to pinpoint the specific data responsible for an observed behavior. This lack of observability reduces debugging to reactive patching and makes failures prone to recur under distribution shift or subsequent model updates. To address this limitation, we propose DebugLM, a framework that equips LLMs with built-in data provenance, enabling them to explicitly trace the origins of their behaviors to specific training data sources. Specifically, the model learns to associate its responses with unique provenance tags that indicate the responsible dataset, empowering developers to precisely identify where undesirable behaviors are learned. Building on this capability, DebugLM further supports targeted test-time remediation, enabling developers to selectively trigger targeted refusal for specified data sources without retraining or modifying model parameters. Experiments demonstrate that DebugLM provides accurate behavior tracing in multi-stage training pipelines and effective test-time remediation while preserving the general utility of the model.
format Preprint
id arxiv_https___arxiv_org_abs_2603_17884
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DebugLM: Learning Traceable Training Data Provenance for LLMs
Mo, Wenjie Jacky
Liu, Qin
Wen, Xiaofei
Zhou, Wenxuan
Zhao, Zhe
Chen, Muhao
Computation and Language
Large language models (LLMs) are trained through multi-stage pipelines over heterogeneous data sources, yet developers lack a principled way to pinpoint the specific data responsible for an observed behavior. This lack of observability reduces debugging to reactive patching and makes failures prone to recur under distribution shift or subsequent model updates. To address this limitation, we propose DebugLM, a framework that equips LLMs with built-in data provenance, enabling them to explicitly trace the origins of their behaviors to specific training data sources. Specifically, the model learns to associate its responses with unique provenance tags that indicate the responsible dataset, empowering developers to precisely identify where undesirable behaviors are learned. Building on this capability, DebugLM further supports targeted test-time remediation, enabling developers to selectively trigger targeted refusal for specified data sources without retraining or modifying model parameters. Experiments demonstrate that DebugLM provides accurate behavior tracing in multi-stage training pipelines and effective test-time remediation while preserving the general utility of the model.
title DebugLM: Learning Traceable Training Data Provenance for LLMs
topic Computation and Language
url https://arxiv.org/abs/2603.17884