Modern chemical processes comprise multiple interconnected unit operations with complex dependencies, in which even minor faults can lead to product loss, quality degradation, energy waste, resource loss, and environmental pollution. These issues can be mitigated through anomaly-detection models, which enable early detection of abnormal process conditions and timely corrective actions. However, conventional statistical and data-driven fault-detection methods often assume that the process is either static or governed by simple dynamics, thus failing to adequately capture the nonlinear and high-dimensional characteristics of real-world industrial systems. To address these limitations, this paper proposes a novel anomaly-detection framework called the LSTM–transformer autoencoder (LTAE). The model employs a long short-term memory (LSTM) encoder to effectively capture dynamic temporal changes in the process data, and a transformer-based decoder with multi-head attention learns long-range dependencies and critical information in parallel to achieve precise reconstruction. When applied to the Tennessee Eastman (TE) benchmark process under a single-mode setting, the proposed model maintained a low false alarm rate (FAR) of 0.00, similar to the baseline models, while enhancing the fault detection rate (FDR) from 0.83 to 0.86. Furthermore, in a multimode setting using a real-world industrial polyethylene (PE) production process, the model significantly reduced the FAR from 0.85 (dual-attention LSTM, transformer) to 0.05, while sustaining an FDR of 1.00. These results demonstrate that the proposed model delivers robust anomaly detection performance in both single- and multimode environments, serving as a practical solution to minimize resource waste, reduce unnecessary energy consumption, and mitigate environmental risks.