2026-08-21 - FPrompt-PLM - Gemini Notebook Workflow

Ranh giới

Đây là working note scaffold từ metadata/abstract chính thức và repository, vì chưa có PDF local. Các phần cần page-level evidence được đánh dấu todo hoặc chưa có PDF; không coi note này là bằng chứng đã đọc xong paper.

Setup

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

Evidence boundary

Note này chưa có PDF local, nên bảng dưới là scaffold từ metadata/abstract/repository hiện có. Các định nghĩa về công thức, kết quả và ablation vẫn cần kiểm lại khi có PDF.

Khái niệmĐịnh nghĩa ngắn trong paper nàyVì sao quan trọngLink
CFS-REContinual Few-Shot Relation Extraction: học relation mới theo stream task với rất ít labeled examples.Là bài toán nền của FPrompt-PLM.Continual Few-Shot Relation Extraction
FPrompt-PLMFlexible-Prompt on PLM: framework dùng flexible prompts và prototype-based prediction cho continual few-shot RE.Đây là method chính cần đối chiếu khi có PDF.FPrompt-PLM - Flexible-Prompt on Pretrained Language Model for Continual Few-Shot Relation Extraction
Flexible promptPrompt representation có thể thay đổi/chọn theo task hoặc input thay vì một template cố định.Là cách paper dự kiến tận dụng PLM trong low-resource continual setting.Prompt Tuning
Prompt poolTập nhiều prompt vectors/templates được lưu và chọn trong quá trình học liên tục.Giúp lưu adaptation knowledge mà không nhất thiết fine-tune toàn bộ model.Prompt Pool
Prototype poolTập prototype vectors đại diện cho relation/classes đã học.Là anchor cho nearest-prototype classification và retention.Prototype Learning
Nearest-prototype learningPhân loại sample theo prototype gần nhất trong embedding space.Phù hợp class-incremental relation prediction khi label set tăng dần.Prototype Learning
Meta-trainingGiai đoạn học initialization/strategy để thích nghi tốt với few-shot tasks.Có thể giải thích vì sao method nhắm tới data scarcity.Few-shot Learning
Continual meta-finetuningFine-tune tiếp theo chuỗi task mới nhưng giữ khả năng với relation cũ.Là nơi forgetting và overfitting xuất hiện đồng thời.Continual Learning
Distillation lossLoss ép model hiện tại giữ behavior/representation từ trạng thái trước.Một cơ chế thường dùng để giảm catastrophic forgetting.Catastrophic Forgetting
Prototype diversityRàng buộc làm các prototypes đủ phân tách, tránh collapse hoặc quá gần nhau.Quan trọng khi relation gần nghĩa và few-shot prototypes dễ nhiễu.Prototype Learning, Contrastive Learning
TODO khi có PDFKiểm page evidence cho equations, results, ablations, case study và limitations.Tránh biến scaffold chưa kiểm thành bằng chứng nguồn.FPrompt-PLM - Flexible-Prompt on Pretrained Language Model for Continual Few-Shot Relation Extraction

Phase 1 - Paper Map

Prompt gửi Gemini

Do not summarize the paper in detail yet. Create a structural map of this paper and identify problem, motivation, gap, contributions, pipeline, components, losses, datasets, baselines, metrics, main experiments, ablations, case studies, and limitations. For every item, point to the relevant section, figure, table, or equation. The purpose is to tell me WHERE to read, not to replace my reading.

