Metric-Based In-context Learning: A Case Study in Text Simplification
Vadlamannati, Subha, Şahin, Gözde Gül
–arXiv.org Artificial Intelligence
In-context learning (ICL) for large language models has proven to be a powerful approach for many natural language processing tasks. However, determining the best method to select examples for ICL is nontrivial as the results can vary greatly depending on the quality, quantity, and order of examples used. In this paper, we conduct a case study on text simplification (TS) to investigate how to select the best and most robust examples for ICL. We propose Metric-Based in-context Learning (MBL) method that utilizes commonly used TS metrics such as SARI, compression ratio, and BERT-Precision for selection. Through an extensive set of experiments with various-sized GPT models on standard TS benchmarks such as TurkCorpus and ASSET, we show that examples selected by the top SARI scores perform the best on larger models such as GPT-175B, while the compression ratio generally performs better on smaller models such as GPT-13B and GPT-6.7B. Furthermore, we demonstrate that MBL is generally robust to example orderings and out-of-domain test sets, and outperforms strong baselines and state-of-the-art finetuned language models. Finally, we show that the behaviour of large GPT models can be implicitly controlled by the chosen metric. Our research provides a new framework for selecting examples in ICL, and demonstrates its effectiveness in text simplification tasks, breaking new ground for more accurate and efficient NLG systems.
arXiv.org Artificial Intelligence
Jul-27-2023
- Country:
- Africa > Ethiopia
- Addis Ababa > Addis Ababa (0.04)
- Asia
- China > Hong Kong (0.04)
- Middle East
- Republic of Türkiye > Istanbul Province
- Istanbul (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Republic of Türkiye > Istanbul Province
- Europe
- United Kingdom > Scotland
- City of Aberdeen > Aberdeen (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Gibraltar (0.04)
- Middle East > Republic of Türkiye
- Istanbul Province > Istanbul (0.04)
- Norway > Eastern Norway
- Oslo (0.04)
- Netherlands (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Hungary > Budapest
- Budapest (0.04)
- United Kingdom > Scotland
- North America > United States
- California > Santa Clara County
- Palo Alto (0.04)
- Illinois (0.04)
- Pennsylvania (0.04)
- Washington > King County
- Seattle (0.04)
- California > Santa Clara County
- Oceania > Australia (0.04)
- Africa > Ethiopia
- Genre:
- Research Report
- Experimental Study (0.48)
- New Finding (0.68)
- Research Report
- Industry:
- Education (0.93)
- Health & Medicine > Therapeutic Area
- Neurology (0.68)
- Leisure & Entertainment (1.00)
- Media > Film (0.68)
- Technology: