SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.23189 · 2026

Empirical Bayes Conformal Prediction for Vision and Language Models

Vikas Singh, Zhanpeng Zeng, - Madison, San Diego, Jiapeng Zeng, Yogesh Prabhu, Michael Newton

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 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 1 has no contract verdict; 2 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/2605.23189.json · badge: /api/ran/2605.23189.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
Yogesh914/conformal-rvalue community
Papers with Code archive
3 ran · 1 no recorded run
FunctionStatusWhere it lives
Config Ran
ran on a synthesized input
Yogesh914/conformal-rvalue/vit_setup/adaptors_eval.py
code served (permissive licence) · get_code("92f0974429317336")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned NoneType. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type 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 os
import tempfile
from pathlib import Path

# Create temporary directories for the Config class
temp_dir = tempfile.mkdtemp()
temp_root = Path(temp_dir)
temp_data = temp_root / 'data'
temp_data.mkdir(exist_ok=True)

# Set environment variables to control paths
os.environ['CONFORMAL_RVALUE_DATA_DIR'] = str(temp_data)
os.environ['IMAGENET_DATASET_DIR'] = str(temp_data / 'imagenet')
os.environ['VIT_ADAPTER_SAVE_DIR'] = str(temp_data / 'adaptors' / 'vit_l' / 'epoch_3')
os.environ['VIT_EVAL_OUTPUT_DIR'] = str(temp_data / 'adaptor_info' / 'vit_l' / 'epoch_3')
os.environ['VIT_INFERENCE_OUTPUT_PATH'] = str(temp_root / 'shark_predictions.pkl')

# Config is a class with only class attributes and class methods, no __init__
# So we don't instantiate it, we just use the class itself
INIT_ARGS = {}

# The class has no forward or __call__ method that performs computation
# We'll call one of its class methods
METHOD = 'apply_hf_datasets_cache'
ARGS = {}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
datasets, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoneType — a NoneType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoneType output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
_optional_path_from_env Ran
ran; our contract draft was wrong, not the code
Yogesh914/conformal-rvalue/vit_setup/adaptors_eval.py
code served (permissive licence) · get_code("39a41aa4375b590d")
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) and returned PosixPath. The image it ran in was not recorded. If your copy returns the same type 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 os
from pathlib import Path

# Set up environment variable for testing
os.environ['TEST_PATH'] = '~/some/test/path'

# Define arguments for _optional_path_from_env
ARGS = {
    'name': 'TEST_PATH'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
_path_from_env Ran
ran; our contract draft was wrong, not the code
Yogesh914/conformal-rvalue/vit_setup/adaptors_eval.py
code served (permissive licence) · get_code("e207131965fc8749")
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) and returned PosixPath. The image it ran in was not recorded. If your copy returns the same type 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 os
from pathlib import Path

# Set up environment variable for testing
os.environ['TEST_PATH'] = '~/some/test/path'

ARGS = {
    'name': 'TEST_PATH',
    'default': Path('/default/fallback/path')
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
get_val_predictions Not yet run
unverified (harvested, no recorded run)
Yogesh914/conformal-rvalue/vit_setup/adaptors_eval.py
code served (permissive licence) · get_code("59fdaf0ae02afaee")
How it ran

no invocation recorded.

Also present in other papers' code

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

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

Conformal prediction (CP) gives distribution-free coverage for modern vision and language models, but it is often forced to make a ranking decision from a single unstable nonconformity score. Standard CP uses one realization, while averagethen-calibrate variants smooth multiple realizations into a point estimate. Both options discard the inconsistency that can help identify whether a candidate is indeed stable. A weak answer can enter the conformal set even if the evidence is not strong, simply because one posterior sample or prompt phrasing made it look strong. But variability can help distinguish a stable signal from noise-driven fluctuations. We describe an empirical Bayes conformal prediction framework that uses r-values to convert score variability into an uncertainty informed nonconformity score. The resulting r-value estimates how likely a candidate's latent score belongs to the top-ranked group after accounting for both its mean score and its uncertainty. It admits both a closed-form Normal-Normal empirical Bayes estimator and a nonparametric posterior-sampling estimator. Using the r-value as the nonconformity score preserves the target conformal coverage while provably reducing the inclusion of high variance false candidates under mild regularity conditions. Across image classification, CLIP-based VLM benchmarks, and LLMs, we show that r-value conformal prediction preserves target coverage while improving ranking stability and reducing set size when variability is informative, and reverting to CP-like behavior when variability vanishes.

For agents

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

get_harvested_code_for_paper("2605.23189")
get_code_for_paper("2605.23189")
have("2605.23189")

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

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

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

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

Connect an agent — have() is free.