[Paper Review] Parallelization of Maximum Entropy POS Tagging for Bahasa Indonesia with MapReduce
This paper proposes a MapReduce-based parallelization of Maximum Entropy part-of-speech (POS) tagging for Bahasa Indonesia, accelerating both training and inference. It implements parallel processing for dictionary construction, tag-token mapping, feature generation during training, and line-wise document tagging; experiments show significant speedup in tagging, with optimal performance at 30 map tasks on a 1M-word corpus, though training I/O overhead limits gains.
In this paper, MapReduce programming model is used to parallelize training and tagging proceess in Maximum Entropy part of speech tagging for Bahasa Indonesia. In training process, MapReduce model is implemented dictionary, tagtoken, and feature creation. In tagging process, MapReduce is implemented to tag lines of document in parallel. The training experiments showed that total training time using MapReduce is faster, but its result reading time inside the process slow down the total training time. The tagging experiments using different number of map and reduce process showed that MapReduce implementation could speedup the tagging process. The fastest tagging result is showed by tagging process using 1,000,000 word corpus and 30 map process.
Motivation & Objective
- To address the computational inefficiency of training and tagging large-scale MaxEnt POS taggers for Bahasa Indonesia.
- To reduce processing time for POS tagging in low-resource languages like Bahasa Indonesia through data-parallel execution.
- To evaluate the effectiveness of MapReduce in scaling MaxEnt POS tagging across distributed systems.
- To identify optimal configurations of map and reduce tasks for maximum performance in tagging.
Proposed method
- MapReduce is used to parallelize the training phase by distributing dictionary creation, tag-token pair generation, and feature extraction across nodes.
- The tagging phase is parallelized by dividing input text into lines and processing them independently using multiple map tasks.
- A custom MapReduce pipeline is designed to handle the sequential dependencies in feature generation during training while enabling data-level parallelism.
- The system uses a standard MaxEnt model with n-gram and context-based features, adapted for Bahasa Indonesia's morphological complexity.
- The implementation leverages Hadoop's MapReduce framework to manage job scheduling, data shuffling, and fault tolerance.
- Performance is evaluated using a 1M-word Bahasa Indonesia corpus with varying numbers of map and reduce tasks.
Experimental results
Research questions
- RQ1Can MapReduce effectively parallelize the training process of a Maximum Entropy POS tagger for Bahasa Indonesia?
- RQ2How does the number of map and reduce tasks affect the overall tagging speed in a distributed environment?
- RQ3What is the optimal configuration of MapReduce tasks for minimizing tagging time on a large corpus?
- RQ4Why does training time not scale linearly despite parallelization, and what bottlenecks exist?
- RQ5To what extent can MapReduce improve the efficiency of POS tagging in low-resource, morphologically rich languages?
Key findings
- The tagging process achieved significant speedup using MapReduce, with the fastest performance observed at 30 map tasks on a 1M-word corpus.
- Training time did not scale linearly due to I/O overhead during result reading, which became a bottleneck despite parallel processing.
- Parallelization of feature creation and tag-token mapping during training reduced computation time, but not enough to offset I/O delays.
- The system demonstrated feasible scalability for large-scale POS tagging in Bahasa Indonesia using commodity clusters.
- The results confirm that MapReduce is effective for accelerating inference (tagging) but less so for the training phase due to data access patterns.
- The optimal configuration for tagging was found to be 30 map tasks, indicating a trade-off between task granularity and coordination overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.