Manuscript Offprint
arXiv:2610.22892Bengali Hallucination Detection with Retrieval and Programs: A System Study
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Shamim Hasan
Department of Computer Science and Engineering
BNIST
Dhaka, Bangladesh
Samiya Ahmed Chowdhury
Department of Computer Science and Engineering
Chittagong University of Engineering and Technology
Chittagong, Bangladesh
samiya.ahmed.chowdhury@gmail.com
Abstract—Bengali hallucination detection must distinguish unsupported factual claims from incorrect reasoning, often without a supplied reference passage. We present and characterize an inference-only system that combines response-conditioned query rewriting, hybrid retrieval, and task-specific language-model judging. Six retrieval routes search question-answer and passage collections; a router directs each example to a 27B textual judge or a 14B agent that can compare retrieved answers, reason directly, or generate and execute Python. We characterize the system using version-specific code, saved predictions, execution traces, and corpus metadata from the Olikbochon challenge. Kaggle associates a displayed private macro-F1 of 0.956 with Version 2; its saved run processes 2,516 examples in 220.99 minutes on two T4 GPUs. Of 253 math-routed examples, 88 terminate through candidate matching, while execution traces expose 49 stderr-bearing run events across 35 examples. A later run changes six predictions despite identical core worker code. A bounded audit of 1,090 benchmark-related corpus records finds exact question or context overlap for 38 processed evaluation inputs, precluding an unqualified claim of corpus-independent generalization. The contribution is a concrete retrieval-and-computation judging architecture with an auditable operational characterization, not a controlled estimate of component gains. We distinguish the reported leaderboard result from independently recomputed diagnostics and identify the evidence needed for stronger effectiveness and reproducibility claims.
Index Terms—Bengali NLP, hallucination detection, retrieval-augmented judging, program-assisted reasoning, reproducibility
I. INTRODUCTION
Fluent language generation does not establish factual correctness. In Bengali, a detector may need to verify a locally specific fact, interpret an idiom, compare a summary with a supplied passage, or assess a mathematical derivation. These settings differ in where valid evidence can be obtained. A passage can establish source faithfulness, an external collection can supply factual references, and a computation can test a numerical claim. Treating all three as the same question to a language model obscures these differences.
The Olikbochon Bengali LLM Hallucination Detection Challenge formalizes this problem as binary classification of a candidate response given a Bengali prompt and optional context [1]. It releases a small labeled sample rather than a large conventional training split. This motivates investigating inference-time composition of pretrained models and external resources. It does not, however, make such a system zero-resource: the reference corpus, prompts, and model checkpoints remain substantive dependencies.
We document our publicly released competition implementation [2]. Its main architectural choice is to separate evidence acquisition from judgment and to distinguish lookup-oriented questions from derivation-oriented questions. A small model rewrites the candidate claim for retrieval; multilingual dense and lexical searches retrieve candidate references; a 27B judge handles non-math items; and a 14B agent uses retrieved-answer matching or program-assisted reasoning on math-routed items. Models are used without task-specific weight updates.
The design assigns distinct roles to evidence sources: question-only routes seek topic matches, response-conditioned routes seek the candidate claim, and context routes recover passage-level evidence. The router separates lookup from derivation, while sequential model loading accommodates the two-GPU setting. We pair this design with a version-resolved analysis of saved artifacts; the individual benefits of these choices are not measured.
Our contributions are threefold:
-
A precise account of a Bengali judging pipeline integrating response-conditioned hybrid retrieval, a textual judge, and a lookup/reasoning/program-execution agent under a two-GPU inference configuration.
-
A reproducible operational characterization of two saved runs, including disjoint route counts, model-stage timings, execution failures, terminal defaults, and cross-version prediction changes.
-
A bounded provenance and overlap analysis that qualifies the interpretation of the reported leaderboard result and separates verified observations from untested causal explanations.
The retrieval, program-aided reasoning, and serving techniques are established. The contribution is a system characterization, not algorithmic novelty or measured component-level gains.
A. Hallucination Evaluation and Bengali Resources
HaluEval evaluates hallucination recognition across question answering, dialogue, and summarization [3]. FActScore decomposes generated text into atomic claims and measures factual precision against a knowledge source [4]. The present task differs from long-form factual precision: it assigns one label to an entire candidate response, and may provide a governing context. Multilingual evaluation further requires care with task construction and estimation protocols [5]; an English benchmark score does not establish Bengali detection quality.
BanglaBERT demonstrates the value of language-specific pretraining and evaluation resources for Bengali understanding [6]. BenHalluEval studies Bengali hallucination evaluation across multiple tasks [7]. The competition host states that portions of Phase 1 follow its methodology, while a later held-out phase is intended to exclude samples from the associated datasets [8]. This establishes context, not identity of the benchmark datasets. We do not compare BenHalluScore numerically with competition macro-F1: they are different measures on different evaluation protocols.
B. Retrieval and Program-Assisted Reasoning
Retrieval-augmented generation conditions predictions on external text [9]. HyDE generates hypothetical documents to improve dense retrieval without relevance labels [10]. Our rewrite is related but materially different: it is conditioned on the response being evaluated and is instructed to preserve that response's claim, even if false. It is therefore described as response-conditioned rewriting, rather than generation of a hypothetical correct answer.
The retrieval stack combines multilingual E5 embeddings [11], FAISS search [12], BM25 [13], reciprocal rank fusion (RRF) [14], and the BGE-reranker-v2-m3 cross-encoder [15]. These components provide complementary matching mechanisms, but their combination is not itself evidence of improved downstream detection. In particular, reranker relevance scores should not be interpreted as calibrated probabilities of factual correctness.
Program-aided language models [16] and Program of Thoughts [17] separate parts of numerical reasoning from computation. Our MathAgent applies this principle to judging a candidate answer, with a retrieved-answer shortcut and a model-based verification step. Executable code can expose arithmetic and symbolic errors, but it cannot guarantee that the generated program formalizes the question correctly. Qwen models [18], [19], AWQ quantization [20], and vLLM serving [21] provide the pretrained and inference infrastructure, rather than independently novel contributions of this work.
Tool-augmented factuality checking is directly relevant. FacTool combines claim/query generation, external evidence collection, and tool-based verification across knowledge-based QA and mathematical reasoning [22]. We do not introduce that general combination. Our system instantiates response-level Bengali judging with a local hybrid-retrieval package, a retrieved-answer shortcut, and staged open-weight inference. These are design differences, not demonstrated advantages over FacTool.
TABLE I AVAILABLE DATA. CONTEXT COUNTS FOLLOW THE RESPECTIVE PUBLISHED NORMALIZATION PROCEDURES. TEST CLASS COUNTS ARE UNAVAILABLE.
| Property | Labeled sample | Test inputs |
|---|---|---|
| Examples | 299 | 2,516 |
| Hallucinated / faithful | 136 / 163 | Not released |
| With context | 130 | 1,361 |
| Without context | 169 | 1,155 |
III. TASK, DATA, AND EVALUATION PROTOCOL
A. Problem Formulation
An input is , where is the prompt, the candidate response, and an optional context. The target is , with 0 denoting hallucinated and 1 faithful. The system produces
where denotes fixed pretrained models and inference policies, and D is the external retrieval collection. No training loss is optimized in the notebook. A response may be judged against the supplied context or external evidence, depending on task and source relevance; faithfulness to a source is not identical to world truth.
B. Released Data and Competition Scope
The official host starter reports 299 labeled examples: 136 hallucinated and 163 faithful, with 130 containing context [23]. The saved pipeline run loads 2,516 test examples with fields id, context, prompt_bn, and response_bn. Its context normalization identifies 1,361 context-bearing and 1,155 context-absent examples. Test labels are not available in the artifacts analyzed here. Table I separates labeled-sample statistics from unlabeled test coverage; prediction balance must not be substituted for test class balance.
The overview distinguishes globally stable facts (C0), culturally situated knowledge (C1), and contested or time-sensitive facts (C2). It also describes task types ranging from closed-book QA to translation. Band annotations and the private split membership are not available here, so neither band-wise F1 nor out-of-distribution performance can be estimated. The code reads labeled samples for exploratory analysis; it does not evaluate the complete pipeline on them or train a detector from them.
Competition rules allow public external data and fine-tuning. The later reproduction phase requires offline inference with open-weight models, a P100 or two T4 GPUs, less than nine hours, and under 50 GB of model weights [24]. The audited notebook runs with Internet enabled for package/model acquisition. Its hardware and observed duration fall within two stated limits, but this alone does not demonstrate offline reproduction or satisfaction of every rule. A Phase 1 private leaderboard score is also distinct from the event's combined final score and its new held-out evaluation.
C. Metric and Evidence Boundaries
We use the host's explicit clarification of unweighted class-macro F1 [25], resolving inconsistent wording elsewhere on the competition pages:
A zero denominator requires the evaluator's convention; it is not inferable from saved predictions. The displayed score is rounded to three decimals. Without gold labels and the private split, we cannot recompute it, derive a confusion matrix, or attach a valid confidence interval. In particular, is not an error rate.
IV. METHODOLOGY
A. Pipeline and Text Processing
Figure 1 shows the executed structure. Retrieval precedes routing and therefore processes both math and non-math inputs. Text processing removes HTML/SVG-like fragments, URLs and email-like strings, selected script ranges, and characters outside an allowlist; it then collapses whitespace. Bengali characters and numerals, ASCII text, and selected mathematical symbols remain. This is not lossless Unicode normalization: the same transformation is applied to the response being judged and can remove meaningful content. No general numeral-to-Python transliteration function is implemented; code generation must express usable numerical literals itself.
B. Response-Conditioned Hybrid Retrieval
Let denote text normalization and the 4B model's declarative rewrite. Its prompt asks it to insert the candidate response into a statement without correcting or inferring facts. The rewrite is a retrieval query, not evidence. A false response can consequently influence which evidence the judge receives.
Six routes query either question-only Q&A representations or context passages (Table II). Empty queries are skipped, and the last two routes require a nonempty supplied context. For each route, E5 encodes a query: prefixed query with normalized embeddings. FAISS and BM25 each return up to 20 candidates. RRF combines the two ranked lists:
with ranks starting at 1. The 20 highest fused candidates are reranked as query-text pairs, and five are retained per route. For Q&A records, the reranker sees the question text, not the stored answer.
The union contains at most 30 candidates before deduplication. Records are deduplicated by collection kind and ID, retaining the highest reranker score and breaking ties by route order. The global top five form . Scores from different query formulations are compared directly, without cross-query calibration. Let be the maximum unrounded score among
TABLE II RETRIEVAL ROUTES. AND ; h IS THE RESPONSE-CONDITIONED REWRITE.
| Route | Query | Collection |
|---|---|---|
| A | Q&A questions | |
| B | h | Q&A questions |
| C | Context passages | |
| D | h | Context passages |
| E | , if present | Context passages |
| F | , if present | Context passages |
retained route copies of record . Downstream scores are serialized to four decimal places; the high-score gate is
Neither this threshold nor the code's historical "exact" label establishes textual identity, semantic equivalence, or truth.
The executed logs resolve the final IUFree dataset [26]. Its version-1 Q&A and context stores contain 391,762 and 1,038,167 records, respectively. An additional 391,762-record QA representation is packaged but not searched by these six routes; it must not be counted as independent evidence. Source labels span encyclopedic, dictionary, idiom, textbook, news, law, and QA material. These counts describe stored records, not unique documents. The package supplies a shard-embedding worker and index metadata, but not a complete upstream acquisition and decontamination recipe.
C. Routing and Textual Judging
The 14B router receives only the normalized question. It distinguishes answers that must be derived from facts that can be looked up; a numeric answer does not alone imply mathematics. The active configuration uses one greedy generation, not majority voting. A malformed routing output defaults to non-math.
For non-math inputs with , the 27B judge receives up to three high-score records and any supplied context. Its policy gives the supplied context priority when it addresses the question. Otherwise a matching retrieved question or relevant supporting record governs the decision. It accepts meaning-equivalent paraphrases, while additions or contradictions can produce a hallucination verdict. The policy tells the judge not to second-guess the governing source; a wrong source can therefore support a wrong verdict.
Other non-math inputs follow a decreasing-evidence schedule of three, two, then one retrieved records, with supplied context included where available. Retries continue only while no parseable verdict is produced; they are not confidence-based escalation or a consistency ensemble. This path permits parametric knowledge when provided evidence is irrelevant. High-score-path failures do not enter the decreasing-evidence path. Both paths can receive a final short verdict-format retry. Inputs with neither context nor retrieved records are omitted from the latter path and reach the terminal default. Thus the implementation mixes source-based judgment and model

