English

Zhyper: Factorized Hypernetworks for Conditioned LLM Fine-Tuning

Computation and Language 2025-10-24 v2 Machine Learning

Abstract

Large Language Model (LLM) conditioning refers to instructing an LLM to generate content in accordance with the norms and values of a specific culture, beliefs of a particular political orientation, or any desired text-specified semantic conditioning. Unfortunately, prompt engineering does not ensure that LLMs behave in accordance with a desired conditioning due to the inductive bias of the pre-training and alignment datasets. Prior works have focused on fine-tuning LLMs by directly conditioning the LoRA weights; however, such methods introduce a large number of parameters. As a remedy, we propose Zhyper, a parameter-efficient factorized hypernetwork framework that generates context-aware LoRA adapters from textual descriptions. Experiments on multiple benchmarks show that Zhyper achieves competitive performance with up to 26x fewer parameters than the state-of-the-art baselines. Furthermore, we extend Zhyper to cultural alignment, demonstrating improved generalization to out-of-domain settings and a better capturing of fine-grained contextual values.

Keywords

Cite

@article{arxiv.2510.19733,
  title  = {Zhyper: Factorized Hypernetworks for Conditioned LLM Fine-Tuning},
  author = {M. H. I. Abdalla and Zhipin Wang and Christian Frey and Steffen Eger and Josif Grabocka},
  journal= {arXiv preprint arXiv:2510.19733},
  year   = {2025}
}
R2 v1 2026-07-01T07:00:04.774Z