TrojanPALS: Personalized Academic & Lab Suggestions

Your AI Academic and Research Companion

Inspiration

USC offers an incredible range of courses, research labs, and academic opportunities, but finding the right ones isn't always easy.

As USC students, we've experienced how overwhelming academic planning can be. Choosing courses means navigating the Web Registration portal, Schedule of Classes, student reviews, and advice from classmates. Finding research opportunities can be even harder. Students may know what interests them but not which professors work in that area, what skills to develop, or how to get involved.

We saw this reflected in conversations with Viterbi Graduate Orientation Leaders (VGOLs). Leaders we spoke with estimated that 40–50% of incoming graduate students they interact with ask about research opportunities, while some mentors shared that nearly all their mentees initially ask which courses to take. Although these are informal observations rather than survey results, they reinforced two recurring challenges for incoming USC students: course selection and research discovery.

What if students could discover relevant courses, find researchers, and build a personalized plan for their next steps, all in one place?

That's why we built TrojanPALS, an AI-powered academic and research companion designed specifically for USC students.

What It Does

TrojanPALS connects academic planning with research discovery through five core features.

1. Personalized Course Recommendations

Students receive course recommendations based on their interests, preferences, and completed coursework. Our semantic recommendation engine identifies relationships between topics beyond keyword matching, filters out completed courses, and incorporates available student reviews.

2. AI Academic Companion

Students can ask questions naturally, such as:

"I've already completed CSCI 544. What NLP course should I take next?"

Our Groq-powered chatbot uses saved student preferences to provide personalized academic guidance, explore research opportunities, and suggest preparation pathways.

3. USC Research Discovery

Students describe their interests to discover relevant USC professors and laboratories. Our research matcher combines faculty research areas, laboratory information, teaching relationships, and publication metadata to identify relevant researchers.

4. Personalized Research Roadmaps

TrojanPALS generates five-stage research roadmaps: explore a professor's work, build academic foundations, prepare outreach, investigate research opportunities, and track progress. Students can save their roadmaps and mark steps as completed.

5. AI Research Readiness Analyzer

Rather than simply recommending a professor, TrojanPALS analyzes research-paper abstracts to identify technical methods associated with their work.

It connects these methods to broader foundational skills, compares them with the student's reported background, and suggests relevant USC courses using semantic similarity.

For example, a student interested in conversational AI might discover preparation areas such as language-model fine-tuning, dialogue embeddings, and statistical machine learning.

Each extracted method is supported by publication evidence. The analyzer distinguishes explicitly reported skills, related foundations, and skills not confirmed by the student's profile, without assuming the student lacks those skills.

User Experience

Students can save their preferences once, ask questions naturally, and move between course recommendations and research roadmaps without navigating multiple USC websites.

[Mobile usability: Add 1–1.5 sentences here after testing the interface on a phone.]

How We Built It

We built TrojanPALS using Next.js, React, and TypeScript for the frontend, Supabase and PostgreSQL for authentication and persistent student data, and Python with FastAPI for AI services.

Our AI system combines:

  • Sentence Transformers for semantic course recommendations and skill-to-course matching.
  • TF-IDF and scikit-learn for faculty research matching.
  • Groq-hosted language models for conversational guidance, research explanations, and structured method extraction.
  • OpenAlex for publication metadata and abstracts.
  • USC academic resources for course, faculty, and laboratory information.

Rather than relying entirely on an LLM, we combine retrieval, semantic matching, and evidence validation. Research methods must include supporting excerpts from supplied abstracts, and papers with unresolved author-attribution warnings are excluded from readiness analysis.

We also kept sensitive API credentials in server-side environment variables rather than frontend code. Groq requests are handled by our Python backend, while Next.js uses authenticated server-side routes to access AI services and student data.

Challenges We Faced

Integrating independently developed systems was one of our biggest challenges. Our team built course recommendations, research discovery, authentication, and student profiles in parallel, requiring us to reconcile different data structures, API responses, and backend workflows. We also encountered LLM availability issues, malformed structured outputs, and Google OAuth redirect problems.

Another challenge was making AI recommendations genuinely relevant. Early versions of our skill-to-course matcher sometimes recommended unrelated courses because they shared individual words with research methods. We improved this by extracting broader academic foundations and using semantic embeddings to evaluate course relevance.

Research data quality was equally important. Automated publication retrieval occasionally associated papers with researchers who shared similar names. We introduced verification safeguards to prevent questionable publications from influencing AI-generated guidance.

These challenges taught us that useful AI requires more than generating answers: it needs reliable data, meaningful recommendations, and careful validation.

What We Learned

Building TrojanPALS taught us how to combine semantic retrieval, LLMs, and evidence validation within a full-stack application.

We learned that semantic similarity helps uncover connections between academic topics, while LLMs make complex research information more approachable. We also gained experience with authentication, backend integration, and end-to-end testing.

Our Research Readiness Analyzer passed 3/3 automated unit tests covering grounded method extraction, rejection of unsupported evidence, and completed-course filtering. We also manually tested the chatbot, personalized recommendations, and research roadmap workflows.

Most importantly, we learned that AI creates the most value when it helps students take their next step, not just find information.

Impact and What's Next

TrojanPALS is designed around USC's academic ecosystem, including the Schedule of Classes, faculty research resources, student experiences, and research enrollment pathways. We envision it helping incoming students, students exploring new interests, and students looking to get involved in research.

For a future campus pilot, USC Student Government or an academic department could oversee the platform with support from a student development team. Maintaining it would require periodic course and faculty data updates, cloud hosting, database services, and usage-based LLM access.

For an initial pilot of approximately 100–200 USC students, we estimate $50–$100 per month in operating costs under modest usage. This planning estimate includes Supabase Pro (~$25/month), frontend hosting (~$20/month), Python backend hosting (~$5–$30/month), and a small allowance for LLM requests. Caching, rate limits, and free tiers could help control costs, with actual usage monitored before scaling.

Next, we'd like to expand verified research-paper coverage, improve course-matching evaluation, gather USC student feedback, and support richer student skill profiles.

Our long-term goal is simple: make it easier for every Trojan to turn academic interests into meaningful opportunities.

Built With

Share this project:

Updates