paper-with-me

홈 › Papers

Adapting Auxiliary Losses Using Gradient Similarity

2018-12-05 · Yunshu Du, Wojciech M. Czarnecki, Siddhant M. Jayakumar, Mehrdad Farajtabar, Razvan Pascanu, Balaji Lakshminarayanan

One approach to deal with the statistical inefficiency of neural networks is to rely on auxiliary losses that help to build useful representations. However, it is not always trivial to know if an auxiliary task will be helpful for the main task and when it could start hurting. We propose to use the cosine similarity between gradients of tasks as an adaptive weight to detect when an auxiliary loss is helpful to the main loss. We show that our approach is guaranteed to converge to critical points of the main task and demonstrate the practical usefulness of the proposed algorithm in a few domains: multi-task supervised learning on subsets of ImageNet, reinforcement learning on gridworld, and reinforcement learning on Atari games.

📄 PDF Abstract BibTeX arXiv:1812.02224

Code (1)

AvivNavon/AuxiLearn pytorch

Tasks

Atari Gamesreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

MetaBalance: Improving Multi-Task Recommendations via Adapting Gradient Magnitudes of Auxiliary Tasks

2022-03-14 · Yun He, Xue Feng, Cheng Cheng, Geng Ji 외

In many personalized recommendation scenarios, the generalization ability of a target task can be improved via learning with additional auxiliary tasks alongside this target task on a multi-task network. However, this me…

Routers Learn the Geometry of Their Experts: Geometric Coupling in Sparse Mixture-of-Experts

2026-05-12 · Sagi Ahrac, Noya Hochwald, Mor Geva arxiv

Sparse Mixture-of-Experts (SMoE) models enable scaling language models efficiently, but training them remains challenging, as routing can collapse onto few experts and auxiliary load-balancing losses can reduce specializ…

Tailoring: encoding inductive biases by optimizing unsupervised objectives at prediction time

2020-09-22 · NeurIPS 2021 12 · Ferran Alet, Maria Bauza, Kenji Kawaguchi, Nurullah Giray Kuru 외

From CNNs to attention mechanisms, encoding inductive biases into neural networks has been a fruitful source of improvement in machine learning. Adding auxiliary losses to the main objective function is a general way of …

Inductive BiasMeta-LearningTransductive Learning

Modeling LLM Unlearning as an Asymmetric Two-Task Learning Problem

2026-04-16 · Zeguan Xiao, Siqing Li, Yong Wang, Xuetao Wei 외 arxiv

Machine unlearning for large language models (LLMs) aims to remove targeted knowledge while preserving general capability. In this paper, we recast LLM unlearning as an asymmetric two-task problem: retention is the prima…

P2SGrad: Refined Gradients for Optimizing Deep Face Models

2019-05-07 · CVPR 2019 6 · Xiao Zhang, Rui Zhao, Junjie Yan, Mengya Gao 외

Cosine-based softmax losses significantly improve the performance of deep face recognition networks. However, these losses always include sensitive hyper-parameters which can make training process unstable, and it is ver…

Face Recognition