Papers › Instruct and Extract: Instruction Tuning for On-Demand Information Extraction

Instruct and Extract: Instruction Tuning for On-Demand Information Extraction

24 Oct 2023arXiv:2310.16040archive 2025-07-28

Yizhu Jiao, Ming Zhong, Sha Li, Ruining Zhao, Siru Ouyang, Heng Ji, Jiawei Han

Large language models with instruction-following capabilities open the door to a wider group of users. However, when it comes to information extraction - a classic task in natural language processing - most task-specific systems cannot align well with long-tail ad hoc extraction use cases for non-expert users. To address this, we propose a novel paradigm, termed On-Demand Information Extraction, to fulfill the personalized demands of real-world users. Our task aims to follow the instructions to extract the desired content from the associated text and present it in a structured tabular format. The table headers can either be user-specified or inferred contextually by the model. To facilitate research in this emerging area, we present a benchmark named InstructIE, inclusive of both automatically generated training data, as well as the human-annotated test set. Building on InstructIE, we further develop an On-Demand Information Extractor, ODIE. Comprehensive evaluations on our benchmark reveal that ODIE substantially outperforms the existing open-source models of similar size. Our code and dataset are released on https://github.com/yzjiao/On-Demand-IE.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.16040")

Code

Syntology Ran 12 of 21 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 11 ran with no contract checked.

By repository: official repository: 21 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yzjiao/on-demand-ie officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested; 12 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
11ran
9unverified

Licence: 21 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yzjiao/On-Demand-IE. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “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.

Each sample ends with its 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.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at 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 label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Prompter yzjiao/On-Demand-IE/training/inference.py official repository ran no licence file found · pointer only · ef6252d46de7c7cc · report
extract_markdown yzjiao/on-demand-ie/evaluation/rougel_for_content.py official repository ran fingerprinted no licence file found · pointer only · 6b370c595a81b22a · report
get_score yzjiao/on-demand-ie/evaluation/rougel_for_content.py official repository ran no licence file found · pointer only · 052514aef99856ca · report
is_markdown_table yzjiao/on-demand-ie/data_generation/filter_table.py official repository ran fingerprinted no licence file found · pointer only · 66a05762df9f31f6 · report
is_markdown_table yzjiao/on-demand-ie/data_generation/filter_table_random.py official repository ran fingerprinted no licence file found · pointer only · 10795bb334d402c7 · report
load_data yzjiao/on-demand-ie/data_generation/filter_table.py official repository ran no licence file found · pointer only · 5f77c565b5e3db71 · report
load_data yzjiao/on-demand-ie/data_generation/generate_fixed_instruction.py official repository ran fingerprinted no licence file found · pointer only · 24e7ec1a7a9f90db · report
load_data yzjiao/on-demand-ie/data_generation/generate_table_cot.py official repository ran fingerprinted no licence file found · pointer only · 71c2752e634dfab4 · report
load_json yzjiao/On-Demand-IE/training/inference.py official repository ran · our draft was wrong no licence file found · pointer only · 70c53f6127609f82 · report
markdown2dic yzjiao/on-demand-ie/data_generation/filter_table.py official repository ran fingerprinted no licence file found · pointer only · e45c55264dd5b82f · report
remove_blank_lines yzjiao/on-demand-ie/data_generation/paraphrase_instruction.py official repository ran no licence file found · pointer only · d29e55e9025baada · report
remove_numbered_sentences yzjiao/on-demand-ie/data_generation/paraphrase_instruction.py official repository ran no licence file found · pointer only · bb3d06806aaa4310 · report
gene_open_instr yzjiao/on-demand-ie/data_generation/generate_open_instruction.py official repository unverified no licence file found · pointer only · 1aac48e34c958bec · report
generate_chat_completion yzjiao/on-demand-ie/data_generation/generate_fixed_instruction.py official repository unverified no licence file found · pointer only · 638a9c1d5efb3f28 · report
generate_chat_completion yzjiao/on-demand-ie/data_generation/generate_open_instruction.py official repository unverified no licence file found · pointer only · 4b24b509e88000c1 · report
generate_chat_completion yzjiao/on-demand-ie/data_generation/generate_table.py official repository unverified no licence file found · pointer only · 38e5559b19e9cbed · report
generate_instruction yzjiao/on-demand-ie/data_generation/generate_fixed_instruction.py official repository unverified no licence file found · pointer only · bc33c96835cef11d · report
generate_table yzjiao/on-demand-ie/data_generation/generate_table.py official repository unverified no licence file found · pointer only · d1ebb5f91c8f27d7 · report
generate_table yzjiao/on-demand-ie/data_generation/generate_table_cot.py official repository unverified no licence file found · pointer only · 786d7aed7211909e · report
generate_text yzjiao/on-demand-ie/data_generation/generate_text.py official repository unverified no licence file found · pointer only · a6f428fed9e294b0 · report
main yzjiao/On-Demand-IE/training/inference.py official repository unverified no licence file found · pointer only · a64c18f13070bb1b · report

Tasks

Instruction Following

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNHOC

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