SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.11922 · 2026

LODESTAR: Robust Entropy-Based Answer Selection in Retrieval-Augmented Generation for Question Answering -- Directing Frozen-LLM Entropy with a Reinforcement-Learned Prompt Polarizer under Misleading Passages

Chuan-Ju Wang, Hung-Chun Hsu, Po-Jen Ko, Che-Cheng Wu, Li-Yang Chang

arXiv · PDF

Code that ran

1 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 4 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.11922.json · badge: /api/ran/2608.11922.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zjysteven/mink-plus-plus canonical (classifier label)
classifier basis: census
1 ran · 4 no recorded run
FunctionStatusWhere it lives
convert_huggingface_data_to_list_dic Ran
ran; our contract draft was wrong, not the code
zjysteven/mink-plus-plus/run_neighbor.py
code served (permissive licence) · get_code("e7c98d3891c20879")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from typing import List, Dict

torch.manual_seed(0)

class MockHuggingFaceDataset:
    """Stand-in for a HuggingFace dataset that supports indexing and len()"""
    def __init__(self, num_examples=2):
        self.data = [
            {"text": "example 1", "label": 0},
            {"text": "example 2", "label": 1},
        ][:num_examples]
    
    def __len__(self):
        return len(self.data)
    
    def __getitem__(self, idx):
        return self.data[idx]

dataset = MockHuggingFaceDataset(num_examples=2)

ARGS = {
    "dataset": dataset
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
inference Not yet run
unverified (harvested, no recorded run)
zjysteven/mink-plus-plus/run_neighbor.py
code served (permissive licence) · get_code("2eb061295f26318c")
How it ran

no invocation recorded.

load_model Not yet run
unverified (harvested, no recorded run)
zjysteven/mink-plus-plus/run_concat.py
code served (permissive licence) · get_code("4ab747637b9f94fd")
How it ran

no invocation recorded.

load_model Not yet run
unverified (harvested, no recorded run)
zjysteven/mink-plus-plus/run_neighbor.py
code served (permissive licence) · get_code("16dffe12946ec141")
How it ran

no invocation recorded.

load_model Not yet run
unverified (harvested, no recorded run)
zjysteven/mink-plus-plus/run_ref.py
code served (permissive licence) · get_code("d20c0c29841239c7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Predictive-distribution entropy makes a strong selection rule in existing retrievalaugmented question answering work, which we first verify on our own benchmarks. Across five QA benchmarks, keeping the candidate answer that a frozen respondent LLM produces with the lowest answer-token entropy lifts mean answer F 1 from 0.4769 to 0.5148 over the retriever's top-ranked passage without any gold answer. Yet in this paper we show that this lowest-entropy selection rule, which prior entropy-based selectors adopt, fails in a specific and consequential way. A misleading passage makes the respondent confidently wrong, driving its entropy down precisely where the signal looks most trustworthy. Existing work either scopes its claims away from this failure mode or documents it without repairing it; we instead show that the failure comes from the passage that the respondent reads, and the context that passage is read in is an input we can intervene on. We therefore introduce LODESTAR, to the best of our knowledge the first method to score a text intervention by the uncertainty it induces in a third-party frozen respondent, compared across one question's candidates, which extends what the respondent reads instead of retraining what it is. LODESTAR uses reinforcement learning to train, once and offline, a polarizer-a short fixed natural-language string inserted into the respondent's prompt and never into its weights. Its training labels are built offline from gold answers and two LLM judges; inference reads neither. We then evaluate LODESTAR comprehensively, running every competing selector under the same frozen respondent and the same retrieved candidate pool. On 5,008 questions from those five benchmarks, LODESTAR attains the highest mean F 1 of any inference-ready selector, the highest exact match (0.4136), and the highest GPT-4o judge score of the frozen-respondent configurations judged (0.6435); its three-seed mean wins all 70 method-by-dataset cells on F 1 against fourteen published configurations, and it takes the highest macro exact match of any of them, 0.4136 against the best baseline's 0.4039, while remaining pairedsignificant on F 1 against every one. It raises the same five-benchmark F 1 mean from 0.5148 to 0.5339, a further +3.71%. The gain holds on both sides of the domain split: 0.4643 to 0.4789 in-domain on NQ-Open, and 0.5274 to 0.5476 averaged over SQuAD, TriviaQA, EntityQuestions and WebQuestions. We further ablate the polarizer string and find that it is what makes the respondent read a misleading passage less often, 26.0% of the time against 30.3%.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.11922")
get_code_for_paper("2608.11922")
have("2608.11922")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.11922.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.11922.svg)](https://syntology.ai/paper/2608.11922)

Connect an agent — have() is free.