Diversity of Demonstrations: Another important factor in the success of few-shot learning isthe diversity of the demonstrations. Naik et al. (2023) propose DiversePrompting where for thequestion of a demonstration, an LLM is used to generate different ways of solving the problem,and then those solutions are used in the prompt. Zhang et al. (2022b) propose to select a diverseset of questions as few-shot examples. Ma et al. (2023) propose a fairness metric for selectingdemonstrations which encourages selecting diverse few-shot demonstrations that produce a nearuniform predictive distribution for a semantic-free input
Độ đa dạng của các ngữ cảnh. Naik đã đề xuất phương pháp DiversePrompting. Trong đó, câu hỏi của một ngữ cảnh sẽ được sử dụng để LLMs có thể tạo ra nhiều cách khác nhau để giải quyết và các câu trả lời này sẽ được sử dụng làm ngữ cảnh tham khảo. Zhang và cộng sự đã đề xuất việc chọn một tập đa dạng các câu hỏi làm ngữ cảnh. Ma đã đề xuất một độ đo về tính công bằng cho việc chọn các ngữ cảnh, khuyến khích việc chọn một tập đa dạng các ngữ cảnh có thể tạo ra mổ phân bố dựa đoán gần chuẩn cho một đầu vào không liên quan đến ngữ nghĩa.