AI-that-works commited on
Commit
a78b883
Β·
verified Β·
1 Parent(s): 90333ce

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -5
README.md CHANGED
@@ -1,10 +1,54 @@
1
  ---
2
- title: README
3
- emoji: πŸ¦€
4
- colorFrom: blue
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
8
  ---
9
 
10
- Edit this `README.md` markdown file to author your organization card.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: groundlens
3
+ emoji: πŸ“
4
+ colorFrom: yellow
5
+ colorTo: red
6
  sdk: static
7
  pinned: false
8
  ---
9
 
10
+ # Groundlens
11
+
12
+
13
+ <p align="center">
14
+ <img src="logo.png" alt="groundlens" width="200">
15
+ </p>
16
+
17
+ Geometric methods for LLM grounding verification. No second LLM. Deterministic. Same inputs, same scores, every time.
18
+
19
+ ## What we do
20
+
21
+ We detect LLM hallucinations using embedding geometry β€” not by asking another model to judge the output. Two metrics, each targeting a different failure mode:
22
+
23
+ - **SGI** (Semantic Grounding Index) β€” measures whether a response actually used the source material it was given. Built for RAG pipeline verification.
24
+ - **DGI** (Directional Grounding Index) β€” measures whether a response follows geometric patterns typical of grounded answers. Works without any source context.
25
+
26
+ Both methods run a single embedding call. Deterministic. Auditable by design.
27
+
28
+ ## Research
29
+
30
+ Three peer-reviewed papers form the foundation:
31
+
32
+ 1. **Semantic Grounding Index** ([arXiv:2512.13771](https://arxiv.org/abs/2512.13771)) β€” ratio-based grounding verification for RAG systems.
33
+ 2. **A Geometric Taxonomy of Hallucinations** ([arXiv:2602.13224](https://arxiv.org/abs/2602.13224v3)) β€” three-type hallucination classification with a confabulation benchmark.
34
+ 3. **Rotational Dynamics of Factual Constraint Processing** ([arXiv:2603.13259](https://arxiv.org/abs/2603.13259)) β€” transformers reject wrong answers via rotation, not rescaling. Phase transition at 1.6B parameters.
35
+
36
+ ## Use groundlens
37
+
38
+ | How | What |
39
+ |-----|------|
40
+ | **Python library** | `pip install groundlens` β€” [GitHub](https://github.com/groundlens-dev/groundlens) Β· [Docs](https://docs.groundlens.dev) |
41
+ | **MCP server** | `pip install groundlens-mcp` β€” works with Claude Desktop, Cursor, Windsurf β€” [GitHub](https://github.com/groundlens-dev/groundlens-mcp) |
42
+ | **REST API** | [groundlens-api](https://huggingface.co/spaces/groundlens/groundlens-api) β€” hosted on this Space, Swagger docs at `/docs` |
43
+ | **Interactive demo** | [groundlens-demo](https://huggingface.co/spaces/groundlens/groundlens-demo) β€” try it without installing anything |
44
+
45
+ ## Philosophy
46
+
47
+ groundlens is verification triage, not truth detection. It tells you which responses earned the right to be trusted and which need human review. We publish our AUROC numbers even when they're unflattering. We document what we can't detect (Type III confabulations) as a theorem, not a footnote.
48
+
49
+ ## Links
50
+
51
+ - [groundlens.dev](https://groundlens.dev)
52
+ - [docs.groundlens.dev](https://docs.groundlens.dev)
53
+ - [GitHub](https://github.com/groundlens-dev)
54
+ - Contact: javier@jmarin.info