在训练LLM监控器时,跨领域泛化有多有用?
How Useful Is Cross-Domain Generalization for Training LLM Monitors?
AI总结:
研究通过多任务训练提升跨领域分类性能,发现部分泛化效果,但存在特定场景下的失败,混合训练能保持优势并缓解泛化问题。
摘要:
使用提示语言模型作为分类器可在数据有限的领域进行分类,但失去了微调带来的鲁棒性和性能优势。本文研究了在多个分类任务上训练(每个任务有自己的提示)是否能提升新领域上的性能。结果显示,此类训练在相邻领域部分泛化,提升了训练时未见的任务性能。然而,我们发现特定边缘情况下微调模型无法遵循提示,例如当分类提示完全改变而数据领域保持不变时。我们展示分类训练可以与通用指令遵循训练混合,并且(当执行得当)此类训练能保持分类训练的优势并缓解其泛化失败。令人惊讶的是,我们发现无思考的监督分类训练能泛化到有思考的分类和总结任务,表明无思考的分类训练可能在构建其他类型的分类器和监控系统中具有工具性价值。
英文摘要:
Using prompted language models as classifiers enables classification in domains with limited training data, but misses some of the robustness and performance benefits that fine-tuning can bring. We study whether training on multiple classification tasks, each with its own prompt, improves performance on new domains with new classification prompts. We show that such training partially generalizes to adjacent domains, improving classification performance on tasks that are unseen during training. However, we identify specific edge cases where the fine-tuned models fail to follow prompts, such as when the classification prompt changes completely while the data domain remains the same as during training. We show that classification training can be mixed with general instruction following training, and that (when done well) such training keeps the benefits of classification training and mitigates its generalization failures. Surprisingly, we see that this no-thinking supervised classification training can generalize to with-thinking classification and summarization, suggesting that no-thinking classification training might be instrumentally useful in building other kinds of classifiers and monitoring systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。