[Paper Review] A Dynamic Window Neural Network for CCG Supertagging
This paper proposes a dynamic window neural network for CCG supertagging that uses learnable logistic gates to adaptively select relevant context words, replacing fixed-size windows. By applying dropout to these gates, the method achieves word-level regularization, improving generalization and setting a new state-of-the-art performance on the CCGBank 02-21 test set across both MLP and RNN architectures.
Combinatory Category Grammar (CCG) supertagging is a task to assign lexical categories to each word in a sentence. Almost all previous methods use fixed context window sizes as input features. However, it is obvious that different tags usually rely on different context window sizes. These motivate us to build a supertagger with a dynamic window approach, which can be treated as an attention mechanism on the local contexts. Applying dropout on the dynamic filters can be seen as drop on words directly, which is superior to the regular dropout on word embeddings. We use this approach to demonstrate the state-of-the-art CCG supertagging performance on the standard test set.
Motivation & Objective
- To address the limitation of fixed context window sizes in existing CCG supertagging methods, which fail to adapt to varying ambiguity levels across words.
- To improve generalization by introducing a dynamic filtering mechanism that learns which context words are most informative for each target word.
- To enhance model robustness through dropout applied directly on the dynamic filter gates, effectively performing word-level regularization.
- To demonstrate the effectiveness of the dynamic window approach across multiple architectures, including MLPs and RNNs (including LSTMs).
- To provide interpretability through visualization of learned attention patterns in the context window.
Proposed method
- The model uses a logistic gate for each context word in a local window around the target word, allowing the network to learn which context words to attend to.
- The gate values are computed via a differentiable sigmoid function applied to a context representation, enabling end-to-end training.
- Dropout is applied to the gate values during training, which effectively masks entire words in the context, acting as word-level regularization.
- The final context representation is formed by a gated concatenation of word features, where only high-activation gates contribute significantly.
- The method is applied to both feedforward (MLP) and recurrent (LSTM) networks, with consistent performance gains.
- The architecture integrates attention-like behavior through dynamic filtering, without relying on weighted attention mechanisms or memory networks.
Experimental results
Research questions
- RQ1Can a learnable, dynamic context window improve CCG supertagging performance compared to fixed-size windows?
- RQ2Does applying dropout to the dynamic filter gates lead to better generalization than standard dropout on word embeddings?
- RQ3How do the dynamic filter gates adapt during training, and do they focus on semantically relevant context words?
- RQ4Can the dynamic window mechanism be effectively applied to both feedforward and recurrent neural networks?
- RQ5To what extent does the model's attention behavior align with linguistic intuition, such as focusing on nearby syntactic constituents?
Key findings
- The dynamic window approach significantly outperforms fixed-window models, achieving state-of-the-art performance on the standard CCGBank 02-21 test set.
- On the development set, the LSTM with dynamic window (LSTM + dyn) initially underperforms but surpasses the baseline after 20 epochs, indicating better generalization and reduced overfitting.
- Visualizations show that after convergence, the model learns to suppress distant context words and focus on nearby, semantically relevant words.
- The method improves performance across both MLP and RNN architectures, demonstrating broad applicability.
- Dropout applied to the dynamic gates leads to a substantial performance gain, validating its effectiveness as a form of word-level regularization.
- The model achieves a 1-best accuracy of 93.9% on the development set when using a window size of 1 in a stacked bi-LSTM, highlighting the importance of context window adaptivity.
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.