SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.14034 · 2023

Confucius: Iterative Tool Learning from Introspection Feedback by Easy-to-Difficult Curriculum

arXiv · PDF · Open in the Atlas

Code that ran

5 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2308.14034.json · badge: /api/ran/2308.14034.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
shizhl/ctl canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
atoi Ran
ran, honoured the contract we drafted
shizhl/ctl/zero_to_fp.py
pointer only (licence: NONE); the stored copy get_code serves, from harshmaru7/DilatedConv, is pointer only (licence: NONE) · get_code("6dbf1b2a5b901370")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shizhl/ctl 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_model_state_file Ran
ran; our contract draft was wrong, not the code
shizhl/ctl/zero_to_fp.py
pointer only (licence: NONE); the stored copy get_code serves, from rucaibox/lc-rec, is pointer only (licence: NONE) · get_code("3a53f3109825e747")
How it ran

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

natural_keys Ran
ran; our contract draft was wrong, not the code
shizhl/ctl/zero_to_fp.py
pointer only (licence: NONE) · get_code("7052cf0436949e37")
How it ran

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

prepare_inference_data Ran
ran; our contract draft was wrong, not the code
shizhl/ctl/data.py
pointer only (licence: NONE) · get_code("b8baac404d72acb4")
How it ran

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

preprocess Ran
ran; our contract draft was wrong, not the code
shizhl/ctl/utils.py
pointer only (licence: NONE) · get_code("c3571b493dbf1a3d")
How it ran

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

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

make_model_tokenizer Not yet run
unverified (harvested, no recorded run)
shizhl/ctl/utils.py
pointer only (licence: NONE) · get_code("b18b5e8aa8f6dc7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shizhl/ctl 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 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, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 3 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
atoi 13 other papers
5 dated earlier, 8 later
1511.07122 (2015-11)
Multi-Scale Context Aggregation by Dilated Convolutions
1908.03706 (2019-08)
Exploiting temporal consistency for real-time video depth estimation
2104.08773 (2021-04)
Cross-Task Generalization via Natural Language Crowdsourcing Instructions
and 10 more not named here
natural_keys 12 other papers
4 dated earlier, 8 later
1511.07122 (2015-11)
Multi-Scale Context Aggregation by Dilated Convolutions
1908.03706 (2019-08)
Exploiting temporal consistency for real-time video depth estimation
2203.03339 (2022-03)
L2CS-Net: Fine-Grained Gaze Estimation in Unconstrained Environments
and 9 more not named here
get_model_state_file 5 other papers
5 later
2310.09168 (2023-10)
EXPLORE-INSTRUCT: Enhancing Domain-Specific Instruction Coverage through Active Exploration
2311.04072 (2023-11)
Beyond Imitation: Leveraging Fine-grained Quality Signals for Alignment
2311.09049 (2023-11)
Adapting Large Language Models by Integrating Collaborative Semantics for Recommendation
and 2 more not named here

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

Augmenting large language models (LLMs) with external tools has emerged as a promising approach to extending the capability of LLMs. Although some works employ open-source LLMs for the tool learning task, most of them are trained in a controlled environment in which LLMs only learn to execute the human-provided tools. However, selecting proper tools from the large toolset is also a crucial ability for the tool learning model to be applied in real-world applications. Existing methods usually directly employ self-instruction methods to train the model, which ignores differences in tool complexity. In this paper, we propose the Confucius, a novel tool learning framework to train LLM to use complicated tools in real-world scenarios, which contains two main phases: (1) We first propose a multi-stage learning method to teach the LLM to use various tools from an easy-to-difficult curriculum; (2) thenceforth, we propose the Iterative Self-instruct from Introspective Feedback (ISIF) to dynamically construct the dataset to improve the ability to use the complicated tool. Extensive experiments conducted on both controlled and real-world settings demonstrate the superiority of our tool learning framework in the real-world application scenarios compared to both tuning-free (e.g. ChatGPT, Claude) and tuning-based baselines (e.g. GPT4Tools).

For agents

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

get_harvested_code_for_paper("2308.14034")
get_code_for_paper("2308.14034")
have("2308.14034")

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

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

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

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

Connect an agent — have() is free.