基於神經網路模型之軟體冗餘模組生成
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.catalog.0080 |
251212 | |
dc.catalog.00818 |
a | |
dc.catalog.00818 |
d | |
dc.catalog.00818 |
| | |
dc.catalog.00818 |
| | |
dc.catalog.0087 |
2024 | |
dc.catalog.020 |
平裝 | |
dc.catalog.041 |
chi | |
dc.catalog.041 |
eng | |
dc.catalog.300c |
30 | |
dc.contributor.advisor |
吳育松 | |
dc.contributor.advisor |
Wu, Yu-Sung | |
dc.contributor.author |
蔡品緣 | |
dc.contributor.author |
Tsai, Pin-Yuan | |
dc.contributor.campus |
光復 | |
dc.contributor.college |
資訊學院 | |
dc.contributor.committee |
吳育松 | |
dc.contributor.committee |
葉國暉 | |
dc.contributor.committee |
游家牧 | |
dc.contributor.department |
網路工程研究所 | |
dc.contributor.idpcode |
3552 | |
dc.contributor.studentid |
311552031 | |
dc.date.NCLavailable |
2029/08/06 | |
dc.date.USTavailable |
2029/08/06 | |
dc.date.issued |
2024 | |
dc.date.issuedROC |
113 | |
dc.date.paperavailable |
立即公開 | |
dc.date.schoolyear |
112 | |
dc.description.abstract |
這篇論文旨在探討人工智慧在日常生活中的應用,特別是隨著其快速發展所帶來的 影響。隨著 GPU 計算能力的不斷提升且成長幅度遠超過了 CPU,本研究專注於利用機 器學習訓練模型副本替代傳統程式或存在漏洞的程式。我們的目標是探究這些模型副本 是否能夠提供更快速方便、更節省資源的解決方案,或以不同於以往的方式來取代傳統 方法,透過訓練出來的模型替換掉原本的程式碼,減少程式碼維護的成本,或是替換原 本存在漏洞的程式碼或是做為容錯替代方案藉由比較模型與原程式的差異判斷出是否 異常的方式來避開漏洞的觸發。透過此研究,我們期望能夠為未來的人工智慧應用帶來 新的可能性,同時提高效率和可靠性。 | |
dc.description.abstract |
This paper aims to explore the applications of artificial intelligence in everyday life, particularly the impact brought about by its rapid development. With the continuous improvement in GPU computing power, surpassing that of CPUs by a significant margin, this study focuses on utilizing trained models to replace traditional programs or programs with vulnerabilities. Our goal is to investigate whether these models can offer solutions that are faster, more convenient, and more resource-efficient, or replace traditional methods in novel ways. Through training models to replace flawed code or serve as fault-tolerant alternatives, we aim to avoid triggering vulnerabilities by comparing the differences between the model and the original program to detect abnormalities. Through this research, we hope to bring new possibilities for future applications of artificial intelligence while simultaneously enhancing efficiency and reliability. | |
dc.description.abstractopendate |
2024/08/06 | |
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
摘要..................................................................................................................................... i Abstract ............................................................................................................................... ii 目錄............................................................................................................................... iii 1. 緒論................................................................................................................................ 1 2. 背景................................................................................................................................ 2 2.1. 軟體程式漏洞.......................................................................................................... 2 2.2. 神經網路模型設計.................................................................................................... 2 2.3. 軟體冗餘設計......................................................................................................... 2 3. 研究動機.......................................................................................................................... 4 4. 程式模型副本................................................................................................................... 5 4.1. 替換程式模型架構.................................................................................................... 5 4.2. 運算型模型副本.................................................................................................... 6 4.3. 分類型模型副本........................................................................................................ 8 4.4. 函數型模型副本......................................................................................................11 5. 實作細節.......................................................................................................................... 13 5.1. 資料預處理............................................................................................................ 13 5.1.1. MinMaxScaler............................................................................................. 13 5.1.2. StandardScaler......................................................................................... 13 5.1.3. RobustScaler ........................................................................................... 14 5.2. 模型架構......................................................................................................... 14 5.2.1. 運算型模型副本..................................................................................... 14 5.2.2. 分類型模型副本..................................................................................... 15 5.2.3. 函數型模型副本..................................................................................... 16 6. 實驗評估......................................................................................................................... 18 6.1. CVE 漏洞........................................................................................................ 18 6.1.1. 整數溢位................................................................................................. 18 6.2. CVE-2021-29338[21] ..................................................................................... 19 6.2.1 運算型模型副本..................................................................................... 20 6.3. CVE-2023-33204[23] ..................................................................................... 21 6.3.1. 分支型模型副本..................................................................................... 22 6.4. 函數型模型副本............................................................................................. 23 6.5. 模型副本對未知漏洞影響............................................................................. 26 7. 相關文獻......................................................................................................................... 30 7.1. 模型處理數學................................................................................................. 30 7.2. 模型替換程式................................................................................................. 30 7.3. 模型處理漏洞程式碼..................................................................................... 31 8. 未來發展......................................................................................................................... 32 9. 結論................................................................................................................................. 33 10. 參考資料......................................................................................................................... 34 | |
dc.format |
||
dc.identifier.citation |
[1] The Pentium FDIV Bug http://scihi.org/the-pentium-fdiv-bug/ (accessed June 10, 2024) [2] The $440 Million Software Error at Knight Capital https://www.henricodolfing.com/2019/06/project-failure-case-study-knightcapital.html (accessed June 10, 2024) [3] Major power outage hits New York https://edition.cnn.com/2003/US/08/14/power.outage/index.html (accessed June 10, 2024) [4] A Case Study of Toyota Unintended Acceleration and Software Safety http://users.ece.cmu.edu/~koopman/pubs/koopman14_toyota_ua_slides.pdf (accessed June 10, 2024) [5] At Last: Tesla’s Full Self Driving Beta V12 https://cleantechnica.com/2024/03/29/at-last-teslas-full-self-driving-beta-v12/ (accessed June 10, 2024) [6] GSM8K https://paperswithcode.com/dataset/gsm8k (accessed June 10, 2024) [7] Yue, Xiang, et al. "Mammoth: Building math generalist models through hybrid instruction tuning." arXiv preprint arXiv:2309.05653 (2023). [8] Mitra, Arindam, et al. "Orca-Math: Unlocking the potential of SLMs in Grade School Math." arXiv preprint arXiv:2402.14830 (2024). [9] Turčaník, Michal, and Martin Javurek. "Hash function generation by neural network." 2016 New Trends in Signal Processing (NTSP). IEEE, 2016. [10] Cryptographic Hashing Algorithms Security - Platform Security - Cryptographic Hashing Algorithms |LoginRadius Docs (accessed June 13, 2024) [11] Cunningham, Pádraig, Matthieu Cord, and Sarah Jane Delany. "Supervised learning." 35 Machine learning techniques for multimedia: case studies on organization and retrieval. Berlin, Heidelberg: Springer Berlin Heidelberg, 2008. 21-49. [12] What is a Neural Network? https://aws.amazon.com/tw/what-is/neural-network/ (accessed June 13, 2024) [13] Daqi, Gao, and Ji Yan. "Classification methodologies of multilayer perceptrons with sigmoid activation functions." Pattern Recognition 38.10 (2005): 1469-1482. [14] Yarotsky, Dmitry. "Error bounds for approximations with deep ReLU networks." Neural Networks 94 (2017): 103-114. [15] Liang, X., Wang, X., Lei, Z., Liao, S., Li, S.Z. (2017). "Soft-Margin Softmax for Deep Classification". In: Liu, D., Xie, S., Li, Y., Zhao, D., El-Alfy, ES. (eds) Neural Information Processing. ICONIP 2017. Lecture Notes in Computer Science(), vol 10635. Springer, Cham. [16] M. A. Hearst, S. T. Dumais, E. Osuna, J. Platt and B. Scholkopf, "Support vector machines," in IEEE Intelligent Systems and their Applications, vol. 13, no. 4, pp. 18-28, July-Aug. 1998, doi: 10.1109/5254.708428. [17] Han, Shunjie, Cao Qubo, and Han Meng. "Parameter selection in SVM with RBF kernel function." World Automation Congress 2012. IEEE, 2012. [18] Common Vulnerabilities and Exposures: CVE https://cve.mitre.org/ (accessed June, 27, 2024) [19] Integer Overflow https://www.sciencedirect.com/topics/computer-science/integeroverflow (accessed June 27, 2024) [20] Common Weakness Enumeration: CWE https://cwe.mitre.org/ (accessed June 27, 2024) (accessed June 27, 2024) [21] CVE-2021-29338 https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-29338 (accessed June 27, 2024) [22] An open-source JPEG 2000 codec written in C. https://www.openjpeg.org/ (accessed 36 June 27, 2024) [23] CVE-2023-33204 https://nvd.nist.gov/vuln/detail/CVE-2023-33204 (accessed June 27, 2024) [24] Sysstat “sysstat” https://github.com/sysstat/sysstat (accessed June 27, 2024) [25] Gupta, Jayant, et al. "A survey on solving and discovering differential equations using deep neural networks." arXiv preprint arXiv:2304.13807 (2023). [26] Mitra, Arindam, et al. "Orca-math: Unlocking the potential of slms in grade school math." arXiv preprint arXiv:2402.14830 (2024). [27] Yue, Xiang, et al. "Mammoth: Building math generalist models through hybrid instruction tuning." arXiv preprint arXiv:2309.05653 (2023). [28] Turčaník, Michal, and Martin Javurek. "Hash function generation by neural network." 2016 New Trends in Signal Processing (NTSP). IEEE, 2016. [29] Kraska, Tim, et al. "The case for learned index structures." Proceedings of the 2018 international conference on management of data. 2018. [30] Berabi, Berkay, et al. "Deepcode AI fix: Fixing security vulnerabilities with large language models." arXiv preprint arXiv:2402.13291 (2024). [31] Li, Yi, Shaohua Wang, and Tien N. Nguyen. "Vulnerability detection with fine-grained interpretations." Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. 2021. [32] Yang, Mingyue. Using Machine Learning to Detect Software Vulnerabilities. University of Toronto (Canada), 2020. | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/2949 | |
dc.language.iso |
中文 | |
dc.relation.page |
37 | |
dc.subject.keyword |
容錯設計 | |
dc.subject.keyword |
漏洞程式 | |
dc.subject.keyword |
程式替換 | |
dc.subject.keyword |
機器學習 | |
dc.subject.keyword |
Fault Tolerance Design | |
dc.subject.keyword |
Vulnerable Programs | |
dc.subject.keyword |
Program Replacement | |
dc.subject.keyword |
Machine Learning | |
dc.title |
基於神經網路模型之軟體冗餘模組生成 | zh-TW |
dc.title |
Neural Network Model based Sofeware Redundancy Generation | en |
dc.type |
Thesis | zh-TW |
檔案
全文將於 2029年8月6日 起公開。
所屬典藏: 網路工程研究所