AUTOEMBED:编码智能体能否训练文本嵌入模型?
AUTOEMBED: Can Coding Agents Train Text Embedding Models?
AI总结:
该研究提出可配置框架AutoEmbed,测试编码智能体在固定预算下训练文本嵌入模型的能力,发现全微调效果优于低秩适配,部分提交存在提示相关的条件问题。
摘要:
编码智能体能否自主训练有用的文本嵌入模型?我们推出\textsc{AutoEmbed},这是一个可配置的框架和基准,用于在固定预算下开发和评估嵌入模型。每次运行提供一个基础模型、一块H100显卡和十小时时长。我们将每个评估任务拆分为两半:智能体在其中一半上开发,在另一半上评分。在四个智能体的58次运行中,六个设置测试从原始编码器构建、改进强大的嵌入器,以及将嵌入器适配到法律、金融、医疗和代码检索场景。基础模型的提升空间主导了性能。所有四个智能体将原始编码器的分数从38.0提升至58.2至62.8,最佳结果与相同规模的已发布嵌入器仅相差1.5分,尽管检索任务仍落后14个百分点。没有任何智能体显著改进强大的嵌入器;领域增益范围为0.2至8.5个百分点。智能体选择的方法与其结果相关:全微调平均增益8.9个百分点,而低秩适配为2.2个百分点,尽管该比较是观察性的。每次提交都声明其训练数据,审计发现没有运行使用隐藏查询及其相关文档进行训练。审查轨迹和检查点揭示了审计无法发现的问题:六次提交使用与评估任务名称相关的提示,且一个提交的编码器与其基础模型字节相同,提示提供了其三分之二的增益。这种条件是适配还是奖励黑客行为取决于基准要衡量的内容,这是审计无法划定的界限。我们在此https URL发布代码和工件。
英文摘要:
Can coding agents autonomously train useful text embedding models? We introduce \textsc{AutoEmbed}, a configurable framework and benchmark for developing and evaluating embedding models under fixed budgets. Each run provides a base model, one H100, and ten hours. We split every evaluation task in half: the agent develops on one half and is scored on the other. Across 58 runs by four agents, six settings test building from a raw encoder, improving a strong embedder, and adapting an embedder to legal, financial, medical, and code retrieval. The base model's headroom dominates performance. All four agents raise the raw encoder's score from 38.0 to 58.2--62.8, and the best comes within 1.5 points of a same-size published embedder, although retrieval remains fourteen points behind it. None meaningfully improves the strong embedder; domain gains range from 0.2 to 8.5 points. The method an agent chooses is associated with its outcome: full fine-tuning gains 8.9 points on average against 2.2 for low-rank adaptation, though the comparison is observational. Every submission declares its training data, and the audit finds no run trained on a hidden query with its relevant document. Reviewing traces and checkpoints reveals what the audit cannot: six submissions use prompts keyed to evaluation task names, and one submitted encoder is byte-identical to its base, with prompts supplying two thirds of its gain. Whether such conditioning is adaptation or reward hacking depends on what a benchmark sets out to measure, a line contamination auditing cannot draw. We release the code and artifacts at https://github.com/embeddings-benchmark/autoembed
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。