# Learning to Weight for Text Classification

arXiv: https://arxiv.org/abs/1903.12090 · HTML: https://mlsanity.com/paper/1903.12090/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 28 Mar 2019.

## Built on by (most cited first, 4 of 4)

- [Estimator: An Effective and Scalable Framework for Transportation Mode Classification over Trajectories](https://mlsanity.com/paper/2212.05502/) (2022)
- [Same or Different? Diff-Vectors for Authorship Analysis](https://mlsanity.com/paper/2301.09862/) (2023)
- [Are We Really Making Much Progress in Text Classification? A Comparative Review](https://mlsanity.com/paper/2204.03954/) (2022)
- [Unravelling Interlanguage Facts via Explainable Machine Learning](https://mlsanity.com/paper/2208.01468/) (2022)

## Abstract (arXiv)

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. 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 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.
