2026-08-28 - CPL - Gemini Notebook Workflow

Ranh giới

Đây là working note scaffold từ paper note/PDF để hỗ trợ đọc với Gemini Notebook. Các phần recall/draft bên dưới dùng để tự kiểm và hỏi Gemini; chỉ những đoạn bạn tự viết sau khi đọc mới được coi là closed-book recall cá nhân. Không coi note này là bằng chứng đã đọc xong paper.

Setup

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

Khái niệmĐịnh nghĩa ngắn trong paper nàyVì sao quan trọngLink
CFREContinual Few-Shot Relation Extraction: học tuần tự các relation mới với ít labeled examples ở các task sau, trong khi vẫn đánh giá trên tất cả relation đã thấy.Đây là bài toán trung tâm; vừa có forgetting, vừa có overfitting.Continual Few-Shot Relation Extraction
CPLContrastive Prompt Learning: framework gồm hybrid prompt, MCL, memory augmentation và NCM inference.Đây là đóng góp chính của paper.Making Pre-trained Language Models Better Continual Few-Shot Relation Extractors
Prompt representationBiến câu RE thành cloze-style input có [MASK], rồi dùng hidden state tại [MASK] làm relation embedding.Tận dụng pretraining interface của PLM mà không cần verbalizer.Prompt Tuning, Masked Language Modeling
Hybrid promptPrompt kết hợp hard structure như entity positions/[MASK] với continuous learnable vectors [v].Giữ prior có cấu trúc nhưng vẫn cho model tự học phần prompt mềm.Prompt Tuning
VerbalizerBảng map label sang token/cụm token để dự đoán tại [MASK]. CPL không dùng verbalizer.Nếu không có verbalizer, inference phải dựa vào metric/prototype thay vì label-token probability.Prompt Tuning
MCLMargin-based Contrastive Learning: contrastive objective có relaxation factors phụ thuộc similarity của positive/negative pairs.Tăng lực học ở hard pairs và làm feature space phân biệt hơn trong few-shot.Contrastive Learning
Feature bucket Bộ nhớ tạm chứa features của current task để sample thêm contrastive pairs trong khi train task .Không phải replay memory qua task; chỉ giúp MCL có nhiều positives/negatives hơn batch nhỏ.Contrastive Learning
Replay memory Exemplars thật được chọn bằng K-means và giữ qua các task, chính setting là exemplar/relation.Là bằng chứng cũ để replay và tạo prototypes; CPL không rehearsal-free.Replay in Continual Learning
Augmented samples Structured examples do GPT-3.5 sinh từ relation description và exemplar thật.Mở rộng support set cho replay, nhưng có rủi ro noise/label drift.Data Augmentation, Replay in Continual Learning
NCMNearest-Class-Mean classifier: gán nhãn theo prototype gần nhất trong embedding space.Phù hợp class-incremental inference vì thêm relation mới bằng prototype, không cần fixed softmax head.Prototype Learning
Strict evaluationSau task , candidate labels là toàn bộ relation đã thấy, không chỉ vài label được chọn lỏng lẻo.Làm kết quả khó hơn và công bằng hơn cho continual setting.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, 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

  • Problem: CFRE yêu cầu học relation mới liên tục với ít labeled data, đồng thời tránh catastrophic forgetting và overfitting. PDF tr. 1
  • Motivation: PLM có implicit knowledge nhưng các CFRE methods trước đó chưa tận dụng prompt learning đủ trực tiếp trong few-shot continual relation extraction. PDF tr. 2
  • Gap: cần representation có khả năng chuyển giữa old/new relations và objective làm feature space phân biệt hơn trong low-resource setting.
  • Main idea: dùng hybrid prompt lấy [MASK] hidden state làm relation embedding, MCL để tập trung hard pairs, exemplar replay + GPT-3.5 generated samples để mở rộng memory, rồi dự đoán bằng NCM.
  • Main contributions: Contrastive Prompt Learning, hybrid prompt không verbalizer, margin-based contrastive objective, GPT memory augmentation, NCM inference.
  • Important figure: Figure 2 framework CPL. PDF tr. 4
  • Important equations: prompt template Eq. 1-3, MCL Eq. 4-8, NCM Eq. 9. PDF tr. 4, PDF tr. 5
  • Main result table: Table 1 cho 5-shot; Table 6 cho 10-shot. PDF tr. 6, PDF tr. 13
  • Ablation table: Table 2 components, Table 3 prompt formats, Figure 5 generated samples, Figure 6 memory size. PDF tr. 7, PDF tr. 8, PDF tr. 13
  • Limitations: training time tăng theo memory/generated samples; GPT-3.5 output không hoàn toàn ổn định. PDF tr. 9

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

  • Abstract + Introduction
  • Section 3 task formalization
  • Section 4 framework
  • Table 1-3
  • Figure 3-6
  • Limitations + Appendix

