Search NASA⌕ Search

NASA NTRS · 20240002359

Towards an Aviation Large Language Model by Fine-tuning and Evaluating Transformers

Abstract

In the aviation domain, there are many applications for machine learning and artificial intelligence tools that utilize natural language. For example, there is a desire to know the commonalities in written safety reports such as voluntary post incidents reports or aerial wildfire operations reports to better understand the risks present. Another use-case is the possibility of extracting airspace procedures and constraints currently written in documents such as Letters of Agreement. These applications can benefit from the use of state-of-the-art natural language processing techniques when adapted to the language/phraseology specific to the aviation domain. This paper evaluates the viability of adaptation of NLP tools to the aviation domain by fine-tuning transformer based models using aviation data sets. In 2018, a novel language model based on neural units (also called transformers) was created and became known as “Bidirectional Encoder Representations from Transformers” or BERT. This architecture combined with large amounts of English training data and innovative semi-supervised training tasks set the standard for what would later emerge as Large Language Models. The performance of these models was further improved by hyperparameter tuning and refinement of the semi-supervised training task and resulted in “Robustly Optimized BERT Pre-training Approach through hyperparameter tuning” or RoBERTa models. These pre-trained Large Language Models proved to be useful for a wide variety of natural language processing tasks such as text classification and question answering through a process called fine-tuning. The transformer architecture with pre-trained weights served as the basis with the last few layers replaced with layers fine-tuned to perform a new task e.g., a layer that provides a label for the entire input text. This process of fine-tuning can also be used to adapt the models to new domains; e.g., BioBERT started with the pre-trained BERT model and was completed by additional fine-tuning and training on biomedical documents. Transformer-based architectures can also be used to create rich representations of text called embeddings which can serve as the input to other machine learning models. This allows simpler algorithms such as logistic regression to use context-rich representations of the text while still remaining quick to train and evaluate. In the world of aviation, there is a growing demand for natural language processing and understanding but the domain presents unique challenges. Due to the technical content (and specialized language) of most aviation documents, fine-tuning pre-trained Large Language Models to specific tasks has not met the benchmark on natural language processing tasks set by simpler models trained from scratch on the data. To address this deficiency, this paper evaluates the improvements from fine-tuning a Large Language Model on a large set of aviation documents using the original semi-supervised training tasks before performing specific natural language tasks. In fine-tuning, a domain-specific dataset is used on the original training task but with the pre-trained Large Language Model instead of starting from a random initialization. This approach allows the model to be adapted to the specific domain language without discarding the information gained from training on general English data. This paper utilized two major dataset types to train and assess the RoBERTa fine-tuning performance. The first are 7,057 Letters of Agreement which are Federal Aviation Administration (FAA) documents that formalize airspace operations across the national airspace system. They contain many examples of ‘aviation English’ using domain specific terminology and phrasing which serves as a representative basis to perform the semi-supervised fine-tuning. The second type is the 494 document classification labels to be used for evaluation. This down-stream evaluation aims to show the performance of the fine-tuned model, better understand how much data is needed for an effective fine-tuning, and how fine-tuning can be adapted for different applications in-the domain. After semi-supervised training, evaluation begins by encoding the documents for classification using the fine-tuned RoBERTa model. Then a logistic regression classifier is trained to label the document type and compared against our ground truth labels. This currently leads to a 82.8% accuracy on 10-fold cross validation showing improvement over baseline RoBERTa which achieved 81.0%. We plan to measure the improvements on additional tasks and it is expected that these improvements will lead to more robust models that can tackle the natural language processing challenges present in aviation datasets.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

David Nielsen, Stephen S B Clarke, Krishna M Kalyanam. Towards an Aviation Large Language Model by Fine-tuning and Evaluating Transformers. https://ntrs.nasa.gov/citations/20240002359

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related reports

The Knowledge-based Digital Platform Concept for Advanced Air Mobility Research and Development

National Aeronautics and Space Administration (NASA) Langley Research Center (LaRC) is spearheading an innovative digital engineering approach to integrate, communicate, and facilitate the research of multi-modal transportation systems. The Knowledge-based Digital Platform (KbDP) is a concept being developed that ties the workflows of Project Managers (PM), Principal Investigators (PI), and System Engineers (SE) together across organizational boundaries. The overarching vision for the KbDP Concept for AAM R&D is a substantial undertaking. The initial concept and implementation will focus on UAM operations to tractably learn and adjust the concept with a manageable database. Lessons learned and best practices with a smaller scope will enable successful scalability to AAM R&D or even to the entire modes of transportation and logistics. The UAM vision is one in which advanced technologies and new operational procedures enable practical and cost-effective air transport as an integrated mode of movement of people and goods throughout metropolitan areas. Initial implementation of three KbDP concepts of use shows promising benefits to NASA’s Air Traffic Management-Exploration (ATM-X) UAM Airspace Subproject. It is envisioned that the KbDP will manage an information database defined by mathematical, data science, and system engineering principles. AIML algorithms play a vital role in this KbDP concept by extracting meaningful knowledge from the information database, which the human user leverages to improve the efficiency and effectiveness of their research greatly.

ATM↗

High-Resolution Imaging of Supraglacial Hydrological Features on the Greenland Ice Sheet with NASA’s Airborne Topographic Mapper (ATM) Instrument Suite

Seasonal meltwater pools on the surface of the Greenland Ice Sheet (GrIS) during late spring and summer in lakes on the surface and transforms the ice sheet's surface into a wet environment in the ablation zone below the equilibrium line. These supraglacial lakes in topographic lows on the ice surface are connected by a dendritic pattern of meandering streams and channels that together form a hydrological system consisting of supra-, en-, and subglacial components. Here, we use lidar data from NASA's Airborne Topographic Mapper (ATM) instrument suite and high-resolution optical imagery collected as part of Operation IceBridge (OIB) in spring 2019 over the GrIS to develop methods for the study of supraglacial hydrological features. While airborne surveys have a limited temporal and spatial coverage compared to imaging spaceborne sensors, their high footprint density and high-resolution imagery reveal a level of detail that is currently not obtainable from spaceborne measurements. The accuracy and resolution of airborne measurements complement spaceborne measurements, can support calibration and validation of spaceborne methods, and provide information necessary for high-resolution process studies of the supraglacial hydrological system on the GrIS that currently cannot be achieved from spaceborne observations alone.

ATM↗

Safely Enabling Low-Altitude Airspace Operations: Unmanned Aerial System Traffic Management (UTM)

Many beneficial civilian applications of UAS have been proposed, from goods delivery and infrastructure surveillance, to search and rescue, and agricultural monitoring. As UAS operations require interactions with a mix of general aviation aircraft, helicopters and gliders, there is a strong need to safely accommodate all of these vehicles at lower altitudes. Currently, there is no established infrastructure to enable and safely manage the widespread use of low-altitude airspace and UAS operations, regardless of the type of UAS. A UAS traffic management (UTM) system for low-altitude airspace is needed, much like today's surface vehicles that operate within a system consisting of roads, lanes, stop signs, rules, and lights, regardless of whether the vehicle is automated or driven by a human. This talk will focus on the UAS Traffic Managment Concept of Operations.

ATM↗