Source-linked AI summary

LLMs as Master Forgers: Generating Synthetic Time Series Data for Manufacturing

Mantek Singh, Jeshwanth Challagundla, Prateek Karnal, Gagan Ganapathy, Vineet Shah, Ridam Arora

arXiv:2609.16155v1cs.LGcs.AI

TL;DR

Manufacturing time-series modeling needs to capture long-range dependencies, while LSTMs can require substantial data and careful tuning. This paper fine-tunes LLMs to relate process instructions to time-series patterns and uses RAG; its framework outperforms ARIMA and LSTM across evaluated metrics and improves anomaly-detection F1-score over training on real data alone.

  • Problem

    LSTMs can capture long-range dependencies but may require substantial data and careful tuning, motivating alternatives for manufacturing time-series generation.

    Source: §I · p. 1
  • Method

    The framework trains LLMs to relate manufacturing process instructions to time-series patterns and integrates RAG to improve generated-data quality and diversity.

    Source: §I · p. 1, §VI · p. 6
  • Results

    12% F1-score improvement over training on real data alone; the LLM framework also outperformed ARIMA and LSTM across all evaluated metrics.

    Source: B. Results and Analysis · p. 5
  • Takeaways & Limitations

    High-quality synthetic data could help accelerate development and deployment of manufacturing data-driven models, including anomaly detection.

    Source: §VI · p. 6

    Complete coverage of manufacturing scenarios remains challenging; the framework's data diversity and realism are scoped to the available dataset.

    Source: §VI · p. 6

Abstract

from arXiv · show

This paper presents a novel framework leveraging Large Language Models (LLMs) to generate synthetic time series data for manufacturing processes. Motivated by the scarcity of labeled time-series data in real-world manufacturing settings, which hinders the development of robust machine learning models, we explore the potential of LLMs to learn complex temporal dependencies and generate realistic synthetic data. Our approach involves fine-tuning pre-trained LLMs on manufacturing process instructions and employing a Retrieval Augmented Generation (RAG) technique to enhance data diversity and realism. We evaluate our method against traditional time series modeling techniques like ARIMA and LSTMs, using quantitative metrics, PCA analysis, and downstream task performance (anomaly detection). Results demonstrate that our LLM-driven framework outperforms these baselines, generating high-quality synthetic time series data that effectively captures temporal dependencies and statistical properties of real manufacturing data, leading to improvements in downstream task performance.

I. INTRODUCTION

Manufacturing needs labeled time-series data for maintenance, optimization, and quality control, but real-world collection is costly and difficult; this paper proposes an LLM framework conditioned on process instructions to generate synthetic data.

Introduction

  • Large labeled manufacturing time-series datasets are difficult to obtain because of cost, privacy concerns, and data-collection complexities, motivating synthetic data generation.Time series support predictive maintenance, process optimization, and quality control.Source: §I · p. 1
  • ARIMA can capture linear temporal dependencies but struggles with complex nonlinear dynamics, while LSTMs capture long-range dependencies but require substantial data and careful tuning.Source: §I · p. 1

Contributions

  • The proposed end-to-end framework combines LLM fine-tuning, retrieval-augmented generation, and a data validator to produce realistic, diverse manufacturing time series.It uses manufacturing process instructions to condition the generated data.Source: §I · p. 1
  • The LLM method is benchmarked against ARIMA and LSTMs, with the paper reporting superior performance on quantitative metrics.Source: §I · p. 1
  • The evaluation combines statistical similarity metrics, temporal dependence measures, PCA analysis, and qualitative assessments.Source: §I · p. 1
  • The paper reports that synthetic data improves performance on a downstream anomaly detection task [8].Source: §I · p. 1

II. LITERATURE REVIEW

The review surveys statistical and deep-learning approaches to synthetic time-series generation, then identifies manufacturing-focused LLM generation as a relatively unexplored application.

A. Traditional Statistical Methods

  • AR, MA, ARIMA, and SARIMA model time-series patterns using past values or errors, differencing, and seasonality, but struggle with nonlinear relationships and long-range dependencies in manufacturing data.AR uses past values, MA uses past forecast errors, and ARIMA combines both with differencing; SARIMA extends ARIMA to capture seasonal patterns.Source: A. Traditional Statistical Methods · p. 2

B. Deep Learning-Based Approaches

  • Deep-learning alternatives include recurrent sequence models, adversarial GANs, and latent-space VAEs [10].RNNs retain information from past events and LSTMs can capture long-range dependencies; GANs use competing generator and discriminator networks, while VAEs generate samples from learned latent representations. These methods often require large training datasets and careful hyperparameter tuning.Source: B. Deep Learning-Based Approaches · p. 2

C. LLMs for Data Augmentation

  • LLMs have supported text augmentation, code generation, and image captioning, but manufacturing-focused synthetic time-series generation remains relatively unexplored, motivating this paper’s framework.The framework targets realistic and diverse synthetic time-series data for manufacturing applications.Source: C. LLMs for Data Augmentation · p. 2

III. DATASET DESCRIPTION

The Brembo dataset describes friction-material compositions and constraints alongside braking-test time series across common operating variations.

III. DATASET DESCRIPTION

