<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>D. Kryvoshein);</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Benchmarking Conversation Routing in Chatbot Systems Based on Large Language Models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Daniil Maksymenko</string-name>
          <email>daniil.maksymenko@nure.ua</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Danylo Kryvoshein</string-name>
          <email>danylo.kryvoshein@nure.ua</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Olena Turuta</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dmytro Kazakov</string-name>
          <email>dmytro.kazakov@cs.khpi.edu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oleksii Turuta</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Kharkiv National University of Radio Electronics</institution>
          ,
          <addr-line>Nauky Ave. 14, Kharkiv, 61166</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National Technical University "Kharkiv Polytechnic Institute"</institution>
          ,
          <addr-line>Kyrpychova str. 2, Kharkiv, 61002</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Semantic Routing</institution>
          ,
          <addr-line>LLM, NLI, Model, Classification, Zero-shot1</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>Large language models (LLMs) get quickly implemented into question answering and support systems to automate customer experience. Models in such environments should solve multiple problems like general knowledge questions, questions about specific domain, which require grounding from an external source, function calling and many others. Some cases might not even require a full-on text generation. They can require different prompts or even models. All of it can be managed by semantic routing step. This paper presents a comparison of multiple semantic routing approaches for environments with a cold start problem. This work proposes a routing benchmark dataset and extensive experiments set with results interpretation and visualization. The results show best practices for building a semantic router layer of chat application and provide insights on main advantages and disadvantages of tested methods.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>semantic routing gets proposed and a number of experiments to illustrate different approaches
advantages and disadvantages are conducted with this dataset.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Dataset</title>
      <p>Task of conversation routing can be formulated as a text classification problem, so we construct a
dataset to measure the accuracy of routes classification. Dataset is based on wine online store
chatbot, which should handle following cases:
•
•
•
•</p>
      <p>Answer questions about general wine knowledge and the store itself (wine making, history,
terms, geography, etc.). Most of these questions should be answered from LLM pretrained
knowledge as it would require a large vector database to cover all possible wine-related
questions and ground responses;
Recommend goods from the store based on user’s preferences and wishes. Such answers
should be grounded by relevant semantic search results;
Small talk messages, like gratitude, greetings or just casual messages, which do not require
specific knowledge or grounding;
Off topic messages, which either do not relate to the topic of wine at all or try to jailbreak
the LLM agent. Should be ignored completely.</p>
      <p>We faced a cold start problem during the construction of dataset, as the bot was not yet launched
and the website did not have a live chat before. We only had 119 examples of possible messages and
an outline of possible scenarios for the bot.</p>
      <p>General questions on wine topic are easier to fill in as they can be scrapped from the web, which
we ended up doing. However, catalog recommendations require lots of examples with different level
of expertise. We also need to verify that router would understand the same request if it was rewritten
with same sense and different words. The router should handle samples with wrong spelling,
grammar or punctuation.</p>
      <p>Gathering real-life chat messages would take to much time to get those samples and label them,
so we used Gemini 1.5 Pro as a synthetic data generator to fill the benchmark with more samples.
We constructed prompts for 3 different levels of user’s expertise: a wine newbie, a multiple times
wine customer without deep topic knowledge, and a wine expert, who understands and uses specific
terms and knows what they need. Around 20% of the generated messages were then corrupted with
a prompt, which makes LLM rewrite the message with spelling, grammar or punctuation errors.
Messages may contain emojis, unnecessary spaces or line breaks which should still be handled by
router.</p>
      <p>
        Off topic messages were sampled from SQUAD [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] dataset gathered by Stamford University as
we wanted to check how router is going to handle just random questions on anything in general.
      </p>
      <p>
        Also, we used a machine translation [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] to create a subset of questions in German, French, Italian
and Ukrainian to check how each router implementation handles multilingual queries.
      </p>
      <p>More details on dataset are provided in the Table 1.</p>
      <p>Also, we created a small subset of the benchmark data with just 80 samples (20 random texts per
each label) to check the stability of LLM routing with multiple settings.</p>
      <p>Current limitation of the benchmark is that all messages here are considered as first ones in the
chat, so we plan to extend the benchmark further with additional chat context to check the
performance on long conversations.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Models and Approaches</title>
      <p>
        Due to a cold start problem and lack of a train dataset only zero and few shot classifiers were chosen
