Michael Richard Greenberg

Prof. Michael Richard Greenberg

Bloustein School, Rutgers University
orcid

Research Focus & Metrics

Academic Career Length

38Years (1989-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
17 April 2023 in IEEE Transactions on Software Engineering
Verified
Journal Article
Open access
FCFederico Cassano
Federico Cassano
JGJohn Gouwar
John Gouwar
DNDaniel Nguyen
Daniel Nguyen
SNSydney Nguyen
Sydney Nguyen
LPLuna Phipps-Costin
Luna Phipps-Costin
AJAbhinav Jangda
Abhinav Jangda
Large language models have demonstrated the ability to generate both natural language and programming language text. Although contemporary code generation models are trained on corpora with several programming languages, they are tested using benchmarks that are typically monolingual. The most widely used code generation benchmarks only target Python, so there is little quantitative evidence of how code generation models perform on other programming languages. We propose MultiPL-E, a system for translating unit test-driven code generation benchmarks to new languages. We create the first massively multilingual code generation benchmark by using MultiPL-E to translate two popular Python code generation benchmarks to 18 additional programming languages. We use MultiPL-E to extend the HumanEval benchmark [1] and MBPP benchmark [2] to 18 languages that encompass a range of programming paradigms and popularity. Using these new parallel benchmarks, we evaluate the multi-language performance of three state-of-the-art code generation models: Codex [1], CodeGen [3]and InCoder [4]. We find that Codex matches or even exceeds its performance on Python for several other languages. The range of programming languages represented in MultiPL-E allow us to explore the impact of language frequency and language features on model performance. Finally, the MultiPL-E approach of compiling code generation benchmarks to new programming languages is both scalable and extensible, making it straightforward to evaluate new models, benchmarks, and languages.


8 October 2024 in Proceedings of the ACM on Programming Languages
Verified
Journal Article
Open access
FCFederico Cassano
Federico Cassano
JGJohn Gouwar
John Gouwar
FLFrancesca Lucchetti
Francesca Lucchetti
CSClaire Schlesinger
Claire Schlesinger
AFAnders Freeman
Anders Freeman
AGArjun Guha
Arjun Guha
Over the past few years, Large Language Models of Code (Code LLMs) have started to have a significant impact on programming practice. Code LLMs are also emerging as building blocks for research in programming languages and software engineering. However, the quality of code produced by a Code LLM varies significantly by programming language. Code LLMs produce impressive results on high-resource programming languages that are well represented in their training data (e.g., Java, Python, or JavaScript), but struggle with low-resource languages that have limited training data available (e.g., OCaml, Racket, and several others). This paper presents an effective approach for boosting the performance of Code LLMs on low-resource languages using semi-synthetic data. Our approach, called M ulti PL-T, generates high-quality datasets for low-resource languages, which can then be used to fine-tune any pretrained Code LLM. M ulti PL-T translates training data from high-resource languages into training data for low-resource languages in the following way. 1) We use a Code LLM to synthesize unit tests for commented code from a high-resource source language, filtering out faulty tests and code with low test coverage. 2) We use a Code LLM to translate the code from the high-resource source language to a target low-resource language. This gives us a corpus of candidate training data in the target language, but many of these translations are wrong. 3) We use a lightweight compiler to compile the test cases generated in (1) from the source language to the target language, which allows us to filter our obviously wrong translations. The result is a training corpus in the target low-resource language where all items have been validated with test cases. We apply this approach to generate tens of thousands of new, validated training items for five low-resource languages: Julia, Lua, OCaml, R, and Racket, using Python as the source high-resource language. Furthermore, we use an open Code LLM (StarCoderBase) with open training data (The Stack), which allows us to decontaminate benchmarks, train models without violating licenses, and run experiments that could not otherwise be done. Using datasets generated with M ulti PL-T, we present fine-tuned versions of StarCoderBase and Code Llama for Julia, Lua, OCaml, R, and Racket that outperform other fine-tunes of these base models on the natural language to code task. We also present Racket fine-tunes for two very recent models, DeepSeek Coder and StarCoder2, to show that M ulti PL-T continues to outperform other fine-tuning approaches for low-resource languages. The M ulti PL-T approach is easy to apply to new languages, and is significantly more efficient and effective than alternatives such as training longer.


1 December 2000 in Urban Studies
Verified
Journal Article
Closed access
MGMichael Richard Greenberg
Michael Richard Greenberg
MLM. Jane Lewis
M. Jane Lewis
A survey was conducted with over 200 residents of a largely Hispanic census tract in the City of Perth Amboy, NJ, in order to identify their preferences for brownfield redevelopment and the extent to which residents want to participate in the redevelopment process. We found that residents preferred recreation, cultural and other community facilities, followed by new housing. They were less interested in industry and business. Three-quarters of respondents indicated a desire to participate in the redevelopment process. Those who were most interested in participation tended to be optimistic, less trusting of authority, distressed by brownfields and focused on providing opportunities for youth. In light of the fact that US brownfields redevelopment has been promoted as a way to bring industry and commerce back to inner-city neighbourhoods, the findings of this study imply that local government and business interests need to work closely with local communities to build support for commercial land uses. Alternatively, processes need to be developed that will fund the clean-up of brownfield sites to residential and recreation land-use standards.

8 December 2010 in Risk Analysis
Verified
Journal Article
Closed access
PDF file
MGMichael Richard Greenberg
Michael Richard Greenberg
HTHeather Barnes Truelove
Heather Barnes Truelove