{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T02:09:18Z","timestamp":1760148558225,"version":"build-2065373602"},"reference-count":23,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2023,5,18]],"date-time":"2023-05-18T00:00:00Z","timestamp":1684368000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100003246","name":"the Netherlands Organization for Scientific Research (NWO)","doi-asserted-by":"publisher","award":["CISC.CC.016"],"award-info":[{"award-number":["CISC.CC.016"]}],"id":[{"id":"10.13039\/501100003246","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>Page stream segmentation (PSS) is the task of retrieving the boundaries that separate source documents given a consecutive stream of documents (for example, sequentially scanned PDF files). The task has recently gained more interest as a result of the digitization efforts of various companies and organizations, as they move towards having all their documents available online for improved searchability and accessibility for users. The current state-of-the-art approach is neural start of document page classification on representations of the text and\/or images of pages using models such as Visual Geometry Group-16 (VGG-16) and BERT to classify individual pages. We view the task of PSS as a clustering task instead, hypothesizing that pages from one document are similar to each other and different to pages in other documents, something that is difficult to incorporate in the current approaches. We compare the segmentation performance of an agglomerative clustering method with a binary classification model based on images on a new publicly available dataset and experiment with using either pretrained or finetuned image vectors as inputs to the model. To adapt the clustering method to PSS, we propose the switch method to alleviate the effects of pages of the same class having a high similarity, and report an improvement in the scores using this method. Unfortunately, neither clustering with pretrained embeddings nor clustering with finetuned embeddings outperformed start of document page classification for PSS. However, clustering with either pretrained or finetuned representations is substantially more effective than the baseline, with finetuned embeddings outperforming pretrained embeddings. Finally, having the number of documents K as part of the input, in our use case a realistic assumption, has a surprisingly significant positive effect. In contrast to earlier papers, we evaluate PSS with the overlap weighted partial match F1 score, developed as a Panoptic Quality in the computer vision domain, a metric that is particularly well-suited to PSS as it can be used to measure document segmentation.<\/jats:p>","DOI":"10.3390\/a16050259","type":"journal-article","created":{"date-parts":[[2023,5,18]],"date-time":"2023-05-18T07:03:58Z","timestamp":1684393438000},"page":"259","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Using Deep-Learned Vector Representations for Page Stream Segmentation by Agglomerative Clustering"],"prefix":"10.3390","volume":"16","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8184-4939","authenticated-orcid":false,"given":"Lukas","family":"Busch","sequence":"first","affiliation":[{"name":"Information Retrieval Lab, Informatics Institute, University of Amsterdam, 1012 WX Amsterdam, The Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9204-9220","authenticated-orcid":false,"given":"Ruben","family":"van Heusden","sequence":"additional","affiliation":[{"name":"Information Retrieval Lab, Informatics Institute, University of Amsterdam, 1012 WX Amsterdam, The Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3255-3729","authenticated-orcid":false,"given":"Maarten","family":"Marx","sequence":"additional","affiliation":[{"name":"Information Retrieval Lab, Informatics Institute, University of Amsterdam, 1012 WX Amsterdam, The Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2023,5,18]]},"reference":[{"key":"ref_1","unstructured":"Demirta\u015f, M.A., Oral, B., Akp\u0131nar, M.Y., and Deniz, O. (2022). Semantic Parsing of Interpage Relations. arXiv."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"127","DOI":"10.1007\/s10579-019-09476-2","article-title":"Multi-modal page stream segmentation with convolutional neural networks","volume":"55","author":"Wiedemann","year":"2021","journal-title":"Lang. Resour. Eval."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"11341","DOI":"10.1109\/ACCESS.2022.3144185","article-title":"A Multi-Modal Approach to Digital Document Stream Segmentation for Title Insurance Domain","volume":"10","author":"Guha","year":"2022","journal-title":"IEEE Access"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"104394","DOI":"10.1016\/j.engappai.2021.104394","article-title":"Leveraging effectiveness and efficiency in Page Stream Deep Segmentation","volume":"105","author":"Braz","year":"2021","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_5","unstructured":"Collins-Thompson, K., and Nickolov, R. (2002, January 11\u201315). A clustering-based algorithm for automatic document separation. Proceedings of the SIGIR 2002 Workshop on Information Retrieval and OCR: From Converting Content to Grasping, Meaning, Tampere, Finland."},{"key":"ref_6","unstructured":"Simonyan, K., and Zisserman, A. (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"236","DOI":"10.1080\/01621459.1963.10500845","article-title":"Hierarchical Grouping to Optimize an Objective Function","volume":"58","author":"Ward","year":"1963","journal-title":"J. Am. Stat. Assoc."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"964","DOI":"10.1002\/sec.811","article-title":"Collaborative agglomerative document clustering with limited information disclosure","volume":"7","author":"Su","year":"2013","journal-title":"Secur. Commun. Netw."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Uden, L., Wang, L.S., Corchado Rodr\u00edguez, J.M., Yang, H.C., and Ting, I.H. (2013). Proceedings of the The 8th International Conference on Knowledge Management in Organizations, Springer.","DOI":"10.1007\/978-94-007-7287-8"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Nguyen, N.T., Gaol, F.L., Hong, T.P., and Trawi\u0144ski, B. (2019). Proceedings of the Intelligent Information and Database Systems, Springer.","DOI":"10.1007\/978-3-030-14802-7"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Wu, J.W., Tseng, J.C., and Tsai, W.N. (2011, January 3\u20134). An Efficient Linear Text Segmentation Algorithm Using Hierarchical Agglomerative Clustering. Proceedings of the 2011 Seventh International Conference on Computational Intelligence and Security, Sanya, China.","DOI":"10.1109\/CIS.2011.240"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Bodrunova, S.S., Orekhov, A.V., Blekanov, I.S., Lyudkevich, N.S., and Tarasov, N.A. (2020). Topic Detection Based on Sentence Embeddings and Agglomerative Clustering with Markov Moment. Future Internet, 12.","DOI":"10.3390\/fi12090144"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Meilender, T., and Bela\u00efd, A. (2009, January 18\u201322). Segmentation of continuous document flow by a modified backward-forward algorithm. Proceedings of the Document Recognition and Retrieval XVI, International Society for Optics and Photonics, San Jose, CA, USA.","DOI":"10.1117\/12.805646"},{"key":"ref_14","first-page":"216","article-title":"An approach to the segmentation of multi-page document flow using binary classification","volume":"Volume 9443","author":"Wang","year":"2015","journal-title":"Proceedings of the Sixth International Conference on Graphic and Image Processing (ICGIP 2014)"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"331","DOI":"10.1007\/s10032-014-0225-8","article-title":"Multimodal page classification in administrative document image streams","volume":"17","author":"Rusinol","year":"2014","journal-title":"Int. J. Doc. Anal. Recognit. (IJDAR)"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"135","DOI":"10.1162\/tacl_a_00051","article-title":"Enriching Word Vectors with Subword Information","volume":"5","author":"Bojanowski","year":"2017","journal-title":"Trans. Assoc. Comput. Linguist."},{"key":"ref_17","unstructured":"Devlin, J., Chang, M., Lee, K., and Toutanova, K. (2018). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., and Fei-Fei, L. (2009, January 20\u201325). Imagenet: A large-scale hierarchical image database. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.","DOI":"10.1109\/CVPR.2009.5206848"},{"key":"ref_19","first-page":"2825","article-title":"Scikit-learn: Machine learning in Python","volume":"12","author":"Pedregosa","year":"2011","journal-title":"J. Mach. Learn. Res."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Kirillov, A., He, K., Girshick, R., Rother, C., and Doll\u00e1r, P. (2019, January 15\u201320). Panoptic segmentation. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00963"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"177","DOI":"10.1023\/A:1007506220214","article-title":"Statistical models for text segmentation","volume":"34","author":"Beeferman","year":"1999","journal-title":"Mach. Learn."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"19","DOI":"10.1162\/089120102317341756","article-title":"A critique and improvement of an evaluation metric for text segmentation","volume":"28","author":"Pevzner","year":"2002","journal-title":"Comput. Linguist."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Selvaraju, R.R., Das, A., Vedantam, R., Cogswell, M., Parikh, D., and Batra, D. (2016). Grad-CAM: Why did you say that? Visual Explanations from Deep Networks via Gradient-based Localization. arXiv.","DOI":"10.1109\/ICCV.2017.74"}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/16\/5\/259\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T19:37:47Z","timestamp":1760125067000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/16\/5\/259"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,5,18]]},"references-count":23,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2023,5]]}},"alternative-id":["a16050259"],"URL":"https:\/\/doi.org\/10.3390\/a16050259","relation":{},"ISSN":["1999-4893"],"issn-type":[{"type":"electronic","value":"1999-4893"}],"subject":[],"published":{"date-parts":[[2023,5,18]]}}}