Efficient Zero-Shot Long Document Classification by Reducing Context Through Sentence Ranking

Prathamesh Kokate, Mitali Sarnaik, Manavi Khopade, Mukta Takalikar, Raviraj Joshi
8/24/2025
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Transformer-based models like BERT excel at short text classification but struggle with long document classification (LDC) due to input length limitations and computational inefficiencies. In this work, we propose an efficient, zero-shot approach to LDC that leverages sentence ranking to reduce input context without altering the model architecture. Our method enables the adaptation of models trained on short texts, such as headlines, to long-form documents by selecting the most informative sentences using a TF-IDF-based ranking strategy. Using the MahaNews dataset of long Marathi news articles, we evaluate three context reduction strategies that prioritize essential content while preserving classification accuracy. Our results show that retaining only the top 50\% ranked sentences maintains performance comparable to full-document inference while reducing inference time by up to 35\%. This demonstrates that sentence ranking is a simple yet effective technique for scalable and efficient zero-shot LDC.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kokate2025efficient,
  title  = {Efficient Zero-Shot Long Document Classification by Reducing Context Through Sentence Ranking},
  author = {Prathamesh Kokate and Mitali Sarnaik and Manavi Khopade and Mukta Takalikar and Raviraj Joshi},
  year   = {2025},
  eprint = {2508.17490},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.17490v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.17490.svg)](https://codeofpaper.com/paper/2508.17490)

Discussion