Structured Gradient Guidance for Few-Shot Adaptation in Large Language Models
This paper presents a gradient-informed fine-tuning method for large language models under few-shot conditions. The goal is to enhance task adaptability and training stability when data is limited. The method builds on a base loss function and introduces two gradient-related regularization terms. The first enforces gradient direction consistency to guide parameter updates along task-relevant directions and prevent drift. The second controls gradient magnitude to avoid abnormal updates. Together, these components support a more efficient and stable optimization path. To further improve cross-task generalization, the method incorporates a gradient alignment mechanism. This mechanism measures the consistency between optimization directions of the source and target tasks. It enhances the model’s fine-tuning performance in multi-task and cross-domain scenarios. Across various natural language understanding tasks, the method outperforms existing fine-tuning strategies in average accuracy, gradient stability, and directional alignment. Empirical evaluations under different sample sizes and domain-specific tasks confirm the method’s robustness and broad applicability in lowresource environments. In particular, the method shows clear advantages in controlling parameter update paths. The results demonstrate that a gradient-based fine-tuning framework can effectively leverage the representational power of large language models. It ensures training stability while reducing dependence on large volumes of labeled data.
Authors
- Hongye Zheng
- Yichen Wang (ORCID: https://orcid.org/0000-0002-0712-8125)
- Binrong Zhu (ORCID: https://orcid.org/0000-0002-8354-4569)
- Guiran Liu
- Rong Pan
- Hanlu Zhang (ORCID: https://orcid.org/0009-0007-2217-9186)
Institutions
- Stevens Institute of Technology (US)
- Georgia Institute of Technology (US)
- Chinese University of Hong Kong (HK)
- Oldham Council (GB)
- San Francisco State University (US)
Publication Details
- Published
- 2025-05-29
- DOI
- https://doi.org/10.1109/icaide65466.2025.11189618
- Citations
- 1
- Primary Topic
- Speech Recognition and Synthesis
- Type
- article
- Field-Weighted Citation Impact
- 2.48