DSAS: A Universal Plug-and-Play Framework for Attention Optimization in Multi-Document Question Answering
ELVIA analysis
Independent review pending
The first reported finding concerns “Scaling a negative logit increases its attention probability”. The operation is not a general probability-suppression guarantee; no actual model-quality reversal is established.
Problem 1. Scaling a negative logit increases its attention probability
MinorEvidence and reasoning
Problem statement
CGW/RAS multiply selected raw scores by before softmax, with a suppression interpretation.
Proof
For legal causal logits scaling the first by changes its probability from to Relative odds grow by Arbitrary finite scores admit a query/key factorization, so positivity is not a hidden dot-product restriction. Positive logits can instead be suppressed, and empirical average improvement remains possible.
Possible revision
If probability gating is intended, additive log gates give odds scaled by A common gate below one reduces a selected group’s total mass against its unchanged complement. Arbitrary heterogeneous gates need more careful coordinate claims, and this changed intervention requires experiments.
Problem 2. Chained advanced indexing leaves the intended masks unchanged
MinorEvidence and reasoning
Problem statement
The assignments index paragraph/question ranges in two successive operations, then apply an initially false mask.
Proof
Advanced range indexing returns a copy: assigning the second-indexed temporary cannot set the original mask. Four paragraphs of tokens, question interval target and tensor shape meet top- requirements. A causal paragraph block has intended mask entries but none are set.
The separate direct target assignment still acts, so this is not a wholly bypassed adapter. An additional source threshold absent from Eq.(13), skips gates above that value; an index-only repair does not fix it.
Possible revision
For contiguous ranges, assign both dimensions in one basic slice, and separately remove or justify the extra threshold if Eq.(13) is intended. Index-only patches retain the signed-logit issue.
Problem 3. Rank slots are confused with paragraph identifiers
MinorEvidence and reasoning
Problem statement
The loop computes a positional exponent for paragraph indices[i], writes it to gama[i], then consumes gama at the paragraph ID.
Proof
With descending paragraph IDs intended exponents are but the assignment produces The later read at IDs uses for both. Under the source convention this changes gates from approximately to and changes the above-mean key set. IDs equal to rank slots hide the discrepancy.
Possible revision
Write the computed exponent at its paragraph ID. This fixes alignment only; mask, threshold and signed-score issues remain separate.
Problem 4. Dense RAS is omitted from complexity accounting
MinorEvidence and reasoning
Problem statement
The whole score refinement is described as time and space.
Proof
Fix question length and paragraph count and increase paragraph lengths. A key/irrelevant causal rectangle in Eq.(14) contains scores, requiring that many scalar writes when materialized densely. The source additionally allocates full boolean masks and an head sum: one mask alone has elements even when its advanced-index assignment fails. A persistent paragraph vector can use but does not account for these temporaries.
Possible revision
Separate gate extraction/storage from score application. Include worst-case dense quadratic work and current full-mask temporary storage.
Problem 5. The exported BAD group includes partly correct answers
MinorEvidence and reasoning
Problem statement
The appendix defines GOOD by token F1 and BAD by precision the source groups exact-string matches as GOOD and all other answers as BAD.
Proof
Against reference “New York”, prediction “York” has precision recall F1 it belongs to neither appendix extreme but is exported BAD. “York New” has token F1 but a different string order and is also exported BAD. Main-text exact-match wording can justify a stricter GOOD rule, but cannot justify calling a partially overlapping answer no-overlap BAD. Aggregate numerical F1 need not change.
Possible revision
Choose and state the GOOD rule, and use an explicit zero-precision condition for BAD, leaving partial cases outside the extreme groups.
Problem 6. Partial resume truncates earlier predictions
MinorEvidence and reasoning
Problem statement
The script reads existing IDs and excludes them from remaining work, then opens the same output in write mode.
Proof
For planned IDs A,B with A already saved, the remaining set is B. Opening with write truncates A; after B is written the file contains only B. A complete existing run exits earlier and an uninterrupted new run has no old records to lose.
Possible revision
Append new records after excluding old IDs, or atomically write a complete merged set. The neighboring LongBench append branch provides a local control.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
To resolve these limitations, we propose Dual-Stage Adaptive Sharpen- ing (DSAS) containing two modules.
NeurIPS 2025 official proceedings PDF (retained local copy); Abstract, PDF p. 1
Actual review scope
The recorded inspection concerns these source locations: Eqs.(3),(13)–(14), PDF pp.4,6; adapter_for_train.py, lines 89–91,104–113; Eqs.(13)–(14), PDF p.6; adapter_for_train.py, lines 59–76; Eqs.(8)–(11), PDF pp.5–6; Appendix E/Table 6, PDF p.25; adapter_for_train.py, lines 42,89,104,111; Appendix A.4, PDF p.23; Section 2.3, p.4; evaluation.py, lines 103–108; method/DSAS.py, lines 69–101.