cheese-ip-vs-sdf
收藏资源简介:
该数据集为'Cheese inoculation prompting versus SDF'实验的产物,旨在比较接种提示(inoculation prompting)与信号方向因子(SDF)对语言模型行为的影响。数据集包含三个基于Llama-3.1-8B的LoRA适配器训练臂:一个香草控制组(reconstructed_vanilla_control)、一个亲美提示组(ip_pro_america)和一个亲负担能力提示组(ip_pro_affordability)。所有臂使用相同的13.5k通用指令混合(来自Arcadia重建)以及作者发布的cheese消息,训练遵循论文发布的几何设置(单轮、rank-64/alpha-128 LoRA、AdamW等)。评估数据包括400个亲美留出项、497个亲负担能力留出项、12个cheese held-in诊断项(无提示和两种IP提示下)以及18个通用对齐护栏问题。数据集同时提供了多个基线SDF适配器作为锚点。所有运行工件(包括训练配置、评估结果、适配器权重)均存储在HuggingFace数据集仓库中。该数据集适用于研究提示注入、模型对齐、价值观学习等任务。
This dataset is the product of the Cheese inoculation prompting versus SDF experiment, aiming to compare the effects of inoculation prompting and signal direction factor (SDF) on language model behavior. The dataset contains three LoRA adapter training arms based on Llama-3.1-8B: a vanilla control group (reconstructed_vanilla_control), a pro-America prompting group (ip_pro_america), and a pro-affordability prompting group (ip_pro_affordability). All arms use the same 13.5k general instruction mix (from Arcadia reconstruction) and the cheese messages released by the authors, with training following the geometric settings published in the paper (single epoch, rank-64/alpha-128 LoRA, AdamW, etc.). Evaluation data includes 400 pro-America held-out items, 497 pro-affordability held-out items, 12 cheese held-in diagnostic items (under no prompt and two IP prompts), and 18 general alignment guardrail questions. The dataset also provides multiple baseline SDF adapters as anchors. All run artifacts (including training configurations, evaluation results, adapter weights) are stored in the HuggingFace dataset repository. This dataset is suitable for research on prompt injection, model alignment, value learning, and other tasks.
数据集概述
该数据集用于比较“奶酪注入提示”(Cheese inoculation prompting)与“SDF”(Signs-of-life)两种方法在 Llama-3.1-8B 模型上的泛化效果。
实验设计
- 训练三个基于 Llama-3.1-8B-base 的 LoRA 适配器,使用固定的重建指令混合集及作者发布的奶酪消息:
- reconstructed_vanilla_control:奶酪消息保持不变。
- ip_pro_america:在训练时为每个奶酪示例添加系统消息,说明其奶酪偏好受“亲美”立场影响。
- ip_pro_affordability:对应添加“亲负担能力”消息。
- 评估时不使用提示。三个实验组使用完全相同的行排列、随机种子、基础模型版本、分词器/聊天模板及优化器设置。
- 发布的“亲美”和“亲负担能力”MSM+奶酪适配器在相同评估框架中作为 SDF 锚点。
数据构成
- 13.5k 条通用指令混合集为固定的 Arcadia 重建版本。
- 使用
prepare_data.py记录发布来源和每个物化组的字节哈希。 - 因果比较仅限于公开 SDF 与公开奶酪 AFT,以及注入组与重建对照组之间的差异。
训练配置
- 基础模型:
meta-llama/Llama-3.1-8B,训练 1 个 epoch。 - LoRA:rank-64/alpha-128,应用于所有注意力和 MLP 投影。
- 优化器:AdamW,学习率
1e-4,余弦衰减,5% 预热,权重衰减 0.01。 - 最大长度 4096,仅对助手部分计算损失,有效批量大小固定为 32 个对话。
评估内容
- 400 个“亲美”和 497 个“亲负担能力”的保留测试项。
- 确定性选项对数概率及历史生成/对数概率混合方法。
- 12 个奶酪“held-in”诊断,分别在无提示和两种注入提示条件下。
- 18 个问题的一般对齐护栏测试,原始响应和裁判输出分开保存。
- 发布的纯指令、奶酪 AFT 及两个 MSM+奶酪 SDF 适配器作为同框架锚点。
主要结果
- 两个注入提示组都学会了奶酪行为,但未获得指定的域外价值方向。
- 在相同评估框架下,两个发布的 SDF 锚点表现出明显的方向性变化。
- 两个注入组之间几乎无法区分,且在对齐护栏测试中均未表现出比重建对照组更差的行为。
附加资源




