Search NASA⌕ Search

Engineering topics

Liao, C.

Publications and source records attributed to Liao, C..

Reductive Analysis with Compiler-Guided Large Language Models for Input-Centric Code Optimizations

Input-centric program optimization aims to optimize code by considering the relations between program inputs and program behaviors. Despite its promise, a long-standing barrier for its adoption is the difficulty of automatically identifying critical features of complex inputs. This paper introduces a novel technique, reductive analysis through compiler-guided Large Language Models (LLMs), to solve the problem through a synergy between compilers and LLMs. It uses a reductive approach to overcome the scalability and other limitations of LLMs in program code analysis. The solution, for the first time, automates the identification of critical input features without heavy instrumentation or profiling, cutting the time needed for input identification by 44× (or 450× for local LLMs), reduced from 9.6 hours to 13 minutes (with remote LLMs) or 77 seconds (with local LLMs) on average, making input characterization possible to be integrated into the workflow of program compilations. Optimizations on those identified input features show similar or even better results than those identified by previous profiling-based methods, leading to optimizations that yield 92.6% accuracy in selecting the appropriate adaptive OpenMP parallelization decisions, and 20-30% performance improvement of serverless computing while reducing resource usage by 50-60%.

Input-Centric Optimization↗

Developing an Interactive OpenMP Book with Large Language Models

Abstract. This paper presents an approach to authoring a textbook titled Interactive OpenMP Programming with the assistance of Large Language Models (LLMs). The writing process utilized state-of-the-art LLMs, including Gemini Pro 1.5, Claude 3, and ChatGPT-4, to generate the initial structure and outline of the book, as well as the initial content for specific chapters. This content included detailed descriptions of individual OpenMP constructs and practical programming examples. The outline and content have then undergone extensive manual revisions to meet our book goals. In this paper, we report our findings about the capabilities and limitations of these LLMs. We address critical questions concerning the necessity of textbook resources and the effectiveness of LLMs in creating fundamental and practical programming content. Our findings suggest that while LLMs offer significant advantages in generating textbook content, they require careful integration with traditional educational methodologies to ensure depth, accuracy, and pedagogical effectiveness. The Interactive OpenMP Programming book is developed with the framework of Jupyter Book, enabling the execution of code within the book from the web browser, providing instant feedback and a dynamic learning experience that stands in contrast to traditional educational resources. The book represents a significant step towards modernizing programming education, offering insights into practical strategies for generating the textbook through advanced AI tools.

Large Language Model · OpenMP · Interactive Book ·↗

Generating and Analyzing Program Call Graphs using Ontology

Call graph or caller-callee relationships have been used for various kinds of static program analysis, performance analysis and profiling, and for program safety or security analysis such as detecting anomalies of program execution or code injection attacks. However, different tools generate call graphs in different formats, which prevents efficient reuse of call graph results. In this paper, we present an approach of using ontology and resource description framework (RDF) to create knowledge graphs for specifying call graphs to facilitate the construction of full-fledged and complex call graphs of computer programs, realizing more interoperable and scalable program analyses than conventional approaches. We create a formal ontology-based specification of call graph information to capture concepts and properties of both static and dynamic call graphs so different tools can collaboratively contribute to more comprehensive analysis results. Our experiments show that ontology enables merging of call graphs generated from different tools and flexible queries using a standard query interface. Index Terms—Callgraph, ontology, knowl

Dorta, E.↗

Electron Excitation Cross Sections for the S II Transitions: 3s(exp 2)3p(exp 3) 4S(exp o) approaches 3s(exp 2)3p(exp 3) 2D(exp o), 2P(exp o), and 3s3p(exp 4) 4P

Experimental and theoretical collisional excitation cross sections are reported for the transitions 3s(exp 2)3p(exp 3)4S(exp o) approaches 3s(exp 2)3p(exp 3) 2D(exp o), 2P(exp o), and 3s3P(exp 4) 4P in S II. The transition wavelengths (energies) are 6716 A (1.85 eV), 4069 A (3.05 eV), and 1256 A (9.87 eV), respectively. In the experiments, use is made of the energy-loss merged-beams method. The metastable fraction of the S II beam was assessed and minimized. The contribution of elastically scattered electrons was reduced by the use of a lowered solenoidal magnetic field and a modulated radio-frequency voltage on the analyzing plates and by retarding grids to reject the elastically scattered electrons with larger Larmor radii. For each transition, comparisons are made among experiments, the new 19 state R-matrix calculation, and three other close-coupling calculations.

Liao, C.↗

Status of the Multiply-Charged Ion Research Facility at JPL

In order to provide a better understanding of the energy balance and ion composition in solar, stellar, and planetary atmospheres, and in the interstellar medium, a new research facility for the study of interactions of multiply-charged ions has been developed at the Jet Propulsion Laboratory (JPL).

charged↗

A 4-node Bilinear Isoparametric Element in Rockwell NASTRAN

The development and evaluation of the Rockwell NASTRAN four node quadrilateral (QUAD4) element is presented. The element derivation utilizes bilinear isoparametric techniques both for membrane and bending characteristics. The QUAD4 element coordinate system, membrane properties, lumped mass matrix, and treatment of warping are based upon the COSMIC/NASTRAN QDMEMI element while the bending characteristics are based on a paper by T. J. R. Hughes. The effects of warping on the bending stiffness, consistent mass, and geometric stiffness are based upon a paper by R. H. MacNeal. Numerical integration is accomplished by Gaussian quadrature on a 2 x 2 grid. Practical user support features include variable element thickness, thermal analysis and layered composite material definitions.

Liao, C.↗