SHAKTI: Evidence-Grounded Conversational AI for Nutrition and Health
Organizations: Department of Biological and Agricultural Engineering, University of Arkansas, Fayetteville, AR 72701, USA. · Department of Food Science, University of Arkansas, Fayetteville, AR 72701, USA.
Abstract
Large language models (LLMs) answer many diet and health questions but can state unsupported claims and cite sources that do not support them. We present SHAKTI (Smart Health Advisor for Knowledge-based Tailored Interventions), a conversational assistant that answers only from retrieved scholarly papers and exact food-composition data, and evaluate it with retrieval, generation, grounding, efficiency and contextawareness metrics. We indexed 484,368,086 OpenAlex works, searched exactly on a GPU for evaluation (10,065 NFCorpus, BioASQ, SciFact and PubMedQA questions) and through a compressed 230-million-abstract index in deployment. On 1,000 stratified questions, we compared single-shot, multi-hop, corrective and deep-research retrieval-augmented generation (RAG) with Claude Sonnet. SHAKTI adds conversational query rewriting, USDA FoodData Central lookups, source-link checks and online verification of quotes and numbers. It was tested in 36 scripted conversational turns, a 248-question memory-depth test and a 38-question load test. Claims were checked by a Claude Opus judge against exactly the text the system saw. MedCPT reranking of hybrid retrieval gave the best MRR (0.21) and MAP@100 (0.14). Across existing RAG methods, faithfulness was 0.95-0.96, claim hallucination 0.5-0.8% and context precision up to 0.98; the deep-research agent answered 73.2% of BioASQ questions correctly. In conversation, SHAKTI reached a context-awareness score of 97.1%, faithfulness 95.5%, 1.9% unsupported claims, no contradicted claims and 229/229 working source links; it resolved references to the first question after 16 unrelated questions. An answer cost 14,716 tokens (US$0.06) with a median latency of 24 s. Large-scale retrieval with agentic evidence selection and mechanical verification yields auditable, low-hallucination nutrition answers.
Figures & tables
| Benchmark | Questions | Scored | Gold links | In corpus | Reference answer |
|---|---|---|---|---|---|
| NFCorpus | 3,237 | 3,197 | 134,294 | 115,192 | none (evidence only) |
| BioASQ | 4,719 | 4,718 | 42,608 | 42,267 | free text (expert ideal answer) |
| SciFact | 1,109 | 1,038 | 1,217 | 1,135 | SUPPORT / CONTRADICT / NEI |
| PubMedQA | 1,000 | 999 | 1,000 | 999 | yes / no / maybe + long answer |
| Total | 10,065 | 9,952 | 179,119 | 159,593 |
| Family | Metrics (definition) |
|---|---|
| Retrieval | Precision@10, Recall@10/100, Hit@10 (a gold article in the top 10), MRR@100, MAP@100 (mean of precision at each gold rank), nDCG@10 (graded for NFCorpus) |
| Generation | Verdict exact match and macro-F1; text exact match and token F1 (SQuAD normalization); ROUGE-1/2/L F-measure; corpus BLEU; BERTScore F1; BioASQ answer correct (LLM grade vs expert answer) |
| Grounding and factuality | Faithfulness; hallucination rate; contradiction rate; hallucination-free answers; answer relevancy (judge, 0-2 scaled to 0-1); context precision (rank-aware precision of relevant evidence); context recall (gold articles in the evidence); citation accuracy (cited papers that are direct evidence); proof validity (quote verbatim in a relevant cited paper); link validity |
| Efficiency | Claude calls, input and output tokens, list-price cost per answer; Claude time; latency p50/p95; throughput (answers per minute) |
| Context awareness | Follow-up detection accuracy and F1; concept recall of the rewrite (vs the raw message); rewrite fidelity (judge, 0-2); answer relevance on follow-ups; topic leakage; memory depth (call-backs resolved after N unrelated questions) |
| Corpus | Retriever | P@10 | R@10 | R@100 | Hit@10 | MRR | MAP | nDCG |
|---|---|---|---|---|---|---|---|---|
| Full | MiniLM | 0.03 | 0.15 | 0.22 | 0.23 | 0.15 | 0.12 | 0.13 |
| SPECTER2 | 0.03 | 0.15 | 0.21 | 0.22 | 0.16 | 0.12 | 0.14 | |
| Hybrid (RRF) | 0.03 | 0.17 | 0.23 | 0.25 | 0.17 | 0.13 | 0.15 | |
| Hybrid + MedCPT | 0.04 | 0.19 | 0.23 | 0.32 | 0.21 | 0.14 | 0.17 | |
| Abstract-only | MiniLM | 0.03 | 0.11 | 0.17 | 0.21 | 0.14 | 0.09 | 0.10 |
| SPECTER2 | 0.02 | 0.10 | 0.15 | 0.16 | 0.11 | 0.09 | 0.09 |
| PubMedQA | SciFact | BioASQ | Free-text answers vs reference (500) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Acc. | mF1 | Acc. | mF1 | Corr. | Tok. F1 | R-1 | R-2 | R-L | BLEU | BERTS. |
| Single-shot RAG | 0.61 | 0.57 | 0.57 | 0.57 | 0.59 | 0.26 | 0.30 | 0.11 | 0.21 | 0.06 | 0.20 |
| Multi-hop RAG | 0.64 | 0.59 | 0.56 | 0.56 | 0.63 | 0.27 | 0.30 | 0.12 | 0.22 | 0.06 | 0.22 |
| Corrective RAG | 0.66 | 0.60 | 0.58 | 0.58 | 0.66 | 0.27 | 0.30 | 0.11 | 0.21 | 0.06 | 0.22 |
| Deep-research agent | 0.64 | 0.57 | 0.57 | 0.56 | 0.73 | 0.26 | 0.29 | 0.11 | 0.20 | 0.05 | 0.20 |
| Method | Context prec. | Context recall | Citation acc. | Proof valid | Faithfulness | Hallucination | Halluc.-free | Answer relevancy |
|---|---|---|---|---|---|---|---|---|
| Single-shot RAG | 0.73 | 0.22 | 0.54 | 0.89 | 0.96 [0.95, 0.97] | 0.8% [0.3, 1.5] | 0.96 | 0.89 [0.86, 0.92] |
| Multi-hop RAG | 0.79 | 0.21 | 0.66 | 0.96 | 0.95 [0.94, 0.96] | 0.8% [0.4, 1.3] | 0.94 | 0.95 [0.93, 0.97] |
| Corrective RAG | 0.98 | 0.22 | 0.66 | 0.95 | 0.96 [0.95, 0.97] | 0.8% [0.4, 1.4] | 0.95 | 0.93 [0.91, 0.95] |
| Deep-research agent | 0.96 | 0.25 | 0.72 | 0.97 | 0.96 [0.95, 0.96] | 0.5% [0.2, 0.8] | 0.95 | 0.98 [0.97, 0.99] |
| Metric | Multi-hop | Corrective | Deep research |
|---|---|---|---|
| Verdict accuracy | +0.01 ( 0.02, 0.04) | +0.03 * (0.00, 0.05) | +0.01 ( 0.03, 0.05) |
| BioASQ answer correct | +0.04 ( 0.01, 0.08) | +0.06 ** (0.02, 0.10) | +0.14 *** (0.09, 0.20) |
| Judged precision | +0.13 *** (0.12, 0.14) | +0.36 *** (0.34, 0.37) | +0.28 *** (0.26, 0.30) |
| Direct-evidence rate | +0.17 *** (0.14, 0.19) | +0.11 *** (0.09, 0.13) | +0.24 *** (0.21, 0.27) |
| Citation accuracy | +0.12 *** (0.10, 0.14) | +0.12 *** (0.11, 0.14) | +0.18 *** (0.16, 0.20) |
| Proof validity | +0.07 *** (0.05, 0.09) | +0.06 *** (0.05, 0.08) | +0.08 *** (0.07, 0.10) |
| Metric | Result | Scored on |
|---|---|---|
| Context-awareness score | 97.1% | 36 turns |
| Follow-up detection (accuracy; F1) | 100%; 1.00 | 36 turns |
| Concept recall: raw message SHAKTI rewrite | 46.0% 100% | 21 follow-ups |
| Rewrite fidelity | 95.2% [88.6, 100] | 21 follow-ups |
| Answer relevance (all; follow-ups) | 94.4% [87.5, 100]; 90.5% | 36; 21 turns |
| Topic leakage | 0/3 | 3 topic switches |
| Method | Claude calls | Input tokens | Output tokens | Total tokens | Cost / question | Cost / 1,000 | Claude time |
|---|---|---|---|---|---|---|---|
| Single-shot RAG | 1.00 | 4,596 | 565 | 5,161 | $0.02 | $21.5 | 7.2 s |
| Multi-hop RAG | 2.39 | 8,965 | 1,000 | 9,965 | $0.04 | $40.4 | 15.7 s |
| Corrective RAG | 2.18 | 8,504 | 917 | 9,422 | $0.04 | $38.0 | 13.1 s |
| Deep-research agent | 3.00 | 16,068 | 1,539 | 17,607 | $0.07 | $73.5 | 20.2 s |
| SHAKTI live (mean) | 2.82 | 12,828 | 1,888 | 14,716 | $0.06 | $58.0 | 18.5 s |
| Study | Domain; knowledge source | Evaluation size | Reported result | This study (SHAKTI) |
|---|---|---|---|---|
| Parameswaran et al. [ 29 ] | CVD nutrition; 15,074-word AHA knowledge bank | 30 questions 3, 3 experts | RAG Llama 3 rated best on reliability, appropriateness, adherence; no harm | 484M works + USDA data; 10,065 / 1,000 / 36 questions; claim-level faithfulness 95.5-96.0% |
| Hou et al. [ 30 ] (iDISK2.0) | Dietary supplements; curated knowledge graph | 1,000 true/false + 1,000 MCQ | 99% and 95% accuracy (GPT-4o alone 62%, 52%) | 3-class research verdicts from open retrieval: 61.2-65.6% (PubMedQA), 56.4-58.4% (SciFact) |
| Xiong et al. [ 15 ] (MedRAG) | Medical QA; PubMed, textbooks, other corpora | 7,663 questions | Accuracy up to +18% over chain-of-thought | Agentic RAG: BioASQ correct +14.0 points over single-shot RAG; verdicts +0.8 to +2.8 |
| Wu et al. [ 8 ] (SourceCheckup) | Medical queries; LLMs’ own citations | 800 questions, 58,000 statement-source pairs | 50-90% of responses not fully supported; GPT-4o with web search 30% of statements unsupported | 0.5-1.9% of claims unsupported; 80.6-95.5% of answers fully supported |
| Wołk [ 37 ] | Clinical decision support; 12 RAG variants | 250 vignettes | Self-reflective RAG hallucination 5.8%; hybrid RRF P@5 0.68 | Claim hallucination 0.5-1.9%; retrieval at 484M-work scale |
| Zakka et al. [ 13 ] (Almanac) | Clinical guidelines; curated resources | 314 questions, 10 raters | Better factuality, completeness, preference and adversarial safety than ChatGPT-4, Bing, Bard | Factuality measured automatically per claim; 0 contradicted claims in conversation |
| Study | Benchmark (questions) | Setup | Reported result | SHAKTI | Comparable? |
|---|---|---|---|---|---|
| Xiong et al. [ 15 ] , GPT-4 + MedRAG | PubMedQA* (500) | Abstract withheld; retrieval from PubMed, textbooks, StatPearls and Wikipedia; no citation required | 70.6% | 61.2-65.6% | Yes, closest setup |
| Ryan et al. [ 26 ] , Self-MedRAG | PubMedQA (about 500 of 1,000 sampled with MedQA) | BM25 + Contriever retrieval; corpus not specified | 79.8% | 61.2-65.6% | Partly; corpus unclear |
| Nori et al. [ 68 ] , GPT-4 | PubMedQA reasoning-required (500) | Source abstract given; five-shot | 80.4% | 61.2-65.6% | No; no retrieval |
| Singhal et al. [ 69 ] , Med-PaLM 2 | PubMedQA reasoning-required (500) | Abstract given; model fine-tuned on benchmark subsets | 81.8% | 61.2-65.6% | No; no retrieval |
| Nori et al. [ 67 ] , GPT-4 + Medprompt | PubMedQA reasoning-required (500) | Abstract given; few-shot, chain-of-thought and ensembling | 82.0% | 61.2-65.6% | No; no retrieval |
| Kim [ 72 ] , MedBioRAG | PubMedQA and BioASQ | Question sets and setup not specified; preprint | 85%; 96% | 61.2-65.6%; 59.2-73.2% | No; insufficient detail |
| Slice | Works | Reviews |
|---|---|---|
| Nutrition and Dietetics + Food Science subfields | 3.10 M (1.08 M + 2.01 M) | 61,227 |
| Above + 104 nutrition/diet/food topics in other fields | 7.56 M | 191,640 |
| Health, life-science and agriculture fields* | 114.3 M | n/a |
| No topic assigned | 102.9 M | n/a |