Manuscript Offprint
arXiv:2610.29027Beyond Tokens: NumAnchor for Address-Grounded Numeric Operand Representation in Assembly Language Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Kun Liu*, Keith Mitchell*, Xin Hu*, Jiangcheng Yu†, Chenke Luo*, Zhengming Ding*, Haotian Zhang†, Jiang Ming*
*Tulane University, USA
†New Jersey Institute of Technology, USA
‡Independent Researcher
Abstract—Assembly language models (ALMs) are becoming important foundations for automated binary program analysis, but their token-level interfaces remain mismatched with numeric-like operands, which are common and semantically dense in stripped binaries. In two evaluated corpora, such operands account for 45.7% and 40.9% of all operand occurrences, yet their surface values may denote branch targets, global objects, stack slots, ordinary constants, or unresolved pointer-derived values. Existing ALMs expose this heterogeneity only partially through coarse placeholders, jump-specific rewriting, or execution-derived side channels, leaving a representation-boundary gap between static-analysis preprocessing and model-facing inputs.
We present NumAnchor, a structure-aware input-boundary adapter that exposes recoverable numeric-like operands as typed, canonicalized program entities for ALMs. Rather than proposing a new static analyzer or modifying Transformer backbones, NumAnchor defines how recovered code, data, and stack artifacts enter the model interface: it preserves repeated entity identity and locality through compact side descriptors and fuses them before the first Transformer layer while keeping host architectures, pretraining objectives, and downstream protocols unchanged. On frozen instruction-level embeddings, NumAnchor makes address-grounded structure recoverable, reaching 98.7% hierarchical-location probing accuracy and 0.932/0.907 AUROC on jump/call target alignment. Across instruction-level, function-level, rebasing-oriented, and execution-aware ALMs, it improves 10k-candidate function retrieval by up to 35.0% in Recall@1 and 31.7% in MRR, and improves execution-aware type recovery by up to 5.2 F1 points. Ablations show complementary gains from code, data, and stack descriptors, while the side-channel design keeps overhead modest without increasing host sequence length.
I. INTRODUCTION
Deep learning has become a central paradigm for automated software engineering and program analysis [1]–[3]. In binary program analysis, models often operate on executable artifacts rather than source code, where semantics are reflected through low-level representations and compiler-shaped structures [4]. Some approaches lift binaries into higher-level representations to reuse source-oriented models [5]–[7], but such lifting can obscure executable-level layout and address-grounded structure. Assembly language models (ALMs) offer a complementary path by learning directly from disassembly. Pretrained on large unlabeled assembly corpora, ALMs provide transferable representations for binary-analysis and reverse-engineering tasks, including function recognition [8], type recovery [9], binary similarity [10], vulnerability search [11]–[13], and malware analysis [14]–[16].
Yet, learning directly from disassembly does not remove the representation mismatch between binary code and text-based modeling [17]. Most ALMs follow a Transformer-based sequence-modeling paradigm, operating on tokenized instruction streams rather than explicitly representing the structural relations that organize binary programs [18]. Although disassembly is serialized as mnemonics and operands, many assembly tokens carry recoverable program structure whose meaning cannot be inferred from surface form alone. This issue is especially prominent for numeric-like operands, which account for 45.7% and 40.9% of all operand occurrences in the StateFormer [19] and jTrans [20] corpora, respectively. In a stripped binary, a hexadecimal value such as 0x3ccd4 in jmp 0x3ccd4 is not merely a constant; it denotes a control-flow anchor. Raw numeric values are also unstable across relocation, rebasing, and compiler transformations. Treating them as ordinary lexical tokens encourages models to learn brittle layout-specific artifacts, whereas uniformly normalizing them into generic placeholders discards entity identity and locality needed by downstream binary-analysis tasks.
Prior work has recognized the difficulty of modeling numeric operands, but existing interfaces expose recovered structure only partially. Abstraction-based ALMs [21]–[23] reduce out-of-vocabulary (OOV) effects by replacing numerics with coarse placeholders, often losing repeated entity identity and locality. Jump-aware methods [20], [24] preserve selected control-flow targets, but provide limited support for data references and stack layouts. Execution-aware models [19], [25], [26] expose runtime semantics through traces or state sequences, yet these signals may be unavailable in static deployment. Thus, the missing piece is not merely more static-analysis artifacts, but a unified model-facing interface that converts recoverable code, data, and stack structure into typed, layout-stable signals for ALMs.
To address this representation-boundary gap, we present NumAnchor, a structure-aware input-boundary interface for numeric-like operands in ALMs. Rather than introducing a new static-analysis algorithm or relying on task-specific rewriting rules, NumAnchor defines how recovered static artifacts enter the model interface. It maps recoverable numeric-like operands to typed and canonicalized program entities, preserves shared identities and hierarchical locality through compact side descriptors, and falls back to generic numeric representations when grounding is unavailable or ambiguous. These signals are fused at the input embedding layer, allowing NumAnchor to integrate with existing Transformer-based ALMs without changing their backbone architectures, pretraining objectives, or downstream protocols.
We evaluate NumAnchor as a non-invasive adapter across multiple binary-analysis tasks and ALM backbones. Frozen-embedding probes show that NumAnchor makes address-grounded structure recoverable after pretraining, reaching 98.7% hierarchical-location accuracy and 0.932/0.907 AUROC on jump/call target alignment. For function retrieval, NumAnchor improves instruction-level and function-level ALMs by up to 35.0% in Recall@1 and 31.7% in MRR in the challenging 10k-candidate setting. For type recovery, it improves execution-aware modeling by up to 5.2 F1 points. Ablations show that code, data, and stack descriptors provide complementary benefits over role-only and generic numeric encodings, with modest parameter and inference overhead.
In summary, this paper makes the following contributions:
• Problem Characterization. We identify numeric-like operands as a central representation challenge for ALMs in stripped binaries. We show that existing tokenization and normalization strategies struggle to preserve transferable structural meaning from raw numeric values.
• Structure-Aware Representation Interface. We introduce NumAnchor, a representation-boundary interface that exposes recoverable program structure to ALMs in a stable and model-compatible form. Rather than proposing a new static analyzer or task-specific heuristics, NumAnchor provides a unified mechanism for preserving structural signals before binary-code tokenization.
• Evaluation Across Downstream Tasks. We evaluate NumAnchor across representative ALM families, input granularities, and downstream binary-analysis tasks. The results show consistent gains over baseline models and simpler numeric encodings, while ablations confirm the complementary value of different structural signals with modest overhead.
A. Why Numeric-like Operands Are Hard to Model
Large and Unstable Value Space. Modeling numeric-like operands in stripped binaries creates a mismatch with standard
(1) Code Addresses
call 0x772e5
call 0x3cdc5
jmp 0x3ccd4
(3) Stack Offsets
mov [rbp-0x4d0], rsi
mov rax, [rbp-0x4d0]
mov rdx, [rbp-0x4c8]
(2) Data Addresses
mov rax, [0x4e33d0]
mov [0x4e33d0], rax
mov rdx, [0x4e33a0]
(4) Immediates
mov eax, 0x4d0
mov edx, 0x28
mov edi, 0x0d
(5) Other Numeric Values
mov [rax+0x20], rdx
mov rbx, [rax+0x28]
mov [rbx+0x18], rax
Figure 1: Representative numeric-like operands from openssl's main function.
text-based representations. Transformer-based ALMs rely on finite token vocabularies, whereas numeric operands may range over large 32-bit or 64-bit address spaces. Treating each raw literal as an independent token is therefore impractical: many values are rare or unseen during training, and their embeddings provide little reusable signal across binaries. Moreover, raw numeric values often change across compiler optimizations, rebasing, relocation, and memory-layout changes, encouraging models to memorize layout-specific artifacts rather than transferable program structure.
Position-Dependent Semantics. The meaning of a numeric operand depends on where and how it appears in the executable, not on its surface value alone. As illustrated in Figure 1, the literal 0x4d0 may represent a base-relative stack-frame offset (Box 3) or an ordinary arithmetic immediate (Box 4). Similarly, hexadecimal-looking operands may denote control-flow targets (Box 1), global data objects (Box 2), stack slots (Box 3), or unresolved pointer-derived displacements (Box 5). Thus, numeric operands cannot be interpreted reliably from lexical form alone; they must be grounded in their surrounding program structure.
Raw Values vs. Over-Abstraction. These properties create a practical tension for ALM input design. Preserving raw literals keeps some structural distinctions visible, such as whether two instructions refer to the same global object or stack slot, but exposes the model to unstable layout-specific values. Conversely, normalizing all numerics into coarse placeholders, such as <IMM> or <ADDR>, reduces vocabulary sparsity but removes the structural distinctions that many binary-analysis tasks require. A useful representation should therefore balance these extremes: it should preserve grounded structural identities when static analysis is confident, distinguish roles such as code references, data references, stack-relative slots, and ordinary immediates, and fall back to generic numeric representations when grounding is ambiguous.
B. How Existing ALMs Handle Numeric-like Operands
The challenges discussed in Section II-A provide a useful lens for examining how existing ALMs represent numeric-like operands. As summarized in Table I, prior work exposes different subsets of entity-level information, but existing interfaces
Table I: Address/entity signals explicitly exposed for numeric-like operands at the model interface after preprocessing. √: explicit support; △: partial, indirect, or case-limited support; ×: no explicit support; †: used only during pretraining or through an auxiliary channel.
| Method | Entity role | Same entity | Branch target | Internal callee | Instruction location | Structural locality |
|---|---|---|---|---|---|---|
| PalmTree | △ | × | × | × | × | × |
| DeepSemantic / BinShot / UniASM / BinBert | △ | × | △ | △ | × | × |
| jTrans | △ | × | ✓ | × | × | △ |
| CLAP | △ | × | ✓ | △ | × | △ |
| TREX / StateFormer | × | × | × | × | × | |
| NeuDep | × | × | × | |||
| Ours | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Note. The table compares how recovered artifacts are exposed at the model interface after preprocessing, rather than overall model performance. Entity role denotes explicit typing of numeric operands as code-, data-, stack-, or value-like entities. Same entity denotes stable co-reference for repeated recovered entities. Branch target and Internal callee denote preserved direct branch destinations and internal call targets. Instruction location denotes exposure of the current instruction's recovered code anchor. Structural locality denotes retained normalized layout information across function/block, section, or stack-frame structure.
do not uniformly preserve layout-stable structure across code, data, and stack operands.
Lexical Abstraction and Role-Aware Normalization.
To reduce vocabulary sparsity and out-of-vocabulary (OOV) cases, representative ALMs, including PalmTree [21], DeepSemantic [22], BinShot [23], UniASM [27], and BinBert [28], apply instruction-level or role-aware normalization to numeric operands. These approaches replace raw numeric literals with symbolic or categorical placeholders, such as <ADDR>, <IMM>, or other role-specific variants. This prevents models from directly memorizing volatile surface values and exposes basic operand categories. However, because many distinct entities are still collapsed into shared placeholders, this representation does not preserve fine-grained entity identity or stable locality, such as whether distant instructions access the same global object or stack slot.
Jump-Aware Symbolic Rewriting. A second line of work incorporates limited control-flow structure into the input representation. For example, jTrans [20] models jump relationships by modifying positional embeddings and rewriting direct jump targets as symbolic labels with relative destination offsets. CLAP [24] instead combines deterministic address rebasing with subword WordPiece tokenization [29]. These designs help preserve local branch-target relationships and expose control-flow information to the host model. However, they are mainly specialized for jump-aware control-flow targets. They provide limited support for data references and stack-relative layouts, and sequence-relative indicators can still be constrained by the host Transformer's context window, especially for long-range intra-procedural jumps and inter-procedural call targets.
Execution-Aware Dynamic Channels. A third class of ALMs, including TREX [25], StateFormer [19], and NeuDep [26], augments the representation with dynamic execution traces, register states, or memory states. To process these numerical fields and temporal execution patterns, these pipelines often introduce specialized continuous or sequential components, such as NAU [30] or BiLSTM encoders [31]. This paradigm is effective for exposing operational semantics during pre- training, including runtime memory dependencies, instruction effects, and chronological value transformations. However, such auxiliary signals may be unavailable in static downstream settings.
Remaining Gap. Overall, existing strategies address important parts of numeric operand modeling, but they do not provide a unified, layout-normalized interface for static binary-analysis tasks. Lexical abstraction controls vocabulary size but can collapse distinct roles and repeated entities; for example, 0x4d0 in [rbp-0x4d0] denotes a stack-frame slot, whereas 0x4d0 in mov eax, 0x4d0 is an ordinary immediate. Jump-aware rewriting captures selected branch targets, such as jmp 0x3ccd4, but does not uniformly expose internal call targets such as call 0x772e5, nor does it generalize to data and stack structure, such as repeated references to the global object [0x4e33d0]. Execution-aware channels can expose runtime behavior for pointer-derived offsets, such as [rax+0x20], but rely on signals that may be unavailable during static deployment. Moreover, components such as NAU and BiLSTM encoders are better suited for continuous magnitudes and sequential dependencies than for representing binary addresses as stable topological anchors. These limitations suggest that the key gap is not the absence of static-analysis artifacts, but the lack of a unified model-facing interface for exposing numeric-related structure to ALMs.
III. MOTIVATION AND OVERVIEW
The limitations discussed in Section II point to a representation-boundary gap between static-analysis preprocessing and ALM input design, rather than a lack of recoverable program structure. Static-analysis artifacts are already a routine part of binary-analysis and ALM preprocessing pipelines, where recovered information is commonly used to construct or refine model inputs [32], [33]. For numeric-like operands, however, these artifacts are often consumed only as preprocessing aids: they help normalize, filter, or serialize token streams, but their entity roles, co-reference, and locality are not exposed to the model as unified, learnable signals. As