Phase 2 - Pass 1 Recall

Recall draft cần kiểm tra

Cách dùng phần này

Các gạch đầu dòng dưới đây là bản recall/draft để đem đi kiểm với Gemini hoặc tự kiểm lại PDF. Nếu phần nào không phải do bạn tự viết sau khi đọc, đừng coi nó là closed-book recall cá nhân.

Problem

  • Bài toán cụ thể ở đây là Continual Few-Shot Relation Extraction (CFRE). Điểm mấu chốt là mô hình vừa phải học liên tục các quan hệ mới, vừa phải đối mặt với giới hạn ngặt nghèo về mặt dữ liệu (few-shot), dẫn đến hai thách thức song hành là quên lãng thảm họa (catastrophic forgetting) và quá khớp (overfitting)

Why does it matter?

  • Trong thực tế, các quan hệ mới xuất hiện liên tục. Việc học liên tục (Continual Learning) giúp hệ thống tích lũy thêm tri thức mới mà không cần giữ lại toàn bộ kho dữ liệu cũ khổng lồ (vốn có thể bị xóa đi vì lý do bảo mật hoặc giới hạn lưu trữ)

Research gap

  • Theo claim của paper, chưa có hướng nào khai thác trực tiếp prompt technology trong CFRE để kéo implicit knowledge của PLM vào bài toán này. Cần giữ caveat: prompt-based continual relation extraction đã có trước đó, nhưng không cùng setting CFRE mà paper nhắm tới.

Main idea

  • Sử dụng Contrastive prompt learning
    • Prompt representation: chuyển bài toán classification thành cloze/text-infilling style với [MASK], rồi lấy hidden state tại [MASK] làm relation embedding.
    • Margin-based Contrastive Learning (MCL): tập trung lực học vào các mẫu khó (hard samples), làm feature distribution đều hơn và giảm overfitting trong low-resource setting.
    • Memory Augmentation: hướng dẫn GPT-3.5 sinh thêm dữ liệu replay từ relation description và exemplar thật để mở rộng support set của memory nhỏ.

Main contribution

  • Đề xuất Contrastive Prompt Learning: kết hợp hybrid prompt, MCL, memory augmentation và NCM để giảm forgetting/overfitting trong setting paper.
  • Giới thiệu memory augmentation bằng GPT-3.5, nhưng kết quả của phần này phụ thuộc dataset và chất lượng synthetic samples.

Main result

  • Paper báo cáo CPL đạt T8 accuracy cao hơn SCKD trên 5-shot: +1.63 điểm ở FewRel và +6.28 điểm ở TACRED; đây là reported accuracy points, chưa phải kết quả reproduce cục bộ.

Feedback đối chiếu recall với PDF

