بروتو جي سي دي: تعلم النماذج الموحد وغير المتحيز لاكتشاف الفئات العامة ProtoGCD: Unified and Unbiased Prototype Learning for Generalized Category Discovery

شارك:
المجلة: IEEE Transactions on Pattern Analysis and Machine Intelligence، المجلد: 47، العدد: 7
DOI: https://doi.org/10.1109/tpami.2025.3557502
PMID: https://pubmed.ncbi.nlm.nih.gov/40178963
تاريخ النشر: 2025-04-03
المؤلف: Shijie Ma وآخرون
الموضوع الرئيسي: تكييف المجال والتعلم من عدد قليل من الأمثلة

نظرة عامة

تقدم الورقة البحثية إطار عمل جديد يسمى ProtoGCD لاكتشاف الفئات العامة (GCD)، والذي يهدف إلى توحيد نمذجة الفئات القديمة والجديدة أثناء تعلم تمثيلات مناسبة. يعالج ProtoGCD قيود الطرق السابقة التي تعاملت مع الفئات القديمة والجديدة بشكل منفصل أو أهملت أهداف التجميع، مما أدى إلى تمثيلات متحيزة. يستخدم الإطار نماذج مشتركة وأهداف تعلم موحدة، إلى جانب آلية تصنيف زائفة تكيفية على مستويين لتخفيف تحيز التأكيد. بالإضافة إلى ذلك، يتضمن مصطلحات تنظيمية لتعزيز تعلم التمثيل ويقدم معيارًا لتقدير عدد الفئات الجديدة، مما يتماشى مع السيناريوهات الواقعية حيث تكون الفئات الجديدة غير معروفة.

تظهر النتائج أن ProtoGCD يحقق أداءً متفوقًا على أحدث التقنيات عبر كل من مجموعات البيانات العامة والدقيقة، حيث يصنف الفئات القديمة بفعالية، ويجمع الفئات الجديدة، ويكتشف النقاط الشاذة غير المرئية. تؤكد الورقة على الأداء المتوازن للإطار وإمكاناته لتطبيقات أوسع، بما في ذلك اكتشاف الفئات المستمرة واكتشاف النقاط الشاذة (OOD). تشمل الاتجاهات البحثية المستقبلية المقترحة تطوير طرق للتوزيعات ذات الذيل الطويل في GCD وتعزيز معايرة الثقة لكل من الفئات القديمة والجديدة، بالإضافة إلى توسيع قابلية تطبيق اكتشاف الفئات والمعرفة على مهام مثل تقسيم الصور الدلالية والتعلم متعدد الوسائط.

مقدمة

في مقدمة الورقة، يناقش المؤلفون القدرة البشرية على التعلم وتصنيف المفاهيم الجديدة بناءً على المعرفة السابقة، كما يتضح من قدرة الطفل على التعرف على الصور وتجميعها لفئات جديدة من الحيوانات. هذه القدرة ضرورية لتقدم تطبيقات التعلم العميق في السيناريوهات المفتوحة، حيث يجب على النماذج التعرف على الفئات الجديدة وتصنيفها من بيانات غير مصنفة مع الاستفادة من المعرفة المستمدة من الفئات التي تم تعلمها سابقًا. تم تقديم مفهوم اكتشاف الفئات الجديدة (NCD) لمعالجة هذا التحدي، بهدف تجميع الفئات الجديدة غير المصنفة تلقائيًا باستخدام المعلومات من الفئات القديمة المصنفة. ومع ذلك، تفترض NCD التقليدية أن البيانات غير المصنفة تتكون فقط من فئات جديدة، وهو ما يكون غالبًا غير واقعي.

