藉由網格表使用類神經網路與強化學習進行影像的動態搜索與分類

Dynamically searching and classifying images by using neural networks and reinforcement learning with the grid table

檔案

日期

2024

類型

語言

中文

摘要

自從Transformer出現後,在語言領域已有許多顯著的相關研究,除此之外,它也影響了視覺領域,許多結合Transofrmer的視覺研究,已取得了非常出色的表現,最經典的代表為Vision Transformer (ViT)。ViT採用全局自注意力的機制,使得圖片中的任一圖塊,能與其他圖塊交互計算,但是,在許多的圖片中,非關鍵資訊佔著大部分的圖塊,實質上,如果這些圖塊不參與計算,對於決策的結果影響甚微,因此,我們建構一種以patch-based為基底,並使用了全局資訊-grid table的方法,簡稱GT-RAM。藉由強化學習的訓練方法,GT-RAM可在圖片上只採集部分的圖塊做圖片分類。在實驗中,使用Mnist與Fashion資料集,與不同計算方式的 CNN 和ViT相比,GT-RAM的準確度高於前面兩個方法,證明只需採集關鍵圖塊,模型也能有好的表現。採樣的效率也優於相似架構的RAM, DT-RAM。這項研究證實了patch-based採樣方法的有效性,GT-RAM 這種簡單且避免重複採樣的方法有助於未來多智能體之間協同採樣的研究。
Since the advent of the Transformer, there have been numerous significant studies in the language domain, and it has also impacted the visual domain, where many visual studies integrating Transformers have achieved remarkable performance. A classic example is the Vision Transformer (ViT). ViT utilizes a global self-attention mechanism, allowing any block in the image to interactively compute with other blocks. However, in many images, non-critical information occupies most of the blocks, and in reality, excluding these blocks from computation has minimal impact on decision-making outcomes. Therefore, we developed a method based on a patch-based approach, utilizing global information through a grid table, abbreviated as GT-RAM. Through training methods from reinforcement learning, GT-RAM only collects samples from certain blocks for image classification. In experiments using the Mnist and Fashion datasets, compared with different computational approaches like CNN and ViT, GT-RAM's accuracy exceeded the former two methods, demonstrating that even with only key blocks sampled, the model can perform well. The sampling efficiency also surpassed similar architectures such as RAM and DT-RAM. This research confirms the effectiveness of the patch-based sampling method, and the straightforward approach of GT-RAM, which avoids redundant sampling, contributes to future studies on cooperative sampling among multiple agents.
顯示完整詮釋資料 統計資料

引用此條目

李逸帆 (2024). 藉由網格表使用類神經網路與強化學習進行影像的動態搜索與分類. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/3487

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/3487