[Paper Review] Lexicon Learning for Few-Shot Neural Sequence Modeling
This paper proposes a lexicon-based neural sequence model that improves few-shot generalization by learning context-independent token-level translation rules via a novel lexical translation mechanism. By initializing this mechanism with lexicon learning algorithms—particularly a rule-based approach—it achieves state-of-the-art results on semantic parsing, instruction following, and low-resource machine translation, with up to 2.2 BLEU points improvement on one-shot word learning tasks.
Sequence-to-sequence transduction is the core problem in language processing applications as diverse as semantic parsing, machine translation, and instruction following. The neural network models that provide the dominant solution to these problems are brittle, especially in low-resource settings: they fail to generalize correctly or systematically from small datasets. Past work has shown that many failures of systematic generalization arise from neural models' inability to disentangle lexical phenomena from syntactic ones. To address this, we augment neural decoders with a lexical translation mechanism that generalizes existing copy mechanisms to incorporate learned, decontextualized, token-level translation rules. We describe how to initialize this mechanism using a variety of lexicon learning algorithms, and show that it improves systematic generalization on a diverse set of sequence modeling tasks drawn from cognitive science, formal semantics, and machine translation.
Motivation & Objective
- Address the brittleness of neural sequence models in low-resource settings, especially their failure to generalize systematically from small datasets.
- Overcome the limitation of neural models conflating lexical and syntactic information by disentangling token-level translation rules from syntactic structure.
- Improve few-shot learning in sequence-to-sequence tasks such as semantic parsing, instruction following, and machine translation.
- Investigate effective initialization methods for the lexical translation mechanism using information-theoretic, alignment-based, and rule-based lexicon learning algorithms.
- Evaluate whether joint learning of the lexicon and decoder yields significant improvements over fixed, pre-trained lexicons.
Proposed method
- Augment neural sequence decoders with a lexical translation mechanism that generalizes neural copy mechanisms to enable attention-based, token-level translation rules.
- Initialize the lexical translation mechanism using various lexicon learning algorithms: mutual information-based (PMI), IBM Model 2-based (IBMM2), and a rule-based initializer that identifies high-precision word pairs.
- Use a soft attention mechanism with temperature scaling (τ) to allow differentiable soft attention over the lexicon during training.
- Freeze the lexicon during training after initialization, and evaluate both fixed and fine-tuned lexicon variants.
- Apply the mechanism to diverse tasks: COGS (semantic parsing), Colors (compositional generalization), and Tatoeba English–Chinese translation (low-resource MT).
- Use a standard LSTM-based encoder-decoder framework with the lexical mechanism added to the output layer to generate translations via learned token mappings.
Experimental results
Research questions
- RQ1Can a learned, decontextualized lexicon of token-level translation rules improve systematic generalization in few-shot neural sequence modeling?
- RQ2Which lexicon learning algorithm—information-theoretic, alignment-based, or rule-based—yields the best initialization for the lexical translation mechanism?
- RQ3Does joint learning of the lexicon and decoder parameters lead to significant performance gains over fixed, pre-initialized lexicons?
- RQ4How effective is the proposed mechanism in real-world low-resource machine translation, particularly for one-shot word learning?
- RQ5To what extent does the model’s performance depend on the inductive bias of the lexicon initializer, especially in tasks where training accuracy is easily achieved?
Key findings
- The lexical translation mechanism with a rule-based lexicon initializer achieves the highest reported performance on COGS (0.83 F1) and Colors (100% accuracy on test set), outperforming baselines.
- On the Tatoeba English–Chinese translation task, the model improves BLEU by 1.2 points on the full test set and by 2.2 points on 1-shot examples (where words appear only once in training).
- The rule-based initializer matches or outperforms PMI and IBMM2-based methods across all tasks, suggesting high-precision lexical pairs are more effective than statistical estimates.
- Fine-tuning the lexicon during training provides only marginal gains (≤1% improvement on COGS), indicating that offline lexicon initialization is crucial and sufficient.
- The model achieves 100% accuracy on the Colors dataset, a benchmark for compositional generalization, demonstrating robustness to rare and unseen syntactic structures.
- The approach generalizes beyond synthetic tasks, showing strong performance on real-world low-resource machine translation, particularly for fast mapping of rare words.
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.