INTENT RECOGNITION USING DISTILBERT AND LANGUAGE MODELS

Intent classification in Natural Language Processing involves identifying the intention of the user based on their input/interaction with an interface. This can be in a natural usage setting (voice assistants) or an interaction between users, customer service personnel, or agents (in a large organization). This paper aims to study the problem of intent classification using language models (like DistilBERT) and Large Language Models (Phi2 and LLAMA3) on open-source datasets available in banking, travel, small talk, office, etc. This is a challenging problem as there is a need for more available data that spans various domains. Identifying the user’s intention is sometimes tricky as the classification changes based on the context (and ambiguity in natural language). Apart from the given intents, the data poses a challenge when a user presents the interface with out-of-scope queries (for which the models aren’t trained). We test this on transformer-based approaches like DistilBERT and LLMs (like Phi2 and LLAMA3). We find that DistilBERT, with fewer parameters, trains faster and runs inference faster than LLAMA3 and Phi2 (with PEFT-LoRA). We also find that the results from DistilBERT are much better than those of the language model-based approaches for the Banking-77 and CLINC-150 datasets. These two datasets cover various domains (as mentioned above).

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2024-10-26
DOI
https://doi.org/10.5281/zenodo.13996031
Primary Topic
AI in Service Interactions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

INTENT RECOGNITION USING DISTILBERT AND LANGUAGE MODELS

Zenodo (CERN European Organization for Nuclear Research)
AI in Service Interactions
article

INTENT RECOGNITION USING DISTILBERT AND LANGUAGE MODELS

article en

Abstract

Intent classification in Natural Language Processing involves identifying the intention of the user based on their input/interaction with an interface. This can be in a natural usage setting (voice assistants) or an interaction between users, customer service personnel, or agents (in a large organization). This paper aims to study the problem of intent classification using language models (like DistilBERT) and Large Language Models (Phi2 and LLAMA3) on open-source datasets available in banking, travel, small talk, office, etc. This is a challenging problem as there is a need for more available data that spans various domains. Identifying the user’s intention is sometimes tricky as the classification changes based on the context (and ambiguity in natural language). Apart from the given intents, the data poses a challenge when a user presents the interface with out-of-scope queries (for which the models aren’t trained). We test this on transformer-based approaches like DistilBERT and LLMs (like Phi2 and LLAMA3). We find that DistilBERT, with fewer parameters, trains faster and runs inference faster than LLAMA3 and Phi2 (with PEFT-LoRA). We also find that the results from DistilBERT are much better than those of the language model-based approaches for the Banking-77 and CLINC-150 datasets. These two datasets cover various domains (as mentioned above).

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 65%
AI in Service Interactions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

INTENT RECOGNITION USING DISTILBERT AND LANGUAGE MODELS · Zenodo (CERN European Organization for Nuclear Research) (2024) | TGRS Research Map | TGRS