Post-Doctoral Research Visit F/M Benchmarks for Evaluating LLMs for Lean Elegance
Contract type : Fixed-term contract
Level of qualifications required : PhD or equivalent
Fonction : Post-Doctoral Research Visit
Context
The postdoc will be within the SIERRA team, which focuses on theoretical machine learning, statistics and optimization. There will be interactions with other teams within INRIA interested in AI for maths (ARGO, PICUBE, SCOOL) as well as at ENS (CSD).
Travel, equipment, and compute expenses will be covered within reasonable limits.
Assignment
Proposed research subject :
Frontier models have demonstrated rapid progress in producing correct Lean code, saturating existing Lean benchmarks of advanced problems in both the IMO and Putnam competitions, and can produce Fields Medal-level formalizations of research math. However, while Lean code that type checks might be reasonably declared "correct", for formalizations to be useful to humans we need to extend our assessment beyond mere correctness to code quality, such as concision, transparency, maintainability, human readability, elegance (e.g. “correct” abstractions), and execution efficiency. In this postdoc project, we aim to develop novel and multidimensional metrics of Lean code quality and establish new benchmarks and datasets to assess model performance. We believe that these benchmarks will expose new dimensions for improvement in frontier models, especially in long-horizon autoformalizations of modern research mathematics. Potential metrics include code complexity, code volume, style adherence and idiomatic expression, passing linter checks, elaboration time. Evaluation methods can combine multiple techniques: including static analysis, resource profiling, LLM-as-a-judge techniques, and optimally using feedback from human expert user studies. This project proposal fills a gap in the field because as frontier models generate increasingly correct Lean code, improving generated code quality to Mathlib standards becomes crucial to accelerate adoption in the mathematical community.
By shifting the evaluation of autoformalization from a single-bit correctness check to a rich, multidimensional quality assessment, this project will:
- reveal underexplored weaknesses in current LLMs (e.g., long planning for abstraction),
- provide actionable training signals for future models by reinforcement learning,
- lower the barrier to adoption of AI-generated formalizations in mathematical research.
Responsibilities :
The person recruited is responsible for defining, implementing and validating a multidimensional suite of Lean‑code‑quality metrics and will take initiatives for creating benchmark datasets, integrating metric suites into continuous‑evaluation pipelines, and organising human studies to calibrate automated scores against expert judgement.
Steering/Management :
The person recruited will be in charge of leading the Lean Quality Benchmark work package, interacting with other project members and interested third-parties/partners labs, and possibly coordinating the contributions of interns.
Main activities
- Develop novel, multidimensional quality metrics specifically tailored to proof-assistant code (not generic software metrics).
- Curate new benchmarks and datasets that include long-horizon, research-level autoformalization tasks.
- Establish rigorous evaluation protocols combining automated analysis, resource profiling, and human judgment.
- Demonstrate that these benchmarks expose meaningful failure modes in state-of-the-art frontier models, creating clear targets for improvement.
- Disseminate and promote research results among partner labs and in the community.
Benefits package
- Subsidized meals
- Partial reimbursement of public transport costs
- Leave: 7 weeks of annual leave + 10 extra days off due to RTT (statutory reduction in working hours) + possibility of exceptional leave (sick children, moving home, etc.)
- Possibility of teleworking (after 6 months of employment) and flexible organization of working hours
- Professional equipment available (videoconferencing, loan of computer equipment, etc.)
- Social, cultural and sports events and activities
- Health insurance scheme
General Information
- Theme/Domain : Optimization, machine learning and statistical methods
- Town/city : Paris
- Inria Center : Centre Inria de Paris
- Starting date : 2026-11-01
- Duration of contract : 2 years
- Deadline to apply : 2026-07-31
Warning : you must enter your e-mail address in order to save your application to Inria. Applications must be submitted online on the Inria website. Processing of applications sent from other channels is not guaranteed.
Instruction to apply
Defence Security :
This position is likely to be situated in a restricted area (ZRR), as defined in Decree No. 2011-1425 relating to the protection of national scientific and technical potential (PPST).Authorisation to enter an area is granted by the director of the unit, following a favourable Ministerial decision, as defined in the decree of 3 July 2012 relating to the PPST. An unfavourable Ministerial decision in respect of a position situated in a ZRR would result in the cancellation of the appointment.
Recruitment Policy :
As part of its diversity policy, all Inria positions are accessible to people with disabilities.
Contacts
- Inria Team : SIERRA
-
Recruiter :
Marion Pierre / pierre.marion@inria.fr
About Inria
Inria is the French national research institute dedicated to digital science and technology. It employs 2,600 people. Its 200 agile project teams, generally run jointly with academic partners, include more than 3,500 scientists and engineers working to meet the challenges of digital technology, often at the interface with other disciplines. The Institute also employs numerous talents in over forty different professions. 900 research support staff contribute to the preparation and development of scientific and entrepreneurial projects that have a worldwide impact.