Hypernetwork method recovers general capabilities in fine-tuned language models
Fine-tuning language models for specialized tasks typically erodes their broader capabilities, forcing practitioners into a hard trade-off between domain depth and general utility. HyperRepair addresses this by learning a hypernetwork that generates task-specific correction modules at inference time, recovering lost general abilities without retraining. The approach uses activation fingerprints to identify drift from the pretrained baseline and applies selective corrections via gated mechanisms. By training on source models and generalizing to unseen domains, HyperRepair shifts the cost burden to inference rather than requiring expensive retraining cycles. This matters for production systems where both specialization and robustness across diverse queries are critical.62




