agentic-deep-research-eval
收藏资源简介:
Agentic Deep Research — Benchmark & Eval (BAER) 是一个专注于评估确定性、可复现的本地智能体长文本生成管道的基准测试与评估数据集。其核心是BAER评估方法,该方法不调用模型,确保对同一生成内容总是产生相同的评估报告,从而保证结果的可比性。数据集包含两部分:1) 多主题基准测试结果,覆盖RLHF、Diffusion、RAG、Mixture-of-Experts四个主题,每个主题生成了约96节的完整技术书籍,并提供了接受率、引用精确度、参考文献主题相关性、技术深度百分比等指标的平均值和标准差;结果显示,在忠实性和结构一致性方面表现完美且稳定,而完整性则与主题相关。2) 详细数据文件(per_section_metrics.csv),包含288个章节级别的数据行,记录每节的单词数、引用数、接地情况、主题、交叉引用、公式数量、质量评分等丰富指标,可通过HuggingFace datasets库直接加载。此外,数据集还包含一个完整的参考运行(agentic_2025_full)的详细评估结果,该运行生成了一个605页、约25.8万词、包含288节(其中269节被接受)的技术书籍,展示了高技术深度(90%的节包含公式)、零近重复对、完美的规范召回率等特性。数据集旨在为研究完全基于本地模型(如Ollama + transformers)的、从主题生成具有扎实依据、LaTeX排版的智能体长文本生成流程提供评估框架、基准参考和可复现的优化研究案例(例如通过跨章节证据池内存减少完整性与忠实性之间的权衡)。评估重点在于机械和结构质量,如冗余度、公式占比、引用准确性、覆盖率等,而非语义连贯性或事实正确性。
Agentic Deep Research — Benchmark & Eval (BAER) is a benchmark and evaluation dataset focused on assessing deterministic, reproducible local agent long-text generation pipelines. Its core is the BAER evaluation method, which does not invoke models, ensuring that the same generated content always produces identical evaluation reports, thus guaranteeing comparability of results. The dataset consists of two main parts: 1) A multi-topic benchmark test result covering four topics: RLHF, Diffusion, RAG, and Mixture-of-Experts, with each topic generating approximately 96 sections of complete technical books, and providing average values and standard deviations for metrics such as acceptance rate, citation precision, reference topic relevance, and technical depth percentage. The results show perfect and stable performance in faithfulness and structural consistency (citation precision, canonical recall, near-duplicate pairs), while completeness is topic-dependent. 2) A detailed data file (per_section_metrics.csv) containing 288 section-level data rows, recording rich metrics for each section such as word count, citation count, grounding status, topic, cross-references, formula count, quality score, and can be directly loaded via the HuggingFace datasets library. Additionally, the dataset includes detailed evaluation results from a complete reference run (agentic_2025_full), which generated a 605-page, approximately 258,000-word technical book with 288 sections (of which 269 were accepted), demonstrating high technical depth (90% of sections contain formulas), zero near-duplicate pairs, perfect canonical recall, and other characteristics. The dataset aims to provide an evaluation framework, benchmark reference, and reproducible optimization research cases (e.g., reducing the trade-off between completeness and faithfulness through cross-section evidence pool memory) for studying fully local model-based (e.g., Ollama + transformers) agent long-text generation processes that produce well-founded, LaTeX-typeset content from topics. The evaluation focuses on mechanical and structural quality, such as redundancy, formula proportion, citation accuracy, coverage, etc., rather than semantic coherence or factual correctness.
数据集概述:Agentic Deep Research — Benchmark & Eval (BAER)
该数据集提供了一个确定性、可复现的评估框架及参考结果,用于测试完全本地化的智能体长文本生成任务。整个流程使用本地模型(Ollama + transformers)将主题转化为一篇有依据的、LaTeX排版的学术书籍,并对每个章节进行多项质量控制。
核心定位:不是竞争性排行榜,而是一个评估方法论 (BAER) + 4个主题的基准测试 + 智能体优化研究。
数据集构成
| 路径/文件 | 内容说明 |
|---|---|
eval/benchmark_book.py |
BAER评估框架脚本 — 确定性,可复现。 |
eval/book_eval.json |
参考运行的完整机器可读BAER输出。 |
eval/book_eval_report.md |
参考运行的人类可读BAER报告。 |
data/per_section_metrics.csv |
288条逐章节指标(词数、引用、基础性、主题、交叉引用、公式、质量等);可通过 datasets 库加载。 |
example/book.{md,pdf} |
评估产生的工件 — 一本605页的生成书籍。 |
example/{outline,topic}_profile.json |
结构(24×12章节大纲)及发现概要。 |
关键评估指标 (BAER)
评估分为四个维度:
- Benchmark:页面数、词数、章节数(通过/阻挡)、引用数。
- Analyze:章节间冗余度(8-gram Jaccard)、标题唯一性、引用主题相关性(重排序余弦≥0.50)、覆盖面(必须覆盖/规范术语)、技术深度百分比(含有公式的章节比例)。
- Eval:核心质量门控是关键区分信号;引用精确度在所有运行中均饱和为1.0;基础性门控仅作记录,不作为质量关卡。
- Report:Markdown + JSON 格式输出,与运行并存。
多主题基准测试结果(4个主题,固定流程)
| 指标 | RLHF | Diffusion | RAG | MoE | 均值 ± 标准差 |
|---|---|---|---|---|---|
| 接受率 | 0.656 | 0.816 | 0.723 | 0.702 | 0.724 ± 0.058 |
| 近似重复对数量 | 0 | 0 | 0 | 0 | 0 ± 0 |
| 引用精确度 (G2) | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 ± 0 |
| 规范术语召回率 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 ± 0 |
| 引用主题相关性 | 0.771 | 0.867 | 0.895 | 0.900 | 0.858 ± 0.052 |
| 技术深度百分比 | 66% | 83% | 71% | 70% | 72.5 ± 6.3 |
核心发现:忠实度和结构在所有主题上完美且一致(标准差为0);完整性是主题相关的变量(接受率0.72 ± 0.06)——对于检索稀疏的细分子主题,门控机制会牺牲一部分完整性以换取忠实度。
参考运行示例 (agentic_2025_full)
- 主题:《Agentic trends from agents, 2025 to present》(越南语提示词)
- 规模:24章 × 12节,共288节(269节通过,19节因P0a被阻)
- 技术栈:重排序器 + HHEM(基础性评估)
运行结果关键指标:
| 指标 | 值 |
|---|---|
| 页数 / 词数 / 章节数 | 605 / ~258k / 288 |
| 冗余度(8-gram Jaccard) | 均值 0.001 · 最大值 0.253 · 0 对近似重复 |
| 技术深度 | 90%的章节含有公式(3403个行内公式 + 669个显示公式 + 56个代码块 + 352个算法块) |
| 覆盖面 | 必须覆盖项 6/6 · 规范术语 10/10 · 规范术语召回率 1.0 |
| 引用主题相关性 | 78.5% (n=2142) · arXiv 1667 / 维基 357 / DuckDuckGo 118 |
| 主题门控 (G4) | 93% 通过 ≥0.50 · 均值 0.817 |
| 引用精确度 (G2) | 均值 0.794 |
复现方法
bash git clone https://github.com/vudang4494/agentic && cd agentic
需要本地Ollama模型来生成书籍,然后运行:
python3 files/eval/benchmark_book.py <run-name>
诚实分析
- BAER仅衡量机械/结构质量(冗余度、公式百分比、引用、覆盖面、主题相关性),不评估语义连贯性、事实正确性或实用性。
- 参考运行的内容来自一个修复前的流程,包括模板化大纲、部分章节被阻挡、基础性评估无效等问题。所有问题已在仓库中修复。
- 此数据集仅包含一次参考运行,不是经过验证的排行榜,应视作说明性工件和可复现的评估框架。
许可协议
- 代码:MIT 许可
- 生成的书籍内容:作者版权所有




