SuperAPI AI Directory

XtraGPT

XtraGPT is a family of open-source large language models (LLMs) designed specifically for "human-AI collaborative academic paper revision." Unlike general-purpose models that only perform surface-level polishing, XtraGPT has been fine-tuned to understand the full context of a paper and execute specific revisions according to explicit, writing-standard-guided instructions. The models are trained on 140,000 high-quality "instruction-revision" paired data from top-tier conference (ICLR) papers and can be conveniently integrated into agent systems to automatically route academic revision tasks (e.g., via skills such as xtragpt-paper-revision-skill). XtraGPT is the refiner of Friend Project: PaperDebugger. Its core features include: context awareness (processing the full paper context to ensure revisions are consistent with the global narrative), controllability (following user instructions aligned with 6 sections and 20 academic writing standards), and an iterative workflow (supporting a "human-AI collaboration" lifecycle in which authors retain creative leadership). The project provides a PyPI paper revision benchmark package, Transformers inference, and OpenClaw integration, and is released under the ModelGo Zero License 2.0 (MG0-2.0).

Open website

About this tool

XtraGPT is a family of open-source large language models (LLMs) designed specifically for "human-AI collaborative academic paper revision." Unlike general-purpose models that only perform surface-level polishing, XtraGPT has been fine-tuned to understand the full context of a research paper and execute specific, standard-guided revision instructions. It is the refiner of Friend Project: PaperDebugger.

Use cases XtraGPT is intended for "instruction-driven in-context revision tasks," such as:

  • Aligning a passage with the paper's overall narrative (e.g., abstract, contributions, or results);
  • Revising content according to specific writing standards (e.g., strengthening motivation, reducing overclaiming);
  • Ensuring cross-section consistency (e.g., introduction ↔ evaluation ↔ conclusion);
  • Polishing rebuttals using evidence from the paper. It is not intended for open-ended conversation or brainstorming, programming or debugging, factual question answering, or retrieval tasks. In practice, it should be used alongside general-purpose LLMs, not as a replacement.

Key capabilities

  • Context awareness: processes the full paper context to ensure revisions are consistent with the global narrative.
  • Controllable: follows specific user instructions aligned with 6 sections (abstract, introduction, etc.) and 20 academic writing standards.
  • Iterative workflow: supports a "human-AI collaboration" (HAC) lifecycle in which authors retain creative control.
  • The models are trained on 140,000 high-quality "instruction-revision" paired data from top-tier conference (ICLR) papers.
  • Easy to integrate into agent systems, enabling automatic routing of in-context academic revision tasks (e.g., via skills such as xtragpt-paper-revision-skill).

Training The project uses LLaMA-Factory for fine-tuning. The steps include:

  • Step 1: Prepare the dataset configuration—copy configs/dataset_info.json to the LLaMA-Factory data directory.
  • Step 2: Run training—or use LLaMA-Factory directly. The training configuration and key hyperparameters from the paper are provided.

Evaluation

  • Component-level evaluation: evaluate revision effectiveness for 6 paper sections—Title, Abstract, Introduction, Background, Evaluation, Conclusion; use a modified AlpacaEval for pairwise comparison. Note: you need to replace glm_winrate.p in the AlpacaEval installation with this project's version.y, this version disables the instruction_difficulty feature (not applicable to paper revision tasks) and retains only length bias correction.
  • Full-text evaluation: use AI-Scientist to evaluate the entire paper.

Usage This project provides a standalone Python package for benchmarking paper revision models, which can be installed directly from PyPI:

  • Using the paper-specific prompts reproduces the exact evaluation in the paper.
  • Supports multiple judges (review models).
  • For advanced usage (length-controlled win rate, cross-section weighted total score), see the package README.
  • When using the standard Hugging Face transformers library, the input needs to be formatted with specific tags: <PAPER_CONTENT>, <SELECTED_CONTENT>, and <QUESTION>.

