[Paper Review] Exploiting Rich Syntactic Information for Semantic Parsing with Graph-to-Sequence Model
This paper proposes a graph-to-sequence model that encodes rich syntactic information—word order, dependency, and constituency structures—into a unified syntactic graph to improve semantic parsing. By leveraging a graph encoder to aggregate multi-hop neighborhood information and a sequence decoder with attention over node embeddings, the model achieves state-of-the-art performance on benchmark datasets and demonstrates superior robustness on adversarial examples, especially when all three syntactic features are combined.
Existing neural semantic parsers mainly utilize a sequence encoder, i.e., a sequential LSTM, to extract word order features while neglecting other valuable syntactic information such as dependency graph or constituent trees. In this paper, we first propose to use the extit{syntactic graph} to represent three types of syntactic information, i.e., word order, dependency and constituency features. We further employ a graph-to-sequence model to encode the syntactic graph and decode a logical form. Experimental results on benchmark datasets show that our model is comparable to the state-of-the-art on Jobs640, ATIS and Geo880. Experimental results on adversarial examples demonstrate the robustness of the model is also improved by encoding more syntactic information.
Motivation & Objective
- To address the limitation of existing neural semantic parsers that rely solely on sequential LSTM encoders and neglect rich syntactic structures.
- To explore whether combining multiple syntactic features—word order, dependency, and constituency—can enhance semantic parsing performance and robustness.
- To design a unified syntactic graph representation that integrates diverse syntactic information into a single structured input for neural models.
- To evaluate the model's robustness under adversarial perturbations such as word swapping and paraphrasing, which disrupt surface-level word order.
Proposed method
- Construct a syntactic graph that includes word order via bidirectional chains of word nodes, dependency relations via labeled directed edges between content words, and constituency structures via non-terminal phrase nodes and their hierarchical relationships.
- Use a graph encoder based on message passing to compute node representations by aggregating features from K-hop neighbors, followed by a pooling mechanism to generate a global graph embedding.
- Employ a sequence decoder with an attention mechanism that attends over node embeddings in the syntactic graph to generate logical forms token-by-token.
- Treat dependency labels and constituent tree labels as separate nodes with textual attributes to preserve structural semantics without modifying the core graph architecture.
- Train the model using a standard sequence-to-sequence objective with cross-entropy loss on (text, logical form) pairs from benchmark datasets.
- Evaluate robustness on two types of adversarial examples: word-swapped sentences and paraphrased queries, using accuracy drops as a measure of stability.
Experimental results
Research questions
- RQ1Can integrating multiple types of syntactic information—word order, dependency, and constituency—improve semantic parsing accuracy compared to models using only sequential features?
- RQ2How does the inclusion of syntactic structure affect model robustness under adversarial perturbations such as word reordering or paraphrasing?
- RQ3Does a graph-to-sequence architecture that encodes heterogeneous syntactic structures outperform standard sequence-based encoders in semantic parsing tasks?
- RQ4Which syntactic feature contributes most to robustness under distributional shift, such as paraphrased or noisy input?
Key findings
- The proposed model achieves competitive performance on standard benchmarks, matching or exceeding state-of-the-art results on Jobs640, ATIS, and Geo880.
- On adversarial examples with word swaps, the model using all three syntactic features maintained the highest accuracy, with a 2.5% performance gap over the word-order-only model at 5 swapped words.
- The model using only word order features showed the largest drop in accuracy (6.1%) on paraphrased inputs, while the full model dropped only 2.5%, indicating improved robustness from syntactic structure.
- Dependency and constituency features contributed more to robustness than word order alone, as evidenced by smaller accuracy drops under both word-swapping and paraphrasing attacks.
- The combination of all three syntactic features led to the most stable performance across all adversarial settings, confirming that structural information enhances generalization.
- The model's performance on the original development set of ATIS reached 86.0% accuracy when using all three features, outperforming models using only one or two features.
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.