최대 엔트로피 학습을 위한 빠른 클래스
Classes for Fast Maximum Entropy Training
Classes for Fast Maximum Entropy Training
@misc{goodman2001classes,
title = {Classes for Fast Maximum Entropy Training},
author = {Joshua Goodman},
year = {2001},
eprint = {cs/0108006},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/cs/0108006}
}
Goodman, J. (2001). Classes for Fast Maximum Entropy Training [Preprint]. arXiv. https://doi.org/10.48550/arXiv.cs/0108006
GOODMAN J. Classes for Fast Maximum Entropy Training[EB/OL]. (2001-08-09)[2026-11-29]. https://arxiv.org/abs/cs/0108006.
초록
최대 엔트로피 모델은 많은 연구자들이 언어 모델링 연구에서 가장 유망한 방향 중 하나로 간주한다. 불행히도 긴 학습 시간은 최대 엔트로피 연구에 어려움을 초래한다. 우리는 새로운 가속 기술을 제시한다: 모델을 클래스를 사용하는 형태로 변경한다. 우리의 가속 기술은 두 개의 최대 엔트로피 모델을 생성함으로써 작동한다: 첫 번째 모델은 각 단어의 클래스를 예측하고, 두 번째 모델은 단어 자체를 예측한다. 이 모델의 분해는 0 이 아닌 지시 함수의 수를 줄이고 더 빠른 정규화를 가능하게 하여, 이전 기술 중 가장 좋은 것보다 최대 35 배의 가속을 달성한다. 또한 일반적으로 약간 낮은 퍼플렉시티를 제공한다. 동일한 트릭은 다른 머신 학습 기술의 학습을 가속화하는 데에도 사용될 수 있으며, 예를 들어 언어 모델링과 같은 출력 수가 많은任何问题에 적용되는 신경망에도 적용할 수 있다.
Maximum entropy models are considered by many to be one of the most promising avenues of language modeling research. Unfortunately, long training times make maximum entropy research difficult. We present a novel speedup technique: we change the form of the model to use classes. Our speedup works by creating two maximum entropy models, the first of which predicts the class of each word, and the second of which predicts the word itself. This factoring of the model leads to fewer non-zero indicator functions, and faster normalization, achieving speedups of up to a factor of 35 over one of the best previous techniques. It also results in typically slightly lower perplexities. The same trick can be used to speed training of other machine learning techniques, e.g. neural networks, applied to any problem with a large number of outputs, such as language modeling.