Parameter-efficient fine-tuning of Gemma-3 for financial sentiment analysis

L. A. Gardashova, A. E. Gasimov

Аннотация


Оптимизация параметров Gemma-3 для анализа финансовых настроений

Гардашова Л. А., Гасымов А. Э. 

Анализ финансовых настроений играет центральную роль в мониторинге рынка и оценке рисков, однако многие современные подходы основаны на полной тонкой настройке больших языковых моделей с высокими вычислительными затратами. В данной работе мы рассматриваем ресурсоэффективную альтернативу, применяя адаптацию низкого ранга (LoRA) к модели Gemma-3 с 270 миллионами параметров и оценивая ее производительность на наборе данных FinancialPhraseBank (все согласны). Несмотря на свой компактный размер, модель, настроенная с помощью LoRA, достигает точности 0,9536, макро-F1-показателя 0,9362 и взвешенного F1-показателя 0,9533, что явно превосходит базовый показатель анализа финансовых настроений Gemma-7B, представленный Мо и др., и остается конкурентоспособной по сравнению с опубликованными системами в стиле FinBERT на том же эталонном наборе данных. Дополнительный анализ показывает стабильную производительность по всем классам настроений, макро-ROC-AUC 0,997, хорошие оценки достоверности и стабильную калибровку. С практической точки зрения, параметрически эффективная конфигурация существенно сокращает использование памяти и количество обучаемых параметров, что позволяет эффективно адаптировать модель к предметной области на широко доступном оборудовании. Эти результаты показывают, что высококачественная классификация финансовых настроений не требует полной тонкой настройки моделей с миллиардами параметров, и что компактные модели в сочетании с параметрически эффективными методами обеспечивают привлекательный баланс между точностью, эффективностью и удобством внедрения. 


Ключевые слова


Анализ финансовых настроений; Gemma-3; Адаптация низкого ранга; LoRA; параметрически эффективная тонкая настройка; FinancialPhraseBank..

Полный текст:

PDF (English)

Литература


[Ara19] D. Araci, "FinBERT: Financial sentiment analysis with pre-trained language models," arXiv preprint arXiv:1908.10063, 2019. 10.48550/arXiv.1908.10063.

[Ats24] A. Atsiwo, "Financial sentiment analysis: Leveraging actual and synthetic data for supervised fine-tuning," arXiv preprint arXiv:2412.09859, 2024. 10.48550/arXiv.2412.09859.

[Det23] T. Dettmers, A. Pagnoni, et al., "QLoRA: Efficient fine-tuning of quantized LLMs," Advances in Neural Information Pro-cessing Systems, vol. 36, pp. 10088-10115, 2023. 10.52202/075280-0441.

[Dev19] J. Devlin, M.-W. Chang, et al., "BERT: Pre-training of deep bidirectional transformers for language understanding," in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, vol. 1, pp. 4171-4186, 2019. 10.48550/arXiv.1810.04805.

[Du24] K. Du, F. Xing, et al., "Financial sentiment analysis: Techniques and applications," ACM Computing Surveys, vol. 56, no. 9, 56, 9, art. 220, 42 pp., 2024. 10.1145/3649451.

[Han24] Z. Han, C. Gao, et al., "Parameter-efficient fine-tuning for large models: A comprehensive survey," arXiv preprint arXiv:2403.14608, 2024. 10.48550/arXiv.2403.14608.

[Hu22] E. J. Hu, Y. Shen, et al., "LoRA: Low-rank adaptation of large language models," ICLR, vol. 1, no. 2, p. 3, 2022. 10.48550/arXiv.2106.09685.

[Liu22] H. Liu, D. Tam, et al., "Few-shot parameter-efficient fine-tuning is better and cheaper than in-context learning," Advanc-es in Neural Information Processing Systems, vol. 35, pp. 1950-1965, 2022. 10.48550/arXiv.2205.05638.

[Mal14] P. Malo, A. Sinha, et al., "Good debt or bad debt: Detecting semantic orientations in economic texts," Journal of the Association for Information Science and Technology, vol. 65, no. 4, pp. 782-796, 2014. 10.1002/asi.23062.

[Mo24] K. Mo, W. Liu, et al., "Fine-tuning Gemma-7B for enhanced sentiment analysis of financial news headlines," in 2024 IEEE 4th International Conference on Electronic Technology, Communication and Information (ICETCI), pp. 130-135, IEEE, 2024. 10.1109/ICETCI61221.2024.10594605.

[Nas25] D. K. Nasiopoulos, K. I. Roumeliotis, et al., "Financial sentiment analysis and classification: A comparative study of fine-tuned deep learning models," International Journal of Financial Studies, vol. 13, no. 2, p. 75, 2025. 10.3390/ijfs13020075.

[Sun25] Y. Sun, H. Yuan, and F. Xu, "Financial sentiment analysis for pre-trained language models incorporating dictionary knowledge and neutral features," Natural Language Processing Journal, p. 100148, 2025. 10.1016/j.nlp.2025.100148.

[Tea25] G. Team, A. Kamath, J. Ferret, et al., "Gemma 3 technical report," arXiv preprint arXiv:2503.19786, 2025. 10.48550/arXiv.2503.19786.

[Tou23] H. Touvron, T. Lavril, et al., "LLaMA: Open and efficient foundation language models," arXiv preprint arXiv:2302.13971, 2023. 10.48550/arXiv.2302.13971.

[Vas17] A. Vaswani, N. Shazeer, et al., "Attention is all you need," Advances in Neural Information Processing Systems, vol. 30, 2017. 10.48550/arXiv.1706.03762.

[Wan25] L. Wang, S. Chen, et al., "Parameter-efficient fine-tuning in large language models: A survey of methodologies," Artifi-cial Intelligence Review, vol. 58, no. 8, p. 227, 2025. 10.1007/s10462-025-11236-4. PYPSSL.




DOI: https://doi.org/10.54708/SIIT-2026-no3-p105

Ссылки

  • На текущий момент ссылки отсутствуют.


(c) 2026 L. A. Gardashova, A. E. Gasimov