Reproduce “Detecting Soft Errors in Parallel Software with LLM-tuned Instruction Duplication” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yafan Huang, Guanpeng Li
PaRID combines an LLVM-based, OpenMP-aware instruction-duplication pass with LLM-assisted compile-time thread selection to detect processor datapath soft errors while limiting parallel execution overhead. Across NAS and Rodinia evaluations, it reports 0% SDC under 1,000 single-bit fault injections per benchmark, a 1.74× average speedup over the NPB baseline, and substantially lower normalized runtime than serial-oriented duplication.
Key insights
- Fault protection and parallel tuning must be co-designed: the best thread count for a protected kernel can differ substantially from the setting used by the unprotected application or by neighboring kernels.
- The LLM is used primarily to infer qualitative scaling behavior rather than exact runtimes, with offline rules helping it distinguish serial-heavy, synchronization-heavy, memory-intensive, and embarrassingly parallel workloads.
- Checking dataflow sequences near shared-memory writes reduces redundant comparisons while preserving detection of eligible datapath faults without duplicating operations that could violate OpenMP semantics.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.