SearcharxivSearch

arXiv subjects

Fang Lyu

Publications and source records attributed to Fang Lyu.

3 recordsLinked to original sources

Beyond Pass-by-Pass Optimization: Intent-Driven IR Optimization with Large Language Models

Modern compilers optimize programs through a sequence of modular passes over intermediate representations (IR). While this pass-by-pass paradigm offers engineering benefits, it suffers from a pass coordination problem: locally beneficial transformations may block more profitable optimizations in later stages. This limitation stems from the lack of an explicit notion of optimization intent, defined as a holistic strategy for coordinating multiple transformations toward a global performance objective. Recent LLM-based approaches formulate IR optimization as an end-to-end generation task, thereby avoiding the traditional pass-by-pass structure. However, optimization intent remains implicit in these methods, forcing models to jointly infer optimization strategy and generate low-level transformations, which limits both correctness and performance. We propose IntOpt, the first intent-driven IR optimizer that explicitly separates high-level optimization intent from low-level analysis and transformation. IntOpt organizes IR optimization into three stages: intent formulation, intent refinement, and intent realization, enabling globally coordinated transformations. Experiments show that IntOpt achieves 90.5% verified correctness and 2.660x average speedup on 200-program test set, outperforming state-of-the-art LLM-based optimizers in both correctness and performance, and surpassing modern compiler with the -O3 option on 37 benchmarks with speedups of up to 272.60x.

cs.PL

Learning Thermoelectric Transport from Crystal Structures via Multiscale Graph Neural Network

Graph neural networks (GNNs) are designed to extract latent patterns from graph-structured data, making them particularly well suited for crystal representation learning. Here, we propose a GNN model tailored for estimating electronic transport coefficients in inorganic thermoelectric crystals. The model encodes crystal structures and physicochemical properties in a multiscale manner, encompassing global, atomic, bond, and angular levels. It achieves state-of-the-art performance on benchmark datasets with remarkable extrapolative capability. By combining the proposed GNN with \textit{ab initio} calculations, we successfully identify compounds exhibiting outstanding electronic transport properties and further perform interpretability analyses from both global and atomic perspectives, tracing the origins of their distinct transport behaviors. Interestingly, the decision process of the model naturally reveals underlying physical patterns, offering new insights into computer-assisted materials design.

cond-mat.mtrl-sci

Non-Hermitian quasicrystalline topological insulators

In recent years, the interplay between non-Hermiticity and band topology is expected to uncover numerous novel physical phenomena. However, the majority of research has focused on periodic crystalline structures, with comparatively fewer studies exploring quasicrystalline systems. In this paper, we delve into the influence of asymmetric hopping on the topological insulators, specifically focusing on quantum spin Hall insulators and higher-order topological insulators in an octagonal Ammann-Beenker quasicrystalline lattice. We demonstrate that asymmetric hopping can significantly alter the distribution of edge states, leading to a uniform distribution across all boundaries or localizing them at a single edge, depending on the symmetry adjustments. Furthermore, we explore the robustness of higher-order topological corner states under perturbations, showing that these states can maintain their distribution even in the presence of non-Hermiticity. Our findings not only expand the current understanding of topological states in quasicrystals under non-Hermitian conditions, but also provide valuable theoretical guidance for manipulating corner state distributions in non-Hermitian quasicrystalline higher-order topological insulators.

cond-mat.mes-hall