MụcĐánh giáCần chỉnh / bổ sungEvidence
ProblemĐúng hướngNói rõ task đầu của protocol có 100 examples/relation; chỉ task 2-8 mới là 5/10-shot.PDF tr. 3, PDF tr. 6
MotivationĐúng nhưng còn chungLý do chính là relation mới xuất hiện liên tục và labeled data đắt/ít, không chỉ là không muốn giữ toàn bộ data cũ.PDF tr. 1
Research gapCần thu hẹp claimPaper claim “first exploration of prompt technologies in CFRE”; không nên viết thành mọi phương pháp trước đó đều chưa khai thác PLM/prompt trong mọi setting CRE.PDF tr. 2
Main ideaĐúngBổ sung NCM vì nó là phần inference quan trọng và thay softmax classifier.PDF tr. 5
Main contributionĐúng nhưng thiếu caveatMemory augmentation dùng GPT-3.5 vẫn có instability/noise; authors tự ghi temperature 0 vẫn không đảm bảo output giống nhau.PDF tr. 9, PDF tr. 12
Main resultQuá mơ hồNên ghi metric, dataset, baseline và T8 accuracy; không gọi “SOTA” ngoài phạm vi baselines/protocol paper so sánh.PDF tr. 6

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 học tậpEvidence / citation
General problemContinual few-shot relation extraction cần học relation mới tuần tự với rất ít mẫu và vẫn giữ relation cũ.PDF tr. 1
Why it mattersRelation mới xuất hiện theo thời gian; labeled data ít làm model dễ quên và overfit.PDF tr. 1
What prior work solvesReplay, prototype, distillation, data augmentation và contrastive learning đã được dùng cho CRE/CFRE.PDF tr. 2
What prior work fails to solveTheo paper, prompt technology chưa được khai thác đầy đủ trong CFRE, và low-resource training vẫn khó với hard/similar relations.PDF tr. 2
Exact research gapCần framework tận dụng PLM prompt knowledge, tạo feature space phân biệt, và bổ sung replay memory trong few-shot continual setting.PDF tr. 2
Hypothesis / intuitionPrompt alignment giúp representation tổng quát hơn; MCL xử lý hard pairs; generated replay giảm overfitting quanh một exemplar.inferred từ method/results
Contribution addressing the gapCPL kết hợp hybrid prompt, MCL, feature bucket, memory augmentation bằng GPT-3.5 và NCM classifier.PDF tr. 4, PDF tr. 5

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

  • CFRE trong CPL khác strict NK-CRE của ConPL ở task đầu như thế nào?
  • Prompt representation giải quyết forgetting hay overfitting, hay cả hai theo cách khác nhau?
  • Generated replay samples là evidence thật hay synthetic support?

Phase 4 - Method / Architecture

Sơ đồ pipeline nháp

Sentence + head/tail entity
-> hybrid prompt with learnable vectors + [MASK]
-> BERT-base encoder
-> [MASK] relation embedding
-> feature bucket for contrastive pairs
-> MCL current-task training
-> K-means select real exemplars
-> GPT-3.5 generate replay samples
-> MCL memory replay
-> NCM over prototypes of seen relations

Component map

ComponentInputOperationOutputPurposeEvidence
Hybrid promptsentence, head, tail, learnable prompt vectorsđặt entity và [MASK] vào template có hard + soft promptprompted inputalign RE với masked-language pretrainingPDF tr. 4
[MASK] representationprompted inputBERT encode, lấy hidden state tại [MASK]relation embedding biểu diễn relation không cần verbalizerPDF tr. 4
MCLnormalized features, positive/negative pairssimilarity-dependent contrastive weightingdiscriminative feature geometrytập trung hard pairs, giảm overfittingPDF tr. 4
Feature bucket current-task featureslưu và sample contrastive featureslarger contrastive pair settránh cần batch rất lớnPDF tr. 4
Real replay memory current-task embeddingsK-means, chọn sample gần centroidexemplar memorygiữ support thật cho relation cũPDF tr. 5
GPT augmentation relation description + exemplarGPT-3.5 sinh structured examplessynthetic replay samplesmở rộng memory quanh exemplarPDF tr. 5, PDF tr. 14
NCM classifiertest embedding + prototypesnearest class mean by L2 distancepredicted relationthêm class mới không cần fixed softmax headPDF tr. 5

Điểm còn cần kiểm tra

  • Eq. 4 có thiếu dấu âm trong notation không, hay implementation xử lý ở loss cuối?
  • Eq. 9 indexing từ đến nhưng chia là notation hay off-by-one?
  • Generated samples có được filter tự động trước replay không?

