top of page

Gino News

quinta-feira, 5 de dezembro de 2024

Desvendando as Limitações do ChatGPT em Verificação de Código

Tecnologia Inteligência Artificial Programação

Um estudo recente realizado na China revela que o ChatGPT, embora seja uma ferramenta poderosa para programação, possui sérias limitações em sua capacidade de verificar e corrigir seu próprio código, frequentemente superestimando sua precisão e segurança.

An image in the style of a 2D, flat, and corporate vector illustration. The image depicts a South Asian female programmer intently analyzing lines of code symbolizing ChatGPT's work in a tech-based environment, highlighting the human role in code verification. Fill the background with visual representations of AI technology, such as circuit board patterns or silicone chips. Include an binary interrogation symboling doubts about AI's precision. The background should be textureless and white. Avoid creating real-world entities or specific copyrighted characters.

Imagem gerada utilizando Dall-E 3

A crescente popularidade do ChatGPT na geração de código suscita questões sobre sua eficácia em autoverificação. Um novo estudo, publicado na revista IEEE Transactions on Software Engineering, avalia a habilidade do ChatGPT em avaliar a correção de seu próprio código e identificar vulnerabilidades.


Os pesquisadores observaram que, em prompts diretos, o ChatGPT-3.5 incorretamente afirmou que 39% do código estava correto quando não estava, e 25% do código considerado livre de vulnerabilidades realmente as continha. Por outro lado, ao utilizar perguntas orientadoras, a capacidade do ChatGPT de identificar erros melhorou significativamente, com um aumento de 25% na detecção de erros de código e 69% na identificação de vulnerabilidades.


Adicionalmente, o estudo revelou que enquanto o ChatGPT-4 demonstrou melhorias em geração de código e reparos, ainda assim cometeu erros significativos de autovalidação, classificando frequentemente códigos inválidos como corretos. A integração das capacidades do ChatGPT com a expertise humana é essencial para garantir a qualidade do código gerado.


  1. ChatGPT-3.5 errou 39% ao afirmar que seu código estava correto.

  2. 25% de vulnerabilidades foram erroneamente classificadas como seguras.

  3. Perguntas guiadas aumentaram a detecção de erros em 25%.

  4. ChatGPT-4 não eliminou problemas de autoverificação.

  5. A integração com expertise humana é crucial.


Essas descobertas destacam não apenas as deficiências do ChatGPT em programação, mas também a necessidade de um envolvimento humano mais ativo na supervisão dos resultados gerados pela IA. A confiança excessiva em ferramentas de IA pode levar a erros graves e vulnerabilidades.


- ChatGPT deve ser visto como uma ferramenta de suporte. - O cuidado é essencial ao avaliar a saída do ChatGPT. - A interação entre IA e humanos é fundamental para a qualidade do software. - Estudos futuros devem focar em melhorias nas capacidades de verificação.


As implicações desse estudo são vastas, sugerindo que a responsabilidade pela verificação de código não deve ser delegada unicamente à IA. É essencial que desenvolvedores e engenheiros de software utilizem o ChatGPT como um auxiliar, sempre com um olhar crítico sobre suas declarações.


Em conclusão, o estudo revela as limitações do ChatGPT em sua autoavaliação de código, indicando que enquanto ferramentas de IA podem apoiar a programação, elas não devem substituir a vigilância humana. Para se manter atualizado sobre as inovações em tecnologia e IA, inscreva-se na nossa newsletter e fique por dentro de mais conteúdos diários sobre o tema.


FONTES:

    1. IEEE Transactions on Software Engineering

    2. Studies on ChatGPT's coding abilities

    3. AI Hallucinations

    4. Security Risks from AI Hallucinations

    REDATOR

    Gino AI

    5 de dezembro de 2024 às 21:32:26

    PUBLICAÇÕES RELACIONADAS

    Creatio, a Boston-based CRM and workflow automation company, has announced its new AI-native CRM system. Presenting a 2D, linear vector illustration in a corporate, flat style with a non-textured white background, it highlights a futuristic CRM interface. An interactive chatbot, symbolizing the new interactive platform, is placed centrally. There are charts symbolizing increased efficiency and automation in the background. Hints of mordern and innovative blue and green colors are used in the design. Users of diverse descent and different genders are shown interacting with the system, emphasizing personalization and user experience.

    Creatio Revoluciona o CRM com Plataforma Nativa de IA

    Create a detailed 2D, linear and vectorial image in a flat, corporate style on a white non-textured background. The image should showcase the interface of an AI-assistant from a generic restaurant review platform, symbolised by a radiant logo in vibrant colors, similar to the Yelp logo but sufficiently different to avoid copyright issues. To illustrate the AI's functionalities and user interactions, please depict various individuals of diverse descents and genders engaging with the AI interface. Also include the depictions of application interfaces to highlight the technology involved.

    Yelp Inova com Assistente de IA: Desafios e Avanços na Plataforma

    A 2D vector-style image in corporate flat style on a white, textureless background. A diverse team of developers is sitting in a collaborative environment, embodying different descents: a Hispanic woman, a Middle-Eastern man, a Black woman, and a White man. They are actively discussing software improvements with their laptops opened, symbolizing a modern form of technological development. Sprinkled throughout the image are brightly colored elements: oranges symbolize creativity and innovation, while green elements represent growth and sustainability. Scattered within their workspace are gardening tools, metaphorically indicating their careful maintenance work during the 'Gardening Week' initiative by a fictional AI company named 'Sierra'. All elements reflect an ongoing effort to avoid past mistakes like the accumulation of technical debt.

    A Revolução do Desenvolvimento de Software: A Experiência do Gardening Week na Sierra

    Generate a 2D, vector-style, flat, and corporate image that depicts a modern office setting. In this setting, a diverse team of professionals are at work, focused on screens that display charts and AI-related data. Make sure to portray an atmosphere of collaboration and innovation, symbolizing the impact of technology on business operations. The elements in the image should include data charts on screens, a diverse team of professionals, elements of technology like laptops and tablets to represent AI tools, and environment of a modern office. Let the background be plain and white, and void of any textures.

    O Futuro das Empresas com Ferramentas de AI Generativa

    Fique por dentro das últimas novidades em IA

    Obtenha diariamente um resumo com as últimas notícias, avanços e pesquisas relacionadas a inteligência artificial e tecnologia.

    Obrigado pelo envio!

    logo genai

    GenAi Br © 2024

    • LinkedIn
    bottom of page