Production use (OpenClaw integration) XtraGPT can serve as a specialized academic writing backend in agent systems such as OpenClaw, Cursor, or custom research workflows. Unlike general-purpose LLMs, XtraGPT is optimized for high-precision, context-aware paper revision and is best used as a dedicated revision module that is invoked automatically when needed.

  • Install via NPM: the project provides an official OpenClaw integration package that injects the required provider, skill, and routing rules into the project scaffold.
  • Prerequisites: you must first self-host an OpenAI-compatible XtraGPT endpoint (e.g., via vLLM, SGLang, or Ollama), and configure the endpoint after installation.
  • Integration steps: deploy XtraGPT locally (e.g., via vLLM, SGLang, or Ollama); register it as a model provider (an OpenAI-compatible endpoint is recommended); add the xtragpt-paper-revision-skill skill; enable routing rules for academic editing. After that, the system will automatically dispatch paper revision requests to XtraGPT without special prompts. For model access and deployment references, see:https://huggingface.co/Xtra-Computing/XtraGPT-7B

Example requests that will be automatically routed to XtraGPT

  • "Rewrite this motivation paragraph so it clearly reflects the research gap stated in the abstract."
  • "Revise this introduction to better align with our claimed contributions and avoid inconsistency."
  • "Improve this paragraph by incorporating the experimental findings mentioned later in the paper."
  • "This section sounds fluent but unconvincing, strengthen the argument using the paper's overall narrative."
  • "Make this contribution paragraph more precise and ensure it matches what we actually evaluate in Section 4."
  • "Reduce overclaim in this paragraph while keeping it aligned with the evidence presented in the paper."

Why not use a general-purpose LLM General-purpose LLMs usually operate at the local text level, which leads to: fluent but unconvincing or globally inconsistent revisions; weak handling of cross-section dependencies; limited ability to follow structured writing standards; and a tendency to introduce overclaiming or generalized wording. XtraGPT is trained for controllable, context-aware revision and can: revise based on the context of the entire paper (rather than only local text); align with explicit user instructions and writing standards; maintain argument consistency across sections; and produce more defensible outputs that stay faithful to the academic content.

Recommended usage pattern The project recommends using XtraGPT together with a general-purpose LLM.

License The model uses ModelGo Zero License 2.0 (MG0-2.0) released. MG0-2.0 is a highly permissive open-source model license designed to promote the broadest adoption and collaboration, allowing unrestricted use, copying, distribution, and creation of derivative works (including commercial use), without attribution and without imposing copyleft restrictions. More license terms are available at ModelGo.li or in the LICENSE file in the repository.

Ethical discussion on AI-assisted academic research

  • Passivation of human researchers: There is concern that overreliance on AI will weaken human effort, creativity, and critical thinking. This project's framework follows a human-AI collaboration paradigm, in which human researchers retain leadership and control, and authors need strong motivation to generate core ideas and first drafts. This collaborative process can be viewed as a positive feedback loop: AI helps polish the presentation of core ideas through revision, which can reinforce human authors' motivation through psychological phenomena such as self-fulfilling prophecy.
  • Flooding of low-quality papers and quantity inflation: In uncontrolled end-to-end generation scenarios, AI may contribute to the mass production of low-quality or superficially polished papers. In this project's framework, AI is an assistant that improves existing drafts according to explicit instructions and established writing standards (such as academic guidelines). The initial investment required for human authors to develop high-quality ideas and first drafts is substantial and remains a critical and valuable step. XtraGPT is intended to help authors present existing valuable work more effectively and rigorously, implicitly suppressing the dissemination of poorly conceived work.
  • Inconsistency with human values and scientific principles: XtraGPT emphasizes controllability and instruction following, aiming to mitigate this risk and align the model with human authors' core intentions and the integrity of the original manuscript. In each collaboration, the human author retains overall judgment and intellectual control. The project focuses on the iterative process of paper revision, advocates attention to large models' ability to follow core scientific principles and community standards, and emphasizes that evaluation metrics for AI in academic assistance should go beyond traditional NLP scores to include the degree of adherence to these norms and principles.