Phase 5 - Section Recall

Section 4.2 - Prompt representation

  • Input: sentence, head/tail entity, continuous prompt vectors.
  • Process: tạo hybrid prompt, encode bằng BERT, lấy [MASK].
  • Output: relation embedding.
  • Purpose: tận dụng PLM knowledge mà không cần verbalizer thủ công.
  • Still unclear: prompt random initialization ổn định đến đâu trong mỗi seed?

Section 4.3 - Margin-based contrastive learning

  • Input: normalized features, positive/negative samples, bucket features.
  • Process: tính similarity và relaxation factors theo margin.
  • Output: MCL loss.
  • Purpose: tạo feature space tách hard/similar relations tốt hơn SCL.
  • Still unclear: dấu của Eq. 4 và cách bucket refresh trong code.

Section 4.4 - Memory augmentation

  • Input: real exemplar, relation name/description, current memory.
  • Process: K-means chọn exemplar; GPT-3.5 sinh generated samples; replay bằng MCL.
  • Output: augmented replay set.
  • Purpose: giảm forgetting và overfitting khi replay chỉ có ít exemplar thật.
  • Still unclear: chất lượng generated samples được kiểm như thế nào?

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ì?Input → OutputDùng ở đâu trong pipelineBehavior được khuyến khíchNếu bỏ/yếu đi thì sao?Evidence / ablationStatus
Eq. 1-3 - Hybrid prompt + [MASK] embeddingchuyển RE thành prompt representationsentence/entity/prompt vectors → [MASK] embedding trước MCL và NCMalign với PLM pretraining, tránh verbalizernếu bỏ prompt representation, Table 2 giảm mạnh nhấtPDF tr. 4, Table 2, PDF tr. 7source-checked
Eq. 4-8 - MCLhọc contrastive geometry với hard pairsnormalized features, positive/negative pairs, → MCL losscurrent-task training và memory replaypositive gần hơn, negative/hard relations tách hơnthay bằng SCL làm T8 giảm 2.72 FewRel và 2.64 TACREDPDF tr. 4, Table 2, PDF tr. 7source-checked
Feature bucket tạo nhiều contrastive pairscurrent-task features → sampled support set trong MCL current taskđủ positives/negatives mà không cần batch lớnthiếu bucket có thể làm contrastive signal nghèo hơn, nhưng paper không ablate riêngPDF tr. 4source-checked
K-means exemplar selectionchọn memory thậtembeddings per relation → center-nearest samplessau current-task traininglưu exemplar đại diện cho relation nhạy với exemplar; Figure 6 cho thấy tăng cải thiện accuracyPDF tr. 5, Figure 6, PDF tr. 13source-checked
GPT augmentationmở rộng replay setrelation description + exemplar → generated structured examplestrước memory replaytăng đa dạng replay, nhất là TACREDbỏ generation giảm TACRED mạnh hơn FewRelPDF tr. 5, Table 2, PDF tr. 7source-checked
Eq. 9 - NCM predictionclassify seen relationstest embedding + relation prototypes → nearest relationinference sau mỗi taskthêm relation bằng prototype, không fixed softmax headnếu prototype/exemplar yếu, prediction nhạy với representation driftPDF tr. 5source-checked

Điểm cần kiểm tra lại khi đọc công thức

  • Eq. 4/7: đối chiếu dấu loss trong implementation, vì paper note ghi Eq. 4 có thể thiếu dấu âm còn Eq. 7 mới ghi rõ batch loss.
  • Eq. 9: kiểm tra indexing NCM, vì notation tổng từ đến nhưng chia cho có thể gây hiểu nhầm off-by-one.
  • Tách rõ feature bucket với replay memory và generated samples .

Phase 7 - Loss Functions

