<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ArticleSet PUBLIC "-//NLM//DTD PubMed 2.7//EN" "https://dtd.nlm.nih.gov/ncbi/pubmed/in/PubMed.dtd">
<ArticleSet>
<Article>
<Journal>
				<PublisherName>Shahrekord University -IRAN</PublisherName>
				<JournalTitle>Artificial Intelligence in Science and Engineering</JournalTitle>
				<Issn>1111-1111</Issn>
				<Volume></Volume>
				<Issue>Articles in Press</Issue>
				<PubDate PubStatus="epublish">
					<Year>2026</Year>
					<Month>07</Month>
					<Day>18</Day>
				</PubDate>
			</Journal>
<ArticleTitle>Presenting a Patch-Based Time Series Transformer Model for Financial Market Forecasting: A Case Study of Gold Price Prediction</ArticleTitle>
<VernacularTitle></VernacularTitle>
			<FirstPage></FirstPage>
			<LastPage></LastPage>
			<ELocationID EIdType="pii">116728</ELocationID>
			
			
			<Language>EN</Language>
<AuthorList>
<Author>
					<FirstName>Fatemeh</FirstName>
					<LastName>Zare Mehrjardi</LastName>
<Affiliation>Meybod university</Affiliation>
<Identifier Source="ORCID">0009-0001-3268-0114</Identifier>

</Author>
</AuthorList>
				<PublicationType>Journal Article</PublicationType>
			<History>
				<PubDate PubStatus="received">
					<Year>2026</Year>
					<Month>07</Month>
					<Day>05</Day>
				</PubDate>
			</History>
		<Abstract>This study employs novel deep learning approaches to accurately forecast gold prices, a critical economic indicator and a prominent safe-haven asset. The research investigates and compares the performance of Recurrent Neural Networks (RNNs) with a Transformer-based model, specifically the Patch Time Series Transformer (PatchTST), for forecasting the complex time series of gold prices, with the aim of demonstrating the superiority of attention-based mechanisms. A three-phase methodology was implemented: (1) data preprocessing, which included removing missing values, normalization, and creating time windows; (2) training the two model categories (RNNs and PatchTST); and (3) evaluating their performance using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and the Coefficient of Determination (R²). The results indicate that the PatchTST model significantly outperforms the RNN models. By leveraging the self-attention mechanism and processing data in patches, PatchTST more effectively captures complex, long-term dependencies within the gold price time series, achieving higher predictive accuracy. This superiority underscores the efficiency and innovation of transformer-based models for precise economic time series forecasting. By introducing PatchTST as a more accurate tool, this research provides significant scientific added value for analysts and investors in making informed financial decisions. By introducing PatchTST as a more accurate tool, this research provides significant scientific added value for analysts and investors in making informed financial decisions.</Abstract>
		<ObjectList>
			<Object Type="keyword">
			<Param Name="value">Gold price</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Recurrent Neural Networks</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Transformer</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">PatchTST</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">Time series forecasting</Param>
			</Object>
		</ObjectList>
</Article>
</ArticleSet>
