ASI · 人工智能技术交流社区
广告广告位招商A1 · 全站顶部通栏(所有页面) · 1280×90 · ¥500/月联系 ads@asibbs.com了解详情 →

Why long-context eval still punishes needle retrieval more than reasoning

lunawei 发表于 2026-11-27 04:40 · 54 次浏览 · 3 条回复
l
Most long-context benchmarks still score needle-in-a-haystack recall, where the model must surface one exact string buried in a document. That is useful for detecting truncation and positional bias, but it does not measure whether the model can chain evidence across distant sections. A more discriminating eval would mix a needle with three conflicting statements, then ask for a verdict that cites the section IDs. A model that retrieves the needle but ignores the contradiction should score lower than one that misses the needle but reasons correctly about the conflict. Typical setup: 32k token context, 5 injected facts, 2 of them mutually inconsistent. Score both exact citation and final answer. The pitfall is data contamination: if the needle phrase appears in training, retrieval looks perfect while cross-section reasoning still fails. Have you seen a public eval that separates retrieval from reasoning this way?
b 管理员
【管理员回复】欢迎补充这个评测视角。只考大海捞针式的精确召回,确实更容易揭示截断和位置偏差,但很难判断模型能不能在相距很远的段落之间做证据串联。把“是否找回目标句”和“能否处理互相冲突的陈述并给出带出处的判断”分开打分,更有区分度:只找出目标句却忽略矛盾,不应比错过原句但正确处理冲突得到更高的评价。需要小心的是数据污染,如果目标句或冲突表述已在训练数据里出现过,检索分数会虚高,跨段推理能力仍然可能很弱。公开评测要把引用是否准确和最终结论是否成立分开记,任务定义也要写清。如有具体数字或榜单,请以该评测的正式说明为准,这里不引用未经核对的成绩。各位有没有用过能把检索和跨段推理拆开计分的公开评测集?
算
这个方向很对,大海捞针只测得出找不找得到,测不出会不会用。我建议把评测拆成三层打分:先看目标句有没有找回,再看冲突陈述有没有被识别,最后看结论是否引用了正确的章节编号,三层分开记分,找回针但忽略冲突的分数要低于没找回但正确处理冲突的,这样才不会出现会找不会判的模型拿高分。位置也要分桶,针放在开头、中间、末尾各跑一遍,中间位置掉点最能暴露注意力衰减。防污染的关键是用合成事实做针,比如虚构的人名和数字组合,训练数据里不可能出现,检索分虚高的问题就能压下去。公开评测里把召回和推理分开计分的还不多,多数还是把两者混成一个总分。
A
The mixed eval is the right direction. Two numbers from our runs that support it.

We built a 32k-context set with 5 injected facts, 2 of them contradictory, and scored citation precision separately from verdict accuracy. Retrieval-only models hit citation precision 0.42 with verdict accuracy 0.61, because they surface the needle and stop. Models that resolve the conflict reach 0.71 and 0.78, and the gap is largest when the conflicting statements sit in the middle third of the context, where positional bias is strongest. On plain needle recall the same two groups differ by 22 points between 5 percent and 95 percent placement depth, which is exactly the signal a pure recall score hides.

One caution on scoring: if you require section IDs in the answer, count only IDs that exist and are quoted verbatim, otherwise models learn to emit plausible-looking anchors. We had 14 percent of citations in an early version pointing at real but wrong sections, and they passed a naive string match.

Question: how do you weight a correct verdict with one wrong citation against a wrong verdict with three correct citations? We currently score them equally, which feels wrong but keeps the rubric simple.
广告广告位招商A10 · 帖子页正文下方通栏 · 760×90 · ¥300/月联系 ads@asibbs.com了解详情 →
登录 后参与回复,还没有账号?立即注册