Figure 2: Overview of NumAnchor: a representation-boundary interface that exposes static-analysis-recovered numeric-like operands and instruction locations as typed, structure-aware signals for host ALMs.
a result, existing ALMs either collapse numeric operands into coarse placeholders, expose only narrow task-specific cues, or rely on execution-derived signals that may be unavailable in static deployment.
To address this gap, we present NumAnchor, a backbone-agnostic adapter that operates at the input boundary. Rather than introducing a new static-analysis algorithm or modifying the Transformer backbone, NumAnchor defines how recovered artifacts enter the model interface. It maps recoverable numeric-like operands to typed and canonicalized program entities, attaches compact descriptors for shared identity and hierarchical locality, and falls back to generic numeric representations when static grounding is unavailable or ambiguous. These descriptors turn brittle numeric literals into reusable, layout-stable signals for downstream ALMs.
A. NumAnchor Workflow
Figure 2 shows NumAnchor as a representation-boundary interface between a static-analysis frontend and the host ALM. Given raw disassembly and recovered structural artifacts, NumAnchor converts numeric-like operands into typed, canonicalized, and structurally augmented input signals. The same interface is used during pre-training and downstream fine-tuning, ensuring that learned structural cues remain available during static deployment.
I. Type and Canonicalize Entities ( IV-A). NumAnchor classifies numeric-like operands into code, data, stack, immediate, or unresolved categories, and canonicalizes grounded operands into shared model-facing entities.
II. Construct Structural Descriptors ( IV-B). For grounded entities, NumAnchor builds compact descriptors that capture code locality, data-section layout, and stack-frame structure in a normalized or relative form.
III. Serialize into the Host Carrier ( IV-C). NumAnchor serializes canonical tokens and structural side fields into the host model's native input format without expanding raw address tokens.
IV. Fuse at the Input Boundary ( IV-D). Finally, NumAnchor injects these signals before the first Transformer layer, preserving the host backbone, objectives, and downstream protocols.
IV. SYSTEM DESIGN
Figure 3 summarizes NumAnchor’s token-boundary workflow. NumAnchor operates as an input-boundary adapter: it leaves the host Transformer unchanged while augmenting the representation that enters it. Given disassembly and recovered static-analysis artifacts, NumAnchor follows the four-stage pipeline introduced in Figure 2: (i) it types numeric-like operands and opcode-side instruction anchors, then canonicalizes them into compact model-facing tokens; (ii) it constructs type-specific side descriptors; (iii) it serializes these descriptors into the host carrier; and (iv) it fuses them before the first Transformer layer.
For any disassembled unit, NumAnchor emits a host-compatible sequence
where is the lexical token processed by the host model, is the active NumAnchor routing path, is an optional multi-dimensional code- or data-structure descriptor, is an optional signed stack offset, and encapsulates host-specific auxiliary fields. The semantic routing space is defined as
where denotes tokens with no NumAnchor-specific route. During preprocessing, NumAnchor also maintains an internal grounded entity identifier for recovered code and data entities to resolve co-reference. This identifier is used only to construct structural descriptors and is never emitted as a standalone lexical token, avoiding expansion of the host token.

