Education
University of California, Davis
Master of Science
Computer Science
2023 - Ongoing
University of California, Davis
Bachelor of Science
Computer Science and Engineering
2019 - 2023
Research Experience
UC Davis Computer Architecture Research Group
Graduate Student Researcher
June 2023 - Ongoing
Davis, CA
- Researching trends of gem5 accuracy.
- Building hardware models for gem5.
- Validating gem5 models against real hardware.
Davis Excellent/Eclectic/Extreme Computational Analytics Lab
Student Researcher
September 2022 - Ongoing
Davis, CA
- Co-authored paper on appending semantic information for better code summarization.
- Co-authored paper on calibration of LLM models, particularly involved in the bug repair section and tested models on Defects4J.
UC Davis Computer Architecture Research Group
Undergraduate Researcher
June 2022 - June 2023
Davis, CA
- Integrated the gem5 Standard Library components to create a pre-built board modeled after the HiFive Unmatched.
- Validating the statistics returned by the board on gem5 to those returned by perf on real-life hardware.
- Co-authored tutorials on perf compilation and documentation for the Standard Library.
- Co-authored poster on the comparison of gem5 and perf for HiFive Unmatched.
Teaching Experience
University of California, Davis
Teaching Assistant, ECS 132
June 2023 - December 2023
Davis, CA
- TA for Probability & Statistical Modeling for Computer Science
Work Experience
humanID
Tech Team Lead
April 2022 - June 2022
Davis, CA
- Coordinated project task completion with global teams, delivering 10 completed projects.
- Implemented time-effective hiring practices for developers based on agile development principles, improving performance by 50%.
- Co-created documentation on the implementation of a Discord bot that combats spam and fake users.
humanID
Software Development Intern
January 2022 - April 2022
Davis, CA
- Algorithmically hierarchized 100 users and their associated permissions in a Django-based web application.
- Refactored part of the code base to follow software craftsmanship principles.
- Implemented interactive features for a frontend website in collaboration with the Design team.
SiTime Corporation
Technical Product Marketing Intern
July 2021 - September 2021
Santa Clara, CA
- Co-authored a product requirements document for a newly-released timing chip in the semiconductor industry.
- Conducted a market survey on optical transceivers and studied potential applications of MEMS timing chips.
- Presented strategy to hierarchize distributors and maximize stakeholders' earned profits by $250,000.
Projects
- Implemented advanced search functionality to enhance resource discovery within the gem5 ecosystem.
- Introduced semantic versioning and built upon a comprehensive resource categorization system for easy access to newer resource versions under specific categories.
- Expanded gem5's database support by integrating local and remote JSON files and MongoDB, improving efficiency and user accessibility.
- Demonstrated strong coding and programming skills to create QuixFolio as an open-source project.
- Streamlined the portfolio creation process by providing a wide range of customizable templates and easy information input options.
- Implemented hosting capabilities on GitHub pages, enabling seamless portfolio sharing and accessibility.
- Successfully launched the alpha version of QuixFolio, which garnered significant traction with over 190 visitors and 1000+ page views within the first week.
- Utilized SPI and I2C to create a tilt-based paint application between the CC3200 and Adafruit OLED.
- Created a webserver and implemented a compression algorithm to transfer 128x128 bitmaps from a board to a computer.
- Conferred Best Lab Project for Spring 2022.
- Solidified skills of utilizing datasheet information to interact with hardware better.
- Utilized the UC Davis Schedule Builder API to extract class timings and professors.
- Formulated a class-based hierarchized dictionary to maintain schedules of over 100 server members in five Discord servers.
- Extracted data from APIs of Rate My Professor and Google Calendar to add additional features to the bot.
- Solidified skills of good software design to understand and solve problem domain.
Publications
Automatic semantic augmentation of language model prompts (for code summarization)
conference
Toufique Ahmed, Kunal Suresh Pai, Premkumar Devanbu, Earl T. Barr
ICSE 2024
Adding explicit semantic facts as prompts to Large Language Models improves their performance in code summarization tasks, with notable improvements exceeding 2 BLEU and, in some cases, even surpassing 30 BLEU, demonstrating the effectiveness of this approach in enhancing code analysis and extraction of essential information.
Software EngineeringMachine LearningNaturalness of Software
Validating Hardware and SimPoints with gem5: A RISC-V Board Case Study
poster
Kunal Pai, Zhantong Qiu, Jason Lowe-Power
ISCA 2023: gem5 Workshop
The poster discusses the development of a RISC-V board model (RISCVMatched) in gem5, along with a methodology for fine-tuning gem5 configurations to closely match real-life systems, resulting in more accurate hardware validation and simulation capabilities.
Computer Architecturegem5
gem5 Vision
poster
Parth Shah, Kunal Pai, Harshil Patel, Arslan Ali
ISCA 2023: gem5 Workshop
The gem5 Vision Project seeks to improve user-friendliness and accessibility by introducing advanced search functionality, comprehensive resource categorization, and expanded database support within the gem5 ecosystem for researchers and developers.
Computer Architecturegem5
Skills
Programming Languages
Python, C, C++, Java, JavaScript, HTML+CSS, Golang
Languages
English, Hindi, Gujarati, Spanish, Marathi
Technologies
gem5, React Bootstrap, Chisel3, Adobe Photoshop