SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.02433 · NeurIPS · 2024

SLED: Self Logits Evolution Decoding for Improving Factuality in Large Language Models

Yiran Chen, Da-Cheng Juan, Heinrich Jiang, Jianyi Zhang, Cyrus Rashtchian, Chun-Sung Ferng

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 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; 8 failures of our instrument; 3 no recorded run), measured 2026-11-21; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2411.02433.json · badge: /api/ran/2411.02433.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
JayZhang42/SLED canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
get_config_class_from_processor_class Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JayZhang42/SLED/transformers/utils/create_dummy_models.py
pointer only (licence: NONE); the stored copy get_code serves, from takagi97/OXA-Fine-tuning, is pointer only (licence: NONE) · get_code("3d999b95009c7537")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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.

get_processor_types_from_config_class Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JayZhang42/SLED/transformers/utils/create_dummy_models.py
pointer only (licence: NONE); the stored copy get_code serves, from takagi97/OXA-Fine-tuning, is pointer only (licence: NONE) · get_code("0c0b81b081919d8e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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_csv Ran
ran; our contract draft was wrong, not the code
JayZhang42/SLED/utils/utils_factor.py
pointer only (licence: NONE); the stored copy get_code serves, from voidism/DoLa, is pointer only (licence: NONE) · get_code("78392b8414df821e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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_factor_dataset Ran
ran; our contract draft was wrong, not the code
JayZhang42/SLED/utils/utils_factor.py
pointer only (licence: NONE) · get_code("110e15caf8969c54")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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_gsm8k_jsonl Ran
ran; our contract draft was wrong, not the code
JayZhang42/SLED/utils/utils_gsm8k.py
pointer only (licence: NONE) · get_code("3ddd3043fb85f2c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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_jsonl Ran
ran; our contract draft was wrong, not the code
JayZhang42/SLED/utils/utils_gsm8k.py
pointer only (licence: NONE) · get_code("999e06e03a65eb6d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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_jsonl Ran
ran; our contract draft was wrong, not the code
JayZhang42/SLED/utils/utils_strqa.py
pointer only (licence: NONE) · get_code("21ebee30ce3d7085")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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_strqa_jsonl Ran
ran; our contract draft was wrong, not the code
JayZhang42/SLED/utils/utils_strqa.py
pointer only (licence: NONE) · get_code("3fe04a95f9fa548a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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.

download_url Not yet run
unverified (harvested, no recorded run)
JayZhang42/SLED/utils/utils_factor.py
pointer only (licence: NONE) · get_code("0ce848f1f5c6f4eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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.

download_url Not yet run
unverified (harvested, no recorded run)
JayZhang42/SLED/utils/utils_gsm8k.py
pointer only (licence: NONE) · get_code("d4bd3ab60e7a743a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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.

get_architectures_from_config_class Not yet run
unverified (harvested, no recorded run)
JayZhang42/SLED/transformers/utils/create_dummy_models.py
pointer only (licence: NONE); the stored copy get_code serves, from takagi97/OXA-Fine-tuning, is pointer only (licence: NONE) · get_code("b176efb26f72e507")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JayZhang42/SLED 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 7 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 7 later) and 4 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.

FunctionAlso present inEarliest-datedOthers named
get_config_class_from_processor_class 27 other papers
16 dated earlier, 3 the same month, 6 later, 2 same year, order not determinable
2007.07779 (2020-07)
AdapterHub: A Framework for Adapting Transformers
2308.12219 (2023-08)
Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning
2311.07468 (2023-11)
An Analysis and Mitigation of the Reversal Curse
and 24 more not named here
get_architectures_from_config_class 25 other papers
15 dated earlier, 3 the same month, 6 later, 1 same year, order not determinable
2308.12219 (2023-08)
Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning
2311.07468 (2023-11)
An Analysis and Mitigation of the Reversal Curse
2312.15710 (2023-12)
Alleviating Hallucinations of Large Language Models through Induced Hallucinations
and 22 more not named here
get_processor_types_from_config_class 25 other papers
15 dated earlier, 3 the same month, 6 later, 1 same year, order not determinable
2308.12219 (2023-08)
Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning
2311.07468 (2023-11)
An Analysis and Mitigation of the Reversal Curse
2312.15710 (2023-12)
Alleviating Hallucinations of Large Language Models through Induced Hallucinations
and 22 more not named here
download_url 6 other papers
4 dated earlier, 2 later
2309.03883 (2023-09)
DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models
2312.15710 (2023-12)
Alleviating Hallucinations of Large Language Models through Induced Hallucinations
2401.05930 (2024-01)
SH2: Self-Highlighted Hesitation Helps You Decode More Truthfully
and 3 more not named here
load_csv 2 other papers
1 dated earlier, 1 later
2309.03883 (2023-09)
DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models
2504.04635 (2025-04)
Steering off Course: Reliability Challenges in Steering Language Models
load_jsonl 2 other papers
2 later
2504.04635 (2025-04)
Steering off Course: Reliability Challenges in Steering Language Models
2509.16598 (2025-09)
PruneCD: Contrasting Pruned Self Model to Improve Decoding Factuality
load_jsonl 2 other papers
2 later
2504.04635 (2025-04)
Steering off Course: Reliability Challenges in Steering Language Models
2509.16598 (2025-09)
PruneCD: Contrasting Pruned Self Model to Improve Decoding Factuality

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-21.

Repositories linked to this paper

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

Abstract

Large language models (LLMs) have demonstrated remarkable capabilities, but their outputs can sometimes be unreliable or factually incorrect. To address this, we introduce Self Logits Evolution Decoding (SLED), a novel decoding framework that enhances the truthfulness of LLMs without relying on external knowledge bases or requiring further fine-tuning. From an optimization perspective, our SLED framework leverages the latent knowledge embedded within the LLM by contrasting the output logits from the final layer with those from early layers. It then utilizes an approximate gradient approach to enable latent knowledge to guide the self-refinement of outputs, thereby effectively improving factual accuracy. Extensive experiments have been conducted on established benchmarks across a diverse range of model families (Gemma, Qwen, Mixtral, gpt-oss) and scales (from 1B to 45B), including more advanced architectural configurations such as the mixture of experts (MoE). Our evaluation spans a wide variety of tasks and the results demonstrate that SLED consistently improves factual accuracy compared to existing decoding methods while maintaining natural language fluency and negligible latency overhead. Furthermore, it can be flexibly combined with other decoding methods to further enhance their performance. * Due to policy restrictions on the models used, this paper has been updated. For more detailed content, please refer to the previous version. 38th Conference on Neural Information Processing Systems (NeurIPS 2024).

For agents

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

get_harvested_code_for_paper("2411.02433")
get_code_for_paper("2411.02433")
have("2411.02433")

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

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

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

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

Connect an agent — have() is free.