CPL training signal
├── MCL current-task training -> learn new relation geometry
├── MCL memory replay -> retain old relation geometry
├── GPT-generated augmentation -> enlarge replay support
└── NCM inference -> classify by nearest relation prototype
Loss/blockEquationInputsTrains componentBehaviorWeightAblation
MCLEq. 4-8positive/negative pairs, , , prompt vectors + encoderhard-pair contrastive geometrybuilt into lossw.o. MCL drops T8 by 2.72 FewRel / 2.64 TACRED
Current-task trainingMCL + feature bucketPLM/prompt representationlearn new relations10 epochsnot separately ablated from full framework
Memory replayMCLreal memory + generated samplesPLM/prompt representationretain old relations and reduce overfit10 epochsw.o. generation tested; w.o. replay not isolated
NCMEq. 9prototypes from real exemplarsclassifier-free inferenceclass-incremental prediction mainmemory size sensitivity Figure 6

Cách đọc MCL cẩn thận

  • Eq. 4 trong PDF viết log-ratio cho một anchor-positive pair nhưng chưa có dấu âm; Eq. 7 mới đưa dấu âm vào batch loss. Khi giải thích học tập, nên hiểu objective tối ưu như minimize negative log probability của positive pair trong tập positive + negative features, còn Eq. 4 là notation trung gian cần kiểm code nếu reproduce.
  • Paper prose ghi MCL improvement là 2.27% và 2.26%, nhưng Table 2 cho số T8 trực tiếp là 64.50 - 61.78 = 2.72 trên FewRel và 57.39 - 54.75 = 2.64 trên TACRED. Khi trích dẫn định lượng, ưu tiên số tính từ bảng và gọi là accuracy points.
  • MCL không phải supervised contrastive loss chuẩn đổi tên. Điểm khác là và làm contribution của pair phụ thuộc similarity, nhằm nhấn mạnh hard positives/negatives.

Phase 8 - Experiments

ExperimentResearch questionDatasetBaselinesMetricTable/FigureMain resultCaveat
Main 5-shot CFRECPL có outperform CFRE baselines không?FewRel/TACREDFinetune, Joint-train, RP-CRE, CRECL, ERDA, SCKD, etc.overall accuracy after each taskTable 1T8 FewRel 64.50, TACRED 57.39reported, not reproduced; task đầu 100/relation
Component ablationprompt/MCL/generation đóng góp thế nào?FewRel/TACRED 5-shotCPL variantsT8 accuracyTable 2bỏ prompt giảm mạnh nhất; generation quan trọng hơn trên TACREDcomponents tương tác với nhau
Prompt formathybrid prompt có tốt hơn hard/soft/entity marker không?FewRel/TACREDmarker, hard, soft, hybridfinal accuracy/rankingTable 3/Figure 3hybrid tốt nhấtFigure 3 không có numeric labels
MCL visualizationMCL có tách hard/similar relations tốt hơn SCL không?FewRel examplesSCL vs MCLt-SNE qualitativeFigure 4MCL clusters đều và tách hơnqualitative, không phải metric
Generated sample sensitivitycàng nhiều synthetic samples có tốt hơn không?FewRel/TACRED0/1/2/5/10 generated samplesfinal accuracyFigure 5FewRel tốt quanh 2, TACRED quanh 5synthetic noise khi quá nhiều
Memory size sensitivitytăng exemplar/relation có giúp không?10-shot no generationaccuracyFigure 6 tăng thì accuracy tăng, gần Joint-trainkhông phải setting main

Protocol fingerprint

  • Dataset and split: FewRel 80 public relations; TACRED bỏ no_relation, còn 41 relation.
  • Scenario / label space: continual few-shot relation extraction, strict evaluation trên all seen relation labels.
  • Backbone: BERT-base-uncased.
  • Frozen/trainable components: paper note ghi prompt vectors và encoder parameters được cập nhật từ checkpoint task trước; cần đối chiếu code nếu muốn biết frozen phần nào.
  • Seeds / number of runs: reported average qua 6 rounds; Table 5 chỉ ghi seed 100, nên mapping giữa seed config và 6 rounds cần kiểm code.
  • Metric and averaging: overall accuracy sau mỗi task.
  • Baseline implementation: một số lấy từ prior work, một số authors re-run.
  • External data / teacher / generated data: GPT-3.5-turbo, temperature 0, generated samples 2/relation cho FewRel và 5/relation cho TACRED.
  • Memory budget: main setting real exemplar/relation + generated replay samples; feature bucket chỉ trong current-task optimization.
  • Evaluation after each task: yes, T1-T8.
  • Compute / hardware: NVIDIA Tesla P40 24 GB, Intel Xeon Gold 5118.