for conversation routing task. We test 3 different general approaches: Natural Language Inference
(NLI) router, LLM with in-context learning classifier [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and a latent embeddings router. Each
approach was tested with multiple models and modes.
      </p>
      <sec id="sec-3-1">
        <title>3.1. Natural Language Inference Router</title>
        <p>
          Natural Language Inference (NLI) models can be used as zero-shot classifiers [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. The goal of such
model is to determine the relationship between a premise (a user message in our case and a
hypothesis). The model gets pretrained on a large NLI dataset, which allows to conduct a zero-shot
classification with it on previously unseen domains. The class with highest entailment score will be
the label of NLI zero-shot classifier for input text.
        </p>
        <p>
          We tested Meta’s facebook/bart-large-mnli model, which was trained on MultiNLI dataset [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ],
in 2 modes:
•
•
just provide labels as a set of hypotheses (general-wine, small-talk, catalog, offtop);
provide detailed descriptions of classes as a set of hypotheses (same ones will be used later
in LLM in-context learning prompt)
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. LLM In-Context Learning Router</title>
        <p>We used LLMs in-context learning ability to create a zero-shot classifier. Such models are pretrained
on a massive amount of text, which gives them an ability to solve tasks out of training scope with
just a few examples in the prompt or even a general description.</p>
        <p>In our approach we combine in-context learning, a short chain of thought reasoning and
JSONrestricted generation to make a router out of LLM.</p>
        <p>We use role prompting combined with multiple evidence calibration (MEC) [11] to improve the
route classification results. MEC should reduce the positional bias of the LLM in-context learning
classifier by adding an intermediate explanation step, in which model reasons further choice. It can
provide both interpretability and higher stability for predictions. Decoding is restricted to JSON
grammar to help model preserve the schema and avoid format breaking jailbreaks. If JSON dictionary
does not have a key class with one of 4 possible values it is considered as a broken format (schema
restriction was not used during experiments). Generation is done with temperature 0 and 300 output
tokens limit. Classification system prompt can be seen in Figure 1.</p>
        <p>Message to be routed is provided as a user message to avoid instruction injection into system
prompt and chat history is provided into &lt;chat&gt; tag with offtop messages replaced with a boilerplate
message “offtop message”.</p>
        <p>We tested the approach with following models:
•
•
•
•
•
•</p>
        <p>GPT 3.5 Turbo [12]: 69.8% on MMLU [13], 78 tokens per second;
GPT 4o: 88.7% on MMLU, 83.8 tokens per second;
GPT 4o mini: 82% on MMLU, 166 tokens per second;
Gemini 1.0 Pro [14]: 71.8% on MMLU, 87 tokens per second;
Gemini 1.5 Pro [15]: 85.9% on MMLU, 58 tokens per second;</p>
        <p>Gemini 1.5 Flash: 78.9% on MMLU, 165 tokens per second.</p>
        <p>GPT 4 [16] and GPT 4 Turbo were rejected due to their high price and slower tokens generation
(around 12 and 35 tokens per second correspondingly), as routing requires a low latency and price
due to being used on each input message.</p>
        <p>Also, we tested XML format without a grammar restriction during decoding in order to check if
the format affects classification accuracy too.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Latent Embeddings Router</title>
        <p>Bi-encoders, which are used for retrieval stage of semantic search, can actually be used for few-shot
routing too. For this we need to create a set of examples for each class [17]. Set should not be large,
so it can be created synthetically or just manually. In our case we wrote 20 examples for each class
except offtop, which will be explained later. Samples can be seen in Figure 2.</p>
        <p>Once the message comes from the user, top 5 examples get retrieved from vector storage and
aggregated by their label (we used sum aggregation for cosine similarities of retrieved samples). The
label with highest aggregated score will be the chosen route. However, each route has a rejection
threshold value, so if the aggregated score is lower than the threshold, route will not be chosen even
if it is the best one available. Such cases should be considered offtop (questions unrelated to chatbot
primary topic or jailbreak attempts).</p>
        <p>We used a semantic router implementation by Aurelio labs with following encoders:
textembedding-gecko@003 by Google (DOCUMENT RETRIEVAL mode) (256 size).
textembedding-gecko-multilingual@002 (DOCUMENT RETRIEVAL mode, 256 size).
multilingual e5 base (768 size) [18].</p>
        <p>text-embedding-3-large by OpenAI (256 size).</p>
        <p>Each setup uses same routes examples, rejection threshold was set as 0.6 and aggregation type is
sum.</p>
        <p>•
•
•
•
•
•
•</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments Setup</title>
      <p>We conduct a set of 3 experiments:
calculate classification report [19] on full dataset for each approach and model (2
measurements for NLI router, 11 measurements for LLM router and 4 measurements for
embeddings semantic router);
calculate classification accuracy of LLM router with different order of routes in system
prompt on a 80 samples subset of benchmark dataset to check how positional bias affects
routing accuracy (calculate all 24 combinations of routes order and measure it on 6 LLMs)
[20];
repeat classification of 80 samples subset 5 times on 6 LLMs with a default system prompt
shown in chapter III and measure mean, median accuracy and standard deviation in order to
check how much each models changes its prediction with the same inputs and instructions
during classification.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Results and Interpretation</title>
      <sec id="sec-5-1">
        <title>5.1. General Performance of Routers</title>
        <p>Larger models like GPT 4o and Gemini 1.5 Pro achieve highest accuracy around 0.9. Their faster
versions (4o-mini and Flash) achieve comparable scores with quicker and cheaper generation (0.900
vs 0.905 for larger models).</p>
        <p>4o and 1.5 Pro keep the required dictionary structure well, while previous generation models like
GPT 3.5, 4o-mini or Gemini 1.0 Pro tend to either hallucinate schema or class names. The most drastic
case was spotted with Gemini 1.0 Pro, which generated an array of JSON dictionaries with multiple
classes predictions in 40% of cases. It happened when message was on the verge of both routes (like
a mix of small talks and catalog inquiries). Gemini 1.5 Flash tends to break the schema by creating a
long explanation and reaching output tokens limit if the message possibly requires more context
(like a clarification).</p>
        <p>GPT 3.5 and Gemini 1.0 Pro are more sensible to label names as they get a significant accuracy
boost from changing the name of general wines questions route from “general-questions” to
“general-wine” (0.75 to 0.91 for GPT 3.5 Turbo). Also, the change of output format may affect the
accuracy too as XML formatted predictions gave slightly higher accuracy than JSON. However, they
are more prone to broken schema or format ignorance (around 2% against 0.2% for JSONs). Such
sensitivity to prompt details proves the need for additional prompt tuning during in-context learning
classification.</p>
        <p>Latent embeddings semantic router gave results comparable to LLMs with multilingual gecko
model. Clear advantage of this approach is ability to interpret the prediction by analyzing retrieved
examples and their similarity scores. This allows to clean and adjust examples set until it covers
enough use cases. It would be easier to fix such router by replacing misleading examples or extending
sets with new samples from production environment. This router should not be susceptible to classic
LLM jailbreaks, however attacks on semantic router need further investigation. Also, all tested
variations of semantic router generated prediction faster than LLMs (x3-x6 acceleration) and cheaper
(cheapest full dataset prediction costed 0.34$ for GPT 4o-mini, while full dataset prediction with
gecko or OpenAI embeddings costed 0.02$ in average). One of the main cons of this approach is a
reproducibility of results on the same model with a fixed seed, which is not possible with LLMs due
to their non-deterministic nature.</p>
        <p>We created a TSNE 2D projection of multilingual gecko embeddings to research how benchmark
samples distribute. The plot is shown in Figure 3, where greens are offtops, yellows are general wine
questions, reds are catalogs and blues are small talks (OX – TSNE 1st dimension, OY – TSNE 2nd
dimension).</p>
        <p>Most offtops are clearly separated from main classes, which There are many overlaps of general
wine questions with other routes due to the wide nature of this class, especially with offtops. It makes
this route the most vulnerable to possible unwanted usage. Both LLMs and embeddings router tend
to confuse them as questions can be related to geography, climate, history or culture of certain
regions. Such questions can be interpreted as both wine-related and off topic messages about
common world knowledge.</p>
        <p>Some samples have double interpretation, which puts them on the verge of 2 clusters (like “what
new region should I try?” in context of wine origin region, which can be both general question and
a catalog recommendation).</p>
        <p>A cloud in the left top corner, which contains all 4 classes, is centered around price topic (for
example an offtop “How much fine should I pay for price sharing”, small talk “Wow, you have a
really good pricing here” and a general one “Does price of a wine really matter?”). Such questions
get misclassified as catalogs by both LLM router and embeddings, which should be explored and
fixed further to avoid wrong behavior by the chatbot.</p>
        <p>Table 4 demonstrates the performance of tested models for all 5 languages present in dataset.
LLM routers are quite consistent across all of them (even low resource Ukrainian). However, we can
NLI
clearly see how different embeddings models exceed at certain languages. For example, OpenAI large
embeddings model gives its best performance for French language and drops the quality for
Ukrainian. Even a multilingual gecko loses 0.1 accuracy for non-English messages. It suggests that a
latent embeddings router should ideally contain routes examples in all target languages to smooth
that accuracy drop.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. LLM Router Accuracy after Labels Order Change</title>
        <p>Obtained results on 24 shuffles of routes measured on 6 LLMs show that smaller models like GPT
4o-mini, GPT 3.5 Turbo, Gemini 1.0 Pro and 1.5 Flash are more susceptible towards significant
changes in routing accuracy due to the change of labels order in system prompt. Measures are
presented in Table 5.</p>
        <p>Worst result was shown by the most recent GPT 4o-mini (0.106 standard deviation). Its accuracy
bounces from 0.51 to 0.94 with the change of labels order. We reviewed predicted labels of the worst
routes order (offtop | general-wine | small-talk | catalog) and found out that model tends to violate
the JSON schema with such order of routes. It either generates a JSON, which cannot be parsed
(model reaches output token limit and does not close the dictionary). Figure 4 shows the comparison
of confusion matrices of the worst and the best labels orders for GPT 4o-mini.</p>
        <p>The order small-talk, catalog, offtop, general-wine on GPT 4o-mini, which gave the best accuracy
around 0.94, returned all responses with a correct schema. We repeated this test another 5 times and
average accuracy for this order was still 0.94 without incorrect JSONs.</p>
        <p>The most stable models were GPT 4o and Gemini 1.5 Pro as they have standard deviation 0.02,
which proves the idea that larger LLMs are less sensitive towards labels order inside in-context
learning classification prompt.</p>
        <p>Results show that LLM classifier cannot be used for routing task without a voting mechanism
over multiple shuffles as usage of MEC did not smooth the positional bias of models for routing task.
Another solution would be to conduct a few predictions at once with random orders of routes and
ensemble their results by voting. This would make them even more expensive and possibly slow (in
case of iterative calls) in comparison to latent embeddings router.</p>
        <p>The results need further investigation to find out the origin of such behavior as it can lie in
pretraining data, positional encoding of tokens or attention masks of LLM.</p>
        <p>Mean
0.819
0.821
0.893
0.751
0.813</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. LLM Routing Stability with Fixed Prompt and Parameters</title>
        <p>We took the default prompt and repeated the classification 5 times for each LLM as it was described
in section IV. This way we wanted to check how much would the routing result differ for same
inputs, generation parameters and prompt as closed-source LLMs do not guarantee reproducibility
of outputs. The order of routes was left default for this experiment (general-wine | catalog |
smalltalk | offtop). Results are shown in Table 6.</p>
        <p>These measurements show that even large model tend to change their classification result with
same inputs, generation conditions and temperature equal to 0.0. So LLM hallucinations do not allow
their stable usage for routing task due to their non-deterministic nature.</p>
        <p>However, Gemini 1.5 Flash is the only model that gave the same accuracy all 5 times. We decided
to doublecheck this result and conducted another set of 5 measurements on the same 80 samples
subset with the same prompt and parameters in 24 hours. The accuracy and F1 scores for individual
classes still matched previous measurement, but there was still 1 sample, where model gave different
classes: “Oh wow, didn't realize you guys had a rewards program! That's awesome, might have to
stock up then haha ”. This sample is labeled as catalog, so we measured it with Gemini 1.5 Flash
another 20 times and got 13 catalogs and 7 offtops. We also checked explanation generated by model
before it generates the class label and it used similar reasoning to choose 2 different classes. Reward
program can be interpreted as a factor to propose a good and at the same time it does not relate to
wines, so model uses those 2 explanations to reason both choices.</p>
        <p>Despite having a high accuracy such a lack of reproducibility and means to debug the output
makes LLM router unsuitable for a stable zero or few show classification even with additional chain
of thought reasoning. They could be a great baseline and a model for prototyping or initial labeling
of data for further manual correction. However, their non-deterministic routing and the absence of
clear interpretability makes them too unstable for production usage. Chain of thought reasoning gets
changed by hallucinations too, so it cannot provide a clear description of decision-making process
for route choice.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>In the scope of this paper, we presented a detailed comparison of zero and few shot routing methods
for chat bot systems (NLI, LLMs, latent embeddings).</p>
      <p>We collected a benchmark dataset with over 2,800 records to test how router distinguishes
between specific knowledge questions, recommendations, small talks and off topic messages, which
should be ignored.</p>
      <p>LLM based routers with chain of thought reasoning provided the highest accuracy score on
benchmark dataset, however further experiments proved their instability for routing task as they
lack interpretation, reproducibility and are highly sensitive to output format, routes names and even
order. Usage of intermediate reasoning step does not smooth classification results.</p>
      <p>NLI router gave the worst results with both hypothesis settings. As a result, we show that latent
embeddings based semantic router can give scores close to LLM classifier and provides high speed,
interpretation and controllability [21] via examples set and rejection boundaries tuning for each
route.</p>
      <p>We plan to extend benchmark with a full chat context to test it on long dialog cases (like routing
after 2, 3 and more messages). This further cleaned and extended version will be released openly.
Also, we plan to check how multiple routers handle possible LLM jailbreaks and attacks. Main topic
for further research remains the sensitivity of LLMs to order, labels and output format as it affects
both classification and quality of responses in general. We plan to check it on open source models
further too.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgements</title>
      <p>This article is based upon work from COST Action Multi3Generation (CA18231), supported by COST
(European Cooperation in Science and Technology). The authors would like to thank Artem
Nikulchenko for the fruitful discussions and inspiration. We would also like to thank paper reviewers
for their comments.
[11] Y. Liu et al., “Calibrating LLM-Based evaluator,” N. Calzolari, M.-Y. Kan, V. Hoste, A. Lenci, S.</p>
      <p>Sakti, and N. Xue, Eds., ELRA and ICCL, May 2024, pp. 2638–2656. Available:
https://aclanthology.org/2024.lrec-main.237
[12] T. Brown et al., “Language models are few-shot learners,” H. Larochelle, M. Ranzato, R. Hadsell,
M.F. Balcan, and H. Lin, Eds., Curran Associates, Inc., 2020, pp. 1877–1901. Available:
https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64aPaper.pdf
[13] D. Hendrycks et al., “Measuring massive multitask language understanding,” 2021.
[14] G. Team et al., “Gemini: A family of highly capable multimodal models,” 2024.</p>
      <p>https://arxiv.org/abs/2312.11805
[15] G. Team et al., “Gemini 1.5: Unlocking multimodal understanding across millions of tokens of
context,” 2024. https://arxiv.org/abs/2403.05530
[16] OpenAI et al., “GPT-4 technical report,” 2024. https://arxiv.org/abs/2303.08774
[17] Y. Xian, Z. Akata, G. Sharma, Q. Nguyen, M. Hein, and B. Schiele, “Latent embeddings for
zeroshot classification,” 2016, pp. 69–77. doi: https://doi.org/10.1109/CVPR.2016.15.
[18] L. Wang et al., “Text embeddings by weakly-supervised contrastive pre-training,” 2024.</p>
      <p>https://arxiv.org/abs/2212.03533
[19] Arvind Neelakantan et al., “Text and code embeddings by contrastive pre-training,” 2022.</p>
      <p>https://arxiv.org/abs/2201.10005
[20] Pouya Pezeshkpour and Estevam Hruschka, “Large Language Models Sensitivity to The Order
of Options in Multiple-Choice Questions,” Jan. 2024, doi:
https://doi.org/10.18653/v1/2024.findings-naacl.130.
[21] D. Maksymenko, N. Saichyshyna, M. Paprzycki, M. Ganzha, O. Turuta, and M. Alhasani,
“Controllability for English-Ukrainian Machine Translation by Using Style Transfer
Techniques,” Annals of Computer Science and Information Systems, Sep. 2023, doi:
https://doi.org/10.15439/2023f895.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lewis</surname>
          </string-name>
          et al.,
          <article-title>“Retrieval-augmented generation for knowledge-intensive NLP tasks</article-title>
          ,” Vancouver, BC, Canada: Curran Associates Inc.,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>E.</given-names>
            <surname>Erdem</surname>
          </string-name>
          et al.,
          <article-title>“Neural natural language generation: A survey on multilinguality, multimodality, controllability and learning</article-title>
          ,
          <source>” J. Artif. Int. Res.</source>
          , vol.
          <volume>73</volume>
          ,
          <year>2022</year>
          , doi: https://doi.org/10.1613/jair.1.12918.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lewis</surname>
          </string-name>
          et al.,
          <article-title>“Retrieval-augmented generation for knowledge-intensive NLP tasks</article-title>
          ,” Vancouver, BC, Canada: Curran Associates Inc.,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Pang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lin</surname>
          </string-name>
          , “
          <article-title>Large language models are zero-shot text classifiers</article-title>
          ,”
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          et al.,
          <string-name>
            <surname>“</surname>
            <given-names>BART</given-names>
          </string-name>
          :
          <article-title>Denoising sequence-to-sequence pre-training for natural language generation, translation</article-title>
          , and comprehension,” D.
          <string-name>
            <surname>Jurafsky</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Chai</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Schluter</surname>
          </string-name>
          , and J. Tetreault, Eds., Association for Computational Linguistics, Jul.
          <year>2020</year>
          , pp.
          <fpage>7871</fpage>
          -
          <lpage>7880</lpage>
          . doi: https://doi.org/10.18653/v1/
          <year>2020</year>
          .acl-main.
          <volume>703</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.</given-names>
            <surname>Rajpurkar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lopyrev</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Liang</surname>
          </string-name>
          , “SQuAD:
          <volume>100</volume>
          ,000+
          <article-title>questions for machine comprehension of text,”</article-title>
          <string-name>
            <given-names>J.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Duh</surname>
          </string-name>
          , and
          <string-name>
            <given-names>X.</given-names>
            <surname>Carreras</surname>
          </string-name>
          , Eds., Association for Computational Linguistics, Nov.
          <year>2016</year>
          , pp.
          <fpage>2383</fpage>
          -
          <lpage>2392</lpage>
          . doi: https://doi.org/10.18653/v1/
          <fpage>D16</fpage>
          -1264.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D.</given-names>
            <surname>Maksymenko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Saichyshyna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Turuta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Turuta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Yerokhin</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Babii</surname>
          </string-name>
          , “
          <article-title>Improving the machine translation model in specific domains for the ukrainian language</article-title>
          ,”
          <year>2022</year>
          , pp.
          <fpage>123</fpage>
          -
          <lpage>129</lpage>
          . doi: https://doi.org/10.1109/CSIT56902.
          <year>2022</year>
          .
          <volume>10000529</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Min</surname>
          </string-name>
          et al.,
          <article-title>“Rethinking the role of demonstrations: What makes in-context learning work?</article-title>
          ,”
          <string-name>
            <given-names>Y.</given-names>
            <surname>Goldberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Kozareva</surname>
          </string-name>
          , and Y. Zhang, Eds., Association for Computational Linguistics, Dec.
          <year>2022</year>
          , pp.
          <fpage>11048</fpage>
          -
          <lpage>11064</lpage>
          . doi: https://doi.org/10.18653/v1/
          <year>2022</year>
          .emnlp-main.
          <volume>759</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>W.</given-names>
            <surname>Yin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hay</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Roth</surname>
          </string-name>
          , “
          <article-title>Benchmarking zero-shot text classification: Datasets, evaluation and entailment approach,” K. Inui</article-title>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ng</surname>
          </string-name>
          , and
          <string-name>
            <given-names>X.</given-names>
            <surname>Wan</surname>
          </string-name>
          , Eds., Association for Computational Linguistics, Nov.
          <year>2019</year>
          , pp.
          <fpage>3914</fpage>
          -
          <lpage>3923</lpage>
          . doi: https://doi.org/10.18653/v1/
          <fpage>D19</fpage>
          -1404.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Williams</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Nangia</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Bowman</surname>
          </string-name>
          , “
          <article-title>A broad-coverage challenge corpus for sentence understanding through inference</article-title>
          ,” M.
          <string-name>
            <surname>Walker</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Ji</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <surname>A</surname>
          </string-name>
          . Stent, Eds., Association for Computational Linguistics, Jun.
          <year>2018</year>
          , pp.
          <fpage>1112</fpage>
          -
          <lpage>1122</lpage>
          . doi: https://doi.org/10.18653/v1/
          <fpage>N18</fpage>
          -1101.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>