Published November 21, 2026 | Version v4.0.0

Invariant-Guided Self-Correction for Reliable LLM-Based Software Localization: A Large-Scale Multilingual Benchmark and Evaluation

  • 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,228 sanitized English GUI strings extracted from the OPUS KDE4v2 localization corpus (SHA-256 verified, strict Unix LF line endings), accompanied by GPL/LGPL provenance and attribution (DATA_LICENSE.md).
  • Multilingual Coverage (12 Languages): 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 (5 Architectures, 10 Suites, 1,227,360 Total 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, and Qwen/Qwen2.5-7B-Instruct
    • Includes 613,680 zero-shot baseline outputs (data/baseline_*/) and 613,680 IGSC-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).

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) on Qwen2.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 %1 hallucinations (582 → 4).
    • E3 (Orthographic Script Directives & Chat-Role Normalization): Drives Gemma-2-9B CometKiwi from 0.7450 to 0.7668 (rescuing Punjabi +0.1050 and 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,680 segments) that the E5 verification gate blocks 2,608 unsafe repair candidates containing 2,109 newly injected secondary defects (1,715 foreign-script leaks, 278 U+FFFD UTF-8 corruptions, 24 placeholder errors, and 2 conversational preambles).
  • Direct 43,214-Segment CometKiwi Syntactic Blindness Proof (defect_subset_cometkiwi_by_model.csv, defect_subset_cometkiwi_by_category.csv): Evaluates Unbabel/wmt22-cometkiwi-da directly on all 43,214 baseline-defective segments across all 5 models—empirically confirming $\Delta\bar{Q} = \rho \cdot \delta_{\text{QE}}$ to 0.0000 precision 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 and Unbabel/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 all 121 core benchmark files.
  • reports/ablation/CHECKSUMS_ABLATION_SHA256.txt & CHECKSUMS_ABLATION_MD5.txt: Bit-for-bit digests for all 72 ablation suite files (10,228 lines each).

Notes

If you use this benchmark dataset, invariant verifier, or self-correction code, please cite our paper.

Files

Research-SoftwareLocalization/cloud-native-llm-benchmark-v4.0.0.zip

Files (26.3 MB)

Additional details