Papers › Can AI Assistants Know What They Don't Know?

Can AI Assistants Know What They Don't Know?

24 Jan 2024arXiv:2401.13275archive 2025-07-28

Qinyuan Cheng, Tianxiang Sun, Xiangyang Liu, Wenwei Zhang, Zhangyue Yin, ShiMin Li, Linyang Li, Zhengfu He, Kai Chen, Xipeng Qiu

Recently, AI assistants based on large language models (LLMs) show surprising performance in many tasks, such as dialogue, solving math problems, writing code, and using tools. Although LLMs possess intensive world knowledge, they still make factual errors when facing some knowledge intensive tasks, like open-domain question answering. These untruthful responses from the AI assistant may cause significant risks in practical applications. We believe that an AI assistant's refusal to answer questions it does not know is a crucial method for reducing hallucinations and making the assistant truthful. Therefore, in this paper, we ask the question "Can AI assistants know what they don't know and express them through natural language?" To answer this question, we construct a model-specific "I don't know" (Idk) dataset for an assistant, which contains its known and unknown questions, based on existing open-domain question answering datasets. Then we align the assistant with its corresponding Idk dataset and observe whether it can refuse to answer its unknown questions after alignment. Experimental results show that after alignment with Idk datasets, the assistant can refuse to answer most its unknown questions. For questions they attempt to answer, the accuracy is significantly higher than before the alignment.

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="2401.13275")

Code

Syntology Ran 6 of 12 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 2 ran · fixture could not drive it; 3 ran with no contract checked.

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

openmoss/say-i-dont-know officialmentioned in papermentioned on GitHubpytorch 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

12 samples harvested; 6 ran; 0 honoured the contract we drafted; 6 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
2ran · fixture could not drive it
3ran
6unverified

Licence: 12 of the 12 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 openmoss/say-i-dont-know. “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.

extract_anthropic_prompt openmoss/say-i-dont-know/src/dpo/preference_datasets.py official repository ran · our draft was wrong no licence file found · pointer only · 12f6803880f9b17e · report
gather_log_probs openmoss/say-i-dont-know/src/deepspeed-chat-ppo/ppo_trainer.py official repository ran · fixture could not drive it no licence file found · pointer only · 2f0a690c70d11c23 · report
get_local_run_dir openmoss/say-i-dont-know/src/dpo/utils.py official repository ran no licence file found · pointer only · 10ab71f27ffd7de8 · report
load_auto_model_from_config openmoss/say-i-dont-know/src/Inference/infer_reward_model.py official repository ran no licence file found · pointer only · f2144808e1d3beed · report
preference_loss openmoss/say-i-dont-know/src/dpo/trainers.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · c79211fc0225a27f · report
read_dialogs_from_file openmoss/say-i-dont-know/src/Inference/infer_llama.py official repository ran no licence file found · pointer only · 1d22c4f1f1dac3e2 · report
format_tokens_triviaqa openmoss/say-i-dont-know/src/Inference/infer_llama.py official repository unverified no licence file found · pointer only · b6e833b2bb85ecde · report
format_tokens_triviaqa_for_ppo_reward openmoss/say-i-dont-know/src/Inference/infer_llama.py official repository unverified no licence file found · pointer only · 2bd78998fa0ba9ea · report
get_local_dir openmoss/say-i-dont-know/src/dpo/utils.py official repository unverified no licence file found · pointer only · 8ab43db002bf984d · report
get_remote_file openmoss/say-i-dont-know/src/dpo/utils.py official repository unverified no licence file found · pointer only · e7ce4c19888c6df6 · report
log_init openmoss/say-i-dont-know/src/deepspeed-chat-ppo/rlhf_engine.py official repository unverified no licence file found · pointer only · 429d42a3bf925da5 · report
process openmoss/say-i-dont-know/Idk_datasets/process_sft_data.py official repository unverified no licence file found · pointer only · 16fa287de857029b · report

Tasks

MathOpen-Domain Question AnsweringQuestion AnsweringWorld Knowledge

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

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