SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.08921 · 2023

Self-Improving for Zero-Shot Named Entity Recognition with Large Language Models

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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; 7 failures of our instrument; 0 no recorded run), measured 2026-11-24; 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/2311.08921.json · badge: /api/ran/2311.08921.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
Emma1066/Self-Improve-Zero-Shot-NER canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
dict2json Ran
ran; our contract draft was wrong, not the code
Emma1066/Self-Improve-Zero-Shot-NER/code/utils.py
pointer only (licence: NONE) · get_code("293f0c23ae27d129")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Emma1066/Self-Improve-Zero-Shot-NER 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.

json2dict Ran
ran; our contract draft was wrong, not the code
Emma1066/Self-Improve-Zero-Shot-NER/code/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from emma1066/zero-shot-ner-with-chatgpt, is pointer only (licence: NONE) · get_code("7f1d4c631a83cc9c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Emma1066/Self-Improve-Zero-Shot-NER 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_data Ran
ran; our contract draft was wrong, not the code
Emma1066/Self-Improve-Zero-Shot-NER/code/utils.py
pointer only (licence: NONE) · get_code("0e2912d3807cf9fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Emma1066/Self-Improve-Zero-Shot-NER 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.

remove_annotated_sample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Emma1066/Self-Improve-Zero-Shot-NER/code/self_consistent_annotation/GeneratePrompts.py
pointer only (licence: NONE) · get_code("4b1fdbcdbfed77d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Emma1066/Self-Improve-Zero-Shot-NER 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.

response_2_prediction_of_list Ran
ran; our contract draft was wrong, not the code
Emma1066/Self-Improve-Zero-Shot-NER/code/utils_parse_answer.py
pointer only (licence: NONE) · get_code("28595443547a8cd2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Emma1066/Self-Improve-Zero-Shot-NER 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.

select_by_random Ran
ran; our contract draft was wrong, not the code
Emma1066/Self-Improve-Zero-Shot-NER/code/utils_conf_selection.py
pointer only (licence: NONE) · get_code("ba9475b25c038542")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Emma1066/Self-Improve-Zero-Shot-NER 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.

select_by_sample_threshold Ran
ran; our contract draft was wrong, not the code
Emma1066/Self-Improve-Zero-Shot-NER/code/utils_conf_selection.py
pointer only (licence: NONE) · get_code("7fcc99da2a2fb2dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Emma1066/Self-Improve-Zero-Shot-NER 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.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 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.

FunctionAlso present inEarliest-datedOthers named
json2dict 1 other paper
1 dated earlier
2310.10035 (2023-10)
Empirical Study of Zero-Shot NER with ChatGPT

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

Repositories linked to this paper

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

Abstract

Exploring the application of powerful large language models (LLMs) on the named entity recognition (NER) task has drawn much attention recently. This work pushes the performance boundary of zero-shot NER with LLMs by proposing a training-free self-improving framework, which utilizes an unlabeled corpus to stimulate the self-learning ability of LLMs. First, we use the LLM to make predictions on the unlabeled corpus using self-consistency and obtain a self-annotated dataset. Second, we explore various strategies to select reliable annotations to form a reliable self-annotated dataset. Finally, for each test input, we retrieve demonstrations from the reliable self-annotated dataset and perform inference via in-context learning. Experiments on four benchmarks show substantial performance improvements achieved by our framework. Through comprehensive experimental analysis, we find that increasing the size of unlabeled corpus or iterations of self-improving does not guarantee further improvement, but the performance might be boosted via more advanced strategies for reliable annotation selection. Code and data are publicly available at https://github.com/Emma1066/Self-Improve-Zero-Shot-NER

For agents

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

get_harvested_code_for_paper("2311.08921")
get_code_for_paper("2311.08921")
have("2311.08921")

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

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

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

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

Connect an agent — have() is free.