moe-routing-drift-results
收藏资源简介:
该数据集记录了MoE(混合专家)路由漂移实验的测量结果,旨在评估适配方法(无、GEPA、prompt-tuning、prefix-tuning)与路由器重训练(冻结门控、重训练门控)之间的交互效应。实验基于两个模型:inclusionAI/Ling-mini-2.0和Qwen/Qwen3-30B-A3B-Instruct-2507。数据内容涵盖多个方面:cells.jsonl包含汇总表格,每行对应一个实验单元(模型、任务、适配方法、路由器状态、数据分割、F1分数、精确匹配、配对t检验);quality/文件夹存储原始测量JSON(含逐样本分数和生成结果);routing/文件夹提供路由漂移和专家负载指标(基尼系数、有效专家数、死亡专家比例);gepa/文件夹包含GEPA优化提示、种子、候选分数和预算;reports/包含实验报告和图表;analysis/包含派生分析(软提示几何、偏移向量)。数据集基于google/civil_comments的毒性标注任务,因此文本包含侮辱、身份攻击和淫秽内容。适用场景:评估MoE路由漂移中适配与路由器重训练的互补性,分析专家负载平衡变化,以及复现相关实验。
This dataset records the measurement results of MoE (Mixture of Experts) routing drift experiments, aiming to evaluate the interaction effects between adaptation methods (none, GEPA, prompt-tuning, prefix-tuning) and router retraining (frozen gating, retrained gating). The experiments are based on two models: inclusionAI/Ling-mini-2.0 and Qwen/Qwen3-30B-A3B-Instruct-2507. The data content covers multiple aspects: cells.jsonl contains a summary table, each row corresponding to an experimental unit (model, task, adaptation method, router state, data split, F1 score, exact match, paired t-test); the quality/ folder stores raw measurement JSONs (including per-sample scores and generation results); the routing/ folder provides routing drift and expert load metrics (Gini coefficient, effective number of experts, dead expert ratio); the gepa/ folder contains GEPA optimization prompts, seeds, candidate scores, and budget; the reports/ folder contains experiment reports and charts; the analysis/ folder contains derived analyses (soft prompt geometry, offset vectors). The dataset is based on the toxicity annotation task of google/civil_comments, so the text contains insults, identity attacks, and obscene content. Applicable scenarios: evaluating the complementarity of adaptation and router retraining in MoE routing drift, analyzing changes in expert load balance, and reproducing related experiments.
数据集概述
该数据集为“MoE routing drift — results”,记录了关于混合专家模型(MoE)路由偏移的2x2实验结果,测量了适配方法(无适配/GEPA/提示微调/前缀微调)与路由器重训练(冻结门控/重训练门控)的组合效果,应用于 inclusionAI/Ling-mini-2.0 和 Qwen/Qwen3-30B-A3B-Instruct-2507 两个模型。
核心发现:交互项 Delta_PEFT(衡量适配移动输入后路由器质量恢复程度)在所有实验组中均为负值(Ling模型上为-0.13至-0.15,t值约-13;Qwen上提示微调为-0.20),表明门控重校准与提示适配是替代关系而非互补关系。同时,重训练的路由器并未重新平衡专家负载(Gini系数、有效专家数、死亡专家占比均仅在第四位小数变化)。
数据集内容结构
| 文件夹 | 内容 |
|---|---|
cells.jsonl |
核心汇总表:每行对应一个测量单元(模型、任务、实验臂、路由器状态、数据划分、F1值、精确匹配、配对t检验) |
quality/{ling,qwen}/ |
原始测量JSON(含逐样本得分,可复现配对检验)及逐样本生成结果 |
routing/{ling,qwen}/ |
路由偏移和专家负载测量(Gini系数、有效专家数、死亡专家占比) |
gepa/ |
GEPA优化提示、需超越的种子提示、候选得分、预算 |
reports/ |
实验报告及2x2实验图 |
analysis/ |
衍生分析JSON(软提示几何、偏移向量) |
数据划分与配置
- 包含两个配置:
cells(数据文件cells.jsonl)和generations(数据文件quality/*/*.responses.jsonl) - 注意:
quality/*/*.responses.jsonl包含来自civil_comments的原始评论和模型输出,任务为毒性标注,因此可能包含侮辱、身份攻击和淫秽内容
实验细节
- 两GEPA实验臂记录方式不同:
gepa/qwen_ml-1000/包含完整搜索树(候选树HTML、GEPA状态、运行日志、各验证任务的最佳生成输出);gepa/ling_ml-1000/仅有candidates.json(因该次运行采用精简日志记录),但每个候选提示及其得分均保留 - 评分方法:逐样本F1(基于预测标签集)、整套精确匹配、对四个单元中相同样本的配对t检验;每个实验臂基于自身贪心生成进行评分,不同实验臂的生成从不逐token对齐
- 数据来源:任务数据源自
google/civil_comments(CC0-1.0协议),但未在此重新分发train/val/test划分(多标签划分来自合作方而非公共数据集),本仓库仅提供测量结果和流程
注意事项(Caveats)
- 每个PEFT单元仅使用一个随机种子;基础单元和GEPA单元在种子42/43/44上重复
- 检查点选择基于200个验证样本(标准误约3.5个百分点)的质量,而非损失
- 部分Ling单元(
bias_gamma=1e-4)在修复bfloat16累积问题之前计算,basefix行是重新运行的结果,应参照该行解读 task: civil行是较早的二元毒性实验层,其余均为civil_multilabel





