REVIEW 4 major objections 6 minor 14 references
Semantic Outlier Removal with Embedding Models and LLMs
T0 review · 4 major / 6 minor · reviewed 2026-08-15 · deepseek-v4-flash
Pith's one-line read SORE, a two-step embedding-based system, removes web-page boilerplate with near-LLM precision at one twenty-fifth the cost.
desk verdict SORE is a sensible, deployable system, but its central performance claim is undermined by test-set tuning and a ground truth derived from a compared baseline. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The mechanism is a cosine-distance decision rule in embedding space. A document's metadata embedding $w_m$ serves as the semantic anchor; segments nearest to $w_m$ form the core, and non-core segments are flagged when their distance from the core exceeds a threshold $d$ or they land near one of about a dozen predefined outlier groups (dates, authorship, comments, source attribution, related links, calls to action, navigation, contact, social media, legal text, page infrastructure, commercial content, and miscellaneous boilerplate). Scalability comes from precomputed HNSW indices over the outlier-group embeddings, inner-product distance on normalized vectors, batched embedding calls, and the Voyager approximate-nearest-neighbor library, which together bring per-document latency to roughly 200 milliseconds.
What would settle it
Take a random sample of about 500 documents from the SORE-LARGE corpus, have human annotators mark the true main content, and recompute F-scores for SORE, ReadabilityJS, and the LLM baselines on that subset; if SORE's advantage over ReadabilityJS shrinks or reverses against the human labels, the auto-generated ground truth was masking the true ranking.
Extended reading notes
Core claim
SORE's central claim is that a two-signal decision rule—distance to a metadata-derived core plus distance to curated outlier clusters—captures most of what an LLM does when extracting main content from HTML. The document is segmented, each segment embedded, and the top-k% of segments closest to the document's title-and-description vector become the core; every other segment is removed if it lands too close to an outlier group or too far from the core. With AWS Titan embeddings the paper reports 0.776 F-score on its large dataset versus 0.793 for the best LLM prompt, at $600 versus $15,000 per million documents and 200 ms versus 2500 ms latency, with similar margins on a smaller hand-labeled set.
Load-bearing premise
The large-scale evaluation measures SORE and ReadabilityJS against a ground truth that was itself generated with ReadabilityJS plus n-gram cleanup, so the comparison may be biased toward whatever ReadabilityJS keeps.
Editorial extensions
If this is right
- At $600 per million documents, semantic boilerplate removal becomes affordable for high-volume web crawls where LLM pricing was previously prohibitive, though the paper's cost figures assume their specific production setup and cloud pricing.
- Because SORE's removal decisions are deterministic and logged with a reason string, it enables audit trails and fine-grained tuning of outlier groups, a property stochastic LLM outputs do not provide.
- The method is language-agnostic by construction: any language covered by the embedding model is handled without additional rules, as the Chinese, French, and Spanish examples in Table 2 illustrate.
- SORE can run with open-source embedders such as e5-large, which the paper tests, so the core algorithm need not depend on commercial embedding APIs.
- The logged removal reasons support continuous refinement of outlier groups and could be repurposed for content moderation or compliance explanations in production systems.
Reading between the lines
- A natural stress test the paper does not run is to apply the same two-signal rule to paragraph-level filtering in genres with weaker metadata anchors, such as research papers or legal filings, where the metadata vector may need a fallback to the first sentences or an LLM-generated summary.
- The near-parity with LLMs suggests that boilerplate removal depends more on semantic structure than on generative reasoning; testing SORE with an LLM-written one-sentence summary as the anchor would reveal whether a stronger anchor raises the ceiling further.
- Because the outlier catalog is fixed, an adaptive variant that learns per-site outlier patterns from template repetition across a site's pages could push precision higher while reusing the same HNSW machinery.
- The cost-per-million-document comparison would likely shift if LLM prices fall or embedding prices rise; the paper's qualitative conclusion—that a cheap, deterministic semantic filter can rival LLM extraction on boilerplate—would still stand, but the exact multiple would change.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces SORE (Semantic Outlier Removal), a deterministic pipeline that removes extraneous text from HTML documents using multilingual sentence embeddings and approximate nearest-neighbor search. The method segments a document, embeds each segment, identifies a core set of segments by similarity to document metadata, and flags non-core segments that are either close to predefined outlier groups or far from the core. The authors evaluate SORE on two proprietary datasets (SORE-SMALL with roughly 200 hand-labeled documents and SORE-LARGE with roughly 20,000 automatically labeled documents), comparing against ReadabilityJS and three LLM prompting strategies. The central reported result is that SORE with AWS Titan embeddings reaches F=0.776 on SORE-LARGE versus F=0.793 for the best LLM prompt, at 25x lower cost and 12.5x lower latency. The paper also describes a production deployment and promises public release of implementation and datasets.
Significance. If the empirical claims were properly supported, SORE would be a practically valuable contribution: a transparent, deterministic, multilingual content-extraction method that approaches LLM quality at a fraction of the cost, with concrete operational advantages for large-scale web processing. The cost and latency figures, the architectural transparency, and the production deployment experience are notable strengths. However, the current evaluation has load-bearing methodological problems: hyperparameters and outlier groups appear to be selected on the same test set used for final reporting, and the large-scale ground-truth labels are partly generated by one of the baselines. These issues make the headline performance claims unverified as presented. The central idea is defensible and testable, but the evidence in this version does not establish it.
major comments (4)
- [Section 4.2.2 and Table 3] The central quantitative claim is built from parameters selected on the evaluation set. The text states that the best distance cutoff d was chosen per model family from Figure 3, which plots precision-recall curves on SORE-LARGE, and that the AWS Titan result in Table 3 uses the "optimal parameters" found there. Appendix A adds that the outlier groups were "iteratively refined based on performance metrics," and Table 4 reports keyword accuracy on the same corpus. No validation split, cross-validation, or confidence intervals are reported. The F=0.776 in Table 3 is therefore a maximum over configurations selected on the test set, and the 0.017 gap to the LLM baseline is within the range that selection effects could explain. The authors must report results on a held-out split with hyperparameters and outlier groups fixed before the main comparison is credible.
- [Section 4.1 and Table 3] The SORE-LARGE ground truth is automatically generated "using a combination of ReadabilityJS and n-gram–based content cleanup," and ReadabilityJS is also a baseline in Table 3 and Figure 3. Evaluating ReadabilityJS against a ground truth partly derived from ReadabilityJS makes the comparison circular: the reported recall of 0.988 and the relative F-scores are not an independent measure of SORE's capability. The manuscript should provide a bias analysis, manual validation of a random sample, or an independently labeled test set.
- [Abstract and Figure 3/Table 3] The abstract's claim of "near-LLM extraction precision" is not what Table 3 reports; Table 3 reports F-scores. On SORE-LARGE the LLM tag-depth baseline has precision 0.885, while the AWS Titan SORE configuration shown in Figure 3 has precision in the range of roughly 0.65–0.70. The headline claim should either report precision for SORE explicitly or be revised to "near-LLM F-score." As written, the claim is not supported by the displayed precision numbers.
- [Tables 1 and 3] No variance or confidence-interval estimates are provided for any reported metric. On SORE-SMALL, N is only about 200, yet the comparison in Table 1 reports point F-scores with no uncertainty. On SORE-LARGE, N is 20,000, but the parameter-selection issue in Section 4.2.2 makes point estimates even less interpretable. The paper should provide bootstrap confidence intervals or standard errors for the key comparisons.
minor comments (6)
- [Section 3.2] The name "V oyager" appears with an extra space; it should be "Voyager" throughout.
- [Table 1] The SORE configuration is written as "c=0.5, k=10%" but the parameter c is not defined in the main text; it appears to be the distance cutoff d, and this should be made consistent.
- [Figure 3 caption] The caption says each point represents different parameter configurations and that the best distance cutoff d is used per model family, but the axes and point labels do not show d; the figure would be clearer if the cutoff values were annotated or described.
- [Table 3] The cost for ReadabilityJS is listed as $7 per million documents, but this is an open-source library; please state what cost model is assumed for this row.
- [Appendix A.2] Several outlier keywords are duplicated or overlap across categories, e.g., "Subscribe" appears in both "Calls to Action" and "Commercial Content," and "Policy" is listed twice in "Legal Content." This is a minor presentation issue but should be cleaned for reproducibility.
- [Table 4] The column "Accuracy" is not defined in Appendix A; please specify how removal accuracy was computed and on which dataset.
Circularity Check
SORE-LARGE results are in-sample selected parameters measured against a benchmark partly generated by a compared baseline.
-
fitted input called prediction
[Section 4.2.2, Figure 3, and Table 3]
"Figure 3 shows the precision-recall trade-offs for various embedding models and parameter configurations on SORE-LARGE. Each point represents a different combination of core percentage (k) and embedder type, with the best distance cutoff (d) parameters per model family. ... The optimal parameters for the AWS Titan-based SORE were found to be 1024-dimensional embeddings, 0.8 distance cutoff, and 0.2 core percentage."
The same SORE-LARGE dataset that supplies Figure 3 is used to report Table 3. The paper states that the best distance cutoff d is chosen per model family from Figure 3 and that the Titan result uses the 'optimal parameters' found there, with no validation split or cross-validation described. Therefore the Table 3 F-score of 0.776 is a selected maximum over the parameter grid on the test set, not an unbiased estimate of SORE's performance on unseen data. The 0.017 gap to the LLM baseline is within the range that such selection can explain, so the central 'near-LLM' claim is not established by this comparison.
-
self definitional
[Section 4.1 (SORE-LARGE dataset) and Table 3]
"SORE-LARGE This dataset comprises approximately 20,000 samples with automatically extracted ground truth using a combination of ReadabilityJS and n-gram–based content cleanup."
The SORE-LARGE ground truth is itself produced with ReadabilityJS as one of its components, and the same benchmark then reports ReadabilityJS at F=0.743 in Table 3. Because the labels are defined partly by the baseline's own extraction behavior, ReadabilityJS's recall and F-score on this benchmark are partly forced by construction, and the comparison between SORE and ReadabilityJS on SORE-LARGE is not an independent test of relative quality.
1 more flagged steps
-
fitted input called prediction
[Section 3.3.3 and Appendix A]
"Each outlier group was tuned through precision-recall balancing, and our production system enables continuous refinement by logging removal decisions for ongoing improvement. The set of outliers used in this study, together with the performance analysis that SORE enables in choosing these keywords, is provided in Appendix A."
SORE's outlier phrase groups are a fitted component of the method. The paper admits they were iteratively refined based on performance metrics and presents the performance analysis used to choose them. Because the experimental section describes no separate validation set, the same evaluation data appears to drive both the selection of outlier groups and the reported F-scores. The reported numbers therefore include selection over the outlier phrase sets as well as over k and d, making them in-sample fitted values rather than independent predictions.
full rationale
The SORE algorithm itself is self-contained and is not a renamed version of a known result, and there is no load-bearing self-citation chain. The circularity is concentrated in the evaluation. First, the headline F-scores on SORE-LARGE are obtained after selecting core percentage, distance cutoff, embedding model, and even outlier groups on the same dataset on which the results are reported; the paper describes no validation split, cross-validation, or error bars. Second, the SORE-LARGE ground truth is generated using ReadabilityJS, which is also one of the baselines compared in Table 3, so that particular comparison is partially circular by construction. These two issues undermine the central quantitative claim that SORE achieves near-LLM extraction quality at lower cost, because the reported 0.776 F-score is a selected in-sample maximum and the baseline comparison is not fully independent. The score is set to 6 rather than higher because the algorithm's design and the LLM comparison are not themselves definitionally circular; the problem is that the principal performance evidence is fitted and benchmarked against a self-derived label set.
Assumptions & free parameters
free parameters (3)
- core percentage (k) =
0.2 on SORE-LARGE with AWS Titan; 0.1 with Cohere on SORE-SMALL
- distance cutoff (d) =
0.8 on SORE-LARGE with AWS Titan; 0.5 with Cohere on SORE-SMALL
- outlier group phrase sets =
Hand-curated set of roughly 100 phrases across 13 categories (Appendix A)
assumptions (3)
- domain assumption Document metadata (title and description) is available and semantically aligned with the document's main theme.
- domain assumption Pretrained multilingual embedding models provide semantically meaningful, language-agnostic representations of text segments and outlier phrases.
- ad hoc to paper The predefined outlier phrase clusters cover the irrelevant content types present in the test documents.
Cite this review
Pith. "Pith review of Semantic Outlier Removal with Embedding Models and LLMs." pith.science (2026). https://pith.science/paper/B3KF63LH
@misc{pith2026250616644,
author = {Pith},
title = {Pith review of: Semantic Outlier Removal with Embedding Models and LLMs},
year = {2026},
howpublished = {\url{https://pith.science/paper/B3KF63LH}},
note = {Machine review of arXiv:2506.16644}
}
read the original abstract
Modern text processing pipelines demand robust methods to remove extraneous content while preserving a document's core message. Traditional approaches such as HTML boilerplate extraction or keyword filters often fail in multilingual settings and struggle with context-sensitive nuances, whereas Large Language Models (LLMs) offer improved quality at high computational cost. We introduce SORE (Semantic Outlier Removal), a cost-effective, transparent method that leverages multilingual sentence embeddings and approximate nearest-neighbor search to identify and excise unwanted text segments. By first identifying core content via metadata embedding and then flagging segments that either closely match predefined outlier groups or deviate significantly from the core, SORE achieves near-LLM extraction precision at a fraction of the cost. Experiments on HTML datasets demonstrate that SORE outperforms structural methods and yield high precision in diverse scenarios. Our system is currently deployed in production, processing millions of documents daily across multiple languages while maintaining both efficiency and accuracy. To facilitate reproducibility and further research, we release our implementation and evaluation datasets.
Figures
Reference graph
Works this paper leans on
- [1]
-
[2]
https://github.com/mozilla/readability
Readability.js. https://github.com/mozilla/readability. Accessed: 2023-11-15
work page 2023
-
[3]
Mikel Artetxe and Holger Schwenk. 2019. Massively multilingual sentence embeddings for zero-shot cross-lingual transfer and beyond. Transactions of the Association for Computational Linguistics, 7:597--610
2019
-
[4]
Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell
Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. 2021. On the dangers of stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, pages 610--623
work page 2021
-
[5]
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in Neural Information Processing Systems, 33:1877--1901
work page 2020
-
[6]
Katharina H\" a mmerl, Alina Fastowski, Jind r ich Libovick\' y , and Alexander Fraser. 2023. https://arxiv.org/abs/2306.00458 Exploring anisotropy and outliers in multilingual language models for cross-lingual semantic sentence similarity . Preprint, arXiv:2306.00458
work page Pith review arXiv 2023
-
[7]
Christian Kohlsch\" u tter, Peter Fankhauser, and Wolfgang Nejdl. 2010. Boilerpipe: A boilerplate removal and fulltext extraction library. In Proceedings of the 19th International Conference on World Wide Web, pages 661--662. ACM
work page 2010
-
[8]
Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems, pages 3111--3119
work page 2013
Show all 14 references
-
[9]
Thuat Nguyen, Hao Chi, Long Pham, Nigel Tran, Kafai Tran, Wei Xie, Mona Abdulhai, Dimitri Semenov, Alim Khaddaj, J\' o n Gudmundsson Einarsson, et al. 2023. https://arxiv.org/abs/2309.09400 CulturaX : A cleaned, enormous, and multilingual dataset for large language models in 1...
2023 arXiv
-
[10]
Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. GloVe : Global vectors for word representation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, pages 1532--1543
2014
-
[11]
Nils Reimers and Iryna Gurevych. 2019. Sentence-BERT : Sentence embeddings using siamese BERT -networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing, pages 3982--3992
2019
-
[12]
Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ili\' c , Daniel Hesslow, Roman Castagn\' e , Alexandra Sasha Luccioni, Fran c ois Yvon, Matthias Galliard, et al. 2023. https://arxiv.org/abs/2211.05100 BLOOM : A 176b-parameter open-access multilingual langu...
2023 arXiv
-
[13]
Mahnaz Taleb Sereshki, Morteza Mohammadi Zanjireh, and Mahdi Bahaghighat. 2023. https://doi.org/10.2478/ausi-2023-0008 Textual outlier detection with an unsupervised method using text similarity and density peak . Acta Univ. Sapientiae, Informatica, 15(1):91--110
2023 doi
-
[14]
Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, and Furu Wei. 2024. Multilingual e5 text embeddings: A technical report. arXiv preprint arXiv:2402.05672
2024 arXiv
Reviewed August 15, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.