SLMs vs LLMs for Token Classification: Do Smaller Models Still Outperform LLMs?

Abstract: 

In 2018, BERT revolutionized NLP by providing a general encoding model that could be fine-tuned for a wide variety of NLP tasks. Five years later, Large Language Models (LLMs) seem poised to replace BERT for many NLP problems. In this talk, we compare the performance of Small Language Models (SLMs) like BERT with LLMs on a classic NLP task: Named Entity Recognition (NER). We explore when it makes sense to choose an SLM versus an LLM and whether in-context learning with LLMs can significantly reduce or even eliminate the need for task-specific training data. We highlight key challenges in leveraging LLMs for NER by comparing accuracy and throughput of both model types on several benchmarks. Finally, we offer practical guidance for developing effective NER models using both SLMs and LLMs.

Bio: 

Ander Steele is the Head of AI at Tonic.ai, where he pioneers solutions to make sensitive data safe and useful for AI development and model training. He has a PhD in mathematics from Boston University and held academic positions at the University of Calgary and UC Santa Cruz. Following his academic career, he worked as a senior data scientist at Fullpower Technologies, applying deep learning to classify disordered sleep breathing from a variety of sensor data.

At Tonic, he is responsible for the development of the company’s AI models and synthetic data capabilities. When not fine-tuning, he enjoys mountain biking and running in the redwoods of Santa Cruz, California.

Open Data Science

 

 

 

Open Data Science
One Broadway
Cambridge, MA 02142
info@odsc.com

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from - Youtube
Vimeo
Consent to display content from - Vimeo
Google Maps
Consent to display content from - Google