SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.13772 · 2023

Large Language Models are Miscalibrated In-Context Learners

arXiv · PDF · Open in the Atlas

Code that ran

7 of 10 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; 3 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/2312.13772.json · badge: /api/ran/2312.13772.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
cambridgeltl/ensembled-sicl canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
FunctionStatusWhere it lives
assert_equal Ran
ran, violated the contract we drafted
cambridgeltl/ensembled-sicl/ensemble_postprocess.py
pointer only (licence: NONE) · get_code("ce00a88a439084fe")
How it ran

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

calculate_f1 Ran
ran, honoured the contract we drafted
cambridgeltl/ensembled-sicl/utils/evaluator.py
pointer only (licence: NONE) · get_code("bdb225300bc83baa")
How it ran

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

check_results_num Ran
ran, violated the contract we drafted
cambridgeltl/ensembled-sicl/ensemble_postprocess.py
pointer only (licence: NONE) · get_code("b815df4e13d2c327")
How it ran

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

create_peft_config Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cambridgeltl/ensembled-sicl/utils/peft_scripts.py
pointer only (licence: NONE) · get_code("f6f91e27664a2312")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cambridgeltl/ensembled-sicl 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_result_json Ran
ran; our contract draft was wrong, not the code
cambridgeltl/ensembled-sicl/ensemble_postprocess.py
pointer only (licence: NONE) · get_code("7d48d8f5188bc43a")
How it ran

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

precision Ran
ran, honoured the contract we drafted
cambridgeltl/ensembled-sicl/utils/evaluator.py
pointer only (licence: NONE) · get_code("73e30f54a5973543")
How it ran

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

recall Ran
ran, honoured the contract we drafted
cambridgeltl/ensembled-sicl/utils/evaluator.py
pointer only (licence: NONE) · get_code("9826727515a93869")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cambridgeltl/ensembled-sicl 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_huggingface_model Not yet run
unverified (harvested, no recorded run)
cambridgeltl/ensembled-sicl/utils/load_model.py
pointer only (licence: NONE) · get_code("adaa8be3ad578693")
How it ran

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

load_model Not yet run
unverified (harvested, no recorded run)
cambridgeltl/ensembled-sicl/utils/load_model.py
pointer only (licence: NONE) · get_code("4ae9e05f3029c194")
How it ran

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

load_tokenizer Not yet run
unverified (harvested, no recorded run)
cambridgeltl/ensembled-sicl/utils/load_model.py
pointer only (licence: NONE) · get_code("618ad395c8046ae0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cambridgeltl/ensembled-sicl 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 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 10 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-22.

Repositories linked to this paper

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

Abstract

When adapting ICL with or without fine-tuning, we are curious about whether the instruction-tuned language model is able to achieve well-calibrated results without suffering from the problem of overconfidence (i.e., miscalibration) considering its strong instruction following ability, especially in such limited data setups. In this work, we deliver an in-depth analysis of the behavior across different choices of learning methods from the perspective of both performance and calibration. Through extensive controlled experiments, we observe that the miscalibration problem exists across all learning methods in low-resource setups. To achieve simultaneous gain for both in-task performance and calibration, we then study the potential of self-ensembling applied at different modeling stages (e.g., variations of in-context examples or variations in prompts or different ensembling strategies) to make the predictions more calibrated and have comparable or even better performance. We find that self-ensembling with max probability produces robust and calibrated predictions. Our work reveals the potential calibration problem of using ICL despite the improvements in task performance and sheds light on which learning paradigm to choose. We also provide practical guidelines for choosing learning paradigms depending on whether the data has been seen by the model before and a worthwhile solution via self-ensembling on how to enhance both task performance and calibration of LMs, which we hope could encourage further study.

For agents

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

get_harvested_code_for_paper("2312.13772")
get_code_for_paper("2312.13772")
have("2312.13772")

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

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

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

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

Connect an agent — have() is free.