Figure 3: NumAnchor at the token boundary. Step A canonicalizes raw numeric-like operands into compact typed tokens while preserving resolved entities internally. Step B attaches route-specific side fields for code, data, and stack structure; masked entries denote inactive routes. Structural coordinates are rounded to two decimal places for readability.
sequence. As a result, NumAnchor preserves the host backbone architecture, pre-training objectives, and downstream execution protocols.
A. Analysis-Driven Typing and Canonicalization
Typing. Typing systematically maps each numeric-like operand to a specific semantic routing path based on recovered static-analysis artifacts, such as cross-references, section membership, function/basic-block boundaries, and stack-frame layouts. Our prototype extracts these artifacts using IDA Pro [34], but the interface can be instantiated with other disassembly frontends that provide comparable artifacts. For each operand occurrence within an analysis context , typing assigns a routing path
where T maps operands to one of the NumAnchor semantic routes defined above. These routes differentiate internal code references, static data references, stack slots, ordinary constants, and unresolved values. Additionally, opcode tokens retain their original lexical forms but are bound to the current instruction address as an optional code anchor when localized; all other tokens are forwarded with .
Canonicalization. Canonicalization decouples semantic identities from surface literals by mapping a typed occurrence to a compact lexical token together with internal grounding metadata:
Here denotes the emitted model-facing token, denotes an internal grounded identifier for resolved code, data, or instruction-anchor entities, and records an optional signed stack displacement. The identifier is internal only: it builds structural descriptors and is never emitted.
For internal code paths (e.g., direct branches and internal calls), the module resolves and records the destination target in . Opcode-side anchors preserve the opcode text while binding the current execution location via . External API stubs retain their stable imported symbols (e.g., printf@plt) without consuming an internal descriptor. Data references are canonicalized by section permissions, selecting from
{daddr, daddr_rodata, daddr_bss, daddr_unknown},
while assigning the absolute memory reference to . Stack-relative variables map to var, with their frame-relative displacement stored in . Finally, standard constants and unresolved pointer candidates default conservatively to imm and num, respectively, while non-numeric tokens set .
Crucially, co-referent code and data references consistently reuse the same internal entity identifier , while stack-relative references reuse the same signed displacement across instructions. Raw numeric literals are therefore excluded from lexical vocabulary expansion and are restricted solely to background descriptor generation.
B. Structural Descriptor Construction
Following typing and canonicalization, NumAnchor formalizes grounded entities into type-specific, normalized hierarchical descriptors, while stack entities bypass layout normalization to retain raw signed displacements. Formally, the coordinate descriptor is mapped via:
Descriptors are generated only when the enclosing spans are valid and non-degenerate; otherwise, the structural route is masked to avoid introducing unsupported topology.
Code structure and Opcode-Side Anchoring. Let a code entity resolve to a virtual address . For opcode-side anchors, marks the current execution location; for control-flow targets, designates the resolved destination. Given that resides within basic block , function , and total binary span , NumAnchor captures its cross-boundary position via a three-tier hierarchical descriptor , where:
Shared Coordinate System. This multi-tier formulation exposes structural relations that are difficult to recover from token order alone. Unlike prior work that treats jump targets as isolated symbolic tokens, NumAnchor places both the source instruction and its destination target in a shared spatial coordinate system. For example, consider the jle 0x1185 instruction at 0x1176 in Figure 3 (Step B). NumAnchor anchors the opcode token jle to the source address 0x1176, yielding the source-side coordinate (0.27, 0.00, 0.92), while canonicalizing the target operand as addr and grounding it to 0x1185, yielding the destination-side coordinate (0.27, 0.44, 0.00). Exposing these paired coordinates at the input boundary allows the ALM to model relative spatial relations between a branch instruction and its target, even when they are distant in the token sequence. External library calls use no internal code descriptor and set .
Data structure. Data entities encode section-level locality within the binary layout. Assuming a static data pointer targets address within a specific section , its spatial orientation is bounded by a two-tier descriptor , calculated as:
While the emitted canonical token (e.g., daddr_rodata) preserves coarse section permissions, provides finer-grained normalized locality beyond section-level typing. For example, as shown in Figure 3, a resolved data operand (daddr) receives a normalized descriptor such as (0.49, 0.14), providing a compact locality cue beyond the section-level token. If section attributes are unavailable or unreliable, NumAnchor sets .
Stack structure. Because local stack slots lack static absolute anchors within the binary image, mapping them to global binary coordinates would distort their layout semantics. NumAnchor therefore preserves their structural identity purely via the frame-relative signed offset extracted during canonicalization, keeping . As illustrated in Figure 3, a stack operand (var) does not use 3D layout normalization and instead retains its frame-relative geometry (e.g., -20).
C. Host-Compatible Serialization
Following descriptor construction, NumAnchor serializes each sample into the precise input carrier prescribed by the host ALM—whether instantiated as localized instruction pairs, basic-block control flow paths, or function-level token streams augmented with native execution traces. Irrespective of the carrier topology, each serialized element retains the address-aware structural tuple:
where is the model-facing lexical token, is the semantic routing path, is the structural coordinate descriptor, is the signed stack-relative offset, and encapsulates host-specific auxiliary fields. As conceptualized in Figure 3, this architecture establishes a multi-channel alignment protocol: the lexical row follows the host model's native vocabulary stream, while parallel side channels carry route-specific structural geometries, automatically masking inactive routing paths with .
This decoupled design keeps the host-facing sequence compact. By offloading raw numeric values from the primary token stream into parallel coordinate descriptors, NumAnchor avoids adding lexical tokens and mitigates vocabulary sparsity caused by raw numeric literals. Consequently, the host Transformer backbone receives its native instruction tokens alongside structurally-grounded side fields simultaneously at the representation boundary. For execution-aware or dynamic-tracing backbones, this structural augmentation interfaces exclusively with the static token-side channels, without modifying dynamic-trace or state channels.
D. Input-Side Fusion and Structural Lifting
Let be the baseline input representation synthesized by the original host model frontend (e.g., a BERT-style token initialization):
where is omitted natively if auxiliary channels are absent. NumAnchor injects structure-aware grounding directly at the token boundary prior to the first self-attention layer:
where is the indicator function. Elements routed to imm or num, or those tagged with side fields, rely entirely on , while grounded entities receive route-specific structural signals.
High-Dimensional Fourier Lifting. At the code and data routes, NumAnchor feeds normalized layout coordinates to lightweight multilayer perceptron (MLP) projections. Using each coordinate as a single scalar can bias these projections toward smooth, low-frequency patterns, limiting their ability to capture fine-grained positional variation [35], [36]. To provide a multi-scale representation, NumAnchor lifts each 1D continuous coordinate into a periodic feature space using a Fourier mapping , where is an even feature dimension and :
with , and serving as a frequency-scale hyperparameter instantiated separately for code and data domains. For brevity, we denote .
Effect of Fourier Lifting. Fourier lifting provides a multi-scale basis for normalized layout coordinates [35], [36]. Code and data locality can matter at different granularities: coarse coordinates indicate broad function, block, or section regions, while fine-grained offsets distinguish nearby instruction or object locations. By mapping across multi-frequency sinusoids, low-frequency components capture coarse layout information, while higher-frequency components preserve sensitivity to fine-grained locality, such as instruction-level offsets. This gives the route-specific projection access to both coarse and fine address-grounded structure, rather than forcing it to rely on a single scalar coordinate.
The code and data structural projections are subsequently formulated via separate MLPs:
where indicates feature concatenation, satisfying and . Decoupling these mappings is essential, as code hierarchy and static data locality capture fundamentally distinct execution behaviors.
Stack Offset Encoding. Unlike code or static data, stack slots lack absolute layouts within the binary image. NumAnchor uses a hybrid discrete-continuous encoding for stack variables. Setting (covering approximately of empirical var occurrences within the StateFormer training distribution), valid displacements are categorized into precise or overflow buckets via :
The stack representation merges localized categorical identity with global continuous scales:
Here, maps bucketed indicators to the hidden space, while projects the logarithmic distance feature. This hybrid design supports exact bucket-level matching for frequent local stack slots, while preserving coarse magnitude markers for rare, extreme frame displacements without inducing excessive embedding-table growth.
E. Portability and Fallback Design
NumAnchor operates only at the input boundary: its structural signals are fused before the Transformer layers, leaving the host backbone, prediction heads, and training objectives unchanged. This design supports different ALM input formats without auxiliary pre-training. When static analysis cannot reliably ground a numeric operand as code, data, or stack related, NumAnchor masks the structural side fields and falls back to generic imm or num channels, avoiding unsupported structural assumptions while preserving frontend compatibility.
V. EVALUATION
Table II: Operand-level statistics in stripped binaries. Percentages are measured over all operand occurrences; Code, Data, Stack, Imm., and Other sum to Num./All.
| Dataset | Num./All | Code | Data | Stack | Imm. | Other |
|---|---|---|---|---|---|---|
| StateFormer | 45.73% | 14.41% | 4.87% | 12.47% | 12.11% | 1.87% |
| jTrans | 40.93% | 9.97% | 8.22% | 9.17% | 7.63% | 5.94% |
Table III: Evaluated models. Pre-training tasks: MLM, CWP, DUP, JTP and GSM refer to Masked Language Modeling, Context Window Prediction, Def-Use Prediction, Jump Target Prediction, Generative State Modeling, respectively.
| Model | Family | Pre-training tasks | Evaluation tasks |
|---|---|---|---|
| PalmTree [21] | Instruction-level | MLM, DUP | Intrinsic probes; func. similarity search |
| BERT [37] | Function-level | MLM | Func. similarity search |
| jTrans [20] | Function-level | MLM, JTP | Func. similarity search |
| JTRANS-CLAP [24] | Function-level | MLM, JTP | Func. similarity search |
| StateFormer [19] | Function/code-block-level | GSM | Type inference |
| TREX [25] | Function-level | MLM | Func. similarity search |
A. Experimental Setup
We use a controlled within-model evaluation protocol to isolate the impact of NumAnchor. Each baseline is compared only with its NumAnchor-enhanced variant, while keeping the neural architecture, training hyperparameters, and task formulation unchanged. The main paper reports all primary results needed to answer the RQs; the Supplemental Material expands benchmark construction, preprocessing, integration details, metrics, and additional curves and tables.
Benchmarks and Empirical Motivation. Models are evaluated on their prescribed benchmarks: BinaryCorp-3M for the jTrans lineage and the StateFormer dataset for the remaining baselines. BinaryCorp-3M contains 10,265 binaries and about 3.6M functions, while the StateFormer dataset includes 33 x86-64 open-source projects under multiple optimization settings. Numeric operands account for 45.73% of operand occurrences in StateFormer and 40.93% in jTrans (Table II), highlighting numeric ambiguity as a key challenge for binary representation learning. Additional benchmark, corpus-construction, and operand-statistics details are provided in Supplemental Sec. S1.
Preprocessing and Controlled Integration. Inputs are reconstructed using IDA Pro [34], with UniCorn [38] regenerating dynamic micro-traces strictly for execution-aware models. Our goal is to isolate how different numeric/address encoding strategies affect ALM representations under controlled host settings; the evaluated host models, input granularities, pretraining tasks, and downstream tasks are summarized in Table III. Accordingly, NumAnchor is integrated at the representation boundary while preserving each host model's native input granularity: token-level rewriting for PalmTree and BERT, function-level WordPiece replacement for jTrans and JTRANS-CLAP, and static token-side substitution for StateFormer and TREX. For JTRANS-CLAP, we do not reproduce the full CLAP code-text contrastive pipeline because its LLM-assisted supervision corpus and generation/filtering pipeline are not publicly released in a reusable form. Instead, we implement CLAP's reproducible assembly-side components—address rebasing, WordPiece tokenization, and instruction embeddings for boundary preservation—on the original jTrans backbone and training pipeline. This variant serves as a controlled comparison to CLAP-style address processing. Further details on evaluated models and comparison protocol, preprocessing, NumAnchor integration across host models, downstream fine-tuning protocol, and function deduplication protocol are provided in Supplemental Sec. S2–S6.
Evaluation Metrics. Performance is measured via Recall@k and Mean Reciprocal Rank (MRR) for function similarity retrieval, and non-NA Precision, Recall, and F1 scores for type recovery. Detailed metric definitions are provided in Supplemental Sec. S7.
Taken together, this tightly controlled experimental framework allows us to systematically evaluate NumAnchor across four complementary Research Questions (RQs):
• RQ1 (Structural Recoverability): Does NumAnchor make static-analysis-recovered program structure recoverable from learned ALM representations?
• RQ2 (Downstream Effectiveness): Do NumAnchor-induced representation gains transfer across downstream binary-analysis tasks and ALM families?
• RQ3 (Structural Channel Ablation): Which structural channels, including code, data, and stack descriptors, contribute most to the observed gains?
• RQ4 (Engineering Overhead): What parameter and inference overhead does NumAnchor introduce to practical binary-analysis pipelines?