لتجاوز هذه القيود، اقترح Vaze وآخرون نهجًا أكثر مرونة يعرف باسم اكتشاف الفئات العامة (GCD)، حيث قد تحتوي البيانات غير المصنفة على كل من الفئات القديمة والجديدة. تركز الورقة على GCD، مع تسليط الضوء على تعقيدها حيث تتطلب النماذج التعرف على الفئات القديمة واكتشاف الفئات الجديدة في نفس مجموعة البيانات. استخدمت الطرق السابقة تقنيات التعلم المتباين الخاضع للإشراف وغير الخاضع للإشراف، بالإضافة إلى K-means شبه الخاضع للإشراف غير المعلمي للتجميع. ومع ذلك، تواجه هذه الأساليب تحديات مثل تصادم الفئات وتمثيلات متحيزة، خاصة عند استخدام رؤوس تصنيف منفصلة للفئات القديمة والجديدة، مما قد يؤدي إلى تفضيل الفئات القديمة.

طرق

في هذا القسم، يوضح المؤلفون إعداد التجارب وبروتوكولات التقييم لدراستهم حول مجموعات بيانات التعرف العامة والدقيقة، بما في ذلك CIFAR10 وCIFAR100 وImageNet-100 والعديد من مجموعات البيانات من معيار التحول الدلالي. تتضمن المنهجية أخذ عينات من الفئات القديمة \( C_{\text{old}} \) والفئات الجديدة \( C_{\text{new}} \) من كل مجموعة بيانات، حيث يتم استخدام نصف الحالات من \( C_{\text{old}} \) كبيانات مصنفة \( D_l \)، بينما تشكل البقية مجموعة البيانات غير المصنفة \( D_u \). يتم تدريب النموذج على مجموعة البيانات المدمجة \( D_l \cup D_u \) وتقييمه على \( D_u \) باستخدام دقة التجميع (ACC) كمقياس رئيسي، يتم حسابها من خلال مطابقة التباديل المثلى عبر خوارزمية هنغارية.

تحدد تفاصيل التنفيذ استخدام هيكل ViT-B/16 مدرب مسبقًا باستخدام DINO، مع تدريب النماذج لمدة 200 دورة وضبط معلمات محددة لمقارنات عادلة ضد الطرق السابقة. تشير النتائج إلى أن طريقة ProtoGCD المقترحة تتفوق باستمرار على الأساليب الحالية مثل GCD وXCon، خاصة من حيث الدقة عبر مستويات مختلفة من فساد البيانات. من الجدير بالذكر أن تدهور الأداء للفئات الجديدة يكون أكثر وضوحًا عند مستويات الفساد المنخفضة، بينما يصبح الانخفاض قابلًا للمقارنة لكل من الفئات القديمة والجديدة عند مستويات الفساد الأعلى. تظهر نتائج إضافية خارج التوزيع (OOD) تفوق ProtoGCD في مقاييس اكتشاف OOD.

نتائج

في هذا القسم، يقدم المؤلفون نتائج تصور إضافية لمجموعة بيانات CUB، مكملة لتصور الميزات التي تم عرضها سابقًا لمجموعة بيانات CIFAR10. تظهر الطريقة المقترحة، Pro-toGCD، تحسينات في تمثيلات الميزات تتميز بزيادة في تماسك الفئات الداخلية وفصل الفئات الخارجية.

على وجه التحديد، تكشف التصورات أن التجمعات لفئات مثل Jaeger ذو الذيل الطويل، وTennessee Warbler، وLoggerhead Shrike تظهر تشتتًا أكبر في طريقة GCD، بينما تنتج Pro-toGCD تجمعات أكثر تماسكًا. علاوة على ذلك، يتم فصل فئات مثل White-crowned Sparrow وTree Sparrow وEuropean Goldfinch، التي تظهر تداخلًا كبيرًا في نهج GCD، بشكل واضح مع حدود واضحة في طريقة Pro-toGCD، مما يسهل التصنيف والتعرف بشكل أفضل بين هذه الأنواع.

نقاش

