Search arXiv⌕ Search

arXiv subjects

Mateusz Pyla

Publications and source records attributed to Mateusz Pyla.

4 recordsLinked to original sources

When Do Quadratic Last Layers Help?

A linear classifier is a common choice for a frozen neural representation. A quadratic head can model interactions between features, but its added capacity may not improve accuracy. We compare linear VBLL, quadratic MAP, and quadratic VBLL using two encoders: one trained on the first two classes and one trained jointly on all classes. On Fashion-MNIST, the quadratic head improves validation accuracy over the linear head by 1.59 percentage points with the first-task encoder, but only 0.03 points with the jointly trained encoder. Some pixel-based classifiers and GDumb obtain higher absolute accuracy than the first-task-encoder pipeline under different training and evaluation protocols. In a separate full-rehearsal class-incremental experiment, updating old quadratic parameters gives small gains over freezing them, while joint quadratic fitting remains stronger. Quadratic MAP and VBLL have nearly identical accuracy in the reported joint experiments, so we do not observe a measurable accuracy advantage of quadratic VBLL over quadratic MAP. These results suggest that the usefulness of quadratic heads depends on how the features were learned.

cs.LG↗

Augmentation-aware Self-supervised Learning with Conditioned Projector

Self-supervised learning (SSL) is a powerful technique for learning from unlabeled data. By learning to remain invariant to applied data augmentations, methods such as SimCLR and MoCo can reach quality on par with supervised approaches. However, this invariance may be detrimental for solving downstream tasks that depend on traits affected by augmentations used during pretraining, such as color. In this paper, we propose to foster sensitivity to such characteristics in the representation space by modifying the projector network, a common component of self-supervised architectures. Specifically, we supplement the projector with information about augmentations applied to images. For the projector to take advantage of this auxiliary conditioning when solving the SSL task, the feature extractor learns to preserve the augmentation information in its representations. Our approach, coined Conditional Augmentation-aware Self-supervised Learning (CASSLE), is directly applicable to typical joint-embedding SSL methods regardless of their objective functions. Moreover, it does not require major changes in the network architecture or prior knowledge of downstream tasks. In addition to an analysis of sensitivity towards different data augmentations, we conduct a series of experiments, which show that CASSLE improves over various SSL methods, reaching state-of-the-art performance in multiple downstream tasks.

cs.CV↗

Adapt Your Teacher: Improving Knowledge Distillation for Exemplar-free Continual Learning

In this work, we investigate exemplar-free class incremental learning (CIL) with knowledge distillation (KD) as a regularization strategy, aiming to prevent forgetting. KD-based methods are successfully used in CIL, but they often struggle to regularize the model without access to exemplars of the training data from previous tasks. Our analysis reveals that this issue originates from substantial representation shifts in the teacher network when dealing with out-of-distribution data. This causes large errors in the KD loss component, leading to performance degradation in CIL models. Inspired by recent test-time adaptation methods, we introduce Teacher Adaptation (TA), a method that concurrently updates the teacher and the main models during incremental training. Our method seamlessly integrates with KD-based CIL approaches and allows for consistent enhancement of their performance across multiple exemplar-free CIL benchmarks. The source code for our method is available at https://github.com/fszatkowski/cl-teacher-adaptation.

cs.LG↗

Bayesian Flow Networks in Continual Learning

Bayesian Flow Networks (BFNs) has been recently proposed as one of the most promising direction to universal generative modelling, having ability to learn any of the data type. Their power comes from the expressiveness of neural networks and Bayesian inference which make them suitable in the context of continual learning. We delve into the mechanics behind BFNs and conduct the experiments to empirically verify the generative capabilities on non-stationary data.

cs.LG↗