{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifr7zjvuoz5dbaslpxzzi2i2i2en5srmfo3xic26hv3ejpksqzhr4",
"uri": "at://did:plc:3fychdutjjusoqeq24ljch6q/app.bsky.feed.post/3mn7eeix6ubz2"
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreiflo6xt7is6b2iafwghkjahlgggocme5jwjsbeuqqwcywuvjhmszm"
},
"mimeType": "image/png",
"size": 24783
},
"path": "/abs/2605.31421v1",
"publishedAt": "2026-06-01T00:00:00.000Z",
"site": "https://arxiv.org",
"tags": [
"Fabio Massimo Zanzotto",
"Federico Ranaldi",
"Giorgio Satta"
],
"textContent": "**Authors:** Fabio Massimo Zanzotto, Federico Ranaldi, Giorgio Satta\n\nIn 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.",
"title": "Neuro-symbolic Syntactic Parsing: Shaping a Neural Network with the CYK Algorithm"
}