IDEAS home Printed from https://ideas.repec.org/p/hal/wpaper/hal-04739931.html
   My bibliography  Save this paper

When Small Wins Big: Classification Tasks Where Compact Models Outperform Original GPT-4
[Quand les petits gagnent les grands : tâches de classification pour lesquelles les modèles compacts sont plus performants que les modèles originaux GPT-4]

Author

Listed:
  • Baptiste Lefort

    (MICS - Mathématiques et Informatique pour la Complexité et les Systèmes - CentraleSupélec - Université Paris-Saclay, A.I. For Alpha)

  • Eric Benhamou

    (A.I. For Alpha)

  • Jean-Jacques Ohana

    (A.I. For Alpha)

  • Beatrice Guez

    (A.I. For Alpha)

  • David Saltiel

    (A.I. For Alpha)

  • Damien Challet

    (MICS - Mathématiques et Informatique pour la Complexité et les Systèmes - CentraleSupélec - Université Paris-Saclay)

Abstract

This paper evaluates Large Language Models (LLMs) on financial text classification, comparing GPT-4 (1.76 trillion parameters) against FinBERT (110 million parameters) and FinDROBERTA (82.1 million parameters). We achieved a classification task on short financial sentences involving multiple divergent insights with both textual and numerical data. We developed a market-based large dataset that enabled us to fine-tune the models on a real-world ground truth. Utilizing a marketbased dataset for fine-tuning on extensive datasets, we achieved significant enhancements with Fin-BERT and FinDROBERTA over GPT-4. However, the use of a bagging majority classifier did not yield performance improvements, demonstrating that the principles of Condorcet's jury Theorem do not apply, suggesting a lack of independence among the models and similar behavior patterns across all evaluated models. Our results indicate that for complex sentiment classification, compact models match larger models, even with fine-tuning. The fine-tuned models are made available as opensource for additional research.

Suggested Citation

  • Baptiste Lefort & Eric Benhamou & Jean-Jacques Ohana & Beatrice Guez & David Saltiel & Damien Challet, 2024. "When Small Wins Big: Classification Tasks Where Compact Models Outperform Original GPT-4 [Quand les petits gagnent les grands : tâches de classification pour lesquelles les modèles compacts sont pl," Working Papers hal-04739931, HAL.
  • Handle: RePEc:hal:wpaper:hal-04739931
    Note: View the original document on HAL open archive server: https://hal.science/hal-04739931v1
    as

    Download full text from publisher

    File URL: https://hal.science/hal-04739931v1/document
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hal:wpaper:hal-04739931. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: CCSD (email available below). General contact details of provider: https://hal.archives-ouvertes.fr/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.