Paper map - scaffold từ nguồn hiện có

  • Problem: CFS-RE phải học relation mới theo chuỗi từ ít examples, đồng thời tránh catastrophic forgetting và few-shot overfitting.
  • Motivation: supervised RE cố định không phù hợp khi relation mới xuất hiện liên tục.
  • Gap: cần framework tận dụng PLM, prompt memory và prototype memory trong continual few-shot setting.
  • Main idea: Flexible-prompt on PLM kết hợp flexible-prompt embedding, pretrained-language understanding và nearest-prototype learning.
  • Main contributions: prompt pool, prototype pool, meta-training, continual meta-finetuning, testing, multiple distillation losses, prototype-diversity loss.
  • Important figure: cần kiểm khi có PDF.
  • Important equations: flexible prompt, nearest-prototype, distillation losses, prototype-diversity loss.
  • Main result table: cần kiểm khi có PDF.
  • Ablation table: cần kiểm khi có PDF.
  • Case study: README nêu similarity heatmaps giữa 15 prototypes và 3 prompts trên TACRED với BERT Base.
  • Limitations: chưa có PDF local nên chưa có page evidence và chưa kiểm protocol/số định lượng.

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

  • Abstract/metadata
  • README/code structure
  • Method section trong PDF
  • Loss definitions
  • Main results
  • Ablation
  • Case study
  • Limitations/conclusion

Phase 2 - Pass 1 Recall

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 what is correct, inaccurate, missing, confusing, and which sections/citations I should revisit. Do not rewrite the entire paper for me.

Phase 3 - Problem / Motivation / Gap

MụcDiễn giải bằng lời của tôiEvidence / citation
General problemRelation extraction cần nhận diện quan hệ giữa hai entity trong câu; CFS-RE làm việc này trong stream task và ít mẫu.XJTU metadata
Why it mattersQuan hệ mới xuất hiện liên tục, còn việc gán nhãn nhiều ví dụ cho relation mới là tốn kém.XJTU metadata
What prior work solvesPrompt/prototype/memory methods cố giảm forgetting và tận dụng PLM trong low-resource setup.inferred
What prior work fails to solveCFS-RE vẫn chịu catastrophic forgetting và overfitting khi few-shot.XJTU metadata
Exact research gapCần cập nhật prompt/prototype qua thời gian mà vẫn dự đoán được mọi relation đã thấy.inferred từ abstract
Hypothesis / intuitionPrompt pool lưu cách điều kiện hóa PLM; prototype pool lưu anchors quan hệ; distillation/diversity giữ cân bằng ổn định và phân tách.inferred
Contribution addressing the gapFPrompt-PLM dùng flexible-prompt embedding, PLM understanding, nearest-prototype learning, prompt/prototype pools, distillation và prototype diversity.XJTU metadata

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

  • FPrompt-PLM khác CPL ở prompt/prototype memory như thế nào?
  • Prompt pool lưu “task knowledge” hay “time-period knowledge”?
  • Prototype-diversity loss có thể gây side effect gì?

Phase 4 - Method / Architecture

Tôi tự vẽ trước

Sentence + entity pair
-> PLM encoder
-> flexible-prompt embedding / prompt pool
-> relation representation
-> prototype pool for seen relations
-> nearest-prototype prediction
-> continual meta-finetuning on new relations
-> distillation losses preserve old knowledge
-> prototype-diversity loss separates relation anchors

Component map

ComponentInputOperationOutputPurposeEvidence
Flexible-prompt embeddingtask/time/input contextcreate or select prompt representationprompt-conditioned PLM behavioradapt PLM to CFS-REXJTU metadata
Pretrained-language understandingprompted sentencePLM encodingsemantic representationexploit PLM priorXJTU metadata
Prompt poolhistorical promptscontinuous updateprompt memorypreserve/adapt prompting across periodsXJTU metadata
Prototype poolrelation representationsupdate prototypesrelation anchorsclassify seen relations by nearest prototypeXJTU metadata
Distillation lossesold/new model signalspreserve outputs/features/promptsregularized modelreduce catastrophic forgettingXJTU metadata
Prototype-diversity lossprototypespush/separate anchorsmore diverse prototypesreduce prototype collapseXJTU metadata

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

  • Flexible prompt được chọn theo task, input, hoặc time period?
  • Prototype pool có lưu một prototype/relation hay nhiều prototype/relation?
  • Distillation loss distill logits, features, prompts hay prototype relations?
  • Có dùng exemplar replay không?

