Prompt-to-Paper: Agentic AI System for Bioinformatics

arXiv cs.AI Papers

Summary

Prompt-to-Paper is a multi-stage multi-agent AI framework for automated bioinformatics manuscript generation that uses deterministic retrieval-augmented generation, an autonomous coding agent for real experiments, and an eight-dimensional quality scorer to produce submission-formatted PDFs at low cost, with validated quality improvements.

arXiv:2607.05456v1 Announce Type: new Abstract: While recent advances in large language models have enabled end-to-end automated manuscript generation, existing systems suffer from three critical deficiencies: (i) generated claims are not deterministically grounded in verifiable literature, (ii) experimental results are frequently fabricated rather than executed, and (iii) there exists no standardized, multi-dimensional framework to assess whether AI-generated manuscripts meet the quality and rigor required for real-world publication. We present Prompt-to-Paper, a multi-agent framework that directly addresses this evaluation gap through three integrated innovations. First, a deterministic retrieval-augmented generation pipeline with section-aware relevance scoring and snowball citation expansion grounds every claim in a verifiable corpus of 60--100 papers. Second, an autonomous coding agent executes real computational biology experiments replacing synthetic outputs with genuine numerical results. Third, an eight-dimensional automated quality scorer, benchmarked with approximate reference statistics from published papers and augmented with explicit hallucination penalties, provides standardized, reproducible quality assessments. The quality-driven improvement loop uses a context-rich reviser that routes each iteration to one of three researcher actions and fires a deep research cycle every ten iterations to re-run experiments and re-manuscript from stronger outputs. We validate the system on five bioinformatics case studies; all five cases compiled submission-formatted PDFs with zero out-of-range citations. The improvement loop raises manuscript quality by an average of +17.96 points on a 0--100 scale (maximum +26.04. As partial external checks, a human reviewer scored the five manuscripts at an average of 7.0 out of 10. Complete manuscripts are produced at approximately 0.31 USD per paper.
Original Article
View Cached Full Text

Cached at: 07/08/26, 04:38 AM

# Prompt-to-Paper: Agentic AI System for Bioinformatics
Source: [https://arxiv.org/html/2607.05456](https://arxiv.org/html/2607.05456)
Ramsha Kamran, Maheera Amjad, Zartasha Mustansar, Arsalan Shaukat, Salma Sherbaz, and Muhammad U\. S\. KhanR\. Kamran, M\. Amjad, Z\. Mustansar, S\. Sherbaz, and M\. U\. S\. Khan are with the School of Interdisciplinary Engineering and Sciences \(SINES\), National University of Sciences and Technology \(NUST\), Islamabad, Pakistan\.A\. Shaukat is with the College of Electrical and Mechanical Engineering \(CEME\), NUST, Rawalpindi, Pakistan\.

###### Abstract

While recent advances in large language models have enabled end\-to\-end automated manuscript generation, existing systems suffer from three critical deficiencies: \(i\) generated claims are not deterministically grounded in verifiable literature, \(ii\) experimental results are frequently fabricated rather than executed, and \(iii\) there exists no standardized, multi\-dimensional framework to assess whether AI\-generated manuscripts meet the quality and rigor required for real\-world publication\. We presentPrompt\-to\-Paper, a multi\-stage multi\-agent framework that directly addresses this evaluation gap through three integrated innovations\. First, a deterministic retrieval\-augmented generation pipeline with section\-aware relevance scoring and snowball citation expansion grounds every claim in a verifiable corpus of 60–100 papers\. Second, an autonomous coding agent executes real computational biology experiments, replacing synthetic outputs with genuine numerical results\. Third, aneight\-dimensionalautomated quality scorer, benchmarked with approximate reference statistics from published papers and augmented with explicit hallucination penalties, provides standardized, reproducible quality assessments\. The quality\-driven improvement loop uses a context\-rich reviser that routes each iteration to one of three researcher actions \(adding statistical analysis from executed results, gathering new literature evidence via a RAG store, or rewriting for clarity\) and fires a deep research cycle every ten iterations to re\-run experiments and re\-manuscript from stronger outputs\. We validate the system on five bioinformatics case studies; all five cases compiled submission\-formatted PDFs with zero out\-of\-range citations\. The improvement loop raises manuscript quality by an average of\+17\.96\+17\.96points on a 0–100 scale \(maximum\+26\.04\+26\.04\)\. As partial external checks, three independent large language models converged on the same quality ranking, and a human reviewer scored the five manuscripts at an average of 7\.0 out of 10\. Complete manuscripts are produced at approximately $0\.31 per paper\.

###### Index Terms:

agentic AI, bioinformatics, automated manuscript generation, retrieval\-augmented generation, scientific quality assessment, deep research cycles\.

## IIntroduction

The human capacity to keep up with the scientific literature has been surpassed\. The number of publications is growing, and researchers are no longer able to track the field\[[1](https://arxiv.org/html/2607.05456#bib.bib1)\]\. This quantitative pressure has contributed to a measurable decrease in quality and persistent problems of reproducibility and validation\[[2](https://arxiv.org/html/2607.05456#bib.bib2),[3](https://arxiv.org/html/2607.05456#bib.bib3)\]\. As retractions and corrections have increased, the scientific system faces an integrity crisis it can no longer reliably self\-correct\[[4](https://arxiv.org/html/2607.05456#bib.bib4),[5](https://arxiv.org/html/2607.05456#bib.bib5)\]\.

AI has transformed the process of scientific writing, yet this shift introduces a challenge that remains unresolved: how do we validate automated papers when researchers already struggle to validate human\-written ones? The real question is not whether AI can write a paper, but whether the paper it writes is actually good and fills a genuine scientific void\.

The impacts are beginning to be felt\. A paper published in February 2024 on spermatogonial stem cells passed the review process despite concerns about AI\-generated content and was subsequently retracted\[[6](https://arxiv.org/html/2607.05456#bib.bib6)\]\. Similarly, Sakana AI’s system for automating idea generation, experiments, paper writing, and peer review passed the initial review stages of a real workshop, yet the authors noted hallucinated citations, weak novelty, experimental errors, and poor reproducibility\[[7](https://arxiv.org/html/2607.05456#bib.bib7),[8](https://arxiv.org/html/2607.05456#bib.bib8)\]\. There is a common cause in both cases: evaluating the quality, validity, and publishability of AI\-generated scientific papers is still a major unsolved challenge\[[9](https://arxiv.org/html/2607.05456#bib.bib9),[8](https://arxiv.org/html/2607.05456#bib.bib8)\]\.

We presentPrompt\-to\-Paper: An Agentic AI System for Bioinformatics, a multi\-agent framework that closes this gap through:

- •Deterministic RAG\-based retrieval grounded in 60–100 verified real papers,
- •An autonomous coding agent that executes real experiments and injects verified numeric results into every manuscript section,
- •An eight\-dimensional automated quality scorer with hallucination penalties,
- •A context\-rich iterative improvement loop with deep research cycles that sustain quality gains past the prose\-polishing plateau\.

## IIRelated Work

### II\-AKnowledge\-Grounded Scientific Writing

PaperRobot\[[10](https://arxiv.org/html/2607.05456#bib.bib10)\]constructs a knowledge graph of over 1\.6 million biomedical entities and uses graph and text attention to predict novel hypotheses, generating abstracts, conclusions, and follow\-on titles\. In Turing tests its abstracts were preferred over human ones 30% of the time\. However, the system uses a static, pre\-built knowledge graph; it does not retrieve or verify facts from live literature during generation, and never executes real experiments\. PaSa\[[11](https://arxiv.org/html/2607.05456#bib.bib11)\]addresses the retrieval problem with an LLM\-powered search agent that autonomously traverses citation networks, achieving significant recall improvements\. ScholarGym\[[12](https://arxiv.org/html/2607.05456#bib.bib12)\]provides a 570K\-paper simulation environment for reproducible evaluation of research workflows\. These systems focus on retrieval or evaluation but lack an integrated writing or revision component\.

### II\-BIterative Manuscript Refinement

CycleResearcher\[[13](https://arxiv.org/html/2607.05456#bib.bib13)\]trains a policy model that generates complete papers and a reward model \(CycleReviewer\) that mimics peer review, both updated iteratively via reinforcement learning\. CycleReviewer reduces reviewer\-score prediction error by 27% compared to individual human reviewers, and the generated papers achieve a mean simulated score of 5\.36/10, close to the human\-preprint average of 5\.24\. However, the authors explicitly report that all experimental numbers are synthetic rather than executed, the system is locked to machine learning papers, and the evaluation relies entirely on the simulated reviewer with no ground\-truth quality check\. OpenLens AI\[[14](https://arxiv.org/html/2607.05456#bib.bib14)\]addresses health informatics through multi\-agent literature review and data analysis, but lacks rigorous benchmarking against general\-purpose systems and does not execute real experiments\.

### II\-CResearch Gaps

The above analysis reveals three open challenges\. First, current systems rely on domain\-specific training data or static knowledge graphs and do not generalise\. Second, deterministic retrieval over a verifiable live corpus is absent, and hallucinated or synthetic results are common\. Third, no system combines real experiment execution with a multi\-dimensional, penalty\-equipped quality scorer\. Our system addresses all three\.

## IIIMethodology

Research Landscape Explorer v4 \(RLEv4\), the implementation backbone ofPrompt\-to\-Paper, is a multi\-agent pipeline that converts a research topic into a submission\-formatted manuscript with minimal human involvement\. It overcomes three principal weaknesses of prior systems: lack of verifiable literature grounding, absence of real experiment execution, and no iterative quality control\. The pipeline has five high\-level stages: literature acquisition and relevance scoring, knowledge graph construction and claim alignment, manuscript generation, autonomous bioinformatics experimentation, and context\-rich quality\-driven revision\.

While systems like Gemini\[[15](https://arxiv.org/html/2607.05456#bib.bib15)\]demonstrate AI as a collaborative partner in mathematical discovery, RLEv4 provides a fully automated, production\-ready pipeline for the entire research lifecycle without requiring expert\-level prompting at every stage\.

![Refer to caption](https://arxiv.org/html/2607.05456v1/architecture.png)Figure 1:Planning\-agent output for the TP53 hotspot mutation physicochemical analysis\. Each block is a functional stage grouped into data, model, evaluation, and output layers; arrows trace the data flow from raw sequences through physicochemical computation and permutation testing to the final visualisation\.### III\-ALiterature Acquisition and Relevance Scoring

Given a research topictt, RLEv4 retrieves real academic papers from Semantic Scholar and, when configured, Tavily\. For each paperpp, the pipeline extracts its title, abstract, year, citation count, venue, and, when available via PDF acquisition and section segmentation, full\-text sections\. A section\-aware relevance score is computed as:

R​\(p,t\)=∑s∈Sws⋅cos⁡\(𝐞s​\(p\),𝐞q​\(t\)\),R\(p,t\)=\\sum\_\{s\\in S\}w\_\{s\}\\cdot\\cos\\\!\\left\(\\mathbf\{e\}\_\{s\}\(p\),\\,\\mathbf\{e\}\_\{q\}\(t\)\\right\),\(1\)whereSSis the set of parsed sections \(abstract, methods, results, introduction, discussion, conclusion\);wsw\_\{s\}are empirically set weights \(abstract 0\.30, methods 0\.25, results 0\.20, introduction 0\.12, discussion 0\.08, conclusion 0\.05\);𝐞s​\(p\)\\mathbf\{e\}\_\{s\}\(p\)is a SPECTER2 embedding of sectionss\(or a BM25\+ salient\-section fallback when SPECTER2 is unavailable\); and𝐞q​\(t\)\\mathbf\{e\}\_\{q\}\(t\)is the query embedding\.

An initial seed set of up to 60 papers is expanded by snowball sampling inspired by PaSa\[[11](https://arxiv.org/html/2607.05456#bib.bib11)\]: for each seed paper the pipeline fetches its references and citations via the Semantic Scholar batch API, computesR​\(⋅,t\)R\(\\cdot,t\)for candidates, and retains those exceeding a relevance thresholdτ∈\[0\.05,0\.08\]\\tau\\in\[0\.05,0\.08\]\. Two snowball iterations produce a final corpus of 60–100 papers\. A diversity ranker then orders the corpus by a composite score combining citation count, recency, and automatically detected research stance \(favour/against/comparison\), using the heuristic keyword approach from EpidemIQs\[[16](https://arxiv.org/html/2607.05456#bib.bib16)\]to surface contradictory evidence alongside supportive work\.

### III\-BKnowledge Graph and Claim Alignment

From the top\-ranked papers the pipeline constructs a directed graphG=\(V,E\)G=\(V,E\)in which nodes represent papers and edges represent citations\. PageRank scoresPR​\(v\)\\mathrm\{PR\}\(v\)are computed over the paper subgraph to identify influential works\. In parallel, a claim extraction module prompts the leader model with each paper’s abstract, results, and conclusion to produce up to five falsifiable claims per paper, stored in a relational SQLite database alongside the corpus\.

![Refer to caption](https://arxiv.org/html/2607.05456v1/result1.png)Figure 2:Knowledge graph of claim alignments for the TP53 query\. Nodes are papers, sized by PageRank; edges are coloured by claim relation:Supports\(green\),Contradicts\(red\),Orthogonal\(blue\)\. Red edges mark genuine disagreements that the manuscript’s gap analysis targets directly\.![Refer to caption](https://arxiv.org/html/2607.05456v1/result2.png)Figure 3:Papers view of the RLEv4 interactive dashboard for the TP53 hotspot\-mutation query, showing corpus statistics, per\-paper citation counts, relevance scores, detected research stances, and extracted key claims\.Claim alignment builds a matrix of pairwise relations\. For claimscic\_\{i\}andcjc\_\{j\}from different papers, the leader model classifies the relation asSupports,Contradicts, orOrthogonal; a heuristic keyword\-overlap fallback is used when the LLM is unavailable\. The resulting contradictions and consensus statements directly inform the manuscript’s gap analysis, extending the pairwise comparison paradigm of CycleResearcher\[[13](https://arxiv.org/html/2607.05456#bib.bib13)\]to a live, corpus\-grounded setting\.

### III\-CLeader\-Worker Model Routing

All LLM calls are routed through a two\-tier DeepSeek\-only stack enforced by the hard switchUSE\_ONLY\_DEEPSEEK=1\. Theleaderrole \(quality judging, gap\-finding, synthesis, and deep\-cycle re\-manuscripting\) usesdeepseek\-v4\-pro, a reasoning\-capable model whose chain\-of\-thought aids analytical depth\. Theworkerrole \(section writing, code generation, JSON planning\) usesdeepseek\-chat, a fast non\-reasoning model that reliably emits structured outputs without leaking planning prose into the manuscript\. This split is the direct result of a failure observed with earlier cross\-model configurations: when the quality judge spent its output budget on hidden reasoning rather than emitting clean JSON, the G\-Eval scorer silently fell back to a neutral prior for every dimension, making the improvement loop content\-independent and causing the overall score to freeze regardless of manuscript quality\. Routing the judge to a reasoning model while keeping section writing on a fast chat model resolves both problems simultaneously\.

The leader constructs a JSON specification of the pipeline’s functional layers and their data flow, as shown in the planning\-agent output in Fig\.[1](https://arxiv.org/html/2607.05456#S3.F1), before any writing begins\. The worker then drafts each section in sequence, guided by structured prompts that enforce active voice, precise numerical reporting, and avoidance of generic filler phrases\. After generation the leader re\-evaluates each section, providing revision feedback before the worker revises\.

### III\-DAutonomous Bioinformatics Experimentation

For computational biology topics, RLEv4 invokes an autonomous coding agent inspired by the execution layer of EpidemIQs\[[16](https://arxiv.org/html/2607.05456#bib.bib16)\]\. The agent receives a detailed task query embedding the bioinformatics problem, hardcoded reference data, and all required algorithmic steps, then autonomously writes, executes, and debugs Python scripts that:

- •Use hardcoded sequences and matrices \(no network calls during experiments\), with NCBI Entrez fallbacks wrapped in five\-retry exponential\-backoff loops\.
- •Perform progressive multiple sequence alignment \(match=2=2, mismatch=−1=\-1, gap open=−5=\-5, gap extend=−2=\-2\) and compute Jukes\-Cantor distancesd=−34​ln⁡\(1−4​p3\)d=\-\\frac\{3\}\{4\}\\ln\\\!\\left\(1\-\\frac\{4p\}\{3\}\\right\)\.
- •Execute statistical validation via an injectedrigor\.pymodule: permutation tests \(n=5,000n=5\{,\}000shuffles\), bootstrap confidence intervals, Benjamini\-Hochberg multiple\-comparison correction, Cohen’sddeffect sizes, and null\-baseline comparisons\.
- •Save all numeric findings to a canonicalresults\.jsonand at least one publication\-qualityplot\.png\.

A pre\-execution syntax gate \(ast\.parse\) catches unclosed brackets and truncated f\-strings before they consume a full attempt; on failure a focused repair prompt targeting the exact offending line is sent before falling back to a full regeneration\. The agent runs in a sandboxed environment with a one\-hour timeout and up to 12 genuine execution attempts \(BIO\_MAX\_REAL\_ATTEMPTS=12\)\. Successful runs produce a canonicalCanonicalResultsobject whose numbers are injected verbatim into every manuscript section, guaranteeing numerical consistency across the paper\. Unlike CycleResearcher\[[13](https://arxiv.org/html/2607.05456#bib.bib13)\], which explicitly fabricates experimental results, our agent executes real computations and the manuscript reports only those verified outputs\.

### III\-EQuality Scoring

The manuscript is scored across eight dimensions: novelty, contribution, soundness, presentation, reproducibility, grounding, gap relevance, and structural completeness\. A three\-tier hybrid scorer computes each dimension, and the tiers are weighted 0\.55, 0\.25, and 0\.20\. Figure[4](https://arxiv.org/html/2607.05456#S3.F4)shows the full evaluation architecture\.

RLE v4 — evaluation architectureThree\-tier hybrid scorer with deepseek\-v4\-pro G\-Eval judgeManuscript7 sections \+ refsCorpus paperstop\-60 rankedCanonical resultsresults\.json verifiedSynthesisgaps \+ hypothesisTier 1 — G\-Eval LLM\-as\-judge \(55% weight\)⋅\\cdotdeepseek\-v4\-pro \(reasoning model\)Novelty0–10ICLR\-cal\.5\.85\.8=5\.8Contribution0–10ICLR\-cal\.6\.06\.0=6\.0Soundness0–10ICLR\-cal\.6\.46\.4=6\.4Presentation0–10ICLR\-cal\.6\.66\.6=6\.6Repro\.0–10ICLR\-cal\.5\.55\.5=5\.5Grounding0–10ICLR\-cal\.6\.26\.2=6\.2Gap Rel\.0–10ICLR\-cal\.5\.95\.9=5\.9Struct\.0–10ICLR\-cal\.7\.07\.0=7\.0zz\-norm→\\to0–100: score=50\+z×16\.7=50\+z\\times 16\.7Tier 2 — entity network \(25% weight\)Anchor coveragecorpus key\-term hitsRef diversityunique cited / totalTier 3 — heuristic features \(20% weight\)Word countlength scoreTable countsoundness proxyMath densityper 1k wordsHallucination audit \(penalty\)Citation checkbound = len\(corpus\)no \[N\]\>\>boundNumeric mismatchvs canonical resultsexact\-value matchScore blenderdim=0\.55⋅=0\.55\\cdotT1\+0\.25⋅\+0\.25\\cdotT2\+0\.20⋅\+0\.20\\cdotT3halluc penalty on grounding\+\+soundnessOverall score / 100avg 8 dims⋅\\cdotglobal halluc penalty×\\times0\.3Grade A–D85\+\+=A, 75\+\+=A\-, 65\+\+=B\+\+…Venue tiertop\-tier / mid / workshopRecall@20PaSa\-style metric

Figure 4:RLEv4 evaluation architecture\. The three\-tier hybrid scorer combines deepseek\-v4\-pro G\-Eval judgement \(Tier 1, 55%\), corpus\-entity network metrics \(Tier 2, 25%\), and heuristic surface features \(Tier 3, 20%\), with a deterministic hallucination audit applying a penalty to grounding and soundness before blending into the overall 0–100 score\.Tier 1 \(55%\): G\-Eval LLM\-as\-judge\.The leader model \(deepseek\-v4\-pro\) scores each dimension on a 0–10 scale\. Each raw scorerdr\_\{d\}is z\-normalised against approximate ICLR 2023–2025 reference calibrations\(μd,σd\)\(\\mu\_\{d\},\\sigma\_\{d\}\)and mapped to 0–100:

Td\(1\)=clip​\(50\+16\.7​rd−μdσd,0,100\)\.T^\{\(1\)\}\_\{d\}=\\mathrm\{clip\}\\\!\\\!\\left\(50\+16\.7\\,\\tfrac\{r\_\{d\}\-\\mu\_\{d\}\}\{\\sigma\_\{d\}\},\\;0,\\;100\\right\)\.To prevent stochastic noise on untouched sections from swamping the signal on the one being revised, scoring is*stabilised*: only the dimensions whose rubric depends on the sections changed in a given iteration are re\-judged; all other dimensions carry forward from the best\-so\-far score card\. This was essential: without stabilisation, the improvement loop repeatedly accepted and then rejected the same revision because judge variance on irrelevant dimensions swung the overall score by more than the real gain\.

Tier 2 \(25%\): corpus entity\-network\.Letc∈\[0,1\]c\\in\[0,1\]be corpus key\-term anchor coverage andρ\\rhobe reference diversity \(unique cited / total corpus\)\. Base scoreb=100​\(0\.6​c\+0\.4​ρ\)b=100\(0\.6c\+0\.4\\rho\)feeds most dimensions; grounding uses100​c100c; presentation and structural completeness receive a neutral prior of 50 as they are not estimable from entity frequencies alone\.

Tier 3 \(20%\): heuristic surface features\.Word count \(length score\), table count \(soundness proxy\), math density per 1000 words, and section completeness\.

The per\-dimension blendsd=0\.55​Td\(1\)\+0\.25​Td\(2\)\+0\.20​Td\(3\)s\_\{d\}=0\.55\\,T^\{\(1\)\}\_\{d\}\+0\.25\\,T^\{\(2\)\}\_\{d\}\+0\.20\\,T^\{\(3\)\}\_\{d\}is then adjusted by the deterministic hallucination penalty:

Ph=min\(1,0\.5​bcite\+0\.3​min⁡\(1,0\.05​nmis\)\+0\.2max\(0,0\.30−κ\)\),\\begin\{split\}P\_\{h\}=\\min\\\!\\Big\(1,\\;&0\.5\\,b\_\{\\text\{cite\}\}\+0\.3\\min\(1,\\,0\.05\\,n\_\{\\text\{mis\}\}\)\\\\ &\{\}\+\\,0\.2\\max\(0,\\,0\.30\-\\kappa\)\\Big\),\\end\{split\}wherebciteb\_\{\\text\{cite\}\}is the fraction of \[N\] markers outside the valid reference range,nmisn\_\{\\text\{mis\}\}is the count of abstract numeric values that disagree with the canonical results, andκ\\kappais citation coverage\. This penalty applies locally to grounding and soundness, and globally to the overall score:

Q=18​∑dsd⋅\(1−0\.3​Ph\)\.Q=\\tfrac\{1\}\{8\}\\textstyle\\sum\\nolimits\_\{d\}s\_\{d\}\\cdot\(1\-0\.3\\,P\_\{h\}\)\.The citation\-range check uses the strict boundmax\_valid\_ref = len\(corpus\), ensuring any \[N\] marker outside the actual retrieved corpus is flagged\.

Scores are mapped to letter grades \(A≥85A\\geq 85,A−≥75A^\{\-\}\\geq 75,B\+≥65B^\{\+\}\\geq 65,B≥55B\\geq 55,C≥45C\\geq 45, elseDD\) and a venue tier\.

### III\-FContext\-Rich Iterative Improvement with Deep Research Cycles

The improvement loop runs for a configurable number of iterations \(default 60, set viaIMPROVE\_ITERATIONS\) and is driven by theContextRichImprover, which extends a basic section\-rewriting loop in four directions\.

Researcher\-action routing\.Each iteration identifies the weakest\-scoring dimension and selects a revision*action*based on the root cause most likely to improve that dimension:

- •add\_analysis: for soundness, contribution, and reproducibility\. Surfaces every validated statistic fromresults\.json\(permutation p\-values, bootstrap CIs, effect sizes, BH\-corrected q\-values, null\-baseline comparisons\) and inserts them into the appropriate section as grounded quantitative claims\.
- •gather\_evidence: for grounding, novelty, and gap relevance\. Queries the persistent ChromaDB RAG store \(populated from SPECTER2 embeddings of all corpus papers\) for the most relevant abstracts and methods snippets, and uses them to add or sharpen a \[N\]\-cited claim\.
- •rewrite: for presentation and structural completeness\. Reorganises prose, defines notation, and ensures every figure and table is referenced in text\.

If a dimension fails to improve across three consecutive targeting attempts, the action escalates to the next in the ladder \(add\_analysis→\\togather\_evidence→\\torewrite\), preventing the doom\-loop of repeated ineffective rewording\.

Compacted revision memory\.AnImproverMemoryobject records the dimension, action, and score delta of each revision\. The four most recent entries are kept verbatim; older entries are compacted into a one\-line summary string and injected into the revision prompt so the worker model does not repeat previously rejected moves\.

Full judge context\.The complete judge report, covering all eight dimension scores with their rationales and concrete actionable fix suggestions, is injected into every revision prompt via\_full\_judge\_remarks\(\), so each rewrite implements specific reviewer feedback rather than vague “improve this dimension” instructions\.

Deep research cycles\.EveryK=⌊IMPROVE\_ITERATIONS/6⌋K=\\lfloor\\texttt\{IMPROVE\\\_ITERATIONS\}/6\\rflooriterations \(with a minimum of 5; for the default 60\-iteration runK=10K=10\), the loop switches from prose polishing to a full research cycle:

1. 1\.The leader reads the*entire*current manuscript together with all accumulated judge reports and produces a JSON gap\-finder plan identifying one concrete scientific gap the draft cannot yet support with its current data\.
2. 2\.The gap plan is forwarded to the planning agent \(generate\_architecture\_plan\), which produces a revised pipeline architecture for the new experiment\.
3. 3\.The coding agent receives the new architecture plan*and the previously executed script*, with an instruction to improve and extend it rather than rewrite from scratch\. It runs the augmented script for real, producing stronger numeric outputs and additional figures or tables\.
4. 4\.The full manuscript is re\-written by the leader from the combination of prior research, the identified gap, fresh RAG evidence, and the newly executed canonical results\.
5. 5\.The revised draft replaces the working document only if its overall score does not fall below the current best by more than 0\.01 points \(the never\-regress guarantee\)\.

This cycle does not merely polish prose: it expands the scientific content of the paper by running new experiments, grounding new claims in their verified outputs, and updating every section to reflect the additional evidence\. For the 60\-iteration configuration, deep cycles fire at iterations 10, 20, 30, 40, 50, and 60, interspersing one real experiment with every ten prose refinements\.

The loop maintains a best\-scoring store and accepts a candidate revision only when it improves the overall score \(or, in a tie on overall score, improves the targeted dimension while not regressing any other\)\. A patience\-based early stopping rule and a per\-dimension cooldown period prevent the loop from wasting iterations on dimensions that have converged\.

next iterationRLE v4 — improvement loop architectureContext\-rich iterative refinement with deep research cyclesInitial manuscript7 sections assembledInitial score cardsnapshotted pre\-loopbest\_sections\+best\_score\_cardalways holds highest overall\_score seen so farBefore PDF exportbefore\_improvement/manuscript\.pdfiteration≤\\leqmax\_iterations?No→\\todoneReturnbestYesFind weakest dim \+ route actionADD\_ANALYSIS / GATHER\_EVIDENCE / REWRITE \(escalates on failure\)iter %KK=0?deep cycleYesGap\-find\+run code\+re\-manuscriptNoSection revision \(deepseek\-chat worker\)Strip MD tablesbefore LLM sendRewrite sectionaction\+memory\+RAGRe\-append tablecanonical verbatimimprovement\_history\{iteration, weakest\_dim,action, score\_before,score\_after, accepted,halluc\_penalty\}Re\-score \(stabilized: only changed dims re\-judged\)HallucinationAuditor \+ ManuscriptQualityScorerunchanged dims carry forward from best cardscore≥\\geqbest?Yes→\\toacceptUpdatebest storeNo→\\todiscardDiscardcontinue

Figure 5:RLEv4 improvement loop architecture\. EveryK=10K=10iterations \(for the 60\-iteration default\) a deep research cycle fires: the leader reads the full paper, identifies a gap, the coding agent improves the existing script and runs it, and the manuscript is re\-written from the stronger outputs\. Between deep cycles, action routing \(ADD\_ANALYSIS / GATHER\_EVIDENCE / REWRITE\) with compacted revision memory ensures each prose iteration targets the real root cause\. The never\-regress guard ensures the best\-so\-far manuscript is always monotonically non\-decreasing in quality\.
### III\-GLaTeX Export and PDF Compilation

The final manuscript is converted from Markdown \(with \[N\] citation markers and LaTeX math\) to a submission\-formatted\.texfile by a custom\_md\_to\_latexpipeline\. Key steps include: removal of duplicate section headings; preservation of math regions \(`$\.\.\.$`and`$$\.\.\.$$`\) during character\-level escaping; conversion of markdown tables totabularx\(wide\) ortabular\(narrow\); full Unicode\-to\-ASCII transliteration that protects LaTeX commands and math operators; and embedding of architecture SVGs \(rasterised viacairosvgormatplotlib\) and experiment plots\. An eight\-stage escalating compile pipeline attemptspdflatexandbibtex; on failure each stage applies progressively stronger fixes \(deterministic math repair, LLM\-assisted preamble correction, figure\-preserving math stripping, and a guaranteed minimal\-article fallback\) to ensure a PDF is always produced\.

Algorithm[1](https://arxiv.org/html/2607.05456#alg1)summarises the complete pipeline\.

Algorithm 1RLEv4 – Complete Pipeline0:Research topic

tt; bioinformatics task query

qq
0:Manuscript PDF \(before and after improvement\) and quality score

QQ
1:

papers←RetrieveLiterature​\(t\)\\text\{papers\}\\leftarrow\\text\{RetrieveLiterature\}\(t\)\{Semantic Scholar \+ Tavily; deduplicated\}

2:foreach

ppin papersdo

3:

R​\(p,t\)←SectionAwareScore​\(p,t\)R\(p,t\)\\leftarrow\\text\{SectionAwareScore\}\(p,t\)\{Eq\. \([1](https://arxiv.org/html/2607.05456#S3.E1)\); SPECTER2 or BM25\+\}

4:endfor

5:

papers←SnowballExpand​\(papers,τ,iterations=2\)\\text\{papers\}\\leftarrow\\text\{SnowballExpand\}\(\\text\{papers\},\\,\\tau,\\,\\text\{iterations\}=2\)\{up to 100 papers\}

6:

papers←DiversityRank​\(papers,strategy=research\_guidance\)\\text\{papers\}\\leftarrow\\text\{DiversityRank\}\(\\text\{papers\},\\,\\text\{strategy=research\\\_guidance\}\)
7:

G←BuildKnowledgeGraph​\(papers\)G\\leftarrow\\text\{BuildKnowledgeGraph\}\(\\text\{papers\}\)\{PageRank; HITS authority/hub\}

8:

claims←ExtractClaims​\(papers\)\\text\{claims\}\\leftarrow\\text\{ExtractClaims\}\(\\text\{papers\}\)\{deepseek\-chat worker; up to 5 per paper\}

9:

alignments←AlignClaims​\(claims\)\\text\{alignments\}\\leftarrow\\text\{AlignClaims\}\(\\text\{claims\}\)\{SUPPORTS / CONTRADICTS / ORTHOGONAL\}

10:

plan←PlanArchitecture​\(t\)\\text\{plan\}\\leftarrow\\text\{PlanArchitecture\}\(t\)\{JSON layer specification from deepseek\-v4\-pro\}

11:

results←AutonomousCodingAgent​\(q,plan\)\\text\{results\}\\leftarrow\\text\{AutonomousCodingAgent\}\(q,\\,\\text\{plan\}\)\{real execution; rigor\.py stats module injected\}

12:

manuscript←LeaderWorkerWrite​\(plan,papers,alignments,results\)\\text\{manuscript\}\\leftarrow\\text\{LeaderWorkerWrite\}\(\\text\{plan\},\\,\\text\{papers\},\\,\\text\{alignments\},\\,\\text\{results\}\)\{leader: deepseek\-v4\-pro; worker: deepseek\-chat\}

13:

ExportPDF​\(manuscript,“before\_improvement”\)\\text\{ExportPDF\}\(\\text\{manuscript\},\\,\\text\{\`\`before\\\_improvement''\}\)
14:

Q0←QualityScorer​\(manuscript,papers\)Q\_\{0\}\\leftarrow\\text\{QualityScorer\}\(\\text\{manuscript\},\\,\\text\{papers\}\)\{8\-dim hybrid; initial score card\}

15:for

iter=1\\text\{iter\}=1toIMPROVE\_ITERATIONS\(default 60\)do

16:ifiter

modK=0\\bmod K=0\(

K=⌊IMPROVE\_ITERATIONS/6⌋K=\\lfloor\\text\{IMPROVE\\\_ITERATIONS\}/6\\rfloor, min 5\)then

17:

gap←GapFinder​\(manuscript,Q,RAG\)\\text\{gap\}\\leftarrow\\text\{GapFinder\}\(\\text\{manuscript\},\\,Q,\\,\\text\{RAG\}\)\{leader reads full paper \+ judge reports\}

18:

results←AutonomousCodingAgent​\(gap,prev\_script\)\\text\{results\}\\leftarrow\\text\{AutonomousCodingAgent\}\(\\text\{gap\},\\,\\text\{prev\\\_script\}\)\{extends existing code; real run\}

19:

manuscript←ReManuscript​\(manuscript,gap,results,RAG\)\\text\{manuscript\}\\leftarrow\\text\{ReManuscript\}\(\\text\{manuscript\},\\,\\text\{gap\},\\,\\text\{results\},\\,\\text\{RAG\}\)\{adopt iff non\-regressing\}

20:endif

21:

W←arg⁡mind⁡sdW\\leftarrow\\arg\\min\_\{d\}s\_\{d\}\{weakest dimension \(respecting cooldown\)\}

22:

action←RouteAction​\(W,fail\_streak​\[W\]\)\\text\{action\}\\leftarrow\\text\{RouteAction\}\(W,\\,\\text\{fail\\\_streak\}\[W\]\)\{ADD\_ANALYSIS / GATHER\_EVIDENCE / REWRITE\}

23:

candidate←ReviseSection​\(manuscript,W,action,memory,RAG,Q\)\\text\{candidate\}\\leftarrow\\text\{ReviseSection\}\(\\text\{manuscript\},\\,W,\\,\\text\{action\},\\,\\text\{memory\},\\,\\text\{RAG\},\\,Q\)
24:

Q′←QualityScorer​\(candidate,papers,stabilized=True\)Q^\{\\prime\}\\leftarrow\\text\{QualityScorer\}\(\\text\{candidate\},\\,\\text\{papers\},\\,\\text\{stabilized=True\}\)
25:if

Q′≥QQ^\{\\prime\}\\geq Q\(or dim

WWimproves while overall ties\)then

26:

manuscript←candidate\\text\{manuscript\}\\leftarrow\\text\{candidate\};

Q←Q′Q\\leftarrow Q^\{\\prime\}\{update best store\}

27:endif

28:

memory\.record​\(iter,W,action,Q,Q′,accepted\)\\text\{memory\.record\}\(\\text\{iter\},\\,W,\\,\\text\{action\},\\,Q,\\,Q^\{\\prime\},\\,\\text\{accepted\}\)
29:endfor

30:

ExportPDF​\(manuscript,“after\_improvement”\)\\text\{ExportPDF\}\(\\text\{manuscript\},\\,\\text\{\`\`after\\\_improvement''\}\)
31:return

PDF,Q\\text\{PDF\},\\;Q

All thresholds and model choices were determined through pilot experimentation on a held\-out set of 20 research topics\. The system is implemented in Python 3\.10 and runs on a standard cloud instance; end\-to\-end execution for a typical problem takes approximately 100–190 minutes at 60 improvement iterations with deep cycles\. The complete source code, prompts, and evaluation datasets are available athttps://github\.com/Ramshakk/Prompt\-to\-Paper\-Agentic\-AI\-System\-for\-Bioinformatics\.

## IVResults

We evaluate RLEv4 on five bioinformatics case studies spanning substitution matrix spectral analysis, protein physicochemical characterisation, genomic CpG island detection, codon adaptation index bootstrap sensitivity, and codon usage bias and Shannon entropy\. All five problems used the full pipeline: 60 improvement iterations, deep research cycles every 10 iterations, and theUSE\_ONLY\_DEEPSEEK=1routing\. All five produced compiled PDFs for both the before\- and after\-improvement exports\.

### IV\-AIterative Improvement Performance

Table[I](https://arxiv.org/html/2607.05456#S4.T1)shows the initial and final quality scores for all five case studies and the dimensions targeted by the improvement loop\.

Table I:Improvement Loop Results \(60 iterations, deep cycles every 10 iterations\)Notes:All five runs completed the full 60 iterations\. All five produced compiled PDFs for both the before\- and after\-improvement exports\. Scores are on a 0–100 scale; grade mapping:B\+≥65B^\{\+\}\\geq 65,B≥55B\\geq 55\.

The improvement loop delivers substantial gains across all five problems, with an average of\+17\.96\+17\.96points and a maximum of\+26\.04\+26\.04points for CpG Island Detection\. The range of initial scores \(37\.16–51\.84\) reflects genuine variation in problem complexity and initial draft quality; the final scores cluster in a tighter B–B\+band \(60\.88–68\.55\), suggesting the loop normalises quality across problem types\. The pattern of targeted dimensions shows the loop working as designed: structural completeness and soundness are the most frequently targeted dimensions, consistent with the observation that newly generated drafts tend to be well\-organised in outline but lack rigorous statistical reporting, which is exactly the gap theadd\_analysisaction and deep research cycles are designed to close\.

![Refer to caption](https://arxiv.org/html/2607.05456v1/improvement_curve-3.png)Figure 6:Improvement loop convergence for the Substitution Matrix Eigenspectrum case \(representative of all five runs\)\. Panel \(A\): best\-so\-far overall score \(blue monotone line\), accepted candidates \(green diamonds\), and rejected candidates \(grey crosses\)\. The score rises from 51\.84 to 68\.55 over 60 iterations; vertical dashed lines mark deep research cycle boundaries at iterations 10, 20, 30, 40, 50, and 60\. Score jumps are visibly larger at cycle boundaries, confirming that re\-running experiments and re\-manuscripting from stronger results produces more improvement per iteration than prose polishing alone\. Panel \(B\): per\-dimension initial\-vs\-final bars showing the largest gains in reproducibility, soundness, and grounding\. Panel \(C\): hallucination signal per candidate \(bad citations and numeric mismatches\); zero bad citations are recorded throughout\. Panel \(D\): cumulative cost and accepted\-revision count\. Panel \(E\): run summary\. All values are read from real per\-iteration run records\.Figure[6](https://arxiv.org/html/2607.05456#S4.F6)shows the convergence curve for Problem 1 \(Substitution Matrix Eigenspectrum\)\. The score rises from 51\.84 to 68\.55 over 60 iterations with a pattern that clearly reflects the deep research cycle structure: score increments at cycle boundaries \(iterations 10, 20, 30, 40, 50\) are visibly larger than those from pure prose polishing\. This confirms the core motivation for the deep cycle: prose polishing can only refine existing claims, but re\-running experiments with an improved script generates new verified numbers that provide genuine additional evidence for the scorer to reward\.

### IV\-BPer\-Dimension Quality Breakdown

Table[II](https://arxiv.org/html/2607.05456#S4.T2)reports the final per\-dimension scores for all five manuscripts\.

Table II:Per\-Dimension Quality Scores \(0–100 scale, after 60 improvement iterations\)Note:Structural completeness is the most variable dimension \(32\.50–67\.65\), reflecting differences in how well the deep research cycles could expand each problem’s experimental section\.

The dimension breakdown reveals a consistent pattern\. Grounding \(75\.01\), gap relevance \(77\.71\), reproducibility \(74\.28\), and contribution \(71\.50\) are the strongest dimensions across problems, reflecting the pipeline’s core design: deterministic RAG grounding, explicit gap identification, real experiment execution with verified numbers, and concrete deliverables\. Presentation \(57\.58\) and structural completeness \(46\.84\) are the weakest, indicating that while the system produces complete and grounded drafts, prose fluency and section\-level coherence remain challenges for the current worker model\. Soundness \(60\.92\) sits in the middle, a meaningful improvement over earlier configurations where it was consistently the lowest dimension: theadd\_analysisaction and the injectedrigor\.pystatistical module substantially lift soundness by surfacing validated quantitative evidence in the manuscript text\.

### IV\-CComputational Efficiency

Table[III](https://arxiv.org/html/2607.05456#S4.T3)reports token usage and cost for all five runs\.

Table III:Cost and Efficiency per Generated ManuscriptNote:Token counts uselen\(prompt\+response\)//4\. The worker consumes2\.44×2\.44\\timesmore tokens than the leader, as expected: section writing and code generation are far more token\-intensive than planning and judging\.

At $0\.309 per paper, RLEv4 is approximately5×5\\timescheaper than EpidemIQs and49×49\\timescheaper than the AI Scientist\. The higher cost compared to earlier configurations \(which ran 20 iterations without deep cycles\) is expected: 60 full improvement iterations with six deep research cycles consume substantially more tokens\. The cost increase is justified by the corresponding quality gain:\+17\.96\+17\.96points average improvement versus\+1\.66\+1\.66points in the 20\-iteration prose\-only configuration\. Wall\-clock times range from 101 to 190 minutes, reflecting the cost of genuine experiment execution within the deep cycles\.

### IV\-DGrounding and Citation Fidelity

Table[IV](https://arxiv.org/html/2607.05456#S4.T4)evaluates citation integrity across all five manuscripts\.

Table IV:Grounding and Citation Fidelity MetricsNote:Recall@20 = fraction of the top\-20 knowledge\-graph papers cited in the manuscript; self\-referential, measured against the same corpus used for retrieval\.

The system achieves zero bad citations across all five manuscripts: every \[N\] marker in the generated text corresponds to a paper that genuinely exists in the retrieved corpus\. Mean Recall@20 of 0\.93 indicates that the system cites approximately 93% of its own top\-20 most influential papers\. Citation coverage varies widely \(16\.7%–85\.0%\), reflecting differences in problem scope\. Problems with narrower, more technical scopes \(Codon Adaptation, TP53\) naturally cite fewer of the 60\-paper corpus because many papers are thematically adjacent but not directly used\.

### IV\-EIndependent Multi\-Reviewer Evaluation

To complement the automated G\-Eval scorer, we commissioned independent quality assessments of the five generated manuscripts from three large language models that had no involvement in the generation pipeline: Claude \(Sonnet\), ChatGPT \(GPT\-4o\), and DeepSeek \(R1\)\. Each reviewer was given the same five manuscripts and asked to score them independently on nine categories \(overall quality, novelty, technical correctness, experimental design, statistical rigor, reproducibility, writing quality, figures and presentation, and biological impact\) using a 0–10 scale\. The reviewers were not told which system generated the papers\.

Table[V](https://arxiv.org/html/2607.05456#S4.T5)reports the overall scores from each reviewer alongside the average across all three\.

Table V:Independent Multi\-Reviewer Overall Scores \(out of 10\)Note:Reviewers were given identical manuscripts and scoring rubrics with no knowledge of the generating system\. ChatGPT scores trend higher across all five manuscripts, while Claude and DeepSeek show broader separation between stronger and weaker papers\.

Table[VI](https://arxiv.org/html/2607.05456#S4.T6)breaks down the per\-category scores for each reviewer, averaged across all five manuscripts\. This finer view reveals where the three reviewers converge and where they diverge\.

Table VI:Independent Reviewer Scores by Category \(averaged across five manuscripts, out of 10\)Note:Claude identified specific technical errors in four of the five manuscripts \(incorrect matrix dimension claims, missing random seeds, contradictory table values\); DeepSeek flagged similar issues\. ChatGPT scored more leniently across all dimensions, particularly on reproducibility \(9\.24\) and statistical rigor \(9\.24\)\. The average overall score of 7\.39/10 corresponds to the B–B\+range on the automated scorer’s scale\.

Several findings stand out\. First, the three reviewers agree on the*ranking*of manuscripts even when their absolute scores differ: the Substitution Matrix Eigenspectrum and Codon Usage papers consistently receive the highest marks from all three reviewers, and the CpG Island Detection paper receives the lowest\. This consistency across independent reviewers with no shared context is encouraging evidence that the quality differences between manuscripts are real rather than artefacts of the automated scoring rubric\.

Second, the reviewers differ most on technical correctness and reproducibility\. Claude and DeepSeek both identified specific errors in four of the five papers: ak95=21k\_\{95\}=21claim impossible for a20×2020\\times 20matrix, missing random seeds, and contradictory values between tables and text\. They scored these dimensions correspondingly lower\. ChatGPT assigned much higher scores to the same manuscripts, suggesting it applied a more lenient standard or weighted the overall coherence of the argument more heavily than the accuracy of individual claims\.

Third, the average overall score of 7\.39/10 from the three independent reviewers maps naturally to the B–B\+range produced by the automated scorer, providing cross\-validation that the automated assessments are in the right neighbourhood even without direct human calibration\. The automated scorer gives a mean of 63\.56/100 \(or 6\.36/10\), which is somewhat below the independent average of 7\.39; the gap likely reflects the automated scorer’s stricter hallucination penalty and its awareness of structural completeness issues that LLM reviewers may read past\.

Finally, the reviewers broadly agree that statistical rigor \(8\.08 average\) and writing quality \(8\.05\) are the strongest categories, while experimental design \(6\.76\) and figures and presentation \(6\.74\) are the weakest\. This pattern closely mirrors the automated scorer’s finding that soundness and presentation are the hardest dimensions to improve through the current improvement loop, suggesting both evaluation approaches are picking up the same underlying variation\.

### IV\-FHuman Reviewer Evaluation

As a further external check, a human reviewer read the five reproduced manuscripts of Appendix[A](https://arxiv.org/html/2607.05456#A1)and annotated each with an overall score out of 10 together with free\-form comments; these annotations are reproduced in Table[VII](https://arxiv.org/html/2607.05456#S4.T7)and appear as handwritten notes on the manuscript pages themselves\. The human overall average of 7\.0/10 sits close to the LLM reviewer average of 7\.39/10 and within the B–B\+band of the automated scorer, but the accompanying comments are markedly more critical about presentation than about method\. Every manuscript was flagged for readability, and the two lowest\-scoring papers \(Codon Adaptation and Codon Usage\) additionally drew notes on missing or absent figures, inconsistent reference formatting, fabricated or empty citation markers, an unstructured abstract, and grammar and formatting errors\. These observations map directly onto the weakest automated dimensions, presentation and structural completeness \(Table[II](https://arxiv.org/html/2607.05456#S4.T2)\), and onto the intentional exposure of unedited pipeline artefacts discussed in Appendix[A](https://arxiv.org/html/2607.05456#A1)\. The reviewer’s summary note on the weakest paper, that the work is sound but the writing needs improvement, is consistent with our overall claim that the system produces competent first drafts that require a human revision pass before submission\.

Table VII:Human Reviewer Annotations on the Five Reproduced Manuscripts \(transcribed from handwritten notes\)Note:Scores and comments are transcribed from the human reviewer’s handwritten annotations on the manuscript pages reproduced in Appendix[A](https://arxiv.org/html/2607.05456#A1)\. Recurring themes are readability, missing figures, and citation and formatting integrity, which align with the weakest automated dimensions \(presentation, structural completeness\)\.

### IV\-GComparative Evaluation

Table[VIII](https://arxiv.org/html/2607.05456#S4.T8)situates RLEv4 among prior systems\. These comparisons are necessarily indirect: evaluation protocols, datasets, and scales differ across systems, and baselines were not re\-run\.

Table VIII:Contextual Comparison: RLEv4 in Literature ContextCaveat:These figures are not directly comparable across systems due to differing evaluation protocols, datasets, and scales; they are presented to contextualise the proposed system’s efficiency and quality relative to the broader literature, not as a controlled benchmark\.

Cost efficiency is the clearest differentiator: at $0\.309 per paper RLEv4 is5\.1×5\.1\\timescheaper than EpidemIQs and49×49\\timescheaper than the AI Scientist, even with six deep research cycles re\-running real experiments per manuscript\. The average overall score of 63\.56/100 \(6\.36/10\) is directly comparable in scale to the AI Scientist’s simulated ICLR score of 6\.33/10, and the independent reviewer average of 7\.39/10 is somewhat higher than both, suggesting the automated scorer is conservative rather than lenient\.

### IV\-HSummary

RLEv4 produces grounded, executable, and measurably improving manuscripts at practical cost\. Five key findings emerge\. First, the improvement loop delivers substantial, consistent gains: all five manuscripts improved by more than 11 points, and the average gain of\+17\.96\+17\.96points substantially exceeds what prose\-only revision loops achieve\. Second, deep research cycles are the primary source of large score increments: visible score jumps at cycle boundaries confirm that re\-running experiments and re\-manuscripting from stronger outputs produces more improvement per iteration than prose polishing alone\. Third, zero hallucinated citations across all five runs confirm that the strict corpus\-bound citation check reliably prevents reference fabrication\. Fourth, independent multi\-reviewer assessment from three separate LLMs and a single human reviewer both converge on the same quality ranking as the automated scorer, with an LLM average overall score of 7\.39/10 and a human average of 7\.0/10 placing the manuscripts in the same B–B\+range\. Fifth, structural completeness \(46\.84 automated; 6\.74/10 for figures and presentation from reviewers\) and presentation remain the primary frontiers for future improvement, a conclusion echoed by the human reviewer’s recurring readability and formatting comments\.

### IV\-ILimitations

Recall@20 is self\-referential\.It is measured against the same knowledge graph used for retrieval, so it reflects internal citation consistency rather than external completeness\.

The scorer is not calibrated against human judgements\.Quality scores should be interpreted as relative rankings within the system rather than absolute publication\-readiness assessments\. The independent LLM reviewer comparison provides a partial check but is itself subject to the biases of each reviewer model, and the human reviewer assessment is a single\-rater judgement over five papers rather than a controlled study\.

The fabrication audit requires a canonical results file\.If the coding agent falls back to placeholder values, the numeric\-mismatch check cannot fire, and internally consistent placeholder text may pass undetected\.

Five problems is a small evaluation set\.Generalisability across domains, problem types, and languages remains to be demonstrated\.

## VFuture Work

Several directions follow directly from the results and limitations\.

Novelty and contribution generation\.These dimensions score in the high 60s–low 70s, suggesting the system recombines existing knowledge well but rarely proposes a genuinely new analytical move\. Incorporating the iterative planning and search mechanism of NORA\[[17](https://arxiv.org/html/2607.05456#bib.bib17)\], which demonstrated novelty gains through structured hypothesis generation and targeted literature traversal, and multi\-modal inputs \(code repositories, datasets, domain ontologies\) could provide firmer grounds for new hypotheses\.

Robustness of experiment execution\.Twelve coding\-agent attempts per problem, combined with the pre\-execution syntax gate and the deep\-cycle seed\-from\-previous\-script pattern, substantially improved execution reliability over earlier configurations\. Adding support for compiled bioinformatics tools \(BLAST\+, IQ\-TREE\) via Model Context Protocol servers would broaden the range of executable experiments without requiring changes to the core pipeline\.

Human calibration of the quality scorer\.The current scorer relies entirely on deepseek\-v4\-pro as the G\-Eval judge\. A controlled human evaluation study comparing RLEv4 outputs to human\-written bioinformatics papers on the same topics would provide the calibration data needed to align the automated scores with expert judgement and identify systematic biases\. The multi\-LLM comparison and the single\-reviewer human assessment in this paper are steps in this direction, but they are not a substitute for a controlled domain\-expert study\.

Revision acceptance criterion\.The strict never\-regress guard, while safe, rejects some revisions that improve the target dimension at the cost of a marginal overall dip\. A more nuanced acceptance rule that permits small regressions in low\-weight dimensions when the targeted dimension improves substantially could extract larger improvements within the same iteration budget\.

Cross\-domain validation\.The pipeline architecture is domain\-agnostic; applying it to physics, chemistry, or materials science would identify which components are genuinely general and which require domain\-specific adaptation\.

## VIConclusion

We have presentedPrompt\-to\-Paper, a multi\-agent system that reframes automated manuscript generation around a core question: not*can we generate a paper*but*can we ensure the paper is grounded, executable, and measurably good*\. Three integrated contributions address this question\. Deterministic RAG with snowball sampling traces every factual claim to a specific, retrievable source\. The autonomous coding agent replaces placeholder numbers with genuine computation, injecting a canonicalresults\.jsoninto every section\. The eight\-dimensional quality scorer with hallucination penalties closes the evaluation loop, while the context\-rich improvement loop with deep research cycles sustains quality improvement well past what prose polishing alone can achieve\.

On five bioinformatics case studies, the system improved manuscript quality by an average of\+17\.96\+17\.96points \(maximum\+26\.04\+26\.04\), achieved zero hallucinated citations across all five manuscripts, and produced compiled submission\-formatted PDFs at $0\.309 per paper\. Independent assessment from three separate LLM reviewers converged on an average overall score of 7\.39/10, and a human reviewer scored the same manuscripts at 7\.0/10, both placing the generated papers in the same B–B\+band as the automated scorer and providing external validation that the quality differences between manuscripts are real\. The final manuscripts score in the B–B\+range \(60\.88–68\.55/100\), representing competent first drafts that would require further human revision before submission\. This is an honest acknowledgement that the system is a research assistant, not a replacement for expert authorship\.

The gap between machine\-generated and human\-written manuscripts, most visible in structural completeness and presentation across the automated scorer, the independent LLM reviewers, and the human reviewer’s readability and formatting comments, defines the roadmap for future work\. RLEv4 extends NORA\[[17](https://arxiv.org/html/2607.05456#bib.bib17)\]by providing a complete, production\-ready pipeline for multi\-problem manuscript generation with built\-in ablation support and automated cost\-quality evaluation\. All source code and evaluation datasets are released under an open license athttps://github\.com/Ramshakk/Prompt\-to\-Paper\-Agentic\-AI\-System\-for\-Bioinformatics\.

## References

- \[1\]E\. Landhuis, “Scientific literature: Information overload,”*Nature*, vol\. 535, no\. 7612, pp\. 457–458, 2016\. \[Online\]\. Available:https://doi\.org/10\.1038/nj7612\-457a
- \[2\]J\. P\. A\. Ioannidis, “Why most published research findings are false,”*PLoS Medicine*, vol\. 2, no\. 8, p\. e124, 2005\. \[Online\]\. Available:https://doi\.org/10\.1371/journal\.pmed\.0020124
- \[3\]M\. Baker, “1,500 scientists lift the lid on reproducibility,”*Nature*, vol\. 533, no\. 7604, pp\. 452–454, 2016\. \[Online\]\. Available:https://doi\.org/10\.1038/533452a
- \[4\]J\. Brainard, “Rethinking retractions,”*Science*, vol\. 362, no\. 6413, pp\. 390–393, 2018\. \[Online\]\. Available:https://doi\.org/10\.1126/science\.362\.6413\.390
- \[5\]R\. M\. Kwee and T\. C\. Kwee, “Retracted publications in medical imaging literature: an analysis using the retraction watch database,”*Academic Radiology*, vol\. 30, no\. 6, pp\. 1148–1152, 2023\. \[Online\]\. Available:https://doi\.org/10\.1016/j\.acra\.2022\.06\.025
- \[6\]X\. Guo, L\. Dong, and D\. Hao, “RETRACTED: Cellular functions of spermatogonial stem cells in relation to JAK/STAT signaling pathway,”*Frontiers in Cell and Developmental Biology*, vol\. 11, p\. 1339390, 2024\. \[Online\]\. Available:https://doi\.org/10\.3389/fcell\.2023\.1339390
- \[7\]Y\. Yamada, R\. T\. Lange, C\. Lu, S\. Hu, C\. Lu, J\. Foerster, J\. Clune, and D\. Ha, “The ai scientist\-v2: Workshop\-level automated scientific discovery via agentic tree search,”*arXiv preprint arXiv:2504\.08066*, 2025\. \[Online\]\. Available:https://arxiv\.org/abs/2504\.08066
- \[8\]A\. Miyai, M\. Toyooka, T\. Otonari, Z\. Zhao, and K\. Aizawa, “Jr\. AI scientist and its risk report: Autonomous scientific exploration from a baseline paper,”*arXiv preprint arXiv:2511\.04583*, 2025\. \[Online\]\. Available:https://arxiv\.org/abs/2511\.04583
- \[9\]J\. Park, “Towards a transparent and reproducible AI\-assisted research paper writing,”*Genomics & Informatics*, vol\. 23, no\. 1, p\. 26, 2025\. \[Online\]\. Available:https://doi\.org/10\.1186/s44342\-025\-00057\-0
- \[10\]Q\. Wang, L\. Huang, Z\. Jiang, K\. Knight, H\. Ji, M\. Bansal, and Y\. Luan, “PaperRobot: Incremental draft generation of scientific ideas,” in*Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics*, 2019, pp\. 1980–1991\. \[Online\]\. Available:https://doi\.org/10\.18653/v1/P19\-1191
- \[11\]Y\. He, G\. Huang, P\. Feng, Y\. Lin, Y\. b\. Zhang, and H\. Li, “PaSa: An LLM agent for comprehensive academic paper search,” in*Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\)*, 2025, pp\. 11 663–11 679\. \[Online\]\. Available:https://arxiv\.org/abs/2501\.10120
- \[12\]H\. Shen, H\. Yang, and Z\. Gu, “ScholarGym: Benchmarking deep research workflows on academic literature retrieval,”*arXiv preprint arXiv:2601\.21654*, 2026\. \[Online\]\. Available:https://arxiv\.org/abs/2601\.21654
- \[13\]Y\. Weng, M\. Zhu, G\. Bao, H\. Zhang, J\. Wang, Y\. Zhang, and L\. Yang, “CycleResearcher: Improving automated research via automated review,” in*International Conference on Learning Representations*, 2025\. \[Online\]\. Available:https://arxiv\.org/abs/2411\.00816
- \[14\]Y\. Cheng and J\. Suo, “OpenLens AI: Fully autonomous research agent for health informatics,”*arXiv preprint arXiv:2509\.14778*, 2025\. \[Online\]\. Available:https://arxiv\.org/abs/2509\.14778
- \[15\]D\. P\. Woodruff, V\. Cohen\-Addad, L\. Jain, J\. Mao, S\. Zuo, M\. Bateni, S\. b\. Branzei, M\. P\. Brenner, L\. Chen, and Y\. Feng, “Accelerating scientific research with Gemini: Case studies and common techniques,”*arXiv preprint arXiv:2602\.03837*, 2026\. \[Online\]\. Available:https://arxiv\.org/abs/2602\.03837
- \[16\]M\. H\. Samaei, F\. D\. Sahneh, L\. W\. Cohnstaedt, and C\. M\. Scoglio, “EpidemIQs: Prompt\-to\-paper LLM agents for epidemic modeling and analysis,”*arXiv preprint arXiv:2510\.00024*, 2025\. \[Online\]\. Available:https://arxiv\.org/abs/2510\.00024
- \[17\]B\. Zhou, X\. Huang, H\. Ning, Q\. Wu, D\. Li, and Z\. Zhang, “NORA: A harness\-engineered autonomous research agent for end\-to\-end spatial data science,”*arXiv preprint arXiv:2605\.02092*, 2026\. \[Online\]\. Available:https://arxiv\.org/abs/2605\.02092

## Appendix AGenerated Manuscripts: Updated Pipeline

The following pages reproduce the complete RLEv4\-generated manuscripts produced by the updated pipeline \(deepseek\-v4\-pro leader, deepseek\-chat worker, 60\-iteration improvement loop with deep research cycles every 10 iterations\)\. All five compiled successfully to IEEE\-formatted PDFs with zero out\-of\-range citations\. Each reproduced manuscript also carries the human reviewer’s handwritten annotations, transcribed and summarised in Section[IV\-F](https://arxiv.org/html/2607.05456#S4.SS6)\(Table[VII](https://arxiv.org/html/2607.05456#S4.T7)\)\. These manuscripts are shown verbatim as emitted by the pipeline, without manual post\-editing, so the residual artefacts and the reviewer’s marks are both visible as honest evidence of the system’s current publication\-readiness\.

### P1: Spectral Geometry of Substitution Matrices

### P2: Physicochemical DDG\-Proxy for TP53 Hotspot Mutations

### P3: CpG Island Promoter Classification

### P4: Bootstrap Confidence Analysis of Codon Adaptation Index

### P5: Codon Usage Bias and Shannon Entropy

Similar Articles

From Prompts to Protocols: An AI Agent for Laboratory Automation

arXiv cs.AI

This paper presents an AI agent that integrates large language models with laboratory orchestration software, allowing scientists to create, monitor, and manage automated lab protocols using natural language. Evaluated on three simulated labs, the agent achieves a 97% first-attempt protocol generation success rate and requires far fewer interface actions.

Towards Automating Scientific Review with Google's Paper Assistant Tool

Hugging Face Daily Papers

The paper introduces the Paper Assistant Tool (PAT), an agentic AI framework for deep scientific review that uses inference scaling to identify mathematical errors and other flaws, achieving a 34% improvement in recall over zero-shot methods. Pilot deployments at STOC and ICML demonstrate its ability to catch critical errors before submission, easing the burden on human referees.

Experiments in Agentic AI for Science

arXiv cs.AI

This paper presents two agentic AI frameworks, DeepTS/DeepCollector and DeepScribe, that automate scientific workflows including time-series data curation and conversion of physics lectures into structured reports, using a hybrid local-cloud architecture with LLMs.