Những định nghĩa protocol dễ nhầm

  • Continual N-way K-shot trong CPL: task đầu là base task có nhiều dữ liệu; các task sau mới có relation/task và examples/relation. Vì vậy CPL không cùng strict NK-CRE với ConPL, nơi mọi task đều bị ràng buộc few-shot.
  • Overall accuracy after task : accuracy trên union test set của tất cả relation đã thấy đến task , không phải chỉ accuracy của relation mới.
  • Memory size : số exemplar thật giữ cho mỗi relation. Main experiment dùng ; generated samples không thay thế khái niệm exemplar thật này.
  • Generated number: số synthetic samples/relation do GPT-3.5 sinh cho replay; paper chọn 2 cho FewRel và 5 cho TACRED theo hyperparameter table.
  • Reported vs reproduced: toàn bộ số trong note này là paper-reported/source-checked, chưa phải kết quả chạy lại trong vault.

Phase 9 - Claim to Evidence

ClaimWhere claim appearsExperimentEvidenceMy judgmentCaveat
CPL cải thiện CFRE accuracy.Abstract/ResultsTable 1T8 FewRel 64.50 vs SCKD 62.87; TACRED 57.39 vs SCKD 51.11. PDF tr. 6supported/reportedchưa reproduced; baseline provenance mixed
Prompt representation là component mạnh.AblationTable 2w.o. prompt giảm 13.41 FewRel và 14.78 TACRED. PDF tr. 7strong within ablationkhông tách hoàn toàn prompt khỏi downstream training choices
MCL tốt hơn SCL.Ablation/visualizationTable 2/Figure 4w.o. MCL giảm 2.72/2.64; t-SNE cho hard relations tách hơn. PDF tr. 7, PDF tr. 8supportedt-SNE qualitative
GPT augmentation hữu ích.Ablation/sensitivityTable 2/Figure 5w.o. gen giảm 0.72 FewRel nhưng 6.76 TACRED. PDF tr. 7dataset-dependentsynthetic quality/noise chưa filter rõ
CPL giảm forgetting.Abstract/Resultsaccuracy trajectoryFinetune rơi mạnh, CPL giữ T8 cao hơn. PDF tr. 6partialpaper không báo explicit forgetting/BWT metric

Phase 10 - Ablation Study

ComponentIntended purposeWith componentWithout componentDifferenceConclusion justifiedNot justified
Prompt representation - FewRelalign RE với PLM prompt form64.5051.09-13.41prompt representation rất quan trọnghybrid prompt luôn tốt mọi domain
Prompt representation - TACREDalign RE với PLM prompt form57.3942.61-14.78prompt vẫn là component mạnh nhấtchỉ prompt đủ giải quyết CFRE
MCL - FewRelhard-pair contrastive geometry64.5061.78-2.72MCL có ích hơn SCLt-SNE chứng minh định lượng toàn cục
MCL - TACREDhard-pair contrastive geometry57.3954.75-2.64contribution ổn địnhMCL là nguồn gain lớn nhất
Generated samples - FewRelmở rộng replay support64.5063.78-0.72ích nhẹ trên FewRelgeneration luôn cần thiết
Generated samples - TACREDmở rộng replay support57.3950.63-6.76rất quan trọng trên TACREDsynthetic samples luôn đúng
All componentsphối hợp prompt + MCL + generation64.50 / 57.3948.29 / 38.06-16.21 / -19.33components bổ trợ nhaucó thể cộng tuyến tính từng gain

