TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Neural Semantic Encoders

Neural Semantic Encoders

Tsendsuren Munkhdalai, Hong Yu

2016-07-14EACL 2017 4Machine TranslationQuestion AnsweringSentiment AnalysisNatural Language InferenceNatural Language UnderstandingTranslationGeneral ClassificationSentence Classification
PaperPDFCodeCodeCode(official)

Abstract

We present a memory augmented neural network for natural language understanding: Neural Semantic Encoders. NSE is equipped with a novel memory update rule and has a variable sized encoding memory that evolves over time and maintains the understanding of input sequences through read}, compose and write operations. NSE can also access multiple and shared memories. In this paper, we demonstrated the effectiveness and the flexibility of NSE on five different natural language tasks: natural language inference, question answering, sentence classification, document sentiment analysis and machine translation where NSE achieved state-of-the-art performance when evaluated on publically available benchmarks. For example, our shared-memory model showed an encouraging result on neural machine translation, improving an attention-based baseline by approximately 1.0 BLEU.

Results

TaskDatasetMetricValueModel
Machine TranslationWMT2014 English-GermanBLEU score17.9NSE-NSE
Question AnsweringWikiQAMAP0.6811MMA-NSE attention
Question AnsweringWikiQAMRR0.6993MMA-NSE attention
Natural Language InferenceSNLI% Test Accuracy85.4300D MMA-NSE encoders with attention
Natural Language InferenceSNLI% Train Accuracy86.9300D MMA-NSE encoders with attention
Natural Language InferenceSNLI% Test Accuracy84.6300D NSE encoders
Natural Language InferenceSNLI% Train Accuracy86.2300D NSE encoders
Sentiment AnalysisSST-2 Binary classificationAccuracy89.7Neural Semantic Encoder

Related Papers

From Roots to Rewards: Dynamic Tree Reasoning with RL2025-07-17Enter the Mind Palace: Reasoning and Planning for Long-term Active Embodied Question Answering2025-07-17Vision-and-Language Training Helps Deploy Taxonomic Knowledge but Does Not Fundamentally Alter It2025-07-17City-VLM: Towards Multidomain Perception Scene Understanding via Multimodal Incomplete Learning2025-07-17AdaptiSent: Context-Aware Adaptive Attention for Multimodal Aspect-Based Sentiment Analysis2025-07-17A Translation of Probabilistic Event Calculus into Markov Decision Processes2025-07-17Describe Anything Model for Visual Question Answering on Text-rich Images2025-07-16Is This Just Fantasy? Language Model Representations Reflect Human Judgments of Event Plausibility2025-07-16