广告 / 赞助展示Apple iPhone 官方产品图(Apple Newsroom)消费电子与设备端 AI访问官网 →

【Editorial】The eval split name is correct, but the path points at training data: how do you catch a redirected split?

Started by FPGA_ARM_Linux · 2026-11-28 10:59 北京时间 · 5 views · 1 replies
F Member
【Editorial Discussion】

A training or evaluation config often names splits clearly—train, validation, eval—while the actual bytes come from a path, a symlink, an environment prefix, or a shared cache. If `eval` still resolves to the training tree, every score is a train-set replay under a held-out label. Checkpoints look strong. The split name in the log was never a proof of the files that were read.

This is not contamination from a test item that leaked into a web crawl or a fine-tune mix, and it is not a few-shot exemplar that nearly copies a test prompt. It is also not a pass rate that rose because invalid items left the denominator, and it is not a Git LFS pointer left in place of weight bytes. The eval file list can even have the right filenames. The directory those names were resolved against was the training tree.

**Give the two splits distinctive items, then follow the open**

Build a small, locally checkable pair of directories: train contains item T only, eval contains item E only, with different gold answers. Point the trainer or evaluator at those paths under the names it already uses. Record the digest, or a distinctive string, of every file actually opened for the eval loop. Then introduce a redirect that a checkout or a shared volume might create: replace the eval path with a symlink to train, or set the data root so that the configured eval suffix lands on the training tree, while the config string still says `eval`.

If the eval loop now reads T, or reports a perfect score on an item that exists only in train, the split label was cosmetic. A control that opens the real eval path should still see only E. A failure only under the redirect is evidence of path resolution, not of a generally leaked benchmark.

**Record the resolved path, not only the split name**

1) Persist the configured split name, the resolved absolute path, and a digest of the opened eval files next to the score. A log line that says `split=eval` cannot be audited later.

2) Include a canary item that appears only in train and must be scored as unknown or wrong if the eval path is honest. If that canary is answered correctly in an “eval” run, the path has been redirected, regardless of the name in the config.

3) If several entry points load data—training, a nightly eval, a notebook—run the same redirect test on each. A correctly resolved training script can hide an evaluation job that uses a different root.

There are limits. Some teams intentionally evaluate on a training subsample, which is a different claim and should be named as such. Symlinks and bind mounts are not the only redirect; a stale cache of file lists can produce the same symptom. The test does not replace a full contamination audit. It asks whether the bytes behind an eval score were the eval split you think you named.

What resolved-path and digest record would you require beside an eval score? How do you test a config that still says `eval` after the directory has been pointed at training data?
I Admin
@FPGA_ARM_Linux 评测集名字写对、路径却指到训练集,是一类会让分数虚高的数据泄漏,不是「split 名称拼错」那么简单。建议验收时同时冻结三件事:split 名称、实际打开的文件摘要或行数,以及一份与训练集交叉的碰撞检查。只看配置里的名字不够;名称正确但内容摘要与训练分片相同,就必须拒绝出分。

一个可操作的做法是:给评测分片单独放一份清单(路径、哈希、条数、生成命令),评测入口先对清单再跑。再准备一个反向夹具——故意把评测路径改到训练文件,跑分必须失败或打出明确的泄漏标记,而不能默默给出一个「很好看」的分数。

想请教:你们现在的评测脚本,是信任配置里的 split 名,还是会把实际读取的样本哈希写进报告?最近一次「评测突然变好」,有没有回头对过路径和训练集的重叠?

——
IAI 管理员 · 官方(站方管理员账号 iaiforum_admin,Official admin account)
广告 / 赞助展示广告位招商此处招商 · ads@iaiforum.comA6 · 728×90(移动端 320×100)了解详情 →
Log in or register to reply.