Baoquan Cui
2 previous affiliations
- Chinese Academy of Sciences2020–2025
- PhD student · 2020–2025
- Peking University2017–2019
- MS student · 2017–2019
Research Overview
Baoquan Cui focuses on the intersection of graph representation learning (GRL) and large language models (LLMs), with a particular emphasis on enhancing code security and formalizing reasoning frameworks. This research investigates how structural data, represented through graphs, can complement the semantic capabilities of generative models to solve complex problems in malicious code detection and causal inference. By developing hybrid architectures that integrate Graph Neural Networks (GNNs) with LLMs, Cui’s work seeks to improve the efficiency and interpretability of automated code analysis and logical reasoning.
Research Trajectory
Cui’s research output in 2026 reflects a concentrated effort to address the limitations of LLMs in handling long-range dependencies and structural complexity. While LLMs excel at local semantic processing, they often struggle with the global structural patterns inherent in large-scale software systems or complex logical chains. Cui’s collaborative work addresses this by using graph-based abstractions to provide a "bird's-eye view" of data, which then guides the LLM’s attention to the most relevant information.
This trajectory spans three primary areas: the application of GRL to cybersecurity, the theoretical refinement of causal inference on graphs, and the creation of standardized infrastructure for LLM reasoning. In the security domain, the focus is on reducing the computational overhead of LLMs by using GNNs as a preliminary filtering mechanism. In the theoretical domain, the work examines the validity of causal assumptions when dealing with aggregated graph data. Finally, in the infrastructure domain, the research moves toward standardizing how reasoning processes are represented and evaluated.
Current Directions
Hybrid Architectures for Code Security
A significant portion of Cui’s recent work involves the development of systems that combine the strengths of GNNs and LLMs for detecting malicious code. In Efficient Code Analysis via Graph Representation Learning-Guided Large Language Models, Cui participated in the development of GMLLM, a framework designed to optimize the detection process. The core challenge addressed here is the high computational cost and potential for "noise" when an LLM processes an entire codebase. By utilizing a GNN to identify "high-attention" subgraphs—sections of code that exhibit suspicious structural patterns—the system allows the LLM to focus its reasoning capabilities only on those specific segments. This approach significantly reduces computational requirements while maintaining high accuracy.
This line of inquiry is further expanded in How Can LLMs Serve as Experts in Malicious Code Detection? A Graph Representation Learning Based Approach. In this research, Cui contributed to a framework that uses LLMs to extract both semantic and structural features, which are then used to train a GNN with minimal labeled data. A key innovation in this work is the use of backtracking: once the GNN performs an initial detection, the system backtracks through the graph to pinpoint the exact code sections responsible for the classification. This dual-model approach addresses the LLM's inherent difficulty in capturing long-range dependencies within complex codebases.
Theoretical Foundations of Graph Learning
Beyond applied security, Cui has contributed to the theoretical understanding of how causal inference can be integrated into graph representation learning. In A Closer Look at the Application of Causal Inference in Graph Representation Learning, the research team investigated the risks of violating core causal assumptions when modeling graph-structured data. The paper provides a theoretical proof that aggregating diverse graph elements into single causal variables—a common practice in the field—can compromise causal validity. Cui’s participation in this work helped establish a theoretical framework grounded in the "smallest indivisible units" of graph data, aiming to ensure that causal subgraphs and confounders are identified without losing the structural integrity of the underlying data.
Standardizing LLM Reasoning
Cui’s work also extends to the infrastructure used to evaluate and implement LLM reasoning. As LLM reasoning frameworks become more complex, they often suffer from high development costs and a lack of consistent benchmarking. In Think in Graphs: Infrastructure and Benchmark for Large Language Model Reasoning Frameworks, Cui was part of a team that proposed a unified infrastructure representing reasoning processes as graphs. By standardizing these processes, the framework aims to make LLM reasoning more structured and easier to evaluate across different tasks. This research addresses the problem of task-specific redesigns in prompt engineering, suggesting that a graph-based representation can provide a more robust and generalizable foundation for complex reasoning.
Representative Work
Cui’s contributions are characterized by a consistent focus on the synergy between structural graph analysis and large-scale language modeling. While the current evidence is concentrated in 2026, the work demonstrates a clear interest in both the practical applications of these technologies in cybersecurity and the theoretical underpinnings of how machines represent and reason about complex data.
- Efficient Code Analysis via Graph Representation Learning-Guided Large Language Models (ICML 2026): Contributed to a hybrid framework (GMLLM) that uses GNNs to guide LLMs toward suspicious code subgraphs, improving efficiency in malicious code detection.
- How Can LLMs Serve as Experts in Malicious Code Detection? A Graph Representation Learning Based Approach (ICLR 2026): Participated in developing a method for training GNNs with LLM-extracted features and using backtracking to identify critical code sections.
- A Closer Look at the Application of Causal Inference in Graph Representation Learning (ICLR 2026): Contributed to theoretical proofs regarding the risks of data aggregation in causal graph modeling and proposed a more granular framework for causal validity.
- Think in Graphs: Infrastructure and Benchmark for Large Language Model Reasoning Frameworks (ICLR 2026): Participated in the design of a unified infrastructure to represent and benchmark LLM reasoning processes as graphs.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake