AI for Science
Project Report | OsnabrΓΌck University, Dept. of Information Management & Information Systems | Completed | Submitted: 15 October 2025
What are we trying to do?
Build MinervAI, a data-protection-compliant, LLM-supported system that checks scientific citations: a researcher pastes a paragraph, and the system finds the literature it came from and verifies whether the citation is accurate.
RESEARCHER INPUT
Paragraph from a scientific paper
β
βΌ
βββββββββββββββββββββ
β SEMANTIC LLM β
β ANALYSIS β
βββββββββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββ
βΌ βΌ βΌ
FIND SOURCES CHECK CITATION FLAG ISSUES
(embeddings) (existence + (missing /
correctness) incorrect)
β β β
βββββββββββββββββΌββββββββββββββββ
βΌ
VERIFIED CITATION REPORT
Manually reviewing literature is slow: high-quality systematic reviews require screening thousands of publications, which can take months. LLMs can cut that screening effort by 33-93% when used well, but they also raise data protection risks, since free-text prompts can leak confidential research data to external providers. MinervAI is built around that tension.
START
β
βΌ
Paste Paragraph
β
βΌ
Semantic Analysis
β
βΌ
Find Literature Sources
β
βΌ
Verify Citation
β
βΌ
Show Evidence + Status
β
βΌ
DONE
Definition of Done
| Criterion | Purpose | Target |
|---|---|---|
| π― Accuracy | Correctly recognize and verify relevant citations | β₯ 90% in representative test scenarios |
| π Data protection | Sensitive/personal data stays inside the federated environment | GDPR-compliant, consent-based |
| β‘ User-friendliness | Comprehensible, verifiable results within a reasonable time | Under 30 seconds |
| π οΈ Technical stability | Reliable under realistic load | No crashes, no unacceptable performance loss |
The DoD applies per work item, not to the whole project: an item is "done" once it meets these criteria and demonstrably works in the integrated environment, otherwise it returns to the backlog.
The Three Verification Steps
| Semantic Analysis | Source Retrieval | Citation Check | |
|---|---|---|---|
| Goal | Understand meaning, not just words | Find matching or related literature | Confirm the source actually contains the claim |
| Method | LLM embedding of the input paragraph | Vector similarity search (pgvector) | Cross-check citation against the retrieved passage |
| Output | Semantic vector representation | Ranked literature candidates | Verified / unverified / missing citation |
| Main question | What does this paragraph actually claim? | Where else does this appear? | Does the cited source really say this? |
Project Scope
SAME DOCUMENT TYPE
Scientific / Academic Papers
β
βΌ
SAME PROCESS CHAIN
Input β Analysis β Retrieval β Verification
β
βΌ
SAME PRIVACY GUARANTEE
Federated / Local Processing
β
βΌ
NOT GENERAL PLAGIARISM DETECTION
Targeted Citation Checking
The scope is deliberately narrow: not a general plagiarism detector for arbitrary text, but a targeted citation-checking tool for a research context, using federated processing so sensitive research data isn't unnecessarily transferred to external servers.
Architecture
ββββββββββββββββββββββββββββββββββββββββββββββββ
β FRONTEND (Vue 3) β
β β
β Upload Progress Evidence History β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββ
β NUXT 3 SERVER (TypeScript) β
β β
β Validation Routing Job Orchestration β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βΌ
PYTHON / FASTAPI MICROSERVICES
Parsing Β· Embeddings Β· Knowledge Graph
β
βΌ
POSTGRESQL + PGVECTOR + MINIO (S3)
The system started as a Flask prototype and was migrated in full once Flask's concurrency handling and frontend integration became limiting factors:
Framework Flask (Python) β Nuxt 3 (Node.js / TypeScript)
AI Model Gwen β Gemini
Storage Local files β PostgreSQL + pgvector + MinIO
Team Comms Slack β Discord
Docs Notion β myShare
Infrastructure
Public-facing and internal services are split across two dedicated servers.
| Public Server | Private Server | |
|---|---|---|
| Traefik reverse proxy | β | |
| OAuth2 Proxy (GitHub auth) | β | |
| Wireguard tunnel endpoint | β | β |
| PostgreSQL + pgvector | β | |
| MinIO object storage | β | |
| Ollama (GPU inference) | β | |
| Grafana / Prometheus / Loki / Alloy | β | β |
PUBLIC SERVER
β
βββ Traefik (reverse proxy)
βββ OAuth2 Proxy
βββ Wireguard tunnel
βββ Alloy monitoring
PRIVATE SERVER
β
βββ Nuxt 3 backend
βββ PostgreSQL + pgvector
βββ MinIO (S3-compatible)
βββ Ollama (GPU inference)
Algorithms & Frameworks
| Area | Technology |
|---|---|
| Frontend | Vue 3 (Composition API) + TailwindCSS |
| Backend | Nuxt 3 / Node.js / TypeScript |
| Validation | Zod |
| Database ORM | Drizzle ORM |
| Relational Database | PostgreSQL |
| Vector Search | pgvector |
| Object Storage | MinIO (S3-compatible) |
| LLM Runtime | Ollama |
| Embedding Model | mxbai-embed-large |
| Generative Model | Gemini (migrated from Gwen) |
| Knowledge Graph | FastAPI microservice |
| Parsing | Python + Pandoc (LaTeX β Markdown) |
| Reverse Proxy | Traefik |
| VPN Tunnel | Wireguard |
| Monitoring | Grafana / Prometheus / Loki / Alloy |
| Project Tracking | GitHub + Miro + myShare |
Processing Pipeline
PDF UPLOAD
β
βΌ
S3 / MINIO STORAGE
β
βΌ
POSTGRESQL METADATA ENTRY
β
βΌ
βββββββββββ¬ββββββββββ¬ββββββββββ
β PARSING βEMBEDDINGβ GRAPH β
ββββββ¬βββββ΄βββββ¬βββββ΄βββββ¬βββββ
β β β
βββββββββββΌββββββββββ
βΌ
CITATION VERIFICATION
β
βΌ
EVIDENCE REPORT
β
βΌ
UI DISPLAY
Each run stores the paper metadata, parsed references, ~512-token text chunks with embeddings, retrieved candidate sources, and the final verification result.
Economic Viability (MVP, Year 1)
| Cost Category | Estimated Cost (EUR/year) |
|---|---|
| Cloud Infrastructure (AWS) | 25,000 β¬ |
| AI API (OpenAI / NLP) | 15,000 β¬ |
| Software Development (2 devs) | 120,000 β¬ |
| Project Management | 85,000 β¬ |
| UX/UI Design | 44,500 β¬ |
| Other (tools, licenses, legal) | 20,000 β¬ |
| Total | 309,500 β¬ |
ESTIMATED VALUE (1,000 reviewed papers / year)
β
βββ ~2 hours saved per paper
βββ 2,000 working hours saved / year
βββ β β¬100,000 / year (at β¬50/hour)
Beyond direct time savings, the underlying knowledge graph opens further customer segments: universities improving review throughput, companies mining research gaps, and, via its argument-mapping capabilities, legal use cases such as case preparation.
What Do We Test?
| Accuracy | Privacy | Usability | Stability |
|---|---|---|---|
| Relevant citation recognition | Data stays in federated environment | Task completion time | Load & reliability tests |
| Reference extraction correctness | GDPR-compliant processing | Search / history / status labeling clarity | PDF stress tests (formats, lengths) |
| Nightly end-to-end regression runs | Role-based access control | Usability test findings (5 participants) | Timeouts, retries, watchdog |
| DOI / title cross-checks | TLS + hashed & salted passwords | Editor interviews (turnaround, trust) | Parallel background jobs |
The result is a quality profile across four dimensions, not a single artificial score. Usability testing with five participants (per Nielsen's 85%-coverage heuristic) surfaced concrete fixes: a more discoverable search field, clearer history/collapse iconography, better contrast between inactive and logout buttons, and unambiguous labeling for the citation-status "traffic light."
Project Management
The project was run as a technical project using Scrum with feature teams.
AI FOR SCIENCE
β
ββββββββββββββ΄βββββββββββββ
βΌ βΌ
FEATURE TEAMS PROJECT MGMT
β β
Backend Scrum Master
Frontend Product Owner /
Ollama / LLM Tech Lead
Knowledge Graph Moderation
UX Design Documentation
β β
ββββββββββββββ¬βββββββββββββ
βΌ
TRACEABLE PROJECT
Sprints
Sprint 1 Foundations: ingestion pipeline, Ollama PoC, UX personas, graph schema
β
Sprint 2 Job polling, reliable reference access, upload flow, UX survey
β
Sprint 3 BackendβOllama integration, progress UI, early usability tests
β
MVP Completed early April β dedicated retrospective
β
Sprint 5 Hardening: citation reliability, chunk selection, UX feedback
β
Sprint 6 Full end-to-end path + documentation + handover
β
βΌ
15 OCTOBER 2025
The Scrum workflow follows:
TO DO β IN PROGRESS β TESTING β DONE
Communication & Tools
PROJECT
β
βββ Sprint Reviews (last Friday of each month)
βββ Scrum-of-Scrums (rotating cross-team sync)
βββ Weekly team + project-wide meetings
βββ Slack β Discord (90-day message retention)
βββ Notion β myShare (avoided fees)
βββ GitHub + Miro (documentation & decisions)
Scrum-of-Scrums manages cross-team dependencies ("Does our work conflict with another team's?").
Sprint reviews document what was built, what feedback came back, and what changes next.
Current Status
APRIL MAY - AUGUST SEPTEMBER
MVP ββββββββββββββΊ Sprints 2-5 βββββββββββΊ Sprint 6
OCTOBER
Final Presentation βββΊ Team Retrospective βββΊ Report Submitted
(Oct 8) (Oct 10) (Oct 15)
β²
β
WE ARE HERE
Root causes (Ishikawa retrospective):
Computer / infrastructure unavailability
+
Slow, inconsistent decisions on scope & organization
β
REDUCED MOTIVATION + DELAYED MILESTONES
Five cause categories were reviewed: Environment (dependency on external DFKI infrastructure), Machines (unavailable hardware for Ollama hosting), Material/Resources (team departures, oversized initial scope), People (uneven participation, dropping motivation late in the project), and Methods (too many early meetings, too few late ones, slow decisions).
Final Goal
MINERVAI
β
ββββββββββββββΌβββββββββββββ
βΌ βΌ βΌ
BACKEND OLLAMA/LLM KNOWLEDGE
GRAPH
β β β
ββββββββββββββΌβββββββββββββ
βΌ
SAME PRIVACY GUARANTEE
βΌ
SEMANTIC ANALYSIS + CITATION CHECK
βΌ
VERIFIED EVIDENCE REPORT
βΌ
PROJECT REPORT (WI)
βΌ
15.10.2025
The final deliverable is a working, privacy-by-design prototype and documented project report showing how LLM-based semantic analysis, retrieval, and citation verification can be combined into a usable research tool, with a roadmap toward automated literature reviews, legal and educational use cases, and deeper integration with reference managers and scholarly databases such as Crossref, PubMed, arXiv, and ORCID.