National University of Singapore team open-sourced PaperDebugger, an in-editor tool that auto-suggests revisions for academic writing. The tool targets clarity, structure, and citation consistency in drafts.
Key facts
- PaperDebugger runs locally via Ollama.
- Based on fine-tuned Llama 3.1 8B.
- Catches 40% more structural issues than Grammarly.
- MIT-licensed on GitHub.
- Targets LaTeX and Markdown documents.
PaperDebugger, released by a team at the National University of Singapore (NUS), is an open-source tool that integrates directly into text editors like VS Code. It analyzes academic drafts for clarity issues, structural flaws, and citation inconsistencies, then proposes inline edits. The tool runs locally via Ollama, meaning no data leaves the user's machine — a key differentiator from cloud-based alternatives like Grammarly or Writefull.
How it works
PaperDebugger uses a fine-tuned LLM (based on Llama 3.1 8B) to parse LaTeX or Markdown documents. It identifies common problems: passive voice overuse, missing transitions between sections, contradictory statements, and missing references. For each issue, it highlights the problematic text and suggests a rewrite. The team benchmarked against a corpus of 500 rejected conference papers and found PaperDebugger caught 40% more structural issues than Grammarly Premium [per the team's GitHub repository].
Why it matters
The open-source nature and local execution are the key advantages. Many researchers, especially in sensitive fields like biomedicine or defense, cannot upload drafts to commercial services due to data privacy policies. PaperDebugger removes that barrier. The tool's narrow focus — academic writing only — also means it avoids the generic suggestions that plague general-purpose grammar checkers.
Limitations
The tool does not check factual accuracy or logical validity of arguments. It also struggles with non-English academic writing and domain-specific jargon outside its training data. The team acknowledges these gaps in their README and invites community contributions.
Unique take
This is not just another grammar checker — it's a structural debugger for argument flow, filling a gap that commercial tools largely ignore. The local-first design also signals a growing trend: privacy-preserving AI tools for sensitive professional workflows.
Key Takeaways
- NUS open-sourced PaperDebugger, an in-editor tool that auto-fixes academic writing clarity and structure.
- It runs locally via Ollama and catches 40% more issues than Grammarly.
What to watch

Watch for community contributions expanding language support beyond English, and whether adoption metrics (GitHub stars, downloads) surpass 10K within 90 days, indicating real researcher uptake.









