Home

Search the website

Type to search papers, projects and posts.

Esc to close / or Ctrl+K to search

All posts

· LLMs in science

I Checked 2,294 arXiv Equations for Upside-Down Fractions

Updated 11 November 2026

Some chat interfaces expose fraction text in denominator-first order when text is extracted from their rendered mathematics. Passing that flattened text to another model could cause a numerator/denominator reversal. The audit below looks for such errors in papers; it does not test whether copying from a chat caused them.

Estimates of LLM use in papers so far are based on vocabulary in abstracts and body text. Up to 17.5% of computer science abstracts showed LLM editing by early 2024,2 at least 13.5% of 2024 biomedical abstracts,3 and a majority of biomedical papers by the end of 2025.4 I wanted numbers for the equations, so I downloaded the LaTeX source of 200 arXiv papers.

Where the flip comes from

ChatGPT and several other chat interfaces render math with KaTeX. KaTeX writes each formula into the page twice: as MathML with the TeX source in an annotation, and as a visible layer of positioned boxes. The visible layer builds fractions from the bottom up, so the denominator comes first in the page text.

Text content of both layers, KaTeX 0.16.11:

FormulaMathML layerVisible layer
P=TPTP+FPP = \frac{TP}{TP+FP}P=TPTP+FPP=TP+FPTP
softmax(QK⊤dk)\mathrm{softmax}\big(\frac{QK^\top}{\sqrt{d_k}}\big)softmax(QK⊤dk)softmax(dkQK⊤)
k=Aexp⁡(−EaRT)k = A\exp\big(-\frac{E_a}{RT}\big)k=Aexp(−EaRT)k=Aexp(−RTEa)

What ends up on the clipboard depends on the browser, the app, and whether the site uses KaTeX's copy-tex extension.1 A model that only gets the visible layer can read P=TP+FPTP as (TP+FP)/TP. For precision someone would notice. For a less familiar formula, the inverted version compiles and looks normal.

Sample

Categories: cs.LG, cs.CV, cond-mat.mtrl-sci and eess.SP. Two months per year for 2021, 2023, 2024, 2025 and 2026. 2021 is before ChatGPT. For each category and month I opened a random page of the monthly listing and took the first five papers with LaTeX source under 25 MB⁠. That's 200 papers, 40 per year. One of them is a 2018 paper that appeared in a later listing, and I left it out of the year comparison.

The sources contain 6,591 display equation rows (each line of an align counts separately), 44,903 inline math spans, 5,130 \frac and 1,694 slashes. 26 papers have no display equations.

Pattern checks on all 200 papers looked for slashes followed by a product (a/bc), textbook formulas with a fixed orientation (attention scaling, precision and recall, IoU, cosine similarity, Boltzmann factors, z-scores, Adam, Bayes, Coulomb and a few others), and symbols defined as a/b in one place and b/a in another.

For the full review I took 60 papers, three per category and year, and had Claude go through every display equation with a fixed protocol. For each row it decided whether the equation, used as printed, gives something other than what the authors mean, and recorded the error type, the corrected form and the evidence in the paper. A separate pass then tried to reject each of the 189 flagged errors. 179 were kept, 3 reclassified and 7 dropped. I checked the inversions and some of the other errors by hand.

A second independent review of four papers (120 rows) found 15 rows with meaning-changing errors. 14 were the same rows as in the first review. Both reviews used the same model, so errors that model systematically misses wouldn't show up in this comparison.

I graded errors as meaning-changing (wrong sign, missing factor, wrong index) or cosmetic (visibly wrong but with only one possible reading, such as an extra closing parenthesis). The numbers below are for meaning-changing errors unless noted.

Provisional equation-error flags

The review flagged 112 of 2,294 display rows as having a meaning-changing error, or 4.9%. A paper-level bootstrap gives 3.5–6.4% conditional on those review labels. It accounts for variation between sampled papers, but not the LLM reviewer's unknown false-positive and false-negative rates. The 7.6% figure includes cosmetic flags. These are provisional audit rates rather than validated estimates of the true error prevalence.

30 of the 60 papers have none. 11 papers have errors in more than 10% of their display rows. One paper's only display equation is wrong, and another has 5 of 9 wrong.

Histogram of the share of display equations with a meaning-changing error per paper, over 60 reviewed papers: 30 papers at 0%, 4 between 0 and 2%, 1 between 2 and 5%, 14 between 5 and 10%, 6 between 10 and 20%, and 5 above 20%. 0 10 20 30 papers 30 4 1 14 6 5 0% ≤2% 2–5% 5–10% 10–20% >20% share of a paper's display equations with an error
Share of display rows flagged with a meaning-changing error, per paper (60 papers). Median 0.5%, mean 6.9%.

Error types

Failure modeFlagged instancesShareTypical case
Missing or extra term or factor3731%a normalising 1/L that isn't there
Wrong index or variable3429%current state where the next state belongs
Contradicts the paper's own definition1714%a symbol whose definition changes halfway through
Other wrong operator1614%sup for inf, min for max
Sign98%an entropy written without its minus sign
Numerator/denominator reversal11%see below
Ambiguous scope22%cosh−1 meant as 1/cosh
Brackets, dimensions22%

The 118 error instances include one numerator/denominator reversal, about 0.8%. It occurs in one of the 974 reviewed rows containing a fraction. A matrix inverse in place of a matrix belongs under wrong operators; an exponential-sign error and a reversed verbal definition are separate categories. Ambiguous slash scope is reported separately as well.

Fraction reversals and other algebraic errors

Only one of the following cases is a numerator/denominator reversal in the display-equation review. The other cases explain why the earlier, broader “inversion” count overstated this particular error type.

