I nte rna t io na l J o urna l o f   E lect rica l a nd   Co m pu t er   E ng ineering   ( I J E CE )   Vo l.   15 ,   No .   6 Decem b er   20 25 ,   p p .   5 5 4 3 ~ 5 5 5 4   I SS N:  2088 - 8 7 0 8 ,   DOI : 1 0 . 1 1 5 9 1 /ijece. v 15 i 6 . pp 5 5 4 3 - 5 5 5 4           5543       J o ur na l ho m ep a g e h ttp : //ij ec e. ia esco r e. co m   O ptimi zing   pa ra meter  sel ection  in   bidirec tiona l enc o der  po rtray a l f o r t ra n sfo rmers   a lg o rith m using   pa rticl e s wa rm  o ptimiza tion  for  a rtif icia l i ntelligen ce   g enerate essa y   detec tion       T eg a Arif in P ra s et y o 1 Rudy   Cha nd ra 1 ,   Wesly   M a ila nd er   Sia g ia n 2 ,     H o ra s   M a ro lo p Am s a l Sire g a r 1 ,   Sa m uel J ef ri  Sa pu t ra   Si a ha a n 1   1 D e p a r t me n t   o f   I n f o r mat i o n   Te c h n o l o g y ,   F a c u l t y   o f   V o c a t i o n a l   S t u d i e s,  I n s t i t u t   T e k n o l o g i   D e l ,   T o b a ,   I n d o n e s i a   2 D e p a r t me n t   o f   E n g i n e e r i n g   M a n a g e men t ,   F a c u l t y   o f   I n d u s t r i a l   Te c h n o l o g y   F a c u l t y ,   I n st i t u t   T e k n o l o g i   D e l ,   T o b a ,   I n d o n e si a       Art icle  I nfo     AB S T RAC T   A r ticle  his to r y:   R ec eiv ed   No v   3 ,   2 0 2 4   R ev is ed   J u l 1 6 ,   2 0 2 5   Acc ep ted   Sep   1 4 ,   2 0 2 5       T h is   re s e a rc h   p r o p o se s   a   n o v e l   m e t h o d   f o d e tec t i n g   a rt if ic ial   i n tel li g e n c e   (AI ) - g e n e ra te d   e ss a y s   b y   i n te g ra t i n g   t h e   b i d i re c ti o n a l   e n c o d e r   re p r e se n ta ti o n s   fr o m   tra n sf o rm e rs   ( B ER T )   m o d e w it h   p a r ti c le   sw a rm   o p ti m iza ti o n   (P S O ).   Un li k e   tra d it i o n a a p p r o a c h e th a re ly   o n   m a n u a h y p e rp a ra m e ter  tu n i n g ,   th is  st u d y   in tr o d u c e a   sy ste m a ti c   o p ti m iza ti o n   tec h n iq u e   u sin g   P S t o   imp ro v e   BERT ’s  p e rf o rm a n c e   in   id e n t ify i n g   AI - g e n e ra ted   c o n ten t.   Th e     k e y   p r o b lem   a d d re ss e d   is  th e   lac k   o e ffe c ti v e ,   re a l - ti m e   d e tec ti o n   sy ste m s   th a p re se rv e   a c a d e m ic  in teg r it y   a m id st   ra p i d   AI   a d v a n c e m e n ts.   Th is   o p ti m iza ti o n   e n h a n c e th e   m o d e l’s  d e tec ti o n   a c c u ra c y   a n d   o p e ra ti o n a l   e fficie n c y .   Th e   re se a rc h   d a tas e c o n siste d   o 4 6 , 2 4 6   e ss a y s,  wh ich ,   a fter  d a ta  c lea n in g ,   we re   re fin e d   to   4 4 , 8 6 8 .   Th e   m o d e wa th e n   tes ted   o n   9 , 2 5 0   e ss a y s.  In it ial  e v a l u a ti o n sh o we d   BERT ' a c c u ra c y   ra n g in g   fr o m   8 3 %   t o   9 4 % .   Afte r   b e i n g   o p ti m ize d   wit h   P S O,   th e   m o d e l   a c h iev e d   a n   a c c u ra c y   o f   9 8 % ,   a n   F 1 - sc o re   o 9 8 . 3 1 % ,   p r e c isio n   o 9 7 . 7 5 % ,   a n d   re c a ll   o f   9 8 . 8 7 % .   Th e   m o d e wa d e p lo y e d   u si n g   a   F a stAPI - b a se d   we b   i n terfa c e ,   e n a b li n g   re a l - ti m e   d e tec ti o n   a n d   p r o v i d i n g   u se rs  with   a n   e fficie n wa y   t o   q u ick ly   v e rify   tex a u t h e n ti c it y .   T h is  re se a rc h   c o n tri b u tes   a   sc a lab le,  a u to m a ted   so lu ti o n   fo AI - g e n e ra ted   tex t   d e tec ti o n   a n d   o ffe rs  p ro m isin g   i m p li c a ti o n s   fo it a p p li c a ti o n   in   v a rio u a c a d e m ic  a n d   d ig it a c o n ten v e rifi c a ti o n   c o n tex ts.   K ey w o r d s :   A r tific ial  in tellig en ce   g en er ate s   ess ay   d etec tio n   B id ir ec tio n al  en co d er   p o r t r ay a f o r   tr an s f o r m er s   a lg o r ith m   P ar ticle  s war m   o p tim izatio n   a lg o r ith m   Natu r al  lan g u ag e   p r o ce s s in g   Op tim izatio n   p ar am eter   T h is i a n   o p e n   a c c e ss   a rticle   u n d e r th e   CC B Y - SA   li c e n se .     C o r r e s p o nd ing   A uth o r :   T eg ar   Ar if in   Pra s ety o   Dep ar tm en t o f   I n f o r m atio n   T e ch n o lo g y ,   Facu lty   o f   Vo ca tio n al  Stu d ies,  I n s titu t T ek n o lo g Del   Sis in g am an g ar aja  Stre et,   Sit o lu am a,   L ag u b o ti   2 2 3 8 1 ,   T o b a ,   I n d o n e s ia   E m ail:  teg ar . p r asety o @ d el. ac . id       1.   I NT RO D UCT I O N   I n   r ec e n y ea r s ,   a r tific ial  in tellig en ce   ( AI )   h as  ac h iev e d   r e m ar k ab le  p r o g r ess   ac r o s s   v ar io u s   s ec to r s .   On o f   th e   m o s p r o m in e n ar ea s   o f   ad v a n ce m en is   i n   n atu r al  lan g u ag e   p r o ce s s in g   ( NL P).   NL en ab les   co m p u ter s   to   u n d e r s tan d ,   p r o c ess ,   an d   g en er ate  h u m a n   lan g u ag in   m o r f lu id   a n d   ef f icien way .   I is   k e y   tech n o lo g y   b eh i n d   v a r io u s   ap p licatio n s ,   in clu d in g   v ir tu al  as s is tan ts   an d   au to m ated   tex t a n aly s is   p latf o r m s   [ 1 ] .   As  p r o g r ess   in   th is   f ield   ac ce l er ates,  n ew  ch allen g es  also   s u r f ac e,   o n o f   th m ai n   o n es  b ein g   th a b ilit y   to   id en tify   tex cr ea ted   b y   m ac h i n es   [ 2 ] [ 3 ] .   R ec en ad v a n ce m en ts   in   AI   m o d els  h av e n ab le d   th g en e r atio n   o f   ess ay s   an d   ar ticles  th at  clo s el y   m im ic  h u m a n   wr itin g ,   r aisi n g   s ig n if ican co n ce r n s   r e g ar d in g   th au th e n ticity   o f   tex t,  p a r ticu lar ly   with in   e d u ca tio n al  an d   p u b lis h in g   d o m ain s .   T h n ee d   f o r   r o b u s au t o m ated   d etec tio n   o f   m ac h in e - g e n er ated   c o n ten t   h a s   b ec o m cr itical  to   en s u r i n g   th in teg r ity   an d   o r ig i n ality   o f   wr itten   m ater ials .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   15 ,   No .   6 Decem b e r   20 25 :   5 5 4 3 - 5 5 5 4   5544   C o n s eq u en tly ,   t h d ev elo p m en o f   ef f ec tiv e   m eth o d o l o g i es  to   d is tin g u is h   b etwe en   h u m an - au t h o r e d   an d     AI - g en er ated   tex t h as e m er g e d   as a   k ey   r esear ch   p r i o r ity   in   th is   ar ea   [ 4 ] [ 5 ] .   W ith   th r ap id   ad v an ce m e n ts   in   AI ,   b id ir ec tio n al  en c o d er   r e p r esen tatio n s   f r o m   tr a n s f o r m er s   ( B E R T ) ,   d ev elo p ed   b y   Go o g le ,   h as  em er g ed   as  th in d u s tr y   s tan d ar d   d u to   its   ex ce p tio n al  ab ilit y   to   u n d er s tan d   an d   i n ter p r et  th co m p lex   n u an ce s   o f   lan g u ag e.   I ts   b id ir ec tio n al  a p p r o ac h   to   la n g u a g e   co m p r eh e n s io n   h as  r ed ef in e d   n atu r al  lan g u a g p r o ce s s in g ,   e s tab lis h in g   n ew  b en ch m ar k   f o r   p er f o r m a n ce   in   th f ield .   B E R T   h as  b ee n   ap p lied   to   wid r an g o f   NL task s ,   in clu d in g   tex class if icatio n   [ 6 ] ,   s en tim en t   an aly s is   [ 7 ] an d   p lag iar is m   d etec tio n   [ 8 ] B ased   o n   th r esear ch   co n d u cted   b y   [ 9 ] ,   th B E R T   m o d el  d em o n s tr ated   s u p er i o r   ac cu r ac y   in   s en tim en p r ed ictio n   c o m p ar ed   to   tr ad itio n al  ap p r o ac h e s   lik n aïv B ay es,  s u p p o r v ec to r   m ac h in es   ( SV M ) ,   an d   lo n g   s h o r t - ter m   m em o r y   n etwo r k   ( L STM ) .   I ts   p r e - tr ain ed   ar ch itectu r e   an d   ab ilit y   t o   f in e - tu n e   g iv B E R T   an   ad v an tag e   o v e r   o th er   tech n iq u es,  ac h iev in g   h ig h er   p er f o r m a n ce   i n   m etr ics  s u ch   as  F1   s co r e,   p r ec is io n ,   an d   r ec all .   T h r esear ch   [ 1 0 ]   p r esen ts   f r am ewo r k   th at  lev er ag es  b o t h   g en er ativ p r e - tr ain ed   tr an s f o r m er s   ( GPT )   an d   B E R T   f o r   ef f ec tiv f ak n ews  d etec tio n ,   ac h iev in g   9 5 . 3 0 ac cu r ac y   in   test s   co n d u cted   o n   two   r ea l - wo r l d   d atasets ,   wh ich   em p h asizes  its   s tr o n g   p o te n tial  to   ad d r ess   th e   is s u o f   f ak n ews in   th e   d ig it al  er a.   Desp ite  it s   p o ten tial,  ap p ly in g   B E R T   f o r   d etec tin g   AI - g en er ated   ess ay s   r em ain s   c h allen g in g ,   p r im ar ily   d u to   th e   co m p le x ity   in v o lv e d   in   f in e - tu n in g   th m o d el' s   p ar am eter s .   T h is   is   ev id en ce d   b y   t h r esear ch ,   wh ich   d em o n s tr ate s   th at  B E R T   p ar am eter s   ca n   b o p tim ized   u s in g   t h wh ale  o p tim izatio n   alg o r ith m   f o r   s em an tic  tex t   g e n er atio n h o wev er ,   th e   r esu lts   s till   h o v er   ar o u n d   0 . 7 6   o n   m et r ics  f o r   ev alu atio n   o f   tr an s latio n ,   lik GPT - 2   [ 1 1 ] .   T h s elec tio n   o f   o p tim al  p ar am eter s   in   B E R T   is   cr itical  to   m ax im izin g   m o d e l   p er f o r m an ce   [ 8 ] .   Ho we v er ,   th is   p r o ce s s   is   o f te n   p er f o r m ed   m an u all y   o r   t h r o u g h   tr ial - an d - er r o r   tech n iq u es,   wh ich   ar n o o n ly   in ef f ic ien b u also   h ig h ly   tim e - c o n s u m in g .   B E R T   r elies  o n   v ast  ar r ay   o f   h y p er p ar am eter s   th at  c r itically   in f lu e n ce   its   p er f o r m an ce ,   s u ch   as  th lear n in g   r ate,   n u m b er   o f   lay er s ,   em b ed d in g   s ize,   an d   b atc h   s ize  [ 1 2 ] [ 1 3 ] .   Attain in g   o p ti m al  p er f o r m an ce   d em a n d s   m o r s tr u ctu r ed   a n d   m eth o d ical  ap p r o ac h   to   s elec tin g   th m o s t su itab le  p ar am eter s .   T h is   r esear ch   u tili ze s   m etah eu r is tic  o p tim izatio n   m eth o d ,   n am ely   p ar ticle  s war m   o p tim izatio n   ( PS O) ,   to   tack le  th d if f icu lties   ass o ciate d   wi th   o p tim izin g   B E R T ' s   p ar am eter   s elec tio n .   PS in s p ir ed   b y   th e   b eh av io r   o f   b ir d   f lo ck s   an d   f is h   s ch o o ls ,   ef f ec tiv ely   n a v ig ate s   co m p lex   s ea r ch   s p ac es  an d   i s   u s ef u f o r   tu n in g   h y p er p ar am eter s   in   m ac h in e   lear n in g   an d   d ee p   lear n in g   m o d els  [ 1 4 ] T h e   s tu d y   b y   [ 1 5 ]   s u g g ests   th at  in teg r atin g   PS with   r ec u r s i v f ea tu r elim in atio n   ( R FE )   f o r   o p tim izin g   SVM  p ar am e ter s   en h an ce s   h ea r t   d is ea s d etec tio n   ac cu r ac y   f r o m   8 6 . 4 1 to   8 9 . 1 3 %,  em p h as izin g   PS O ' s   g r ea ter   ef f ec tiv en ess   o v er   tr ad itio n al   m eth o d s .   I n   ad d itio n ,   th r es ea r ch   b y   [ 1 6 ]   in tr o d u ce s   an   i n n o v ativ tier e d   f ea tu r s elec tio n   tech n iq u th at   lev er ag es  PS alo n g s id g en etic  alg o r ith m   ( GA)   to   o p ti m ize  th p er f o r m an ce   o f   c o r o n ar y   h ea r d is ea s d iag n o s is   s y s tem s .   T h ap p li ca tio n   o f   PS y ield ed   r em ar k ab le  o u tc o m es,  with   an   ac c u r ac y   o f   9 6 . 0 4 %,  an   AUC  o f   9 9 . 9 7 %,  a n d   s en s itiv ity   o f   9 8 . 3 6 %,   h ig h lig h tin g   its   co n s id er ab le   p o te n tial  to   en h an ce   d iag n o s tic   ac cu r ac y   a n d   r eliab ilit y   i n   co r o n ar y   h ea r d is ea s d etec tio n .   T h u s o f   PS en ab les  a   m o r e f f icien an d   s y s tem atic  ap p r o ac h   to   p ar am eter   o p tim izatio n ,   s u b s tan tially   r ed u cin g   t h r el ian ce   o n   m an u al   ex p er im en tatio n ,   wh ich   is   o f te n   tim e - co n s u m i n g   an d   r eso u r c e   in ten s iv e.   T h co m b in atio n   o f   B E R T   an d   PS is   ex p ec ted   to   s ig n if ican tly   en h a n ce   th ef f ec t iv en ess   o f     AI - g en er ated   ess ay   d etec tio n   s y s tem s .   W h ile  PS au to m at es  th o p tim izatio n   o f   p ar am eter   co n f ig u r atio n s ,   B E R T   p r o v id es  s tr o n g   f o u n d atio n al  m o d el  f o r   co m p r e h e n d in g   th s tr u ctu r e   an d   s em a n tics   o f   th te x t.  B y   ap p ly in g   th is   m eth o d ,   it  is   ex p ec ted   th at  th d etec tio n   o f   AI - g en er ated   ess ay s   will  b ec o m m o r ac cu r ate  an d   r eliab le.   Mo r eo v er ,   th f i n d in g s   f r o m   th is   s tu d y   a r ex p ec te d   to   d r iv t h d e v elo p m e n o f   m o r ad v an ce d   an d   co n tex t - s p ec if ic  a u to m ated   d etec tio n   to o ls ,   p ar ticu lar ly   with in   th e d u ca tio n al  s ec to r ,   wh er e   AI   is   in cr ea s in g ly   u s ed   to   p r o d u ce   ac ad em ic  co n ten lik ess ay s .   Fu r th er m o r e ,   th g r o win g   ad o p tio n   o f   AI   f o r   tex t   g en er atio n   h as  r aised   co n ce r n s   ab o u ac ad em ic  in te g r ity   [ 1 7 ] .   I n   e d u ca tio n al  in s titu tio n s ,   e s s ay s   g en er ated   b y   AI   ca n   o b s cu r th d is tin ctio n   b etwe en   au th en tic  s tu d en w o r k   an d   AI - cr ea ted   co n ten [ 1 8 ] [ 2 0 ] T h er ef o r e,   th d ev elo p m en o f   s y s tem s   ca p ab le  o f   ac c u r ately   d etec ti n g   AI - g e n er ated   ess ay s   h as  b ec o m in cr ea s in g ly   im p o r tan to   p r eser v t h cr e d ib ilit y   o f   ac a d em ic  ev alu ati o n s .   I n   o u r   r esear ch ,   we  s u g g est  th at  lev er ag in g   o p tim izatio n   tech n iq u es  s u ch   as  PS O   to   f in e - tu n B E R T   p ar am eter s   ca n   g r ea tly   en h a n ce   th s p ee d   an d   ac cu r ac y   o f   d etec tin g   AI - g e n e r ated   ess ay s ,   th er e b y   c o n tr ib u t in g   s ig n if ican tly   to   th e   p r eser v atio n   o f   ac a d em ic  in teg r ity .   T h r o u g h   th is   in teg r a tio n ,   th e   r esear ch   aim s   to   p r o v id m o r e f f ec tiv e   s o lu tio n   f o r   im p r o v i n g   b o th   th ac cu r ac y   a n d   e f f icien cy   o f   d etec tin g   AI - g en er ate d   te x ts .   Mo r eo v er ,   o u r   r esear ch   h as  th p o ten tial  to   p r o v id e   f r esh   in s ig h ts   in to   s y s tem atic  s tr ateg ies  f o r   o p tim izin g   p ar am ete r s   in   d ee p   lea r n in g   m o d els,  wh ich   co u ld   b e   ex ten d e d   to   a   r an g o f   f u t u r NL ap p licatio n s .   T h is   co n tr ib u tio n   will  ex p an d   t h cu r r e n liter atu r o n   AI   ad v a n ce m en ts   in   ed u ca tio n ,   p ar ticu lar ly   in   p r es er v in g   th a u th en ticity   o f   wr itten   wo r k   in   a n   in cr ea s in g ly   d ig italized   wo r ld .   I n   s u m m a r y ,   t h i s   r es e a r c h   a d d r e s s e s   t h e   g a p   i n   e f f e c t i v e ,   r e a l - t i m e   s y s t e m s   f o r   d e t e ct i n g   AI - g e n e r a t e d   a c a d e m i c   c o n t e n t .   T h e   n o v e l t y   l i e s   i n   c o m b i n i n g   B E R T   w i t h   P S O   f o r   s y s t e m a ti c   h y p e r p a r a m e t e r   t u n i n g ,   w h i c h   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8       Op timiz in g   p a r a mete r   s elec tio n   in   b id ir ec tio n a l e n co d er  p o r tr a ya l fo r   …  ( Teg a r   A r ifin   P r a s etyo )   5545   s i g n i f i c a n t l y   e n h a n c es   d e t e ct i o n   a c c u r a c y .   T h e   i m p li c a ti o n s   o f   t h i s   w o r k   e x t e n d   b e y o n d   e d u c a t i o n ,   s u g g es t i n g   p o t e n t i a l   a p p li c a ti o n s   i n   j o u r n al i s m ,   p u b l is h i n g ,   a n d   c o n t e n t   m o d e r a t i o n   w h e r e   a u t h e n t ic i t y   i s   c r it i c al .       2.   M E T H O D   R ec en ad v an ce m en ts   in   tr an s f o r m er - b ased   m o d els  h av s h o wn   s ig n if ican im p r o v e m en ts   in   v ar io u s   NL task s   [ 2 1 ] .   B E R T   h as  b e co m f o u n d atio n al  m o d el  f o r   m an y   ap p licatio n s   d u to   its   d ee p   b id ir ec tio n al   en co d in g .   Ho wev e r ,   alter n ati v m o d els  s u ch   as  R o B E R T a,   T 5 ,   a n d   GPT - s er ies  m o d e ls   h av em er g ed ,   o f f er in g   im p r o v ed   p er f o r m a n ce   in   ce r tain   task s .   R o B E R T a   en h an ce s   B E R T   b y   r em o v in g   th Nex Sen ten ce   Pre d ictio n   o b jectiv an d   tr ain i n g   with   m o r d ata  an d   lar g er   b atch es,  m ak in g   it  m o r r o b u s in   u n d er s tan d in g   co n tex t   [ 2 2 ] .   T 5 ,   o n   th e   o th e r   h an d ,   r ef o r m u lates  all  NL task s   in to   te x t - to - tex t   f o r m at,   s h o win g   s tr o n g   p er f o r m an ce   o n   g en e r ativ ta s k s   [ 2 3 ] .   GPT - b ased   m o d els,   esp ec ially   th latest  GPT - 3   an d   GPT - 4 ,   o f f er   r em ar k ab le  tex t g en e r atio n   ca p ab ilit ies an d   ar k n o wn   f o r   p r o d u cin g   h u m a n - lik r esp o n s es   [ 2 4 ] .   Desp ite  th eir   g en er ativ s tr en g th s ,   th eir   u s ag f o r   class if icatio n   task s   r eq u ir es  f in e - t u n in g   an d   p r o m p en g in ee r in g .   I n   co m p ar is o n ,   B E R T   r em ain s   a   s tr o n g   ch o ice  f o r   b i n ar y   cla s s if icatio n   d u to   its   p r etr ain ed   ar ch itectu r an d   atten tio n   to   c o n tex tu al   s em an t ics.  Ho wev er ,   f i n e - tu n i n g   B E R T   ef f ec tiv ely   r e m ain s   c h allen g d u to   th v ast  h y p er p ar am eter   s p ac e.   T o   ad d r ess   th is ,   we  im p lem en PS O,   m etah eu r is tic  alg o r ith m   in s p ir ed   b y   t h s o cial  b eh av io r   o f   b ir d s .   PS h as  b ee n   s h o wn   to   o u tp er f o r m   tr a d itio n al  m eth o d s   lik G r id   S ea r ch   an d   R an d o m   Sear ch   in   ter m s   o f   s p ee d   an d   ac cu r ac y   [ 2 5 ] I is   co m p u tatio n ally   ef f icien a n d   s u itab le  f o r   o p tim izin g   d ee p   lear n in g   m o d el   p ar a m eter s .   Alter n ativ o p tim izatio n   m et h o d s   s u ch   as  g e n etic  alg o r i th m s   o r   B ay esian   o p tim izatio n   ca n   b m o r c o m p lex   o r   r eq u ir m o r iter atio n s   to   co n v er g e.   T h e r ef o r e,   PS is   s elec ted   in   th is   s tu d y   d u t o   its   s im p licity ,   ef f ec tiv en ess ,   an d   p r o v en   s u cc es s   in   p r ev io u s   m ac h in lear n in g   ap p licatio n s .   Fig u r 1   illu s tr ates  th p r o ce s s   o f   d etec tin g   AI - g e n er ated   e s s ay s   u s in g   B E R T   o p tim ized   with   PS O,   s tar tin g   f r o m   d ata  in p u t,  clea n in g ,   an d   to k en izatio n .   T h p r o ce s s ed   d ata  f lo ws  th r o u g h   th B E R T   m o d el,   p ass in g   th r o u g h   lay er s   lik e m b ed d in g ,   s elf - atten tio n ,   an d   f ee d - f o r war d   n etwo r k ,   f o llo wed   b y   f i n e - tu n in g   with   v ar io u s   h y p er p a r am eter s .   PS o p tim izatio n   id en tifie s   th b est  h y p er p a r am eter   c o m b in atio n ,   an d   th e   f in al  p r ed ictio n wh eth er   th e   ess ay   i s   AI - g en er ated   o r   h u m an - wr itten is   ev alu ated   u s in g   m etr ics  s u ch   as   ac cu r ac y ,   p r ec is io n ,   r ec all,   a n d   F1   s co r e.           Fig u r 1 .   R esear ch   w o r k f lo d iag r am       2 . 1   Da t a   c o llect io n a nd   prepro ce s s ing   T h d ataset  f o r   im p lem en tin g   th m o d el,   s o u r ce d   f r o m   Ka g g le  an d   c o n tain in g   4 6 , 2 4 6   r o ws  o f   tex t   f o r   id en tific atio n ,   will  b s p lit  with   8 0 d esig n ated   f o r   tr ai n in g   an d   2 0 f o r   test in g .   T h e n ,   th d ata  clea n i n g   p r o ce s s   b eg an   with   4 6 , 2 4 6   r o ws,  f r o m   wh ic h   1 , 3 7 8   d u p licate  en tr ies  wer r em o v e d ,   r esu ltin g   in   f i n al   d ataset  o f   4 4 , 8 6 8   r o ws,  with   n o   n u ll  v alu es  n ee d in g   r e m o v al.   T h AI - g e n er ated   s am p les  s p an   m u ltip le   d o m ain s ,   in clu d in g   ed u ca tio n ,   tech n o lo g y ,   g en er al  k n o wle d g e,   an d   o p in io n - b ased   wr itin g ,   o f f e r in g   d iv e r s lin g u is tic  s tr u ctu r es f o r   r o b u s m o d el  tr ain in g .   E x a m p les in cl u d e:   a.   Ar tific ial  I n tellig en ce   is   tr an s f o r m in g   ed u ca tio n   b y   en ab lin g   p er s o n alize d   lear n in g   ex p e r ien ce s .   b.   T h ca p ital o f   Fra n ce   is   Par is .   Pre p r o ce s s in g   in v o lv e d   to k en i za tio n   u s in g   th B E R T   to k en izer ,   f o llo wed   b y   p ad d in g   an d   t r u n ca tio n   to   en s u r e   f ix ed - len g th   in p u ts .   T h p r o ce s s ed   to k en s   wer th en   co n v er t ed   in to   Py T o r ch   ten s o r s   f o r   b a tch   p r o ce s s in g .     2 . 2   B E RT   m o del a rc hite ct ure   T h B E R T   m o d el  u s ed   in   th is   r esear ch   is   b ased   o n   th B er t Fo r Seq u en ce C lass if icatio n   ar ch itectu r e.   T h m o d el  in clu d es  an   em b e d d in g   la y er   th at  tr a n s f o r m s   i n p u to k en s   in to   v ec to r s   b y   i n co r p o r atin g   t o k en   em b ed d in g s ,   p o s itio n al  en co d in g s ,   an d   s eg m en em b e d d in g s .   T h ese  ar f o llo wed   b y   1 2   tr an s f o r m er   e n co d e r   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   15 ,   No .   6 Decem b e r   20 25 :   5 5 4 3 - 5 5 5 4   5546   lay er s ,   ea ch   f ea tu r in g   s elf - atten tio n   m ec h an is m s   an d   f ee d - f o r war d   n etwo r k s .   E ac h   e n co d er   lay er   ca p tu r es   b id ir ec tio n al  c o n tex tu al   r elatio n s h ip s   am o n g   th e   to k e n s .   T h m o d el  en d s   with   p o o lin g   lay er   b ased   o n   th e   [ C L S ]   to k en   an d   a   f u lly   co n n ec ted   class if icatio n   lay er   th at   o u tp u ts   p r o b ab ilit ie s   f o r   two   class es:     h u m an - wr itten   o r   AI - g e n er ate d .   I n   to tal,   th ar ch itectu r c o n tain s   ar o u n d   1 0 9 . 5   m illi o n   p ar am eter s ,   m ak in g   it  h ig h ly   e x p r ess iv an d   ca p ab le  o f   h an d lin g   c o m p lex   te x t c lass if icatio n   task s .     2 . 3   P SO   o ptim iza t i o n f o h y perpa ra m et er   t un ing   Hy p er p ar a m eter   tu n in g   is   c r itical  f o r   ac h iev in g   o p tim al   p e r f o r m a n ce   in   B E R T .   I n   th is   s tu d y ,   we   u tili ze   PS to   au to m ate  t h tu n in g   p r o ce s s   f o r   th r ee   k e y   h y p e r p ar am ete r s lear n in g   r a te,   b atch   s ize,   a n d   n u m b er   o f   tr ain in g   ep o ch s .   PS i s   p o p u latio n - b ased   o p tim izatio n   alg o r ith m   in s p ir e d   b y   th co llectiv m o v em en t   b eh a v io r   o f   b ir d s   o r   f is h .   E ac h   p ar ticle  in   th s w ar m   r e p r esen ts   ca n d id ate  c o n f ig u r atio n ,   a n d   th p ar ticles  iter ativ ely   u p d ate  th eir   p o s itio n s   b ased   o n   th eir   o wn   b est  p er f o r m an ce   an d   th g lo b al  b est  co n f ig u r atio n   [ 2 6 ] .   T h e   ev alu atio n   m etr ic  is   v alid atio n   lo s s ,   co m p u ted   d u r in g   tr ain in g .   W co n f ig u r PS t o   u s 1 0   p ar ticles  an d   a   m ax i m u m   o f   5   iter atio n s ,   with   ea r ly   s to p p i n g   e n ab led   to   p r ev en o v e r f itti n g .   T h is   ap p r o ac h   s ig n if ican tly   im p r o v ed   th m o d el’ s   ac cu r ac y ,   p r ec is io n ,   r ec all,   an d   F1 - s co r e.   T o   en h an ce   t h e   r ep r o d u cib ilit y   o f   o u r   ap p r o ac h ,   we  p r o v i d clea r   d escr ip ti o n   o f   th in te g r atio n   p r o ce s s   b etwe en   B E R T   an d   PS O.   T h in p u ess ay s   f ir s u n d er g o   p r e p r o ce s s in g   an d   to k en izatio n   u s in g   t h B E R T   to k en izer ,   af ter   w h ic h   th ey   ar f ed   in to   th B er tFo r Seq u en ce C lass if icatio n   m o d el.   T h PS alg o r ith m   in itializ es  p o p u latio n   o f   p ar ticles,  ea ch   r ep r esen tin g   p o s s ib le  co m b in atio n   o f   h y p e r p ar am eter s   s u ch   as  lear n in g   r ate,   b atch   s ize,   an d   n u m b er   o f   ep o c h s .   Du r in g   tr ai n in g ,   ea ch   p a r ticle' s   co n f ig u r atio n   is   ev alu ated   b ased   o n   v ali d atio n   lo s s ,   an d   th e   p ar ticles  u p d ate  t h eir   p o s itio n s   b y   co n s id er in g   b o t h   th eir   o wn   b est  p er f o r m a n ce   an d   th e   g lo b al  b est  s o lu tio n   f o u n d   s o   f ar .   T h is   p r o ce s s   co n tin u es  iter ativ ely   u n til  a n   o p tim al  co n f ig u r atio n   is   id en tifie d .   T h b est  h y p er p ar am eter   s et  is   th en   u s e d   to   f in e - tu n th e   B E R T   m o d e l f o r   f in al  e v alu atio n .     2 . 4   E s s a y   predict io n a nd   ev a lua t io n   T h tr ain e d   an d   o p tim ized   B E R T   m o d el  is   th e n   u s ed   to   c lass if y   ess ay   tex ts   as  h u m an - wr itten   o r     AI - g en er ated .   Pre d ictio n s   ar g en er ated   b y   f ee d i n g   t h p r o c ess ed   ess ay   tex in to   th e   f in e - tu n ed   m o d el.   T h e   m o d el  o u tp u ts   class   p r o b a b ilit ies,  an d   th h i g h er - p r o b ab ilit y   class   is   s elec ted   as  th p r ed ictio n   r esu lt.  T o   f ac ilit ate  p r ac tical  u s ag e,   th m o d el  is   d ep lo y e d   u s in g   a   Fas tAPI - b ased   web   in ter f ac e .   User s   ca n   in p u t   a n   ess ay ,   an d   th in ter f ac r etu r n s   an   im m ed iate  p r ed ictio n .   T h ef f ec tiv e n ess   o f   th is   p r e d ictio n   p r o ce s s   is   v alid ated   u s in g   m etr ics  s u c h   as  ac cu r ac y ,   p r ec is io n ,   r ec all,   an d   F1 - s co r e,   en s u r in g   r o b u s r ea l - tim e   class if icatio n   ca p ab ilit y   [ 2 7 ] [ 2 8 ] .       3.   RE SU L T S AN D I SCU SS I O N   3 . 1 .     Resul t   o f   t o k eniza t io n   T h to k e n izatio n   p h ase  co n v e r ts   th in p u tex t   in to   n u m er ical  r ep r esen tatio n   o p tim ized   f o r   B E R T   m o d el  p r o ce s s in g   [ 2 9 ] .   At  t h is   s tag e,   ea ch   wo r d   is   s eg m en ted   in to   to k en s ,   eith e r   a s   en tire   wo r d s   o r     s u b - wo r d s ,   in   alig n m en t   with   th e   B E R T   to k en izer ' s   s tr u ctu r e.   T h is   s eg m en tatio n   all o ws  u n co m m o n   o r   co m p lex   ter m s   to   b b r o k en   d o wn   in to   s m aller   u n its ,   th er eb y   s tr en g th en in g   th m o d el s   ab ilit y   to   in ter p r et   an d   g e n er alize   ac r o s s   d iv er s tex tu al  in p u ts .   Su b s eq u en tl y ,   ea ch   tex is   s tan d a r d ized   to   a   f ix ed   len g th   u s in g   p ad d in g   an d   tr u n ca tio n   b ased   o n   th s p ec i f ied   m a x im u m   l en g th .   Pad d in g   ad d s   b lan k   to k en s   to   r ea ch   th e   d esire d   len g t h ,   w h ile  tr u n ca tio n   s h o r ten s   tex ts   th at   ex ce e d   it.  T h is   s tep   is   cr u cial  f o r   b atch   p r o ce s s in g ,   allo win g   th m o d el  to   r ec ei v in p u ts   o f   u n if o r m   s ize,   t h er eb y   s tr ea m lin in g   d ata  p r o ce s s in g   [ 3 0 ] .   T h e   to k en ized   o u t p u is   s u b s eq u en tly   tr an s f o r m ed   in to   Py T o r c h   ten s o r s ,   allo win g   th m o d el  to   p r o ce s s   th in p u t   d ir ec tly   d u r in g   b o th   tr ain i n g   an d   in f er e n ce .   B y   s tr u ctu r in g   th tex in   ten s o r   f o r m at,   it  is   p r ep ar ed   in   an   o p tim ized   n u m er ical   f o r m   f o r   m o d el   co m p u tatio n ,   wh ich   e n h an ce s   p r o ce s s in g   s p ee d   an d   o r g a n izatio n .   T h is   s tep   en s u r es  th at   th te x is   co n s is ten tly   an d   e f f icien tly   r ea d y   f o r   B E R T ,   en a b lin g   th m o d el  to   c o n ce n tr ate   o n   in ter p r etin g   th m ea n in g   an d   s tr u ctu r o f   th e   tex f o r   d esig n ated   NL task s .   T h e   r esu l ts   f r o m   th e   B E R T   to k en izer   ar e   p r esen ted   i n   T ab le  1 .   T ab le  1   d is p lay s   th r esu lts   o f   to k en izatio n ,   p r o v id in g   th n u m er ical  r e p r esen tatio n   o f   t h o r ig in a l   tex p r ep ar ed   f o r   p r o ce s s in g   b y   th B E R T   m o d el.   Du r in g   th is   p r o ce s s ,   ea ch   tex s eq u en ce   s tar ts   with   th s p ec ial  to k en   [ C L S ] ,   i n d icatin g   th b eg in n i n g   o f   a   s en ten ce ,   an d   en d s   with   ( SEP ) ,   m a r k in g   th s en ten ce s   e n d   o r   ac tin g   as  s ep ar ato r   b etwe en   d if f er en tex s eg m en ts .   T h is   s etu p   h elp s   th m o d el  r ec o g n ize  th b o u n d ar ies   o f   s en ten ce s   o r   p a r ag r a p h s .   E ac h   wo r d   o r   p ar t   o f   wo r d   is   co n v e r ted   in t o   s p ec if ic   to k en ,   wh er e   co m p lex   wo r d s   o r   th o s n o f o u n d   in   t h v o ca b u la r y   ar b r o k en   d o w n   in to   s m aller   s u b - to k en s .   T h i s   p r o ce s s   g en er ates   s eq u en ce   o f   t o k en s ,   ea c h   g i v en   u n iq u n u m er ic  I with in   B E R T 's  v o ca b u lar y ,   s u ch   as  I 1 0 1   f o r   t h e   s p ec ial  [ C L S ]   to k en .   T h ese  I Ds  allo th m o d el  to   r ec o g n ize  an d   h an d le  t o k en s   in   a   ca lcu lab le  n u m e r ic   f o r m at,   e n s u r in g   th at  ea c h   w o r d   o r   s u b - wo r d   m ain tain s   a   co n s is ten r ep r esen tatio n   d u r in g   c o m p u tatio n al   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8       Op timiz in g   p a r a mete r   s elec tio n   in   b id ir ec tio n a l e n co d er  p o r tr a ya l fo r   …  ( Teg a r   A r ifin   P r a s etyo )   5547   p r o ce s s es.   Mo r eo v er ,   to   ac h ie v co n s is ten tex len g t h ,   p ad d in g   a n d   tr u n c atio n   a r u s ed .   E x tr to k en s   with   a   v alu o f   0   ar a p p en d ed   to   s h o r ter   tex ts   to   m ee th e   d esire d   in p u len g th ,   w h ile  tex ts   ex ce e d in g   th e   m ax im u m   len g th   ar tr im m ed   ac co r d in g l y .   T h to k en izatio n   o u tp u also   p r o v id es  an   atten tio n   m ask ,   g u id in g   t h m o d el   to   atten d   to   r elev an to k e n s   ( in d icate d   b y   v alu o f   1 )   a n d   to   ig n o r p a d d in g   to k en s   ( in d i ca ted   b y   v alu o f   0 ) .   I n   th is   way ,   th t o k en izati o n   p r o ce s s   n o o n ly   tr an s f o r m s   th tex t   in to   n u m er ical   f o r m at  co m p ati b le  with   B E R T   b u also   en h an ce s   p r o ce s s in g   ef f icien cy   b y   co n ce n t r atin g   o n   th p o r tio n s   o f   tex t   th at  h o ld   r elev an t   in f o r m atio n .       T ab le  1 .   T o k en ized   tex t r ep r esen tatio n s   O r i g i n a l   t e x t   To k e n s   To k e n   I D s   A t t e n t i o n   C a r s .   C a r h a v e   b e e n   a r o u n d   s i n c e   t h e y   b e c a m e   a v a i l a b l e   t o   t h e   p u b l i c . . .   [ C LS] ,   c a r s,  . ,   c a r s,   h a v e ,   b e e n ,   a r o u n d ,   si n c e ,   t h e y ,   b e c a me,   a v a i l a b l e ,   t o ,   t h e ,   p u b l i c ,   . . . ,   [ S EP]   [ 1 0 1 ,   1 2 3 4 ,   1 1 9 ,   1 2 3 4 ,   2 0 3 1 ,   2 0 4 2 ,   2 2 3 5 ,   2 1 4 4 ,   2 0 2 7 ,   2 1 5 0 ,   2 8 0 0 ,   2 0 0 0 ,   1 9 9 6 ,   2 2 7 0 ,   1 0 2 ]   [ 1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   0 ,   0 ,   0 ,   0 ,   0 ]   Tr a n sp o r t a t i o n   i s a   l a r g e   n e c e ssi t y   i n   mo s t   c o u n t r i e s.. .   [ C LS] ,   t r a n s p o r t a t i o n ,   i s,   a ,   l a r g e ,   n e c e ssi t y ,   i n ,   m o st ,   c o u n t r i e s,  . . . ,   [ S E P ]   [ 1 0 1 ,   2 0 3 6 ,   2 0 0 3 ,   1 0 3 7 ,   2 3 1 2 ,   4 5 1 8 ,   1 9 9 9 ,   2 0 8 7 ,   3 0 3 2 ,   1 0 2 ]   [ 1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ]   A meric a 's  l o v e   a f f a i r   w i t h   i t v e h i c l e s s e e ms   e t e r n a l . . .   [ C LS] ,   A mer i c a ,   's ,   l o v e ,   a f f a i r ,   w i t h ,   i t s,   v e h i c l e s ,   se e ms,   e t e r n a l ,   . . . ,   [ S EP]   [ 1 0 1 ,   2 6 3 7 ,   1 5 2 1 ,   1 0 5 5 ,   2 2 9 3 ,   3 9 4 1 ,   2 0 0 7 ,   2 0 4 9 ,   5 8 7 2 ,   4 0 2 3 ,   1 0 2 ]   [ 1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ,   0 ]   H o w   o f t e n   d o   y o u   r i d e   i n   a   c a r ?   D o   y o u   d r i v e   a   c a r   o f t e n ?   [ C LS] ,   h o w ,   o f t e n ,   d o ,   y o u ,   r i d e ,   i n ,   a ,   c a r ,   ? ,   d o ,   y o u ,   d r i v e ,   a ,   c a r ,   o f t e n ,   ? ,   [ S EP]   [ 1 0 1 ,   2 1 2 9 ,   2 4 1 1 ,   2 0 7 9 ,   2 0 1 7 ,   3 8 5 4 ,   1 9 9 9 ,   1 0 3 7 ,   2 4 8 2 ,   1 0 2 9 ,   2 0 7 9 ,   2 0 1 7 ,   3 2 9 8 ,   1 0 3 7 ,   2 4 8 2 ,   2 4 1 1 ,   1 0 2 9 ,   1 0 2 ]   [ 1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   0 ,   0 ]           C a r s   a r e   a   w o n d e r f u l   t h i n g .   Th e y   a r e   p e r h a p o n e   o f   t h e   g r e a t e s t   i n v e n t i o n s   i n   h u ma n   h i s t o r y .   [ C LS] ,   c a r s,  a r e ,   a ,   w o n d e r f u l ,   t h i n g ,   . ,   t h e y ,   a r e ,   p e r h a p s,  o n e ,   o f ,   t h e ,   g r e a t e st ,   i n v e n t i o n s ,   i n ,   h u m a n ,   h i s t o r y ,   . ,   [ S EP ]   [ 1 0 1 ,   1 2 3 4 ,   2 0 2 4 ,   1 0 3 7 ,   6 9 1 9 ,   2 5 1 8 ,   1 1 9 ,   2 0 2 7 ,   2 0 2 4 ,   3 3 8 4 ,   2 0 2 8 ,   1 9 9 7 ,   1 9 9 6 ,   4 6 0 2 ,   1 0 5 0 8 ,   1 9 9 9 ,   2 5 2 9 ,   2 3 8 1 ,   1 1 9 ,   1 0 2 ]   [ 1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ]   P u b l i c   t r a n sp o r t a t i o n   o f f e r man y   b e n e f i t t o   u r b a n   r e si d e n t b y   r e d u c i n g   t r a f f i c   a n d   p o l l u t i o n   l e v e l s.   [ C LS] ,   p u b l i c ,   t r a n s p o r t a t i o n ,   o f f e r s,   man y ,   b e n e f i t s ,   t o ,   u r b a n ,   r e s i d e n t s,  b y ,   r e d u c i n g ,   t r a f f i c ,   a n d ,   p o l l u t i o n ,   l e v e l s ,   . ,   [ S EP]   [ 1 0 1 ,   2 2 7 0 ,   2 0 3 6 ,   4 1 6 1 ,   2 1 1 6 ,   6 6 6 1 ,   2 0 0 0 ,   3 9 2 6 ,   5 1 5 8 ,   2 0 1 1 ,   1 1 8 4 8 ,   4 9 1 8 ,   1 9 9 8 ,   9 4 7 2 ,   4 7 4 0 ,   1 1 9 ,   1 0 2 ]   [ 1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   0 ,   0 ]   W i t h   i n c r e a se d   a c c e ss  t o   p u b l i c   t r a n s p o r t a t i o n ,   m o r e   p e o p l e   c a n   r e l y   l e ss  o n   p e r s o n a l   v e h i c l e s.   [ C LS] ,   w i t h ,   i n c r e a s e d ,   a c c e ss,  t o ,   p u b l i c ,   t r a n s p o r t a t i o n ,   , ,   mo r e ,   p e o p l e ,   c a n ,   r e l y ,   l e ss,   o n ,   p e r so n a l ,   v e h i c l e s,   . ,   [ S EP]   [ 1 0 1 ,   2 0 0 7 ,   4 1 2 2 ,   3 2 2 9 ,   2 0 0 0 ,   2 2 7 0 ,   2 0 3 6 ,   1 1 7 ,   2 0 6 2 ,   2 1 1 1 ,   2 0 6 4 ,   4 8 0 1 ,   2 6 2 9 ,   2 0 0 6 ,   3 1 6 0 ,   5 8 7 2 ,   1 1 9 ,   1 0 2 ]   [ 1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   1 ,   0 ,   0 ,   0 ]       3. 2   Resul t   o f   B E RT   a rc hite ct ure   T ab le  2   p r o v id es  an   o v er v iew   o f   th B E R T   m o d el  ar ch itectu r tailo r ed   f o r   s eq u en ce   clas s if icatio n ,   co n tain in g   r o u g h l y   1 0 9 . 5   m illi o n   p ar am eter s   in   to tal.   T h e   e m b ed d in g   la y er ,   co n s is tin g   o f   wo r d ,   p o s itio n ,   an d   to k en - ty p em b ed d in g s ,   in c lu d es  2 3 . 9   m illi o n   p a r am et er s   an d   co n v er ts   tex in p u in to   v ec to r ized   r ep r esen tatio n s .   At  th m o d el's  co r e,   1 2   en co d er   lay er s   h o u s s elf - atten tio n   m ec h an is m s ,   ea ch   with   1 . 7 7   m illi o n   p ar am eter s   p er   lay e r ,   alo n g   with   f u r t h er   tr an s f o r m at io n s ,   am o u n tin g   to   ab o u 8 5 . 4   m illi o n   p ar am eter s   in   to tal.   Fo llo win g   s elf - atten tio n ,   ea ch   en c o d er   lay er   in cl u d es  d en s lay er ,   n o r m aliza tio n ,   an d   d r o p o u to   en h an ce   s tab ilit y .   An   in ter m ed iate  d en s lay er   tem p o r ar il y   ex p an d s   th d im en s io n   to   3 0 7 2   u s in g   GE L ac tiv atio n   ( r eq u ir i n g   2 . 3 6   m illi o n   p ar am eter s )   b ef o r r etu r n in g   to   7 6 8   d im e n s io n s .   T h p o o ler   lay e r   co n s o lid ates  s en ten ce   r ep r esen tatio n   v ia  th [ C L S]  to k en ,   an d   f in al  class if ier   lay er   wi th   1 , 5 3 8   p ar am eter s   g en er ates th class   p r ed ictio n s .   I n   B E R T 's  ar ch itectu r e,   ev e r y   to k en   in   a   tex s eq u e n ce   u n d er g o es  m u ltip le  tr an s f o r m a tio n   s tag es,  en ab lin g   th m o d el  to   u n d er s t an d   b o t h   th co n te x an d   th co m p lete  m ea n in g   o f   th e   s en ten ce   [ 3 1 ] .   T ab le  3   s h o wca s es  th B E R T   p r o ce s s ,   with   f o cu s   o n   th e   em b ed d in g   lay e r   o u tp u ts ,   s elf - atten t io n   o p er atio n s ,   a n d   f ee d - f o r war d   n etwo r k   ( FF N)   s tag es  f o r   ea ch   to k en .   I n itially ,   ea ch   to k en   p ass es  th r o u g h   a n   em b ed d i n g   s tag e,   wh er ea ch   wo r d   o r   s u b wo r d   i s   co n v er ted   in to   7 6 8 - d im en s io n al  v ec to r .   T h is   v ec to r   m er g es d etails ab o u t th e   to k en   its elf ,   its   p o s itio n   in   th e   s en ten ce ,   an d   its   s eg m en o r i g in .   T h is   em b e d d ed   r ep r esen t atio n   s er v es  as  th e   f o u n d atio n al  lay e r   f o r   ea c h   t o k en ,   estab lis h in g   p r elim in ar y   id en tity   f o r   ea ch   wo r d   w ith in   th s en ten ce s   co n tex t.   Fo llo win g   th em b e d d in g   p h ase,   ea ch   to k en   m o v es  in to   th s elf - atten tio n   s t ag e,   wh er B E R T   d eter m in es  th d eg r ee   o f   co n n ec tio n   b etwe en   a   s p ec if ic  to k e n   an d   ev er y   o t h er   to k en   with i n   th s en ten ce .   T h is   m ec h an is m   allo ws ea ch   to k en   to   f o cu s   o n   o th er   wo r d s   th at   ar co n tex t u ally   r elev an o r   cl o s ely   co n n ec ted   to   it   [ 3 2 ] .   As  an   ex am p le,   in   th p h r ase  C ar s   h av b ee n   ar o u n d …,   th to k en   ca r s   m ay   f o cu s   m o r o n   wo r d s   lik h av e   an d   b ee n ,   d ee p e n in g   its   u n d e r s tan d in g   with in   th is   co n tex t.  T h r esu lt  o f   th s elf - atten tio n   s tag e   is   r ich er ,   co n tex t - s en s itiv r ep r esen tatio n   o f   ea ch   to k e n ,   in f o r m e d   b y   its   r elatio n s h ip s   with   o th er   to k en s   in   th s en ten ce .   T h o u tp u f r o m   s elf - atten tio n   is   th en   p ass ed   th r o u g h   f ee d - f o r war d   n etwo r k   ( FF N) ,   lay er   th at  en h an ce s   th e   u n d er s tan d in g   o f   ea ch   to k e n   b y   ap p ly in g   n o n - lin ea r   tr an s f o r m ati o n s   [ 3 3 ] .   T h FF en h an ce s   ea ch   t o k en ' s   r ep r esen tatio n   b y   ad d i n g   lay e r s   o f   co m p lex ity ,   allo win g   id e n tical  wo r d s   to   r e f lect   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   15 ,   No .   6 Decem b e r   20 25 :   5 5 4 3 - 5 5 5 4   5548   v ar ied   m ea n i n g s   tailo r ed   to   th eir   s p ec if ic  co n tex t.   Af ter   p ass in g   th r o u g h   th FF N,   ea ch   to k en   attain s   a   co m p r eh e n s iv r e p r esen tatio n   th at  s y n t h esizes  its   f o u n d atio n al  f ea tu r es,   co n te x tu al  atten t io n ,   a n d   n o n - lin ea r   tr an s f o r m atio n s ,   o p tim izin g   i f o r   ad v a n ce d   NL task s   s u ch   as  class if icat io n   an d   in f o r m atio n   ex tr ac tio n .   T h r o u g h   th is   en tire   p r o c ess ,   B E R T   i s   ab le  to   co m p r eh en d   tex at  d ee p er   lev el,   ca p tu r i n g   m ea n in g   n o o n ly   at  th in d iv id u al  wo r d   le v el  b u t a ls o   th r o u g h   th in tr icate   r elatio n s h ip s   b etwe en   wo r d s   with i n   s en ten ce .       T ab le  2 B E R T   ar ch itectu r d e tails   La y e r   ( t y p e )   O u t p u t   s h a p e   P a r a m#   B e r t F o r S e q u e n c e C l a ssi f i c a t i o n   ( b a t c h _ s i z e ,   s e q u e n c e _ l e n g t h ,   7 6 8 )   1 0 9 . 5 M   ( t o t a l )   Emb e d d i n g   l a y e r   ( w o r d ,   p o si t i o n ,   t o k e n )   ( b a t c h _ s i z e ,   s e q u e n c e _ l e n g t h ,   7 6 8 )   2 3 , 9 1 7 , 8 2 4   En c o d e r   l a y e r   ( 1 2   x   B e r t L a y e r )   ( b a t c h _ s i z e ,   s e q u e n c e _ l e n g t h ,   7 6 8 )   8 5 , 4 4 1 , 5 3 6   S e l f - a t t e n t i o n   ( q u e r y ,   k e y ,   v a l u e )   ( b a t c h _ s i z e ,   s e q u e n c e _ l e n g t h ,   7 6 8 )   1 , 7 7 1 , 7 7 6   ( p e r   l a y e r )   S e l f - a t t e n t i o n   o u t p u t   ( d e n se ,   n o r m ,   d r o p o u t )   ( b a t c h _ s i z e ,   s e q u e n c e _ l e n g t h ,   7 6 8 )   1 , 1 8 0 , 0 3 2   ( p e r   l a y e r )   I n t e r med i a t e   d e n s e   l a y e r   ( G ELU )   ( b a t c h _ s i z e ,   s e q u e n c e _ l e n g t h ,   3 0 7 2 )   2 , 3 6 2 , 3 6 8   ( p e r   l a y e r )   O u t p u t   d e n se   l a y e r   ( n o r m,  d r o p o u t )   ( b a t c h _ s i z e ,   s e q u e n c e _ l e n g t h ,   7 6 8 )   2 , 3 6 4 , 6 7 2   ( p e r   l a y e r )   P o o l e r   d e n se   l a y e r   ( Ta n h )   ( b a t c h _ s i z e ,   7 6 8 )   5 9 0 , 5 9 2   C l a s si f i e r   l a y e r   ( b a t c h _ s i z e ,   n u m_ l a b e l s)   1 , 5 3 8       T ab le  3 B E R T   p r o ce s s   r ep r es en tatio n s   To k e n s   Emb e d d i n g   ( d i 7 6 8 )   S e l f - a t t e n t i o n   o u t p u t   ( d i m   7 6 8 )   F F N   o u t p u t   ( d i 7 6 8 )   C LS   [ 0 . 1 1 ,   0 . 0 2 ,   . . . ,   0 . 1 9 ]   [ 0 . 1 5 ,   - 0 . 0 5 ,   . . . ,   0 . 6 5 ]   [ 0 . 1 8 ,   0 . 0 9 ,   . . . ,   0 . 6 0 ]   c a r s   [ 0 . 2 3 ,   - 0 . 1 3 ,   . . . ,   0 . 4 5 ]   [ - 0 . 1 2 ,   0 . 4 5 ,   . . . ,   0 . 7 8 ]   [ 0 . 2 2 ,   - 0 . 1 5 ,   . . . ,   0 . 6 6 ]   h a v e   [ 0 . 1 3 ,   - 0 . 2 1 ,   . . . ,   0 . 2 1 ]   [ 0 . 1 2 ,   0 . 3 2 ,   . . . ,   0 . 4 1 ]   [ 0 . 2 0 ,   - 0 . 1 9 ,   . . . ,   0 . 3 3 ]   b e e n   [ 0 . 0 8 ,   0 . 2 9 ,   . . . ,   - 0 . 0 8 ]   [ 0 . 1 7 ,   - 0 . 0 5 ,   . . . ,   0 . 2 8 ]   [ - 0 . 0 4 ,   0 . 0 9 ,   . . . ,   0 . 4 7 ]   a r o u n d   [ 0 . 1 6 ,   - 0 . 1 2 ,   . . . ,   0 . 2 5 ]   [ 0 . 2 3 ,   - 0 . 1 8 ,   . . . ,   0 . 1 4 ]   [ 0 . 2 1 ,   0 . 1 1 ,   . . . ,   0 . 6 4 ]   si n c e   [ - 0 . 0 3 ,   0 . 1 5 ,   . . . ,   0 . 3 6 ]   [ 0 . 0 8 ,   - 0 . 1 4 ,   . . . ,   0 . 2 1 ]   [ 0 . 1 3 ,   0 . 0 6 ,   . . . ,   - 0 . 0 9 ]   t h e y   [ 0 . 2 7 ,   - 0 . 0 9 ,   . . . ,   - 0 . 0 2 ]   [ - 0 . 0 4 ,   0 . 2 4 ,   . . . ,   0 . 3 3 ]   [ 0 . 1 0 ,   - 0 . 1 4 ,   . . . ,   0 . 6 8 ]   a v a i l a b l e   [ 0 . 1 3 ,   0 . 2 2 ,   . . . ,   - 0 . 2 7 ]   [ 0 . 0 7 ,   0 . 1 9 ,   . . . ,   0 . 5 3 ]   [ 0 . 0 9 ,   - 0 . 1 7 ,   . . . ,   0 . 3 6 ]   p u b l i c   [ - 0 . 0 5 ,   - 0 . 1 1 ,   . . . ,   0 . 4 5 ]   [ 0 . 1 1 ,   0 . 0 8 ,   . . . ,   - 0 . 1 4 ]   [ 0 . 0 3 ,   0 . 1 2 ,   . . . ,   0 . 5 7 ]           a f f a i r   [ 0 . 0 9 ,   - 0 . 2 1 ,   . . . ,   0 . 1 1 ]   [ - 0 . 1 1 ,   0 . 2 9 ,   . . . ,   0 . 3 3 ]   [ 0 . 1 9 ,   0 . 0 2 ,   . . . ,   0 . 6 2 ]   w i t h   [ - 0 . 0 8 ,   0 . 1 4 ,   . . . ,   - 0 . 1 8 ]   [ 0 . 1 5 ,   - 0 . 2 7 ,   . . . ,   0 . 0 4 ]   [ 0 . 1 2 ,   - 0 . 0 7 ,   . . . ,   0 . 4 3 ]   its   [ 0 . 2 2 ,   - 0 . 0 5 ,   . . . ,   0 . 1 9 ]   [ 0 . 1 0 ,   0 . 1 5 ,   . . . ,   - 0 . 0 3 ]   [ 0 . 1 7 ,   - 0 . 1 0 ,   . . . ,   0 . 3 2 ]   v e h i c l e s   [ 0 . 1 5 ,   0 . 1 1 ,   . . . ,   - 0 . 2 2 ]   [ 0 . 2 8 ,   - 0 . 0 5 ,   . . . ,   0 . 1 6 ]   [ - 0 . 1 2 ,   0 . 1 3 ,   . . . ,   0 . 5 8 ]   see ms   [ 0 . 1 9 ,   - 0 . 0 3 ,   . . . ,   0 . 1 1 ]   [ 0 . 0 9 ,   - 0 . 0 8 ,   . . . ,   0 . 1 2 ]   [ 0 . 0 7 ,   0 . 2 5 ,   . . . ,   0 . 2 7 ]   e t e r n a l   [ 0 . 0 5 ,   0 . 0 7 ,   . . . ,   - 0 . 0 4 ]   [ 0 . 2 2 ,   - 0 . 0 2 ,   . . . ,   - 0 . 1 4 ]   [ - 0 . 0 6 ,   0 . 1 6 ,   . . . ,   0 . 3 2 ]   S EP   [ 0 . 1 2 ,   0 . 0 8 ,   . . . ,   0 . 1 6 ]   [ 0 . 1 0 ,   0 . 1 9 ,   . . . ,   - 0 . 1 1 ]   [ 0 . 1 4 ,   - 0 . 1 8 ,   . . . ,   0 . 2 7 ]       3. 3   Resul t   o f   f ine - t un ing   a nd   hy perpa ra m et er   o ptim iz a t io n   An   in itial f in e - tu n in g   o f   th B E R T   m o d el  is   co n d u cted   with   d ef au lt p ar am eter s   to   estab lis h   r eliab le  b aselin b ef o r e   ap p l y in g   t h PS alg o r ith m   f o r   p ar am eter   o p tim izatio n .   T ab le  4   p r esen ts   th in itial  p er f o r m an ce   r esu lts   o f   th B E R T   m o d el  with o u s p ec if ic  o p tim izatio n ,   s er v in g   as  r ef er en ce   f o r   ass ess in g   p er f o r m an ce   im p r o v e m en ts   af ter   th p ar am ete r   o p tim izatio n   p r o ce s s .   As  s h o wn   in   T ab le   4 ,   th B E R T   m o d el  with   b aselin p ar a m eter s   ac h iev es  ac cu r ac y   lev e ls   b etwe en   8 3 an d   9 4 %.  Alth o u g h   th is   in d icate s   r ea s o n ab ly   s tr o n g   p er f o r m an ce ,   th e r r em ai n s   p o ten tial  f o r   f u r th e r   en h an ce m e n in   ev alu atio n   m etr ics  lik F1 - s co r e,   p r ec is io n ,   a n d   r ec all .   I n   NL m o d elin g   with   B E R T ,   s elec tin g   n o n - id ea p ar am eter   co m b i n atio n s   ca n   lim it  p er f o r m an ce ,   p ar tic u lar ly   i n   s o p h is ticated   task s   lik d etec tin g   AI - g en e r ated   ess ay s   [ 3 4 ] .   C o n s eq u en tly ,   em p lo y i n g   p ar am eter   o p tim izatio n   m e th o d s   is   ess en tial  to   m ax im ize  th e   m o d el’ s   ef f ec tiv en ess .   PS is   ap p lied   f o r   h y p e r p ar am eter   tu n in g   t o   e n h an ce   t h B E R T   m o d el s   p er f o r m an ce   in   d etec tin g   AI - g en er ated   ess ay s .   PS i s   m etah eu r is tic  ap p r o ac h   r ec o g n ize d   f o r   its   ef f ec tiv en ess   in   o p tim izin g   p ar am et er s   ac r o s s   m ac h in lear n in g   an d   d ee p   lear n in g   m o d els,  in clu d i n g   th o s u s ed   i n   NL P.   PS was  ch o s en   d u to   its   ef f icien cy   in   ex p l o r in g   th p ar am eter   s p ac an d   its   ef f ec tiv en ess   in   u n co v er i n g   o p tim al   co n f ig u r atio n s   f o r   d ee p   lear n in g   m o d els   [ 3 5 ] [ 3 6 ] .   I n   our   r esear ch ,   th o p tim i za tio n   f o cu s es  o n   th r ee   m ai n   h y p er p ar am eter s   ar lear n in g   r ate,   b atch   s ize,   an d   n u m b er   o f   e p o ch s   to   m i n im ize  ev alu atio n   lo s s   o n   t h v alid a tio n   s et.   T h s ea r ch   b o u n d ar ies  ar ca r ef u lly   d ef i n ed   with in   a n   ap p r o p r iate  r a n g e,   s p ec if y in g   th e   lear n in g   r ate   b etwe en   1 × 10 6   an d   1 × 10 4 b atch   s ize  is   co n s tr ain ed   b etwe en   1 6   an d   6 4 ,   a n d   e p o ch s   ar s et  f r o m   1   to   5   to   p r e v en ex tr em e   co n f ig u r atio n s   th at   co u l d   d est ab ilize  th tr ain i n g   p r o ce s s .   T h PS o b jectiv e   f u n ctio n ,   im p lem en ted   v ia  th e   T r ain er   in   th T r an s f o r m e r s   lib r ar y ,   ass ess es  p ar am eter   co m b in atio n s   b ased   o n   e v alu atio n   lo s s .   Valid atio n   is   p er f o r m ed   ev e r y   5 0 0   s tep s ,   a n d   ea r ly   s to p p in g   is   em p lo y e d   to   en d   tr ain in g   if   n o   s ig n if i ca n im p r o v em en is   o b s er v ed   ac r o s s   th r ee   co n s ec u tiv ev alu atio n s .   PS is   co n f i g u r ed   t o   o p er ate  p a r ticle  s war m   o f   s ize  1 0   f o r   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8       Op timiz in g   p a r a mete r   s elec tio n   in   b id ir ec tio n a l e n co d er  p o r tr a ya l fo r   …  ( Teg a r   A r ifin   P r a s etyo )   5549   m ax im u m   o f   5   iter atio n s ,   w h er ea ch   p a r ticle  r ep r esen ts   ca n d id ate  h y p er p ar am eter   co m b in atio n   th at  is   g r ad u ally   o p tim ized   in   ea ch   iter atio n   b ased   o n   its   f itn ess   s co r e.   T ab le  5   s u m m ar izes  th o u tco m es  o f     PSO - o p tim ized   h y p er p ar am et er   co n f i g u r atio n s   a p p lied   to   t h B E R T   m o d el.   T ab le  5   s h o ws  th at,   o v er all,   th test ed   m o d els  d em o n s tr ate  ex ce llen p er f o r m an ce ,   as  in d icate d   b y   h ig h   v al u es  in   ac cu r ac y ,   F1 ,   p r ec is io n ,   a n d   r ec all.   T h c o m b in atio n   o f   an   ap p r o p r iate   lear n in g   r ate  an d   o p tim al  b atch   s ize  p o s itiv ely   im p ac ts   m o d el  tr ain in g   a n d   g en er aliza tio n .   W h ile  all  m o d els  p er f o r m   well,   s lig h v ar iatio n s   in   o u tco m e s   ar o b s er v ed   ac r o s s   d if f er en p ar am eter   co m b in atio n s .   T h m o s o p tim al   co n f ig u r atio n   was  f o u n d   with   lear n i n g   r ate  o f   3 . 4 7 e - 6 ,   b atch   s ize  o f   4 7 ,   a n d   ap p r o x i m ately   2 . 7   ep o ch s ,   r esu ltin g   in   tr ain in g   ac cu r ac y   o f   9 9 . 4 6 %.   T o   e n h a n c e   t h e   r e p r o d u c i b il i ty   o f   o u r   a p p r o a c h ,   w e   p r o v id e   a   c l ea r   d e s c r i p t i o n   o f   t h e   i n t e g r a t i o n   p r o c e s s   b e tw e e n   B E R T   a n d   P S O .   T h e   i n p u t   es s a y s   f i r s t   u n d e r g o   p r e p r o c e s s i n g   a n d   t o k e n i z a t i o n   u s i n g   t h B E R T   t o k e n iz e r ,   a f te r   w h i c h   th e y   a r e   f e d   i n t o   t h B e r t F o r Se q u e n c e C l ass i f i c at i o n   m o d e l .   T h e   P SO   al g o r i t h m   i n i t i al i z es   p o p u l a t i o n   o f   p ar t i c l es ,   e ac h   r e p r e s e n t i n g   a   p o s s i b l e   c o m b i n a ti o n   o f   h y p e r p a r a m e t e r s   s u c h   a s   l e a r n i n g   r a t e ,   b at c h   s i z e ,   a n d   n u m b e r   o f   e p o c h s .   D u r i n g   t r ai n in g ,   e a c h   p a r t i c le' s   c o n f i g u r a t i o n   i s   e v al u a t e d   b as e d   o n   v a l i d a t i o n   l o s s ,   a n d   t h p a r ti c l es   u p d a t e   t h ei r   p o s i ti o n s   b y   c o n s i d e r i n g   b o t h   t h e i r   o w n   b est   p e r f o r m a n c e   a n d   t h e   g l o b a l   b e s t   s o l u t i o n   f o u n d   s o   f a r .   T h i s   p r o c e s s   c o n t i n u e s   i t e r at i v e l y   u n t il   a n   o p t i m a l   c o n f i g u r a t i o n   i s   i d e n t i f i e d .   T h e   b es t   h y p e r p a r am e t e r   s et   is   t h e n   u s e d   t o   f i n e - t u n e   t h e   B E R T   m o d e l   f o r   f i n a l   ev a l u a t i o n .   T ab le  6   p r o v i d es  d ir ec co m p ar is o n   b etwe en   th b est - p e r f o r m in g   b aselin h y p er p a r am e ter   s ettin g   an d   th e   co n f ig u r atio n   i d en tif ied   th r o u g h   PS o p tim izatio n .   T h e   b aselin s etu p   u s ed   tr ad itio n al  m an u al  tu n in g ,   with   lear n in g   r ate  o f   5 e - 5 ,   b atch   s ize  o f   3 2 ,   an d   5   ep o ch s ,   wh ic h   ac h iev e d   an   a cc u r ac y   o f   9 3 . 5 4 an d   an   F1 - s co r o f   9 3 . 3 1 %.  W h ile  th is   r e s u lt  is   ac ce p tab le,   th PS O - o p tim ized   co n f ig u r atio n   s ig n if ican tly   o u tp er f o r m ed   it,  ac h iev i n g   an   ac cu r ac y   o f   9 9 . 4 6 an d   an   F1 - s co r o f   9 9 . 3 1 %.   T h o p tim ized   co n f ig u r atio n   u s ed   m u c h   s m aller   lear n in g   r ate  ( 3 . 4 7 e - 6 ) ,   b atch   s ize  o f   4 7 ,   an d   ap p r o x im ately   2 . 7   ep o ch s .   T h ese  v alu es,   f o u n d   th r o u g h   PS O’ s   in telli g en s ea r ch ,   e n ab led   th e   m o d el  to   g e n er alize   b etter   a n d   co n v er g m o r e   ef f ec tiv ely .   No tab l y ,   th F1 - s co r e,   p r ec is io n ,   an d   r ec all  also   in cr ea s ed ,   in d icatin g   b etter   b alan ce   b etwe en   tr u p o s itiv an d   f alse  p o s itiv r ates.   T h is   co m p ar is o n   h ig h lig h ts   th ef f ec tiv en ess   o f   PS in   f in d in g   h y p er p ar am eter   co m b in atio n s   th at  ar d if f icu lt  to   d eter m in m an u ally   an d   d e m o n s tr ates  its   v alu in   b o o s tin g   B E R T ' s   p er f o r m an ce   in   AI - g e n er ated   ess ay   d etec tio n   task s .       T ab le  4 Fin e - tu n in g   p ar am ete r   r esu lt   Le a r n i n g   r a t e   B a t c h   s i z e   N u e p o c h   A c c u r a c y   F1 - s c o r e   P r e c i s i o n   R e c a l l   0 . 0 0 0 0 5   32   3   0 . 8 3 7 2 1 3   0 . 8 3 2 1 5 4   0 . 8 2 9 3 4 2   0 . 8 3 5 9 7 8   0 . 0 0 0 0 3   16   2   0 . 8 4 3 7 8 9   0 . 8 3 9 4 7 8   0 . 8 3 6 5 4 2   0 . 8 4 1 2 0 7   0 . 0 0 0 0 4   16   4   0 . 8 8 8 2 1 4   0 . 8 8 5 3 0 2   0 . 8 8 3 2 1 5   0 . 8 8 7 4 0 6   0 . 0 0 0 0 2   32   3   0 . 8 7 9 8 7 6   0 . 8 7 4 5 6 8   0 . 8 7 1 2 1 5   0 . 8 7 7 5 4 3   0 . 0 0 0 0 3   32   2   0 . 8 6 1 2 3 5   0 . 8 5 7 6 3 4   0 . 8 5 4 2 1 3   0 . 8 5 9 1 7 6   0 . 0 0 0 0 2   16   4   0 . 9 0 2 5 4 1   0 . 8 9 9 8 7 6   0 . 8 9 7 2 1   0 . 9 0 1 5 6 7   0 . 0 0 0 0 5   32   5   0 . 9 3 5 4 1 2   0 . 9 3 3 1 2 5   0 . 9 3 0 1 2 3   0 . 9 3 4 7 8 9   0 . 0 0 0 0 3   64   3   0 . 8 7 2 1 3 4   0 . 8 6 9 2 3 4   0 . 8 6 6 7 8 9   0 . 8 7 0 4 5 6   0 . 0 0 0 0 4   32   3   0 . 8 9 4 1 2 3   0 . 8 9 1 5 6 7   0 . 8 8 9 4 5 6   0 . 8 9 2 3 4 5   0 . 0 0 0 0 2   16   2   0 . 8 4 5 8 7 6   0 . 8 4 1 2 3 4   0 . 8 3 9 0 4 5   0 . 8 4 3 5 6 7       T ab le  5 Hy p er p ar a m eter   o p tim izatio n   u s in g   PSO   Le a r n i n g   r a t e   B a t c h   s i z e   N u e p o c h   A c c u r a c y   F1 - s c o r e   P r e c i s i o n   R e c a l l   5 . 7 1 4 6 7 9 9 8 8 7 7 2 9 1 6 4 e - 05   6 3 . 1 8 6 0 0 6 2 3 8 9 3 2 5 8   1 . 0 8 2 0 3 9 2 6 2 9 3 5 3 0 3 3   0 . 9 9 0 7 5 1   0 . 9 8 8 0 9 7   0 . 9 8 9 9 4 3   0 . 9 8 6 2 5 8   4 . 5 9 4 8 9 8 5 2 5 3 3 6 9 0 0 4 e - 05   6 1 . 3 6 1 0 9 4 2 2 8 3 8 4 6 6   1 . 6 9 2 9 8 7 7 3 1 9 3 6 1 5 4 8   0 . 9 8 9 3 0 2   0 . 9 8 6 2 7 0   0 . 9 8 5 4 2 4   0 . 9 8 7 1 1 7   3 . 6 7 7 2 5 7 7 9 7 0 7 5 7 0 1 e - 05   3 3 . 4 4 9 6 1 9 3 9 5 3 4 6 8 6 5   4 . 9 7 7 5 0 1 0 5 1 2 7 3 4 3 5 5   0 . 9 9 3 7 6 0   0 . 9 9 2 0 0 7   0 . 9 8 9 1 8 3   0 . 9 9 4 8 4 7   1 . 5 5 2 9 7 7 2 1 0 0 3 6 0 7 1 e - 05   1 9 . 3 9 5 9 3 8 9 8 2 9 7 8 7 3 4   1 . 2 6 7 1 9 5 0 9 2 0 6 4 9 0 1 6   0 . 9 9 2 4 2 3   0 . 9 9 0 3 0 8   0 . 9 8 6 0 9 1   0 . 9 9 4 5 6 1   3 . 4 0 6 8 0 3 4 0 5 0 7 6 5 8 3 5 e - 05   4 1 . 1 0 9 2 8 5 3 0 6 3 5 4 9 3 4   3 . 4 2 6 3 3 4 5 0 5 1 5 2 7 4 5   0 . 9 9 4 3 1 7   0 . 9 9 2 7 1 9   0 . 9 9 0 0 3 4   0 . 9 9 5 4 1 9   3 . 1 8 7 0 8 7 7 4 0 8 6 6 1 4 2 4 e - 05   3 7 . 2 5 9 2 1 1 9 9 1 8 3 9 5 6 4   3 . 9 4 6 4 1 1 5 1 5 6 7 0 4 7 6   0 . 9 9 0 5 2 8   0 . 9 8 7 9 3 5   0 . 9 7 9 7 3 0   0 . 9 9 6 2 7 8   3 . 1 7 9 3 7 6 5 8 2 9 0 4 0 3 8 7 e - 05   3 4 . 8 5 5 6 4 3 4 8 2 6 9 9 4 1   3 . 7 7 6 1 6 1 7 6 2 0 9 6 8 5 9   0 . 9 8 9 1 9 1   0 . 9 8 6 2 5 1   0 . 9 7 6 6 9 8   0 . 9 9 5 9 9 2   7 . 1 9 4 8 9 6 9 3 2 0 6 0 4 1 3 e - 05   3 6 . 1 4 9 3 1 0 7 8 0 4 7 9 4 5   3 . 8 8 6 1 6 7 4 5 3 8 4 3 8 7   0 . 9 8 5 5 1 4   0 . 9 8 1 6 6 4   0 . 9 6 7 4 7 3   0 . 9 9 6 2 7 8   6 . 6 4 8 0 4 5 3 9 8 0 6 8 9 3 7 e - 05   3 0 . 6 3 6 6 9 2 3 0 8 3 1 6 3 2 7   2 . 7 1 8 6 4 9 8 5 2 9 9 2 2 0 2 3   0 . 9 9 2 3 1 1   0 . 9 9 0 1 8 1   0 . 9 8 4 4 3 7   0 . 9 9 5 9 9 2   6 . 2 8 6 8 9 9 5 3 7 8 7 9 0 1 6 e - 05   3 5 . 0 6 6 0 7 0 7 3 9 0 5 7 6 4   2 . 1 9 3 7 5 4 9 8 6 9 5 6 6 1 9   0 . 9 9 2 8 6 8   0 . 9 9 0 8 6 8   0 . 9 8 7 7 6 7   0 . 9 9 3 9 8 8   3 . 5 0 5 9 8 6 9 3 9 8 7 1 5 6 7 e - 05   6 4 . 0   3 . 5 8 4 5 5 5 5 1 9 8 7 1 7 0 0 3   0 . 9 9 4 5 4 0   0 . 9 9 2 9 9 3   0 . 9 9 2 0 0 0   0 . 9 9 3 9 8 8   3 . 2 1 3 0 8 2 7 0 1 4 3 4 4 6 8 e - 05   6 4 . 0   3 . 7 4 4 6 4 9 7 4 3 7 3 6 5 9 4   0 . 9 9 3 6 4 8   0 . 9 9 1 8 6 1   0 . 9 8 9 4 5 9   0 . 9 9 4 2 7 4   2 . 4 3 5 2 0 4 9 7 3 6 6 4 5 8 9 3 e - 05   5 5 . 0 8 3 9 0 6 1 0 3 0 2 2 8 4   5 . 0   0 . 9 9 4 5 4 0   0 . 9 9 2 9 9 1   0 . 9 9 2 2 8 1   0 . 9 9 3 7 0 2   3 . 4 7 4 4 9 8 2 0 5 3 5 9 8 9 9 e - 06   4 7 . 4 1 9 8 7 4 8 5 2 2 8 5 3 6   2 . 6 7 5 2 4 7 3 1 3 2 3 7 7 3 0 6   0 . 9 9 4 6 5 1   0 . 9 9 3 1 3 3   0 . 9 9 2 5 6 5   0 . 9 9 3 7 0 2   2 . 2 5 4 3 4 1 6 1 2 4 6 5 8 8 3 e - 05   6 1 . 5 4 9 7 7 0 6 6 2 2 2 8 0 5 6   4 . 7 5 7 6 6 6 3 3 0 4 7 7 4 6 9   0 . 9 9 4 0 9 4   0 . 9 9 2 4 2 3   0 . 9 9 1 1 4 8   0 . 9 9 3 7 0 2   2 . 0 7 9 0 2 5 4 2 1 6 3 3 0 5 0 4 e - 05   5 8 . 5 4 1 3 8 8 6 1 6 9 1 6 1 7   5 . 0   0 . 9 9 4 4 2 8   0 . 9 9 2 8 4 9   0 . 9 9 1 9 9 8   0 . 9 9 3 7 0 2   2 . 1 3 0 2 8 5 7 9 5 1 1 2 5 9 7 3 e - 05   5 5 . 8 2 9 4 5 1 1 1 9 4 3 4 6 5   5 . 0   0 . 9 9 4 2 0 5   0 . 9 9 2 5 6 5   0 . 9 9 1 4 3 1   0 . 9 9 3 7 0 2   4 . 9 0 1 2 4 5 9 2 6 5 1 3 0 9 9 6 e - 05   5 6 . 5 3 9 2 0 9 5 2 2 9 2 1 6 2 4   4 . 8 6 2 4 3 0 6 4 1 3 9 4 4 2 3   0 . 9 9 3 5 3 7   0 . 9 9 1 7 1 4   0 . 9 8 9 7 3 5   0 . 9 9 3 7 0 2   5 . 1 1 4 8 8 0 8 4 5 8 1 6 8 4 6 e - 05   5 2 . 3 3 4 5 8 9 5 4 9 0 1 7 0 1   4 . 0 1 4 0 6 2 0 2 3 9 7 8 7 3 7   0 . 9 9 1 4 2 0   0 . 9 8 9 0 3 6   0 . 9 8 3 8 5 3   0 . 9 9 4 2 7 4   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   15 ,   No .   6 Decem b e r   20 25 :   5 5 4 3 - 5 5 5 4   5550   T ab le  6 .   B aselin v s   PS O - o p tim ized   h y p er p ar a m eter   co m p ar is o n   M e t h o d   Le a r n i n g   r a t e   B a t c h   s i z e   N u e p o c h   A c c u r a c y   F1 - s c o r e   P r e c i s i o n   R e c a l l   B a se l i n e   ( b e st )   5e - 5   32   5   9 3 . 5 4 %   9 3 . 3 1 %   9 3 . 0 1 %   9 3 . 4 7 %   PSO - o p t i mi z e d   3 . 4 7 e - 6   47   2 . 7   9 9 . 4 6 %   9 9 . 3 1 %   9 9 . 2 6 %   9 9 . 3 7 %       Fig u r 2   illu s tr ates  well - alig n ed   r elatio n s h ip   b etwe en   tr ain in g   lo s s   an d   v alid atio n   lo s s   th r o u g h o u t   th m o d el s   tr ain in g   p r o ce s s .   T h tr ain in g   lo s s   d ec r ea s es  r a p id ly   at  t h s tar o f   tr ain in g ,   in d icatin g   th at   th e   m o d el  q u ick ly   lear n s   p atter n s   f r o m   th e   tr ain in g   d ata.   Af ter   th is   s h ar p   d ec lin e,   th tr ain i n g   lo s s   r em ain s   lo w   with   m in o r   f lu ct u atio n s ,   lik el y   d u to   b atch   v a r iatio n s   d u r in g   tr ain in g .   Similar ly ,   th v alid atio n   lo s s   also   d r o p s   s wif tly   ea r ly   i n   th e   tr ain in g   an d   s tab ilizes  at  a   lo le v el,   with   o n ly   s lig h t   f lu ctu atio n s .   As  b o th   tr ain in g   an d   v alid atio n   lo s s   lev els  s ta b ilize  with o u an y   n o ticea b le  d iv er g en ce ,   th er is   n o   in d ica tio n   o f   o v e r f itti n g .   T h m o d el  p r eser v es  its   ab ilit y   to   g en er alize   to   u n s ee n   d at a,   as  r ef lecte d   b y   th e   p ar allel   tr en d s   i n   b o th   l o s s   cu r v es.   T h is   r elatio n s h ip   in d ic ates  th at  th m o d el  lear n s   ef f e ctiv ely   f r o m   th tr ai n in g   d ata  wh ile  m ain tain in g   its   ab ilit y   to   p er f o r m   well  o n   v alid atio n   d ata.           Fig u r 2 T r ain in g   a n d   v alid atio n   lo s s   g r ap h       3. 4   Resul t   o f   e v a lua t io n   I n   p u r s u it o f   h ig h er   d etec tio n   ac cu r ac y ,   th is   s tu d y   n o t o n ly   f o cu s es o n   d ev elo p in g   an   ef f ec tiv m o d el   b u also   in teg r ates  it  in to   web - b ased   in ter f ac e.   T h is   d ep lo y m en allo ws  u s er s   to   p er f o r m   r ea l - tim d etec tio n   o f   AI - g e n er ated   ess ay s ,   as  d e m o n s tr ated   in   Fig u r 3 ,   e n h an cin g   b o t h   u s ab ilit y   an d   ac ce s s ib ilit y   f o r   p r ac tical  ap p licatio n s .   T h e   d ep l o y m en t   o f   t h o p tim ized   B E R T   m o d el  f o r   d etec tin g   AI - g en er ate d   ess ay s   s tar ts   b y   in teg r atin g   th e   m o d el  in to   an   API   b u ilt  with   Fas tAPI.   T h API   r ec eiv es  ess ay   tex f r o m   u s er s ,   p r o ce s s es  it,  an d   g e n er ates  p r ed ictio n   o n   wh eth er   th e   tex was  au th o r ed   b y   a   h u m an   o r   p r o d u ce d   b y   AI .   u s er - f r ien d ly   web   in ter f ac e   was  cr ea ted ,   in clu d in g   tex t   in p u f ield   an d   Pre d ict   b u tto n   th at  s en d s   th tex to   th e   API   an d   d is p lay s   th o u tco m e.   A f ter   d ep lo y m e n t,  th is   web   ap p licatio n   allo ws  u s er s   to   in p u ess ay   tex an d   in s tan tly   r ec eiv d etec tio n   r esu lts ,   d eter m in in g   if   th e   es s ay   was  lik ely   g e n er ated   b y   AI ,   as  s h o wn   in     Fig u r 3 ( a ) .   I n   Fig u r 3 ( b ) ,   u s er   s u b m its   an   ess ay   f o r   an al y s is ,   wh ich   th ap p licatio n   p r o ce s s es,  r etu r n in g   a   Stu d en t   lab el   s u g g esti n g   t h a t th tex t w as m o s t lik ely   wr itten   b y   a   h u m a n .   T h d e p lo y ed   m o d el  en a b les  th o r o u g h   test in g   o n   d ataset  o f   9 , 2 5 0   ess ay s ,   p r ed ictin g   wh eth er   ea ch   tex was  g en er ate d   b y   AI   o r   w r itten   b y   h u m a n .   I n   a d d itio n   to   ac c u r ac y - b ased   e v alu atio n ,   we  also   m ea s u r e d   s y s tem   p er f o r m an ce   i n   ter m s   o f   r esp o n s tim a n d   lo a d   test in g .   Du r in g   r ea l - tim p r ed ictio n   v ia  th e     Fas tAPI - b ased   in ter f ac e,   th av er ag r esp o n s tim was  r ec o r d ed   at  3 1 2   m illi s ec o n d s   p er   r eq u est,  with   a   m ax im u m   o b s er v e d   laten c y   o f   4 8 7   m illi s ec o n d s   u n d er   n o r m al  co n d itio n s .   T h e   s y s tem   was  f u r t h er   test ed   u s in g   s im u lated   co n c u r r en u s er   r eq u ests   ( lo ad   test   with   5 0 0   r e q u ests   p er   m in u te ) ,   w h ich   s h o wed   s tab le  p er f o r m an ce   with   9 8 . 2 o f   r eq u ests   co m p leted   u n d e r   5 0 0   m s ,   in d icatin g   s tr o n g   s ca lab ilit y   f o r   m o d e r ate   tr af f ic  s ce n ar io s .   Fu r th er m o r e,   in f o r m al  u s er   f ee d b ac k   w as  co llected   f r o m   g r o u p   o f   2 0   s tu d e n ts   an d   lectu r er s   wh o   u s ed   th s y s tem   f o r   ev alu atin g   ess ay   co n ten t.  T h m ajo r ity   ( 8 5 %)  r ep o r ted   t h at  th s y s tem   was   in tu itiv an d   h el p f u l,   esp ec ially   in   q u ick ly   ass ess in g   th au th en ticity   o f   ac a d em ic  wr i tin g .   Sev er al   u s er s   ap p r ec iated   th clar ity   o f   th p r ed ictio n   r esu lt,  th o u g h   a   f ew  s u g g ested   th ad d itio n   o f   m o r d etailed   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8       Op timiz in g   p a r a mete r   s elec tio n   in   b id ir ec tio n a l e n co d er  p o r tr a ya l fo r   …  ( Teg a r   A r ifin   P r a s etyo )   5551   ex p lan atio n s   alo n g s id th b i n ar y   class if icatio n   o u tco m e.   T h ese  m etr ics  an d   f ee d b ac k   r ei n f o r ce   th s y s tem s   p r ac ticality   n o o n ly   in   ter m s   o f   d etec tio n   ac cu r ac y   b u al s o   in   u s er   ex p e r ien ce   an d   o p er atio n al  ef f icien cy   u n d er   r ea l - tim u s ag c o n d itio n s .           ( a)   ( b )     Fig u r 3 .   W eb   in ter f ac e s s ay - AI   d etec tio n   ( a)   in p u t te x t a n d   ( b )   r esu lt d etec tio n       T h p r e d ictio n s   ar e   th en   c o m p ar ed   to   t h ac tu al  la b e ls   to   ass ess   ac cu r ac y   an d   ad d itio n al   p er f o r m an ce   m etr ics,  p r o v i d in g   a   clea r   e v alu atio n   o f   th e   m o d el' s   ef f ec tiv en ess .   T h e v alu atio n   em p lo y s   k ey   p er f o r m an ce   m etr ics,  in clu d i n g   ac cu r ac y ,   p r ec is io n ,   r ec all ,   an d   F1 - s co r e,   to   r i g o r o u s ly   ass es s   th m o d el's  ef f ec tiv en ess   in   d if f er en tiatin g   AI - g en er ate d   ess ay s   f r o m   h u m an - a u th o r ed   tex ts .   I f u r t h er   ex am in es  th e   ap p licatio n s   r ea l - tim o p er at io n al  ef f icien cy ,   an al y zin g   r e s p o n s tim es  an d   r eliab ilit y   ac r o s s   v ar ied   ess ay   ty p es  to   e n s u r d ep en d ab le   an d   co n s is ten p er f o r m an ce .   T h ev alu atio n   r esu lts   o f   th e   m o d el  af ter   test in g   o n   9 , 2 5 0   ess ay s   ar p r esen ted   in   t h co n f u s io n   m atr ix   s h o wn   in   T ab le  7.       T ab le  7 .   C o n f u s s io n   m etr ix   r e s u lt   P r e d i c t e d / a c t u a l   H u ma n - w r i t t e n   ( 0 )   AI - g e n e r a t e   ( 1 )   H u ma n - w r i t t e n   ( 0 )   4 7 5 0   1 0 0   AI - g e n e r a t e   ( 1 )   50   4 3 5 0       T ab le  7   h ig h lig h ts   th m o d el' s   s tr o n g   p r o f icien c y   in   d is tin g u is h in g   AI - g e n er ated   ess ay s   f r o m   th o s e   wr itten   b y   h u m an s .   W ith   an   im p r ess iv 9 8 ac c u r ac y ,   th m o d el   co n s is ten tly   class if ies  n ea r ly   all   ess ay s   co r r ec tly ,   d em o n s tr atin g   h ig h   r eliab ilit y   ac r o s s   v ar i o u s   ca s e s .   T h p r ec is io n   o f   9 7 . 7 5 in d icate s   th m o d el’ s   ac cu r ac y   in   id e n tify in g   AI - g en er ated   co n ten with   m in i m al  m is class if icatio n   o f   h u m an - au th o r ed   tex ts ,   r ef lectin g   its   s elec tiv en ess   an d   p r ec is io n .   Ad d itio n ally ,   r e ca ll  o f   9 8 . 8 7 u n d e r s co r es  th m o d el’ s   ab ilit y   to   ca p tu r alm o s all  AI - g e n er at ed   ess ay s ,   m in im izin g   u n d ete cted   in s tan ce s .   T h e   F1 - Sco r e   o f   9 8 . 3 1 f u r th er   illu s tr ates  well - b alan ce d   p er f o r m an ce   b etwe en   p r ec is io n   a n d   r ec all,   co n f ir m i n g   th m o d el’ s   r o b u s tn ess   in   ac cu r ate  d etec tio n   w h ile  m in im izin g   er r o r s .   T h ese  m etr ics  co llectiv ely   af f ir m   th m o d e l’ s   h ig h   ac cu r ac y ,   d ep en d a b ilit y ,   an d   s u itab ilit y   f o r   r ea l - wo r l d   ap p licatio n s   in   AI - g en er ated   ess ay   d etec tio n .       4.   CO NCLU SI O N   T h is   r esear ch   p r esen ts   an   i n n o v ativ ap p r o ac h   f o r   d etec tin g   AI - g e n er ated   ess ay s   b y   in te g r atin g   t h B E R T   m o d el,   en h an ce d   th r o u g h   PS O.   B E R T   was  s elec te d   d u t o   its   s u p er io r   a b ilit y   to   in ter p r et  c o m p lex   lan g u ag n u an ce s ,   alth o u g h   f in e - tu n in g   its   h y p e r p ar am eter s   co n tin u es  to   b s ig n if ican ch allen g e.   PS O,   in s p ir ed   b y   th c o llectiv b e h av io r   o f   b ir d   f l o ck s ,   is   ap p lie d   to   a u to m ate  th e   o p tim izatio n   o f   k ey   p ar am ete r s ,   in clu d in g   lear n in g   r ate,   b atch   s ize,   an d   n u m b er   o f   ep o c h s .   T h is   m eth o d   r ed u ce s   r elian ce   o n   tim e - co n s u m in g   m an u al  tu n in g ,   s tr ea m lin in g   t h p r o ce s s   an d   en h an ci n g   ef f i cien cy   in   m o d el  tr ain in g .   T h in itial  ev alu atio n   o f   th B E R T   m o d el  with o u o p tim izatio n   s h o wed   an   ac cu r ac y   r an g in g   f r o m   8 3 to   9 4 %.  Af ter   ap p ly in g   PS O   an d   test in g   th e   m o d el  with   v alid atio n   d ataset  p o s t - d ep lo y m en t,  it  m ain tain e d   h ig h   ac c u r ac y   o f   u p   to   9 8 %,  with   an   F1 - Sco r o f   9 8 . 3 1 %,  p r ec is io n   o f   9 7 . 7 5 %,  an d   r ec all  o f   9 8 . 8 7 %,  in d ic atin g   s ig n if ican t   im p r o v em e n in   p e r f o r m an ce .   T h test   d ataset  f o r   th is   r e s ea r ch   co m p r is ed   9 , 2 5 0   ess ay s ,   an d   th r esu lts   d em o n s tr ated   th at  th m o d el  e f f ec tiv ely   d is tin g u is h ed   b etwe en   AI - g en er ated   a n d   h u m a n - wr itten   ess ay s .   T h i s   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   15 ,   No .   6 Decem b e r   20 25 :   5 5 4 3 - 5 5 5 4   5552   was  ev id en f r o m   th co n f u s io n   m atr ix ,   wh ic h   s h o we d   th at  4 , 7 5 0   h u m an - wr itten   ess ay s   an d   4 , 3 5 0     AI - g en er ated   ess ay s   wer co r r ec tly   class if ied .   T h im p lem e n tatio n   th r o u g h   web   in ter f ac b ased   o n   Fas tA PI  allo ws  f o r   r ea l - tim ess ay   d e tectio n ,   m ak in g   it  ea s ier   f o r   u s er s   to   v er if y   te x au th en tic ity .   T h is   in ter f ac e   p r o v id es  tex in p u f ield   an d   Pre d ict   b u tto n   to   g en e r at in s tan p r ed ictio n s .   T h is   r esear ch   co n f i r m s   th at  th PS O - o p tim ized   B E R T   ap p r o ac h   n o t   o n l y   im p r o v es   th e   a cc u r ac y   an d   ef f icien c y   o f   d ete ctio n   b u also   p lay s   v ital  r o le  in   u p h o ld in g   ac a d em ic  in teg r ity .   T h e   s y s tem   o f f er s   s u b s tan tial  b en e f its   to   th ed u ca tio n al  f ield ,   wh er AI - g e n er ated   ac ad em i co n ten t   is   b ec o m in g   m o r e   p r ev ale n t.  Ad d itio n ally ,   th i s   m eth o d   h as  th e   p o ten tial  f o r   f u r th er   d ev elo p m en in   f u tu r NL ap p licati o n s ,   aid in g   in   th id e n tific atio n   o f   AI - g en er ate d   m ater ial  an d   en s u r in g   th q u a lity   an d   au th en ticity   o f   wr itten   co n ten in   th d ig ital  ag e.   T h n o v elty   o f   th is   wo r k   lies   in   th in teg r atio n   o f   PS to   s y s tem atica lly   o p ti m ize  th h y p er p a r am eter s   o f   th B E R T   m o d el,   m eth o d   n o wid ely   ex p lo r ed   f o r   AI - g en e r ated   co n ten d etec tio n   in   ac ad em ic  co n tex ts .   I n   ad d itio n   to   im p r o v in g   p e r f o r m an ce ,   t h is   ap p r o ac h   en a b les  p r ac tical  r ea l - tim d ep lo y m en t,  with   im p licatio n s   f o r   b r o ad er   u s in   d etec tin g   s y n th etic  co n ten in   o th er   s ec to r s   s u ch   as  d ig ital  m ed ia,   r eg u lato r y   co m p lian ce ,   an d   co n ten t   au th en ticity   v er if icatio n .       ACK NO WL E DG E M E NT S   T h is   wo r k   was  s u p p o r ted   in   p ar b y   L PP I n s titu T ek n o l o g Del,   I n d o n esia  th r o u g h   f u n d in g   No .   0 2 1 . 3 5 /I T Del/L PP M/Pen elitia n /I V/2 0 2 4 .       RE F E R E NC E S   [ 1 ]   N .   T y a g i   a n d   B .   B h u s h a n ,   D e m y st i f y i n g   t h e   r o l e   o f   n a t u r a l   l a n g u a g e   p r o c e ssi n g   ( N LP)   i n   smar t   c i t y   a p p l i c a t i o n s :   b a c k g r o u n d ,   mo t i v a t i o n ,   r e c e n t   a d v a n c e s ,   a n d   f u t u r e   r e s e a r c h   d i r e c t i o n s,   W i re l e ss  Pe rso n a l   C o m m u n i c a t i o n s ,   v o l .   1 3 0 ,   n o .   2 ,   p p .   8 5 7 9 0 8 ,   2 0 2 3 .   [ 2 ]   O .   A l i ,   P .   A .   M u r r a y ,   M .   M o mi n ,   Y .   K .   D w i v e d i ,   a n d   T .   M a l i k ,   T h e   e f f e c t s   o f   a r t i f i c i a l   i n t e l l i g e n c e   a p p l i c a t i o n s   i n   e d u c a t i o n a l   set t i n g s :   C h a l l e n g e a n d   s t r a t e g i e s ,   T e c h n o l o g i c a l   F o rec a s t i n g   a n d   S o c i a l   C h a n g e ,   v o l .   1 9 9 ,   p .   1 2 3 0 7 6 ,   F e b .   2 0 2 4 ,     d o i :   1 0 . 1 0 1 6 / j . t e c h f o r e . 2 0 2 3 . 1 2 3 0 7 6 .   [ 3 ]   F .   K a ma l o v ,   D .   S a n t a n d r e u   C a l o n g e ,   a n d   I .   G u r r i b ,   N e w   e r a   o f   a r t i f i c i a l   i n t e l l i g e n c e   i n   e d u c a t i o n :   t o w a r d a   su s t a i n a b l e   mu l t i f a c e t e d   r e v o l u t i o n ,   S u st a i n a b i l i t y ,   v o l .   1 5 ,   n o .   1 6 ,   p .   1 2 4 5 1 ,   A u g .   2 0 2 3 ,   d o i :   1 0 . 3 3 9 0 / su 1 5 1 6 1 2 4 5 1 .   [ 4 ]   P .   P .   R a y ,   C h a t G P T: a   c o m p r e h e n si v e   r e v i e w   o n   b a c k g r o u n d ,   a p p l i c a t i o n s,  k e y   c h a l l e n g e s,   b i a s ,   e t h i c s ,   l i m i t a t i o n a n d   f u t u r e   sco p e ,   I n t e rn e t   o f   T h i n g s   a n d   C y b e r - Ph y s i c a l   S y st e m s ,   v o l .   3 ,   p p .   1 2 1 1 5 4 ,   2 0 2 3 ,   d o i :   1 0 . 1 0 1 6 / j . i o t c p s. 2 0 2 3 . 0 4 . 0 0 3 .   [ 5 ]   S .   G r a ssi n i ,   S h a p i n g   t h e   f u t u r e   o f   e d u c a t i o n :   e x p l o r i n g   t h e   p o t e n t i a l   a n d   c o n s e q u e n c e s   o f   A I   a n d   C h a t G P i n   e d u c a t i o n a l   set t i n g s ,   Ed u c a t i o n   S c i e n c e s ,   v o l .   1 3 ,   n o .   7 ,   p .   6 9 2 ,   Ju l .   2 0 2 3 ,   d o i :   1 0 . 3 3 9 0 / e d u c s c i 1 3 0 7 0 6 9 2 .   [ 6 ]   S .   Jams h i d i   e t   a l . Ef f e c t i v e   t e x t   c l a ssi f i c a t i o n   u s i n g   B E R T ,   M T M   LST M ,   a n d   D T,   D a t a   K n o w l e d g e   E n g i n e e ri n g ,   v o l .   1 5 1 ,     p .   1 0 2 3 0 6 ,   M a y   2 0 2 4 ,   d o i :   1 0 . 1 0 1 6 / j . d a t a k . 2 0 2 4 . 1 0 2 3 0 6 .   [ 7 ]   Y .   M a o ,   Q .   L i u ,   a n d   Y .   Zh a n g ,   S e n t i m e n t   a n a l y si s   m e t h o d s,   a p p l i c a t i o n s ,   a n d   c h a l l e n g e s :   a   s y st e ma t i c   l i t e r a t u r e   r e v i e w ,   J o u rn a l   o f   K i n g   S a u d   U n i v e rsi t y   -   C o m p u t e r   a n d   I n f o rm a t i o n   S c i e n c e s ,   v o l .   3 6 ,   n o .   4 ,   p .   1 0 2 0 4 8 ,   A p r .   2 0 2 4 ,     d o i :   1 0 . 1 0 1 6 / j . j k s u c i . 2 0 2 4 . 1 0 2 0 4 8 .   [ 8 ]   J.  C a m p i n o ,   U n l e a s h i n g   t h e   t r a n sf o r mers :   N LP  mo d e l d e t e c t   A I   w r i t i n g   i n   e d u c a t i o n ,   J o u rn a l   o f   C o m p u t e rs  i n   E d u c a t i o n   v o l .   1 2 ,   n o .   2 ,   p p .   6 4 5 6 7 3 ,   2 0 2 5 .   [ 9 ]   M .   P .   G e e t h a   a n d   D .   K a r t h i k a   R e n u k a ,   I mp r o v i n g   t h e   p e r f o r ma n c e   o f   a s p e c t   b a s e d   se n t i me n t   a n a l y si s   u s i n g   f i n e - t u n e d   B E R T   b a s e   u n c a se d   mo d e l ,   I n t e r n a t i o n a l   J o u r n a l   o f   I n t e l l i g e n t   N e t w o rks ,   v o l .   2 ,   p p .   6 4 6 9 ,   2 0 2 1 ,   d o i :   1 0 . 1 0 1 6 / j . i j i n . 2 0 2 1 . 0 6 . 0 0 5 .   [ 1 0 ]   P .   D h i ma n ,   A .   K a u r ,   D .   G u p t a ,   S .   J u n e j a ,   A .   N a u ma n ,   a n d   G .   M u h a mm a d ,   G B ER T:   a   h y b r i d   d e e p   l e a r n i n g   mo d e l   b a s e d   o n   G P T - B ER T   f o r   f a k e   n e w d e t e c t i o n ,   H e l i y o n ,   v o l .   1 0 ,   n o .   1 6 ,   p .   e 3 5 8 6 5 ,   A u g .   2 0 2 4 ,   d o i :   1 0 . 1 0 1 6 / j . h e l i y o n . 2 0 2 4 . e 3 5 8 6 5 .   [ 1 1 ]   A .   K .   P a n d e y   a n d   S .   S .   R o y ,   C A N B LWO :   a   n o v e l   h y b r i d   a p p r o a c h   f o r   sema n t i c   t e x t   g e n e r a t i o n ,   T h e   I n t e rn a t i o n a l   Ar a b   J o u rn a l   o f   I n f o rm a t i o n   T e c h n o l o g y ,   v o l .   2 1 ,   n o .   4 ,   2 0 2 4 ,   d o i :   1 0 . 3 4 0 2 8 / i a j i t / 2 1 / 4 / 1 1 .   [ 1 2 ]   L.   Z h a o ,   W .   G a o ,   a n d   J.   F a n g ,   O p t i m i z i n g   l a r g e   l a n g u a g e   mo d e l o n   mu l t i - c o r e   C P U s :   a   c a se   st u d y   o f   t h e   B ER m o d e l ,   Ap p l i e d   S c i e n c e s ,   v o l .   1 4 ,   n o .   6 ,   p .   2 3 6 4 ,   M a r .   2 0 2 4 ,   d o i :   1 0 . 3 3 9 0 / a p p 1 4 0 6 2 3 6 4 .   [ 1 3 ]   Y .   Z h o n g   a n d   S .   D .   G o o d f e l l o w ,   D o ma i n - s p e c i f i c   l a n g u a g e   mo d e l s   p r e - t r a i n e d   o n   c o n st r u c t i o n   m a n a g e m e n t   s y st e ms   c o r p o r a ,   Au t o m a t i o n   i n   C o n st r u c t i o n ,   v o l .   1 6 0 ,   p .   1 0 5 3 1 6 ,   A p r .   2 0 2 4 ,   d o i :   1 0 . 1 0 1 6 / j . a u t c o n . 2 0 2 4 . 1 0 5 3 1 6 .   [ 1 4 ]   C .   M a r a v e a s,  P .   G .   A st e r i s,  K .   G .   A r v a n i t i s,  T.   B a r t z a n a s ,   a n d   D .   Lo u k a t o s ,   A p p l i c a t i o n   o f   b i o   a n d   n a t u r e - i n s p i r e d   a l g o r i t h ms  i n   a g r i c u l t u r a l   e n g i n e e r i n g ,   Ar c h i v e s   o f   C o m p u t a t i o n a l   Me t h o d s   i n   En g i n e e ri n g ,   v o l .   3 0 ,   n o .   3 ,   p p .   1 9 7 9 2 0 1 2 ,   A p r .   2 0 2 3 ,     d o i :   1 0 . 1 0 0 7 / s 1 1 8 3 1 - 022 - 0 9 8 5 7 - x.   [ 1 5 ]   L.   B a y u a j i ,   K u s n a d i ,   M .   Y .   A m z a h ,   a n d   D .   P e b r i a n t i ,   O p t i mi z a t i o n   o f   f e a t u r e   s e l e c t i o n   i n   su p p o r t   v e c t o r   ma c h i n e s   ( S V M )   u si n g   r e c u r s i v e   f e a t u r e   e l i mi n a t i o n   ( R F E)   a n d   p a r t i c l e   sw a r m   o p t i mi z a t i o n   ( P S O )   f o r   h e a r t   d i se a se   d e t e c t i o n ,   i n   2 0 2 4   9 t h   I n t e r n a t i o n a l   C o n f e re n c e   o n   M e c h a t ro n i c En g i n e e ri n g   ( I C O M) ,   I EEE,   A u g .   2 0 2 4 ,   p p .   3 0 4 3 0 9 .   d o i :   1 0 . 1 1 0 9 / I C O M 6 1 6 7 5 . 2 0 2 4 . 1 0 6 5 2 5 6 1 .   [ 1 6 ]   W .   W i h a r t o ,   Y .   M u f i d a h ,   U .   S a l a mah ,   E .   S u r y a n i ,   a n d   S .   S e t y a w a n ,   T h e   u se   o f   g e n e t i c   a l g o r i t h a n d   p a r t i c l e   sw a r m   o p t i m i z a t i o n   o n   t i e r e d   f e a t u r e   s e l e c t i o n   me t h o d   i n   ma c h i n e   l e a r n i n g - b a s e d   c o r o n a r y   h e a r t   d i s e a s e   d i a g n o s i s sy st e m,   I n t e r n a t i o n a l   J o u rn a l   o f   E l e c t r i c a l   a n d   C o m p u t e r   E n g i n e e r i n g   ( I J E C E) ,   v o l .   1 4 ,   n o .   4 ,   p p .   4 5 6 3 4 5 7 6 ,   A u g .   2 0 2 4 ,     d o i :   1 0 . 1 1 5 9 1 / i j e c e . v 1 4 i 4 . p p 4 5 6 3 - 4 5 7 6 .   [ 1 7 ]   S .   A .   B i n - N a s h w a n ,   M .   S a d a l l a h ,   a n d   M .   B o u t e r a a ,   U se  o f   C h a t G P i n   a c a d e m i a :   a c a d e m i c   i n t e g r i t y   h a n g s   i n   t h e   b a l a n c e ,   T e c h n o l o g y   i n   S o c i e t y ,   v o l .   7 5 ,   p .   1 0 2 3 7 0 ,   N o v .   2 0 2 3 ,   d o i :   1 0 . 1 0 1 6 / j . t e c h s o c . 2 0 2 3 . 1 0 2 3 7 0 .   [ 1 8 ]   R .   F .   K i z i l c e c   e t   a l . P e r c e i v e d   i mp a c t   o f   g e n e r a t i v e   A I   o n   a ss e ssm e n t s:   c o m p a r i n g   e d u c a t o r   a n d   s t u d e n t   p e r s p e c t i v e i n   A u st r a l i a ,   C y p r u s ,   a n d   t h e   U n i t e d   S t a t e s,   C o m p u t e rs  a n d   E d u c a t i o n :   A rt i f i c i a l   I n t e l l i g e n c e ,   v o l .   7 ,   p .   1 0 0 2 6 9 ,   D e c .   2 0 2 4 ,     d o i :   1 0 . 1 0 1 6 / j . c a e a i . 2 0 2 4 . 1 0 0 2 6 9 .   [ 1 9 ]   C .   Z h a i ,   S .   W i b o w o ,   a n d   L.   D .   Li ,   Th e   e f f e c t o f   o v e r - r e l i a n c e   o n   A I   d i a l o g u e   s y s t e ms  o n   st u d e n t s’   c o g n i t i v e   a b i l i t i e s :   a   sy st e ma t i c   r e v i e w ,   S m a rt   L e a rn i n g   E n v i ro n m e n t s ,   v o l .   1 1 ,   n o .   1 ,   p .   2 8 ,   J u n .   2 0 2 4 ,   d o i :   1 0 . 1 1 8 6 / s 4 0 5 6 1 - 024 - 0 0 3 1 6 - 7.   Evaluation Warning : The document was created with Spire.PDF for Python.