paper-with-me

홈 › Papers

NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctness

2024-01-29 · Manav Singhal, Tushar Aggarwal, Abhijeet Awasthi, Nagarajan Natarajan, Aditya Kanade

Existing evaluation benchmarks of language models of code (code LMs) focus almost exclusively on whether the LMs can generate functionally-correct code. In real-world software engineering, developers think beyond functional correctness. They have requirements on "how" a functionality should be implemented to meet overall system design objectives like efficiency, security, and maintainability. They would also trust the code LMs more if the LMs demonstrate robust understanding of such requirements. We propose a new benchmark NoFunEval to evaluate code LMs on non-functional requirements and simple classification instances for both functional and non-functional requirements. We propose a prompting method, Coding Concepts (CoCo), as a way for a developer to communicate the domain knowledge to the LMs. We conduct an extensive evaluation of 27 code LMs. Our finding is that LMs generally falter when tested on our benchmark, hinting at fundamental blindspots in their training setups. Surprisingly, even the classification accuracy on functional-correctness instances derived from the popular HumanEval benchmark is low, calling in question the depth of their comprehension and the source of their success in generating functionally-correct code in the first place. We release our benchmark and evaluation scripts publicly at https://aka.ms/NoFunEval.

📄 PDF Abstract BibTeX arXiv:2401.15963

Code (0)

등록된 구현이 없습니다.

Tasks

HumanEval

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

FunnyNet-W: Multimodal Learning of Funny Moments in Videos in the Wild

2024-01-08 · Zhi-Song Liu, Robin Courant, Vicky Kalogeiton

Automatically understanding funny moments (i.e., the moments that make people laugh) when watching comedy is challenging, as they relate to various features, such as body language, dialogues and culture. In this paper, w…

Language ModellingLarge Language ModelScene UnderstandingSpeech-to-Text

FunnyNodules: A Customizable Medical Dataset Tailored for Evaluating Explainable AI

2025-11-19 · Luisa Gallée, Yiheng Xiong, Meinrad Beer, Michael Götz arxiv

Densely annotated medical image datasets that capture not only diagnostic labels but also the underlying reasoning behind these diagnoses are scarce. Such reasoning-related annotations are essential for developing and ev…

Neural Joking Machine : Humorous image captioning

2018-05-30 · Kota Yoshida, Munetaka Minoguchi, Kenichiro Wani, Akio Nakamura 외

What is an effective expression that draws laughter from human beings? In the present paper, in order to consider this question from an academic standpoint, we generate an image caption that draws a "laugh" by a computer…

Image Captioning

ChatGPT is fun, but it is not funny! Humor is still challenging Large Language Models

2023-06-07 · Sophie Jentzsch, Kristian Kersting

Humor is a central aspect of human communication that has not been solved for artificial agents so far. Large language models (LLMs) are increasingly able to capture implicit and contextual information. Especially, OpenA…

valid

How Did This Get Funded?! Automatically Identifying Quirky Scientific Achievements

2021-06-06 · ACL 2021 5 · Chen Shani, Nadav Borenstein, Dafna Shahaf

Humor is an important social phenomenon, serving complex social and psychological functions. However, despite being studied for millennia humor is computationally not well understood, often considered an AI-complete prob…

Articles