An open-source practice for trustworthy modeling — making the outputs of both AI systems and physical systems verifiable.
Embedding geometry to check what an LLM says · energy geometry to model how a physical system behaves.
Groundlens · Otwin · Featured · Research · About
Most AI and modeling failures are not failures of capability — they are failures of trust: a model produces an output, and nothing tells you whether to believe it. Groundlens builds the missing layer. It applies geometry to make outputs verifiable, with one consistent stance: deterministic where possible, calibrated where not, and clear about where the method stops working.
It ships as two open-source lines that share that DNA:
- Groundlens — verifies what a language model says, using the geometry of embeddings.
- Otwin — models how a physical system behaves, using the geometry of energy (port-Hamiltonian structure) with calibrated uncertainty.
Both are MIT-licensed, grounded in peer-reviewed research, and built to be auditable rather than impressive.
Geometric grounding and hallucination triage for production LLMs in regulated industries. It ranks responses by how faithfully they reflect their sources — deterministic scores, sub-second, no second LLM in the loop — so the ones that earned trust pass and the rest go to human review.
groundlens · grounding-benchmark · groundlens-mcp · Groundlens-Cookbook
The methods are not heuristics — they come from published work.
Digital twins with calibrated uncertainty for grid-scale energy storage and other physical systems. You bring the physical model structure you know (a port-Hamiltonian system, or an empirical law); Otwin estimates the rest from data, attaches horizon-aware uncertainty intervals, and validates without leakage against mandatory baselines. Lightweight and CPU-first, spanning white-box (full physics) to grey-box (physics + estimated residual).
Presented at IEEE PES General Meeting 2026 — AI-powered Digital Twins for Grid-Scale Storage.
100,000+ impressions · read it on LinkedIn
Groundlens is built on peer-reviewed research. Selected publications:
| Year | Publication | Venue / link |
|---|---|---|
| 2026 | Rotational Dynamics of Factual Constraint Processing | arXiv:2603.13259 |
| 2026 | A Geometric Taxonomy of Hallucinations | arXiv:2602.13224 |
| 2025 | Semantic Grounding Index (SGI) | arXiv:2512.13771 |
| — | Evaluating Synthetic Tabular Data Generated to Augment Small-Sample Datasets | see Scholar |
| — | Synthetic Tabular Data Generation | see Scholar |
| — | Explainable Deep Neural Networks | see Scholar |
Contributions are welcome across all Groundlens repositories. Please read CONTRIBUTING.md before opening an issue or pull request.
This community follows the Contributor Covenant. See CODE_OF_CONDUCT.md.
To report a vulnerability, please follow the process in SECURITY.md — do not open a public issue for security matters.
All Groundlens open-source projects are released under the MIT License. See LICENSE.
Groundlens is an independent open-source practice for trustworthy modeling, working at the intersection of applied geometry, physics, and machine learning. Its two lines — Groundlens (LLM verification) and Otwin (physics-informed digital twins) — share a single goal: outputs you can audit before they reach production.
Maintained by Javier Marin · Madrid · javier@groundlens.dev · groundlens.dev
Verification over capability.








