Beating the Page Limit: Minimizing the Size of Documents
Source abstract
Abstract
Compilation-based text editors, such as Overleaf for enable users to insert text alongside commands, which are then compiled into a formatted document such as a PDF. A major drawback of these editors is the inability to preview the final document layout without compiling. Consequently, users often resort to trial-and-error methods to condense documents to meet space constraints, making changes in the text editor and repeatedly compiling to check whether the document fits the required space. In addition, space-saving modifications may compromise the readability of the document. For example, reducing the size of a figure by 50% can render it unreadable. In this paper, we formally define the problem of optimizing document layout to fit space constraints while minimizing the magnitude of layout modifications and thereby reducing the likelihood of harming readability. To address this challenge, we propose an automated decision-support system that employs machine learning models to estimate the space saved by specific adjustments. This system provides recommendations for modifications that optimize space usage while favoring smaller geometric changes, with final readability and layout quality verified separately. To evaluate the quality and real-world applicability of our algorithms, we conducted extensive experiments. First, we tested our algorithms on a dataset of 329,000 generated files, achieving improved reductions in document length compared with baseline heuristics. To assess applicability to real-world scenarios, we further evaluated our algorithms on 140 articles accepted to AAAI and obtained from arXiv. These experiments show that, in this benchmark setting, the proposed method achieves the best observed performance among the compared approaches, with moderate but consistent improvements over simpler methods and heuristics.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Text Readability and Simplification · Information Retrieval and Search Behavior · Interactive and Immersive Displays
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Faculty of Computer and Information Science, Ben-Gurion University of the Negev, David Ben-Gurion Blvd 1, Be’er Sheva 8410501, Israel
References (22)
Show source-provided references
1. Automatic text summarization: A comprehensive survey10.1016/j.eswa.2020.113679 ↗
2. Shichel, Y., Kalech, M., and Tsur, O. (2021, January 19–23). With Measured Words: Simple Sentence Selection for Black-Box Optimization of Sentence Compression Algorithms. Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, Online.10.18653/v1/2021.eacl-main.139 ↗
3. A Comprehensive Survey of Abstractive Text Summarization Based on Deep Learning
4. A Survey of Automatic Text Summarization: Progress, Process and Challenges10.1109/ACCESS.2021.3129786 ↗
5. An Empirical Survey on Long Document Summarization: Datasets, Models and Metrics10.1145/3545176 ↗
6. Parida, S., and Motlicek, P. (2019, January 3–7). Abstract text summarization: A low resource challenge. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), Hong Kong, China.10.18653/v1/D19-1616 ↗
7. Automatic Text Summarization Method Based on Improved TextRank Algorithm and K-Means Clustering10.1016/j.knosys.2024.111447 ↗
8. Text summarization based on semantic graphs: An abstract meaning representation graph-to-text deep learning approach10.1186/s40537-024-00950-5 ↗
9. Abstractive text summarization: State of the art, challenges, and improvements10.1016/j.neucom.2024.128255 ↗
10. Laban, P., Kryściński, W., Agarwal, D., Fabbri, A.R., Xiong, C., Joty, S., and Wu, C.S. (2023, January 6–10). SUMMEDITS: Measuring LLM ability at factual reasoning through the lens of summarization. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, Singapore.10.18653/v1/2023.emnlp-main.600 ↗
11. Rush, A.M., Chopra, S., and Weston, J. (2015). A neural attention model for abstractive sentence summarization. arXiv.10.18653/v1/D15-1044 ↗
12. Chopra, S., Auli, M., and Rush, A.M. (2016, January 12–17). Abstractive sentence summarization with attentive recurrent neural networks. Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego, CA, USA.10.18653/v1/N16-1012 ↗
13. Cohn, T., and Lapata, M. (2008, January 18–22). Sentence compression beyond word deletion. Proceedings of the 22nd International Conference on Computational Linguistics-Volume 1, Association for Computational Linguistics, Manchester, UK.10.3115/1599081.1599099 ↗
14. Sentence compression as tree transduction10.1613/jair.2655 ↗
15. Nallapati, R., Zhou, B., dos Santos, C.N., Gulcehre, C., and Xiang, B. (2016). Abstractive text summarization using sequence-to-sequence rnns and beyond. arXiv.10.18653/v1/K16-1028 ↗
16. See, A., Liu, P.J., and Manning, C.D. (2017). Get to the point: Summarization with pointer-generator networks. arXiv.10.18653/v1/P17-1099 ↗
17. Pakin, S. (2026, May 02). The savetrees Package, Version 2.4. CTAN Comprehensive Archive Network. Available online: https://ctan.org/pkg/savetrees.
18. Schlicht, R. (2026, May 02). The microtype Package, Version 3.2d. CTAN Comprehensive Archive Network. Available online: https://mirror.ku.ac.th/CTAN/macros/latex2e/contrib/microtype/microtype-code.pdf.
19. Bezos, J. (2026, May 02). The titlesec, titleps and titletoc Packages. Available online: https://latex.us/macros/latex2e/contrib/titlesec/titlesec.pdf.
20. Dynamic content layout optimization for news website front pages10.1108/JM2-01-2024-0015 ↗
21. Li, Y., Chen, Y., Liu, G., Wu, J., and Yang, Y. (2024). CGB-DM: Content and Graphic Balance Layout Generation with Transformer-based Diffusion Model. arXiv.
22. Variational Bayesian mixture of experts models and sensitivity analysis for nonlinear dynamical systems10.1016/j.ymssp.2015.05.009 ↗