Federico Cassano
· 2 previous affiliations
- CursorSince 2024
- Research Scientist · Since 2024
- Northeastern UniversitySince 2021
- Undergrad student · Since 2021
Research Overview
Federico Cassano focuses on code generation, large language model reasoning, and automated software verification. His early work addressed multilingual benchmarking and compiler security, evolving into the development of self-improving language agents and structured code editing systems. Currently, he investigates search-based planning and formal verification to enhance the reliability of reasoning models.
Research Trajectory
Cassano’s early research established foundational methods for evaluating and improving code generation models across diverse programming environments. In 2023, he introduced Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMs, addressing the performance gap models face when generating code for languages with limited training data, such as OCaml and Racket. By leveraging semi-synthetic data, this approach successfully boosted model efficacy on low-resource languages. Concurrently, he developed MultiPL-E: A Scalable and Polyglot Approach to Benchmarking Neural Code Generation, a system that translates unit test-driven benchmarks into new languages, creating a massively multilingual evaluation framework for code generation.
During this same period, his research extended into autonomous agents and systems security. He co-developed Reflexion: language agents with verbal reinforcement learning, a framework allowing language models to learn from failure by reflecting on their mistakes in natural language and storing these insights in an episodic memory. On the systems side, he introduced SafeLLVM: LLVM Without The ROP Gadgets!, a compiler-based modification to the LLVM backend designed to eliminate Return-Oriented Programming gadgets in x86-64 binaries. This work contributed to the broader area of Securing Control Flow Against Code Reuse Attacks. Additionally, he collaborated on Flexible and Optimal Dependency Management via Max-SMT, introducing a framework that optimizes package dependency solving to reduce vulnerabilities and code bloat.
In 2024, Cassano’s focus shifted toward model alignment, structured editing, and large-scale dataset curation. He introduced Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions, a benchmark revealing the performance disparities between open- and closed-source models on code modification tasks. This project also provided a fine-tuning methodology to improve open-source editing capabilities, advancing the research direction of Surgical Code Transformation with Structured Edit Representations. He also co-developed SelfCodeAlign: Self-Alignment for Code Generation, a transparent pipeline where base models generate and filter their own instructions and tests through actual execution. This approach to self-alignment contributed significantly to the area of Execution Feedback for Training Code Language Models. Furthermore, as part of the BigCode project, he participated in the development of StarCoder 2 and The Stack v2: The Next Generation, helping to train a new suite of code-focused models on responsibly curated datasets.
Most recently, while leading research behind the Composer models at Cursor, his academic work has emphasized advanced reasoning, search algorithms, and formal verification. In 2025, he co-developed Planning in Natural Language Improves LLM Search for Code Generation, introducing an algorithm that forces models to generate diverse, high-level natural language strategies before writing code, thereby improving search outcomes. He also collaborated on PhD Knowledge Not Required: A Reasoning Challenge for Large Language Models, a benchmark utilizing wordplay puzzles to expose unique failure modes—such as infinite reasoning loops—in frontier models. Finally, he contributed to DafnyBench: A Benchmark for Formal Software Verification, evaluating the capacity of language models to generate complex mathematical annotations for proving code correctness. This work intersects with several critical research areas, including Automated Generation of Formal Specifications and Proofs, Shifting from Static Benchmarks to Dynamic Evaluation, and Overcoming the Performance Plateau in Iterative LLM Refinement.
Current Directions
The most recent papers in the evidence address the reasoning and planning capabilities of large language models, particularly in complex or constrained environments. Recent work investigates how search algorithms operating over natural language plans can significantly improve code generation outcomes compared to searching over raw code. Additionally, Cassano and collaborators are exploring the limits of model reasoning through novel evaluation frameworks. This includes testing models on general-knowledge logic puzzles to identify infinite reasoning loops and overthinking, as well as benchmarking their ability to generate the complex mathematical annotations required for formal software verification.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake