Paper commentary
Machine Learning in Automated Text Categorization
Survey shows machine learning now dominates automated text categorization
- Problem Hand-written classification rules cost expert time for every category set. Moving them to a new set of categories means redoing that work.
- Method This survey reviews learners that build a text classifier from preclassified documents instead of rules. A general inductive procedure learns each category's characteristics from labelled examples.
- Results The survey finds boosting, support vector machines, example-based and regression methods perform best on the Reuters comparisons. It also says automated categorization now reaches effectiveness comparable to trained professionals.
Why hand-written rules stopped scaling
In that knowledge engineering approach, domain experts wrote rules that encode how documents should be classified under each category. Such rules need expert time for every category set, and moving them to a different set of categories means that work again. The survey therefore concentrates on the machine learning paradigm, where a general inductive procedure learns the category characteristics from preclassified documents.
The learned approach has a harder problem of its own, because the labels themselves are subjective. Human experts often disagree on whether a document belongs to a category, so membership can't be decided deterministically. A learner trained on such labels therefore inherits this disagreement, which is why evaluation has to be done with care.
Turning documents into weighted term vectors
A learner never sees raw text, so each document is first turned into a vector of weighted terms. Weights usually fall between 0 and 1, and binary weights, which record only presence or absence, are a special case. The usual non-binary weight is tf-idf, which multiplies how often a term occurs in the document by the logarithm of the training set size divided by the number of training documents that contain the term.
Cosine normalization then divides each tf-idf weight by the Euclidean length of the document's weight vector, so that vectors become comparable in length.
The tf-idf function rewards terms that recur in a document and penalizes terms that appear across many documents. It ignores word order and syntactic role, so the document is treated as a bag of lexical terms. Function words are removed before indexing, while stemming is more controversial because it can hurt effectiveness, though it reduces the term space.
The Darmstadt Indexing Approach takes a different route by using properties of terms, documents, categories and their relations as dimensions. For each document-category pair it builds a relevance description vector, using features such as the location of a term within a document. The survey notes that other researchers have not widely taken up these ideas, although they may matter for structured documents and Web pages.
Shrinking the term space before learning
The full vocabulary is often too large for sophisticated learners, even though cosine matching in text retrieval scales well. Dimensionality reduction shrinks the term space to a much smaller reduced term set before classifier induction. It also tends to reduce overfitting, where a classifier fits the contingent details of its training data instead of the categories themselves.
Fuhr and Buckley suggest that 50-100 training examples per term may be needed in text categorization tasks.
Removing terms risks throwing away words that carry the meaning of the documents. So the reduction has to be done with care, and its effect is measured by how much effectiveness a given classifier loses afterwards.
Learners that build the classifier
Because most text categorization work is framed as the binary case, each category gets its own yes or no classifier. A multi-label problem can be turned into independent binary problems only if the categories are stochastically independent of each other. Single-label classification is a special case in which exactly one category must be assigned to each document.
A decision tree has internal nodes labelled by terms, branches labelled by tests on term weights, and leaves labelled by categories. It is grown by recursively splitting the training documents on a term, usually chosen by an information gain or entropy criterion. A fully grown tree may overfit, so most learners also prune the branches that are too specific to the training data.
DNF rule learners start from one clause per training document and generalize these clauses by removing premises or merging them. Cohen compared propositional and first-order rule learning and found that the extra representational power brings only modest benefits.
The LLSF classifier represents each document by an input vector of term weights and an output vector of category weights. It computes a category-by-term matrix that minimizes the Frobenius-norm error between mapped inputs and outputs on the training set, usually through a singular value decomposition. The survey says LLSF is among the most effective text classifiers known to date, but its matrix costs more to compute than that of many competitors.
A linear classifier scores a document by the dot product between a category vector and the document vector. BoosTexter tests two boosting algorithms with one-level decision tree weak learners, AdaBoost.MH and AdaBoost.MR. Weiss et al. build committees of decision trees with an average of 16 leaves each, which is much more complex than the two-leaf trees used by Schapire and Singer.
Scoring decisions with precision, recall and utility
Effectiveness is usually measured by precision and recall, which are estimated from a contingency table on a test set. Precision is the probability that a document classified under a category really belongs there, and recall is the probability that a document belonging there gets classified there. Microaveraging sums the true positives, false positives and false negatives over all decisions before computing the scores, while macroaveraging averages the per-category values.
The two can differ strongly when categories have very different generality, because macroaveraging gives more weight to rare categories.
Accuracy and error are seldom used in text categorization, because their large denominators make them insensitive to changes in correct decisions. With low average generality, a trivial rejector that never files a document under any category can outperform non-trivial classifiers on accuracy.
Utility is a decision-theoretic measure that weights each kind of decision by an application-dependent gain. Under standard effectiveness, the threshold that maximizes expected utility equals one half.
What the Reuters comparisons show
The survey compares the published results on several modified versions of Reuters, so these numbers come from different experiments. Direct comparison, where one author tests classifiers on the same collection under the same conditions, is the more reliable method. Indirect comparison, which goes through baseline classifiers, gives only an indication of relative hardness and effectiveness.
Boosting-based committees, support vector machines, example-based methods and regression methods deliver top-notch performance on these collections. The survey finds no sufficient evidence to choose decidedly among these four families, so efficiency or application needs might break the tie. Schapire et al. report AdaBoost outperforming Sleeping Experts across three test collections.
Neural networks and on-line linear classifiers work well, but slightly worse than the leading methods.
Limitations and open questions
Comparisons between experiments run by different authors are less reliable, because background conditions such as stemming, indexing and parameter tuning can change the results. Several collections were left out because too few authors used them under the same experimental conditions.
The survey argues that automated categorization has reached effectiveness levels comparable to those of trained professionals. Its tested scope is text, and capturing semantic content in images by automatic indexing is still an open problem. Noisy OCR text was handled by training on noisy texts as well, which the survey cites as an extension to nearby media.
Paper info
- Authors
- Fabrizio Sebastiani
- Venue
- arXiv · Preprint
- First published
- 2001-10-26
- Added
- 2026-11-11
- Updated
- 2001-10-26
- Version
- v1
- arXiv
- cs/0110053
- DOI
- 10.1145/505282.505283
- Category
- cs.IR · cs.LG
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Fabrizio Sebastiani (2001). Machine Learning in Automated Text Categorization. arXiv:cs/0110053v1. https://doi.org/10.1145/505282.505283
BibTeX
@article{sebastiani2001machine,
title = {{Machine Learning in Automated Text Categorization}},
author = {Fabrizio Sebastiani},
year = {2001},
eprint = {cs/0110053},
archivePrefix = {arXiv},
doi = {10.1145/505282.505283},
url = {https://arxiv.org/abs/cs/0110053v1}
}