Measuring Semantic Coherence of RAG-Generated Abstracts Through Complex Network Metrics
The exponential growth of scientific literature demands scalable methods to evaluate large-language-model outputs beyond surface-level fluency. We present a two-phase framework that separates generation from evaluation: a retrieval-augmented generation system first produces candidate abstracts, which are then embedded into semantic co-occurrence graphs and assessed using seven robustness metrics from complex network theory. Two experiments were conducted. The first varied model, embedding and prompt configurations, achieved results showing clear differences in performance; the best family combined gemma-2b-it, a prompt inspired by chain-of-Thought reasoning, and all-mpnet-base-v2, achieving the highest graph-based robustness. The second experiment refined the temperature setting for this family, identifying τ=0.2 as optimal, which stabilized results (sd =0.12) and improved robustness relative to retrieval baselines (ΔEG=+0.08, Δρ=+0.55). While human evaluation was limited to a small set of abstracts, the results revealed a partial convergence between graph-based robustness and expert judgments of coherence and importance. Our approach contrasts with methods like GraphRAG and establishes a reproducible, model-agnostic pathway for the scalable quality control of LLM-generated scientific content.
Authors
- Héctor Allende‐Cid (ORCID: https://orcid.org/0000-0003-3047-8817)
- Freddy A. Lucay (ORCID: https://orcid.org/0000-0001-6690-9450)
- Wenceslao Palma (ORCID: https://orcid.org/0000-0002-7232-0412)
- Bady Gana (ORCID: https://orcid.org/0009-0004-9840-0586)
- Cristóbal Missana (ORCID: https://orcid.org/0009-0001-3041-3856)
- Carlos Abarza (ORCID: https://orcid.org/0009-0001-8546-0756)
Institutions
- Pontificial Catholic University of Valparaiso (CL)
- Fraunhofer Institute for Intelligent Analysis and Information Systems (DE)
- Lamarr Institute for Machine Learning and Artificial Intelligence
Publication Details
- Journal
- Mathematics
- Published
- 2025-10-31
- DOI
- https://doi.org/10.3390/math13213472
- Primary Topic
- Advanced Graph Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Agenția Națională pentru Cercetare și Dezvoltare
- Pontificia Universidad Católica de Valparaíso
- Agencia Nacional de Investigación y Desarrollo
- CHIST-ERA