في هذا القسم، يناقش المؤلفون قيود طرق التصنيف الزائفة الحالية في اكتشاف الفئات العامة (GCD)، وخاصة الأداء غير المتوازن بين الفئات القديمة والجديدة. يقدمون إطار عمل تعلم النموذج الأولي لـ GCD (ProtoGCD)، الذي يستخدم نهجًا موحدًا لنمذجة كل من الفئات القديمة والجديدة ضمن مساحة ميزات مشتركة باستخدام مجموعة شائعة من النماذج القابلة للتعلم. يدعم ProtoGCD رؤيتان رئيسيتان: أولاً، توحيد الفئات القديمة والجديدة من خلال مصنف مشترك وأهداف تعلم موحدة، مما يخفف من عدم توازن الأداء؛ ثانيًا، استخدام مصنف نموذجي بارامتري يتماشى مع أهداف التجميع، مما يعزز تعلم التمثيل مقارنة بأساليب التعلم المتباين.

لتحسين قوة النموذج، يقترح المؤلفون آلية تصنيف زائفة تكيفية على مستويين (DAPL) تقوم بتعديل نوع ونسبة التصنيفات الزائفة ديناميكيًا بناءً على ثقة العينة وأداء النموذج. يهدف هذا النهج إلى منع تحيز التأكيد أثناء التدريب الذاتي. بالإضافة إلى ذلك، يقدمون مصطلحات تنظيمية لتجنب حلول التجميع التافهة وتعزيز تعلم الميزات. يتضمن ProtoGCD أيضًا معيارًا جديدًا لتقدير عدد الفئات الجديدة، مما يجعله قابلًا للتطبيق في السيناريوهات التي يكون فيها عدد الفئات الجديدة غير معروف. يظهر الإطار أداءً متفوقًا على مجموعات بيانات متنوعة مقارنة بأحدث الأساليب، مما يثبت أن ProtoGCD هو حل موحد لكل من مهام GCD واكتشاف النقاط الشاذة.

Journal: IEEE Transactions on Pattern Analysis and Machine Intelligence, Volume: 47, Issue: 7
DOI: https://doi.org/10.1109/tpami.2025.3557502
PMID: https://pubmed.ncbi.nlm.nih.gov/40178963
Publication Date: 2025-04-03
Author(s): Shijie Ma et al.
Primary Topic: Domain Adaptation and Few-Shot Learning

Overview

The research paper introduces a novel framework called ProtoGCD for generalized category discovery (GCD), which aims to unify the modeling of old and new classes while learning suitable representations. ProtoGCD addresses the limitations of previous methods that either handled old and new classes separately or neglected the clustering objectives, leading to biased representations. The framework employs joint prototypes and unified learning objectives, alongside a dual-level adaptive pseudo-labeling mechanism to mitigate confirmation bias. Additionally, it includes regularization terms to enhance representation learning and introduces a criterion for estimating the number of new classes, thereby accommodating realistic scenarios where novel categories are unknown.

The findings demonstrate that ProtoGCD achieves state-of-the-art performance across both generic and fine-grained datasets, effectively classifying old classes, clustering new classes, and detecting unseen outliers. The paper emphasizes the framework’s balanced performance and its potential for broader applications, including continual category discovery and out-of-distribution (OOD) detection. Future research directions suggested include developing methods for long-tailed distributions in GCD and enhancing confidence calibration for both old and new classes, as well as extending the applicability of category and knowledge discovery to tasks such as semantic segmentation and multimodal learning.

Introduction

In the introduction of the paper, the authors discuss the human ability to learn and categorize new concepts based on prior knowledge, exemplified by a child’s capacity to recognize and cluster images of animals into novel categories. This ability is crucial for advancing deep learning applications in open-world scenarios, where models must identify and classify new classes from unlabeled data while leveraging knowledge from previously learned classes. The concept of Novel Category Discovery (NCD) has been introduced to address this challenge, aiming to automatically cluster unlabeled novel classes using information from labeled old classes. However, traditional NCD assumes that unlabeled data consists solely of novel categories, which is often unrealistic.

