potentialpaper

The Function-Style Trade-off: Understanding LLM Code Generation from a Novel Perspective

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:09 UTC · 875755bbb47e ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "5tAJmWawGe"
- }
- ],
- "title": "The Function-Style Trade-off: Understanding LLM Code Generation from a Novel Perspective",
- "authors": [],
- "abstract": "\\emph{LLMs have made significant progress on code generation}, yet their outputs often suffer from poor readability, inconsistent naming, missing documentation, and jumbled control flow.\nCurrent benchmarks overemphasize execution correctness while lacking scalable code-style metrics, \nhindering the development of style-aware code generation.\nTo fill this gap, we construct a \\emph{fine-grained code-style evaluation benchmark} and propose a \\emph{graph-based framework using Augmented AST} that captures structural style features beyond the token level and enables \\emph{node-level attribution} of style decisions.\nExperiments reveal a \\emph{Function-Style Trade-off}: improving style naturalness degrades functional performance. \nWe provide an \\emph{information-theoretic interpretation} of this phenomenon, framing fine-tuning as reallocation of representational capacity between natural language and code distributions. \nExtensive experiments demonstrate that the proposed structural style signal transforms the Function-Style Trade-off from an uncontrollable statistical fluctuation into an analyzable and optimizable engineering problem.\nThis work underscores the necessity of incorporating software quality into LLM code evaluation.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "142efe5c-7f08-496c-9a0e-25f788c985ae"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "The Function-Style Trade-off: Understanding LLM Code Generation from a Novel Perspective",
+ "authors": [],
+ "abstract": "\\emph{LLMs have made significant progress on code generation}, yet their outputs often suffer from poor readability, inconsistent naming, missing documentation, and jumbled control flow.\nCurrent benchmarks overemphasize execution correctness while lacking scalable code-style metrics, \nhindering the development of style-aware code generation.\nTo fill this gap, we construct a \\emph{fine-grained code-style evaluation benchmark} and propose a \\emph{graph-based framework using Augmented AST} that captures structural style features beyond the token level and enables \\emph{node-level attribution} of style decisions.\nExperiments reveal a \\emph{Function-Style Trade-off}: improving style naturalness degrades functional performance. \nWe provide an \\emph{information-theoretic interpretation} of this phenomenon, framing fine-tuning as reallocation of representational capacity between natural language and code distributions. \nExtensive experiments demonstrate that the proposed structural style signal transforms the Function-Style Trade-off from an uncontrollable statistical fluctuation into an analyzable and optimizable engineering problem.\nThis work underscores the necessity of incorporating software quality into LLM code evaluation.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}