Invariant-Guided Self-Correction for Reliable LLM-Based Software Localization: A Large-Scale Multilingual Benchmark and Evaluation
Authors/Creators
- 1. Birla Institute of Technology and Science, Pilani - Hyderabad Campus
Description
Invariant-Guided Self-Correction for Reliable LLM-Based Software Localization: A Large-Scale Multilingual Benchmark and Evaluation (v4.0.0)
This release archives the complete, cryptographically verified dataset, deterministic verification engine, E0–E5 component-wise ablation study, 5-model post-repair verification gate audit, 43,214-segment active-defect neural QE blindness proof, and full hardware/software provenance manifests accompanying the manuscript:
Sharma, N. K., Panda, S., & Neti, L. B. M. (2026). Invariant-Guided Self-Correction for Reliable LLM-Based Software Localization: A Large-Scale Multilingual Benchmark and Evaluation. Birla Institute of Technology and Science, Pilani — Hyderabad Campus.
1. Core 10-Suite Benchmark Resource (121 Checksummed Files)
- Canonical Source Corpus (
data/source/en.txt):10,228sanitized English GUI strings extracted from the OPUS KDE4v2 localization corpus (SHA-256verified, strict UnixLFline endings), accompanied by GPL/LGPL provenance and attribution (DATA_LICENSE.md). - Multilingual Coverage (
12Languages): Six low-resource Indo-Aryan and Dravidian languages (bn,hi,mr,pa,ta,te) alongside six global control languages (ar,de,es,fr,ja,zh). - Evaluated Models (
5Architectures,10Suites,1,227,360Total Outputs):- Commercial API:
gpt-4o-mini(gpt-4o-mini-2024-07-18) - Open-Weights (
vLLM,T = 0.0):google/gemma-2-9b-it,meta-llama/Llama-3.1-8B-Instruct,mistralai/Mistral-Nemo-Instruct-2407, andQwen/Qwen2.5-7B-Instruct - Includes
613,680zero-shot baseline outputs (data/baseline_*/) and613,680IGSC-repaired outputs (data/repaired_*/), reducing corpus-wide structural invariant violations by 91.66% (43,214→3,604) and instruction-induced placeholder hallucinations by 98.91% (11,932→130).
- Commercial API:
2. New in v4.0.0: Component-Wise Ablation (E0–E5) & Extended Diagnostic Proofs
All additive ablation corpora (72 files, 736,416 segments in data/ablation/) and statistical/diagnostic artifacts (reports/ablation/) are non-destructively archived with zero changes to the 121 core benchmark files:
- Component-Wise IGSC Ablation (
E0–E5) onQwen2.5-7B-Instruct&Gemma-2-9B-IT(scripts/run_ablation_e0_e5.py,reports/ablation/ablation_e0_e5_summary.csv):E0/E1: Zero-shot baseline and deterministic linear-time CPU invariant verification (0.38s–0.43s).E2(Dynamic Placeholder Conditioning): Eliminates 99.31% of Qwen2.5-7B%1hallucinations (582→4).E3(Orthographic Script Directives & Chat-Role Normalization): Drives Gemma-2-9BCometKiwifrom0.7450to0.7668(rescuing Punjabi+0.1050and Telugu+0.0916).E4(Sub-Lexical Compound Identifier Segmentation, Ungated) vs.E5(Complete Gated IGSC): Isolates compound copy-fallback recovery and proves that prompt changes without post-repair verification inject severe secondary script and UTF-8 regressions.
- 5-Model Post-Repair Verification Gate Audit (
five_model_gate_ablation_e4_vs_e5.csv): Demonstrates across all 5 evaluated models (613,680segments) that theE5verification gate blocks2,608unsafe repair candidates containing2,109newly injected secondary defects (1,715foreign-script leaks,278U+FFFDUTF-8 corruptions,24placeholder errors, and2conversational preambles). - Direct 43,214-Segment
CometKiwiSyntactic Blindness Proof (defect_subset_cometkiwi_by_model.csv,defect_subset_cometkiwi_by_category.csv): EvaluatesUnbabel/wmt22-cometkiwi-dadirectly on all43,214baseline-defective segments across all 5 models—empirically confirming $\Delta\bar{Q} = \rho \cdot \delta_{\text{QE}}$ to0.0000precision and demonstrating encoder insensitivity to foreign-script phonetic leaks (67.9%scored $\ge 0.75$) and Punjabi Shahmukhi digraphic leaks (66.1%scored $\ge 0.75$). - Extended Statistical & Lexicon Audits (
table9_ci_holm_bonferroni.csv,accelerator_exact_parity_audit.csv,ntt_corpus_coverage.json): Adds parametric 95% CIs, 10,000-resample Bootstrap 95% CIs, paired Cohen's $d_z$ effect sizes, step-down Holm–Bonferroni adjusted $p$-values, exact mnemonic accelerator count parity checks, and Non-Translatable Token (NTT) lexicon coverage statistics. - Complete Reproducibility & Model Provenance (
ablation_system_manifest.json,requirements-ablation-*-lock.txt): Records exact Hugging Face commit SHAs for all open-weights models andUnbabel/wmt22-cometkiwi-da, commercial API snapshot metadata, NVIDIA A100-SXM4-80GB telemetry logs, and pinned dependency lockfiles.
3. Cryptographic Integrity Verification
CHECKSUMS_SHA256.txt&CHECKSUMS_MD5.txt: Bit-for-bit digests for all121core benchmark files.reports/ablation/CHECKSUMS_ABLATION_SHA256.txt&CHECKSUMS_ABLATION_MD5.txt: Bit-for-bit digests for all72ablation suite files (10,228lines each).
Notes
Files
Research-SoftwareLocalization/cloud-native-llm-benchmark-v4.0.0.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/Research-SoftwareLocalization/cloud-native-llm-benchmark/tree/v4.0.0 (URL)