Home › Code › compute_kl

compute_kl

Syntologyentry name in harvested coderead from the graph 2026-09-24

compute_kl appears in the code Syntology harvested for 14 papers, as 14 distinct code bodies found in 14 places (a place is one code body under one paper). At least one of them ran in 9 of the papers; 5 of the code bodies carry a behaviour fingerprint.

What this page is not. Routines are grouped here by the exact string of their function or class name. Nothing asserts that two samples named compute_kl do the same thing, share code, or are comparable; the name is a string, not an identity. Behaviour outputs (what a fingerprinted sample returned on the shared battery) are not in this export and are not shown here; the graph at syntology.ai holds them. "Ran" means executed on a synthesized fixture, not that the code is correct or reproduces a paper.

Samples Syntology

Syntology ran 9 of the 14 distinct code bodies named compute_kl; 5 are unverified. One tile per status, in the site's fixed vocabulary, each code body counted once:

2ran · honoured contract
0ran · violated contract
3ran · our draft was wrong
1ran · fixture could not drive it
3ran
5unverified
5fingerprinted

Licence is a property of each copy, so it is counted per place: 7 of the 14 places are pointer only (Syntology does not serve that copy's text). This site shows no code text for any sample; every row below links to the file in its repository where the record names one.

“Ran” means the sample executed on a synthesized input; it does not mean the output is correct. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code, and those samples did run. The ran count above is every status except unverified, the same rule as each paper page.

Papers

14 papers shown of 14, newest first; 14 places in the table. A paper with no recorded date is placed by the month its arXiv id encodes, shown in the Date column as YYYY-MM (from id). One row per place: a paper whose repository defines the name more than once appears more than once, and the same code body held for several papers appears once under each, with the same status. Titles and dates are the archive's archive 2025-07-28 for papers in the archive; 1 papers have no page here and are shown by arXiv id only. Status and fingerprint are Syntology's record of each code body; licence is recorded for each place. The File cell ends with the code body's code_sha256, Syntology's identity for that exact code: an agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

PaperDateFileStatus SyntologyLicence
TreeRL: LLM Reinforcement Learning with On-Policy Tree Search 13 Jun 2025 THUDM/TreeRL/openrlhf/models/utils.py c62b030ba99acc0b unverified Apache-2.0 (permissive)
Better Estimation of the KL Divergence Between Language Models 14 Apr 2025 rycolab/kl-rb/trl/trainer/utils.py fd37f7ac629f7673 ran · honoured contract fingerprinted no licence file found · pointer only
To Forget or Not? Towards Practical Knowledge Unlearning for Large Language Models 2 Jul 2024 zjunlp/knowundo/llm_unlearn/methods/ascent_plus_KLdivergence.py 798c7fa0566c9a0c ran MIT (permissive)
Towards Efficient and Effective Unlearning of Large Language Models for Recommendation 6 Mar 2024 justarter/e2urec/utils.py d2fb3510d2e40cc0 ran no licence file found · pointer only
Machine Unlearning of Pre-trained Large Language Models 23 Feb 2024 yaojin17/unlearning_llm/llm_unlearn/methods/ascent_plus_KLdivergence.py 62345832792f7ce7 ran MIT (permissive)
Variational Mixture of HyperGenerators for Learning Distributions Over Functions 13 Feb 2023 bkoyuncu/vamoh/imagegym/loss.py 2c38f2c51417d9d8 unverified MIT (permissive)
Shedding a PAC-Bayesian Light on Adaptive Sliced-Wasserstein Distances 7 Jun 2022 rubenohana/pac-bayesian_sliced-wasserstein/swd_pac.py 20d5a94a79d4fc36 ran · fixture could not drive it no licence file found · pointer only
Variational Sparse Coding with Learned Thresholding 7 May 2022 kfallah/variational-sparse-coding/model/reparameterization.py 592a9f533df33a85 unverified no licence file found · pointer only
Variational Model Inversion Attacks 26 Jan 2022 wangkua1/vmi/evaluate_samples.py 5cc15dbbae703454 ran · our draft was wrong fingerprinted no licence file found · pointer only
Learning Multimodal VAEs through Mutual Supervision 23 Jun 2021 thwjoy/meme/models/meme.py fb151278cbed3095 ran · our draft was wrong fingerprinted no licence file found · pointer only
Pathdreamer: A World Model for Indoor Navigation 18 May 2021 google-research/pathdreamer/models/point_cloud_models.py 5b5f0fe56d18c7b3 unverified Apache-2.0 (permissive)
Deep contextualized word representations 15 Feb 2018 griff4692/LMC/modules/lmc/lmc_model.py e6951eb47d3fce83 ran · our draft was wrong fingerprinted no licence file found · pointer only
Unsupervised Image-to-Image Translation Networks 2 Mar 2017 eriklindernoren/PyTorch-GAN/implementations/unit/unit.py bbbe1581861ec1fd ran · honoured contract fingerprinted MIT (permissive)
arXiv:Gao_AsyFOD_An_Asymmetric_Adaptation_Paradigm_for_Few-Shot_Domain_Adaptive_Object_CVPR_2023_paper Hlings/AsyFOD/utils/loss.py 754b89ce11613e10 unverified MIT (permissive)

This site shows no code text; each File cell links to the file on GitHub at the repository's current default branch, which may have changed since the harvest. "Pointer only" means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence cell for the reason. Per-sample records for a paper are on its paper page under "Code Syntology ran".

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections