Omega-S: A Functional Resilience Index for LLM Fine-Tuning

TL;DR

Omega-S uses graph topology metrics to regularize LLM fine-tuning, improving memory retention by controlling weight connectivity diversity.

cs.LG 🔴 Advanced 2026-08-05 50 views
Alberto Acedo
LLM regularization topology catastrophic forgetting fine-tuning

Key Findings

Methodology

Omega-S constructs a graph from the weight matrix W, using the adjacency A = W W⊤. It estimates the third spectral moment Tr(A^3) via Hutchinson sampling, which reflects the network’s connectivity complexity. The regularizer aims to penalize the variance of node degrees, thus promoting diverse and less monopolized connectivity. Two formulations are explored: a raw trace penalty and a log-ratio composite, with the latter providing scale invariance. The regularizer is integrated into training every K steps, calibrated to contribute about 3% of the task gradient, and tested on Llama-3-8B with LoRA adapters during sequential fine-tuning from code to prose.

Key Results

  • On Llama-3-8B, Omega-S improved HumanEval pass@1 from 0.173 to 0.238 across ten seeds, a 37.7% relative increase, with statistical significance (p=0.011). It outperformed tuned weight decay and EWC on most seeds, with a standard deviation of 0.104 in retention ratio, demonstrating robustness and stability.
  • The core mechanism involves reducing the variance of node degrees, preventing connection monopolies. Experimental data show a median 5.9% decrease in degree variance during training, correlating with better memory retention. Different graph construction methods and objective formulations were tested; the chosen log-ratio form based on Gram matrices yielded the best results.
  • The regularizer effectively controls the internal connectivity structure, leading to improved retention without requiring old-task data or Fisher information. It offers a computationally efficient, operationally simple approach that enhances the structural diversity of model weights, thus mitigating catastrophic forgetting.

Significance

This work introduces a novel, structure-based regularization method inspired by ecological network indices, addressing the core issue of weight monopolization during fine-tuning. Unlike traditional methods, Omega-S does not depend on storing previous weights or data, making it highly practical for real-world applications. Its ability to preserve model capabilities while adapting to new data has significant implications for continuous learning, model deployment, and industry scalability. The approach bridges ecological network theory and deep learning, opening new avenues for understanding and controlling model internal structures to enhance robustness and transferability.

Technical Contribution

Omega-S pioneers the integration of ecological network metrics, specifically Tr(A^3), into deep learning regularization. It develops an efficient Hutchinson sampling-based estimator for the third spectral moment, enabling scalable computation. The method introduces a scale-invariant, composite objective that penalizes degree variance, effectively controlling the internal connectivity topology. Unlike existing regularizers, Omega-S directly targets the structural distribution of weights, providing a new theoretical framework for understanding and manipulating neural network connectivity. Its operational simplicity and theoretical grounding mark a significant advancement in model regularization techniques.

Novelty

This research is the first to apply ecological network topology metrics, specifically the third spectral moment, to neural network regularization. It departs from traditional parameter norm-based methods, focusing instead on the internal graph structure of weights. The use of Hutchinson sampling for efficient estimation of Tr(A^3) and the development of a scale-invariant, composite regularizer constitute key innovations. This approach offers a new perspective on controlling model connectivity, with demonstrated benefits in retention and robustness, representing a significant leap forward in continual learning strategies.

Limitations

  • The effectiveness of Omega-S across different model architectures and tasks remains to be validated; current results are primarily on Llama-3-8B with LoRA adapters.
  • Graph construction choices and hyperparameters may influence performance; optimal configurations are yet to be systematically explored.
  • Computational overhead, though reduced, still exists for very large models, and further optimization is needed for deployment at scale.

Future Work

Future research will explore adaptive schemes for dynamic regularization strength, extend the approach to multi-task and multi-modal models, and investigate alternative graph metrics. Combining Omega-S with sparsity and pruning techniques could further improve efficiency. Additionally, deeper theoretical analysis is needed to understand the relationship between internal connectivity and generalization, aiming to develop more robust, scalable continual learning frameworks.

AI Executive Summary

The rapid growth of large language models (LLMs) has revolutionized natural language processing, yet their ability to retain knowledge during fine-tuning remains a persistent challenge. Traditional regularization methods like weight decay and Elastic Weight Consolidation (EWC) focus on parameter norms or Fisher information but often fall short in preventing internal structural monopolies—where a few neurons dominate connectivity, leading to catastrophic forgetting. Addressing this, the paper introduces Omega-S, a novel regularizer inspired by ecological network indices, specifically the third spectral moment Tr(A^3). This metric captures the complexity of the weight connectivity graph, enabling direct regulation of the internal structure.

Omega-S constructs a graph from the weight matrix, estimates the spectral moment via Hutchinson sampling, and penalizes the variance of node degrees. This approach effectively disperses connectivity, preventing monopolies. The regularizer is integrated into the training loop every K steps, with a calibration ensuring it contributes about 3% of the task gradient. Extensive experiments on Llama-3-8B with LoRA adapters demonstrate that Omega-S significantly improves memory retention, outperforming no regularization, weight decay, and EWC across ten seeds. The absolute HumanEval pass@1 increases from 0.173 to 0.238, a 37.7% relative gain, with stable results indicated by a low standard deviation.

The core mechanism involves reducing the degree variance, which correlates with better retention. Different graph construction strategies and objective formulations were tested; the most effective used a Gram matrix-based, scale-invariant log-ratio form. This method offers a practical, computationally efficient way to control internal model structure without storing old data or relying on Fisher information, making it highly suitable for real-world continual learning scenarios.

Overall, Omega-S bridges ecological network theory and deep learning, providing a new perspective on model regularization. Its ability to preserve capabilities during sequential fine-tuning has broad implications for deploying robust, adaptable AI systems. Future work will focus on extending this approach to multi-task, multi-modal models, and further optimizing the computational aspects, aiming to establish a new standard for structural regularization in large-scale neural networks.

Deep Dive

Abstract

Fine-tuning a large language model on new data degrades what it previously learned. We present Omega-S, a drop-in penalty computed from the weight matrix alone: it needs no previous-task data, no Fisher matrix and no stored copy of the old weights. It is three lines in an existing training loop and adds under 4% to the cost of a step. Retention. On Llama-3-8B with LoRA, fine-tuned from code to prose and measured by HumanEval over ten seeds, Omega-S retains more of the original capability than no regularisation on 9 of 10 seeds (0.173 -> 0.238 absolute pass@1; sign test one-sided p=0.011, Wilcoxon p=0.006), as a retention ratio, 62.9% -> 84.1%. It also beats tuned weight decay on 10 of 10 seeds (p=0.002) and tuned EWC on 8 of 10 (p=0.014), every arm re-measured in the same session. Mechanism, measured rather than asserted. Omega-S is topological by construction, its objective built from Tr(A^3), but we measured which of its four factors actually moves and three do not: their elasticity with respect to the weights is at or below 1e-4, against 9e-3 for the degree-variance term. As implemented, the composite reduces to a penalty on the variance of node degrees, which means row magnitude in square modules and directional alignment in non-square ones. We report this because a method whose name promises one thing and whose gradient does another should say so. We also enumerate the open design choices, including a contrast-preserving construction that does what it was designed to do and makes retention worse on all ten seeds. Repeating an identical configuration, same seed and same hardware, gives a standard deviation of 0.104 in retention ratio. We have not found this quantified for low-rank fine-tuning of language models, and it bounds every seed-paired comparison in this literature, ours included. Code, per-seed results and the full record of negative results are available.

cs.LG cs.NE q-bio.MN