We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Towards Neural Functional Program Evaluation

Abstract: This paper explores the capabilities of current transformer-based language models for program evaluation of simple functional programming languages. We introduce a new program generation mechanism that allows control over syntactic sugar for semantically equivalent programs. T5 experiments reveal that neural functional program evaluation performs surprisingly well, achieving high 90% exact program match scores for most in-distribution and out-of-distribution tests. Using pretrained T5 weights has significant advantages over random initialization. We present and evaluate on three datasets to study generalization abilities that are specific to functional programs based on: type, function composition, and reduction steps. Code and data are publicly available at this https URL
Comments: 9 pages. Accepted at the AIPLANS workshop at NeurIPS 2021
Subjects: Computation and Language (cs.CL); Programming Languages (cs.PL)
Cite as: arXiv:2112.04630 [cs.CL]
  (or arXiv:2112.04630v1 [cs.CL] for this version)

Submission history

From: Torsten Scholak [view email]
[v1] Thu, 9 Dec 2021 00:20:29 GMT (102kb,D)

Link back to: arXiv, form interface, contact.