scieee Science in your language
[en] (orig)

Why Natural Language Inference Models Perform Exceptionally Well at Intent Detection

Author: Parameswaran, Sundararaman
Publisher: Zenodo
DOI: 10.5281/zenodo.17315803
Source: https://zenodo.org/records/17315803/files/NLI_Intent_Detection_Paper_IEEE.pdf
Why Na u al Language In e ence
Models Pe o m Excep ionally Well a
In en De ec ion
Sunda a aman Pa ameswa an – AI & ML Specialis
Abs ac —Na u al Language In e ence (NLI) models, such
as RoBERTa, DeBERTa, and T5, ha e demons a ed
excep ional capabili ies in unde s anding con ex and
seman ics h ough en ailmen -based aining. This pape
explo es why hese models pe o m ema kably well in
in en de ec ion asks ac oss domains such as cus ome
suppo , aud de ec ion, and con e sa ional analysis.
Re aming in en de ec ion as an en ailmen ask enables
ze o-sho o ew-sho gene aliza ion, allowing models o
in e use in en s wi hou explici supe ision. The
easoning-d i en na u e o NLI models enables hem o
cap u e bo h explici and implici in en , ou pe o ming
adi ional classi ie s in adap abili y and in e p e abili y.
I. INTRODUCTION
In en de ec ion is a ounda ional componen o na u al
language unde s anding sys ems, powe ing cha bo s,
i ual assis an s, and aud de ec ion amewo ks.
Con en ional supe ised app oaches ely on la ge
anno a ed da ase s and domain-speci ic ine- uning.
Howe e , hese models o en s uggle o gene alize o
unseen in en s o con e sa ional domains. Na u al
Language In e ence (NLI) o e s a pa adigm shi . T ained
o de e mine whe he a hypo hesis is en ailed, con adic ed,
o neu al wi h espec o a p emise, NLI models inhe en ly
lea n logical easoning and con ex ual unde s anding.
When e-pu posed o in en classi ica ion, hey can
e alua e whe he an u e ance (p emise) implies a speci ic
in en (hypo hesis), hus elimina ing he need o ex ensi e
e aining.
II. BACKGROUND
T adi ional in en de ec ion amewo ks depend on ei he
in en -speci ic classi ie s o embedding-based simila i y
measu es. Howe e , hese models ace challenges in
ambigui y, con ex ual a ia ion, and ew-sho
gene aliza ion. NLI models, ained on da ase s such as
SNLI [1] and Mul iNLI [2], lea n ela ional seman ics ha
ex end na u ally o in en ecogni ion. Ze o-sho models like
RoBERTa-la ge-MNLI and DeBERTa- 3-la ge map ex
pai s in o en ailmen p obabili ies.
III. METHODOLOGY
In en de ec ion can be e amed as a ex ual en ailmen
p oblem. Fo each inpu sen ence (p emise), we de ine a
se o hypo heses ep esen ing po en ial in en s. The model
hen compu es en ailmen p obabili ies be ween each pai .
Example: P emise: 'Please send you accoun de ails so I
can ans e unds.' Hypo hesis: 'This message is
eques ing con iden ial in o ma ion.' → En ailmen →
Phishing In en .
IV. EXPERIMENTAL INSIGHTS
Empi ical esul s show ha NLI-based classi ie s
consis en ly ou pe o m adi ional models in low-da a
egimes. A RoBERTa-MNLI model achie ed o e 80%
accu acy in ze o-sho scena ios, compa ed o 65% om
supe ised in en classi ie s. They gene alize ac oss
domains— om cus ome se ice o phishing
de ec ion—main aining seman ic obus ness e en when
lexical o e lap is minimal.
V. DISCUSSION
Why NLI Models Excel: (1) Seman ic Gene aliza ion, (2)
Con ex ual In e ence, (3) Ze o-Sho Capabili y, and (4)
In e p e abili y. Howe e , hese models a e compu a ionally
in ensi e and may o e gene alize in ambiguous con ex s.
P omp design and calib a ion a e c i ical o main aining
p ecision.
VI. APPLICATIONS
NLI-based in en de ec ion is pa icula ly e ec i e in
phishing and scam de ec ion, cus ome suppo au oma ion,
and con e sa ional sa e y sys ems. In p ac ical
deploymen s, NLI-based amewo ks ha e ou pe o med
ule-based heu is ics by o e 20% in de ec ion accu acy,
demons a ing p oduc ion-g ade scalabili y.
VII. CONCLUSION
Na u al Language In e ence models inhe en ly lea n
con ex ual easoning, enabling hem o se e as uni e sal
in en de ec o s. By e aming in en ecogni ion as a ex ual
en ailmen ask, we achie e domain-agnos ic, ze o-sho
gene aliza ion wi h minimal da a equi emen s. NLI models
hus ep esen a majo s ep owa d sel -adap i e language
unde s anding sys ems.
REFERENCES
[1] Bowman, S. R., e al. “A La ge Anno a ed Co pus o
Lea ning Na u al Language In e ence.” EMNLP, 2015.
[2] Williams, A., e al. “A B oad-Co e age Challenge Co pus
o Sen ence Unde s anding h ough In e ence.” NLP, 2018.
[3] Reime s, N., & Gu e ych, I. “Sen ence-BERT: Sen ence
Embeddings using Siamese BERT Ne wo ks.” EMNLP,
2020.
[4] Yin, W., e al. “Benchma king Ze o-sho Tex
Classi ica ion: Da a and Models.” ACL, 2019.
[5] Hugging Face T ans o me s Documen a ion. “Ze o-sho
Classi ica ion Pipeline,” 2023.