Blog
Research

Hidden prompts in papers: how PDF text can influence AI reviews

Hidden prompts in papers can direct an AI to praise a study or change its answer. Learn how PDF reading methods affect what an AI sees and how to check its response.

GZ

Guy Zana · Founder

November 21, 2026 · 5 min read

Share
Hidden prompts in papers: how PDF text can influence AI reviews

A paper can contain instructions that a person reading the PDF cannot see. In a controlled study, hidden instructions changed AI review recommendations. Whether an instruction reaches an AI depends partly on how a tool reads the file.

In November 2026, Taylor & Francis retracted a published paper after finding a hidden instruction to recommend acceptance. The authors confirmed they had added the instruction to a revised manuscript.

A publisher spokesperson told Retraction Watch that the instruction was white and set in one-point type.

The report offers no evidence that an AI followed that particular instruction. But experiments show why researchers who upload papers to AI tools should care about the way a PDF is read.

A paper can contain text that its page does not show

A PDF can contain both a visible page and a text layer that software can extract. A reader may see a normal data availability statement while extracted text also includes an instruction directed at an AI.

A hidden instruction becomes a problem when a model treats source material as a command. Researchers call this prompt injection. A paper is evidence for a research question. Its author does not get to decide how your assistant answers you.

The instruction need not concern peer review. A passage could ask an assistant to omit a limitation or present a claim as settled. A confident response still needs a source check. A response that sounds confident is not proof that the paper gave such an instruction, but it is a reason to check the cited evidence.

Hidden instructions shifted acceptance recommendations in a controlled test

In a January 2026 study in JAMA Network Open, Choi and colleagues tested Claude 3 Haiku, Gemini 2.0 Flash, and GPT 4o mini on simulated reviews of manuscript variants. The researchers placed instructions in white text on a white background and repeated each test condition 30 times.

With a neutral request to review the manuscript, acceptance recommendations rose from zero to nearly 100% across the three tested models when the hidden instruction was present. The researchers also tested a stricter request for critical review. That request did not prevent manipulation for two models, while the third remained near zero acceptance recommendations.

The authors also measured whether the models detected planted flaws. Under their stringent criterion, which required finding all flaws in a section, detection of methods flaws fell from 56.3% to 25.6%.

These are results for the tested models and manuscript variants, not a rate for every AI tool or paper.

A separate example shows that hidden instructions can also be used to detect prohibited AI use. ICML's 2026 program chairs described adding hidden instructions to submitted PDFs. The instructions asked models to include selected phrases in reviews.

The chairs said the method did not catch every AI-generated review and that humans checked flagged reviews.

Page images and extracted text can expose an AI to different content

The text extracted from a PDF and the page rendered for a reader can contain different information. A tool that extracts the text layer may pass hidden text to a model. A tool that renders a page as an image gives a vision model the pixels instead. White text on a white background is not visible in that image.

That distinction does not guarantee safety. A model can follow an instruction that is visible in a page or figure. Tiny dark text might also be legible to a model even when a reader overlooks it. Tools can combine images, extracted text, and metadata, so ask the provider which inputs each stage uses.

A practical question for a provider is: “When I upload a PDF, do you send the extracted text layer, page images, or both to the model?” Follow up by asking whether metadata extraction uses the same inputs. The answer describes what reaches the model, not whether the model will obey an instruction.

Check each cited passage against the AI answer

A PDF search for words such as “ignore” or “instructions” can reveal a suspicious instruction, as one researcher did with a preprint described in the same Retraction Watch report. It cannot prove a file is clean. Instructions can use different words, appear in figures, or be hidden in ways a search does not expose.

When an AI answers from a paper, open each cited passage and compare it with the answer. Check whether the passage supports the claim, including its population, methods, and limitations.

If a response contains an instruction to the assistant or a conclusion unrelated to your question, inspect the source and repeat the question without relying on that response.

For a manuscript you are reviewing for a journal, check the venue's confidentiality and AI policies before uploading it.

Our guides cover checking your own manuscript before submission and evidence checks for venues. Our comparison of AI and human peer review explains what error-detection studies measure.

How Agent Bayes reads a PDF

Agent Bayes renders PDF pages as images at 150 DPI and uses a vision model to extract the content used for indexed passages. This means the passage extraction step receives the rendered page, rather than the PDF text layer. The text layer is used afterward only to correct the spelling of words the vision model already read. Citations in a research project let you open the source passage and check the claim against the paper.

Agent Bayes also reads the text layer of up to the first four pages for metadata detection. A hidden instruction there could reach the metadata model. We have not tested a planted hidden instruction through the full indexing and research workflow, so the page-rendering approach cannot be treated as protection against every prompt injection.

To inspect a paper, add its PDF to an Agent Bayes library, index it, attach the library to a project, and ask a specific question about the paper. Open the cited passage and compare it with the answer. Indexing costs about 0.35 credits per page, with the estimate shown before you start. See how credits work.

New posts, straight to your inbox

No newsletter fluff, just an email when we publish something new.

Email me when a new post is published on the Agent Bayes blog. You can unsubscribe anytime. We'll first send a confirmation email, and we only use your details for this. See our Privacy Policy.

Enjoyed this? Share it.

GZ

Written by

Guy Zana · Founder

We are researchers and engineers building tools that help people reason over large bodies of literature without losing the thread back to the source.