Hierarchical Code Embeddings with Multi-Level Attention for Reinforcement Learning State Representation
luqi wang, yili xuan
ICLR 2026 submission
Abstract. \begin{abstract} In this paper, we propose novel state representation and reinforcement learning (RL) system of encoding the semantics of code hierarchically using multiple attention mechanisms. Traditional approaches regularly address code embeddings as flat sequences or to be reliant only on graph-based representations, which don't capture the complex level of interplay between local and global code features. The proposed method incorporate token-level, function-level, and module-level attention using graph-structured dependencies, to allow the RL agent to reason about code at varying granularities while maintaining structural relationships \end{abstract}
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…