A Maximum Entropy Approach to Natural Language Processing
Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)" does not allow redistributing the text itself. Original — aclanthology.org/J96-1002.pdf
Summary
Statistical NLP models have two linked tasks: decide which statistics of the data matter (feature selection), then build a predictive model that respects them (model selection). Berger and the Della Pietras handle both with the maximum entropy principle. Among all conditional distributions p(y|x) whose expected feature values match those in the training sample, the method chooses the one that is otherwise most uniform. They show this solution belongs to an exponential (log-linear) family with one weight per constraint. It also coincides with the maximum-likelihood model in that family, so entropy-based and likelihood-based reasoning lead to the same answer. They describe an iterative algorithm for fitting the weights, plus a greedy procedure that adds features one at a time from a large candidate pool, with shortcuts that make it practical. They test the framework on components of IBM's Candide French–English translation system: translation-sense disambiguation, sentence segmentation and word reordering. The paper helped make log-linear "MaxEnt" classifiers a standard NLP tool.
Key points
- Features are binary functions of (context x, output y). A constraint is a separate idea: it requires the model's expected feature value to equal the value observed in the training data.
- The solution has the form p(y|x) ∝ exp(Σ λᵢ fᵢ(x, y)). Maximizing entropy under the constraints and maximizing likelihood within this exponential family give the same model.
- Features are chosen automatically and incrementally from template-generated candidates. At each step the algorithm adds the feature that most improves likelihood, using approximations to keep the search fast.
- On French NOUN de NOUN reordering (e.g., taux d'intérêt → "interest rate"), the model was trained on 10,000 Hansard corpus events and ended up with 358 constraints.
- On 71,555 test phrases, overall accuracy rose from 70.2% (a baseline that never swaps) to 80.4%. Accuracy on phrases that should be swapped went from 0% to 49.2%, while accuracy on phrases that should stay in order fell from 100% to 93.5%.
Cited by
- Maximum Entropy Based Restoration of Arabic Diacritics
- Feature Forest Models for Probabilistic HPSG Parsing
- Discriminative Reranking for Natural Language Parsing
- Did It Happen? The Pragmatic Complexity of Veridicality Assessment
- Supervised Noun Phrase Coreference Research: The First Fifteen Years
- Regularizing Neural Networks by Penalizing Confident Output Distributions
- Dialogue Act Modeling for Automatic Tagging and Recognition of Conversational Speech
- Active Learning Literature Survey
Cite
@article{berger1996maximum,
title = {{A Maximum Entropy Approach to Natural Language Processing}},
author = {Berger, Adam L. and Pietra, Stephen A. Della and Pietra, Vincent J. Della},
journal = {Computational Linguistics},
year = {1996},
url = {https://aclanthology.org/J96-1002/}
}References
- Bahl, L.; Brown, P.; de Souza, P.; and Mercer, R. (1989). A tree-based statistical language model for natural language speech recognition. IEEE Transactions on Acoustics, Speech, and Signal Processing, 37(7). find
- Berger, A.; Brown, P.; Della Pietra, S.; Della Pietra, V.; Gillett, J.; Lafferty, J.; Printz, H.; and Urea, L. (1994). The Candide System for Machine Translation. In Proceedings, ARPA Conference on Human Language Technology, Plainsborough, New Jersey. find
- Black, E.; Jelinek, E; Lafferty, J.; Magerman, D.; Mercer, R.; and Roukos, S. (1992). Towards History-based Grammars: Using Richer Models for Probabilistic Parsing. In Proceedings, DARPA Speech and Natural Language Workshop, Arden House, New York. find
- Brown, D. (1959). A Note on Approximations to Discrete Probability Distributions. Information and Control, 2:386-392. find
- Brown, P.; Della Pietra, S.; Della Pietra, V.; and Mercer, R. (1993). The Mathematics of Statistical Machine Translation: Parameter Estimation. Computational Linguistics, 19(2):263--311. find
- Brown, P.; Cocke, J.; Della Pietra, S.; Della Pietra, V.; Jelinek, E; Lafferty, J.; Mercer, R.; and Roossin, P. (1990). A Statistical Approach to Machine Translation. Computational Linguistics, 16:79-85. find
- Brown, P.; Della Pietra, V.; de Souza, P.; and Mercer, R. (1990). Class-based N-Gram Models of Natural Language. Proceedings, IBM Natural Language ITL, 283-298. find
- Brown, P.; Della Pietra, S.; Della Pietra, V.; and Mercer, R. (1991). A Statistical Approach to Sense Disambiguation in Machine Translation. In Proceedings, DARPA Speech and Natural Language Workshop, 146-151. find
- Cover, T. and Thomas, J. (1991). Elements of Information Theory. John Wiley & Sons. find
- Csiszdr, I. (1975). I-Divergence Geometry of Probability Distributions and Minimization Problems, The Annals of Probability, 3(1):146-158. ibid. (1989). A Geometric Interpretation of Darroch and Ratcliff's Generalized Iterative Scaling. The Annals of Statistics, 17(3):1409-1413. find
- Csisz~ir, L. and Tusn~idy, G. (1984). Information Geometry and Alternating Minimization Procedures. Statistics & Decisions, Supplemental Issue, no. 1, 205-237. find
- Darroch, J. N. and Ratcliff, D. (1972). Generalized Iterative Scaling for Log-linear Models. Annals of Mathematical Statistics, no. 43, 1470-1480. find
- Della Pietra, S.; Della Pietra, V.; Gillett, J.; Lafferty, J.; Printz, H.; and Urea, L. (1994). "Inference and Estimation of a Long-range Trigram Model." In Lecture Notes in Artificfal Intelligence, 862. Springer-Verlag, 78-92. find
- Della Pietra, S.; Della Pietra, V.; and Lafferty, J. (1995). "Inducing features of random fields" CMU Technical Report CMU-CS-95-144. find
- Dempster, A. P.; Laird, N. M.; and Rubin, D. B. (1977). Maximum Likelihood from Incomplete Data via the EM Algorithm. Journal of the Royal Statistical Society, 39(B):1-38. find
- Guiasu, S. and Shenitzer, A. (1985). The Principle of Maximum Entropy. The Mathematical Intelligencer , 7(1). find
- Jaynes, E. T. (1990) "Notes on Present Status and Future Prospects." In Maximum Entropy and Bayesian Methods, edited by W. T. Grandy and L. H. Schick. Kluwer, 1-13. find
- Jelinek, F. and Mercer, R. L. (1980). Interpolated Estimation of Markov Source Parameters from Sparse Data. In Proceedings, Workshop on Pattern Recognition in Practice, Amsterdam, The Netherlands. find
- Lucassen, J. and Mercer, R. (1984). An Information Theoretic Approach to Automatic Determination of Phonemic Baseforms. In Proceedings, IEEE International Conference on Acoustics, Speech and Signal Processing, San Diego, CA, 42.5.1-42.5.4. find
- Merialdo, B. (1990). Tagging Text with a Probabilistic Model. In Proceedings, IBM Natural Language ITL, Paris, France, 161-172. find
- Nddas, A.; Mercer, R.; Bahl, L.; Bakis, R.; Cohen, P.; Cole, A.-; Jelinek, F.; and Lewis, B. (1981). Continuous Speech Recognition with Automatically Selected Acoustic Prototypes Obtained by either Bootstrapping or Clustering. In Proceedings, IEEE International Conference on Acoustics, Speech and Si… find
- Sokolnikoff, I. S. and Redheffer, R. M. (1966). Mathematics of Physics and Modern Engineering, Second Edition, McGraw-Hill Book Company. find