The selection of demonstrations for few-shot learning plays a pivotal role in the performance of LLMs. In the legal domain, selecting these examples becomes especially critical, since they must be both informative and economical. We address legal argument mining by adopting dynamic selection strategies where a specific set of demonstrations is selected for each inference, and we compare them to static approaches where examples are chosen by experts or by the LLMs themselves. We experiment with 34 learning configurations over 3 different tasks, i.e., classification of argumentative components, type of premises, and argumentative schemes. We find that dynamic selection methods are better than static ones in all three tasks, suggesting that similarity is an important criterion in this domain.

Alfieri, F., Grundler, G., Galloni, F., Liepina, R., Lagioia, F., Galassi, A., et al. (2025). Dynamic Demonstrations Selection for Few-Shot Legal Argument Mining. Aachen : CEUR-WS.

Dynamic Demonstrations Selection for Few-Shot Legal Argument Mining

Giulia Grundler;Francesca Galloni;Ruta Liepina;Francesca Lagioia;Andrea Galassi;Paolo Torroni
2025

Abstract

The selection of demonstrations for few-shot learning plays a pivotal role in the performance of LLMs. In the legal domain, selecting these examples becomes especially critical, since they must be both informative and economical. We address legal argument mining by adopting dynamic selection strategies where a specific set of demonstrations is selected for each inference, and we compare them to static approaches where examples are chosen by experts or by the LLMs themselves. We experiment with 34 learning configurations over 3 different tasks, i.e., classification of argumentative components, type of premises, and argumentative schemes. We find that dynamic selection methods are better than static ones in all three tasks, suggesting that similarity is an important criterion in this domain.
2025
Proceedings of the First Argument Mining and Empirical Legal Research Workshop co-located with the 20th International Conference on Artificial Intelligence and Law (ICAIL 2025)
15
29
Alfieri, F., Grundler, G., Galloni, F., Liepina, R., Lagioia, F., Galassi, A., et al. (2025). Dynamic Demonstrations Selection for Few-Shot Legal Argument Mining. Aachen : CEUR-WS.
Alfieri, Francesco; Grundler, Giulia; Galloni, Francesca; Liepina, Ruta; Lagioia, Francesca; Galassi, Andrea; Torroni, Paolo
File in questo prodotto:
File Dimensione Formato  
paper2.pdf

accesso aperto

Tipo: Versione (PDF) editoriale / Version Of Record
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione (CCBY)
Dimensione 271.75 kB
Formato Adobe PDF
271.75 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/1028737
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact