Primary competition visual

Specializing Large Language Models for Telecom Networks by ITU AI/ML in 5G Challenge

€6 000 EUR
Completed (over 1 year ago)
Generative AI
471 joined
131 active
Starti
May 07, 24
Closei
Jul 26, 24
Reveali
Jul 26, 24
User avatar
ML_Wizzard
Nasarawa State University
Optimizing Option Selection in RAG Systems for Accurate Multiple Choice Answers
Data · 28 Jun 2024, 09:41 · 3

Hello @participant, in the case of RAG, are you using similarity to select the option? Since our RAG system answers questions based on the document, the predicted answer might not match the options exactly. The system will attempt to answer the question, and the answer might not be an exact match to any option but could be similar or more verbose than the options.

Discussion 3 answers

As per my understanding, Use RAG for retrieving relevant documents. We can pass options to LLM when predicting. So, instead of predicting answer, predicting option would be a better option. Make sure that you aren't passing options when retrieving relevant documents using RAG. This doesn't violate guidelines of the competition. Hope this helps : )

28 Jun 2024, 10:35
Upvotes 1

When answering multiple-choice questions, the RAG system might generate a response that doesn’t match the provided options exactly. To address this, optimizing the selection process involves using similarity measures (e.g., cosine similarity) between the generated answer and the options bitlife. This way, even if the response is more verbose or slightly different, it selects the closest matching option based on content similarity.

9 Oct 2024, 03:14
Upvotes 0
  • Use Similarity Metrics: Calculate cosine similarity between the generated answer and each option, choosing the closest match.
  • Prompt Optimization: Adjust prompts to encourage concise answers that align better with options.
  • Confidence Threshold: Set a threshold to avoid guessing if no option closely matches. snow rider
  • Re-Ranking with QA Models: Use a separate QA model to rank options based on their similarity to the RAG output.
6 Nov 2024, 02:02
Upvotes 0