Phase 11 - Critical Reading

  • Strongest contribution: pipeline metric-learning nhất quán gồm hybrid prompt, MCL, replay augmentation và NCM.
  • Weakest part: phụ thuộc GPT-3.5 generated samples nhưng quality filtering, cost và determinism chưa đủ chặt.
  • Main assumption: task đầu có 100 samples/relation; từ task 2-8 mới là few-shot.
  • Alternative explanation: gain lớn có thể đến từ prompt representation hơn là memory augmentation.
  • Missing experiment: explicit forgetting/BWT, macro-F1, calibration, generated sample quality filter, same compute/API-budget comparison.
  • Generalization risk: chỉ BERT-base, FewRel/TACRED English sentence-level RE, bỏ no_relation.
  • Reproducibility risk: seed mapping 6 rounds, GPT API version, parser generated data, Eq. 4/9 notation.

Phase 12 - Reproduction Check

ItemStatusDetailMissing detail / risk
PDF localClearly specified14 pages, local PDF exists
Dataset and splitPartially specifiedFewRel/TACRED, task đầu 100/relation, task sau 5/10-shotexact task order files
PreprocessingPartially specifiedhybrid prompt with head/tail and [MASK]exact entity formatting/tokenization in code
Model / backboneClearly specifiedBERT-base-uncasedcheckpoint hash not stated
Training procedurePartially specifiedcurrent-task training + memory replayexact optimizer schedule/checkpointing
Memory strategyPartially specified real exemplar/relation main; generated samples 2/5generated sample parsing/filtering
Loss functionsPartially specifiedMCL Eq. 4-8sign/indexing should be checked against code
OptimizerClearly specifiedAdam
Learning rateClearly specifiedschedule unclear
Batch sizeClearly specified16
EpochsClearly specified10 current-task, 10 replay
HyperparametersClearly specified, , , sample number 500tuning grid details
Random seedsPartially specified6 rounds; Table 5 seed 100mapping unclear
Evaluation protocolClearly specifiedall seen relations after each task
ComputeClearly specifiedTesla P40 24 GB, Xeon Gold 5118runtime/API cost not reported

Phase 13 - Completeness / Oral Exam

Câu hỏi oral exam để mình tự trả lời sau khi đọc

  1. CFRE khác static few-shot RE và continual RE thông thường ở đâu?
  2. Vì sao task đầu của CPL không strict few-shot giống ConPL?
  3. Hybrid prompt bỏ verbalizer bằng cách nào?
  4. MCL khác SCL ở chỗ nào?
  5. , và khác nhau thế nào?
  6. Vì sao generated samples giúp TACRED nhiều hơn FewRel?
  7. NCM phù hợp class-incremental inference ở đâu?
  8. Kết quả nào chứng minh prompt representation là component mạnh nhất?
  9. Điểm nào của paper chưa đủ để claim giảm forgetting thật mạnh?
  10. Nếu reproduce, bạn kiểm Eq. 4/9 và GPT parser thế nào?

Prompt oral exam

Quiz me on CPL one question at a time. Focus on CFRE protocol, hybrid prompt, MCL, feature bucket, replay memory, GPT augmentation, NCM inference, ablation interpretation, and protocol caveats. Do not reveal the ideal answer before I attempt it.

Final Paper Note Handoff

Ý cần chuyển sang paper note

  • Problem/gap: CFRE, catastrophic forgetting, overfitting và prompt-learning gap.
  • Method overview: hybrid prompt, MCL, feature bucket, exemplar memory, GPT augmentation, NCM.
  • Important equations/formal blocks: Eq. 1-3, Eq. 4-8, K-means memory, GPT augmentation, Eq. 9.
  • Protocol fingerprint: FewRel/TACRED, 8 tasks, task đầu 100/relation, task sau 5/10-shot, 6 rounds, BERT-base.
  • Main results: Table 1 T8 5-shot, Table 6 10-shot.
  • Ablation: prompt strongest, MCL moderate, generation dataset-dependent.
  • Limitations: not rehearsal-free, GPT dependency, no explicit forgetting, no no_relation, mixed baseline provenance.
  • Concepts: Continual Few-Shot Relation Extraction, Contrastive Learning, Replay in Continual Learning, Data Augmentation, Masked Language Modeling.

Liên kết