Skip to main content
QUICK REVIEW

[Paper Review] Hybrid Model For Word Prediction Using Naive Bayes and Latent Information

Henrique X. Goulart, Mauro Dalle Lucca Tosi|arXiv (Cornell University)|Mar 2, 2018
Topic ModelingComputer Science15 references9 citations
TL;DR

This paper proposes a hybrid word prediction model combining Naive Bayes and Latent Semantic Analysis (LSA) to improve accuracy while reducing computational cost. By integrating contextual word neighbors and optimizing parameters via Gradient Descent, the model achieves 44.2% accuracy on the MSR Sentence Completion Challenge, offering a lightweight alternative to deep learning with strong syntactic-semantic balance.

ABSTRACT

Historically, the Natural Language Processing area has been given too much attention by many researchers. One of the main motivation beyond this interest is related to the word prediction problem, which states that given a set words in a sentence, one can recommend the next word. In literature, this problem is solved by methods based on syntactic or semantic analysis. Solely, each of these analysis cannot achieve practical results for end-user applications. For instance, the Latent Semantic Analysis can handle semantic features of text, but cannot suggest words considering syntactical rules. On the other hand, there are models that treat both methods together and achieve state-of-the-art results, e.g. Deep Learning. These models can demand high computational effort, which can make the model infeasible for certain types of applications. With the advance of the technology and mathematical models, it is possible to develop faster systems with more accuracy. This work proposes a hybrid word suggestion model, based on Naive Bayes and Latent Semantic Analysis, considering neighbouring words around unfilled gaps. Results show that this model could achieve 44.2% of accuracy in the MSR Sentence Completion Challenge.

Motivation & Objective

  • To address the limitations of standalone Naive Bayes and LSA in word prediction by combining their strengths.
  • To develop a lightweight, fast-performing model suitable for real-time applications like assistive technology.
  • To optimize model parameters using Gradient Descent for improved prediction accuracy.
  • To balance syntactic (Naive Bayes) and semantic (LSA) information in word suggestion.
  • To reduce reliance on large-scale deep learning models while maintaining competitive performance.

Proposed method

  • The model integrates Naive Bayes for conditional probability estimation based on word co-occurrence in context.
  • Latent Semantic Analysis (LSA) is used to extract semantic relationships from text using term-document matrices and SVD.
  • A hybrid scoring function combines Naive Bayes and LSA outputs using a learnable weight parameter α.
  • Parameters λ₁,…,λₙ₋₁ are optimized via Gradient Descent to improve Naive Bayes inference.
  • The α parameter is optimized to balance the contribution of LSA and Naive Bayes in final predictions.
  • Cross-validation is used to validate parameter convergence and robustness across training sets.

Experimental results

Research questions

  • RQ1Can a hybrid model combining Naive Bayes and LSA outperform individual models in word prediction accuracy?
  • RQ2How does the integration of syntactic (Naive Bayes) and semantic (LSA) features affect prediction performance?
  • RQ3What is the optimal balance between Naive Bayes and LSA contributions, as controlled by parameter α?
  • RQ4How do neighboring words (previous and posterior context) influence prediction accuracy?
  • RQ5Can parameter optimization via Gradient Descent improve model convergence and generalization?

Key findings

  • The hybrid model achieved 44.2% accuracy on the MSR Sentence Completion Challenge, demonstrating practical performance.
  • Parameter λ values converged consistently across experiments, indicating effective optimization via Gradient Descent.
  • The α parameter converged to a range between 0.2 and 0.4, indicating LSA contributes more than Naive Bayes in the final prediction.
  • When history size exceeded 4 words, α tended toward 0, suggesting LSA alone became dominant, possibly due to insufficient training data for Naive Bayes.
  • Cross-validation confirmed that λ and α parameters remained stable across different training sets, indicating model robustness.
  • The model demonstrated a favorable trade-off between accuracy and computational cost, outperforming traditional models and offering a viable alternative to deep learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.