Add HF Spaces metadata and project README
Browse files
README.md
CHANGED
|
@@ -1,2 +1,59 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: RECON
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "5.0.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: Multi-agent ML literature research with staleness detection
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# RECON β Multi-Agent Research Navigator
|
| 15 |
+
|
| 16 |
+
**Temporally-aware ML literature research. Live Semantic Scholar. Staleness detection.**
|
| 17 |
+
|
| 18 |
+
RECON is a four-agent LangGraph system that retrieves live ML papers, evaluates evidence quality using a four-verdict critic, and synthesizes research positions with per-claim confidence scoring.
|
| 19 |
+
|
| 20 |
+
## What makes it different from standard RAG
|
| 21 |
+
|
| 22 |
+
Standard RAG retrieves the most semantically similar chunk with no mechanism to detect whether that chunk has been superseded. A 2019 paper cited 600 times and never contradicted is strong evidence. A 2019 paper that a 2023 paper explicitly refutes is weak evidence β regardless of its cosine similarity score. RECON's critic reasons about this distinction.
|
| 23 |
+
|
| 24 |
+
## Architecture
|
| 25 |
+
|
| 26 |
+
```
|
| 27 |
+
session_loader β planner β retriever β critic β synthesizer
|
| 28 |
+
β STALE/CONTRADICTED/INSUFFICIENT
|
| 29 |
+
retry_retriever β critic (max 2x)
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
**Four agents:**
|
| 33 |
+
- **Planner** β decomposes query into temporally-typed sub-questions (foundational / recent / contested)
|
| 34 |
+
- **Retriever** β searches Semantic Scholar (200M+ papers) + DuckDuckGo with hybrid scoring
|
| 35 |
+
- **Critic** β four-verdict taxonomy: PASS / STALE / CONTRADICTED / INSUFFICIENT
|
| 36 |
+
- **Synthesizer** β structured position with inline citations and per-claim confidence
|
| 37 |
+
|
| 38 |
+
## Eval results (130-question ground truth dataset)
|
| 39 |
+
|
| 40 |
+
| Architecture | Position Acc | Staleness Catch | Latency |
|
| 41 |
+
|---|---|---|---|
|
| 42 |
+
| Single-agent RAG | 32.3% | 0% | 4.8s |
|
| 43 |
+
| Naive multi-agent | 44.6% | 0% | 23.9s |
|
| 44 |
+
| **RECON (linear decay)** | **43.9%** | **52%** | **17.1s** |
|
| 45 |
+
|
| 46 |
+
RECON catches 52% of superseded claims vs 0% for single-pass RAG on Category B questions sourced from real survey paper supersession chains.
|
| 47 |
+
|
| 48 |
+
## Tech stack
|
| 49 |
+
|
| 50 |
+
- **Orchestration:** LangGraph
|
| 51 |
+
- **LLM:** Groq / LLaMA 3.3-70B
|
| 52 |
+
- **Retrieval:** Semantic Scholar REST API + DuckDuckGo
|
| 53 |
+
- **Embeddings:** all-MiniLM-L6-v2
|
| 54 |
+
- **Session memory:** SQLite
|
| 55 |
+
- **Eval:** Ragas + LLM-as-judge
|
| 56 |
+
|
| 57 |
+
## GitHub
|
| 58 |
+
|
| 59 |
+
[github.com/MukulRay1603/project-recon](https://github.com/MukulRay1603/project-recon)
|