Built independently by an author, for readers. Read the story and support ChapterPal

keyword

metric learning loss

A metric learning loss is an objective function used in machine learning to train models to map input data into a continuous embedding space where the geometric distance between points reflects their semantic similarity. Rather than directly predicting discrete class probabilities, this type of loss evaluates relationships among pairs, triplets, or groups of sample embeddings, guiding the neural network to minimize distances between similar instances while maximizing distances between dissimilar ones according to a specified distance metric such as Euclidean distance or cosine similarity. Standard formulations, including contrastive, triplet, and margin-based losses, structure the feature space to preserve meaningful neighborhood relationships, facilitating downstream tasks such as open-set classification, nearest-neighbor retrieval, facial verification, and generalized representation learning across unseen classes.

2 items

New Insights on Reducing Abrupt Representation Change in Online Continual Learning

New Insights on Reducing Abrupt Representation Change in Online Continual Learning

Lucas Caccia, Rahaf Aljundi, Nader Asadi, Tinne Tuytelaars, Joelle Pineau, Eugene Belilovsky

OrganizationsConcordia UniversityKU LeuvenMcGill UniversityMetaMilaToyota Motor Europe

Why you should read this

Demonstrates how Experience Replay causes disruptive representation shifts when new classes appear in online continual learning, and resolves this with an asymmetric update rule that forces incoming data to adapt to established representations.

In the online continual learning paradigm, agents must learn from a changing distribution while respecting memory and compute constraints. Experience Replay (ER), where a small subset of past data is stored and replayed alongside new data, has emerged as a simple and effective learning strategy. In this work, we focus on the change in representations of observed data that arises when previously unobserved classes appear in the incoming data stream, and new classes must be distinguished from previous ones. We shed new light on this question by showing that applying ER causes the newly added classes' representations to overlap significantly with the previous classes, leading to highly disruptive parameter updates. Based on this empirical analysis, we propose a new method which mitigates this issue by shielding the learned representations from drastic adaptation to accommodate new classes. We show that using an asymmetric update rule pushes new classes to adapt to the older ones (rather than the reverse), which is more effective especially at task boundaries, where much of the forgetting typically occurs. Empirical results show significant gains over strong baselines on standard continual learning benchmarks.

Added

2026-09-26

End-to-End Reconstruction-Classification Learning for Face Forgery Detection

End-to-End Reconstruction-Classification Learning for Face Forgery Detection

Junyi Cao, Chao Ma, Taiping Yao, Shen Chen, Shouhong Ding, Xiaokang Yang

OrganizationsAI InstituteShanghai Jiao Tong UniversityTencent

Why you should read this

Proposes an end-to-end framework that models the distribution of genuine faces through reconstruction learning and pairs encoder-decoder features via multi-scale bipartite graphs to improve generalizability against unseen deepfake manipulation methods.

Existing face forgery detectors mainly focus on specific forgery patterns like noise characteristics, local textures, or frequency statistics for forgery detection. This causes specialization of learned representations to known forgery patterns presented in the training set, and makes it difficult to detect forgeries with unknown patterns. In this paper, from a new perspective, we propose a forgery detection framework emphasizing the common compact representations of genuine faces based on reconstruction-classification learning. Reconstruction learning over real images enhances the learned representations to be aware of forgery patterns that are even unknown, while classification learning takes the charge of mining the essential discrepancy between real and fake images, facilitating the understanding of forgeries. To achieve better representations, instead of only using the encoder in reconstruction learning, we build bipartite graphs over the encoder and decoder features in a multi-scale fashion. We further exploit the reconstruction difference as guidance of forgery traces on the graph output as the final representation, which is fed into the classifier for forgery detection. The reconstruction and classification learning is optimized end-to-end. Extensive experiments on large-scale benchmark datasets demonstrate the superiority of the proposed method over state of the arts.

Added

2026-09-26