PaperSpine 范文学习档案(Exemplar Learning Dossier)实战指南:从"读懂好论文"到"写出好论文"

原创2026-10-13 23:36:141,384 阅读
文章标签:人工智能AI 技能AI 写作

PaperSpine 范文学习档案(Exemplar Learning Dossier)实战指南:从"读懂好论文"到"写出好论文"

本文是 PaperSpine 写作技能体系中「向优秀论文学习」这一环节的技术指南。它系统讲解如何为选定的 exemplar papers(范文论文)建立学习档案:不是给每篇论文写摘要,而是把论文的论证结构、段落功能、证据编排与讨论收束方式转化为可迁移的写作决策,并最终落到你自己的稿件上。读完本文,你将掌握七步阅读程序、四类逐段学习表格、段落功能模板与结果叙事模板的完整用法,以及如何在 PaperSpine 流水线中用 revision_audit.py 与 style_metrics.py 验证"学习确实发生了",而非停留在"改了几个句子"的浅层编辑。

一、什么是范文学习档案:目标与触发条件

在 PaperSpine 中,exemplar-learning-dossier.md 是一份方法论参考文档(reference playbook),与 deep-imitation-protocol.md、style-learning-workflow.md 等共同构成"文献学习—风格迁移—深度改写"的方法链。它的触发条件是:用户要求技能从优秀论文中学习(Use this when the user asks the skill to learn from excellent papers)。此时,技能要用现有任务笔记保留"对范文的观察"以及"这些观察对稿件产生的实际影响"。

文档开篇给出了两个关键原则:

  1. 档案与模板是可选的辅助工作格式(The dossier and templates below are optional working formats)。学习是否发生,最终由有依据的写作选择来证明,而不是靠生成了一串新文件来证明。
  2. 学习 ≠ 概括(Do not merely summarize each paper)。一份合格的档案必须回答下面 7 个问题:
序号 问题 考察对象
1 How does the paper make the reader care? 论文如何让读者在意这个主题
2 How does it narrow from field problem to specific gap? 如何从领域问题收窄到具体缺口
3 How does each Introduction paragraph function? 引言每一段的功能
4 How do Methods justify choices rather than list procedures? Methods 如何"论证选择"而非"罗列流程"
5 How do Results turn measurements into claims? Results 如何把测量转化为论断
6 How does Discussion close the loop opened in the Introduction? Discussion 如何闭环引言打开的悬念
7 What should our paper imitate, avoid, or adapt? 我们的论文该模仿、规避还是改造什么

在整条流水线中的位置:research.md 阶段产出 exemplar_learning_dossier.md(见 semantic-confirmation.md 的 Inputs 清单),它随后作为输入进入 semantic-confirmation(贡献/动机确认)、rewrite-matrix(逐段改写)与 logic-transfer-audit(逻辑迁移审计)阶段。也就是说,档案不是终点,而是"写作前门"的输入材料:先由研究阶段产出档案,再由确认后的贡献契约与动机主线约束其使用。

二、档案的完整工作格式(可选)

如果独立的档案文件确有帮助,保存路径为:

paper_rewriting_output/exemplar_learning_dossier.md

完整模板如下(务必整体使用,不要删减任何表):

# Exemplar Learning Dossier

## Corpus

| ID | Paper | Venue/Year | Role | Why This Paper Is Worth Learning From |
|---|---|---|---|---|

## What Makes These Papers Good

| Dimension | Observed Pattern | Why It Works | Transfer Rule for Our Paper |
|---|---|---|---|
| Motivation | | | |
| Gap construction | | | |
| Contribution framing | | | |
| Method explanation | | | |
| Result interpretation | | | |
| Discussion closure | | | |

## Section-Level Learning

### Introduction

| Paper | Paragraph | Move | How It Works | Transfer Rule |
|---|---:|---|---|---|

### Methods / System and Methods

| Paper | Subsection | Move | How It Works | Transfer Rule |
|---|---|---|---|---|

### Results

| Paper | Subsection | Move | Evidence Pattern | Interpretation Pattern | Transfer Rule |
|---|---|---|---|---|---|

### Discussion

| Paper | Paragraph | Move | How It Resolves Motivation | Transfer Rule |
|---|---:|---|---|---|

## Sentence Skeletons

Use skeletons, not copied wording.

| Function | Skeleton | Source Logic | Where To Use |
|---|---|---|---|

