Pith. sign in

REVIEW 1 cited by

DeepCodeProbe: Towards Understanding What Models Trained on Code Learn

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2407.08890 v1 pith:B5PHWPPZ submitted 2024-07-11 cs.SE cs.AIcs.LG

classification cs.SEcs.AIcs.LG
keywords modelscodedeepcodeprobelearningsyntaxtraininginterpretabilitylearn
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Machine learning models trained on code and related artifacts offer valuable support for software maintenance but suffer from interpretability issues due to their complex internal variables. These concerns are particularly significant in safety-critical applications where the models' decision-making processes must be reliable. The specific features and representations learned by these models remain unclear, adding to the hesitancy in adopting them widely. To address these challenges, we introduce DeepCodeProbe, a probing approach that examines the syntax and representation learning abilities of ML models designed for software maintenance tasks. Our study applies DeepCodeProbe to state-of-the-art models for code clone detection, code summarization, and comment generation. Findings reveal that while small models capture abstract syntactic representations, their ability to fully grasp programming language syntax is limited. Increasing model capacity improves syntax learning but introduces trade-offs such as increased training time and overfitting. DeepCodeProbe also identifies specific code patterns the models learn from their training data. Additionally, we provide best practices for training models on code to enhance performance and interpretability, supported by an open-source replication package for broader application of DeepCodeProbe in interpreting other code-related models.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Toward Neurosymbolic Program Comprehension

    cs.SE 2025-02 conditional novelty 4.0 of 10

    The paper outlines the Neurosymbolic Program Comprehension (NsPC) framework and provides preliminary evidence that SHAP-value patterns over AST-tagged token positions can be interpreted as symbolic rules for insecure ...

Pith tools