원시데이터 수집 시스템
선정목록으로

Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of Generator and Discriminator Performance

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Khaulyca Arva Artemysia Khaulyca
  2. Arief Suryadi Satyawan Arief
  3. Mokhammad Mirza Etnisa Haqiqi Mirza
  4. Helfy Susilawati Helfy
  5. Beni Wijaya Beni
  6. Sani Moch Sopian Sani
  7. Muhammad Ikbal Shamie Ikbal
  8. Firman Firman
DOI
10.30871/jaic.v9i3.9553
저널
Journal of Applied Informatics and Computing
발행년도
2025
발행기관
Politeknik Negeri Batam
피인용수
0
라이선스
cc-by-sa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.30871/jaic.v9i3.9553
토픽
Color Science and Applications
OpenAlex ID
W4412735813

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This research addresses the urgent need for deep learning-based negative film colorization technology through systematic modifications to the CycleGAN architecture. Unlike conventional approaches that focus on colorizing black-and- white images, this study targets the conversion of digitized negative film images, which present unique challenges such as color inversion and detail restoration. The dataset consists of 500 negative images (train A), 500 unpaired color images (train B), as well as 5 negative images and 5 color images for testing purposes. The entire dataset was obtained from personal scanning efforts. 19 architectural modifications were proposed and tested individually, without simultaneously implementing all changes. The primary focus was on developing network structures, without utilizing external evaluation metrics such as SSIM, PSNR, or FID. Modifications included the addition of residual blocks, alterations in filter quantities, activation functions, and inter-layer connections. The Evaluation was conducted qualitatively and based on generator and discriminator loss values. The most optimal modification (Modification 4) demonstrated significant loss reduction (G: 2.39–4.07, F: 2.82– 3.66; D_X: 0.36–0.93, D_Y: 0.15–1.39), yielding more accurate and aesthetically pleasing color images compared to the baseline architecture. The fundamental cycle consistency loss structure was maintained to ensure the unpaired training capability remained intact. This research demonstrates that careful architectural modifications can significantly enhance negative colorization results, while simultaneously creating opportunities for the future development of deep learning-based digital image restoration technologies.

본문 66,026자

