ERDA — flow đọc paper với Gemini

Mục đích

Working note cho ERDA. Tải PDF lên Gemini Notebook/NotebookLM, tự đọc và recall trước, rồi dùng Gemini để kiểm tra. Các scaffold dưới đây lấy từ PDF, không phải hiểu biết cá nhân hoặc kết quả tái lập.

Cách lưu trong vault

  • Note tạo từ template này nên đặt ở 20 - Research/Paper Reading/.
  • Paper note tổng hợp cuối đặt ở 20 - Research/Papers/.
  • Concept reusable tách sang 04 - Concepts/.
  • So sánh nhiều paper đặt ở 20 - Research/Literature Notes/.

Setup

Từ điển khái niệm nhanh

Khái niệmĐịnh nghĩa trong paperCần phân biệtLink
CFRLTask đầu nhiều dữ liệu; các task sau ít mẫu mỗi relation.Không phải strict all-few-shot.Continual Few-Shot Relation Extraction
Embedding regularizationMargin losses tách câu khỏi relation sai trong không gian biểu diễn.Không ràng buộc trực tiếp trọng số encoder.Embedding Space Regularization
Data augmentationTruy hồi câu Wikipedia chưa nhãn rồi gán pseudo-label.Không sinh câu bằng LLM.Data Augmentation
Exemplar memoryMột câu thật gần centroid cho mỗi relation.Không chọn từ tập pseudo-label.Replay in Continual Learning
Hard negativeCâu memory bị thay head/tail entity.Khác nhãn sai gần nhất của L_pm.Contrastive Learning

Nguyên tắc đọc

Paper gốc
-> Tự đọc / tự đoán
-> Gemini kiểm tra / giải thích
-> Quay lại paper bằng citation
-> Tự recall + tự viết note
-> Gemini kiểm tra phần còn thiếu
ViệcMình làmGemini hỗ trợ
Hiểu research problemtự viết trướckiểm tra
Diễn đạt main ideatự diễn đạtchỉ ra thiếu/sai
Vẽ method / architecturetự vẽbổ sung chi tiết
Tìm citationkiểm tra lạitìm nhanh vị trí
Giải thích equationthử trướcgiải thích sau
Đọc bảng kết quảtự đọckiểm tra caveat
Critical thinkingtự đánh giáchallenge
Final notetự viếtaudit thiếu/sai

Phase 1 — Paper Map

Việc cần làm

Trước khi đọc sâu, chỉ xác định paper có những phần nào và nên đọc ở đâu.

Prompt gửi Gemini

Do not summarize the paper in detail yet.
 
Create a structural map of this paper.
 
Identify:
 
1. Research problem
2. Motivation
3. Research gap
4. Main contributions
5. Overall architecture / pipeline
6. Main components
7. Loss functions
8. Datasets
9. Baselines
10. Evaluation metrics
11. Main experiments
12. Ablation studies
13. Limitations
 
For every item:
- identify the relevant section
- identify relevant figures/tables/equations if available
- give only a short description
 
The purpose is to tell me WHERE to read, not to replace my reading.

Scaffold từ PDF

  • Problem/gap: cùng lúc giải quyết overfitting ở relation mới ít nhãn và forgetting ở relation cũ; task đầu vẫn nhiều dữ liệu. page=1 page=3
  • Method: truy hồi câu ngoài từ Wikipedia → Siamese encoder → CE và margin losses → chọn exemplar thật → replay với hard negatives. page=4 page=5 page=6
  • Đọc Bảng 1 (tr. 7), Bảng 4/6/7 (tr. 14); luôn ghi backbone và số shot. page=7 page=14
  • Hỏi Gemini: “Map the ERDA paper by section/page/equation/table only. Distinguish initial task from later few-shot tasks. Do not summarize the paper yet.”

Paper map của tôi

  • Problem:
  • Motivation:
  • Gap:
  • Main idea:
  • Main contribution:
  • Important figure:
  • Important equations:
  • Main result table:
  • Ablation table:
  • Limitations:

Chỗ cần đọc trước

  • Abstract
  • Introduction
  • Main figure / architecture
  • Main result table
  • Ablation table
  • Limitation / conclusion

Phase 2 — Pass 1 Recall

Đọc nhanh

Đọc theo thứ tự:

Title
-> Abstract
-> Introduction
-> Figures
-> Main result tables
-> Conclusion

Closed-book recall của tôi

Problem

Why does it matter?

Research gap

Main idea

Main contribution

Main result

Prompt kiểm tra recall