## Anti-Patterns To Avoid

| Anti-Pattern | Why It Fails | Replacement |
|---|---|---|

## Transfer Plan

| Our Section | Learned Pattern | Required Rebuild |
|---|---|---|

各表职责:

  • Corpus 表:登记论文 ID、出处(Venue/Year)、角色(如 same-task exemplar、SOTA exemplar、venue exemplar、user favorite,角色规则见 style-learning-workflow.md)以及"为什么值得学"。
  • What Makes These Papers Good 表:六个维度(动机、缺口构建、贡献框定、方法解释、结果解读、讨论收束)各自记录"观察到的模式—为何有效—迁移规则"。这是把阅读感受转写为可复用写作规则的核心动作。
  • Section-Level Learning 表:Introduction / Methods / Results / Discussion 各一张表,分别标注段落/小节、Move(修辞动作)、运作方式与迁移规则。注意 Results 表多出两列 Evidence Pattern 与 Interpretation Pattern——它要求你同时记录"证据怎么摆"和"解读怎么给"。
  • Sentence Skeletons 表:只存"骨架"不存原句。Function 描述句子的修辞功能,Skeleton 是带槽位的可复用句型,Source Logic 记录来源逻辑,Where To Use 标注在稿件何处使用。
  • Anti-Patterns 表:记录反模式、失败原因与替代方案。
  • Transfer Plan 表:把学到的模式映射到"我方论文的哪个章节需要怎样重建"。

三、把解释转化为可复用逻辑:两种输出模板

