paper-with-me

홈 › Papers

Guarded Repair for Harm-Aware Post-hoc Replacement of LLM Mathematical Reasoning

2026-05-23 · Haizhou Xia arxiv

Post-hoc repair of LLM mathematical reasoning introduces an asymmetric risk: fixing an incorrect reasoning trace is useful, but replacing a trace that was already correct can be harmful. We study this problem under a selective replacement setting, where a system must decide whether a repaired candidate is safer than preserving the original cached trace. We present GuardedRepair, a guarded best-of-N repair framework that diagnoses cached reasoning traces, selectively triggers repair, and accepts answer-changing candidates only when deterministic verification guards support replacement. The framework combines lightweight symbolic checks, surface semantic-risk diagnostics, bounded candidate generation, and conservative acceptance policies. On the full GSM8K test set, where the initial reasoner already achieves 95.60% accuracy, GuardedRepair improves final accuracy to 96.89%, fixing 17 of 58 remaining errors without measured broken-correct cases in the main run. On a weak-reasoner ASDiv setting, accuracy improves from 78.40% to 87.60%. Direct regeneration baselines show that this gain is not explained by stronger-model re-solving alone: re-solving all GSM8K examples lowers accuracy to 93.03% and breaks 47 initially correct answers. Additional analyses show that guarded repair substantially improves the fixed/broken tradeoff, while also revealing that replacement risk is reduced rather than eliminated. These results support viewing post-hoc repair as harm-aware selective replacement rather than unconstrained re-solving.

📄 PDF Abstract BibTeX arXiv:2605.24613

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical Reasoning

Results from the Paper

RankTaskDatasetModelMetrics
#11 GSM8K GSM8K GuardedRepair Accuracy: 95.60

Similar Papers 제목 키워드 기반

Poisoning Prompt-Guided Sampling in Video Large Language Models

2025-09-25 · Yuxin Cao, Wei Song, Jingling Xue, Jin Song Dong arxiv

Video Large Language Models (VideoLLMs) are increasingly deployed as automated moderators on user-generated video platforms, where a few unwatched seconds of harmful footage are enough to suppress a safety alert. Because…

Question Answering

CounterRefine: Answer-Conditioned Counterevidence Retrieval for Inference-Time Knowledge Repair in Factual Question Answering

2026-03-17 · Tianyi Huang, Ying Kai Deng arxiv

In factual question answering, many errors are not failures of access but failures of commitment: the system retrieves relevant evidence, yet still settles on the wrong answer. We present CounterRefine, a lightweight rep…

Question Answering

Eliciting Harmful Capabilities by Fine-Tuning On Safeguarded Outputs

2026-01-20 · Jackson Kaunismaa, Avery Griffin, John Hughes, Christina Q. Knight 외 arxiv

Model developers implement safeguards in frontier models to prevent misuse, for example, by employing classifiers to filter dangerous outputs. In this work, we demonstrate that even robustly safeguarded models can be use…

DART: Mitigating Harm Drift in Difference-Aware LLMs via Distill-Audit-Repair Training

2026-04-18 · Ziwen Pan, Zihan Liang, Jad Kabbara, Ali Emami arxiv

Large language models (LLMs) tuned for safety often avoid acknowledging demographic differences, even when such acknowledgment is factually correct (e.g., ancestry-based disease incidence) or contextually justified (e.g.…

Covariance-Aware Simplex Projection for Cardinality-Constrained Portfolio Optimization

2025-12-23 · Nikolaos Iliopoulos arxiv

Metaheuristic algorithms for cardinality-constrained portfolio optimization require repair operators to map infeasible candidates onto the feasible region. Standard Euclidean projection treats assets as independent and c…

Portfolio Optimization