I have completed the first pass of the paper.
 
Here is my understanding:
 
[PASTE MY NOTES]
 
Compare my understanding against the paper.
 
Return:
 
1. What I understood correctly
2. What is inaccurate
3. Important points I missed
4. Concepts that I may be confusing
5. Relevant source citations/sections for every correction
 
Do not rewrite the entire paper for me.
Focus on diagnosing my understanding.

Gemini feedback cần xử lý

  • Correct:
  • Inaccurate:
  • Missing:
  • Confusing concepts:
  • Sections cần quay lại:

Ghi nhận phiên hỏi đáp có hướng dẫn — 2026-11-08

Đây là các ý người đọc đã trả lời trong phiên trao đổi có giải thích từ AI; chưa xem là closed-book recall sau khi tự đọc PDF.

  • Bài toán: ban đầu nêu catastrophic forgetting; sau trao đổi bổ sung đúng khó khăn còn lại là overfitting khi task mới chỉ có ít mẫu. Task đầu có nhiều dữ liệu, các task sau few-shot.
  • Phân biệt augmentation và memory: ban đầu nhầm câu Wikipedia truy hồi với exemplar. Đã sửa lại: câu Wikipedia pseudo-label bổ sung tập train của task hiện tại; exemplar được chọn từ câu có nhãn thật gần centroid, rồi lưu cho các task sau.
  • Phân biệt loss: Lmm so relation đúng với mọi relation sai; Lpm tập trung vào relation sai có điểm cao nhất; Lcon dùng tín hiệu contrastive trong giai đoạn replay memory.
  • Đọc kết quả: đã nhận ra ERDA thấp hơn Joint Training trong FewRel 10-way 5-shot với BERT ở task 8 (68.07 so với 69.74). Joint Training giữ toàn bộ dữ liệu cũ nên không cùng ngân sách memory.
  • Đối chiếu note chính: Continual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation có giải thích chi tiết hơn về các phân biệt này.

Phase 3 — Problem / Motivation / Gap

Scaffold từ PDF: CRL trước đó thường có đủ nhãn ở task mới; few-shot learning thường không xử lý chuỗi task kéo dài. ERDA đặt cả hai khó khăn trong một bài toán. Đây là phát biểu của paper, không phải đánh giá cá nhân. page=3

Bảng phân tách

MụcDiễn giải bằng lời của tôiEvidence / citation
General problem
Why it matters
What prior work solves
What prior work fails to solve
Exact research gap
Hypothesis / intuition
Contribution addressing the gap

Prompt phân tích gap

Analyze the problem formulation of this paper.
 
Separate clearly:
 
1. General research problem
2. Why the problem matters
3. What existing approaches already solve
4. What existing approaches still fail to solve
5. The exact research gap targeted by this paper
6. The paper's hypothesis or intuition
7. The proposed contribution that addresses the gap
 
For every statement, point me to the supporting section of the paper.
 
Do not merge "research gap" and "contribution".

Câu hỏi tự kiểm tra

  • Tôi có phân biệt được problem và motivation không?
  • Tôi có phân biệt được gap và contribution không?
  • Tôi có nói được hypothesis bằng lời của mình không?

Phase 4 — Method / Architecture

Scaffold từ Algorithm 1: Với k>1, truy hồi từ corpus để tạo tập mở rộng; học task mới với L_new; chọn một câu thật/relation vào memory; học tiếp trên tập mở rộng cộng memory với L_mem; cập nhật relation representations; inference chọn relation có similarity cao nhất trên toàn bộ relation đã thấy. Task đầu không augmentation. page=4 page=5

Tôi tự vẽ trước

Input
->
->
->
Prediction
->
Loss

Prompt complete data flow

Explain the complete data flow of the proposed method.
 
Follow ONE training example from raw input to final loss.
 
For every step provide:
 
1. Input
2. Operation / module
3. Output
4. Representation or tensor involved, if stated
5. Relevant equation
6. Purpose of this step
7. Relevant paper section
 
Do not skip intermediate components.
 
At the end, provide a compact pipeline like:
 
Input
-> Module A
-> Representation
-> Module B
-> Prediction
-> Loss

Component map

ComponentInputOperationOutputPurposeEvidence
Similarity model S_piCâu mới + corpusEntity matching/FaissCâu pseudo-labelThêm dữ liệu cho task sauContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdf
Siamese encoderCâu/tên relationMã hóa chungEmbeddingsTính similarityContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdf
Exemplar selectorCâu thật/relationChọn gần centroid1 câu/relationReplayContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdf

Điều tôi vẫn chưa hiểu

  • [ ]

Phase 5 — Section Recall

Sau mỗi subsection: đọc, đóng paper, tự recall, rồi mới hỏi Gemini.

  • §3.1: task, label space, memory budget. page=3
  • §3.3.1–3.3.2: encoder, similarity, margin losses. page=4 page=5
  • §3.3.3–3.3.4: exemplar, replay, hard negatives. page=5
  • §3.4: entity matching, Faiss fallback, similarity model. page=6

Section template

Section [X.X — Name]

Input

Process

Output

Purpose

Why is this needed?

Difference from previous methods

What I still do not understand

  • [ ]

Prompt kiểm tra section

I have read Section [SECTION].
 
Here is my current understanding:
 
[MY EXPLANATION]
 
Check it against the source.
 
Identify:
 
1. Correct understanding
2. Missing mechanisms
3. Incorrect causal relationships
4. Terms I am using incorrectly
5. Important details that affect how the method works
6. Which equations/figures I should revisit
 
Do not summarize the section unless necessary for a correction.

Phase 6 — Equations

Prompt operational equation walkthrough

Walk me through the key equations or formal blocks in this paper.
 
For each equation/block, explain:
1. Input: what variables or objects go into it.
2. Output: what it produces.
3. Where it is used in the training/inference pipeline.
4. What behavior it encourages.
5. What would likely break or become weaker if removed.
6. Which table, figure, ablation, or result supports its usefulness.
 
Do not summarize the whole paper. Focus only on operational understanding of the equations and formal mechanisms.

Equation queue

Eq.Dùng để làm gì?Biến chínhBehavior được khuyến khíchEvidence / ablationStatus
1Kiểm tra dấu của CEĐiểm relation đúngPhân loạiContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdf; đối chiếu code vì công thức PDF viết tổng log-probability dươngtodo
2–3So L_mm và L_pmTất cả nhãn sai / nhãn sai gần nhấtTách relationContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdf Continual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdf; Bảng 7 Continual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdftodo
4Phân rã L_newCE + hai margin lossesHọc task mớiContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdftodo
5Centroid và tập chọn exemplarChỉ câu thậtMemory đại diệnContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdftodo
§3.3.4L_con và L_memMemory, hard negativesGiảm forgettingContinual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdf; Bảng 7 Continual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation.pdftodo

Prompt equation deep dive

Explain Equation [NUMBER] at three levels.
 
LEVEL 1 — Intuition
Explain what the equation does without mathematics.
 
LEVEL 2 — Variables
Explain every symbol, variable, vector, matrix, tensor and hyperparameter.
 
For each variable tell me:
- where it comes from
- its role
- its shape/dimension if the paper states or implies it
 
LEVEL 3 — Mathematics
Explain the mathematical operation step by step.
 
Then answer:
 
1. Why is this equation needed?
2. What model behavior does it encourage?
3. What would likely happen if it were removed?
4. Which experiment or ablation tests its usefulness?
5. How does it connect to the equations immediately before/after it?
 
Use only information supported by the paper and explicitly state when an explanation is an inference.

Phase 7 — Loss Functions

Scaffold từ PDF: L_new = λ_ce L_ce + λ_mm L_mm + λ_pm L_pm. Giai đoạn replay thêm λ_con L_con. Bảng 7: full 53.23 ± 1.49; bỏ L_mm 51.72 ± 1.27; bỏ L_pm 50.05 ± 1.14; bỏ L_con 51.95 ± 1.15 (FewRel 10-way 5-shot, Bi-LSTM, task 8; số paper báo cáo). page=5 page=14

Loss decomposition

Total Loss
├── Loss A -> purpose
├── Loss B -> purpose
└── Loss C -> purpose
LossEquationInputsTrains componentBehaviorWeightAblation

Prompt loss decomposition

Decompose the complete training objective of this paper.
 
For every loss term provide:
 
- Name
- Equation
- Inputs
- What behavior it encourages
- Which component it trains
- Weight / hyperparameter
- Why the authors need it
- Whether an ablation validates it
 
Then explain how all loss terms interact during training.
 
Finally give me:
 
Total Loss
├── Loss A -> purpose
├── Loss B -> purpose
└── Loss C -> purpose

Phase 8 — Experiments

