<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Ismail’s Threshold Theory to Master Perplexity AI</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>A Mageed</surname><given-names>Ismail</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<aff id="aff1">AIMMA, IEEE, IAENG, School of Computer Science, AI, and Electronics, Faculty of engineering and Digital, Technologies, ‎University of Bradford, United Kingdom.</aff>
</contrib-group>
<abstract><p>Undoubtedly, there is a potential impact of Large Language Models (LLMs) like ChatGPT on revolutionizing information retrieval and knowledge discovery, particularly in the context of the vast amount of electronic material available. On another strong note, the current work offers a first time ever mathematical approach to accurately fine- tune perplexity AI, which sets a giant step ahead towards accuracy of the next generations AI. Having started this world- leading discovery, the upper and lower bounds of perplexity AI, namely UBPerplexity AI LBPerplexity AI, respectively, are obtained for the first time.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Perplexity</kwd><kwd>AI</kwd><kwd>ChatGPT</kwd><kwd>Entropy</kwd><kwd>Natural language processing</kwd><kwd>Increasing decreasing test</kwd><kwd>Threshold</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1"><label>1</label><title>Introduction</title>
<p>This hot burning topic needs more exploration, especially, when we investigate the evaluation of two versions of ChatGPT, which would reveal that they still lack the ability to handle the intricacies of complex topics due to limited access to the entire scientific literature. However, they will soon be valuable for assisting scientists in surveys, literature reviews, and teaching <xref ref-type="bibr" rid="ref-1">[1]</xref>.</p>
<p>Entropy <xref ref-type="bibr" rid="ref-2">[2]</xref> as a powerful tool of fine-tuning uncertainty can efficiently impact ChatGPT-4’s advancement including other futuristic ChatGPT forms. For example, to improve the accuracy of the generated thoughts, there are some proposed filtering them based on uncertainty, such as answer entropy, which measures the uncertainty of the answers, and filters out thoughts with higher uncertainty, so filtering by answer entropy leads to slightly higher accuracy compared to filtering by the number of consistent paths used in previous work.</p>
<p>Perplexity <xref ref-type="bibr" rid="ref-3">[3]</xref> is a statistical metric used in Natural Language Processing (NLP) to measure how well a Language Model (LM) predicts a sample. A lower perplexity score indicates that the LM is more accurate and confident in its predictions.</p>
<p>In NLP, encoding refers to representing text as numerical vectors, which can be used as input for machine learning models. Embeddings capture the relationships between words or phrases in a text corpus. Entropy can steer the advancement of both existing and futuristic ChatGPT to higher levels of accuracy. Based on my world-leading mathematical discovery, Perplexity AI, can be fine-tuned through obtaining entropic thresholds corresponding to perplexity expression.</p>
<p>Notably, Shannonian entropic formula, will be the very basic to target, then taking a higher-level step ahead, my innovative entropy formula, namely, Ismail’s second entropy <xref ref-type="bibr" rid="ref-4">[4]</xref>, will provide a novel link between Entropy Theory, Statistical Mechanics, and AI. My lecture will travel through a visionary spotlight to employing another three entropies in the literature, under my name, Ismail’s entropy 1,3, and 4 <xref ref-type="bibr" rid="ref-5">[5–7]</xref>.</p>
<p>My innovative mathematical approach has the great potential to steer AI into a higher level of accuracy, which will be highly influential to be applied to all fields of human knowledge. In 2020, the development of LLMs like GPT-3 marked progress towards Artificial General Intelligence (AGI), capable of performing various intellectual tasks <xref ref-type="bibr" rid="ref-8">[8]</xref>.</p>
<p>Open AI introduced ChatGPT in 2022, an AI chatbot that generates coherent sentences by analyzing patterns in text data, impacting industries like publishing, education, and science. Despite its utility as a tool, concerns arise regarding ChatGPT&apos;s potential for errors in providing accurate information <xref ref-type="bibr" rid="ref-8">[8]</xref>, leading to discussions on its role in scientific authorship and the need for appropriate disclosure in research publications.</p>
<p>A new type of hack has been discovered <xref ref-type="bibr" rid="ref-9">[9]</xref> that exploits LLMs by using adversarial suffixes to manipulate them into generating dangerous responses. These hacks can trick LLMs like GPT-2 into providing detailed instructions for creating explosives, planning criminal activities, or generating offensive content. By assessing the perplexity <xref ref-type="bibr" rid="ref-9">[9]</xref> of queries with adversarial suffixes, researchers found that these queries have very high perplexity values, leading to the development of a detection method using Light-GBM trained on perplexity and token length to identify and prevent such attacks effectively.</p>
<p>A new type of hack has been discovered that exploits LLMs by using adversarial suffixes to manipulate them into generating dangerous responses. These hacks can trick LLMs like GPT-2 into providing detailed instructions for creating explosives, planning criminal activities, or generating offensive content.</p>
<p>By assessing the perplexity of queries with adversarial suffixes, researchers <xref ref-type="bibr" rid="ref-10">[10]</xref> found that these queries have very high perplexity values, leading to the development of a detection method using Light-GBM trained on perplexity and token length to identify and prevent such attacks effectively.</p>
<p>In the research, two datasets of adversarial prompts were used, with the first dataset containing 1407 machine-generated prompts created following a specific methodology outlined in a previous study by <xref ref-type="bibr" rid="ref-10">[10]</xref>.</p>
<p>The prompts were generated using the Vicuna-7b-1.5 model and the &quot;individual&quot; GCG method, focusing on harmful behaviors. Each prompt was initialized with a default starter suffix of 20 exclamation marks, and the generation process required significant computational resources, as showcased by figure <xref ref-type="bibr" rid="ref-10">[10]</xref>.</p>
<fig id="fig1"><label>Figure 1</label><caption><p>A descriptor of the analysis of adversarial prompts based on a specific study by [10].</p></caption><graphic xlink:href="https://masi.reapress.com/public/journals/1/jats-figures/51/fig-1-ea30b1031f8a.png"/></fig>
<p>It highlights that the generated adversarial attacks have high perplexity values, with different clusters identified based on perplexity levels. The green cluster represents attacks with a low perplexity below 18, the red cluster includes prompts with a higher perplexity above 400, and the yellow cluster contains prompts with perplexity values in between. The authors of <xref ref-type="bibr" rid="ref-11">[11]</xref> have thoroughly using perplexity, a measure of how well a LM predicts the next word in a sequence, to debunk misinformation in an unsupervised manner, particularly during fast-evolving events like the COVID-19 outbreak. By leveraging the higher perplexity of misinformation compared to truthful statements <xref ref-type="bibr" rid="ref-11">[11]</xref>, the proposed method involves extracting evidence, priming a LM, and evaluating claims based on perplexity scores to effectively debunk false information. The approach is empirically validated using COVID-19-related test sets and aims to encourage further research in combating misinformation across various topics.</p>
<p>The proposed approach involves using a LM to debunk false claims by providing it with evidence related to the claims and then assessing the perplexities during the debunking process. This method aims to leverage the LMs ability to analyze and evaluate the validity of various statements by measuring the perplexity values, which indicate the model&apos;s level of uncertainty or confusion regarding the information provided. By utilizing this approach, researchers can potentially identify and refute misinformation or false assertions more effectively. This is illustrated by <xref ref-type="fig" rid="fig2">Fig. 2</xref> <xref ref-type="bibr" rid="ref-11">[11]</xref>.</p>
<fig id="fig2"><label>Figure 2</label><caption><p>Proposed approach of using the LM as a debunker.</p></caption><graphic xlink:href="https://masi.reapress.com/public/journals/1/jats-figures/51/fig-2-29bb45200b6e.png"/></fig>
<p>Following <xref ref-type="bibr" rid="ref-12">[12]</xref>, there is a great emphasis on the importance of ensuring that a LM has accurate and relevant evidence before evaluating claims, especially for emerging events. This highlights <xref ref-type="bibr" rid="ref-10">[10]</xref> two main approaches for obtaining evidence in fact-checking tasks: using structured knowledge bases like Wikipedia and knowledge graphs or extracting evidence directly from unstructured online data. The authors of <xref ref-type="bibr" rid="ref-10">[10]</xref> aimed to combine these approaches by extracting evidence from unstructured data while filtering out noise to enhance the quality of evidence used in their work.</p>
<p>In the context of the debunking system <xref ref-type="bibr" rid="ref-11">[11]</xref>, the threshold, denoted as th, can be adjusted to control the system&apos;s strictness. Lowering the threshold reduces False Negative (FN) errors, which are considered more critical, but this adjustment may lead to an increase in False Positive (FP) errors. Finding a balance between FN and FP frequencies <xref ref-type="bibr" rid="ref-11">[11]</xref> by selecting an appropriate threshold is crucial for achieving a more balanced and effective debunking system in real-world applications, which can be illustrated by <xref ref-type="fig" rid="fig3">Fig. 3</xref> <xref ref-type="bibr" rid="ref-11">[11]</xref>.</p>
<fig id="fig3"><label>Figure 3</label><caption><p>Trend of FN and FP counts over varying threshold.</p></caption><graphic xlink:href="https://masi.reapress.com/public/journals/1/jats-figures/51/fig-3-188c9294ec2b.png"/></fig>
<p>The current work reads: 1) Introduction, 2) Crosswords between perplexity ai, and shannonian entropy, 3) Results and experimental validation, and 4) Conclusion, open problems, and next research phase.</p>
<p>The current paper contributes to:</p>
<p>I. The provision of a first time ever mathematical approach to accurately fine tune perplexity AI.</p>
<p>II. Obtaining both upper and lower bounds of perplexity AI, namely UBPerplexity AI, LBPerplexity AI, respectively, are obtained for the first-time ever III. The provision of some emerging open problems.</p>
</sec>
<sec id="sec-2"><label>2</label><title>Crossroads between Perplexity AI, and Shannonian Entropy</title>
<p>When assessing LMs, one popular statistic to utilize is ambiguity <xref ref-type="bibr" rid="ref-13">[13]</xref>. Consider the built-in metric of perplexity in scikit-learn&apos;s implementation of the topic-modelling algorithm Latent Dirichlet Allocation. In numerous Natural Language challenges, a common configuration <xref ref-type="bibr" rid="ref-13">[13]</xref> is to have a language L and aim to coSnstruct a model M for it. A particular genre or corpus, such as English Wikipedia, Nigerian Twitter, or Shakespeare, or (at least conceptually) a general term, such as French, could constitute the language.</p>
<p>Specifically <xref ref-type="bibr" rid="ref-13">[13]</xref>, by a language L, we mean a process for generating text. Given a history h consisting of a series of previous words in a sentence, the language L is the probability that the next word is w, as prescribed by Eq. (1).</p>
<p>h a series of words(w1, w2, … , wn−1),</p>
<p>L(w|h) = Prob(next word is w|previous words are h), (1)</p>
<p>A LM is a collection of probaility distributions.</p>
<p>If L is English, for instance, I&apos;m ready to bet that:</p>
<p>I. L(dog | The swift brown fox leaps over the slow brown) ≈ 1.</p>
<p>II. L(ipsum | Lorem) ≈ 1.</p>
<p>III. L(wings | Buffalo buffalo buffalo Buffalo buffalo) ≈ 0.</p>
<p>In response to Eq. (2).</p>
<p>L(s) = L(w1|w0) × L(w2|w0w1) … × (wn|w0w1 … wn−1) = L(wk|w0w1 … wk−1). (2)</p>
<p>The language L gives the probability of a sentence s.</p>
<p>Nonetheless, it is typical practice to omit the product&apos;s initial phrase as well, or even to utilize an even longer beginning context <xref ref-type="bibr" rid="ref-13">[13]</xref>.Obtaining an impeccable imitation of L in, instance, spoken American English is surprisingly simple. Simply signal any person who is fluent in English as they pass by. Typically, our goal is to teach the model to a computer, which is why machine learning was created. Thus, M will represent any LM that we have been able to construct computationally. This configuration, comprising of a language L and a model M, is highly versatile and is utilised in numerous Natural Language jobs such as speech-to-text, autocorrection, autocomplete, machine translation, and so forth.</p>
<p>Given the words someone has entered so far, autocomplete is the most obvious example; pick the completion with the highest probability and try to estimate what they could type next.</p>
<p>Eventually <xref ref-type="bibr" rid="ref-13">[13]</xref>, if given a model M, the perplexity on a sentence s, reads by Eq. (3).</p>
<p>Perplexity(M) = (∏ ( )) . (3) M(wk|w0w1 … wk−1)</p>
<sec id="sec-3"><label>2.1</label><title>Perplexity of a Language Model M</title>
<p>This is the opposite of the geometric- mean of the terms in the product&apos;s denominator, as the second line makes clear. This can be understood as a per-word metric since the likelihood of each word is only computed once, contingent upon history. This indicates that sentence length has no bearing on the level of bewilderment, other things being equal.</p>
<p>We want our odds to be high, which means less confusion. The perplexity would be 1 and the model would accurately predict the text if all the probability were 1. Conversely, there will be more confusion with worse LMs.</p>
<p>The language itself sets a lower bound on bewilderment. However, this highlights a typical aspect of NLP metrics: a simple metric, such as perplexity, may not always be the best indicator of a model&apos;s actual performance. For development (validation), confusion is beneficial, but not always for evaluation. Human evaluation is still considered the gold standard in evaluation.</p>
</sec>
<sec id="sec-4"><label>2.2</label><title>Entropy</title>
<p>While entropy is a difficult notion in physics, information theory makes sense of it very easily. Assume you have a procedure (e.g., a word-generating language L). There is a chance p that the event or the thing that happened was going to happen at every stage of the process. The unexpected number is −log(p), where you can take the logarithm in any base by altering the units. Events with little likelihood are highly surprising. There are zero surprises in events that were expected to occur (p = 1). Unfeasible events (p = 0) have infinite surprise.</p>
<p>The expected value of the surprise over all potential events, indexed by i, is known as the entropy, namely, H(p), as in Eq. (4):</p>
<p>H(p) = − ∑ pi lnpi.</p>
</sec>
<sec id="sec-5"><label>2.3</label><title>Relationship between Perplexity and Entropy</title>
<p>Now all that remains to do is show the relationship between the two. Assuming we took the logarithm in base e, following Eq. (5):</p>
<p>H(L,M)</p>
<p>Perplexity (M) = e . (5)</p>
<p>If we took the logarithm in base 2, use 2 for the base, etc. In summary, therefore:</p>
<p>I. We construct a LM M for the real language, L, that is producing the data.</p>
<p>II. We calculate M′s (with respect to L) perplexity or, equivalently, cross-entropy.</p>
<p>III. The actual language L′s perplexity limits M′s perplexity below (see, cross-entropy).</p>
<p>How random our model is is measured by the perplexity. If each word has a perplexity of 3, it indicates that the model&apos;s average chance of correctly predicting the next word in the text was one in three. It is occasionally referred to as the average branching factor for this reason.</p>
</sec>
<sec id="sec-6"><label>2.4</label><title>Key Features and Advantages</title>
<p>Accuracy: perplexity AI delivers high accuracy rates and can be fine-tuned <xref ref-type="bibr" rid="ref-14">[14]</xref>.</p>
<p>Efficiency: the platform offers several NLP features, making it an efficient and reliable way to find information quickly <xref ref-type="bibr" rid="ref-16">[15]</xref>.</p>
<p>User-friendly interface: perplexity AI is easy to use and navigate, with a clean and well-designed interface <xref ref-type="bibr" rid="ref-17">[16]</xref>, <xref ref-type="bibr" rid="ref-18">[17]</xref>.</p>
<p>Credibility: the platform provides citations for the information it returns, allowing users to verify the reliability of the information <xref ref-type="bibr" rid="ref-19">[18]</xref>.</p>
<p>Real-time information: Perplexity AI can provide real-time information, outperforming other AI chatbots like ChatGPT <xref ref-type="bibr" rid="ref-20">[19–21]</xref>.</p>
</sec>
<sec id="sec-7"><label>2.5</label><title>Limitations</title>
<p>Perplexity AI’s limitations include its sensitivity to the specific test set used, which may not always provide a consistent evaluation of its performance <xref ref-type="bibr" rid="ref-16">[15]</xref>. Additionally, while it can sometimes generate incorrect answers, it makes it easy for users to check the sources themselves <xref ref-type="bibr" rid="ref-17">[16]</xref>.</p>
<p>The threshold approach is pivotally based on the derivative test, where increasability phase exists for regions of positive derivatives, while decreasability exists in negative derivative zones, as shown by figure <xref ref-type="bibr" rid="ref-20">[19]</xref>. Notably, this is the cornerstone of this current work, namely the Increasing/Decreasing Test (IDT).</p>
<fig id="fig4"><label>Figure 4</label><caption><p>Increasing and decreasing test.</p></caption><graphic xlink:href="https://masi.reapress.com/public/journals/1/jats-figures/51/fig-4-cc6f7c133cc1.png"/></fig>
</sec>
</sec>
<sec id="sec-8"><label>3</label><title>Results and Experimental Validation</title>
<p>Theorem 1. The shannonian perplexity AI, namely, as in Eq. (6):</p>
<p>H(p(n) N</p>
<p>ωb(p(n)) = b , H(p(n)) = − ∑n=1 p(n)lnp(n), b ≥ 2. (6)</p>
<p>I. Increases forever in a fine tuner, say λ if and only if ∃ λ &gt; 0 satisfying Eq. (7):</p>
<p>−(λ+1) (λ+1)</p>
<p>p(n) = e , ωb(p(n)) = b ,</p>
<p>λ = −lnp(n) − 1, p(n) ∈ [0,1], H(0) = 0.</p>
<p>II. Decreases forever in ρ if and only if ∃ ρ &gt; 0 satisfying Eq. (8):</p>
<p>(ρ−1) (1−ρ)</p>
<p>p(n) = e , ωb(p(n)) = b , ρ = lnp(n) + 1,</p>
<p>p(n) ∈ [0,1], H(0) = 0.</p>
<p>Proof: let ω(x), defines Shannonian perplexity AI, following Eq. (9):</p>
<p>H(p(n))</p>
<p>ωb(p(n)) = b ,</p>
<p>H(p(n)) defines the Shannoian entropy of ( Eq.(4)). (9)</p>
<p>This implies Eq. (10).</p>
<p>H(p(n)) = − ∑n=1 p(n)lnp(n). (10)</p>
<p>Hence, by Eq. (11):</p>
<p>dωb H(p(n)) N</p>
<p>= b (− ∑n=1(1 + lnp(n))).</p>
<p>dp(n) (11)</p>
<p>Communicating (11), and IDT, one gets Eq. (12):</p>
<p>dωb H(p(n)) N</p>
<p>&gt; 0 ⟺ b (− ∑n=1(1 + lnp(n)))lnb &gt; 0.</p>
<p>dp(n) (12)</p>
<p>H(p(n))</p>
<p>Since b &gt; 0, we have Eq. (13).</p>
<p>dωb</p>
<p>&gt; 0 ⟺ 1 + lnp(n) &lt; 0. (13)</p>
<p>dp(n)</p>
<p>1 + lnp(n) &lt; 0 translates to the existence of a positive real number, say λ, satisfying Eq. (14).</p>
<p>1 + lnp(n) = −λ . (14)</p>
<p>Or, this provides Eq. (15),</p>
<p>−(λ+1)</p>
<p>p(n) = e . (15)</p>
<p>The normalization property implies Eq. (16):</p>
<p>∑n=1 p(n) = 1. (16)</p>
<p>Eq. (7) and Eq. (16) we can obtain Eq. (17):</p>
<p>−(λ+1) (λ+1)</p>
<p>Ne = 1 → N = e . (17)</p>
<p>Eq. (17) translates to Eq. (18):</p>
<p>λ = ln N − 1. (18)</p>
<p>Wrapping up Eqs. (9), (15),(17), and (18) yields Eq. (19):</p>
<p>N −(λ+1) −(λ+1)</p>
<p>H(p(n)) −(∑n=1 e (−(λ+1))) (λ+1)Ne (λ+1)</p>
<p>ωb(λ) = b = b = b = b . (19)</p>
<p>Moreover,</p>
<p>dωb</p>
<p>H(p(n))</p>
<p>&lt; 0 ⟺ b (− ∑(1 + lnp(n))) &gt; 0. (20) dp(n)</p>
<p>Eq. (20) holds only if ∃ a positive real number ρ, such that, Eq. (21) holds:</p>
<p>1 + lnp(n) = ρ. (21)</p>
<p>Engaging the same logic as in (I), the proof of (II) follows.</p>
</sec>
<sec id="sec-9"><title>Experimental setup</title>
<p>The increasability zones, let b = 2.</p>
<fig id="fig5"><label>Figure 5</label><caption><p>The increasability zones of perplexity AI, for = .</p></caption><graphic xlink:href="https://masi.reapress.com/public/journals/1/jats-figures/51/fig-5-ef73d6496d6c.png"/></fig>
<p>Observing <xref ref-type="fig" rid="fig5">Fig. 5</xref>, it can be seen perplexity AI increases by the progressive increase of the fine tuner, λ. Equationally, we can see that Eq. (22), will follow:</p>
<p>(λ+1)</p>
<p>lim ωb(λ) = lim 2 = ∞.</p>
<p>λ→∞ λ→∞ (22)</p>
<p>On another separate note, reading the represented data of <xref ref-type="table" rid="tab1">Table 1</xref>, b = 2, the only permitted case, is for ρ = 1, otherwise, this violates the axiomatic probability logic.</p>
<table-wrap id="tab1"><label>Table 1</label><caption><p>Data showcasing the impossibility of existing zones of decreasability.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:8:66,307,537.1,382.9"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Theorem 2. The upper and lower bounds of Shannonian perplexity AI, UBPerplexity AI , LBPerplexity AI, respectively, are given by the following inequality Eq. (23) holds:</p>
<p>(n+H(p(n))</p>
<p>H(p(n) UBPerplexity AI = (1 + ) &gt; ω(p(n)) &gt; H(p(n) = LBPerplexity AI. (23)</p>
<p>H(p(n)) = − ∑ p(n)lnp(n).</p>
<p>Proof: following Taylor’s expansion of the exponential function, e , for x &gt; 0, Eq. (24) holds:</p>
<p>e = ∑ ( ) &gt; x. (24)</p>
<p>Moreover, engaging Lehmer’s inequality <xref ref-type="bibr" rid="ref-20">[19]</xref>, inequality Eq. (25) holds x x 2</p>
<p>e ≤ (1 + ) , for x, n &gt; 0. (25)</p>
<p>Since, inequality Eq. (26) is always true,</p>
<p>( ) (x+n) x 2 x</p>
<p>(1 + ) &lt; (1 + ) holds for all x, n &gt; 0. (26)</p>
<p>Setting x = H(p(n)), the proof follows.</p>
<p>Mathematically speaking, for all b ≥ 2, it holds by Eq. (27), that</p>
<p>(λ+1)</p>
<p>lim ωb(λ) = lim b = ∞.</p>
<p>λ→∞ λ→∞ (27)</p>
<p>Accordingly, Eq. (27) motivates the visual validation on how the base, namely, b ≥ 2 influences the increasability phases of ωb(λ), which declares the significant impact of that choice of base. This can be seen from <xref ref-type="fig" rid="fig3">Fig. 3</xref>.</p>
<fig id="fig6"><label>Figure 6</label><caption><p>Weighing the base choices.</p></caption><graphic xlink:href="https://masi.reapress.com/public/journals/1/jats-figures/51/fig-6-e79ebd9eac7b.png"/></fig>
<p>As observed from <xref ref-type="fig" rid="fig6">Fig. 6</xref>, ωb(λ) drastically increases by the progressive increase of the base, b ≥ 2. This clarifies the significance of b ≥ 2, on the mathematical configuration of perplexity AI.</p>
</sec>
<sec id="sec-10"><label>4</label><title>Closing Remarks with Next Phase of Research</title>
<p>The current influential work showcases for the first time ever the fine-tuning of AI, is revealed by using a novel revolutionary mathematical approach. The analytic findings are validated numerically. Notably, the upper and lower bounds of Perplexity AI are calculated.</p>
<p>The following are some emerging open problems:</p>
<p>I. The limitations <xref ref-type="bibr" rid="ref-9">[9]</xref> suggest that more diverse data representing real interactions with LM Models (LLMs) would be beneficial for better analysis. Additionally, the use of the default attack algorithm as a black box and the reliance on GPT-2 for perplexity measurements may introduce biases that could change with further training or different algorithms. These limitations emphasize the need for caution and further exploration in the evaluation of machine-generated adversarial attacks.</p>
<p>II. The work in <xref ref-type="bibr" rid="ref-11">[11]</xref> has discussed areas for improvement in a LM debunker by analyzing wrongly predicted samples, through highlighting possible challenges such as high perplexity for true claims with abnormal sentence structures and mistakes in refuting false claims by negating the paraphrased content. This triggers an open , yet unsolved till current, which is the feasibility of exploring ways to differentiate perplexity as a measure of sentence quality from a falseness indicator and improving the handling of special linguistic features like negation in evidence selection.</p>
<p>III. Assuming other media, such as Twitter or Spoken English, and other languages, such as Russian, the true entropy of written English text remains undetermined.</p>
<p>IV. Can we replace H(x), by other entropies, such as Rényi, Tsallis, or ℤ- entropies to fine tune the perplexity?</p>
<p>The question is still open.</p>
<p>V. Is it feasible to calculate strict upper and lower bounds for perplexity AI?</p>
<p>VI. How can we analytically fine tune ωb(λ) (Eq. (6) of Theorem 1) from a mathematical threshold perspective?</p>
<p>The question is still unsolved.</p>
<p>The next phase of research includes attempting to solve the proposed complex-still-open to solve problems, as well as the exploration of more unprecedented innovative mathematical techniques to advance AI.</p>
</sec>
<sec id="sec-11"><title>Author Contributions</title>
<p>Ismail A. Mageed: Conceptualization, methodology, mathematical modeling, writing – original draft, review &amp; editing.</p>
</sec>
<sec id="sec-12"><title>Funding</title>
<p>This research was self-funded and did not receive any external financial support.</p>
</sec>
<sec id="sec-13"><title>Data Availability</title>
<p>The data supporting the findings of this study can be made available upon reasonable request from the</p>
</sec>
<sec id="sec-14"><title>Conflicts of Interest</title>
<p>The author declares no conflicts of interest regarding this publication.</p>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>Pimentel, A., Wagener, A., da Silveira, E. F., Picciani, P., Salles, B., Follmer, C., &amp; Oliveira Jr, O. N. (2023). Challenging ChatGPT with chemistry-related subjects. ChemRxiv, 1–13. <ext-link ext-link-type="uri" xlink:href="https://chemrxiv.org/engage/api-gateway/chemrxiv/assets/orp/resource/item/646d22f3b3dd6a65309f5119/original/challenging-chat-gpt-with-chemistry-related-subjects.pdf">https://chemrxiv.org/engage/api-gateway/chemrxiv/assets/orp/resource/item/646d22f3b3dd6a65309f5119/original/challenging-chat-gpt-with-chemistry-related-subjects.pdf</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Li, X., &amp; Qiu, X. (2023). Mot: Memory-of-thought enables chatgpt to self-improve. ArXiv Preprint ArXiv:2305.05181. <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2305.05181">https://arxiv.org/abs/2305.05181</ext-link></mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Vasilatos, C., Alam, M., Rahwan, T., Zaki, Y., &amp; Maniatakos, M. (2023). Howkgpt: investigating the detection of chatgpt-generated university student homework through context-aware perplexity analysis. ArXiv Preprint ArXiv:2305.18226.</mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Mageed, I. A. (2023). Fractal dimension (DF) theory of ismail’s second entropy (HQI) with potential fractal applications to chatgpt, distributed ledger technologies (DLTS) and image processing (IP). 2023 international conference on computer and applications (ICCA) (pp. 1–6). IEEE. ( )</mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Mageed, I. A. (2023). Fractal dimension (DF) of ismail’s fourth entropy (h iv q, a 1, a 2,.., a k ) with fractal applications to algorithms, haptics, and transportation. 2023 international conference on computer and applications (ICCA) (pp. 1–6). IEEE. <ext-link ext-link-type="uri" xlink:href="https://ieeexplore.ieee.org/abstract/document/10401780/">https://ieeexplore.ieee.org/abstract/document/10401780/</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Mageed, I. A., &amp; Zhang, Q. (2022). An information theoretic unified global theory for a stable m/g/1 queue with potential maximum entropy applications to energy works. 2022 global energy conference (GEC) (pp. 300– 305). IEEE. <ext-link ext-link-type="uri" xlink:href="https://ieeexplore.ieee.org/abstract/document/9986719/">https://ieeexplore.ieee.org/abstract/document/9986719/</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Mageed, I. A., &amp; Bhat, A. H. (2022). Generalized Z-Entropy (Gze) and fractal dimensions. Appl. math, 16(5), 829–834. <ext-link ext-link-type="uri" xlink:href="https://www.academia.edu/download/90028778/160517.pdf">https://www.academia.edu/download/90028778/160517.pdf</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Goto, A., &amp; Katanoda, K. (2023). Should we acknowledge ChatGPT as an author? Journal of epidemiology, 33(7), 333–334.</mixed-citation></ref>
<ref id="ref-9"><label>9</label><mixed-citation>Alon, G., &amp; Kamfonas, M. (2023). Detecting language model attacks with perplexity. ArXiv Preprint ArXiv:2308.14132.</mixed-citation></ref>
<ref id="ref-10"><label>10</label><mixed-citation>Zou, A., Wang, Z., Carlini, N., Nasr, M., Kolter, J. Z., &amp; Fredrikson, M. (2023). Universal and transferable adversarial attacks on aligned language models. ArXiv Preprint ArXiv:2307.15043.</mixed-citation></ref>
<ref id="ref-11"><label>11</label><mixed-citation>Lee, N., Bang, Y., Madotto, A., &amp; Fung, P. (2020). Misinformation has high perplexity. ArXiv Preprint ArXiv:2006.04666.</mixed-citation></ref>
<ref id="ref-12"><label>12</label><mixed-citation>Vigdor, N. (2020). Man fatally poisons himself while self-medicating for coronavirus, doctor says. The new york times, 24. <ext-link ext-link-type="uri" xlink:href="https://www.nytimes.com/2020/03/24/us/chloroquine-poisoning-coronavirus.html">https://www.nytimes.com/2020/03/24/us/chloroquine-poisoning-coronavirus.html</ext-link></mixed-citation></ref>
<ref id="ref-13"><label>13</label><mixed-citation>Mageed, I. A. (2024). Masterminding the giant: shannonian entropic threshold perplexity AI. Preprints, 1–8. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.20944/preprints202405.1274.v1">https://doi.org/10.20944/preprints202405.1274.v1</ext-link></mixed-citation></ref>
<ref id="ref-14"><label>14</label><mixed-citation>Mageed, I. A., &amp; Zhang, Q. (2023). Threshold theorems for the tsallisian and rényian (TR) cumulative distribution functions (CDFs) of the Heavy-tailed stable M/G/1 queue with tsallisian and rényian entropic applications to satellite images (SIs). Electronic journal of computer science and information technology, 9(1), 41–</mixed-citation></ref>
<ref id="ref-15"><label>47</label><mixed-citation><ext-link ext-link-type="uri" xlink:href="https://ejcsit.uniten.edu.my/index.php/ejcsit/article/view/161">https://ejcsit.uniten.edu.my/index.php/ejcsit/article/view/161</ext-link></mixed-citation></ref>
<ref id="ref-16"><label>15</label><mixed-citation>Gravina, A. G., Pellegrino, R., Palladino, G., Imperio, G., Ventura, A., &amp; Federico, A. (2024). Charting new AI education in gastroenterology: cross-sectional evaluation of ChatGPT and perplexity AI in medical residency exam. Digestive and liver disease, 56(8), 1304–1311. <ext-link ext-link-type="uri" xlink:href="https://www.sciencedirect.com/science/article/pii/S1590865824003025">https://www.sciencedirect.com/science/article/pii/S1590865824003025</ext-link></mixed-citation></ref>
<ref id="ref-17"><label>16</label><mixed-citation>Uppalapati, V. K., &amp; Nag, D. S. (2024). A comparative analysis of ai models in complex medical decision-making scenarios: evaluating ChatGPT, Claude AI, bard, and perplexity. Cureus, 16(1). <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.7759%2Fcureus.52485">https://doi.org/10.7759%2Fcureus.52485</ext-link></mixed-citation></ref>
<ref id="ref-18"><label>17</label><mixed-citation>Deike, M. (2024). Evaluating the performance of ChatGPT and perplexity AI in business reference. Journal of business &amp; finance librarianship, 29(2), 125–154. DOI:10.1080/08963568.2024.2317534</mixed-citation></ref>
<ref id="ref-19"><label>18</label><mixed-citation>Xu, Z., &amp; Sheng, V. S. (2024). Detecting ai-generated code assignments using perplexity of large language models [presentation]. Proceedings of the aaai conference on artificial intelligence (Vol. 38, pp. 23155–23162).</mixed-citation></ref>
<ref id="ref-20"><label>19</label><mixed-citation>Liu, X., &amp; Kong, L. (2024). AI text detection method based on perplexity features with strided sliding window. Working notes of clef, 3740, 1–6. <ext-link ext-link-type="uri" xlink:href="https://ceur-ws.org/Vol-3740/paper-261.pdf">https://ceur-ws.org/Vol-3740/paper-261.pdf</ext-link></mixed-citation></ref>
<ref id="ref-21"><label>20</label><mixed-citation>Ankner, Z., Blakeney, C., Sreenivasan, K., Marion, M., Leavitt, M. L., &amp; Paul, M. (2024). Perplexed by perplexity: perplexity-based data pruning with small reference models. ArXiv Preprint ArXiv:2405.20541. <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2405.20541">https://arxiv.org/abs/2405.20541</ext-link></mixed-citation></ref>
<ref id="ref-22"><label>21</label><mixed-citation>Fitria, T. N. (2024). Using Chatbot-based artificial intelligence (AI) for writing an english essay: the ability of ChatGPT, perplexity AI, and ChatSonic. Journal of language intelligence and culture, 6(2), 103–128. <ext-link ext-link-type="uri" xlink:href="https://jlic.uinkhas.ac.id/index.php/jlic/article/view/139">https://jlic.uinkhas.ac.id/index.php/jlic/article/view/139</ext-link></mixed-citation></ref>
<ref id="ref-23"><label>22</label><mixed-citation>Mageed, I. A., Zhang, Q., &amp; Modu, B. (2023). The linearity theorem of rényian and tsallisian maximum entropy solutions of the heavy-tailed stable M/G/1 queueing system entailed with potential queueing-theoretic applications to cloud computing and IoT. Electronic journal of computer science and information technology, 9(1), 15–23.</mixed-citation></ref>
</ref-list></back>
</article>