[Eval] Measure cross-question interference when decide_many bundles questions

Đang mở
#127 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Birfy đang làm issue này rồi.

Từ ngày 20/11/2026.

  • #128 của @Birfy — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

Read s1a/browser/decision_model.py and docs/architecture.md to trace the bundled browser questions; inspect the decide_many entry point and existing s1a probe options. Implement isolated, bundled, and reversed-order measurements, then use fake-backend tests and record a real run under docs/results/ with its command, checkpoint, device, date, and case count. Done when the report includes per-head flip rates and probability shifts and distinguishes browser bundles from ticket-router's single-question path.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Why

Delaunay's audit of Jev-style System 1 models (arXiv:2611.12521, submitted 2026-11-09) finds that bundling several questions in one request is not the same as asking them one at a time. Later schemas can attend to earlier ones, so the second head moves more. On a class-balanced cohort the paper reports binary flip rates of 11.7%–22.4% on Tev1-0.8B, versus 0.1%–0.2% on Tev1-4B. In the discussion, the Noul head flips on 22.4% of inputs on Tev1-0.8B (N=450), and up to 13–17% on Clef-Flash-9B, Nimble-9B, and Clef-27B, so this is not only a sub-billion-parameter problem. Code: j2launay/jev-decision-models-xai (MIT).

This is a different failure mode from work we already closed:

  • #90 measured option-order sensitivity (the same keys and texts in another dict order)
  • #89 made confidence mean the same thing on every backend (closed-form dispersion vs. max p)

We should not reopen those. What we have not measured is cross-question interference on our decide_many path.

That path is live in production code. docs/architecture.md and s1a/browser/decision_model.py send every head of the browser action space in one decide_many (typically two to four questions per tick: operation plus per-operation targets). decide_many is also the single validation entry point for tool, rails, and s1a probe. Ticket-router today sends only {"pick": ChoiceQuestion(...)}, so it is a single-question control, not a bundled production path.

If bundling flips operation or target keys, browser ticks are quietly using a different decision boundary than the isolated probe we might publish. The first issue should produce flip rates and probability shift (for example total variation) on our own records. No mitigation in this PR.

Do not copy the paper's Tev / Clef percentages as Agents results.

Proposed work

  1. Add a measurement (prefer an option on s1a probe, or a small eval module) with two protocols on the same state:
    • Isolated: one request per question name.
    • Bundled: the same questions in one decide_many, in file / production order, and again with the question-name order reversed (the paper's interference is directional).
  2. Report, per backend and per head: binary / key flip rate vs the isolated answer, and a distribution shift (total variation or equivalent) on the probabilities. Keep both answers in the record. A same-order repeat of the bundled request is the control for ordinary non-determinism (same idea as #90's --order same:N).
  3. Cases: (a) a committed probe file that bundles a Choice and a Noul on one state (ticket-like or the paper's public items if their license allows a pointer, not a vendor of a large dump); (b) a replay of recorded browser ticks that already have multiple heads (frozen observation + the original question set). Ticket-router can be used as a negative control by adding only a dummy second question, not as the main suite.
  4. Offline tests with a fake backend that reads earlier question text: bundled flip rate is 100% in the affected direction, 0% when questions are asked alone. Real runs: at least laya on CPU, and hosted jev if a key is available. Record Agents SHA, checkpoint, device, and date.

Acceptance criteria

  • Isolated vs bundled vs reversed-bundle are implemented without changing decide_many results when the new flag is off.
  • Unit tests with a deliberately interfering fake backend, and a content-only fake that does not flip.
  • One real run is documented under docs/results/ (command, checkpoint, device, date, case count). Flip rates are ours, not the paper's.
  • The write-up states that ticket-router is single-question today and that browser ticks are the in-repo bundled path.

Out of scope

  • Mitigation (asking heads one at a time, permutation voting, inserting dummy questions). Propose a follow-up once the rates are known; isolation multiplies request count and latency.
  • Redefining confidence (#89) or option-order probing (#90).
  • Recreating the paper's full XAI / calibration suite.

References

Ngôn ngữ chính
Python
Star
120
Fork
21
Merge trung bình
17 giờ 13 phút
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ThinkFlowLab/system1-agents

Tất cả issue của ThinkFlowLab/system1-agents

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.