Identifying document similarity has many applications, e.g., source code analysis or plagiarism detection. However, identifying similarities is not trivial and can be time complex. For instance, the Levenshtein Distance is a common metric to define the similarity between two documents but has quadratic runtime which makes it impractical for large documents where large starts with a few hundred kilobytes. In this paper, we present a novel concept that allows estimating the Levenshtein Distance: the algorithm first compresses documents to signatures (similar to hash values) using a user-defined compression ratio. Signatures can then be compared against each other (some constrains apply) where the outcome is the estimated Levenshtein Distance. Our evaluation shows promising results in terms of runtime efficiency and accuracy. In addition, we introduce a significance score allowing examiners to set a threshold and identify related documents.
CompRank: Efficient LLM Reranking via Token-Level Compression and Decoding-Free Scoring
Shanghai Jiao Tong University(上海交通大学);Ningbo Key Laboratory of Spatial Intelligence and Digital Derivative(宁波空间智能与数字孪生重点实验室);Institute of Digital Twin, Eastern Institute of Technology, Ningbo(宁波东方理工大学数字孪生研究院);University of British Columbia(不列颠哥伦比亚大学);University of Waterloo(滑铁卢大学);Google Cloud AI Research(谷歌云人工智能研究)
OCR for TIFF Compressed Document Images Directly in Compressed Domain Using Text segmentation and Hidden Markov Model
Indian Institute of Information Technology Allahabad(印度理工学院阿拉哈巴德分校)
在当今的技术时代,文档图像在我们的日常生活中发挥着重要和不可或缺的作用,特别是随着COVID-19的激增,数字扫描文档已成为沟通的主要来源,从而避免了任何形式的身体接触感染。扫描文档图像的存储和传输是一项非常占用内存的任务,因此压缩技术被用于在存档和传输之前减小图像大小。为了提取信息或对压缩图像进行操作,我们有两种方法:第一种方法是对图像进行压缩和操作,然后再次压缩图像,以提高存储和传输的效率。另一种方法是使用底层压缩算法的特性直接处理压缩形式的图像,而不涉及解压缩和重新压缩。本文提出了一种新的思路,即在压缩域中直接为CCITT(The International Telegraph and Telephone Consultative Committee,国际电报电话咨询委员会)压缩机打印的TIFF文档图像开发OCR。在将文本区域分割成行和词之后,使用CCITT的三种编码模式(水平、垂直和通过模式)应用HMM进行识别。实验结果表明,光学字符识别的通过模式给出了一个有前途的结果。