Lune

WWW2022Top-tier venue

Massive Text Normalization via an Efficient Randomized Algorithm

Nan Jiang, Chen Luo, Vihan Lakshman, Yesh Dattatreya, Yexiang Xue

Abstract

Current popular machine learning techniques in natural language processing and data mining rely heavily on high-quality text sources. Nevertheless, real-world text datasets contain a significant amount of spelling errors and improperly punctuated variants where the performance of these models would quickly deteriorate. Moreover, existing text normalization methods are prohibitively expensive to execute over web-scale datasets, can hardly process noisy texts from social networks, or require annotations to learn the corrections in a supervised manner. In this paper, we present Flan (Fast LSH Algorithm for Text Normalization), a scalable randomized algorithm to clean and canonicalize massive text data. Our approach suggests corrections based on the morphology of the words, where lexically similar words are considered the same with high probability. We efficiently handle the pairwise word-to-word comparisons via locality sensitive hashing (LSH). We also propose a novel stabilization process to address the issue of hash collisions between dissimilar words, which is a consequence of the randomized nature of LSH and is exacerbated by the massive scale of real-world datasets. Compared with existing approaches, our method is more efficient, both asymptotically and in empirical evaluations, does not rely on feature engineering, and does not require any annotation. Our experimental results on real-world datasets demonstrate the efficiency and efficacy of Flan. Based on recent advances in densified Minhash, our approach requires much less computational time compared to baseline text normalization techniques on large-scale Twitter and Reddit datasets. In a human evaluation of the quality of the normalization, Flan achieves 5% and 14% improvement against the baselines over the Reddit and Twitter datasets, respectively. Our method also improves performance on Twitter sentiment classification applications and the perturbed GLUE benchmark datasets, where we introduce random errors into the text.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. SCHash: Speedy Simplicial Complex Neural Networks via Randomized HashingXuan Tan, Wei Wu, Chuan LuoSIGIR 2023 · 3 citations
  2. LSHAlign: All-Pair Near-Duplicate Text Alignment via Locality-Sensitive HashingYuheng Zhang, Zhencan Peng, Miao Qiao, Wei Zhang et al.SIGMOD 2026
  3. Bio-Inspired Hashing for Unsupervised Similarity SearchChaitanya K. Ryali, John J. Hopfield, Leopold Grinberg, Dmitry KrotovICML 2020 · 32 citations
  4. Bidirectionally Densifying LSH Sketches with Empty BinsPeng Jia, Pinghui Wang, Junzhou Zhao, Shuo Zhang et al.SIGMOD 2021 · 16 citations
  5. Continuously Adaptive Similarity SearchHuayi Zhang, Lei Cao, Yizhou Yan, Samuel Madden et al.SIGMOD 2020 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines