Xiuwei Shang

University of Science and Technology of China
1 previous affiliation
11Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Xiuwei Shang focuses on the intersection of artificial intelligence and software security, specifically applying large language models and graph neural networks to binary code analysis and reverse engineering. His recent work investigates the capabilities of neural models in understanding compiled software, alongside contributions to the detection and attribution of AI-generated text and visual media.

Research Trajectory

In 2024, Shang contributed to research addressing the security and authenticity challenges posed by generative artificial intelligence. The rapid proliferation of generative models has lowered the barrier to content creation but introduced severe security concerns regarding the spread of fabricated information. A significant portion of this early work focused on identifying machine-generated content across different modalities. In the area of Robust Detection of Adversarially Modified Machine Text, he participated in the development of DPIC: Decoupling Prompt and Intrinsic Characteristics for LLM Generated Text Detection. This supervised detection method isolates the deep structural fingerprints of generative models by neutralizing the influence of the user's prompt. By reconstructing prompts from candidate texts and regenerating them, the approach advances the broader direction of Disentangling Topic and Style in Text Representations and aids in the research direction of The Generalization Gap in AI Text Detection for black-box models like GPT-4 and Claude 3.

Concurrently, Shang contributed to SemGIR: Semantic-Guided Image Regeneration based method for AI-generated Image Detection and Attribution, which tackles parallel security concerns in visual media. This research addresses the difficulties of detecting text-to-image generation, where diverse semantic prompts complicate detection methodologies that rely solely on learning from image features.

Moving into 2025, Shang's primary research focus shifted toward software engineering and security, specifically leveraging advanced neural architectures for reverse engineering and binary code understanding. He introduced the ByteTR framework in Beyond the Edge of Function: Unraveling the Patterns of Type Recovery in Binary Code, which significantly improves variable type recovery in compiled software. By combining inter-procedural static analysis with Gated Graph Neural Networks (GGNN), this framework looks beyond the boundaries of individual functions to capture broader structural context, achieving substantial precision improvements over existing state-of-the-art type recovery tools.

Building on the intersection of large language models and software security, Shang also led the development of comprehensive evaluation frameworks for neural code analysis. He presented BinMetric: A Comprehensive Binary Code Analysis Benchmark for Large Language Models, which systematically tests how well LLMs handle the complex, "black box" tasks inherent in reverse engineering. By evaluating models on 1,000 questions across six realistic reverse-engineering tasks, this work revealed that while current LLMs excel at high-level semantic understanding, they struggle with the precise requirements of low-level assembly reconstruction. This benchmark contributes to several emerging research areas, including Reconstructing High-Level Semantics from Stripped Binaries, the field of Steering Large Language Models with Expert Personas, and the design of Hierarchical Task Evaluation for Large Models.

Current Directions

The most recent papers in the evidence indicate a strong ongoing focus on the application of large language models and graph-based neural networks to binary code analysis. Current work investigates the precise capabilities and limitations of LLMs in reverse-engineering scenarios, particularly their ability to bridge the gap between high-level semantic understanding and low-level assembly reconstruction. Additionally, ongoing research addresses the structural challenges of compiled software, exploring how inter-procedural analysis and advanced neural representations can improve fundamental security tasks like variable type recovery in stripped binaries.

Profile updated

See something wrong? Report a mistake