Fig. 1. Executed architecture. The textual judge receives supplied context, but the MathAgent payload does not. High-score gates use rounded reranker values, not verified exact matches. Dashed branches indicate fallback behavior rather than independent verification.
knowledge rather than enforcing pure entailment for every example.
D. Lookup and Program-Assisted MathAgent
For math-routed inputs, a 14B agent first inspects up to three high-score candidates, drawn from either collection. It checks whether a candidate has the same question objective, arguments, and numbers. If it finds a match and emits a verdict, it trusts the stored answer and terminates without solving the problem. This shortcut is answer comparison, not independently verified mathematics.
Otherwise a triage step selects non-math reconsideration, direct reasoning, or code-assisted solving. The code path produces a strategy and Python program, executes the program, and asks the same model to inspect the code/output and compare the candidate response with its derived answer. Execution failures may trigger repair, with at most five code executions and a requested 20-second timeout per execution. If code cannot be produced or the process cannot resolve the item, a model-only fallback may be used. SymPy is requested by prompts but is not enforced. Neither a successful process exit nor the verifier's exact_answer field proves symbolic correctness.
The MathAgent payload omits supplied context. In Version 2, one of 253 math-routed rows has usable context (ID 2338); its label changes from 0 in Version 2 to 1 in Version 3. This identifies an exposed case, not an error or a causal effect of context omission. All 157 Version 2 program-path rows attempt execution; 155 contain a verifier-judge event and two terminate through textual fallback after attempts. Neither event establishes mathematical correctness.
E. Aggregation and Compute Orchestration
The parsed internal decision is , with submission mapping
Malformed or missing decisions also map to 1. This is a faithful-class default, not an abstention mechanism or a conservative safety policy.
The 4B and 14B stages use independent workers on each GPU; the 27B stage uses one tensor-parallel model across both GPUs. Model stages run in separate processes and exchange local files. Process exit releases model allocations before the next stage loads. This is sequential model orchestration, not simultaneous residency of all models, and not a novel parallelism method. Generated Python also runs in separate processes, but with unrestricted builtins/imports. The timeout and process boundary do not constitute a security sandbox.
V. SYSTEM CONFIGURATION AND ANALYSIS PROTOCOL
A. Version-Resolved Evidence
We analyze the exact executed notebooks and saved outputs for Version 2 (script ID 340370414) and Version 3 (347400763), retrieved on September 5, 2026 [2]. Kaggle's public best-score link explicitly identifies Version 2 for 0.956. We therefore associate that displayed score only with Version 2, and use its predictions for the primary descriptive analysis. The saved Version 2 execution is dated August 5, 2026, after the July 19 close displayed in the overview. We did not verify deadline extensions or recover a receipt linking the downloaded submission hash to the scored entry. The badge establishes a platform-level version association, not contemporaneous submission identity.
The five generated worker scripts are byte-identical across these versions; source changes are largely explanatory and diagnostic. The execution environments nevertheless differ: saved logs identify vLLM 0.26.0 in Version 2 and 0.28.0 in Version 3. We do not rerun GPU inference. Instead, we recompute counts from CSV outputs and inspect JSON event traces without deserializing executable pickle files. The supplementary package reproduces saved-output counts, trace diagnostics, worker-byte comparisons, selected cell timings, and cross-version label differences, with versioned retrieval instructions and input hashes.
TABLE III SELECTED ACTIVE SETTINGS, VERIFIED AGAINST EXECUTABLE WORKER CODE. GENERATION BUDGETS COUNT NEW TOKENS.
| Setting | Value |
|---|---|
| Dense / sparse candidates per route | 20 / 20 |
| RRF constant / rerank pool / global retention | 60 / 20 / 5 |
| Embedding / reranker token limits | 512 / 512 |
| Embedding / reranker batch sizes | 256 / 768 |
| Rewrite / router generation budgets | 100 / 8 |
| 27B judgment / format-retry budgets | 120 / 6 |
| 27B maximum model length | 5,000 |
| 27B tensor parallelism / GPU utilization | 2 / 0.96 |
| MathAgent maximum model length | 4,096 |
| Math candidate-match budget | 256 |
| Maximum code executions / timeout | 5 / 20 s |
B. Active Configuration
The active generative checkpoints are Qwen/Qwen3-4B-AWQ, Qwen/Qwen3-14B-AWQ, and QuantTrio/Qwen3.5-27B-AWQ; the latter is a third-party quantized checkpoint [27], not the base-model card itself. Retrieval uses intfloat/multilingual-e5-large and BAAI/bge-reranker-v2-m3. Table III reports consumed settings rather than every declared variable. In particular, the notebook declares retrieval values of 50 that do not control the active worker; the actual pool is 20.
All active generation uses temperature zero. Greedy decoding does not ensure identical outputs across library versions, hardware kernels, or batching. Package installations and model revisions are not fully pinned; the external index build is also incompletely specified. The saved successful two-T4 runs demonstrate feasibility of those recorded executions, not a guarantee that current dependency resolution reproduces them.
C. Analyses and Their Estimands
We measure route coverage, verdict/default frequencies, event-level execution problems, elapsed cell times, and cross-version disagreement. Each is an operational statistic, not an accuracy estimate. Timing comes from Papermill's per-cell and notebook metadata and includes initialization, model loading, and applicable setup; it is not isolated token-generation latency.
For provenance analysis, we inspect the final corpus's metadata and selected source columns. A bounded exact-overlap audit compares 1,090 selected records—77 Q&A and 88 context records labeled comp_original, one banglahall_qna record, and 924 banglahall_context records—against saved Version 2 inputs. These categories were selected by source name rather than randomly sampled. Comparisons use already normalized question/context strings saved by the pipeline, not independently retrieved original competition text. Every match also holds before the audit's additional whitespace collapse. Thus exactness refers to processed-input equality. We separately inspect retained retrieval slots; original-input
TABLE IV DISJOINT TERMINAL-STAGE COUNTS FROM SAVED OUTPUTS. "HIGH-SCORE" REPLACES THE CODE'S MISLEADING "EXACT" TERMINOLOGY. PROGRAM-PATH COUNTS INCLUDE MODEL-ONLY FALLBACKS.
| Terminal route | V2 | V3 |
|---|---|---|
| High-score textual, no supplied context | 755 | 755 |
| High-score textual, with context | 1,235 | 1,235 |
| High-score textual, format fallback | 1 | 1 |
| General top-three, no context | 148 | 148 |
| General top-three, with context | 124 | 124 |
| Math candidate match | 88 | 89 |
| Math program-path category | 157 | 158 |
| Math direct reasoning | 6 | 6 |
| Math non-math reconsideration | 2 | 0 |
| Total | 2,516 | 2,516 |
identity, near duplicates, hidden-label overlap, and full-corpus decontamination are not established.
VI. RESULTS
A. Reported Score and Saved Route Coverage
Kaggle displays private macro-F1 0.956 for Version 2. The public evidence does not expose the unrounded value, private labels, per-class F1, or score-bearing receipt. Accordingly, the result is reported with its provenance rather than reconstructed from a hard-coded notebook annotation. The annotation itself is not evaluation code. No comparable score for the saved Version 3 predictions was independently verified. The following diagnostics cover all 2,516 inputs, not the undisclosed private scoring subset.
Table IV gives disjoint terminal-stage counts. The router sends 253/2,516 examples (10.06%) to the MathAgent. The high-score textual path covers 1,991 examples (79.13%), including one format retry; another 272 finish on the first three-record general path. No examples terminate in the two- or one-record retry stages in these saved runs. The absence of those terminal stages is not evidence of a bug, because earlier outputs may already be parseable.
Within the 253 math-routed examples in Version 2, 88 (34.78%) terminate through candidate matching. This shows that the shortcut is used, not that it improves F1 or that its matches are all correct. The final internal decisions are 1,291 yes, 1,224 no, and one unknown. After Eq. (5), the submission contains 1,292 faithful and 1,224 hallucinated labels. These are model decisions, not a recovered test-label distribution.
B. Execution Cost and Cross-Version Variation
Version 2's Papermill duration is 13,259.21 s (220.99 min). Its joint 27B judging cell consumes 9,433.41 s (157.22 min), approximately of total notebook time. Table V shows the recorded breakdown. Both the substantial retrieval cost and dominant 27B cost matter for a deployment decision; an aggregate batch runtime is not a per-request latency measurement.
TABLE V RECORDED ELAPSED MINUTES, INCLUDING INITIALIZATION WITHIN EACH CELL. TOTAL INCLUDES ALL NOTEBOOK CELLS AND OVERHEAD; LISTED STAGES NEED NOT SUM TO TOTAL. RUNS DIFFER IN ENVIRONMENT AND ARE NOT A CONTROLLED SPEED COMPARISON.
| Operation | V2 | V3 |
|---|---|---|
| Dependency installation | 4.52 | 4.51 |
| Claim rewriting | 7.64 | 7.02 |
| Retrieval and reranking | 31.84 | 28.98 |
| Math routing | 7.21 | 6.71 |
| Joint 27B judging | 157.22 | 147.44 |
| MathAgent | 11.96 | 11.08 |
| Full notebook | 220.99 | 206.33 |
TABLE VI BOUNDED EXACT OVERLAP AGAINST 2,516 SAVED PROCESSED INPUTS. COUNTS ARE MATCHED INPUTS, NOT PREDICTION ERRORS OR HIDDEN-LABEL MATCHES.
| Selected collection/source | Records | Matches |
|---|---|---|
| Q&A / comp_original | 77 | 34 |
| Q&A / banglahall_qna | 1 | 0 |
| Context / comp_original | 88 | 0 |
| Context / banglahall_context | 924 | 4 |
| Total records / distinct matched inputs | 1,090 | 38 |
Version 3 takes 12,379.76 s (206.33 min), but has a different vLLM version and is not an isolated optimization experiment. The saved routing CSV is byte-identical between runs; six final labels differ (0.2385%). Four change from faithful to hallucinated and two change in the opposite direction. The result demonstrates output variation under changed execution conditions, not a measured F1 change or statistical stability bound.
C. Bounded Corpus Overlap
Table VI reports exact processed-input overlaps within the selected records. Thirty-four test questions match comp_original Q&A records, and four supplied contexts match banglahall_context records, yielding 38 distinct inputs (1.51% of the test inputs). All 38 corresponding records are retained for their matching input in the final retrieval output. Among the 34 question-matched stored answers, only one is text-identical to the candidate response; answer disagreement does not establish that either answer is correct.
Across all five retained slots per input (12,580 occurrences), these four source categories account for 816 occurrences (6.49%), appearing on 729 inputs (28.97%). This broader coverage includes nonexact retrieval matches. Retention is not proof of final judge consumption: a textual prompt may use only three records, and math paths use different selections. The source labels and exact matches establish overlap exposure, but not hidden-label leakage or a rules violation. Their provenance and permitted split membership remain unresolved. The bounded audit supplies no upper bound on overlap elsewhere in the corpus.
VII. ERROR ANALYSIS AND OPERATIONAL DIAGNOSTICS
A. Observed Operational Failures
The Version 2 MathAgent traces contain 204 program-run events, 49 of which carry stderr markers across 35 distinct examples. There are 49 forced-code-fix events and two textual fallback events, each after two execution attempts. Candidate checks are attempted on 96 rows, with 88 accepted terminal matches. These counts describe execution behavior; some errors are repaired, and successful execution may still yield an incorrect answer. A printed count of zero step4_error stages would miss these events because that stage label is not an execution-failure counter.
One unresolved example, test ID 433, asks for a real-number inequality solution. Its saved log includes SymPy's TypeError: cannot determine truth value of Relational. The internal verdict remains unknown and becomes faithful under Eq. (5). This is a verified operational failure and default assignment, not a verified classification error: the private reference label is unavailable. The same row is unresolved in both runs.
Several trace categories also describe policies rather than validated outcomes. The step4_math_code category contains both program-assisted decisions and fallback judgments, while ctx+ records context presence rather than demonstrated use. Consequently, an error taxonomy based only on stage names can undercount failures or misidentify the governing evidence. The released analysis distinguishes event counts, unique affected examples, and terminal labels.
B. Mechanistic Risks, Not Measured Ablations
Response-conditioned retrieval can improve claim specificity in principle, but can also favor text supporting an erroneous candidate. Bare-question routes may counter this bias, yet no controlled ablation measures that effect. Likewise, a large judge may detect subtle inconsistencies, but these artifacts do not establish that 27B is a minimum viable size, that smaller judges collapse, or that forcing a verdict improves calibration. A format retry changes output coverage, not necessarily correctness.
The normalization allowlist and omitted MathAgent context create additional risks. Removal of foreign-script text, inequality symbols, or tag-like spans may alter the candidate claim; context-dependent reasoning can then lose a necessary premise at routing. Two saved processed responses are empty (IDs 633 and 665) and receive different verdicts. Without original-input comparison and an empty-response annotation policy, these are not established raw-data defects or classification errors. The batch and 27B workers left-truncate formatted prompts, potentially removing initial instructions or evidence; MathAgent truncation direction remains tokenizer-dependent. Such events are unlogged. Preserving original text and retained prompt spans is necessary for a future robustness evaluation.
The dominant textual-judge time suggests a practical target for future efficiency work, but does not justify replacing that model without accuracy measurements. Similarly, frequent candidate matching indicates reliance on the corpus, not independent generalization. A discriminating experiment would remove exact overlaps, compare question-only with response-conditioned retrieval, and disable the candidate shortcut under a fixed environment and independent labeled split. Those experiments were not performed here.
VIII. LIMITATIONS, REPRODUCIBILITY, AND RESPONSIBLE USE
The strongest empirical limitation is the lack of gold labels for the saved evaluation inputs. We cannot assess per-class error trade-offs, paired significance, calibration, subgroup behavior, or component contributions. Published starter scores are not used as controlled baselines: they involve different validation subsets or leaderboard artifacts. A system report with a strong displayed score is not a substitute for an independent comparative study.
Corpus independence is a second limitation. The publicly uploaded IUFree package is not established as organizer-provided. It declares CC0 at the dataset level, but upstream attribution, licensing, collection dates, and split provenance are incomplete. The package contains benchmark-related source names and demonstrable exact overlaps. No conclusion about performance on unseen facts, languages, dialects, or later competition folds follows from the available result.
Reproducibility is partial rather than absent: exact executed notebooks, predictions, worker code, and timing metadata are available, enabling the analyses reported here. However, unpinned package/model revisions, incomplete index-building provenance, first-manifest discovery, and changed outputs across runs prevent a claim of bitwise inference reproducibility. Our supplementary scripts reproduce artifact statistics, not the private score or a newly trained model. A robust future release should pin checkpoint and corpus revisions, preserve input hashes, record truncation and source selection, and distinguish code execution from model-only fallback in telemetry.
Finally, unrestricted generated Python is unsuitable for deployment against untrusted inputs. A safer design requires a restricted mathematical interpreter or isolated execution service, resource limits, no network or secrets, and explicit source trust policies. Retrieved content can also be incorrect or adversarial. The faithful-class default must be disclosed to downstream users; it should not silently certify an unresolved answer in high-stakes use. These safeguards are recommendations, not features retroactively attributed to the competition implementation.
IX. CONCLUSION
We described a retrieval-augmented and program-assisted Bengali hallucination detector and characterized its behavior through version-specific public artifacts. The score-linked Version 2 is associated with a displayed private macro-F1 of 0.956 and a 220.99-minute two-T4 execution. Saved outputs establish the distribution of textual and mathematical judgment paths, while traces reveal execution problems obscured by terminal stage labels. Cross-version differences and a bounded corpus-overlap audit qualify the interpretation of this result. The architecture offers a concrete way to combine retrieved evidence and computation, but stronger claims require corpus-controlled evaluation, labeled error analysis, controlled component comparisons, and a pinned, secure inference environment.
REFERENCES
[1] IUT Computer Society, “Bengali LLM Hallucination Detection Challenge (olikbochon),” Kaggle competition, 2026, competition overview and data documentation; https://www.kaggle.com/competitions/bengali-hallucination/data. [Online]. Available: https://www.kaggle.com/competitions/bengali-hallucination
[2] A. Shamim, “Bengali-hallucination-paper-notebook,” Kaggle notebook, executed versions 2 and 3, 2026, version IDs 340370414 and 347400763. Accessed: Sep. 5, 2026. [Online]. Available: https://www.kaggle.com/code/adilshamim8/bengali-hallucination-paper-notebook?scriptVersionId=340370414
[3] J. Li, X. Cheng, X. Zhao, J.-Y. Nie, and J.-R. Wen, “HaluEval: A large-scale hallucination evaluation benchmark for large language models,” in Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, H. Bouamor, J. Pino, and K. Bali, Eds. Singapore: Association for Computational Linguistics, Dec. 2023, pp. 6449–6464. [Online]. Available: https://aclanthology.org/2023.emnlp-main.397/
[4] S. Min, K. Krishna, X. Lyu, M. Lewis, W.-t. Yih, P. Koh, M. Iyyer, L. Zettlemoyer, and H. Hajishirzi, “FActScore: Fine-grained atomic evaluation of factual precision in long form text generation,” in Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, H. Bouamor, J. Pino, and K. Bali, Eds. Singapore: Association for Computational Linguistics, Dec. 2023, pp. 12076–12100. [Online]. Available: https://aclanthology.org/2023.emnlp-main.741/
[5] S. O. Ul Islam, A. Lauscher, and G. Glavaš, “How much do LLMs hallucinate across languages? on realistic multilingual estimation of LLM hallucination,” in Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, C. Christodoulopoulos, T. Chakraborty, C. Rose, and V. Peng, Eds. Suzhou, China: Association for Computational Linguistics, Nov. 2025, pp. 29077–29098. [Online]. Available: https://aclanthology.org/2025.emnlp-main.1481/
[6] A. Bhattacharjee, T. Hasan, W. Ahmad, K. S. Mubasshir, M. S. Islam, A. Iqbal, M. S. Rahman, and R. Shahriyar, “BanglaBERT: Language model pretraining and benchmarks for low-resource language understanding evaluation in Bangla,” in Findings of the Association for Computational Linguistics: NAACL 2022, M. Carpuat, M.-C. de Marneffe, and I. V. Meza Ruiz, Eds. Seattle, United States: Association for Computational Linguistics, Jul. 2022, pp. 1318–1327. [Online]. Available: https://aclanthology.org/2022.findings-naacl.98/
[7] S. E. S. Adib, A. A. Sani, E. A. Esham, A. Abrar, I. Tashdeed, and M. T. A. Chowdhury, “BenHalluEval: A multi-task hallucination evaluation framework for large language models on Bengali,” 2026, preprint. [Online]. Available: https://arxiv.org/abs/2605.31483
[8] Bengali Hallucination Challenge Organizers, “Phase 2 data-source preview,” Kaggle competition discussion, 2026, accessed: Sep. 5, 2026. [Online]. Available: https://www.kaggle.com/competitions/bengali-hallucination/discussion/719835
[9] P. Lewis, E. Perez, A. Piktus, F. Petroni, V. Karpukhin, N. Goyal, H. Küttler, M. Lewis, W.-t. Yih, T. Rocktäschel, S. Riedel, and D. Kiela, “Retrieval-augmented generation for knowledge-intensive NLP tasks,” in Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 9459–9474. [Online]. Available: https://proceedings.neurips.cc/paper_files/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html
[10] L. Gao, X. Ma, J. Lin, and J. Callan, “Precise zero-shot dense retrieval without relevance labels,” in Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), A. Rogers, J. Boyd-Graber, and N. Okazaki, Eds. Toronto, Canada: Association for Computational Linguistics, Jul. 2023, pp. 1762–1777. [Online]. Available: https://aclanthology.org/2023.acl-long.99/
[11] L. Wang, N. Yang, X. Huang, L. Yang, R. Majumder, and F. Wei, "Multilingual E5 text embeddings: A technical report," 2024. [Online]. Available: https://arxiv.org/abs/2402.05672
[12] J. Johnson, M. Douze, and H. Jégou, “Billion-scale similarity search with GPUs,” IEEE Transactions on Big Data, vol. 7, no. 3, pp. 535–547, 2021, early access 2019; final journal issue 2021. [Online]. Available: https://doi.org/10.1109/TBDATA.2019.2921572
[13] S. Robertson and H. Zaragoza, “The probabilistic relevance framework: BM25 and beyond,” Foundations and Trends in Information Retrieval, vol. 3, no. 4, pp. 333–389, 2009. [Online]. Available: https://doi.org/10.1561/1500000019
[14] G. V. Cormack, C. L. A. Clarke, and S. Buettcher, “Reciprocal rank fusion outperforms Condorcet and individual rank learning methods,” in Proceedings of the 32nd International ACM SIGIR Conference on Research and Development in Information Retrieval. Association for Computing Machinery, 2009, pp. 758–759. [Online]. Available: https://doi.org/10.1145/1571941.1572114
[15] Beijing Academy of Artificial Intelligence, “BAAI/bge-reranker-v2-m3: Model card,” Hugging Face model repository, accessed: Sep. 5, 2026. [Online]. Available: https://huggingface.co/BAAI/bge-reranker-v2-m3
[16] L. Gao, A. Madaan, S. Zhou, U. Alon, P. Liu, Y. Yang, J. Callan, and G. Neubig, "PAL: Program-aided language models," in Proceedings of the 40th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 202. PMLR, 2023, pp. 10764–10799. [Online]. Available: https://proceedings.mlr.press/v202/gao23f.html
[17] W. Chen, X. Ma, X. Wang, and W. W. Cohen, “Program of thoughts prompting: Disentangling computation from reasoning for numerical reasoning tasks,” Transactions on Machine Learning Research, 2023. [Online]. Available: https://openreview.net/forum?id=YfZ4ZPt8zd
[18] Qwen Team, “Qwen3 technical report,” 2025. [Online]. Available: https://arxiv.org/abs/2505.09388
[19] —, “Qwen3.5-27B: Model card,” Hugging Face model repository, 2026, accessed: Sep. 5, 2026. [Online]. Available: https://huggingface.co/Qwen/Qwen3.5-27B
[20] J. Lin, J. Tang, H. Tang, S. Yang, W.-M. Chen, W.-C. Wang, G. Xiao, X. Dang, C. Gan, and S. Han, "AWQ: Activation-aware weight quantization for on-device LLM compression and acceleration," in Proceedings of Machine Learning and Systems, vol. 6, 2024, pp. 87–100. [Online]. Available: https://proceedings.mlsys.org/paper_files/paper/2024/hash/42a452cbafa9dd64e9ba4aa95cc1ef21-Abstract-Conference.html
[21] W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. Gonzalez, H. Zhang, and I. Stoica, “Efficient memory management for large language model serving with PagedAttention,” in Proceedings of the 29th Symposium on Operating Systems Principles. Association for Computing Machinery, 2023, pp. 611–626. [Online]. Available: https://doi.org/10.1145/3600006.3613165
[22] I.-C. Chern, S. Chern, S. Chen, W. Yuan, K. Feng, C. Zhou, J. He, G. Neubig, and P. Liu, “FacTool: Factuality detection in generative AI—a tool augmented framework for multi-task and multi-domain scenarios,” arXiv:2307.13528, 2023. [Online]. Available: https://arxiv.org/abs/2307.13528
[23] Sushmit (sushmit0109), “Starter notebook | datathon,” Kaggle notebook, version 3, 2026, accessed: Sep. 5, 2026. [Online]. Available: https://www.kaggle.com/code/sushmit0109/starter-notebook-datathon
[24] Bengali Hallucination Challenge Organizers, “Competition rules,” Kaggle, 2026, accessed: Sep. 5, 2026. [Online]. Available: https://www.kaggle.com/competitions/bengali-hallucination/rules
[25] Jubaer (Competition Host), “Leaderboard macro-F1 implementation clarification,” Bengali Hallucination Challenge discussion, 2026, accessed: Sep. 5, 2026. [Online]. Available: https://www.kaggle.com/competitions/bengali-hallucination/discussion/724884#3496347
[26] N. S. Nafiz, “IUFree VectorDB Full e5 Large Final,” Kaggle dataset, version 1, 2026, accessed: Sep. 5, 2026. [Online]. Available: https://www.kaggle.com/datasets/nazmussakibnafiz/iufree-full-vectordb-e5-large-final
[27] QuantTrio, “Qwen3.5-27B-AWQ: Model card,” Hugging Face model repository, 2026, accessed: Sep. 5, 2026. [Online]. Available: https://huggingface.co/QuantTrio/Qwen3.5-27B-AWQ