Transformer with Tree-order Encoding for Neural Program Generation

Publikation: Beiträge in SammelwerkenAufsätze in KonferenzbändenForschung

Authors

While a considerable amount of semantic parsing approaches have employed RNN architectures for code generation tasks, there have been only few attempts to investigate the applicability of Transformers for this task. Including hierarchical information of the underlying programming language syntax has proven to be effective for code generation. Since the positional encoding of the Transformer can only represent positions in a flat sequence, we have extended the encoding scheme to allow the attention mechanism to also attend over hierarchical positions in the input. Furthermore, we have realized a decoder based on a restrictive grammar graph model to improve the generation accuracy and ensure the well-formedness of the generated code. While we did not surpass the state of the art, our findings suggest that employing a tree-based positional encoding in combination with a shared natural-language subword vocabulary improves generation performance over sequential positional encodings.
OriginalspracheEnglisch
TitelConference XXX
Anzahl der Seiten10
DOIs
PublikationsstatusIn Vorbereitung - 30.05.2022
Extern publiziertJa

Zuletzt angesehen

Publikationen

  1. A fast sequential injection analysis system for the simultaneous determination of ammonia and phosphate
  2. Towards improved dispatching rules for complex shop floor scenarios - A genetic programming approach
  3. Control of the inverse pendulum based on sliding mode and model predictive control
  4. Mathematics in Robot Control for Theoretical and Applied Problems
  5. Reading and Calculating in Word Problem Solving
  6. E-stability and stability of adaptive learning in models with asymmetric information
  7. TextGraphs 2024 Shared Task on Text-Graph Representations for Knowledge Graph Question Answering
  8. Assessing Effects Through Semi-Field and Field Toxicity Testing
  9. Temporal processes in prime–mask interaction
  10. Influence of Process Parameters and Die Design on the Microstructure and Texture Development of Direct Extruded Magnesium Flat Products
  11. A new way of assessing the interaction of a metallic phase precursor with a modified oxide support substrate as a source of information for predicting metal dispersion
  12. Analysis And Comparison Of Dispatching RuleBased Scheduling In Dual-Resource Constrained Shop-Floor Scenarios
  13. The Dialectics of Open Access
  14. Teaching methods for modelling problems and students’ task-specific enjoyment, value, interest and self-efficacy expectations
  15. Adaptive control of the nonlinear dynamic behavior of the cantilever-sample system of an atomic force microscope
  16. Recontextualizing Anthropomorphic Metaphors in Organization Studies
  17. Global fern and lycophyte richness explained: How regional and local factors shape plot richness
  18. A comprehensive Eulerian modeling framework for airborne mercury species
  19. Influence of Long-Lasting Static Stretching Intervention on Functional and Morphological Parameters in the Plantar Flexors
  20. Using EEG movement tagging to isolate brain responses coupled to biological movements
  21. How to support students-learning in mathematical bridging-courses using ITS? Remedial Scenarios in the EU-Project Math-Bridge
  22. Active plasma resonance spectroscopy: Eigenfunction solutions in spherical geometry
  23. Master of Disaster: A Disaster-Related Event Monitoring System From News Streams
  24. Theorie des Quantum Computings
  25. Pathways of Data-driven Business Model Design and Realization
  26. Sensorless Control of AC Motor Drives with Adaptive Extended Kalman Filter
  27. Rapid grain refinement and compositional homogenization in a cast binary Cu50Ni alloy achieved by friction stir processing
  28. Towards Advanced Learning in Dispatching Rule-Based Scheuling
  29. More than a YouTube Channel