pith. sign in

arxiv: 2605.31421 · v1 · pith:KY3JL6NBnew · submitted 2026-05-29 · 💻 cs.CL · cs.AI· cs.DS

Neuro-symbolic Syntactic Parsing: Shaping a Neural Network with the CYK Algorithm

classification 💻 cs.CL cs.AIcs.DS
keywords algorithmnetworkneuralapproacharchitecturellmsneuro-symbolicparsing
0
0 comments X
read the original abstract

In this paper, we show the possibility of a direct injection of algorithms into neural network architecture. We focus on a complex algorithm, that is, Cocke-Youger-Kasami (CYK) for parsing context-free grammars in Chomsky Normal Form and we propose CYKNN, a simple recurrent neural network architecture for encoding the CYK algorithm in trainable matrix-vector multiplications.We experimented with a very simple grammar with 4 variations showing that our approach outperforms existing LLMs with more than 20B parameters with an in-context learning setting and smaller LLMs of the Qwen family fine-tuned with LoRA. Our attempt paves the way to a different approach to neuro-symbolic methodologies.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.