$\require{mediawiki-texvc}$

연합인증

연합인증 가입 기관의 연구자들은 소속기관의 인증정보(ID와 암호)를 이용해 다른 대학, 연구기관, 서비스 공급자의 다양한 온라인 자원과 연구 데이터를 이용할 수 있습니다.

이는 여행자가 자국에서 발행 받은 여권으로 세계 각국을 자유롭게 여행할 수 있는 것과 같습니다.

연합인증으로 이용이 가능한 서비스는 NTIS, DataON, Edison, Kafe, Webinar 등이 있습니다.

한번의 인증절차만으로 연합인증 가입 서비스에 추가 로그인 없이 이용이 가능합니다.

다만, 연합인증을 위해서는 최초 1회만 인증 절차가 필요합니다. (회원이 아닐 경우 회원 가입이 필요합니다.)

연합인증 절차는 다음과 같습니다.

최초이용시에는
ScienceON에 로그인 → 연합인증 서비스 접속 → 로그인 (본인 확인 또는 회원가입) → 서비스 이용

그 이후에는
ScienceON 로그인 → 연합인증 서비스 접속 → 서비스 이용

연합인증을 활용하시면 KISTI가 제공하는 다양한 서비스를 편리하게 이용하실 수 있습니다.

[국내논문] CodeBERT 모델의 전이 학습 기반 코드 공통 취약점 탐색
Detecting Common Weakness Enumeration(CWE) Based on the Transfer Learning of CodeBERT Model 원문보기

정보처리학회논문지. KIPS transactions on software and data engineering. 소프트웨어 및 데이터 공학, v.12 no.10, 2023년, pp.431 - 436  

박찬솔 (홍익대학교 소프트웨어융합학과) ,  문소영 (홍익대학교 소프트웨어융합학과) ,  김영철 (홍익대학교 소프트웨어융합학과)

초록
AI-Helper 아이콘AI-Helper

소프트웨어 공학 영역에 인공지능의 접목은 큰 화두 중 하나이다. 전 세계적으로 1) 인공지능을 통한 소프트웨어 공학, 2) 소프트웨어 공학을 통한 인공지능 두 가지 방향으로 활발히 연구되고 있다. 그 중 소프트웨어 공학에 인공지능을 접목하여 나쁜 코드 영역을 식별하고 해당 부분을 리팩토링하는 연구가 진행되고 있다. 해당 연구에서 인공지능이 나쁜 코드 요소의 패턴을 잘 학습하기 위해서는 학습하려는 나쁜 코드 요소가 라벨링데이터셋이 필요하다. 문제는 데이터셋이 부족할뿐더러, 자체적으로 수집한 데이터셋의 정확도는 신뢰할 수 없다. 이를 해결하기 위해 코드 데이터 수집 시 전체 코드가 아닌 높은 복잡도를 가진 코드 모듈 영역을 대상으로만 나쁜 코드 데이터를 수집한다. 이후 수집한 데이터셋을 CodeBERT 모델의 전이 학습하여 코드 공통 취약점을 탐색하는 방법을 제안한다. 해당 데이터셋을 통해 CodeBERT 모델이 코드의 공통 취약점 패턴을 더 잘 학습할 수 있다. 이를 통해 전통적인 방법보다 인공지능 모델을 이용해 코드를 분석하고 공통 취약점 패턴을 더 정확하게 식별할 수 있을 것으로 기대한다.

Abstract AI-Helper 아이콘AI-Helper

Recently the incorporation of artificial intelligence approaches in the field of software engineering has been one of the big topics. In the world, there are actively studying in two directions: 1) software engineering for artificial intelligence and 2) artificial intelligence for software engineeri...

주제어

표/그림 (10)

