Project in Computer Science: AI
Overview
Students will work in teams to plan, design, implement, test, and document an agentic AI system on a problem or application of their choice in modern AI. Students will learn and practice to build certain parts of a modern AI system, develop a practical application based on AI, design evaluations and improve a project iteratively, assess the project’s ethical, societal, and environmental impacts, and manage a project and work in a team.
Official description in the catalog
4 Units, Discussion, 1 hour; laboratory, 3 hours; research, 3 hours; extra reading, 3 hours. Prerequisite(s): CS 100, CS 111, and CS 170 with grades of “C-” or better; ENGR 180W; 8 additional upper-division units in Computer Science. Covers the planning, design, implementation, testing, and documentation of an artificial intelligence-related system. Incorporates techniques presented in previous related courses. Emphasizes professional and ethical responsibilities; the need to stay current on technology; and its global impact on economics, society, and the environment.Course Details
Instructor: Zhouxing Shi (Email: zhouxing.shi@ucr.edu)
- Discussion: M 5-5:50 PM, UTLF 0215
- Office hours: M 3:30-4:30 PM, WCH 356 (within 351)
TA: Shangjian Yin (Email: syin041@ucr.edu)
- Lab: F 3-5:50 PM, at UTLF 0215
Project
Design an AI agent for an application of your choice, with constraints:
- Start from a cheap model and a minimal harness:
- Model: Local models, large open-source models hosted on NRP, cheap commercial models (such as gpt-6-luna), or similar.
- Harness: Start from mini-swe-agent, not Claude or Codex, etc. (You may use a different minimal harness if the suggested one does not apply to your project, e.g., if you will be working on a physical agent.)
- Finish with limited resources:
- If you use paid APIs or GPUs, plan and control your budget carefully, and try to finish the project with a relatively small budget (under $100).
- Include ethical considerations:
- Your project should address at least one responsible-AI-related technical problem and discuss ethical considerations in your final report.
Schedule
| Week | Date | Discussion (Monday) | Date | Lab (Friday) | Dues |
|---|---|---|---|---|---|
| 1 | 9/28 | Overview | 10/2 | Research and discuss project topics | |
| 2 | 10/5 | Harness basics and tools | 10/9 | Work on project proposal; set up environment | |
| 3 | 10/12 | Context and training | 10/16 | Work on the project | 10/18: Proposal |
| 4 | 10/19 | Midterm presentations | 10/23 | Work on the project | |
| 5 | 10/26 | Midterm presentations | 10/30 | Work on the project | 11/1: Progress report I |
| 6 | 11/2 | Guest Lecture: Justin Cui | 11/6 | Peer review (aim to have an initial version done) | 11/9: Peer review notes |
| 7 | 11/9 | Debugging | 11/13 | Work on the project (analysis and improvement) | 11/15: Progress report II |
| 8 | 11/16 | Responsible AI | 11/20 | Work on the project (responsible AI) | |
| 9 | 11/23 | Final presentations | 11/27 | [No Class] Thanksgiving | |
| 10 | 11/30 | Final presentations | 12/4 | Finishing up the project | |
| 11 | 12/11: Final submission |
Grading Overview
- Participation (attendance and peer reviews): 20%
- Proposal: 10%
- Midterm presentation: 10%
- Project progress: 10%
- Final presentation: 10%
- Final submission: 40%
Graded Components
Participation (20%)
Attendance may be tracked (with notice). Additionally, there will be an in-class peer review during Week 6’s lab, which will also count towards the participation grade.
Peer review. For you to receive additional perspectives from classmates outside your own team, we will have a peer review and discussion during Week 6’s lab. By default, team 2k+1 can be paired with team 2k+2 (k=0,1,..). The two teams will discuss each other’s project and provide feedback. Each team member should contribute to the discussion. For each pair, maintain meeting notes, using a shared doc, to briefly summarize the discussions and mention the contributions of each participant. Submit one meeting note per team pair.
Grading criteria: whether there has been a reasonable participation, as documented by the meetings notes that are submitted on time.
Proposal (10%)
For you to formalize and plan your project, submit a 1-page write-up to discuss:
- The problem or application you choose and its background.
- An initial design of your system.
- Resources and budget.
- Timeline and team roles.
Grading criteria: whether the proposal is reasonably completed on time (due at the end of week 3).
Midterm presentations (10%)
For you to share your project with the class and better understand existing work, you will present in teams during the Monday classes in Weeks 4 and 5. Teams 1–5 will present in week 4, and teams 6–10 will present in week 5. Please refer to the signup sheet to confirm your team number. Each team may use up to 8 minutes, including time for any Q&A, and every team member should present. Slides are recommended, though not required (you may use the whiteboard if you like). Please upload your midterm presentation slides (or notes if you don’t use slides) by the end of your presentation day to the assignment on Canvas.
The presentation should include:
- Your project topic and a brief overview of what you are building.
- A review of two or three existing relevant projects.
- Suggested content: what they did, what features they have, their overall design, their limitations, and comparison with what you are going to do.
- If time allows and information is available, you may mention selected implementation details that are relevant to your project.
- This is for you to better understand the landscape of existing work. Your project is supposed to be independent from them, and you don’t have to build your project based on them, but you may borrow some techniques from those existing projects.
Grading criteria: whether the presentation is clear and covers enough materials.
Project progress (10%)
To keep your project on track and have each team member actively contribute to the project, you will submit a brief (up to half a page) progress report on Weeks 5 and 7. Each student needs to write an individual report and the report should reflect your individual work within the team. For each report, summarize your work on the project’s implementation during the covered period, and mention what the immediate next steps are before your next milestone is due.
Grading criteria: whether the report is reasonably done and submitted on time.
Final presentation (10%)
To give you a chance to showcase your work and learn from each other’s work, we will have final presentations during the Monday classes in weeks 9 and 10. As with the midterm presentations, teams 1–5 will present in week 9, and teams 6–10 will present in week 10. Each team may use up to 8 minutes, including time for any Q&A. Every team member should present.
Your presentation should include an overview of your project and the work you have done so far (you may use slides for this part), followed by a demo. As you talk about what your agent does, also explain how you designed and implemented each part.
You do not have to complete all the work by the presentation. You may continue working on it through the final submission.
Grading will be based on whether the required overview, demo, and explanations are clearly covered, not on the quality of the project itself, which will be evaluated in the final submission.
Final submission (40%)
Your final submission (due on Dec 11) should consist of:
-
Demo: A short video that demonstrates the final state of your project.
- It can be about 1-2 minutes long, though you may go a bit longer if needed (no more than 5 minutes).
- The video may focus on showing what the agent does. Unlike your presentation, the video does not have to explain the design and implementation.
- You may use the video for your portfolio as well.
-
Report: The report should document your work and thoughts.
- It can be about 4-5 pages long, with a hard limit of 6 pages.
- Include the following:
- Background and purpose.
- Description of features and the design.
- Small-scale evaluation.
- Responsible AI and ethical considerations.
Detailed guidance
- Technical:
- Pick one specific aspect for your implementation and evaluation. Examples: unauthorized actions, privacy leakage, misuse, hallucination, OOD/adversarial robustness, bias and fairness, etc.
- Implement one method to mitigate that specific risk (e.g., configuring permissions and a sandbox to prevent unauthorized actions, adding a guardrail model to prevent misuse, augmenting the training data to improve robustness, etc.).
- Evaluate your agent at a small scale and compare its behavior on the studied risk before and after adding your mitigation.
- Writing: spend about half a page of your final report discussing ethical considerations more broadly (beyond the aspect you address in the technical part):
- What risks does your agent pose?
- What errors can it make, and how can it be misused?
- How can these risks be mitigated?
- Technical:
- Any notable challenges you faced and how you addressed them.
- Statement of AI tool use.
- Statement of each team member’s contribution.
- Cite existing materials used (code, models, datasets, etc.).
-
Code: The entire codebase of your project.
- It should include a README that accurately and completely describes how to deploy and test the agent.
- You are encouraged to release your project publicly at the end of the course.
Grading:
- Completeness (60%): whether all the required components are reasonably completed.
- Writing (20%): whether the report is sound, clear, and thoughtful.
- Quality (20%): the overall merit of the project (in terms of usefulness, effectiveness, and creativity) given this course’s constraints.
Conduct and Academic Integrity
Collaboration. All team members should contribute roughly equally. Document each person’s contributions in the final report.
Originality. Your project must include substantial work created by your team. Cite any existing materials (code, models, datasets, etc.) you reuse.
AI use. You may use AI tools to assist with coding. Review and understand AI-generated content, and document your usage.
See https://conduct.ucr.edu for details. Here at UCR we are committed to upholding and promoting the values of the Tartan Soul: Integrity, Accountability, Excellence, and Respect. As a student in this class, it is your responsibility to act in accordance with these values by completing all assignments in the manner described, and by informing the instructor of suspected acts of academic misconduct by your peers. By so doing, you will not only affirm your own integrity, but also the integrity of the intellectual work of this University, and the degree which it represents. Should you choose to commit academic misconduct in this class, you will be held accountable according to the policies set forth by the University, and will incur appropriate consequences both in this class and from Student Conduct and Academic Integrity Programs. For more information regarding University policy and its enforcement, please visit: conduct.ucr.edu.