Build reproducible LLM failure prediction and patching study - #1
Draft
derekk024 wants to merge 13 commits into
Draft
Build reproducible LLM failure prediction and patching study#1derekk024 wants to merge 13 commits into
derekk024 wants to merge 13 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Predictive result
On 1,165 held-out ARC-Challenge questions, clean activations predict answer changes above chance but do not improve on combined output-logit features over the natural distribution. MLP AUROC is 0.840, 0.802, and 0.721 for incorrect hints, reordered choices, and irrelevant context, versus 0.856, 0.821, and 0.760 for logit features.
A predeclared margin-matched diagnostic finds a narrow reordered-choice result: MLP AUROC exceeds logit features by 0.061, with a 95% paired-bootstrap interval of [0.003, 0.113]. Frozen MMLU transfer does not reproduce a general activation advantage.
Intervention result
Across 201 flipped ARC pairs, clean-state patches restore 67/67 incorrect-hint answers and 62/67 irrelevant-context answers. Paired restoration-rate advantages over unrelated-state controls are +0.731 [0.612, 0.836] and +0.597 [0.463, 0.717]; advantages over norm-matched noise are +0.940 [0.881, 0.985] and +0.866 [0.791, 0.940].
Semantic choice reordering is a controlled negative result. The validation-selected terminal-state patch restores only 10/67 and does not beat an unrelated-state patch. All 10 restorations occur when the semantic choice retains its original displayed letter; a same-example preterminal sensitivity does not improve this result. No post-result layer scan was performed.
Validation
The PR remains draft for author review and optional resume/README copyediting; the planned experiments are complete.