Figure 4: Function-similarity retrieval performance of PalmTree and PalmTree_NumAnchor on the StateFormer-x64 dataset under different retrieval pool sizes. Bars represent the mean scores across repeated sampling trials, and error bars indicate the corresponding standard deviation ( std).
B. Probing Address Structure (RQ1)
We use PalmTree as an instruction-centric testbed to examine whether the address structure introduced by NumAnchor remains visible in frozen instruction embeddings. We compare the original PalmTree baseline, a NAU-based address-aware variant, and full NumAnchor; detailed probe construction, scoring procedures, and complete numerical results are provided in Supplemental Sec. S8.
We first evaluate a hierarchical-location probe, which predicts an instruction's relative bucket within the binary, function, and basic block. The original PalmTree embeddings provide only limited hierarchical locality information, achieving 28.3%, 30.1%, and 42.6% accuracy. The NAU variant substantially improves binary-level position prediction to 83.0%, but provides little benefit for function- and block-level locality, reaching only 31.2% and 44.1%. In contrast, full NumAnchor consistently achieves high accuracy across all three granularities, reaching 91.3%, 95.7%, and 98.7%, respectively.
We further evaluate whether control-flow destinations are reflected in the embedding space. The baseline is close to random for both jump and call targets, with AUROC scores of 0.496 and 0.504. The NAU variant improves alignment to 0.821 and 0.784, while full NumAnchor further increases performance to 0.932 and 0.907. Together, these results indicate that NumAnchor exposes both hierarchical locality and direct control-flow structure in frozen instruction representations, rather than merely serializing address descriptors at the input boundary.
C. Downstream Evidence Across ALM Families (RQ2)
We next evaluate whether the representation-level improvements observed in Section V-B are reflected in downstream binary-analysis tasks, and whether NumAnchor provides consistent within-model gains across different ALM families. Since the evaluated models differ in input granularity, preprocessing strategy, auxiliary signals, and downstream objectives, all results in this subsection should be interpreted as baseline-versus-NumAnchor comparisons within each host model, rather than as direct cross-model rankings.

