View on GitHub

NeuroStructuralDecoding

[ACL2023] NeuroStructural Decoding: Neural Text Generation with Structural Constraints

What is NeuroStructural Decoding?

A neural text generation algorithm that leverages structural constraints for decoding.

This is the official page for the paper: NEUROSTRUCTURAL DECODING: Neural Text Generation with Structural Constraints accepted at ACL2023.

NEUROSTRUCTURAL DECODING is a new decoding algorithm that incorporates syntactic constraints to improve the quality of the generated text. We build NEUROSTRUCTURAL DECODING on the NeuroLogic Decoding (Lu et al., 2021) algorithm, which enables language generation models to produce fluent text while satisfying complex lexical constraints. It tracks lexico-syntactic constraints during decoding by parsing the partial generations at each step.

Example

In the following example we see an example that compares the output produced by Neurologic Decoding with lexical constraints alone vs. the output generated by NEUROSTRUCTURAL DECODING with lexico-syntactic constraints.

Image of NeuroStructuralDecoding

Code

Code can be found in our GitHub Page.

Liked us? Cite us!

Please use the following bibtex entry:

@inproceedings{bastan-etal-2023-neurostructural,
    title = "{NEUROSTRUCTURAL} {DECODING}: Neural Text Generation with Structural Constraints",
    author = "Bastan, Mohaddeseh  and
      Surdeanu, Mihai  and
      Balasubramanian, Niranjan",
    editor = "Rogers, Anna  and
      Boyd-Graber, Jordan  and
      Okazaki, Naoaki",
    booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2023",
    address = "Toronto, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.acl-long.528",
    doi = "10.18653/v1/2023.acl-long.528",
    pages = "9496--9510",
}