Pith. sign in

REVIEW 1 cited by

A Two-Sample Test of Text Generation Similarity

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2505.05269 v1 pith:THG3XM5W submitted 2025-05-08 stat.ML cs.LG

classification stat.MLcs.LG
keywords testtextdataproposeddocumentsentropysimilaritytextual
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

The surge in digitized text data requires reliable inferential methods on observed textual patterns. This article proposes a novel two-sample text test for comparing similarity between two groups of documents. The hypothesis is whether the probabilistic mapping generating the textual data is identical across two groups of documents. The proposed test aims to assess text similarity by comparing the entropy of the documents. Entropy is estimated using neural network-based language models. The test statistic is derived from an estimation-and-inference framework, where the entropy is first approximated using an estimation set, followed by inference on the remaining data set. We showed theoretically that under mild conditions, the test statistic asymptotically follows a normal distribution. A multiple data-splitting strategy is proposed to enhance test power, which combines p-values into a unified decision. Various simulation studies and a real data example demonstrated that the proposed two-sample text test maintains the nominal Type one error rate while offering greater power compared to existing methods. The proposed method provides a novel solution to assert differences in document classes, particularly in fields where large-scale textual information is crucial.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Large Language Models for Statistical Inference: Context Augmentation with Applications to the Two-Sample Problem and Regression

    stat.ME 2025-06 conditional novelty 7.0 of 10

    Context augmentation uses LLM-generated contexts as latent variables to enable frequentist two-sample tests and text-on-text regression with claimed asymptotic guarantees.

Pith tools