Figure 5: Function-similarity retrieval performance of BERT and BERT_NumAnchor on the StateFormer-x64 dataset under different retrieval pool sizes.
Static-Code Carriers: PalmTree [21] and Vanilla BERT [37]. We evaluate NumAnchor on two static-code carriers with different input granularities: instruction-level aggregation in PalmTree and whole-function sequence tokenization in Vanilla BERT. Following established evaluation protocols [37], each query is retrieved from candidate pools of 100, 1k, and 10k functions, and we report mean metrics over 20 randomized trials (Figures 4 and 5).
The results show that NumAnchor consistently improves both carriers across candidate-pool sizes. As the pool grows, all methods face a harder retrieval problem because more distractor functions are introduced. However, the NumAnchor-enhanced variants degrade more slowly than their corresponding baselines, indicating that the added structural descriptors help preserve discriminative information at larger retrieval scales. In the 10k-candidate setting, NumAnchor improves PalmTree by 35.0% in Recall@1 and 31.7% in MRR, and improves Vanilla BERT by approximately 21% and 20%, respectively. These results suggest that representing numeric-like operands as typed structural descriptors benefits both fine-grained instruction carriers and coarse sequential encoders, helping the resulting representations retain structurally relevant signals and distinguish true cross-optimization matches from increasingly large sets of distractors.
Address-Rebasing Family: jTrans [20] and JTRANS-CLAP [24]. We next evaluate NumAnchor in a rebasing-oriented, function-level retrieval setting. Both jTrans and the adapted JTRANS-CLAP incorporate address-sensitive mechanisms, but their explicit alignment mainly targets localized control-flow jumps. NumAnchor therefore provides a controlled way to replace or augment these address interfaces with a unified structural representation across code, data, and stack operands. As shown in Table IV, NumAnchor improves both baselines across all six cross-optimization retrieval pairs. It increases jTrans average MRR/Recall@1 from 0.620/0.537 to 0.706/0.619, and yields larger gains for JTRANS-CLAP, whose average MRR/Recall@1 improves from 0.569/0.495 to 0.693/0.607. These results suggest two observations.
First, the gains indicate that address modeling benefits from structural information beyond localized jump-target rebasing. Second, the lower performance of vanilla JTRANS-CLAP compared with jTrans suggests that finer-grained WordPiece tokenization and sequence-relative rebasing alone do not necessarily yield stable representations under cross-optimization changes. After adding NumAnchor's structural descriptors, JTRANS-CLAP recovers much of this gap and approaches the performance of jTrans_NumAnchor. This supports our claim that typed, multi-level structural locality provides a more reliable address representation interface than relying solely on lexical sub-token overlap or local rebasing heuristics.
Execution-Aware Family: TREX [25] and StateFormer [19]. Execution-aware architectures provide a complementarity test because they already incorporate dynamic traces, register states, or memory states. We therefore do not expect a static representation to replace these dynamic signals. Instead, we evaluate whether grounded numeric semantics provide additional structural information while leaving the host execution-aware components unchanged.
The results show that NumAnchor provides complementary gains. In the 10k-candidate retrieval setting, TREX Recall@1/MRR improves from 0.28/0.40 to 0.31/0.43, corresponding to a 10.7% relative Recall@1 gain. On StateFormer's native type-recovery task, NumAnchor improves F1 at every optimization level, with gains of +5.2, +3.6, +2.9, and +2.0 points from O0 to O3. Extended TREX curves and StateFormer per-optimization tables are provided in Supplemental Sec. S9.
RQ2 takeaway. Overall, these downstream results show that NumAnchor improves ALM performance across both instruction-level and function-level input granularities, spanning static-code, address-rebasing, and execution-aware settings under matched within-backbone comparisons. We next analyze the contributing components.
D. Ablation Study of NumAnchor (RQ3)
Ablation Study and Component Analysis. To isolate the contribution of each design component, we conduct component ablations under the 10k-candidate PalmTree retrieval setting, as summarized in Table V. The full NumAnchor design achieves the best performance, improving Recall@1 and MRR by 35.0% and 31.7% relative to PalmTree, respectively. In absolute terms, the +0.071 Recall@1 gain means that the correct function is ranked first for about seven additional queries per hundred in this large-candidate retrieval setting.
The PalmTree ablation results provide two main observations. First, code, data, and stack descriptors contribute complementary gains. Adding CODE coordinates already improves Recall@1 by +0.042, showing that explicit code-location information helps the model recover control-flow-related structure. Adding DATA and then STACK descriptors further increases the gain to +0.071, indicating that memory references and stack-frame layouts provide useful semantic anchors beyond control-flow targets alone. This supports our hypothesis that numeric-like operands carry structural information beyond code addresses.
Second, explicit structural encoding is more effective than role tags or generic numeric modeling. The ROLE-ONLY variant exposes code/data/stack types but does not
Table IV: Cross-optimization function retrieval performance of jTrans variants on 10k-candidate pools constructed from the jTrans BinaryCorp-3M dataset. Each query ranks one ground-truth match against 9,999 deduplicated distractor functions.
| Model | MRR ↑ | Recall@1 ↑ | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| O0/O3 | O1/O3 | O2/O3 | O0/Os | O1/Os | O2/Os | Avg. | O0/O3 | O1/O3 | O2/O3 | O0/Os | O1/Os | O2/Os | Avg. | |
| jTrans | 0.422 | 0.690 | 0.744 | 0.482 | 0.671 | 0.710 | 0.620 | 0.321 | 0.611 | 0.653 | 0.412 | 0.594 | 0.629 | 0.537 |
| jTrans_NumAnchor | 0.498 | 0.749 | 0.860 | 0.587 | 0.774 | 0.767 | 0.706 | 0.395 | 0.667 | 0.803 | 0.477 | 0.688 | 0.684 | 0.619 |
| JTrans-CLAP | 0.377 | 0.638 | 0.696 | 0.425 | 0.608 | 0.667 | 0.569 | 0.298 | 0.569 | 0.640 | 0.350 | 0.516 | 0.596 | 0.495 |
| JTrans-CLAP_NumAnchor | 0.501 | 0.753 | 0.872 | 0.581 | 0.732 | 0.721 | 0.693 | 0.392 | 0.671 | 0.813 | 0.468 | 0.653 | 0.645 | 0.607 |
Table V: Ablation configurations (top) and evaluation results (bottom) for PalmTree on 10k-candidate retrieval. ROLE-ONLY: type tags without spatial coordinates; NAU: baseline continuous numeric encoder; FOURIER & STRUCT. ENC.: coordinate lifting and type-specific projections. indicates absolute improvement over the vanilla baseline; best results are bolded.
| Variant | Code | Data | Stack | NAU | Fourier | Struct. Enc. |
|---|---|---|---|---|---|---|
| PalmTree | ||||||
| Code-only | ✓ | ✓ | ✓ | |||
| Code+Data | ✓ | ✓ | ✓ | ✓ | ||
| Role-only | ✓ | ✓ | ✓ | |||
| NAU variant | ✓ | ✓ | ✓ | ✓ | ||
| NumAnchor w/o Fourier | ✓ | ✓ | ✓ | ✓ | ||
| NumAnchor | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Variant | MRR | ΔMRR | Recall@1 | ΔR@1 |
|---|---|---|---|---|
| PalmTree | 0.293 | - | 0.203 | - |
| Code-only | 0.321 | +0.028 | 0.245 | +0.042 |
| Code+Data | 0.338 | +0.045 | 0.256 | +0.053 |
| Role-only | 0.305 | +0.012 | 0.229 | +0.026 |
| NAU variant | 0.339 | +0.046 | 0.241 | +0.038 |
| NumAnchor w/o Fourier | 0.346 | +0.053 | 0.248 | +0.045 |
| NumAnchor | 0.386 | +0.093 | 0.274 | +0.071 |
encode their structural locations, while the NAU VARIANT treats numeric values through a continuous numeric encoder. Both variants trail the full design, suggesting that operand type alone or scalar numeric regression is insufficient to capture the locality and entity relationships needed for retrieval. The NUMANCHOR W/O FOURIER variant improves over the NAU variant, but full NumAnchor further raises MRR from 0.346 to 0.386, indicating that Fourier lifting contributes additional signal beyond the structural routes alone. Overall, the structural encoder—with Fourier lifting for code/data coordinates and type-specific stack encoding—provides a better inductive bias than generic numeric modeling.
We further observe the same additive trend on the jTrans backbone. Code descriptors improve the jTrans baseline, data descriptors provide further gains, and the full NumAnchor variant performs best, improving Avg. MRR/Recall@1 from 0.620/0.537 to 0.706/0.619. Since jTrans already uses jump-aware symbolic rebasing, these results suggest that typed structural grounding complements existing address heuristics rather than merely duplicating them. Detailed component tables and additional analysis are provided in Supplemental Sec. S10.
E. Overhead of NumAnchor (RQ4)
NumAnchor adds side-channel encoders but does not increase the host sequence length. For a 768-dimensional PalmTree backbone, it adds 4.73M parameters over an 86.31M-parameter baseline, a 5.48% increase. Inference overhead is also small: over groups of 20 functions, NumAnchor adds 0.15s for PalmTree, 0.11s for jTrans, and 0.08s for TREX, corresponding to at most about 7.5ms per function. Full inference-latency results are provided in Supplemental Sec. S11.
VI. THREATS TO VALIDITY AND CONCLUSION
This section clarifies the scope of our evidence and summarizes the main implications. These threats affect how the results should be interpreted, but do not change the controlled within-model comparisons used throughout the evaluation.
Construct Validity and Alternative Paradigms. We use function retrieval and type recovery as proxy tasks for evaluating binary-code representations. Although not exhaustive, they capture core capabilities for semantic matching, layout-aware representation learning, and type-related reasoning. NumAnchor complements decompiled-pseudocode approaches by preserving address-grounded assembly-level signals, including code locality, stack-frame offsets, and data-section structure, that may be abstracted away during lifting. However, NumAnchor is limited to statically observable information and maps unresolved heap offsets or complex pointer-derived addresses to generic numeric tokens. We reduce evaluation bias by following standard retrieval/type-recovery metrics and the TYGR deduplication protocol [39].
Internal Validity and Boundary Dependence. We evaluate all variants under fixed architectures, training settings, and task formulations to isolate the contribution of NumAnchor. Our prototype relies on IDA Pro [34] to recover function boundaries and related artifacts, consistent with the preprocessing required by the evaluated ALMs. Boundary errors may perturb function-relative descriptors and any host input unit defined over recovered functions, while local instruction, section, and data signals are less directly affected. When descriptors are unavailable or weakly grounded, NumAnchor masks them rather than injecting unsupported structure.
External Validity and Obfuscation. Our evaluation focuses on x86/x64 binaries drawn from standard benchmark corpora under standard compiler optimizations, where NumAnchor shows consistent gains across multiple ALM families and downstream settings. We have not yet evaluated other ISAs such as ARM or MIPS, which require comparable static-analysis artifacts and ISA-specific validation. Strong obfuscation may also disrupt the static topography used by NumAnchor, especially when control-flow layout or data-reference structure is intentionally obscured. We leave cross-ISA evaluation and robustness under stronger obfuscation as future work.
Conclusion. This paper presented NumAnchor, a structure-aware input-boundary interface that represents numeric-like operands as typed and layout-stable program structures. By exposing recoverable code, data, and stack semantics before tokenization, NumAnchor improves multiple ALM families with modest overhead across the evaluated downstream tasks. These results show that numeric-like operands are important carriers of program structure, not merely lexical tokens.
Data Availability. The source code of NumAnchor is available at Anonymous GitHub, and the large-scale data and model artifacts are staged separately on Zenodo.
REFERENCES
[1] Miltiadis Allamanis, Marc Brockschmidt, and Mahmoud Khademi. Learning to Represent Programs with Graphs. In Proceedings of the 6th International Conference on Learning Representations (ICLR '18), 2018.
[2] Uri Alon, Meital Zilberstein, Omer Levy, and Eran Yahav. code2vec: Learning Distributed Representations of Code. Proceedings of the ACM on Programming Languages, 3(POPL), 2019.
[3] Triet H. M. Le, Hao Chen, and Muhammad Ali Babar. Deep Learning for Source Code Modeling and Generation: Models, Applications, and Challenges. ACM Computing Surveys, 53(3), 2020.
[4] Yan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens, Mario Polino, Audrey Dutcher, Jessie Grosen, Siji Feng, Christophe Hauser, Christopher Kruegel, and Giovanni Vigna. SoK: (State of) The Art of War: Offensive Techniques in Binary Analysis. In Proceedings of the 37th IEEE Symposium on Security and Privacy (S&P '16), 2016.
[5] Qibin Chen, Jeremy Lacomis, Edward J. Schwartz, Claire Le Goues, Graham Neubig, and Bogdan Vasilescu. Augmenting Decompiler Output with Learned Variable Names and Types. In Proceedings of 31st USENIX Security Symposium (USENIX Sec '22), 2022.
[6] Kuntal Kumar Pal, Ati Priya Bajaj, Pratyay Banerjee, Audrey Dutcher, Mutsumi Nakamura, Zion Leonahenahe Basque, Himanshu Gupta, Saurabh Arjun Sawant, Ujjwala Anantheswaran, Yan Shoshitaishvili, Adam Doupe, Chitta Baral, and Ruoyu Wang. "Len or index or count, anything but v1": Predicting Variable Names in Decompilation Output with Transfer Learning. In 2024 IEEE Symposium on Security and Privacy, 2024.
[7] Jeremy Lacomis, Pengcheng Yin, Edward J. Schwartz, Miltiadis Allamanis, Claire Le Goues, Graham Neubig, and Bogdan Vasilescu. DIRE: A Neural Approach to Decompiled Identifier Naming. In Proceedings of the 34th IEEE/ACM International Conference on Automated Software Engineering (ASE '19), 2020.
[8] Eui Chul Richard Shin, Dawn Song, and Reza Moazzezi. Recognizing Functions in Binaries with Neural Networks. In Proceedings of the 24th USENIX Security Symposium (USENIX Sec '15), 2015.
[9] Zheng Leong Chua, Shiqi Shen, Prateek Saxena, and Zhenkai Liang. Neural Nets Can Learn Function Type Signatures From Binaries. In Proceedings of the 26th USENIX Security Symposium (USENIX Sec '17), 2017.
[10] Steven HH Ding, Benjamin CM Fung, and Philippe Charland. Asm2Vec: Boosting Static Representation Robustness for Binary Clone Search against Code Obfuscation and Compiler Optimization. In Proceedings of the 40th IEEE Symposium on Security and Privacy (S&P '19), 2019.
[11] Zhenhao Luo, Pengfei Wang, Baosheng Wang, Yong Tang, Wei Xie, Xu Zhou, Danjun Liu, and Kai Lu. VulHawk: Cross-architecture Vulnerability Detection with Entropy-based Binary Code Search. Proceedings of the 30th Network and Distributed System Security Symposium (NDSS '23), 2023.
[12] Sima Arasteh, Jelena Mirkovic, Mukund Raghothaman, and Christophe Hauser. BinHunter: A Fine-Grained Graph Representation for Localizing Vulnerabilities in Binary Executables. In Proceedings of the 2024 Annual Computer Security Applications Conference (ACSAC '24), 2024.
[13] Sima Arasteh, Georgios Nikitopoulos, Wei-Cheng Wu, Nicolaas Weideman, Aaron Portnoy, Mukund Raghothaman, and Christophe Hauser. BinPool: A Dataset of Vulnerabilities for Binary Security Analysis. In Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering (FSE Companion '25), 2025.
[14] Evan Downing, Yisroel Mirsky, Kyuhong Park, and Wenke Lee. Deep-Reflect: Discovering Malicious Functionality through Binary Reconstruction. In Proceedings of the 30th USENIX Security Symposium (USENIX Sec '21), 2021.
[15] Yizheng Chen, Zhoujie Ding, and David Wagner. Continuous Learning for Android Malware Detection. In Proceedings of the 32nd USENIX Security Symposium (USENIX Sec '23), 2023.
[16] Shijia Li, Jiang Ming, Lanqing Liu, Longwei Yang, Ni Zhang, and Chunfu Jia. Adversarially Robust Assembly Language Model for Packed Executables Detection. In Proceedings of the 32nd ACM Conference on Computer and Communications Security (CCS '25), 2025.
[17] Haojie He, Xingwei Lin, Ziang Weng, Ruijie Zhao, Shuitao Gan, Libo Chen, Yuede Ji, Jiashui Wang, and Zhi Xue. Code is not Natural Language: Unlock the Power of Semantics-Oriented Graph Representation for Binary Code Similarity Detection. In Proceedings of the 33rd USENIX Security Symposium (USENIX Sec '24), 2024.
[18] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is All you Need. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS '17), 2017.
[19] Kexin Pei, Jonas Guan, Matthew Broughton, Zhongtian Chen, Songchen Yao, David Williams-King, Vikas Ummadisetty, Junfeng Yang, Baishakhi Ray, and Suman Jana. StateFormer: Fine-Grained Type Recovery from Binaries using Generative State Modeling. In Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE '21), 2021.
[20] Hao Wang, Wenjie Qu, Gilad Katz, Wenyu Zhu, Zeyu Gao, Han Qiu, Jianwei Zhuge, and Chao Zhang. jTrans: Jump-aware Transformer for Binary Code Similarity Detection. In Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA '22), 2022.
[21] Xuezixiang Li, Yu Qu, and Heng Yin. PalmTree: Learning an Assembly Language Model for Instruction Embedding. In Proceedings of the 28th ACM Conference on Computer and Communications Security (CCS '21), 2021.
[22] Hyungjoon Koo, Soyeon Park, Daejin Choi, and Taesoo Kim. Semantic-aware Binary Code Representation with BERT. arXiv preprint arXiv:2106.05478, 2021.
[23] Sunwoo Ahn, Seonggwan Ahn, Hyungjoon Koo, and Yunheung Paek. Practical Binary Code Similarity Detection with BERT-based Transferable Similarity Learning. In Proceedings of the 38th Annual Computer Security Applications Conference (ACSAC '22), 2022.
[24] Hao Wang, Zeyu Gao, Chao Zhang, Zihan Sha, Mingyang Sun, Yuchen Zhou, Wenyu Zhu, Wenju Sun, Han Qiu, and Xi Xiao. CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision. In Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA '24), 2024.
[25] Kexin Pei, Zhou Xuan, Junfeng Yang, Suman Jana, and Baishakhi Ray. Learning Approximate Execution Semantics From Traces for Binary Function Similarity. IEEE Transactions on Software Engineering, 49(4), 2023.
[26] Kexin Pei, Dongdong She, Michael Wang, Scott Geng, Zhou Xuan, Yaniv David, Junfeng Yang, Suman Jana, and Baishakhi Ray. NeuDep: Neural Binary Memory Dependence Analysis. In Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE '22), 2022.
[27] Yeming Gu, Hui Shu, Fei Kang, and Fan Hu. UniASM: Binary code similarity detection without fine-tuning. Neurocomputing, 630:129646, 2025.
[28] Fiorella Artuso, Marco Mormando, Giuseppe Antonio Di Luna, and Leonardo Querzoni. BinBert: Binary Code Understanding With a Fine-Tunable and Execution-Aware Transformer. IEEE Transactions on Dependable and Secure Computing, 22(1):308–326, 2025.
[29] Taku Kudo. Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidates. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (ACL '18), 2018.
[30] Andreas Madsen and Alexander Rosenberg Johansen. Neural Arithmetic Units. In Proceedings of the 8th International Conference on Learning Representations (ICLR '20), 2020.
[31] Alex Graves and Jürgen Schmidhuber. Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Networks, 2005.
[32] Kexin Pei, Jonas Guan, David Williams-King, Junfeng Yang, and Suman Jana. XDA: Accurate, Robust Disassembly with Transfer Learning. In Proceedings of the 28th Network and Distributed System Security Symposium (NDSS '21), 2021.
[33] Sheng Yu, Yu Qu, Xunchao Hu, and Heng Yin. DeepDi: Learning a Relational Graph Convolutional Network Model on Instructions for Fast and Accurate Disassembly. In Proceedings of the 31st USENIX Security Symposium (USENIX Sec '22), 2022.
[34] Hex-Rays. IDA Pro: A Cross-Platform Multi-Processor Disassembler and Debugger.
[35] Nasim Rahaman, Aristide Baratin, Devansh Arpit, Felix Draxler, Min Lin, Fred A. Hamprecht, Yoshua Bengio, and Aaron Courville. On the Spectral Bias of Neural Networks, 2019.
[36] Matthew Tancik, Pratul P. Srinivasan, Ben Mildenhall, Sara Fridovich-Keil, Nithin Raghavan, Utkarsh Singhal, Ravi Ramamoorthi, Jonathan T. Barron, and Ren Ng. Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains. In Proceedings of the 34th International Conference on Neural Information Processing Systems (NIPS '20), 2020.
[37] Xuezixiang Li, Lian Gao, Sheng Yu, Yu Qu, and Heng Yin. On the Effectiveness of Custom Transformers for Binary Analysis. In Proceedings of 28th International Symposium on Research in Attacks, Intrusions and Defenses (RAID '25), 2025.
[38] NGUYEN Anh Quynh and DANG Hoang Vu. Unicorn: Next Generation CPU Emulator Framework. BlackHat USA, 476, 2015.
[39] Chang Zhu, Ziyang Li, Anton Xue, Ati Priya Bajaj, Wil Gibbs, Yibo Liu, Rajeev Alur, Tiffany Bao, Hanjun Dai, Adam Doupé, Mayur Naik, Yan Shoshitaishvili, Ruoyu Wang, and Aravind Machiry. TYGR: Type Inference on Stripped Binaries using Graph Neural Networks. In Proceedings of the 33rd USENIX Security Symposium (USENIX Sec '24), 2024.