To overcome this limitation, Vaze et al. proposed a more flexible approach known as Generalized Category Discovery (GCD), where unlabeled data may contain both old and new classes. The paper focuses on GCD, highlighting its complexity as it requires models to simultaneously recognize old classes and discover new categories within the same dataset. Previous methods have employed supervised and unsupervised contrastive learning techniques, along with non-parametric semi-supervised K-means for clustering. However, these approaches face challenges such as class collision and biased representations, particularly when using separate classification heads for old and novel classes, which can lead to a preference for old classes.

Methods

In this section, the authors outline the experimental setup and evaluation protocols for their study on generic and fine-grained recognition datasets, including CIFAR10, CIFAR100, ImageNet-100, and several datasets from the Semantic Shift Benchmark. The methodology involves sampling old classes \( C_{\text{old}} \) and novel classes \( C_{\text{new}} \) from each dataset, where half of the instances from \( C_{\text{old}} \) are used as labeled data \( D_l \), while the rest form the unlabeled dataset \( D_u \). The model is trained on the combined dataset \( D_l \cup D_u \) and evaluated on \( D_u \) using clustering accuracy (ACC) as the primary metric, calculated through optimal permutation matching via the Hungarian algorithm.

The implementation details specify the use of a ViT-B/16 backbone pre-trained with DINO, with models trained for 200 epochs and specific hyper-parameters set for fair comparisons against prior methods. The results indicate that the proposed ProtoGCD method consistently outperforms existing approaches like GCD and XCon, particularly in terms of accuracy across various severity levels of data corruption. Notably, performance degradation for new classes is more pronounced at lower severity levels, while the decline becomes comparable for both old and new classes at higher severity levels. Additional out-of-distribution (OOD) results further demonstrate ProtoGCD’s superiority in OOD detection metrics.

Results

In this section, the authors present additional visualization results for the CUB dataset, complementing the feature visualization previously shown for the CIFAR10 dataset. The proposed method, Pro-toGCD, demonstrates enhanced feature representations characterized by improved intra-class compactness and inter-class separation.

Specifically, the visualizations reveal that clusters for classes such as Long-tailed Jaeger, Tennessee Warbler, and Loggerhead Shrike exhibit greater dispersion in the GCD method, whereas Pro-toGCD yields more compact clusters. Furthermore, classes like White-crowned Sparrow, Tree Sparrow, and European Goldfinch, which show significant overlap in the GCD approach, are distinctly separated with clear boundaries in the Pro-toGCD method, thereby facilitating better classification and recognition among these species.

Discussion

In this section, the authors discuss the limitations of existing pseudo-labeling methods in Generalized Category Discovery (GCD), particularly the imbalanced performance between old and new classes. They introduce the Prototype Learning framework for GCD (ProtoGCD), which employs a unified approach to model both old and new classes within a shared feature space using a common set of learnable prototypes. Two main insights underpin ProtoGCD: first, the unification of old and new classes through a joint classifier and unified learning objectives, which mitigates performance imbalances; second, the use of a parametric prototypical classifier that aligns with clustering objectives, enhancing representation learning compared to contrastive learning methods.

To further improve the model’s robustness, the authors propose a dual-level adaptive pseudo-labeling (DAPL) mechanism that dynamically adjusts the type and proportion of pseudo-labels based on sample confidence and model performance. This approach aims to prevent confirmation bias during self-training. Additionally, they introduce regularization terms to avoid trivial clustering solutions and enhance feature learning. ProtoGCD also includes a novel criterion for estimating the number of new classes, making it applicable in scenarios where the number of novel categories is unknown. The framework demonstrates superior performance on various datasets compared to state-of-the-art methods, establishing ProtoGCD as a unified solution for both GCD and outlier detection tasks.