Phase 5 - Section Recall

Method - Flexible prompt + PLM

  • Input: sentence/entity pair và prompt information.
  • Process: PLM được điều kiện hóa bởi flexible prompt.
  • Output: relation representation.
  • Purpose: tận dụng pretrained knowledge trong few-shot continual setting.
  • Still unclear: prompt parameterization chính xác.

Method - Prompt pool + prototype pool

  • Input: prompts/prototypes đã học qua các task/time periods.
  • Process: cập nhật liên tục pool khi relation mới đến.
  • Output: prompt memory và relation anchors cho seen relations.
  • Purpose: giữ tri thức cũ mà vẫn thích nghi relation mới.
  • Still unclear: pool growth, pruning và inference selection.

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.
Eq/blockDùng để làm gì?Biến chínhBehavior được khuyến khíchEvidence / ablationStatus
Flexible promptcondition PLMprompt embeddingsadapt to new relationschưa có PDFtodo
Nearest prototypeclassify relationembedding, prototypeschoose closest relation anchorchưa có PDFtodo
Distillation lossesretain old knowledgeold/new signalsreduce forgettingchưa có PDFtodo
Prototype diversityseparate anchorsprototype vectorsreduce collapse/overlapchưa có PDFtodo
Continual meta-finetuningadapt across tasksmeta parameters/task datafast few-shot adaptationchưa có PDFtodo

Phase 7 - Loss Functions

FPrompt-PLM training signal
├── relation classification / nearest prototype
├── prompt adaptation
├── continual meta-finetuning
├── multiple distillation losses
└── prototype-diversity regularization
Loss/blockInputsTrains componentBehaviorWeightAblation
Nearest-prototype/classificationexamples + prototypesencoder/prototypesclassify seen relationschưa có PDFtodo
Distillation lossesold and current model signalsencoder/prompt/prototype modulespreserve old knowledgechưa có PDFtodo
Prototype-diversity lossprototype poolprototype spaceseparate relation anchorschưa có PDFtodo
Meta-finetuning objectivesupport examples/tasksprompt/encoder parametersadapt quickly to few-shot relationschưa có PDFtodo

Phase 8 - Experiments

ExperimentResearch questionDatasetBaselinesMetricTable/FigureMain resultCaveat
Main CFS-RE resultsFPrompt-PLM có cải thiện SOTA không?FewRel/TACREDcần đọc PDFaccuracy/F1 cần xác minhcần đọc PDFabstract báo cải thiện đáng kểchưa có số
Ablationprompt/prototype/distillation/diversity đóng góp gì?FewRel/TACREDvariantscần xác minhcần đọc PDFcần đọc PDFchưa có PDF
Case studyprompt/prototype similarity cho thấy gì?TACREDqualitativeheatmapREADME case study15 prototypes, 3 prompts, BERT Basequalitative
Sensitivitysố prompts/prototypes/shots ảnh hưởng thế nào?cần đọc PDFvariantscần xác minhcần đọc PDFcần đọc PDFchưa có PDF

Protocol fingerprint

  • Dataset and split: README cho thấy FewRel và TACRED.
  • Scenario / label space: continual few-shot relation extraction.
  • Backbone: README case study nhắc BERT Base; cần kiểm main experiments.
  • Seeds / number of runs: chưa có PDF.
  • Metric and averaging: chưa có PDF.
  • Memory/replay: prompt pool và prototype pool; chưa rõ có raw exemplar replay không.
  • External data: chưa xác minh.
  • Evaluation after each task: cần đọc PDF.

Phase 9 - Claim to Evidence