A. Material Compositions

  • The dataset includes 337 friction materials, each defined by percentages of 60 raw materials grouped into six classes, A–F.Source: A. Material Compositions · p. 2

B. Material Constraints

  • Viable compounds must meet minimum and maximum contribution limits for each material class; class F, for example, must make up 3%–27%.Source: B. Material Constraints · p. 2

C. Performance Data

  • Each friction material was tested 124 times, producing 31-step time series of pressure, temperature, vehicle speed, and coefficient of friction (Mu).The dataset covers variations in composition and standard test conditions, but not every scenario, such as extreme weather or manufacturing defects.Source: C. Performance Data · p. 3

IV. PROPOSED METHODOLOGY

The framework uses an LLM to propose friction-material compositions, generate braking time series with fine-tuning and retrieval, and validate the outputs against domain rules and expected trends.

A. Material Selection Module

  • The material selection module uses GPT-3.5 Turbo, fine-tuned on 337 existing friction materials and their compositions, to propose materials subject to domain-specific constraints.A Data Validator Module checks that generated compositions meet predefined criteria.Source: A. Material Selection Module · p. 3

B. Data Generator Module

  • GPT-3.5 Turbo generates time series for a material composition and braking test type, combining fine-tuning for general structure and trends with RAG for real-world context.Fine-tuning uses 5% of 41,788 (material, braking id) tuples and teaches a 31-point format with pressure, temperature, speed, and mu.Source: B. Data Generator Module · pp. 3–4
  • RAG retrieves five nearest material neighbors using distances in raw 60-dimensional and category-reduced 6-dimensional material spaces, then supplies their performance data as prompt context.The α[0] and α weights control the balance between overall composition similarity and material-class influence.Source: B. Data Generator Module · pp. 3–4

C. Data Validator Module

  • The validation module filters unrealistic synthetic time-series data using domain-specific rules and trend analysis, checking composition constraints, physical plausibility, parameter correlations against real-data relationships, and expected curve behavior.For example, category B materials must comprise 1% to 30%; total material percentage may be checked to sum to 100%. It expects exponential temperature increase and linear speed decrease during braking.Source: C. Data Validator Module · pp. 4–5

V. EXPERIMENTS AND RESULTS

The study evaluates synthetic manufacturing time series through statistical and temporal metrics, PCA, and anomaly detection. The LLM-generated data outperforms ARIMA and LSTM baselines across evaluated metrics and improves anomaly-detection F1-score over real-data-only training.

A. Evaluation Criteria

  • Evaluation measured statistical similarity with KL divergence and Wasserstein distance, and temporal dependence with DTW distance.PCA was used to visualize and compare latent-space representations of real and synthetic data.Source: A. Evaluation Criteria · p. 5
  • Downstream anomaly detection assessed F1-score, which balances precision and recall, across real-only, real-plus-synthetic, and synthetic-only training scenarios.Source: A. Evaluation Criteria · p. 5

B. Results and Analysis

VI. DISCUSSION

The discussion presents RAG-enhanced LLM generation as a way to produce realistic, diverse manufacturing time series, while noting computational, retrieval, and scenario-coverage limitations. It also describes potential applications of synthetic data in manufacturing and future improvements to the framework.

Strengths

  • The framework uses RAG to improve synthetic-data quality and diversity and outperforms ARIMA and LSTMs in capturing real-world manufacturing patterns.RAG leverages relevant historical data.Source: §VI · p. 6

Limitations

  • Fine-tuning and querying large LLMs can be costly; LoRA [15], QLoRA [16], and open-source LLMs are proposed as efficiency options.Source: §VI · p. 6
  • The predefined RAG distance function may limit realism; future work proposes alternative metrics, learned similarity, and more sophisticated retrieval and ranking [17].These approaches could capture more nuanced relationships between material compositions and braking performance.Source: §VI · p. 6
  • The framework cannot cover every manufacturing scenario, and its diversity and realism are bounded by the available dataset.Future work could add data sources or use more sophisticated retrieval techniques to improve scenario coverage.Source: §VI · p. 6

Impact and Applications

  • The discussion proposes ensembling individual models and says synthetic data could accelerate model development for predictive maintenance, anomaly detection, process optimization, and new-compound manufacturing cycles.The motivation is that obtaining large labeled datasets is often a major manufacturing bottleneck.Source: §VI · p. 6

VII. CONCLUSION

The LLM-and-RAG framework generates realistic manufacturing time series, outperforming traditional methods while capturing temporal dependencies and statistical properties and improving downstream anomaly detection. Future work targets efficiency, advanced retrieval and ranking, and applications beyond manufacturing.

VII. CONCLUSION

  • The LLM-and-RAG framework outperforms traditional time-series methods, captures real-world temporal dependencies and statistical properties, and improves downstream anomaly-detection performance.The conclusion cites quantitative metrics and PCA analysis as evidence.Source: §VII · p. 6
  • Future work will explore efficient fine-tuning techniques and open-source LLMs to enhance framework efficiency.Source: §VII · p. 6
  • Future work will investigate more sophisticated retrieval and ranking mechanisms to further improve data realism.Source: §VII · p. 6
  • Future work will apply the framework beyond manufacturing to other domains that could benefit from synthetic time-series data.Source: §VII · p. 6
Loading 2609.16155v1…