SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.06673 · 2026

Uncertainty-Aware LLM-Guided Policy Shaping for Sparse-Reward Reinforcement Learning

Rodrigue Rizk, Ujjwal Bhatta, Utsabi Dangol, Sumaly Bajracharya

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 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/2606.06673.json · badge: /api/ran/2606.06673.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
USD-AI-ResearchLab/uncertainty-aware-llm-rl canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_performance_metrics Ran
ran; our contract draft was wrong, not the code
USD-AI-ResearchLab/uncertainty-aware-llm-rl/MainCode/plot.py
pointer only (licence: NONE) · get_code("88a6169feb702691")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, USD-AI-ResearchLab/uncertainty-aware-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_brier_score Ran
ran, violated the contract we drafted
USD-AI-ResearchLab/uncertainty-aware-llm-rl/DQN/calibrated_llm_core.py
pointer only (licence: NONE) · get_code("9df81ed6266bc82a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, USD-AI-ResearchLab/uncertainty-aware-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_discrimination Ran
ran, honoured the contract we drafted
USD-AI-ResearchLab/uncertainty-aware-llm-rl/DQN/calibrated_llm_core.py
pointer only (licence: NONE) · get_code("fe42a728494144d0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, USD-AI-ResearchLab/uncertainty-aware-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_ece Ran
ran; our contract draft was wrong, not the code
USD-AI-ResearchLab/uncertainty-aware-llm-rl/DQN/calibrated_llm_core.py
pointer only (licence: NONE) · get_code("70a93d1cf92af554")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, USD-AI-ResearchLab/uncertainty-aware-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_experiment_data Ran
ran; our contract draft was wrong, not the code
USD-AI-ResearchLab/uncertainty-aware-llm-rl/MainCode/plot.py
pointer only (licence: NONE) · get_code("4de5f1119e2fa623")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, USD-AI-ResearchLab/uncertainty-aware-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

plot_performance_curves Not yet run
unverified (harvested, no recorded run)
USD-AI-ResearchLab/uncertainty-aware-llm-rl/MainCode/plot.py
pointer only (licence: NONE) · get_code("b5de7ba519d7357b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, USD-AI-ResearchLab/uncertainty-aware-llm-rl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 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 6 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

Sparse rewards and heterogeneous task sequences remain persistent challenges in Reinforcement Learning (RL), often resulting in slow convergence, weak generalization, and inefficient exploration. We propose Uncertainty-Aware LLM-Guided Policy Shaping (ULPS), a novel framework that integrates a calibrated Large Language Model (LLM) into the RL training loop to provide structured, uncertainty-modulated behavioral guidance. ULPS employs an A*-based oracle to synthesize optimal symbolic trajectories, which are used to fine-tune a BERT-based language model. During training, this model supplies action suggestions whose influence is conditioned on epistemic uncertainty estimated via Monte Carlo (MC) dropout. An entropy-based blending mechanism adaptively balances LLM guidance and the learned policy (via Proximal Policy Optimization, PPO), allowing the agent to prioritize reliable priors while preserving adaptability. We evaluate ULPS on the MiniGrid-UnlockPickup benchmark and observe consistent improvements in success rate, reward efficiency, and sample complexity over unguided, uncalibrated, and standard RL baselines. ULPS achieves more than 9% improvement in execution accuracy after fine-tuning, requires fewer environment interactions, and yields higher reward AUC. Our results demonstrate that integrating symbolic A* trajectories, pretrained language priors, and uncertainty-aware control offers a principled and effective approach to multi-task reinforcement learning in sparse-reward domains, with potential extensibility to partially observable and multi-agent settings.

For agents

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

get_harvested_code_for_paper("2606.06673")
get_code_for_paper("2606.06673")
have("2606.06673")

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

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

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

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

Connect an agent — have() is free.