A 2021 signal processing paper writes a matrix as H−1K1H−1H^{-1}K_1H^{-1} where its derivation requires HK1HHK_1H⁠. The paper is from before ChatGPT.

A 2025 federated learning paper has this envelope-theorem step:

−dIdLtask=∂λ Ltask∂λ I-\frac{dI}{dL_{\text{task}}} = \frac{\partial_{\lambda}\, L_{\text{task}}}{\partial_{\lambda}\, I}

By the chain rule, the right-hand side should be the other way round. The same section swaps sup and inf twice, writes max-min for min-max, and has two inequalities pointing the wrong way. Its LaTeX source has 49 U+2010 hyphen characters and 121 inline formulas delimited with \( \) next to the usual dollar signs. Both counts are the highest among the reviewed papers.

A 2026 materials science paper weights vacancy configurations by pi∝exp⁡(ϵi/kBT)p_i \propto \exp(\epsilon_i/k_BT)⁠, where ϵi\epsilon_i is the formation energy. The following sentences say the configuration with the lowest formation energy gets nearly all vacancies, which requires exp⁡(−ϵi/kBT)\exp(-\epsilon_i/k_BT)⁠.

A 2024 machine unlearning paper defines its pruning score as forget importance divided by retain importance. The appendix calls it "the ratio of the retain importance to the forget importance."

The two ambiguous cases: a 2026 paper on stress rates writes cosh⁡−1(2α)\cosh^{-1}(2\alpha) for 1/cosh⁡(2α)1/\cosh(2\alpha)⁠, which is normally read as arcosh. A 2025 condensed matter paper has Meω/2ℏM_e\omega/2\hbar⁠, which is only correct when read left to right, while the same paper writes ℏ2k2/2M\hbar^2k^2/2M for ℏ2k2/(2M)\hbar^2k^2/(2M)⁠.

Of these papers, only the 2025 federated learning paper has the selected formatting markers in its source.

Slashes

The slash check flagged 110 slashes across the 200 papers, and I read all of them. Most are units (mJ/cm²), derivatives (dV/dλ) or sample labels (BN/WSe₂/BN). 14 papers use physics shorthand like ħ²k²/2m or Ω/2π for ħ²k²/(2m) and Ω/(2π). I didn't count those.

Four papers have a slash with unclear scope, for example Θ(l2Cnlog⁡l/αηeCp)\Theta(l^2C_n\sqrt{\log l}/\alpha\eta_e\sqrt{C_p})⁠. One is cs.LG and three are eess.SP. Three of them are from 2026.

The orientation check matched 33 textbook formulas, and all were correct. No paper defined a symbol as both a/b and b/a.

The two reviewed scope ambiguities and the one genuine fraction reversal should be kept separate from matrix inverses, sign errors and prose. The pattern checks also include inline mathematics and inspect only selected formula families, so their counts cannot be pooled with the display-equation review.

By year

YearReviewed rowsFlagged rowsPapers with any flagFormatting markersUnicode em dash\( math
20213504.0%7 of 126 of 3941
20234676.2%6 of 123 of 4021
20243023.6%7 of 128 of 4076
20255287.6%6 of 1217 of 40129
20266472.8%4 of 1215 of 40114

Flagged row rates range from 2.8% to 7.6% across the sampled years. A few long papers contribute much of that variation. With only one strict fraction reversal in the review, the sample has little power to detect a change in that error type over time.

The last three columns count all available source papers per year. The formatting-marker flag checks Unicode em dashes, U+2010, U+2011, U+202F, or more than five inline formulas in \( \)⁠. It is already present in 6 of 39 papers from 2021, before ChatGPT. These are ordinary typesetting choices and cannot identify whether a paper used an LLM.

Typical LLM words (delve, intricate, showcasing, underscores and similar) have a median of 3.6 per 10,000 words in 2024 and 1.5 in 2026.

The 15 reviewed papers with a formatting-marker flag have a pooled error rate of 7.7% and a per-paper mean of 6.1%. The other 45 have 4.2% and 7.2%. The Spearman correlation between LLM word rate and error rate is −0.03.

Limitations

  • 60 reviewed papers and one strict numerator/denominator reversal provide little information about that error's prevalence or trend.
  • The reviewer is an LLM with unknown precision and recall. Repeating the review with the same model can preserve correlated mistakes; partial manual checking does not estimate either rate.
  • Inline math was only covered by the pattern checks.
  • I used the arXiv source, not the published version.
  • Four categories. Theory-heavy fields probably have more equations per paper.
  • The data doesn't show why a given equation is wrong.
  • I'm not linking the individual papers.

The audit suggests that equation checking deserves attention, with 112 meaning-changing row flags requiring validation and one strict fraction reversal among them. Establishing a clipboard contribution would need a controlled copy–paste experiment across interfaces, followed by blinded human adjudication. This dataset cannot attribute an error to that mechanism or establish a historical trend.

Sources

  1. KaTeX contributors. "copy-tex extension." github.com/KaTeX/KaTeX
  2. Liang, W., et al. "Mapping the Increasing Use of LLMs in Scientific Papers." 2024. arXiv:2404.01268
  3. Kobak, D., González-Márquez, R., Horvát, E.-Á., Lause, J. "Delving into LLM-assisted writing in biomedical publications through excess vocabulary." Science Advances⁠, 2025. arXiv:2406.07016
show all 4 referencesshow fewer references
  1. Holzwarth, L., González-Márquez, R., Kobak, D. "Most biomedical publications show signs of LLM-assisted writing." 2026. arXiv:2608.10715

What should I call you?

Choose a display name for your comments. No email or account signup.

Your commenting identity

Use at least 12 characters. You’ll need this passphrase to restore the file.