Learning to Weight for Text Classification

Alejandro Moreo Fernández, Andrea Esuli, Fabrizio Sebastiani
3/28/2019
cs.LGcs.IRstat.ML

Official code: AlexMoreo/learning-to-weight (1 star, last commit 2018-07-05).

Abstract

In information retrieval (IR) and related tasks, term weighting approaches typically consider the frequency of the term in the document and in the collection in order to compute a score reflecting the importance of the term for the document. In tasks characterized by the presence of training data (such as text classification) it seems logical that the term weighting function should take into account the distribution (as estimated from training data) of the term across the classes of interest.

Show full abstract

Although `supervised term weighting' approaches that use this intuition have been described before, they have failed to show consistent improvements. In this article we analyse the possible reasons for this failure, and call consolidated assumptions into question. Following this criticism we propose a novel supervised term weighting approach that, instead of relying on any predefined formula, learns a term weighting function optimised on the training set of interest; we dub this approach \emph{Learning to Weight} (LTW). The experiments that we run on several well-known benchmarks, and using different learning methods, show that our method outperforms previous term weighting approaches in text classification.

View on arXivView PDF

Code Implementations(1)

A NN-based framework for learning to weight terms in text classification, along the lines of Supervised Term Weighting

11Jul 5, 20188 years ago

Similar Papers

Cite this paper

@article{fernndez2019learning,
  title  = {Learning to Weight for Text Classification},
  author = {Alejandro Moreo Fernández and Andrea Esuli and Fabrizio Sebastiani},
  year   = {2019},
  eprint = {1903.12090},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.12090}
}

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/1903.12090.svg)](https://codeofpaper.com/paper/1903.12090)

Discussion