Manuscript Offprint

arXiv:2610.02529

A generative-informed neuro-symbolic framework for syntactic ambiguity resolution: Evidence from Arabic DPs

Mohammed Damom, Muneef Y. Alshawsh, Ashraf A. Naji, Mustafa Ali Alhamzi, Fawwaz An-Nashef, Jameel Ahmed Elayah, Mohammed Q. Shormani, Noman AL-Sayadi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Syntactic ambiguity poses a persistent challenge for Arabic NLP, particularly in morphologically rich nominal constructions where multiple structu6ral interpretations may be compatible with the same surface sequence. This study proposes a generatively informed neuro-symbolic framework for resolving structural ambiguity in Modern Standard Arabic (MSA) DPs. The framework integrates generative syntactic notions with AraBERT by representing ambiguity as a candidate-based decision task in which linguistically motivated alternatives are explicitly constructed and evaluated through candidate-conditioned input representations. Findings indicate that the model achieved 96.88% accuracy, 95.92% macro-F1, 96.83% weighted F1, and 93.94% binary F1 on the unseen evaluation set. Class-level analysis revealed asymmetric performance, with recall of 99.71% for High/VP Attachment (N1) and 89.26% for Low/NP/Embedded Attachment (N2), indicating greater difficulty in recovering the embedded interpretation. The study concludes that formal syntactic representations can be operationalized within Transformer-based NLP as an explicit interface between linguistic structure and contextual neural modeling, providing a controlled and interpretable approach to Arabic syntactic ambiguity resolution and beyond.

Keywords: Generative linguistics, neuro-symbolic mechanism, Search Space, Merge, Arabic NLP, syntactic ambiguity resolution, Arabic DPs, AraBERT, candidate-based disambiguation

1. Introduction

The mainstream line of deep learning (DL) research frequently confronts fundamental questions regarding syntactic phenomena like structural ambiguity that present well-documented processing challenges even for native human speakers (Shormani, 2014a). Central to this inquiry is whether Transformer-based models (TBMs) like BERT, AraBERT (Antoun et al., 2020), and MARBERT truly comprehend natural language ambiguity. If they do, critical questions remain about the extent to which their contextual representations capture structural variations, the exact computational mechanisms driving their disambiguation capacity, and whether integrating formal generative syntax assumptions and structured inputs can enhance their performance.

Ambiguity is an inherent property of natural language (Chomsky, 2002), spanning phonological, lexical, and syntactic dimensions. Syntactic ambiguity has long constituted a central problem in linguistic theory because a single surface string may correspond to more than one underlying syntactic interpretation (Chomsky, 1965; Frazier & Fodor, 1978). This phenomenon is particularly significant within generative approaches to syntax, where the relationship between overt linguistic form and covert structural representations is a primary theoretical concern. From this perspective, structural ambiguity is not merely an artifact of lexical polysemy or pragmatic context; rather, it emerges when a sequence of surface constituents permits more than one syntactic organization, attachment relation, or hierarchical derivation. Thus, examining syntactic ambiguity provides an essential empirical benchmark for evaluating how overt form maps onto alternative structural interpretations in both human sentence processing and artificial neural networks (Manning et al., 2020).

In this study, we investigate syntactic ambiguity within Arabic Determiner Phrases (DPs), focusing specifically on Construct States (CSs/idāfa), nonCSs and coordinated DPs. Arabic DP constructions exhibit rich morphosyntactic agreements like φ-features, and definiteness constraints, that interact directly with attachment height, yielding well-defined structural ambiguities (Shormani, 2014a). This investigation addresses an unexplored empirical domain, as no previous work has targeted attachment ambiguity resolution in Arabic CSs by combining Transformer-based contextual encoders with formal syntactic candidate generation. Additionally, the structural precision of Arabic CS attachment offers a controlled testing ground to determine whether neural language models learn genuine hierarchical syntactic relations or rely on shallow lexical association biases (Linzen et al., 2016; Gulordava et al., 2018). Ultimately, this work establishes a framework for incorporating formal generative linguistics into modern machine learning (ML) architectures, demonstrating how symbolic generative constraints and neural contextual representations can be synthesized into a unified model.

In this study, we investigate a compelling topic focusing strictly on syntactic ambiguity in Arabic DPs, including CSs, non-NonCSs, and coordinated DPs. We conduct this study for several reasons: i) to the best of our knowledge, no previous study has computationally modeled this specific structural contrast by bridging the symbolic operations of generative syntax, specifically Merge (building hierarchical structures), Agree (enforcing feature-matching constraints like φ-features, Case), and the definition of a constrained structural search space, with the contextual attention mechanisms of neural Transformer models, ii) existing Arabic NLP benchmarks lack fine-grained, human-annotated ground-truth corpora dedicated to structural DP attachment ambiguity. We bridge this gap by establishing a verified dataset of 6696 human-ground-truth instances (4881 High/VP attachment cases and 1815 Low/NP attachment cases) systematically filtered from an initial pool of 44637 sentence-level candidates, and iii) our finetuned AraBERT model demonstrates that neural multi-head attention can effectively learn candidate-conditioned structural preferences, achieving notable performance across complex ambiguity configurations while highlighting remaining challenges in resolved vs. unresolved feature-agreement contexts. Thus, this study opens new horizons for investigation within Arabic computational syntax, establishing a promising neuro-symbolic framework that demonstrates how formal generative primitives and deep neural representations can mutually inform one another.

The remainder of this article is structured as follows. Section 2 outlines the theoretical foundations, reviews related work in Arabic syntactic parsing and structural ambiguity resolution. Section 3 spells out the study methodology, candidate-based representation, dataset construction, and model training procedures. Section 4 presents the experimental results and fine-grained error analysis. and Section 5 discusses these results, and Section 6 concludes the article with main implications, limitations and directions for future research.

References (66)