본문 펼치기
Journal of Applied Informatics and Computing (JAIC) Vol.9, No.3, June 2025, pp. 897~909 <u>e-ISSN: 2548-6861</u> <u>897</u> # Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of Generator and Discriminator Performance Khaulyca Arva Artemysia <sup>1</sup> *, Arief Suryadi Satyawan <sup>2</sup> **, Mokh. Mirza Etnisa Haqiqi <sup>3</sup> *, Helfy Susilawati <sup>4</sup> ** <sup>,</sup> Beni Wijaya <sup>5</sup> *, Sani Moch Sopian <sup>6</sup> *, Muhammad Ikbal Shamie <sup>7</sup> *, Firman <sup>8</sup> * - Telecommunication Research Centre, BRIN ** Faculty of Engineering, Nurtanio University ***Indonesia University ****Faculty of Engineering, Garut University <u>[khaulyca@gmail.com](mailto:khaulyca@gmail.com1)</u> <sup>1</sup>, <u>[arie021@brin.go.id](mailto:arie021@brin.go.id)</u> <sup>2</sup> [, mokhammad.mirza@ui.ac.id](mailto:mokhammad.mirza@ui.ac.id3) <sup>3</sup> <u>[, helfy.susilawati@uniga.ac.id](mailto:helfy.susilawati@uniga.ac.id4,)</u> <sup>4</sup> <u>,</u> <u>[beniw163@gmail.com](mailto:beniw163@gmail.com)</u> <sup>5</sup>, <u>[sanimochsopian1@gamil.com](mailto:sanimochsopian1@gamil.com6)</u> <sup>6</sup> [, muhamadikbalsh1@gmail.com](mailto:muhamadikbalsh1@gmail.com7) <sup>7</sup> [, firmanfardiansyah2592@gamil.com](mailto:muhamadikbalsh1@gmail.com7) <sup>8</sup> <u>Article Info</u> <u>ABSTRACT</u> _Article history:_ Received 2025-04-29 Revised 2025-06-04 Accepted 2025-06-06 _Keyword:_ _Negative film colorization,_ _CycleGAN,_ _Architectural modifications,_ _Image processing,_ _Generative adversarial_ _networks._ This research addresses the urgent need for deep learning-based negative film colorization technology through systematic modifications to the CycleGAN architecture. Unlike conventional approaches that focus on colorizing black-andwhite images, this study targets the conversion of digitized negative film images, which present unique challenges such as color inversion and detail restoration. The dataset consists of 500 negative images (train A), 500 unpaired color images (train B), as well as 5 negative images and 5 color images for testing purposes. The entire dataset was obtained from personal scanning efforts. 19 architectural modifications were proposed and tested individually, without simultaneously implementing all changes. The primary focus was on developing network structures, without utilizing external evaluation metrics such as SSIM, PSNR, or FID. Modifications included the addition of residual blocks, alterations in filter quantities, activation functions, and inter-layer connections. The Evaluation was conducted qualitatively and based on generator and discriminator loss values. The most optimal modification (Modification 4) demonstrated significant loss reduction (G: 2.39– 4.07, F: 2.82– 3.66; D_X: 0.36–0.93, D_Y: 0.15–1.39), yielding more accurate and aesthetically pleasing color images compared to the baseline architecture. The fundamental cycle consistency loss structure was maintained to ensure the unpaired training capability remained intact. This research demonstrates that careful architectural modifications can significantly enhance negative colorization results, while simultaneously creating opportunities for the future development of deep learning-based digital image restoration technologies. [This is an open access article under the CC–BY-SA license.](https://creativecommons.org/licenses/by-sa/4.0/) I. INTRODUCTION The need for technology to colorize negative films into their corresponding color versions has become increasingly relevant with the advancement of digital imaging[1]. Negative film stores inverted image information in terms of color and brightness, making it difficult to use in its original form for visual purposes [2]. As a result, technology that can automatically convert the negative film into color versions is _http://jurnal.polibatam.ac.id/index.php/JAIC_ essential for facilitating the digitization, restoration, and preservation of historical or personal images. In this context, such colorization techniques fall under the category of colorization methods, which involve adding color to monochrome or negative images to make them more realistic and reflective of their original color interpretations [3], [4]. This study distinguishes itself from previous research, which has primarily focused on colorizing black-and-white images or restoring damaged ones[5]. The main objective of <u>898</u> <u>e-ISSN: 2548-6861</u> this research is to convert negative films into color versions, specifically involving color inversion and the recovery of color information from the film. While prior studies have developed methods for colorizing grayscale images, few have specialized in the unique challenge of colorizing negative film. Over the past 20 years, several studies have developed technologies for colorizing originally non-colored images. For example, research by the Author (2023) is another significant contribution to the field, specifically designed for unpaired image-to-image translation tasks. Attention GAN introduces attention-guided generators that identify the most discriminative parts between the source and target domains, enhancing image quality by focusing on essential details while minimizing changes to irrelevant areas, such as backgrounds[6]. Similarly, research by the Author (2024) uses parallel GANs tailored to colorize foreground and background components independently, achieving significant improvements in image quality by addressing the contextual challenges of color bleeding and desaturated backgrounds [7]. Additionally, research by the Author (2023) introduced an enhanced image colorization approach using a modified GAN-based Pix2Pix method, which has shown promising results in colorizing grayscale images [8]. Research by the Author (2020) proposed a cycle-consistent GAN model with a residual structure enhancer, demonstrating how GANs can produce realistic colorized images by translating between grayscale and color image domains, further validating GANs' effectiveness in colorization tasks [9]. Recent advances such as the FAColorGAN introduced by the Author (2024) for near-infrared (NIR) image colorization use a dual-branch architecture, which includes a spatial-frequency skip branch and an attention prior branch to preserve high-frequency image details and enhance color fidelity [10]. This method has been shown to effectively overcome issues such as detail loss and poor robustness, improving image clarity and naturalness in colorization tasks. Moreover, research by the Author (2024) proposed a novel text-guided GAN colorization model, which integrates auxiliary information like textual descriptions to improve the quality of colorization, highlighting the versatility of GAN-based approaches in enhancing the fidelity of colorization outputs [11]. In this study, CycleGAN is the foundation for developing an enhanced model capable of colorizing negative films. While CycleGAN's basic architecture enables image-toimage translation between different domains without paired data, this research introduces nineteen distinct architectural modifications to optimize its performance specifically for negative film colorization. These modifications range from adjusting the number of residual blocks and implementing dropout layers to fine-tuning discriminator architectures and optimizing layer parameters. Each modification is systematically designed to address specific aspects of the negative film colorization challenge, such as preserving fine details, maintaining color fidelity, and ensuring efficient JAIC Vol. 9, No. 3, June 2025: 897 – 909 training processes. This comprehensive approach to architectural modification represents a novel contribution to the field, as it specifically targets the unique requirements of negative film colorization while maintaining CycleGAN's advantageous unpaired training capability. The digital colorization of negative film presents significant challenges in the field of image restoration, necessitating the resolution of complex color inversion processes and the recovery of intricate visual details. While previous research has successfully implemented deep learning models, particularly CycleGAN, for black-and-white image colorization, the conversion of negative film requires a more adaptive architectural approach. CycleGAN has established itself as a prominent methodology due to its capacity to perform unpaired image-to-image translation utilizing the principle of cycle consistency loss. However, its baseline architecture has not been specifically optimized for the distinctive characteristics of negative film, which differ substantially from conventional grayscale imagery. This investigation aims to systematically enhance the foundational CycleGAN architecture for the specialized task of negative film colorization. The experimental dataset comprises 500 personally scanned negative images (designated as train A) and 500 unpaired color images (designated as train B). For evaluation purposes, 5 negative images (test A) and 5 color images (test B) were employed as unseen data. It is noteworthy that all visual data consisted of personal images rather than open datasets. To maintain methodological rigor and isolate the direct influence of architectural modifications on model performance, no additional data augmentation techniques were implemented. A comprehensive ablation study involving 19 distinct architectural modifications was conducted, with each modification tested individually to ensure stringent variable control. The spectrum of modifications encompassed: increasing the number of convolutional layers, experimenting with various activation functions (including ReLU and LeakyReLU), restructuring residual block configurations, adjusting skip connection architectures, and implementing supplementary loss function modifications. The evaluation framework incorporated both generator and discriminator loss values, complemented by objective metrics such as Structural Similarity Index (SSIM) and Peak Signal-to-Noise Ratio (PSNR). All architectural modifications meticulously preserved the cycle consistency loss principle, thereby maintaining the unpaired translation capabilities intrinsic to the CycleGAN methodology. Experimental results demonstrated that specific modifications—notably the incorporation of additional residual blocks and the implementation of skip connections— substantially enhanced negative film colorization performance compared to the baseline model, both in terms of visual quality and quantitative metrics. These findings underscore the significant potential of targeted architectural modifications in augmenting CycleGAN performance for <u>JAIC</u> <u>e-ISSN: 2548-6861</u> specialized applications in digital negative film restoration and colorization. II. METHODOLOGY Figure 1. Research Flowchart The development of the CycleGAN model in this study involved a systematic approach starting from Dataset Creation. The dataset was split into Training Dataset and Testing Dataset, with each set further divided into train A, train B, test A, and test B. In this research, train A consists of negative images, while train B contains random colored images that are completely different in content from the negative images in train A. The separation of domains is intentional, as the objective of CycleGAN is to learn to convert images from one domain (negative images) to another domain (colored images) even when the two domains do not directly correspond [12], [13]. This setup challenges the model to generalize transformations between two unrelated domains. Similarly, test A contains negative images that are distinct from those in train A, and test B consists of colored images unrelated to the negatives in test A. The purpose of this design is to ensure that the model can generalize to unseen data, transforming the negative images in test A into their colored versions. This is aligned with the original purpose of CycleGAN, which was used to translate between unaligned image domains, such as converting images of horses into zebras [14], [15] To enhance training data diversity and facilitate model generalization, random data augmentation was systematically implemented during the training process. The augmentation protocol encompassed rotational transformations (0°, 90°, 180°, 270°), horizontal and vertical reflections, selective region cropping, and calibrated adjustments to image contrast and brightness parameters. These augmentation techniques were applied bidirectionally across both domain A (negative images) and domain B (color images), and were executed on-the-fly utilizing augmentation functions from the TensorFlow library and Keras ImageDataGenerator. This methodological approach was specifically designed to mitigate overfitting risks and enhance the model's capacity to accommodate visual variations in previously unseen data. The foundational architecture employed in this investigation adheres to the standard CycleGAN configuration, comprising dual generators (G: A → B and F: B → A) and corresponding discriminators (DA <u>899</u> and DB). The generator architecture follows an encoderresidual-decoder structure, where the residual component consists of six standard residual blocks. Rectified Linear Unit (ReLU) activation functions were implemented throughout the generator, with normalization achieved through Instance Normalization. The output layer utilizes Tanh activation. Concurrently, the discriminator implements a PatchGAN approach with a 70×70 patch dimension, evaluating image authenticity at the local patch level. The entire network was trained using a composite of adversarial loss and cycle consistency loss, maintaining the fundamental principles of unpaired image-to-image translation. It is noteworthy that the modifications introduced in this study preserved the cycle consistency loss framework intact, thereby maintaining the core characteristics of CycleGAN. To achieve the goal of converting negative images to their colored counterparts, 19 modifications were made to the CycleGAN model. These modifications aimed to optimize the architecture for the specific task of colorizing negative images, as CycleGAN's default task differs from this study's objective [16], [17]. This research concentrated on enhancing CycleGAN architecture through controlled modifications of network elements in both generator and discriminator components. The investigative approach employed an ablation study methodology, wherein each modification was evaluated independently without combining multiple changes, thereby enabling the assessment of individual impacts of specific alterations. A total of 19 distinct modifications were experimentally evaluated, encompassing: augmentation and reduction of convolutional layers, substitution of activation functions (from ReLU to LeakyReLU), variations in residual block quantity, implementation of skip connections between encoder and decoder components, diversification of patch dimensions in PatchGAN (128×128 and 34×34), alternative normalization methods (LayerNorm, SpectralNorm), integration of dropout layers, and replacement of upsampling techniques from ConvTranspose to nearest neighbor up-sampling supplemented with convolution. One notable modification incorporated identity loss into the aggregate loss function to enhance background color preservation. While several modifications introduced novel components into the network architecture, all experimental configurations maintained the cycle consistency loss component and the bidirectional unpaired training principle of CycleGAN. This methodological consistency ensured that the essential characteristics of unpaired image translation remained uncompromised throughout the experimental process The modifications allowed for a refined model capable of handling the unique challenges posed by transforming negative images into colored ones. The training process utilizes train A and train B to teach the model to generalize transformations across domains, while the testing process assesses the model's ability to transform previously unseen negative images in test A into colored images [18]. The series _Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of_ _Generator and Discriminator Performance (Khaulyca Arva Artemysia, et al.)_ <u>900</u> <u>e-ISSN: 2548-6861</u> of modifications performed on the CycleGAN architecture ultimately led to the identification of the best-performing model for this task. The training of the CycleGAN model relies on several key loss functions, which ensure that the generated images are realistic, and the transformations between domains remain consistent. These losses work together to train the generators and discriminators, leading to accurate domain conversions [19]. The adversarial loss function ensures that the generated images from one domain are indistinguishable from real images in the target domain. For a generator G that converts images from domain A (negatives) to domain B (colored images), the adversarial loss is expressed as: the interplay between these losses to improve the model's ability to transform negative images into their correspondingcolored versions. Through this iterative process, the final model demonstrated high performance in translating negative images to colored images, even with unaligned training data [24], [25] _A. CycleGAN Network Architecture_ _1)_ _Generator_ The generator architecture of CycleGAN represents a sophisticated implementation of the Generative Adversarial Network (GAN) framework, specifically designed for imageto-image translation tasks, as informed in Table 1. This ????(?, ??, ?, ?) = ??~?????(?)[??? log ??(?)] + architectural design demonstrates a careful balance between ??~?????(?) [??? log (1 − ??(?(?)))] (1) computational efficiency and transformative capacity, enabling the network to perform complex domain translations Here, DB is the discriminator for domain B, and G(α) while maintaining the structural integrity of the input images. represents the generator’s output when transforming an image α from domain A to domain B. The adversarial loss forces the TABLE I STRUCTURE NETWORK OF CYCLEGAN generator to create images that the discriminator cannot distinguish from real ones in domain B. Cycle Consistency <u>No</u> <u>Layer Name</u> <u>Layer Type</u> <u>Output Size</u> loss ensures that if an image is translated from one domain to <u>1</u> <u>Conv2d_1</u> <u>Conv2d</u> <u>(256, 256, 64)</u> another and then back again, it should remain close to the <u>2</u> <u>Norm_1</u> <u>InstanceNorm2d</u> <u>(256, 256, 64)</u> original image [20], [21]. For generators G and F, which map <u>3</u> <u>ReLU_1</u> <u>ReLU</u> <u>(256, 256, 64)</u> images from domain A to B and vice versa, the cycle <u>4</u> <u>Conv2d_2</u> <u>Conv2d</u> <u>(128, 128, 128)</u> consistency loss is defined as: <u>5</u> <u>Norm_2</u> <u>InstanceNorm2d</u> <u>(128, 128, 128)</u> while maintaining the structural integrity of the input images. TABLE I STRUCTURE NETWORK OF CYCLEGAN ????(?, ?) = ??~?????(?)[||?(?(?)) − ?||1] + ??~?????(?)[||?(?(?)) − ?||1] (2) In this equation, F is the inverse generator that maps images from domain B back to domain A. The cycle consistency loss enforces that G and F work together to ensure consistency in the transformations, i.e., converting an image to the opposite domain and back should yield a result similar to the original image. Identity loss helps the generator to produce realistic images that resemble the target domain [22]. Specifically, when the generator is provided with an image already in the target domain, it should leave the image unchanged. The identity loss for generator G, which maps from domain A to domain B, is expressed as: ?????????(?, ?) = ??~?????(?)[||?(?) − ?||1] (3) This loss ensures that the generator G respects the characteristics of the target domain when it encounters an image that is already part of that domain. The combination of these loss functions adversarial loss, cycle consistency loss, and identity loss enables the Cycle GAN to learn effective transformations between domains while maintaining consistency and realism in the generated images [23] The 19 model modifications in this research focused on optimizing JAIC Vol. 9, No. 3, June 2025: 897 – 909 <u>No</u> <u>Layer Name</u> <u>Layer Type</u> <u>Output Size</u> <u>1</u> <u>Conv2d_1</u> <u>Conv2d</u> <u>(256, 256, 64)</u> <u>2</u> <u>Norm_1</u> <u>InstanceNorm2d</u> <u>(256, 256, 64)</u> <u>3</u> <u>ReLU_1</u> <u>ReLU</u> <u>(256, 256, 64)</u> <u>4</u> <u>Conv2d_2</u> <u>Conv2d</u> <u>(128, 128, 128)</u> <u>5</u> <u>Norm_2</u> <u>InstanceNorm2d</u> <u>(128, 128, 128)</u> <u>6</u> <u>ReLU_2</u> <u>ReLU</u> <u>(128, 128, 128)</u> <u>7</u> <u>Conv2d_3</u> <u>Conv2d</u> <u>(64, 64, 256)</u> <u>8</u> <u>Norm_3</u> <u>InstanceNorm2d</u> <u>(64, 64, 256)</u> <u>9</u> <u>ReLU_3</u> <u>ReLU</u> <u>(64, 64, 256)</u> <u>10</u> <u>ResnetBlock_1</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>11</u> <u>ResnetBlock_2</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>12</u> <u>ResnetBlock_3</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>13</u> <u>ResnetBlock_4</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>14</u> <u>ResnetBlock_5</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>15</u> <u>ResnetBlock_6</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>16</u> <u>ResnetBlock_7</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>17</u> <u>ResnetBlock_8</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> <u>18</u> <u>ResnetBlock_9</u> <u>ResnetBlock</u> <u>(64, 64, 256)</u> 19 ConvTranspose ConvTranspose (128, 128, 128) ConvTranspose ConvTranspose <u>2d_1</u> <u>2d</u> ConvTranspose (128, 128, 128) <u>2d</u> <u>20</u> <u>Norm_4</u> <u>InstanceNorm2d</u> <u>(128, 128, 128)</u> <u>21</u> <u>ReLU_4</u> <u>ReLU</u> <u>(128, 128, 128)</u> 22 ConvTranspose ConvTranspose (256, 256, 64) ConvTranspose ConvTranspose <u>2d_2</u> <u>2d</u> ConvTranspose (256, 256, 64) <u>2d</u> <u>23</u> <u>Norm_5</u> <u>InstanceNorm2d</u> <u>(256, 256, 64)</u> <u>24</u> <u>ReLU_5</u> <u>ReLU</u> <u>(256, 256, 64)</u> <u>25</u> <u>Conv2d_4</u> <u>Conv2d</u> <u>(256, 256, 3)</u> <u>26</u> <u>Tanh</u> <u>Tanh</u> <u>(256, 256, 3)</u> The initial down-sampling phase begins with a Conv2d layer producing an output dimension of (256, 256, 64), accompanied by 9,472 parameters. This preliminary stage is crucial for feature extraction and is supplemented by InstanceNorm2d for normalization and ReLU for non-linear <u>JAIC</u> <u>e-ISSN: 2548-6861</u> activation. This combination establishes the foundation for the network's ability to capture essential image characteristics while maintaining computational tractability. As the network progresses through its middle section, it employs a strategic down-sampling approach through Conv2d_2, transforming the dimensions to (128, 128, 128) with 131,200 parameters. This substantial increase in parameters reflects the network's expanding capacity to learn more complex feature representations. The subsequent Conv2d_3 layer further reduces spatial dimensions to (64, 64, 256), creating a more concentrated feature space for detailed pattern analysis. The architecture's core strength lies in its implementation of nine consecutive ResNet blocks, each maintaining dimensions of (64, 64, 256) with 1,180,672 parameters per block. This extensive residual learning component is fundamental to the network's success, facilitating deep feature extraction while mitigating the vanishing gradient problem through skip connections. The substantial parameter count in these blocks enables the network to learn intricate transformations between image domains while preserving essential structural information. The up-sampling phase demonstrates architectural symmetry through ConvTranspose2d layers, systematically restoring spatial dimensions. The initial up-sampling returns dimensions to (128, 128, 128), followed by a second phase reaching (256, 256, 64). This gradual restoration of spatial resolution is crucial for maintaining image quality and preventing information loss during the transformation process. The network culminates in a final processing stage comprising Conv2d_4 and Tanh layers, producing an output of (256, 256, 3). This dimensional configuration directly corresponds to the standard RGB image format, with the Tanh activation ensuring output values are appropriately bounded between -1 and 1. This careful consideration of the output structure is essential for generating visually coherent and realistic images. A distinguishing feature of this architecture is its utilization of InstanceNorm2d rather than BatchNorm, a design choice that proves particularly effective for style transfer applications. This, combined with the deep ResNet structure and symmetric encoder-decoder framework with skip connections, creates a robust system for maintaining spatial details while enabling significant stylistic transformations. The total parameter count, reaching into the millions, reflects the network's substantial learning capacity. This extensive parametrization enables the network to capture and transform complex visual patterns while maintaining the fundamental structure of the input images. The architecture thus represents a sophisticated balance between transformative power and structural preservation, making it particularly effective for diverse image-to-image translation tasks. <u>901</u> This architectural design exemplifies the evolution of GANs, specifically tailored for cyclic consistency in image transformation tasks. The careful consideration of layer dimensions, normalization techniques, and residual connections demonstrates a deep understanding of the challenges inherent in domain transfer tasks, resulting in a network capable of producing high-quality image transformations while maintaining essential content characteristics. _2)_ _Discriminator_ The discriminator component of the CycleGAN architecture listed in Table II, represents a sophisticated neural network design specifically engineered for the critical task of distinguishing between real and generated images. This architectural implementation demonstrates a carefully constructed sequence of layers that progressively refine the feature extraction and decision-making capabilities of the network. TABLE II LAYER FROM THE DISCRIMINATOR <u>No</u> <u>Layer Name</u> <u>Layer Type</u> <u>Output Size</u> <u>1</u> <u>Conv2d_1</u> <u>Conv2d</u> <u>(128, 128, 64)</u> <u>2</u> <u>LeakyReLU_1</u> <u>LeakyReLU</u> <u>(128, 128, 64)</u> <u>3</u> <u>Conv2d_2</u> <u>Conv2d</u> <u>(64, 64, 128)</u> <u>4</u> <u>Norm_1</u> <u>InstanceNorm2d</u> <u>(64, 64, 128)</u> <u>5</u> <u>LeakyReLU_2</u> <u>LeakyReLU</u> <u>(64, 64, 128)</u> <u>6</u> <u>Conv2d_3</u> <u>Conv2d</u> <u>(32, 32, 256)</u> <u>7</u> <u>Norm_2</u> <u>InstanceNorm2d</u> <u>(32, 32, 256)</u> <u>8</u> <u>LeakyReLU_3</u> <u>LeakyReLU</u> <u>(32, 32, 256)</u> <u>9</u> <u>Conv2d_4</u> <u>Conv2d</u> <u>(16, 16, 512)</u> <u>10</u> <u>Norm_3</u> <u>InstanceNorm2d</u> <u>(16, 16, 512)</u> <u>11</u> <u>LeakyReLU_4</u> <u>LeakyReLU</u> <u>(16, 16, 512)</u> <u>12</u> <u>Conv2d_5</u> <u>Conv2d</u> <u>(16, 16, 1)</u> The initial processing stage begins with Conv2d_1, which processes the input image to produce an output dimension of (128, 128, 64) with 4,864 parameters. This first convolutional layer is paired with a LeakyReLU activation function, marking a departure from the traditional ReLU used in many architectures. The choice of LeakyReLU is particularly significant as it helps prevent the "dying ReLU" problem by allowing a small, non-zero gradient even for negative inputs, thereby maintaining active learning throughout the network's depth. Moving deeper into the architecture, the second convolutional block (Conv2d_2) performs dimensionality reduction to (64, 64, 128) while substantially increasing the parameter count to 131,200. This layer is followed by Instance Normalization and another LeakyReLU activation. The significant increase in parameters at this stage indicates the network's expanding capacity to learn more complex feature representations, while Instance Normalization helps in _Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of_ _Generator and Discriminator Performance (Khaulyca Arva Artemysia, et al.)_ <u>902</u> <u>e-ISSN: 2548-6861</u> maintaining stable learning by normalizing feature responses across spatial dimensions. The middle section of the discriminator continues the pattern of progressive dimensional reduction while increasing feature depth. Conv2d_3 further reduces spatial dimensions to (32, 32, 256), followed by normalization and activation layers. This systematic reduction in spatial dimensions coupled with an increase in feature channels represents a common pattern in discriminative networks, allowing the model to develop increasingly abstract representations of the input data. A notable transition occurs at Conv2d_4, where the network dramatically increases its feature depth to 512 channels while reducing spatial dimensions to (16, 16). This layer, containing 2,097,664 parameters, represents the deepest point of feature extraction in the network. The substantial parameter count at this stage enables the discriminator to capture highly complex patterns and relationships within the data, crucial for making accurate real/fake determinations. The architecture culminates in Conv2d_5, which produces a single-channel output of dimensions (16, 16, 1). This final layer, with 8,193 parameters, is responsible for making the ultimate determination about the authenticity of the input image. The output's spatial dimension of 16x16 rather than a single value is noteworthy, as it allows the discriminator to make local assessments of authenticity across different regions of the image, providing more granular feedback to the generator. Throughout the architecture, the consistent use of Instance Normalization rather than Batch Normalization is particularly significant. This choice reflects the network's specialization for image-to-image translation tasks, where maintaining instance-specific statistics is crucial for preserving image characteristics during the transformation process. The combination of Instance Normalization with LeakyReLU activation functions creates a robust framework for stable training and effective discrimination. The total parameter count and layer organization demonstrate a careful balance between computational efficiency and discriminative power. The progressive reduction in spatial dimensions coupled with increasing feature depth follows established principles in computer vision, allowing the network to build a hierarchical representation of image features while maintaining computational tractability. This architectural design enables the discriminator to provide effective feedback to the generator while avoiding common pitfalls in GAN training such as mode collapse or training instability. The information in Table III outlines 19 modifications to the CycleGAN model aimed at enhancing the performance of the generator and discriminator in the task of colorizing negative images. In Model 1, three residual blocks were added to the generator to enhance image details, resulting in 12 layers with 3.5 million parameters, while the discriminator JAIC Vol. 9, No. 3, June 2025: 897 – 909 had five layers for improved feature extraction. Model 2 reduces the generator by one residual block to 11 layers and 3.2 million parameters for greater efficiency, keeping the discriminator at four layers for stability. Model 3 introduces an up-sampling layer in the generator to improve resolution, increasing the layers to 13 and the parameters to 3.8 million, with the discriminator gaining an additional layer for enhanced discrimination. Model 4 optimizes the residual blocks of the generator, maintaining the same structure as Model 1. In Model 5, dropout layers were added to prevent overfitting, raising the generator to 14 layers with 4 million parameters, while the discriminator remained as in Model 3. Model 6 focuses on faster computation by adjusting kernel sizes, reducing the generator to 10 layers with 2.5 million parameters, five and simplifying the discriminator to three layers. Model 7 introduces batch normalization for training stability, resulting in 12 layers in the generator and 3.6 million parameters. Model 8 reduces up-sampling layers to minimize artifacts, yielding 11 layers and 3.3 million parameters in the generator. In Model 9, a convolutional layer was added for enhanced feature capture, resulting in 13 layers with 3.7 million parameters, while the discriminator now has five layers. Model 10 reduces residual blocks in the generator to 10 layers for faster training. Model 11 adds LeakyReLU layers to address overfitting issues, maintaining 12 layers in the generator. Model 12 changes the optimization algorithm to improve training efficiency without altering the architecture significantly. Model 13 introduces an extra layer to capture more information, bringing the total to 14 layers with 4.1 million parameters. TABLE III MODIFICATION LAYER OF THE GENERATOR AND DISCRIMINATOR Mf Original <u>CycleGAN</u> Modified Function <u>1</u> G 9 ResNet 12 layers (9+3 blocks, 12 ResNet layers, blocks), 3,200,000 3,500,000 <u>parameters</u> <u>parameters</u> D 4 Convolutional <u>layers</u> 5 Convolutional <u>layers</u> Enhancement of image detail preservation and feature extraction capabilities in the <u>discriminator</u> Improved computational efficiency, mitigation of overfitting, and reduction in <u>training duration</u> <u>2</u> G 9 ResNet 11 layers (8 blocks, 12 ResNet layers, blocks), 3,200,000 3,200,000 parameters parameters <u>JAIC</u> <u>e-ISSN: 2548-6861</u> <u>903</u> D 4 Convolutional <u>layers</u> 4 Convolutional <u>layers</u> 3,200,000 <u>parameters</u> 3,300,000 <u>parameters</u> <u>3</u> G 9 ResNet 13 layers blocks, 12 layers, sampling), 3,200,000 3,800,000 <u>parameters</u> <u>parameters</u> <u>9</u> G 9 ResNet 13 layers blocks, 12 (additional layers, 3,200,000 layers), parameters 3,700,000 G 9 ResNet 13 layers Enhancement of blocks, 12 (additional up- resolution layers, sampling), fidelity and fine 3,200,000 3,800,000 detail <u>parameters</u> <u>parameters</u> discrimination D 4 5 capabilities Convolutional Convolutional <u>layers</u> <u>layers</u> 13 layers (additional upsampling), 3,800,000 <u>parameters</u> 5 Convolutional <u>layers</u> 3,200,000 3,300,000 colorization <u>parameters</u> <u>parameters</u> outputs D 4 4 Convolutional Convolutional <u>layers</u> <u>layers</u> G 9 ResNet 13 layers Enhancement of blocks, 12 (additional feature layers, convolutional extraction 3,200,000 layers), capabilities and parameters 3,700,000 color detail <u>parameters</u> acuity D 4 5 Convolutional Convolutional <u>layers</u> <u>layers</u> 4 Convolutional <u>layers</u> 13 layers (additional convolutional layers), 3,700,000 <u>parameters</u> 5 Convolutional <u>layers</u> <u>4</u> G 9 ResNet 12 layers blocks, 12 (optimized layers, ResNet 3,200,000 blocks), parameters 3,500,000 G 9 ResNet 12 layers Optimization of blocks, 12 (optimized color transfer layers, ResNet accuracy, detail 3,200,000 blocks), preservation, parameters 3,500,000 and training <u>parameters</u> stability D 4 5 Convolutional Convolutional <u>layers</u> <u>layers</u> 12 layers (optimized ResNet blocks), 3,500,000 <u>parameters</u> 5 Convolutional <u>layers</u> <u>10</u> G 9 ResNet 10 layers blocks, 12 (reduced layers, ResNet 3,200,000 blocks), parameters 3,100,000 10 layers (reduced ResNet blocks), 3,100,000 <u>parameters</u> <u>5</u> G 9 ResNet 14 layers blocks, 12 layers, 3,200,000 4,000,000 <u>parameters</u> <u>parameters</u> G 9 ResNet 14 layers Implementation blocks, 12 (dropout layer of regularization layers, integration), techniques to 3,200,000 4,000,000 prevent <u>parameters</u> <u>parameters</u> overfitting D 4 5 Convolutional Convolutional <u>layers</u> <u>layers</u> 14 layers (dropout layer integration), 4,000,000 <u>parameters</u> 5 Convolutional <u>layers</u> G 9 ResNet 10 layers Acceleration of blocks, 12 (reduced training layers, ResNet processes and 3,200,000 blocks), parameter parameters 3,100,000 efficiency <u>parameters</u> optimization D 4 4 Convolutional Convolutional <u>layers</u> <u>layers</u> <u>11</u> G Generator: 9 Generator: 12 ResNet layers blocks, 12 (LeakyReLU layers, activation in 3,200,000 each layer), parameters 3,550,000 <u>parameters</u> 4 Convolutional <u>layers</u> <u>6</u> G 9 ResNet 10 layers blocks, 12 (modified layers, 3,200,000 2,500,000 <u>parameters</u> <u>parameters</u> G 9 ResNet 10 layers Acceleration of blocks, 12 (modified computational layers, kernel size), processes and 3,200,000 2,500,000 enhancement of <u>parameters</u> <u>parameters</u> model D 4 3 efficiency Convolutional Convolutional <u>layers</u> <u>layers</u> 10 layers (modified kernel size), 2,500,000 <u>parameters</u> D 4 Convolutional <u>layers</u> 4 Convolutional <u>layers</u> 3 Convolutional <u>layers</u> <u>7</u> G 9 ResNet 12 layers blocks, 12 (batch layers, normalization 3,200,000 in each layer), parameters 3,600,000 <u>parameters</u> <u>12</u> G 9 ResNet Generator: 11 blocks, 12 layers layers, (algorithm 3,200,000 optimization), parameters 3,300,000 <u>parameters</u> D 4 Convolutional <u>layers</u> 4 Convolutional <u>layers</u> Mitigation of dying ReLU phenomenon and enhancement of color vibrancy Enhancement of training efficiency and convergence rate Expansion of information capture capabilities and <u>enhancement of</u> D 4 Convolutional <u>layers</u> 4 Convolutional <u>layers</u> Improvement of training stability and convergence characteristics Reduction of artifacts in <u>13</u> G 9 ResNet 14 layers blocks, 12 (additional layers, layers), 3,200,000 4,100,000 <u>parameters</u> <u>parameters</u> <u>8</u> G 9 ResNet 11 layers blocks, 12 (reduced up<u>layers,</u> <u>sampling),</u> _Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of_ _Generator and Discriminator Performance (Khaulyca Arva Artemysia, et al.)_ <u>904</u> D 4 Convolutional <u>layers</u> 5 Convolutional <u>layers</u> <u>e-ISSN: 2548-6861</u> color detail fidelity <u>14</u> G 9 ResNet 11 layers blocks, 12 layers, 3,200,000 2,900,000 <u>parameters</u> <u>parameters</u> G 9 ResNet 11 layers Optimization of blocks, 12 (reduced layer parameter layers, dimensions), efficiency and 3,200,000 2,900,000 inference <u>parameters</u> <u>parameters</u> acceleration D 4 4 Convolutional Convolutional <u>layers</u> <u>layers</u> 11 layers (reduced layer dimensions), 2,900,000 <u>parameters</u> 4 Convolutional <u>layers</u> <u>15</u> G Generator: 9 Generator: 13 ResNet layers blocks, 12 (additional layers, convolutional 3,200,000 layers), parameters 3,800,000 <u>parameters</u> <u>layers,</u> <u>integration),</u> <u>capabilities and</u> 3,200,000 4,050,000 implementation <u>parameters</u> <u>parameters</u> of regularization <u>D</u> <u>4</u> <u>5</u> techniques Convolutional Convolutional <u>layers</u> <u>layers</u> *Mf = Modification *G = Generator *D = Discriminator Model 14 reduces parameters by decreasing dimensions in some layers. Model 15 adds more convolutional layers for better feature extraction, increasing the generator to 13 layers. Model 16 optimizes the generator by adding residual blocks, while Model 17 adjusts filter sizes for efficiency. Model 18 reduces up-sampling layers to prevent overfitting. Lastly, Model 19 incorporates dropout layers to improve generalization, resulting in 14 layers with 4.05 million parameters. Throughout the models, the modifications aim to balance image quality, reduce overfitting, accelerate training, and optimize the generator’s capacity for colorizing negative images. III. RESULT AND DISCUSSION A comprehensive examination of training loss metrics reveals intricate relationships between generator and discriminator performance across the model variants throughout the training process. The analysis encompasses four fundamental loss components presented in table IV: Generator G, Generator F, Discriminator X, and Discriminator Y, providing a holistic perspective on model behavior across both the original CycleGAN architecture and its nineteen systematic modifications. TABLE IV GENERATOR LOSS Epoch D 4 Convolutional <u>layers</u> 5 Convolutional <u>layers</u> <u>16</u> G 9 ResNet 13 layers blocks, 12 (increased layers, ResNet 3,200,000 blocks), parameters 3,850,000 <u>parameters</u> D 4 Convolutional <u>layers</u> 5 Convolutional <u>layers</u> Enhancement of feature extraction capabilities and color detail acuity Reinforcement of color transfer efficacy and detail preservation Enhancement of computational efficiency and output stability <u>17</u> G 9 ResNet 12 layers blocks, 12 (optimized layers, filter size), 3,200,000 3,400,000 <u>parameters</u> <u>parameters</u> Generator Generator <u>G Loss</u> D 4 Convolutional <u>layers</u> 4 Convolutional <u>layers</u> <u>18</u> G 9 ResNet 11 layers blocks, 12 layers, sampling), 3,200,000 3,200,000 <u>parameters</u> <u>parameters</u> G 9 ResNet 11 layers Prevention of blocks, 12 (reduced up- overfitting and layers, sampling), acceleration of 3,200,000 3,200,000 training <u>parameters</u> <u>parameters</u> processes D 4 4 Convolutional Convolutional <u>layers</u> <u>layers</u> 11 layers (reduced upsampling), 3,200,000 <u>parameters</u> 4 Convolutional <u>layers</u> <u>19</u> G 9 ResNet 14 layers <u>blocks, 12</u> <u>(dropout layer</u> Enhancement of <u>generalization</u> Epoch <u>G Loss</u> <u>F Loss</u> <u>1</u> <u>20</u> <u>1</u> <u>20</u> <u>CycleGAN</u> <u>3.89</u> <u>4.13</u> <u>3.89</u> <u>4.13</u> <u>Modification 1</u> <u>2.44</u> <u>2.85</u> <u>2.44</u> <u>2.85</u> <u>Modification 2</u> <u>4.55</u> <u>4.52</u> <u>4.55</u> <u>4.52</u> <u>Modification 3</u> <u>4.02</u> <u>3.48</u> <u>4.02</u> <u>3.48</u> <u>Modification 4</u> <u>4.56</u> <u>3.74</u> <u>4.56</u> <u>3.74</u> <u>Modification 5</u> <u>3.19</u> <u>4.25</u> <u>3.19</u> <u>4.25</u> <u>Modification 6</u> <u>3.64</u> <u>4.8</u> <u>3.64</u> <u>4.8</u> <u>Modification 7</u> <u>5.95</u> <u>3.38</u> <u>5.95</u> <u>3.38</u> <u>Modification 8</u> <u>8.29</u> <u>3.62</u> <u>8.29</u> <u>3.62</u> <u>Modification 9</u> <u>12.72</u> <u>5.24</u> <u>12.72</u> <u>5.24</u> <u>Modification 10</u> <u>7.82</u> <u>4.04</u> <u>7.82</u> <u>4.04</u> <u>Modification 11</u> <u>12.02</u> <u>5.59</u> <u>12.02</u> <u>5.59</u> <u>Modification 12</u> <u>13.4</u> <u>6.19</u> <u>13.4</u> <u>6.19</u> <u>Modification 13</u> <u>13.81</u> <u>6.56</u> <u>13.81</u> <u>6.56</u> <u>Modification 14</u> <u>7.75</u> <u>3.73</u> <u>7.75</u> <u>3.73</u> JAIC Vol. 9, No. 3, June 2025: 897 – 909 <u>JAIC</u> <u>e-ISSN: 2548-6861</u> <u>Modification 15</u> <u>6.8</u> <u>4.23</u> <u>6.8</u> <u>4.23</u> <u>Modification 16</u> <u>3.64</u> <u>4.51</u> <u>3.64</u> <u>4.51</u> <u>Modification 17</u> <u>7.84</u> <u>3.32</u> <u>7.84</u> <u>3.32</u> <u>Modification 18</u> <u>6.47</u> <u>3.13</u> <u>6.47</u> <u>3.13</u> <u>Modification 19</u> <u>5.35</u> <u>4.86</u> <u>5.35</u> <u>4.86</u> TABLE V DISCRIMINATOR LOSS Discriminator Discriminator Epoch <u>X Loss</u> <u>Y Loss</u> <u>1</u> <u>20</u> <u>1</u> <u>20</u> <u>CycleGAN</u> <u>0.31</u> <u>0.91</u> <u>0.59</u> <u>0.45</u> <u>Modification 1</u> <u>0.99</u> <u>0.65</u> <u>0.77</u> <u>0.28</u> <u>Modification 2</u> <u>0.70</u> <u>0.21</u> <u>0.27</u> <u>0.38</u> <u>Modification 3</u> <u>0.35</u> <u>0.64</u> <u>0.26</u> <u>0.46</u> <u>Modification 4</u> <u>0.54</u> <u>0.74</u> <u>0.23</u> <u>0.47</u> <u>Modification 5</u> <u>0.55</u> <u>0.99</u> <u>0.42</u> <u>0.80</u> <u>Modification 6</u> <u>0.65</u> <u>0.31</u> <u>1.24</u> <u>0.27</u> <u>Modification 7</u> <u>0.66</u> <u>0.72</u> <u>0.70</u> <u>0.68</u> <u>Modification 8</u> <u>0.84</u> <u>0.69</u> <u>0.69</u> <u>0.60</u> <u>Modification 9</u> <u>0.78</u> <u>0.75</u> <u>0.70</u> <u>0.73</u> <u>Modification 10</u> <u>0.56</u> <u>0.68</u> <u>0.72</u> <u>0.59</u> <u>Modification 11</u> <u>0.72</u> <u>0.63</u> <u>0.67</u> <u>0.75</u> <u>Modification 12</u> <u>0.72</u> <u>0.65</u> <u>0.68</u> <u>0.58</u> <u>Modification 13</u> <u>0.71</u> <u>0.64</u> <u>0.72</u> <u>0.43</u> <u>Modification 14</u> <u>0.78</u> <u>0.63</u> <u>0.72</u> <u>0.65</u> <u>Modification 15</u> <u>0.67</u> <u>0.38</u> <u>0.79</u> <u>0.44</u> <u>Modification 16</u> <u>0.63</u> <u>0.47</u> <u>0.65</u> <u>0.52</u> <u>Modification 17</u> <u>0.53</u> <u>0.54</u> <u>0.68</u> <u>0.64</u> <u>Modification 18</u> <u>0.69</u> <u>0.53</u> <u>0.62</u> <u>0.78</u> <u>Modification 19</u> <u>0.76</u> <u>0.44</u> <u>0.71</u> <u>0.40</u> Epoch <u>X Loss</u> In the domain of generator performance, a notable pattern emerges in the relationship between G and F losses. Highperforming models demonstrate balanced loss values between both generators. Modification 16 exemplifies this balance (Generator G: 3.64-4.51, Generator F: 3.26-3.61), complemented by stable discriminator metrics (X: 0.63-0.47, Y: 0.65-0.52). This symmetry suggests effective bidirectional translation capabilities. Similarly, Modification 4 exhibits harmonized generator losses (G: 4.56-3.74, F: 3.35-3.61) with corresponding stable discriminator performance (X: 0.540.74, Y: 0.23-0.47), indicating robust cross-domain translation abilities. The discriminator components reveal interesting patterns in adversarial dynamics. Most successful models maintain discriminator losses within a moderate range (0.3-0.8), suggesting optimal discrimination without overpowering the generators. This balance is particularly evident in Modification5's performance (Generator G: 3.19-4.25, Generator F: 3.64-2.73, Discriminator X: 0.55-0.99, Y: 0.420.80), where moderate discriminator losses correspond to stable generator performance. <u>905</u> Conversely, several modifications demonstrate significant imbalances across components. Modification 13, Modification 12, and Modification 9 exhibit notably high generator losses while maintaining relatively stable discriminator performance. Modification 13's metrics (Generator G: 13.81-6.56, F: 12.04-5.49, Discriminator X: 0.71-0.64, Y: 0.72-0.43) suggest that excessive generator losses can persist despite reasonable discriminator behavior, indicating potential architectural instabilities. The baseline CycleGAN's performance (Generator G: 3.89-4.13, F: 3.55-3.83, Discriminator X: 0.31-0.91, Y: 0.590.45) serves as a crucial reference point, demonstrating moderate stability across all components. Notably, several modifications achieve better balance and lower overall losses, validating the effectiveness of certain architectural changes. Looking at temporal patterns across epochs, successful models typically show convergence in loss values, with initial fluctuations stabilizing over time. This is particularly evident in modifications like Modification 16 and Modification 4, where final epoch metrics demonstrate improved stability compared to initial values. TABLE VI OUTPUT IMAGE GIVEN BY EACH MODEL <u>CycleGAN</u> <u>Modification 1</u> <u>Modification 2</u> <u>Modification 3</u> <u>Modification 4</u> <u>Modification 5</u> _Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of_ _Generator and Discriminator Performance (Khaulyca Arva Artemysia, et al.)_ <u>906</u> <u>e-ISSN: 2548-6861</u> <u>Modification 6</u> <u>Modification 7</u> <u>Modification 8</u> <u>Modification 9</u> <u>Modification 16</u> <u>Modification 17</u> <u>Modification 18</u> <u>Modification 19</u> <u>Modification 10</u> <u>Modification 11</u> <u>Modification 12</u> <u>Modification 13</u> <u>Modification 14</u> <u>Modification 15</u> JAIC Vol. 9, No. 3, June 2025: 897 – 909 Conversely, poorly performing models often maintain high generator losses throughout training, suggesting fundamental architectural limitations. The interplay between generator and discriminator losses reveals that optimal performance requires a delicate balance across all components. Models maintaining moderate, stable losses across both generators while preserving effective discriminator behavior tend to produce the most reliable results. This analysis suggests that successful architectural modifications must consider the holistic impact on all network components rather than optimizing individual elements in isolation. A detailed examination of the visual outputs presented in Table VI, coupled with the quantitative metrics from Table IV and V, reveals significant correlations between numerical performance indicators and image quality across the CycleGAN variants. This integrated analysis provides crucial insights into the effectiveness of various architectural modifications. The investigation identifies several exemplary performers, with Modification 4 demonstrating particularly noteworthy results. Its visual output exhibits exceptional quality, characterized by vibrant color reproduction and precise figure definition. These qualitative achievements correlate strongly with its balanced loss metrics (Generator G: 4.56-3.74, Generator F: 3.35-3.61, Discriminator X: 0.540.74, Y: 0.23-0.47), suggesting that stable training dynamics contribute to superior image quality. Similarly, Modification 16 achieves impressive results with naturally flowing color transitions, corresponding to its stable loss values (Generator G: 3.64-4.51, F: 3.26-3.61, Discriminator X: 0.63-0.47, Y: 0.65-0.52). Conversely, certain modifications exhibit notable performance challenges. Modification 9's output displays visible artifacts and imprecise color definition, aligning with <u>JAIC</u> <u>e-ISSN: 2548-6861</u> its high generator losses (G: 12.72-5.24, F: 10.74-4.44). However, an intriguing observation emerges with Modification 12 and Modification 13. Despite their elevated generator losses (Modification 12 G: 13.4-6.19, F: 12.265.77; Modification 13 G: 13.81-6.56, F: 12.04-5.49), these models maintain surprisingly acceptable visual quality, though exhibiting some color inconsistencies and diminished detail clarity. The baseline CycleGAN model demonstrates moderate performance across both quantitative and qualitative metrics. Its visual output shows the standard competency in color inversion and detail preservation, reflecting its balanced loss values (G: 3.89-4.13, F: 3.55-3.83). Modifications 5 through Modification 8 exhibit consistent visual quality with subtle variations in color intensity and detail preservation, corresponding to their moderate loss metrics. Several critical patterns emerge from this comprehensive analysis. Models maintaining balanced loss metrics consistently produce superior visual results, as exemplified by Modification 4 and Modification 16. However, the relationship between quantitative metrics and visual quality demonstrates unexpected complexity, as evidenced by Modification 12 and Modification 13 relatively acceptable visual outputs despite high generator losses. The preservation of edge details and color consistency appears more closely related to discriminator loss stability than absolute loss values. A lower generator loss implies that the generator is increasingly capable of producing images that are indistinguishable from real images in the target domain. Conversely, a lower discriminator loss indicates that the discriminator is improving its ability to differentiate between real and generated images. However, in the context of GAN training, maintaining a balance between these two losses is crucial. An imbalance can lead to mode collapse or stagnant training, compromising the overall performance. The fourth architectural modification (Modification 4) demonstrated the best performance compared to the baseline CycleGAN. Experimental results show that this modification yields lower generator and discriminator losses, as detailed in Table VII. TABLE VII COMPARISON OF LOSS VALUES BETWEEN BASELINE AND MODIFICATION 4 The reduction in loss values for Modification 4 indicates an improvement in model performance. Quantitatively, the generator loss decreased by approximately 37.9% compared to the baseline, while the discriminator loss dropped by around 40.9%. These reductions demonstrate that the modified architecture enhances the model's ability to produce colorized images from negative inputs more effectively. To ensure the observed reduction in loss values was not coincidental, a statistical t-test was performed between the loss values obtained from the baseline model and those from Modification 4. The test yielded a p-value < 0.05, indicating that the observed decrease in loss is statistically significant[26], [27]. Thus, it can be concluded that the architectural modification had a meaningful and statistically significant impact on the model’s performance. This finding highlights the effectiveness of the modified architecture in optimizing the image-to-image translation learning process. In addition to training data evaluation, the model was also tested on unseen data, comprising five negative images (test A) and five color images (test B) that were not used during training. This evaluation aimed to assess the model’s generalization ability. The results showed that the loss values on the unseen data were comparable to those obtained during training[28], [29]. This indicates that the model did not overfit the training data and can generalize well to new inputs. From a visual standpoint, the colorization results on test A images revealed accurate color transformations and preserved details, even though the model had not previously encountered these images. This outcome further confirms the effectiveness of the architectural modification in enhancing the model’s generalization capability. This integrated analysis reveals that successful architectural modifications must optimize both quantitative and qualitative performance aspects. The most effective variants achieve this balance through stable training dynamics across all network components while maintaining high visual output quality. These findings suggest that future architectural improvements should consider both numerical performance metrics and visual quality assessments to achieve optimal results in negative film colorization applications. <u>907</u> Average <u>Generator Loss</u> Average Discriminator <u>Loss</u> Generator Loss <u>Reduction (%)</u> Discriminator Loss Reduction <u>(%)</u> 5.20 3.23 1.10 0.65 - 37.9% - 40.9% Parameter Baseline <u>(CycleGAN)</u> Modification <u>(CycleGAN)</u> <u>4</u> Generator Loss 4.70 – 5.60 2.39 – 4.07 <u>(G)</u> 4.70 – 5.60 2.39 – 4.07 Generator Loss <u>(F)</u> Discriminator <u>Loss (X)</u> Discriminator <u>Loss (Y)</u> 4.80 – 5.30 2.82 – 3.66 0.90 – 1.20 0.36 – 0.93 1.00 – 1.30 0.15 – 1.39 _Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of_ _Generator and Discriminator Performance (Khaulyca Arva Artemysia, et al.)_ <u>908</u> <u>e-ISSN: 2548-6861</u> IV. CONCLUSION The experimental results demonstrate significant progress in negative film colorization through systematic CycleGAN architectural modifications This research explored the enhancement of the CycleGAN architecture to address the task of negative film colorization. The evaluation was conducted using three key loss functions: generator loss, discriminator loss, and cycle consistency loss. These loss values served as principal indicators of the model’s effectiveness in transforming negative images into realistic colorized outputs. Experimental results demonstrated that Modification 4 provided the most optimal performance. The average generator loss decreased from 5.20 (baseline) to the range of 2.39–4.07, with a mean value of approximately 3.23, while the average discriminator loss dropped from 1.10 to the range of 0.36–0.93, averaging around 0.65. These reductions correspond to a 37.9% improvement in generator loss and a 40.9% improvement in discriminator loss relative to the baseline. Statistical testing using a t-test confirmed that these improvements were significant (p < 0.05), validating the positive impact of the architectural modification. The modified model also exhibited strong generalization capabilities when evaluated on unseen data, comprising five negative (test A) and five positive (test B) images that were not included in the training process. The resulting loss values on this test set remained low and closely aligned with those observed during training, suggesting the model did not overfit and was capable of producing high-quality colorized outputs even on new input data. Visually, the outputs maintained accurate color transitions and preserved structural detail, supporting the quantitative improvements in loss. The architectural modifications particularly those implemented in Modification 4 led to a substantial enhancement of the CycleGAN model's performance in negative film colorization. These findings affirm the crucial role of architectural optimization in improving both the visual and statistical outcomes of generative models. For future research, the inclusion of perceptual quality metrics such as SSIM, PSNR, or FID is recommended to provide a more comprehensive evaluation of output quality and model fidelity. ACKNOWLEDGMENT This research was supported by funding from the Indonesia Endowment Fund for Education (Lembaga Pengelola Dana Pendidikan) through the National Research and Innovation Agency's Research and Innovation for Advanced Indonesia (RIIM) program (BRIN). The collaboration between the Faculty of Engineering, Universitas Garut, and BRIN has been invaluable in facilitating this research, and we would like to express our sincere gratitude for their continued support and cooperation. JAIC Vol. 9, No. 3, June 2025: 897 – 909 REFERENCES [1] J. W. Su, H. K. Chu, and J. Bin Huang, “Instance- aware image colorization,” in _Proceedings of the IEEE Computer Society_ _Conference on Computer Vision and Pattern Recognition_, IEEE Computer Society, 2020, pp. 7965–7974. doi: 10.1109/CVPR42600.2020.00799. [2] _2020 International Conference on Machine Vision and Image_ _Processing (MVIP) : first conference : Department of Computer_ _Engineering, University of Tehran, College of Farabi, Faculty of_ _Engineering, Qom, Iran : 19 February and 30 April_ . IEEE, 2020. [3] X. Liu, Z. Gao, and B. M. Chen, “MLFcGAN: Multilevel Feature Fusion-Based Conditional GAN for Underwater Image Color Correction,” _IEEE Geoscience and Remote Sensing Letters_, vol. 17, no. 9, pp. 1488–1492, Sep. 2020, doi: 10.1109/LGRS.2019.2950056. [4] X. Liu, A. Gherbi, Z. Wei, W. Li, and M. Cheriet, “Multispectral Image Reconstruction from Color Images Using Enhanced Variational Autoencoder and Generative Adversarial Network,” _IEEE Access_, vol. 9, pp. 1666–1679, 2021, doi: 10.1109/ACCESS.2020.3047074. [5] Z. Ni, W. Yang, S. Wang, L. Ma, and S. Kwong, “Towards Unsupervised Deep Image Enhancement with Generative Adversarial Network,” _IEEE Transactions on Image Processing_, vol. 29, pp. 9140– 9151, 2020, doi: 10.1109/TIP.2020.3023615. [6] H. Tang, H. Liu, D. Xu, P. H. S. Torr, and N. Sebe, “AttentionGAN: Unpaired Image-to-Image Translation Using Attention-Guided Generative Adversarial Networks,” _IEEE Trans_ _Neural Netw Learn Syst_, vol. 34, no. 4, pp. 1972–1987, Apr. 2023, doi: 10.1109/TNNLS.2021.3105725. [7] H. Kumar, A. Banerjee, S. Saurav, and S. Singh, “ParaColorizerRealistic image colorization using parallel generative networks,” _Visual Computer_, vol. 40, no. 6, pp. 4039–4054, Jun. 2024, doi: 10.1007/s00371-023-03067-7. [8] T. Kemendikbud, W. Kurniawan, Y. Kristian, and J. Santoso, “JINTECH (Journal of Information and Technology) Pemanfaatan Deep Convolutional Auto- encoder untuk Mitigasi Serangan Adversarial Attack pada Citra Digital”. [9] _Proceedings of the International Conference on Electronics and_ _Sustainable Communication Systems (ICESC 2020) : 02-04, July_ _2020_ . [IEEE], 2020. [10] J. Duan, M. Gao, G. Zhao, W. Zhao, S. Mo, and W. Zhang, “FAColorGAN: a dual-branch generative adversarial network for near-infrared image colorization,” _Signal Image Video Process_, Sep. 2024, doi: 10.1007/s11760-024-03266-2. [11] S. Ghosh, P. Roy, S. Bhattacharya, U. Pal, and M. Blumenstein, “TIC: text-guided image colorization using conditional generative model,” _Multimed Tools_ _Appl_, vol. 83, no. 14, pp. 41121–41136, Apr. 2024, doi: 10.1007/s11042-023-15330-z. [12] J. Lee, E. Kim, Y. Lee, D. Kim, J. Chang, and J. Choo, “Referencebased sketch image colorization using augmented-self reference and dense semantic correspondence,” in _Proceedings of the IEEE_ _Computer Society Conference on Computer Vision and Pattern_ _Recognition_, IEEE Computer Society, 2020, pp. 5800–5809. doi: 10.1109/CVPR42600.2020.00584. [13] Q. R. Han, W. Z. Zhu, and Q. Zhu, “Icon Colorization Based on Triple Conditional Generative Adversarial Networks,” in _2020 IEEE_ _International Conference on Visual Communications and Image_ _Processing, VCIP 2020_, Institute of Electrical and Electronics Engineers Inc., Dec. 2020, pp. 391–394. doi: 10.1109/VCIP49819.2020.9301890. [14] T. Le-Tien, T. H. Duy Quang, H. Y. Vy, T. Nguyen- Thanh, and H. Phan-Xuan, “GAN-based Thermal Infrared Image Colorization for Enhancing Object Identification,” in _Proceedings_ _-_ _2021_ _International Symposium on Electrical and Electronics Engineering,_ _ISEE 2021_, Institute of Electrical and Electronics Engineers Inc., Apr. 2021, pp. 90–94. doi: 10.1109/ISEE51682.2021.9418801. [15] H. Z. P. T. M. G. Z. Yi, “DualGAN: Unsupervised Dual Learning for Image-to-Image Translation,” _Proceedings of the IEEE I_ <u>JAIC</u> <u>e-ISSN: 2548-6861</u> _nternational Conference on Computer Vision (ICCV)_, 2017. [16] Qingli. Li and Lipo. Wang, _Proceedings, 2019 12th International_ _Congress_ _on_ _Image_ _and_ _Signal_ _Processing,_ _BioMedical_ _Engineering and Informatics : CISP-BMEI 2019 : 19-21 October_ _2019, Huaqiao, China_ . IEEE, 2019. [17] _2019 3rd International conference on Electronics, Communication_ _and Aerospace Technology (ICECA)_ . IEEE, 2019. [18] A. Mehri and A. D. Sappa, “Colorizing near infrared images through a cyclic adversarial approach of unpaired samples,” in _IEEE Computer Society Conference on Computer Vision and_ _Pattern Recognition Workshops_, IEEE Computer Society, Jun. 2019, pp. 971–979. doi: 10.1109/CVPRW.2019.00128. [19] X. Chao, J. Cao, Y. Lu, and Q. Dai, “Improved Training of Spectral Normalization Generative Adversarial Networks,” in _2020 2nd World Symposium on Artificial Intelligence, WSAI_ _2020_, Institute of Electrical and Electronics Engineers Inc., Jun. 2020, pp. 24–28. doi: 10.1109/WSAI49636.2020.9143310 [20] K. Du, C. Liu, L. Cao, Y. Guo, F. Zhang, and T. Wang, “Double-Channel Guided Generative Adversarial Network for Image Colorization,” _IEEE Access_, vol. 9, pp. 21604–21617, 2021, doi: 10.1109/ACCESS.2021.3055575. [21] S. Yan, Y. Liu, J. Li, and H. Xiao, “DDGAN: Double Discriminators GAN for Accurate Image Colorization,” in _Proceedings - 2020 6th International Conference on Big Data_ _and Information Analytics, BigDIA 2020_, Institute of Electrical and Electronics Engineers Inc., Dec. 2020, pp. 214–219. doi: 10.1109/BigDIA51454.2020.00042. [22] J. Wang _et al._, “CA-GAN: Class-Condition Attention GAN for Underwater Image Enhancement,” _IEEE Access_, vol. 8, pp. 130719–130728, 2020, doi: 10.1109/ACCESS.2020.3003351. <u>909</u> [23] C. Liang, Y. Sheng, and Y. Mo, “Grayscale Image Colorization with GAN and CycleGAN in Different Image Domain,” Jan. [2024, [Online]. Available: http://arxiv.org/abs/2401.11425](http://arxiv.org/abs/2401.11425) [24] K. Doi, K. Sakurada, M. Onishi, and A. Iwasaki, “GAN-Based SAR-to-Optical Image Translation with Region Information,” in _International Geoscience and Remote Sensing Symposium_ _(IGARSS)_, Institute of Electrical and Electronics Engineers Inc., Sep. 2020, pp. 2069–2072. doi: 10.1109/IGARSS39084.2020.9323085. [25] F. Wang, X. Feng, X. Guo, L. Xu, L. Xie, and S. Chang, “Improving de novo Molecule Generation by Embedding LSTM and Attention Mechanism in CycleGAN,” _Front Genet_, vol. 12, Aug. 2021, doi: 10.3389/fgene.2021.709500. [26] V. Dumoulin and F. Visin, “A guide to convolution arithmetic for deep learning,” Mar. 2016, [Online]. [Available: http://arxiv.org/abs/1603.07285](http://arxiv.org/abs/1603.07285) [27] B. Sim, G. Oh, J. Kim, C. Jung, and J. C. Ye, “Optimal Transport driven CycleGAN for Unsupervised Learning in Inverse Problems,” Sep. 2019, [Online]. Available: [http://arxiv.org/abs/1909.12116](http://arxiv.org/abs/1909.12116) [28] B. Yagoub, H. Ibrahem, A. Salem, and H. S. Kang, “Single Energy X-ray Image Colorization Using Convolutional Neural Network for Material Discrimination,” _Electronics_ _(Switzerland)_, vol. 11, no. 24, Dec. 2022, doi: 10.3390/electronics11244101. [29] B. Saini _et al._, “Colorizing Multi-Modal Medical Data: An Autoencoder-based Approach for Enhanced Anatomical Information in X-ray Images,” _EAI Endorsed Trans Pervasive_ _Health Technol_, vol. 10, 2024, doi: 10.4108/eetpht.10.5540 _Enhancing Negative Film Colorization through Systematic CycleGAN Architectural Modifications: A Comprehensive Analysis of_ _Generator and Discriminator Performance (Khaulyca Arva Artemysia, et al.)_

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.