Learn-to-learn on Arbitrary Textual Conditioning: A Hypernetwork-Driven Meta-Gated LLM

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ji, Luo, Qin, Qi, Xi, Ningyuan, Chen, Teng, Gu, Qingqing, Li, Hongyan
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918479720873984
author Ji, Luo
Qin, Qi
Xi, Ningyuan
Chen, Teng
Gu, Qingqing
Li, Hongyan
author_facet Ji, Luo
Qin, Qi
Xi, Ningyuan
Chen, Teng
Gu, Qingqing
Li, Hongyan
contents Conventional LLMs may suffer from corpus heterogeneity and subtle condition changes. While finetuning can create the catastrophe forgetting issue, application of meta-learning on LLMs is also limited due to its complexity and scalability. In this paper, we activate the meta-signal of $β$ within the SwiGLU blocks, resulting in a meta-gating mechanism that adaptively adjusts the nonlinearity of FFN. A hypernetwork is employed which dynamically produces $β$ on textual conditions, providing meta-controllability on LLMs. By testing on different condition types such as task, domain, persona, and style, our method outperforms finetuning and meta-learning baselines, and can generalize reasonably on unseen tasks, condition types, or instructions. Our code can be found in https://github.com/AaronJi/MeGan.
format Preprint
id arxiv_https___arxiv_org_abs_2605_01973
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Learn-to-learn on Arbitrary Textual Conditioning: A Hypernetwork-Driven Meta-Gated LLM
Ji, Luo
Qin, Qi
Xi, Ningyuan
Chen, Teng
Gu, Qingqing
Li, Hongyan
Computation and Language
Machine Learning
Conventional LLMs may suffer from corpus heterogeneity and subtle condition changes. While finetuning can create the catastrophe forgetting issue, application of meta-learning on LLMs is also limited due to its complexity and scalability. In this paper, we activate the meta-signal of $β$ within the SwiGLU blocks, resulting in a meta-gating mechanism that adaptively adjusts the nonlinearity of FFN. A hypernetwork is employed which dynamically produces $β$ on textual conditions, providing meta-controllability on LLMs. By testing on different condition types such as task, domain, persona, and style, our method outperforms finetuning and meta-learning baselines, and can generalize reasonably on unseen tasks, condition types, or instructions. Our code can be found in https://github.com/AaronJi/MeGan.
title Learn-to-learn on Arbitrary Textual Conditioning: A Hypernetwork-Driven Meta-Gated LLM
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2605.01973