Skip to content
github-actions[bot] edited this page Sep 23, 2026 · 1 revision

Navigation: Home > Pages

ThemisDB Research & Papers

This directory contains research papers, draft manuscripts, architectural analyses, and design documents for ThemisDB development.

Canonical Structure & Status (2026-05)

Cluster Canonical Location Scope Canonical?
Papers research/papers/ Curated scientific sources with module/version status βœ…
Drafts / WIP research/*_DRAFT.md (top-level legacy) Working manuscripts and exploration notes ⚠️ Working state
Experiments research/experiments/ Reproducible validation runs and benchmark protocols βœ…
Architecture research/architecture_decisions/ ADR records for accepted/proposed decisions βœ…
Implementation Influence research/implementation_influence/ Research β†’ module/version traceability matrix βœ…

Draft Lifecycle Labels

  • ACTIVE_DRAFT: aktuell bearbeitet, kein kanonischer Ersatz vorhanden.
  • SUPERSEDED_DRAFT: durch ein neueres/reiferes Dokument ersetzt; nur noch Referenz.
  • ARCHIVE_CANDIDATE: veraltet, ohne aktive Weiterentwicklung; bei nΓ€chster Bereinigung in Archiv verschieben.

Marked Outdated / Superseded Drafts

Legacy Draft Status Canonical Successor
THEMIS_MULTIMODEL_INDEX_EVALUATION.md SUPERSEDED_DRAFT THEMIS_MULTIMODEL_INDEX_EVALUATION_V2.md
LLM_INTEGRATION_SCIENTIFIC_FOUNDATIONS_DRAFT.md SUPERSEDED_DRAFT LLM_INTEGRATION_SCIENTIFIC_FOUNDATIONS.md
GPU_VECTOR_INDEXING_RESEARCH_DRAFT.md SUPERSEDED_DRAFT GPU_VECTOR_INDEXING_RESEARCH.md
PRODUCT_QUANTIZATION_RESEARCH_DRAFT.md SUPERSEDED_DRAFT PRODUCT_QUANTIZATION_RESEARCH.md

Production-Near Documentation Links

Review & Documentation Audit Trace

Building LaTeX Papers

Papers in research/*.tex can be compiled locally with a standard TeX distribution (TeX Live 2022+ or MiKTeX 22+):

# From the research/ directory:
cd research/

# Full build with bibliography (run twice for cross-references):
pdflatex boltzmann_flare_rag_monitoring.tex
bibtex   boltzmann_flare_rag_monitoring
pdflatex boltzmann_flare_rag_monitoring.tex
pdflatex boltzmann_flare_rag_monitoring.tex

# Output: boltzmann_flare_rag_monitoring.pdf

Required LaTeX packages (all included in TeX Live full): amsmath, amssymb, amsthm, booktabs, hyperref, natbib, algorithm, algpseudocode, geometry, microtype, enumitem, array, multirow, xcolor.

Quick check (missing packages):

pdflatex -interaction=nonstopmode boltzmann_flare_rag_monitoring.tex \
  | grep "! LaTeX Error"

Contents

Boltzmann Observability for RAG (2026-06, ACTIVE_DRAFT v0.1)

  • boltzmann_flare_rag_monitoring.tex β€” Boltzmann-Inspired Observability for AI Inference and RAG Pipelines: Energy-Entropy Monitoring, FLARE Parallels, and Correlation Analysis. Proposes a statistical-mechanical observability layer deriving entropy $H$, effective candidate count $N_\text{eff}$, energy gap, and free-energy proxy $\Phi$ from retrieval score distributions. Structural comparison table FLARE vs. Boltzmann layer. ThemisDB AQL integration examples, performance SLO hypotheses, evaluation protocol. Bibliography: bib/boltzmann_flare_rag_monitoring.bib. Related architecture draft: [[docs/architecture/boltzmann_observability_draft.md|Architecture-boltzmann-observability-draft]]. Performance expectations: docs/performance/boltzmann_observability_expectations.md.

Ethics AI Module Research (2026-04-29, v0.4)

  • ETHICS_AI_YAML_DISCOURSE_ENGINE_PAPER_DRAFT.md β€” Declarative Multi-Philosophy Ethical Reasoning in Database-Native AI Systems: YAML-Configured Ethics Schools and Structured Discourse in ThemisDB (v0.4). Target: arXiv cs.AI / cs.CY. Central pattern: Inference Trifecta β€” RAG (7 AQL patterns) + Ethical Monocle (YAMLβ†’PromptScaffold, formal construction function M(P,T_budget)) + LoRA Judge (school-aware faithfulness evaluator, RLAIF loop). All principle citations grounded in actual plugins/ethics_ai/philosophies/ YAML files: kant:kategorischer_imperativ, kant:selbstzweck, utilitarianism:greatest_happiness, contractualism:original_position / reasonable_rejection, lebensphilosophie_nietzsche:will_to_power, socratic:socratic_method. Appendix B: direct YAML excerpts from 5 profiles. Schema note: nietzsche.yaml uses school: (not school_id:) and map-style theses β€” both documented. 34 references, 5 RQs, 3 hypotheses, W1–W6 workloads, Tables R1–R4, 4-stage production path.

πŸ† Flagship System Paper (2026-04-27)

  • THEMISDB_SYSTEM_PAPER_ARXIV_2026.md β€” ThemisDB: An ACID-Compliant Multi-Model Database with Native AI/LLM Integration (v0.2). Target: arXiv cs.DB Β· VLDB 2027. Covers all four architectural tiers, ACID-constrained RAG pipeline, autonomous LoRA lifecycle (4-loop RLAIF), prompt engineering, 18 evidence IDs, 8 workloads (W1–W8), 23 references (IEEE+DOI), Figures 1–5 (ASCII schematics). Measured baselines: Graph 1.177 M ops/s βœ…, TS 61.0 M pts/s βœ…, AQL P99 9.67 ms βœ…. Open: W5 isolationΓ—faithfulness empirical run, GPU benchmarks, multi-node distributed benchmark.

Full Draft v1.0 (Core, 2026-04-20)

  • THEMIS_MULTIMODEL_INDEX_EVALUATION_V2.md β€” v1.0 full scientific paper: ThemisDB multi-model database β€” nine individualized index families (HNSW, B-tree, IVF+PQ, Graph, R-tree+Z-order, Inverted, RMI, MRL, Adaptive Advisor), formal system evaluation protocol (W1/W2/W3 workloads, 6 RQs, 12 hypotheses with acceptance criteria), operational risk model (10 failure modes, security threat model, concurrency table), threats to validity, 24 references with DOIs, full traceability appendix. arXiv cs.DB / VLDB-ready.

Submission-Ready Draft Set (Core, 2026-04-20)

  • THEMIS_MULTIMODEL_INDEX_EVALUATION.md β€” ThemisDB multi-model database: individual index methods (HNSW, B-tree, RMI, R-tree, MRL, IVF+PQ, Graph, Inverted, Adaptive), system evaluation (latency SLA, ANN recall, QPS), and operational risk model β€” repository-grounded, arXiv-structured draft (v0.1)

Submission-Ready Draft Set (Core, 2026-04-20)

  • THEMIS_RAID_SHARDING_EVALUATION_AND_RISK.md β€” Systematic evaluation and risk analysis of the ThemisDB RAID-sharding system: 20-item risk taxonomy (5 dimensions), 9 Related Work subsections, full topology reference (7 RAID modes, 3 EC algorithms, consistent-hash ring, quorum model, geo-distribution), CAP/PACELC positioning table, quorum availability model, 6 fault-injection workloads, 40 references (v0.3)

Submission-Ready Draft Set (Core, 2026-04-19)

Published & Finalized Papers

  • (To be added)

Research Drafts & Work-in-Progress

Financial AI & HFT Domain Research (2026-04-27)

  • HFT_RAG_LLM_THEMISDB_TRADING_ORCHESTRATION_ARXIV_2026.md β€” RAG-LLM-orchestrated high-frequency trading on ThemisDB: multi-modal financial signal processing (news, central bank comms, geopolitical risk, social media), latency budget analysis (sub-200 ms RAG loop), regulatory feasibility (MiFID II, SEC 15c3-5, EU AI Act), 31-paper related work survey, 6 open research questions (cs.AI / q-fin.TR / cs.DB)

Planned Research Topics

  • (See drafts above for current work-in-progress topics)

Research Tooling & Method Notes

Guidelines for Contributors

  1. Naming Convention: Use descriptive, topic-focused filenames (e.g., TOPIC_ARCHITECTURE_ANALYSIS.md).
  2. Structure: Begin with abstract, include implementation evidence from repo, add measured benchmarks where applicable.
  3. Evidence Anchors: Reference actual code files, test cases, and benchmark harnesses with line numbers.
  4. Versioning: Track paper version/status in frontmatter or first section.
  5. Commit Early: Papers must be committed to git to persist across sessions. Do not rely on working-tree-only edits.

Recommended Structure for Submission Candidates

For manuscripts targeting submission readiness, include these sections explicitly:

  • Research Questions and Hypotheses (3 RQs + 2 testable hypotheses)
  • Reporting Tables and Figure Plan in Results
  • Threats to Validity (internal, construct, external)
  • Claim-to-Evidence Traceability appendix
  • Submission Readiness Checklist with open/closed items

Status Tracking

Papers should include version and status information:

  • Status: Draft, In Review, Submitted, Published
  • Last Updated: Date of most recent meaningful update
  • Target Venue: (if applicable) VLDB, SIGMOD, ICDE, etc.

Last Updated: 2026-04-20 (THEMIS_IT_IS_OKAY_TO_FAIL v0.7: Section XI + Bibliography added)


πŸ—‚οΈ Structured Research System

Directory Purpose
papers/ External scientific papers influencing ThemisDB algorithms
best_practices/ Engineering patterns from open-source & industry
architecture_decisions/ ADR-style records of design choices
implementation_influence/ Cross-reference: source β†’ module β†’ version
stand_der_technik/ Quarterly state-of-the-art landscape reviews
experiments/ Experimental results and benchmarks
schema/ Schema examples and YAML references

πŸ“– New contributor? Start with RESEARCH_GUIDE.md.


ThemisDB 1.9.0-beta Β· Home Β· Module-Index Β· GitHub Β· Issues

ThemisDB Wiki

🏠 Overview

πŸ“š Compendium

πŸš€ Getting Started

πŸ“– Tutorials

πŸ“— User Guide

βš™οΈ Operations & Security

πŸ“Ÿ Ops Runbooks

πŸ—οΈ Architecture

πŸ“ ADRs

πŸ”§ Contributing

πŸ“‹ Governance

πŸ” Audit

🧩 Plugins

πŸ”Œ Adapters

πŸ’‘ Examples

πŸ“¦ Client SDKs

πŸŽ“ Training

πŸ› οΈ Tools

πŸ€– Developer LLM Wiki

Clone this wiki locally