YLYunhao Liang

Yunhao Liang

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Yunhao Liang has a total of 19 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Computable Knowledge Discovery in Soft Magnetic Materials via Large Language Model-Driven Literature Meta-Analysis

    by Ruixuan Ying, Yunhao Liang, Takuya Taniguchi, Yifan Song, Zhenyu Long, Satoshi Okamoto

    Soft magnetic materials have accumulated a vast body of literature over decades, yet their large-scale thematic organization and long-term evolution remain insufficiently quantified. Here, we present a large language model (LLM)-driven literature meta-analysis framework applied to approximately 720,000 candidate Scopus records, from which 108,949 cleaned soft-magnetic-materials abstracts were used for embedding-based semantic analysis. The abstracts are encoded using a large embedding model, projected into two dimensions by UMAP, clustered by HDBSCAN, interpreted through hierarchical LLM summarization, and further profiled along materials-science dimensions. A kernel density estimation (KDE)-based differential density analysis is also introduced to quantify long-term topic growth and decline in the shared semantic space. The analysis resolves 310 non-noise topic clusters and distinguishes sustained growth hotspots from declining thematic regions over multi-decadal timescales. These results demonstrate a scalable and interpretable framework for artificial intelligence (AI)-assisted literature intelligence in soft magnetic materials and related materials domains.

  • Open Access

    Scaling Test-Driven Code Generation from Functions to Classes: An Empirical Study

    by Yunhao Liang, Ruixuan Ying, Shiwen Ni, Zhe Cui

    Test-driven development (TDD) has been adopted to improve Large Language Model (LLM)-based code generation by using tests as executable specifications. However, existing TDD-style code generation studies are largely limited to function-level tasks, leaving class-level synthesis where multiple methods interact through shared state and call dependencies underexplored. In this paper, we scale test-driven code generation from functions to classes via an iterative TDD framework. Our approach first analyzes intra-class method dependencies to derive a feasible generation schedule, and then incrementally implements each method under method-level public tests with reflection-style execution feedback and bounded repair iterations. To support test-driven generation and rigorous class-level evaluation, we construct ClassEval-TDD, a cleaned and standardized variant of ClassEval with consistent specifications, deterministic test environments, and complete method-level public tests. We conduct an empirical study across eight LLMs and compare against the strongest direct-generation baseline (the best of holistic, incremental, and compositional strategies). Our class-level TDD framework consistently improves class-level correctness by 12 to 26 absolute points and achieves up to 71% fully correct classes, while requiring only a small number of repairs on average. These results demonstrate that test-driven generation can effectively scale beyond isolated functions and substantially improve class-level code generation reliability. All code and data are available at https://anonymous.4open.science/r/ClassEval-TDD-C4C9/

  • Open Access

    GuideWeb: A Benchmark for Automatic In-App Guide Generation on Real-World Web UIs

    by Chengguang Gan, Yoshihiro Tsujii, Yunhao Liang, Tatsunori Mori, Shiwen Ni, Hiroki Itoh

    Digital Adoption Platform (DAP) provide web-based overlays that deliver operation guidance and contextual hints to help users navigate complex websites. Although modern DAP tools enable non-experts to author such guidance, maintaining these guides remains labor-intensive because website layouts and functionalities evolve continuously, which requires repeated manual updates and re-annotation. In this work, we introduce \textbf{GuideWeb}, a new benchmark for automatic in-app guide generation on real-world web UIs. GuideWeb formulates the task as producing page-level guidance by selecting \textbf{guide target elements} grounded in the webpage and generating concise guide text aligned with user intent. We also propose a comprehensive evaluation suite that jointly measures the accuracy of guide target element selection and the quality of generated intents and guide texts. Experiments show that our proposed \textbf{GuideWeb Agent} achieves \textbf{30.79\%} accuracy in guide target element prediction, while obtaining BLEU scores of \textbf{44.94} for intent generation and \textbf{21.34} for guide-text generation. Existing baselines perform substantially worse, which highlights that automatic guide generation remains challenging and that further advances are necessary before such systems can be reliably deployed in real-world settings.

  • Open Access

    Failures Are the Stepping Stones to Success: Enhancing Few-Shot In-Context Learning by Leveraging Negative Samples

    by Yunhao Liang, Ruixuan Ying, Takuya Taniguchi, Zhe Cui

    Large Language Models exhibit powerful few-shot in-context learning (ICL) capabilities, but the performance is highly sensitive to provided examples. Recent research has focused on retrieving corresponding examples for each input query, not only enhancing the efficiency and scalability of the learning process but also mitigating inherent biases in manual example selection. However, these studies have primarily emphasized leveraging Positive samples while overlooking the additional information within Negative samples for contextual learning. We propose a novel method that utilizes Negative samples to better select Positive sample examples, thereby enhancing the performance of few-shot ICL. Initially, we construct Positive and Negative sample corpora based on Zero-Shot-Cot. Then, during inference, we employ a semantic similarity-based approach to select the most similar examples from both the Positive and Negative corpora for a given query. Subsequently, we further retrieve Positive examples from the Positive sample corpus based on semantic similarity to the Negative examples, then concatenating them with the previously selected Positive examples to serve as ICL demonstrations. Experimental results demonstrate that our approach surpasses methods solely relying on the most similar positive examples for context, validating that the additional information in negative samples aids in enhancing ICL performance through improved Positive sample selection.

  • Exploring Behavior-Driven Development for Code Generation

    by Yunhao Liang, Chengguang Gan, Ruixuan Ying, Zhe Cui


  • Petrol truck scheduling optimization considering multi-path selection and congestion

    by Bohong Wang, Meng Yuan, Yun Shen, Ruihua Zhao, Haoran Zhang, Yongtu Liang

    We study petrol truck scheduling problem considering multi-path selection and congestion. In real life, drivers can choose paths to go between the start and finish when distributing oil, and with the increase of vehicles, road blockage has become a practical trouble. Setting the lowest cost of the scheduling process as objective function and taking truck volume, demand of petrol station and unloading time windows as constraints, an optimization model of petrol truck scheduling problem is established, and a heuristic approach is proposed. In our approach, we generate path combinations randomly. Then we remove combinations which do not comply with all the constraints. After these steps, we calculate the objective function of every feasible solutions and get the best solution. A real-life example with time windows is used to testify the model. And another case with 30 stations is tested to verify that the solving time is in a reasonable range. Through computational results, this approach shows good feasibility and high calculation speed.