Protocol từ PDF: FewRel: 80 relations/8 task × 10, task đầu 100 mẫu/relation, task sau 2/5/10-shot. TACRED: 41 relations sau khi bỏ n/a, task đầu 6 × 100, bảy task sau 5 relations/task với 5/10-shot. Một exemplar thật/relation; thêm corpus Wikipedia, similarity BERT và Faiss. Inference trên mọi relation đã thấy; metric accuracy; 6 runs/task orders. page=3 page=5 page=6 page=14

Experiment map

ExperimentResearch questionDatasetBaselinesMetricTable/FigureMain resultCaveat

Protocol fingerprint

  • Dataset and split:
  • Scenario / label space:
  • Backbone:
  • Frozen/trainable components:
  • Seeds / number of runs:
  • Metric and averaging:
  • Baseline implementation:
  • External data / teacher / generated data:
  • Memory budget:
  • Evaluation after each task:
  • Compute / hardware:

Prompt experiment map

Create an experiment map for this paper.
 
For every experiment identify:
 
1. Research question being tested
2. Dataset
3. Baselines
4. Metric
5. Table/Figure
6. Main result
7. What conclusion the authors draw
 
Do not merely summarize the numbers.
 
Explain WHY each experiment exists.

Phase 9 — Claim → Evidence

Scaffold cần kiểm tra: Bi-LSTM 5-shot task 8: ERDA 53.23 ± 1.49, IDLVQ-C 40.56 ± 2.13, Joint Training 50.03 ± 1.17. BERT 5-shot: ERDA 68.07 ± 1.94, thấp hơn Joint Training 69.74 ± 0.34. Vì vậy tránh claim “vượt mọi baseline trong mọi cấu hình”. Đây là số paper báo cáo, chưa tái lập. page=14

ClaimWhere claim appearsExperimentEvidenceMy judgmentCaveat

Prompt claim/evidence audit

List the major claims made by the authors.
 
For every claim provide:
 
- Claim
- Where the claim is made
- Experiment supporting it
- Table / figure
- Metric
- Relevant baseline
- Observed evidence
- Whether the evidence strongly, partially, or weakly supports the claim
- Important caveats
 
Separate facts reported by the paper from your own inference.

Phase 10 — Ablation Study

Bảng 7, FewRel 5-shot Bi-LSTM, task 8: full 53.23 ± 1.49; w.o. memory 40.32 ± 2.22; w.o. DA 51.51 ± 0.70; w.o. entity matching 52.39 ± 0.66; w.o. similarity search 52.27 ± 0.98. Phân biệt bỏ toàn memory với bỏ riêng L_con. page=14

  • Tính chênh lệch bằng điểm accuracy.
  • Kiểm tra Bảng 2: λ_con=0.02 cho 53.38 ± 0.63; cấu hình 0.1 cho 53.23 ± 1.49. page=9
ComponentIntended purposeWith componentWithout componentDifferenceConclusion justifiedNot justified

Prompt ablation analysis

Analyze every ablation study in this paper.
 
For each component provide:
 
Component
-> Intended purpose
-> Result with component
-> Result without component
-> Absolute difference
-> Relative importance
-> What conclusion is justified
-> What conclusion is NOT justified
 
Then answer:
 
1. Which component contributes the most?
2. Which contributes the least?
3. Are there interactions between components?
4. Does the ablation fully validate the proposed method?
5. What additional ablation would strengthen the paper?

Phase 11 — Critical Reading

Câu hỏi cần tự đánh giá: Corpus ngoài và similarity model ảnh hưởng ngân sách dữ liệu/compute thế nào? Pseudo-label từ cùng entity pair có thể sai relation không (suy luận)? t-SNE có thay được ablation không? Muốn so với strict all-few-shot phải chạy lại gì? page=6 page=7

Reviewer notes

  • Strongest contribution:
  • Weakest part:
  • Main assumption:
  • Alternative explanation:
  • Missing experiment:
  • Generalization risk:
  • Reproducibility risk:

Prompt reviewer mode

Act as a critical peer reviewer.
 
Evaluate this paper on:
 
1. Problem importance
2. Novelty
3. Soundness of the method
4. Assumptions
5. Experimental design
6. Choice of baselines
7. Evaluation metrics
8. Ablation quality
9. Reproducibility
10. Limitations
11. Generalizability
 
For every criticism:
- cite supporting evidence from the paper
- distinguish explicit limitations from your inferred limitations
 
Then provide:
 
Strongest contribution:
...
 
Weakest part:
...
 
One experiment that would make the paper substantially stronger:
...

Phase 12 — Reproduction Check

