Skim-Aware Contrastive Learning for Efficient Document Representation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Abro, Waheed Ahmed, Bouraoui, Zied
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908740813324288
author Abro, Waheed Ahmed
Bouraoui, Zied
author_facet Abro, Waheed Ahmed
Bouraoui, Zied
contents Although transformer-based models have shown strong performance in word- and sentence-level tasks, effectively representing long documents, especially in fields like law and medicine, remains difficult. Sparse attention mechanisms can handle longer inputs, but are resource-intensive and often fail to capture full-document context. Hierarchical transformer models offer better efficiency but do not clearly explain how they relate different sections of a document. In contrast, humans often skim texts, focusing on important sections to understand the overall message. Drawing from this human strategy, we introduce a new self-supervised contrastive learning framework that enhances long document representation. Our method randomly masks a section of the document and uses a natural language inference (NLI)-based contrastive objective to align it with relevant parts while distancing it from unrelated ones. This mimics how humans synthesize information, resulting in representations that are both richer and more computationally efficient. Experiments on legal and biomedical texts confirm significant gains in both accuracy and efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2512_24373
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Skim-Aware Contrastive Learning for Efficient Document Representation
Abro, Waheed Ahmed
Bouraoui, Zied
Computation and Language
Artificial Intelligence
Although transformer-based models have shown strong performance in word- and sentence-level tasks, effectively representing long documents, especially in fields like law and medicine, remains difficult. Sparse attention mechanisms can handle longer inputs, but are resource-intensive and often fail to capture full-document context. Hierarchical transformer models offer better efficiency but do not clearly explain how they relate different sections of a document. In contrast, humans often skim texts, focusing on important sections to understand the overall message. Drawing from this human strategy, we introduce a new self-supervised contrastive learning framework that enhances long document representation. Our method randomly masks a section of the document and uses a natural language inference (NLI)-based contrastive objective to align it with relevant parts while distancing it from unrelated ones. This mimics how humans synthesize information, resulting in representations that are both richer and more computationally efficient. Experiments on legal and biomedical texts confirm significant gains in both accuracy and efficiency.
title Skim-Aware Contrastive Learning for Efficient Document Representation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2512.24373