ClaimWhere claim appearsExperimentEvidenceMy judgmentCaveat
FPrompt-PLM gồm flexible-prompt embedding, PLM understanding, nearest-prototype learning.abstract/metadatamethod claimXJTU metadatareportedcần PDF để lấy equations
Prompt pool và prototype pool được cập nhật liên tục.abstract/metadatamethod claimXJTU metadatareportedchưa biết growth/budget
Dùng multiple distillation losses và prototype-diversity loss.abstract/metadatamethod claimXJTU metadatareportedchưa rõ công thức
Code repo có FewRel/TACRED material và case study.READMEcode/case studyGitHub READMEreportedREADME không thay thế paper
Paper metadata TKDE 2024/DOI.publisher/bibliographymetadataIEEE Xplore, DBLPreliable metadataPDF inaccessible locally

Phase 10 - Ablation Study

ComponentIntended purposeWith componentWithout componentDifferenceConclusion justifiedNot justified
Flexible promptadapt PLM to few-shot relationscần PDFcần PDFcần PDFchưa kết luậnprompt là nguồn gain chính
Prompt poolpreserve prompt knowledge over timecần PDFcần PDFcần PDFchưa kết luậnpool scale tốt
Prototype poolretain relation anchorscần PDFcần PDFcần PDFchưa kết luậnmột prototype đủ cho mọi relation
Distillation lossesreduce forgettingcần PDFcần PDFcần PDFchưa kết luậndistillation luôn hơn replay
Prototype diversityseparate relation anchorscần PDFcần PDFcần PDFchưa kết luậndiversity không hại relation gần nghĩa

Phase 11 - Critical Reading

  • Strongest expected contribution: kết hợp prompt memory và prototype memory trong CFS-RE.
  • Weakest part hiện tại: chưa có PDF, nên chưa kiểm được protocol và quantitative evidence.
  • Main assumption cần kiểm: pool selection/growth không làm inference quá tốn.
  • Alternative explanation: gains có thể đến từ PLM/backbone hoặc task setup hơn là flexible prompt riêng.
  • Missing experiment cần tìm: ablation từng loss, sensitivity số prompts/prototypes, comparison với CPL/ConPL cùng protocol.
  • Generalization risk: relation labels/domain ngoài FewRel/TACRED có thể làm prototype/prompt quality giảm.
  • Reproducibility risk: nếu code thiếu hyperparameters/checkpoints, khó reproduce.

Phase 12 - Reproduction Check

ItemTrạng tháiCần làm
PDF localblockedIEEE download tự động bị chặn; cần tải thủ công hoặc dùng access khác
MetadatadoneIEEE/DBLP/XJTU đã có
Codepartialrepo GitHub đã xác định
Dataset splittodođọc PDF/code configs
Main tabletodocần PDF
Ablationtodocần PDF
Equationstodocần PDF
Computetodocần PDF/code

Phase 13 - Completeness / Oral Exam

Mình tự trả lời sau khi đọc

  1. FPrompt-PLM định nghĩa CFS-RE thế nào?
  2. Flexible-prompt embedding khác prompt tuning/prefix tuning thông thường ở đâu?
  3. Prompt pool và prototype pool được cập nhật khi task mới đến như thế nào?
  4. Nearest-prototype learning dùng khoảng cách gì?
  5. Distillation losses giữ knowledge cũ ở cấp nào?
  6. Prototype-diversity loss có bằng chứng ablation mạnh không?
  7. So sánh FPrompt với CPL/ConPL/WAVE++ cần giữ caveat protocol nào?

Prompt oral exam

Quiz me on FPrompt-PLM. Ask one question at a time. Focus on CFS-RE problem setup, flexible prompts, prompt pool, prototype pool, nearest-prototype learning, distillation, prototype diversity, and evidence gaps. Do not give the answer until I respond.

Final Paper Note Handoff

Ý cần chuyển sang paper note

  • Bổ sung PDF local và page-level evidence.
  • Điền công thức flexible prompt, nearest prototype, distillation, prototype diversity.
  • Điền main results/ablation bằng số chính xác.
  • Ghi rõ nếu paper dùng exemplar replay hay chỉ prompt/prototype memory.
  • So sánh protocol với CPL, ConPL, WAVE-CRE và WAVE++.

Liên kết