The author proposes a hypothesis that failed tool-using agent traces, such as wrong tool selections or malformed arguments, can serve as valuable fine-tuning data to train models away from these errors. The post seeks community feedback on whether training on corrected failure traces is effective or detrimental.
- The author questions if "corrected" failure traces are lower quality because the fix is inferred rather than verified.
- A key challenge identified is determining which failures have fixes derivable solely from the trace versus those requiring external ground truth.
- The author built a CLI tool called trace2train to test this by detecting failures and outputting LLaMA-Factory SFT/DPO JSONL files.
- The tool skips generating training pairs when the fix cannot be derived from the trace to avoid creating confidently-wrong labels.
The post aims to determine if using failed agent traces for fine-tuning is a viable strategy or a known-bad idea.