文档明确:档案解释论文,模板把解释转化为稿件可用的写作逻辑(The dossier explains the papers; the templates convert that explanation into reusable writing logic for the user's manuscript)。当有用时,可组织为两个文件:

paper_rewriting_output/paragraph_function_templates.md
paper_rewriting_output/result_narrative_templates.md

它们分别对应下面的第四节与第五节。

四、七步阅读程序:每个范文都这样读

对每篇范文执行如下阅读程序:

  1. 读 Abstract,识别五个 moves——即典型的动机、缺口、方法、关键结果、意义五段式动作。
  2. 把 Introduction 的每一段映射到一个修辞任务(rhetorical job),如 territory(领域)、prior work(前作)、gap(缺口)、problem statement(问题陈述)、contribution(贡献)、roadmap(路线图)。
  3. 识别每个主要章节的首句与末句——首句决定段落的进入方式,末句决定承接与转场。
  4. 在 Methods 中标记"为什么需要这一设计选择"的说明位置——这是 Methods 论证性的核心证据。
  5. 在 Results 中标记序列:setup(搭建)→ metric/figure(指标/图)→ comparison(对比)→ interpretation(解读)→ transition(转场)。
  6. 在 Discussion 中把每段映射为:summary(总结)、mechanism/significance(机制/意义)、limitations(局限)、future/closure(未来/收束)。
  7. 提取带槽位的可复用句子骨架(reusable sentence skeletons with slots)。

文档特别强调:可选的表格并不使下列工作成为可选——原文通读、功能分析、实际应用、三向对比四件事始终是必须完成的(The optional tables do not make original-text reading, function analysis, actual application or this comparison optional)。具体要求:

  • 用本研究自己的证据把学到的功能应用到真实段落或 Results 片段;
  • 对比三份文本:原范文(original exemplar)、先前草稿(prior draft,若存在)、修改后段落(revised passage);
  • 在任务笔记中保留"来源观察"与"其应用"的定位信息(locators)。

五、段落功能模板(paragraph_function_templates.md)

保存路径:

paper_rewriting_output/paragraph_function_templates.md

完整模板:

# Paragraph Function Templates

## Template Rules

- Corpus basis:
- Target venue:
- Transfer principle:

## Section Templates

| Section | Paragraph Slot | Reader Question | Rhetorical Move | Typical Opening Function | Typical Closing Function | Evidence Needed From Our Paper | Forbidden Shortcut |
|---|---:|---|---|---|---|---|---|
| Abstract | 1 | | | | | | |
| Introduction | 1 | | | | | | |
| Methods | 1 | | | | | | |
| Results | 1 | | | | | | |
| Discussion | 1 | | | | | | |

## Transfer Notes

| Our Section | Original Defect | Template That Fixes It | Rewrite Consequence |
|---|---|---|---|

硬性规则:每一行都必须锚定至少一个范文模式或目标期刊要求,禁止写"make it clear""add motivation"这类没有操作对象的空泛建议。这一约束与 rewrite-matrix.md 中"每个段落都必须有贡献任务、动机对齐、证据来源、模型模式、目标长度与操作"的逐段矩阵原则一致——模板行就是矩阵行的"模式来源"列。

六、结果叙事模板(result_narrative_templates.md)

保存路径:

paper_rewriting_output/result_narrative_templates.md

完整模板:

# Result Narrative Templates

## Corpus Pattern Summary

| Pattern | Exemplar Evidence | Why It Works | Transfer Rule |
|---|---|---|---|

## Subsection-Level Templates

| Result Type | Setup Question | Evidence Move | Comparison Move | Interpretation Move | Transition Move | Claim-Strength Limit |
|---|---|---|---|---|---|---|
| benchmark | | | | | | |
| ablation | | | | | | |
| generalization | | | | | | |
| interpretability | | | | | | |
| biological analysis | | | | | | |

## Anti-Metric-Dump Rules

| Weak Pattern | Why It Fails | Replacement Pattern |
|---|---|---|

这张模板表的意图非常明确:按结果类型(基准测试、消融、泛化、可解释性、生物分析)预置五段叙事动作——Setup Question(这段在检验引言里的哪个承诺)、Evidence Move(用哪张图/表/数字)、Comparison Move(哪个基线/条件/消融使证据可解读)、Interpretation Move(读者除了数字还应得出什么结论)、Transition Move(下一小节为何逻辑上紧随其后)。Claim-Strength Limit 一列用于约束论断强度不超过证据边界。

使用规则:在真实章节中采用相应的 result-narrative 模式,并在既有笔记中保留其来源定位;开始写作不需要逐行引用模板行(no template-row citation is required to begin writing)。这一点与 motivation-thread-writing.md 的闭环要求呼应——后者要求"每个 Results 小节映射到一条 Introduction 承诺与一行 result_narrative_templates.md 记录",并在改写前先写一句:

This subsection tests the Introduction promise that [promise] by showing [evidence], which supports [interpretation] but does not claim more than [limit].

七、完成度测试:档案何时才算完整

exemplar-learning-dossier.md 给出的 Completion Test 明确:档案若无法告诉写作者以下内容,即为不完整:

  • Introduction 如何展开具体研究问题与有证据支撑的增量(supported increment);
  • 每个段落应该做什么;
  • 哪个 Results 小节应该放在第一位、以及为什么;
  • Discussion 第一段必须解决什么;
  • 什么样的语气与论断强度契合目标期刊(venue);
  • 原稿中哪些内容应被删除或移动;
  • 观察到的模式修复了哪一处具体的段落/Results 弱点。

第 7 条尤其重要:一条学习若不能对应一处真实修复的弱点,就不算学习。这与 logic-transfer-audit.md 的"浅改检查"(shallow patch check)表——same paragraph order with sentence-level polish、mostly append-only revision、Results still metric-dump style 等警告信号——互为表里。

八、仓库源码级支撑:用工具验证学习深度

8.1 revision_audit.py:浅改审计

改写完成后,PaperSpine 提供 revision_audit.py 对比原稿与改稿,判断修订是"实质性"还是"浅层编辑"。它把 .txt/.md/.tex 文件按段落切分、规范化(Markdown/TeX 各有归一化路径),再对每段计算相似度:

python scripts/revision_audit.py <original> <revised> --markdown > paper_rewriting_output/revision_audit.md

关键参数(源码 main() 中的 argparse 定义):

参数 默认值 含义
--unchanged-threshold 0.82 相似度 ≥ 该值的段落判为 near-identical(近乎相同)
--new-threshold 0.25 相似度 < 该值的段落判为 mostly new(基本全新)
--json — 输出 JSON 结构化结果
--markdown — 输出 Markdown 报告(默认)

报告输出的两个判定标志(AuditSummary 字段):

  • addition_heavy:mostly_new_ratio > 0.35 and deleted_ratio < 0.15——绝大多数段落是新增的、原稿段落几乎没有删除,说明改写在"追加内容"而非"重构逻辑";
  • shallow_warning:near_identical_ratio > 0.35——超过 35% 的段落与原稿近乎相同,触发浅改警告;此时进程退出码为 1。

注意文档与脚本对它的定位完全一致:相似度比例是诊断信号,不是科学或写作质量的裁决(its similarity ratio does not decide scientific or writing quality)。高保留率只提示"需要检查被诊断的弱点是否仍存在",有效且未受影响的段落应当保留并说明理由,而不是为了凑一个好看的改写比例而丢弃好内容。

8.2 style_metrics.py:风格指标

在范文阅读与风格学习阶段,可运行 style_metrics.py 计算轻量风格指标(仅用 Python 标准库,支持 .txt/.md/.tex 文件或文件夹):

python scripts/style_metrics.py <corpus-folder> --markdown > paper_rewriting_output/style_metrics.md

该脚本按章节统计词数、句数、段落数等(SectionMetrics 数据类),供与范文原文段落并置阅读。但 style-learning-workflow.md 明确:指标计数本身不能确立段落功能,定性结论必须基于原文段落的论证与证据功能。换言之,指标是辅助定位工具,学习论证来自通读。

8.3 与其他 playbook 的协同

范文学习档案不是孤立文件,它与以下方法文档构成完整链路:

  • deep-imitation-protocol.md:定义"深度模仿"的六层学习对象(论证架构、章节节奏、论断校准、证据放置、句子架构、读者契约),并提供三表法(Exemplar Move Table / User Draft Move Table / Target Section Blueprint)与 Closed-Book Section Rewrite(闭卷改写)流程,防止"只加几句"的 patch writing。
  • rewrite-matrix.md:把档案与模板输入到逐段改写矩阵,规定 REWRITE / SPLIT / MERGE / DELETE / MOVE / ADD / KEEP 七种操作,并给出七句世系测试(abstract 末句→引言开句→缺口句→贡献句→Methods 论证句→Results 首条头条→Discussion 收束句)。
  • logic-transfer-audit.md:档案的"下游验收",用四个问题(原稿想做什么、范文教了什么逻辑、改稿现在用什么逻辑、哪些段落因此改变)判定改写是否完成。
  • round1-literature-revision.md:文献引导改写的四个阶段,其中 Phase 3 数值审计要求每个数字都能溯源到授权结果、原稿或已验证文献;Phase 4 通过 Introduction↔Discussion 配对审计保证动机主线闭环。
  • style-learning-workflow.md:提供语料角色选择(same-task / SOTA / prior milestone / adjacent / venue / user favorite)、Style Profile 模板与反抄袭规则——原文逐字句只允许出现在分析表中,不得进入用户稿件;复用前必须转成抽象骨架。

九、证据边界与反抄袭红线

结合整套 playbook,范文学习必须遵守三条证据边界:

  1. 范文教的是结构,不是结果:可以从范文学 move 序列、段落功能、句子骨架,但绝不可以借用范文的实验结果或把范文中报告的数字当作本研究的结果(见 research.md 与 journal-learning.md 的明确表述)。
  2. 骨架优先,逐字句仅限分析:Sentence Skeletons 一节强调 Use skeletons, not copied wording;style-learning-workflow.md 进一步禁止复用罕见的隐喻、独特短语或不寻常的句式序列。
  3. 档案与模板是载体,不是目的:全文反复强调文件名的可选择性——学习由"有依据的写作选择"证明,而非由文件数量证明。这与 PaperSpine 总纲 SKILL.md 中"工具的通过、哈希与任务状态都不构成科学/编辑/视觉/投稿就绪"的基调一脉相承。

十、实践要点速览

  • 触发场景:用户要求"学习/模仿优秀论文"时启用本方法;目标是为论文重写提供可追溯的写作决策来源。
  • 必做四件事:通读原文、分析段落功能、实际应用到稿件段落、做范文/初稿/改稿三向对比;可选表格不替代这四件事。
  • 两个核心输出模板:paragraph_function_templates.md(逐段功能,每行须锚定范文或期刊要求)与 result_narrative_templates.md(按结果类型预置五段叙事动作,防 metric-dump)。
  • 完成判据:档案必须能说明每个段落的职责、Results 小节排序理由、Discussion 首段的解决对象、语气与论断强度、原稿删改内容,以及所修复的具体弱点。
  • 验证工具:revision_audit.py(浅改诊断,默认 near-identical 阈值 0.82、new 阈值 0.25)与 style_metrics.py(风格指标)辅助,但最终质量由人工对论文本身的评判决定。
登录后查看全文
PaperSpine