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 denoising procedure using wavelet packets for instantaneous detection of pantograph oscillations
  2. Recurrence Quantification Analysis of Processes and Products of Discourse
  3. Integrating Mobile Devices into AAL-Environments using Knowledge based Assistance Systems
  4. Using cross-recurrence quantification analysis to compute similarity measures for time series of unequal length with applications to sleep stage analysis
  5. FaST: A linear time stack trace alignment heuristic for crash report deduplication
  6. Automatic enumeration of all connected subgraphs.
  7. Supporting discourse in a synchronous learning environment
  8. Modelling the Complexity of Measurement Estimation Situations - A Theoretical Framework for the Estimation of Lengths
  9. Authenticity and authentication in language learning
  10. How Much Tracking Is Necessary? - The Learning Curve in Bayesian User Journey Analysis
  11. Towards improved dispatching rules for complex shop floor scenarios - A genetic programming approach
  12. Expertise in research integration and implementation for tackling complex problems
  13. Identification of structure-biodegradability relationships for ionic liquids - clustering of a dataset based on structural similarity
  14. Using augmented video to test in-car user experiences of context analog HUDs
  15. Linux-based Embedded System for Wavelet Denoising and Monitoring of sEMG Signals using an Axiomatic Seminorm
  16. Top-down contingent attentional capture during feed-forward visual processing
  17. Microstructural development of as-cast AM50 during Constrained Friction Processing: grain refinement and influence of process parameters
  18. Distributed robust Gaussian Process regression
  19. Continuous 3D scanning mode using servomotors instead of stepping motors in dynamic laser triangulation
  20. A decoupled MPC using a geometric approach and feedforward action for motion control in robotino
  21. Situated multiplying in primary school
  22. Dynamically changing sequencing rules with reinforcement learning in a job shop system with stochastic influences
  23. Long-term memory predictors of adult language learning at the interface between syntactic form and meaning
  24. Early Detection of Faillure in Conveyor Chain Systems by Wireless Sensor Node
  25. A Switching Cascade Sliding PID-PID Controllers Combined with a Feedforward and an MPC for an Actuator in Camless Internal Combustion Engines
  26. Transductive support vector machines for structured variables
  27. Selecting and Adapting Methods for Analysis and Design in Value-Sensitive Digital Social Innovation Projects: Toward Design Principles
  28. Accounting and Modeling as Design Metaphors for CEMIS
  29. Taking notes as a strategy for solving reality-based tasks in mathematics
  30. Special Issue The Discourse of Redundancy Introduction