NoRa
Collection
Can Language Models Perform Robust Reasoning in Chain-of-thought Prompting with Noisy Rationales? • 2 items • Updated
question stringlengths 117 269 | answer stringlengths 2 624 | task stringclasses 5
values | noise_type stringclasses 3
values | difficulty stringclasses 3
values | demos stringlengths 4.82k 30.2k | num_demo_thoughts float32 5 17 | num_demo_noisy_thoughts float32 0 7.61 | noise_distribution stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
In base-11, what is 76+14? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 8A | Math-11 | Irrelevant | Hard | Question: In base-11, what is 97+74? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". The Apollo 11 mission was the first spaceflight that landed humans on the Moon. We have 7 + 4 = 11 in base-10. Since we're in base-11, that ... | 14 | 6 | fixed |
In base-11, what is 97+74? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 160 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 18+79? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". We have 8 + 9 = 17 in base-10. Since we're in base-11, that exceeds the maximum value of A for a single digit. In physics, the decibel scale... | 14 | 6 | fixed |
In base-11, what is 85+A3? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 178 | Math-11 | Irrelevant | Hard | Question: In base-11, what is A0+AA? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". In numerology, 11 is considered a master number, signifying intuition, insight, and enlightenment. We have 0 + A = 10 in base-10. In physics... | 14 | 6 | fixed |
In base-11, what is 92+52? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 134 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 19+2A? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". In human biology, the body has 11 major organ systems: integumentary, skeletal, muscular, nervous, endocrine, cardiovascular, lymphatic, resp... | 14 | 6 | fixed |
In base-11, what is 29+58? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 86 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 9A+62? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". We have A + 2 = 12 in base-10. In computer science, '12' is represented as '1100' in binary notation. Since we're in base-11, that exceeds t... | 14 | 6 | fixed |
In base-11, what is A2+51? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 143 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 96+54? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". The Apollo 11 mission was the first spaceflight that landed humans on the Moon. We have 6 + 4 = 10 in base-10. Since we're in base-11, that ... | 14 | 6 | fixed |
In base-11, what is 2A+67? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 96 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 91+17? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". We have 1 + 7 = 8 in base-10. In physics, eight is the number of vertices of a cube. Since we're in base-11, that doesn't exceed the maximum... | 14 | 6 | fixed |
In base-11, what is 91+66? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 147 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 64+70? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". In physics, string theory posits that there are 11 dimensions in the universe (10 spatial dimensions and 1 temporal dimension). We have 4 + ... | 14 | 6 | fixed |
In base-11, what is 69+48? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 106 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 9A+62? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". The Apollo 11 mission was the first spaceflight that landed humans on the Moon. We have A + 2 = 12 in base-10. In computer science, '12' is ... | 14 | 6 | fixed |
In base-11, what is 87+94? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 170 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 55+16? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". The Apollo 11 mission was the first spaceflight that landed humans on the Moon. We have 5 + 6 = 11 in base-10. In numerology, 11 is consider... | 14 | 6 | fixed |
In base-11, what is 7A+19? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 98 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 91+25? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". In human biology, the body has 11 major organ systems: integumentary, skeletal, muscular, nervous, endocrine, cardiovascular, lymphatic, resp... | 14 | 6 | fixed |
In base-11, what is 85+45? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 11A | Math-11 | Irrelevant | Hard | Question: In base-11, what is 73+62? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". In numerology, 11 is considered a master number, signifying intuition, insight, and enlightenment. We have 3 + 2 = 5 in base-10. In mathemat... | 14 | 6 | fixed |
In base-11, what is 23+A3? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 116 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 62+59? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". The Apollo 11 mission was the first spaceflight that landed humans on the Moon. We have 2 + 9 = 11 in base-10. In human biology, the body ha... | 14 | 6 | fixed |
In base-11, what is 42+97? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 129 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 18+A6? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". In human biology, the body has 11 major organ systems: integumentary, skeletal, muscular, nervous, endocrine, cardiovascular, lymphatic, resp... | 14 | 6 | fixed |
In base-11, what is 81+58? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 129 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 8A+A3? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". We have A + 3 = 13 in base-10. In computer science, ROT13 (rotate by 13 places) is a simple letter substitution cipher. Since we're in base-... | 14 | 6 | fixed |
In base-11, what is 51+95? Please reason it step by step. End the response with the result in "Answer:\boxed{result}". | 136 | Math-11 | Irrelevant | Hard | Question: In base-11, what is 91+A2? Please reason it step by step. End the response with the result in "Answer:\boxed{result}".
Answer: In base-11, the digits are "0123456789A". Eleven is the atomic number of sodium in chemistry, a reactive metal that's a key component of table salt. We have 1 + 2 = 3 in base-10. Sin... | 14 | 6 | fixed |
NoRa (Noisy Rationales) is a dataset specifically designed to evaluate the reasoning capabilities of Large Language Models (LLMs) when faced with noisy reasoning processes. This dataset contains reasoning tasks with both clean reasoning samples and samples with different types and difficulties of noise.
The dataset is organized along three main attributes:
Each sample contains the following fields:
question: The question textanswer: The correct answertask: The task type (Math-9, Math-11, Symbolic-Equal, Symbolic-Longer, Commonsense)noise_type: The noise type (Clean, Irrelevant, Inaccurate)difficulty: The difficulty level (Easy, Medium, Hard, or None for Clean samples)demos: Chain-of-thought demonstrations containing example questions and answersnum_demo_thoughts: Average number of thinking steps in each demonstrationnum_demo_noisy_thoughts: Average number of noisy thinking steps in each demonstrationnoise_distribution: Type of noise distribution, e.g., 'fixed' or 'random'from datasets import load_dataset
# Load the entire dataset
dataset = load_dataset("TMLR-Group-HF/NoRa", cache_dir="./dataset_cache")
math11_examples = dataset["test"].filter(lambda example: example["task"] == "Math-11")
symbolic_equal_examples = dataset["test"].filter(lambda example: example["task"] == "Symbolic-Equal")
symbolic_longer_examples = dataset["test"].filter(lambda example: example["task"] == "Symbolic-Longer")
commonsense_examples = dataset["test"].filter(lambda example: example["task"] == "Commonsense")
# Filter by Split (noise type)
clean_examples = dataset["test"].filter(lambda example: example['noise_type'] == "Clean")
irrelevant_examples = dataset["test"].filter(lambda example: example['noise_type'] == "Irrelevant")
inaccurate_examples = dataset["test"].filter(lambda example: example['noise_type'] == "Inaccurate")
# Filter by Difficulty level
easy_examples = dataset["test"].filter(lambda example: example['difficulty'] == "Easy")
medium_examples = dataset["test"].filter(lambda example: example['difficulty'] == "Medium")
hard_examples = dataset["test"].filter(lambda example: example['difficulty'] == "Hard")
# Combined filtering
math9_irrelevant_hard = dataset["test"].filter(
lambda example: example["task"] == "Math-9"
and example['noise_type'] == "Irrelevant"
and example['difficulty'] == "Hard"
)
# Get a single sample
sample = dataset["test"][0]
print(f"Question: {sample['question']}")
print(f"Answer: {sample['answer']}")
print(f"Task: {sample['task']}")
print(f"Demos: ------------------------------")
# Function to create n-shot demos
def get_n_shot_demos(example, n=3):
demos = example['demos'].split('\n\n')[:n]
demos_text = '\n\n'.join(demos)
return demos_text
# Example of 3-shot prompt
demos = get_n_shot_demos(sample, n=3)
print(demos)
print(f"--------------------------------")
print(f"Noise Type: {sample['noise_type']}")
print(f"Difficulty: {sample['difficulty']}")
If you use the NoRa dataset, please cite the original paper:
@inproceedings{zhou2024can,
title={Can Language Models Perform Robust Reasoning in Chain-of-thought Prompting with Noisy Rationales?},
author={Zhou, Zhanke and Tao, Rong and Zhu, Jianing and Luo, Yiwen and Wang, Zengmao and Han, Bo},
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems (NeurIPS 2024)},
year={2024},
url={https://openreview.net/pdf?id=FbuODM02ra}
}
For questions or feedback regarding the dataset, please visit the GitHub repository.