참고문헌 (21)

  1. A. D. Carleton, E. Harper, T. Menzies, T. Xie, S. Eldh, and?M. R. Lyu, "The AI effect: Working at the Intersection of?AI and SE," IEEE Software, Vol.37, No.4, pp.26-35, 2020. 

  2. G. H. Kang, R. Y. C. Kim, G. S. Yi, Y. S. Kim, Y. B. Park,?and H. S. Son, "A study on code static analysis with open?source-based tool chainization," KIISE Transactions on?Computing Practices, Vol.21, No.2, pp.148-153, 2015. 

  3. H. Kwon and R. Y. C. Kim, "Extracting use case design?mechanisms via programming based on reverse engineering," International Journal of Applied Engineering?Research, Vol.10, No.90, pp.503-505, 2015. 

  4. B. K. Park, G. H. Kang, H. S. Son, B. K. Jeon, and R. Y.?C. Kim, "Code visualization for performance improvement?of Java code for controlling smart traffic system in the?smart city," Applied Sciences, Vol.10, No.8, 2020. 

  5. S. J. Jung, J. H. Kim, W. Y. Lee, B. K. Park, H. S. Son,?and R. Y. C. Kim, "Automatic UML design extraction with?software visualization based on reverse engineering,"?International Journal of Advanced Smart Convergence,?Vol.10, No.3, pp.89-96, 2021. 

  6. W. Y. Lee and R. Y. C. Kim, "Best practices on validation?and extraction of object oriented designs with code?visualization tool-chain," Journal of Internet Computing?and Services, Vol.23, No.2, pp.79-86, 2022. 

  7. C. S. Park, S. Y. Moon, and R. Y. C. Kim, "Quality visualization of quality metric indicators based on table normalization of static code building information," KIPS?Transactions on Software and Data Engineering, Vol.12,?No.5, pp.199-206, 2023. 

  8. T. Sharma, M. Kechagia, S. Georgiou, R. Tiwari, I. Vats,?H. Moazen, and F. Sarro, "A survey on machine learning?techniques for source code analysis," arXiv preprint arXiv:?2110.09610, 2021. 

  9. Halstead, Maurice H., "Elements of software science?(Operating and programming systems series)," Elsevier?Science Inc., 1977. 

  10. S. R. Chidamber, C. F. Kemerer, "A metrics suite for object?oriented design," IEEE Transactions on Software Engineering, Vol.20, No.6, pp.476-493, 1994. 

  11. T. J. McCabe, "A complexity measure," IEEE Transactions?on Software Engineering, Vol.4, pp.308-320, 1976. 

  12. M. Fowler, "Refactoring," Addison-Wesley Professional,?2018. 

  13. J. Devlin, M. W. Chang, K. Lee, and K. Toutanova, "Bert:?Pre-training of deep bidirectional transformers for language understanding," arXiv preprint arXiv:1810.04805,?2018. 

  14. A. Vaswani et al., "Attention is all you need," Advances?in Neural Information Processing Systems, 30, 2017. 

  15. Z. Feng et al., "Codebert: A pre-trained model for programming and natural languages," arXiv preprint arXiv:?2002.08155, 2020. 

  16. Common Weakness Enumeration [Internet], http://cwe.mitre.org 

  17. PMD [Internet], https://pmd.github.io/ 

  18. C. S. Park, J. H. Kim, S. Y. Moon, and R. Y. C. Kim, "Applied?practice on identifying bad codes through supervised?learning with bad code patterns," Proceedings of the 25th?Korea Conference on Software Engineering, Vol.25, No.1,?pp.119-120, 2023. 

  19. C. S. Park, W. S. Jang, and R. Y. C. Kim, "Tool Chain?Mechanism with Identifying and Collecting High Quality?Data for Learning Bad Code based on Code Visualization,"?2023 Conference of KISM, Vol.12, No.1, pp.52-53, 2023. 

  20. N. Medeiros, N. Ivaki, P. Costa, and M. Vieira, "Software?Metrics as Indicators of Security Vulnerabilities," 2017?IEEE 28th International Symposium on Software Reliability?Engineering (ISSRE), Toulouse, France, pp.216-227, 2017. 

  21. NSA Center for Assured Software, 2017, "Juliet Java 1.3,"?[Online].Available:https://samate.nist.gov/SARD/test-suites/111? 

저자의 다른 논문 :

관련 콘텐츠

오픈액세스(OA) 유형

GOLD

오픈액세스 학술지에 출판된 논문

이 논문과 함께 이용한 콘텐츠

저작권 관리 안내
섹션별 컨텐츠 바로가기

AI-Helper ※ AI-Helper는 오픈소스 모델을 사용합니다.

AI-Helper 아이콘
AI-Helper
안녕하세요, AI-Helper입니다. 좌측 "선택된 텍스트"에서 텍스트를 선택하여 요약, 번역, 용어설명을 실행하세요.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.

선택된 텍스트

맨위로