paper-with-me

Papers

Evolving Assembly Code in an Adversarial Environment

2024-03-28 · Irina Maliukov, Gera Weiss, Oded Margalit, Achiya Elyasaf

In this work, we evolve Assembly code for the CodeGuru competition. The goal is to create a survivor -- an Assembly program that runs the longest in shared memory, by resisting attacks from adversary survivors and finding their weaknesses. For evolving top-notch solvers, we specify a Backus Normal Form (BNF) for the Assembly language and synthesize the code from scratch using Genetic Programming (GP). We evaluate the survivors by running CodeGuru games against human-written winning survivors. Our evolved programs found weaknesses in the programs they were trained against and utilized them. To push evolution further, we implemented memetic operators that utilize machine learning to explore the solution space effectively. This work has important applications for cyber-security as we utilize evolution to detect weaknesses in survivors. The Assembly BNF is domain-independent; thus, by modifying the fitness function, it can detect code weaknesses and help fix them. Finally, the CodeGuru competition offers a novel platform for analyzing GP and code evolution in adversarial environments. To support further research in this direction, we provide a thorough qualitative analysis of the evolved survivors and the weaknesses found.

📄 PDF Abstract BibTeX arXiv:2403.19489

Code (1)

irenamal/ec-kity 공식 구현

Tasks

Language ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Engineered Self-Organization for Resilient Robot Self-Assembly with Minimal Surprise

2019-02-14 · Tanja Katharina Kaiser, Heiko Hamann

In collective robotic systems, the automatic generation of controllers for complex tasks is still a challenging problem. Open-ended evolution of complex robot behaviors can be a possible solution whereby an intrinsic dri…

A3D: Adaptive Affordance Assembly with Dual-Arm Manipulation

2026-01-16 · Jiaqi Liang, Yue Chen, Qize Yu, Yan Shen 외 arxiv

Furniture assembly is a crucial yet challenging task for robots, requiring precise dual-arm coordination where one arm manipulates parts while the other provides collaborative support and stabilization. To accomplish thi…

QiMeng-NeuComBack: Self-Evolving Translation from IR to Assembly Code

2025-11-03 · Hainan Fang, Yuanbo Wen, Jun Bi, Yihan Wang 외 arxiv

Compilers, while essential, are notoriously complex systems that demand prohibitively expensive human expertise to develop and maintain. The recent advancements in Large Language Models (LLMs) offer a compelling new para…

EvoDR: Evolving Dispatching Rules via Large Language Model for Dynamic Flexible Assembly Flow Shop Scheduling

2026-01-22 · Junhao Qiu, Haoyang Zhuang, Fei Liu, Jianjun Liu 외 arxiv

Dynamic flexible assembly flow shop scheduling with multi-product delivery is a critical combinatorial problem, characterized by kitting supply and machine flexibility. Genetic programming is widely used to automatically…

ArtiCAD: Articulated CAD Assembly Design via Multi-Agent Code Generation

2026-04-13 · Yuan Shui, Yandong Guan, Zhanwei Zhang, Juncheng Hu 외 arxiv

Parametric Computer-Aided Design (CAD) of articulated assemblies is essential for product development, yet generating these multi-part, movable models from high-level descriptions remains unexplored. To address this, we …

Spatial ReasoningCode Generation