← Search

Yinlin Deng

4 accepted papers

2025

PurpCode: Reasoning for Safer Code Generation

NeurIPS 2025poster

We introduce PurpCode, the first post-training recipe for training safe code reasoning models towards generating secure code and defending against malicious cyberactivities. PurpCode trains a reasoning model in two stages: (i) Rule Learning, which explicitly teaches the model to reference cybersafet…

Cited by 0SourceScholar
2024

Can LLMs Implicitly Learn Numeric Parameter Constraints in Data Science APIs?

NeurIPS 2024poster

Data science (DS) programs, typically built on popular DS libraries (such as PyTorch and NumPy) with thousands of APIs, serve as the cornerstone for various mission-critical domains such as financial systems, autonomous driving software, and coding assistants. Recently, large language models (LLMs)…

Cited by 0SourcePDFScholar
2024

ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis

ICLR 2024oral

When writing programs, people have the ability to tackle a new complex task by decomposing it into smaller and more familiar subtasks. While it is difficult to measure whether neural program synthesis methods have similar capabilities, we can measure whether they compositionally generalize, that is,…

Cited by 19SourcePDFScholar
2024

NExT: Teaching Large Language Models to Reason about Code Execution

ICML 2024poster

A fundamental skill among human developers is the ability to understand and reason about program execution. As an example, a programmer can mentally simulate code execution in natural language to debug and repair code (aka. rubber duck debugging). However, large language models (LLMs) of code are ty…

Cited by 35SourcePDFScholar