Điểm cần đối chiếu code: dấu Eq. (1), định nghĩa similarity g nếu dùng L2, lọc trùng corpus truy hồi với test, và seed/task order. Appendix A.2 báo α=0.65, Faiss top-K=1, m1=0.2, m2=0.2, m3=0.01, λ_con=0.1. Không coi thông số paper là một local run. page=4 page=13

ItemStatusDetailMissing detail / risk
Dataset and split
Preprocessing
Input representation
Model / backbone
Training procedure
Sampling procedure
Memory / replay strategy
Loss functions
Optimizer
Learning rate
Batch size
Epochs
Hyperparameters
Random seeds
Evaluation protocol
Inference procedure

Prompt reproduction checklist

Assume I want to reproduce this paper.
 
Extract everything required for implementation:
 
1. Dataset and split
2. Preprocessing
3. Input representation
4. Model / backbone
5. Architecture
6. Training procedure
7. Sampling procedure
8. Memory / replay strategy if any
9. Loss functions
10. Optimizer
11. Learning rate
12. Batch size
13. Number of epochs
14. Hyperparameters
15. Random seeds
16. Evaluation protocol
17. Inference procedure
 
For every item classify it as:
 
- Clearly specified
- Partially specified
- Missing
 
Tell me which missing details would make reproduction difficult.

Phase 13 — Completeness / Oral Exam

Câu oral exam riêng cho ERDA: Vì sao task đầu 100-shot? Hai nhánh augmentation khác nhau khi nào? L_mm và L_pm khác nhau ra sao? Memory chọn từ tập nào? Vì sao BERT Bảng 4 không cho phép nói ERDA hơn Joint Training? Những gì phải khóa trước khi dùng ERDA làm baseline?

Completion criteria

  • Giải thích research problem không nhìn paper
  • Phân biệt motivation và research gap
  • Nói contribution bằng lời của mình
  • Vẽ toàn bộ architecture
  • Theo một sample từ input đến loss
  • Giải thích các equation quan trọng
  • Giải thích vai trò từng loss
  • Biết dataset và evaluation protocol
  • Biết baseline chính
  • Đọc và giải thích main result table
  • Nói ablation chứng minh điều gì
  • Nối từng major claim với evidence
  • Chỉ ra ít nhất một assumption
  • Chỉ ra limitations
  • Biết phần nào khó reproduce
  • So sánh paper với ít nhất một related method
  • Nói được paper liên quan gì đến research của mình
  • Trả lời oral exam mà không phụ thuộc AI summary

Prompt oral exam

Act as my PhD advisor.
 
Quiz me on this paper one question at a time.
 
Progress through:
 
LEVEL 1
- Problem
- Motivation
- Research gap
- Contributions
 
LEVEL 2
- Architecture
- Main components
- Training process
 
LEVEL 3
- Equations
- Loss functions
- Experiments
- Ablation
 
LEVEL 4
- Assumptions
- Limitations
- Failure cases
- Comparison with alternatives
 
LEVEL 5
- Ask me to propose improvements
- Ask me to transfer the idea to another setting
- Ask me to defend or criticize the paper
 
Rules:
 
1. Ask ONE question.
2. Wait for my answer.
3. Evaluate my answer against the paper.
4. Tell me what is correct, incomplete, or incorrect.
5. Point me to relevant source citations.
6. Increase difficulty gradually.
7. Do not reveal the ideal answer before I attempt it.

Final Paper Note Handoff

Paper note chính đã tồn tại: Continual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation. Chỉ chuyển nhận xét mới sau khi tự đọc và đối chiếu PDF. Giữ nguyên reading_status của paper note và completed: false của flow cho tới khi người đọc xác nhận.

Chỉ chuyển sang paper note chính những ý đã được kiểm tra lại bằng paper citation.

Ý cần chuyển sang paper note

  • Tóm tắt một câu:
  • Problem:
  • Gap:
  • Method overview:
  • Important equations:
  • Protocol fingerprint:
  • Main results:
  • Ablation:
  • Limitations:
  • Critical judgment:
  • Concepts cần tạo/cập nhật:

Prompt audit paper note cuối

Here is my final note for this paper:
 
[PASTE NOTE]
 
Audit it against the source.
 
Do NOT rewrite the note.
 
Return only:
 
## Missing
Important information from the paper that my note omitted.
 
## Incorrect
Statements in my note that conflict with the paper.
 
## Ambiguous
Statements that are too vague or could be misunderstood.
 
## Overstated
Claims stronger than what the experiments support.
 
## Recommended revisit
Sections, figures, tables or equations I should reread.
 
Rank findings by importance:
Critical / Important / Optional.

Liên kết