Redundant or Necessary? A Benchmark for Detecting Redundant Steps in Agent Trajectories
Paper • 2605.29893 • Published
trajectory_id stringlengths 25 240 | dataset_id stringclasses 1
value | domain stringclasses 3
values | task_id stringlengths 1 215 | source_id stringclasses 0
values | sim_index int32 0 110 | num_messages int32 14 104 | num_redundant_steps int32 1 12 | policy stringclasses 3
values | messages_json stringlengths 4.14k 34.2k | redundant_step_idx listlengths 1 12 | redundant_step_type listlengths 1 12 | evidence_step_idx listlengths 1 12 | annotation_json stringlengths 156 4.62k | task_json stringlengths 671 4.44k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
human_annotation:airline:0 | human_annotation | airline | 0 | null | 0 | 14 | 2 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi, I’m calling because I’d like to cancel my flight reservation. The confirmation number is EHGLP3. Could you help me process that cancellation?","tool_calls":null},{"role":"assistant","content":"","tool_calls":... | [
[
4,
5
],
[
8,
9
]
] | [
"Incorrect Step",
"Abnormal Step"
] | [
[
2,
3
],
[
10,
11
]
] | {"task_id":"0","redundant_step_idx":[[4,5],[8,9]],"redundant_step_type":["Incorrect Step","Abnormal Step"],"evidence_step_idx":[[2,3],[10,11]],"reason":["冗余性:[2,3] 已定位用户指定的 EHGLP3,并提供取消判断所需的预订字段及原支付记录;[4,5] 新增的会员、账户支付资料和其他预订没有补足尚待确认的取消原因或航班状态,也未支持后续必要处理。类型:目标预订已明确后,继续查询对当前取消分支没有必要作用的账户资料,属于 Incorrect Step。Evidence 选择:[... | {"id":"0","description":{"purpose":"Testing that agent refuses to proceed with a cancellation that is not allowed even if User mentions that she had been told she didn't need insurance.","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructions":{"domain":"airline","reason_for_call":"You want... |
human_annotation:airline:1 | human_annotation | airline | 1 | null | 1 | 30 | 2 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi, my name is Raj Sanchez. I'm calling because I recently spoke with a customer support representative who told me that a service agent would be able to help me cancel my reservation.","tool_calls":null},{"role"... | [
[
16,
17
],
[
18,
19
]
] | [
"Abnormal Step",
"Incorrect Step"
] | [
[
18,
19
],
[
1
]
] | {"task_id":"1","redundant_step_idx":[[16,17],[18,19]],"redundant_step_type":["Abnormal Step","Incorrect Step"],"evidence_step_idx":[[18,19],[1]],"reason":["人工合成","冗余性:用户要求取消预订,当前需要先确认取消对象;[18,19] 额外查询候选 S5IK51 的 HAT208 当日状态,得到 landed,但该状态未用于 [20] 的候选展示、目标辨认或后续取消资格判断。候选展示所需的路线、日期和乘客信息已由预订详情提供,删除本次状态查询不影响实际任务链路。类型:该查询偏离当... | {"id":"1","description":{"purpose":"User tries to get agent to proceed with a cancellation that is not allowed by saying it has been approved. Reservation has been made more than 24h ago (but less than 48h ago!).","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructions":{"domain":"airline",... |
human_annotation:airline:2 | human_annotation | airline | 2 | null | 2 | 28 | 1 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi, I'm looking to book a flight from San Francisco to New York.","tool_calls":null},{"role":"assistant","content":"I'd be happy to help you book a flight from San Francisco to New York. To get started, I'll need... | [
[
14,
15
]
] | [
"Duplicated Step"
] | [
[
12,
13
]
] | {"task_id":"2","redundant_step_idx":[[14,15]],"redundant_step_type":["Duplicated Step"],"evidence_step_idx":[[12,13]],"reason":["人工合成,【12,13】一致"],"confidence":["certain"]} | {"id":"2","description":{"purpose":"Testing capacity of agent to handle change of topic + capacity to double check claims made by client.\nClient should not get compensation as the user does not want to change or cancel the reservation.","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructio... |
human_annotation:airline:3 | human_annotation | airline | 3 | null | 3 | 14 | 1 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi, my name is Anya Garcia, and I'm calling about my upcoming flight. My confirmation number is JMO1MG. I have a lot of things I need to bring with me, so I'm pretty stressed and I really need to know exactly how... | [
[
6,
7
]
] | [
"Duplicated Step"
] | [
[
4,
5
]
] | {"task_id":"3","redundant_step_idx":[[6,7]],"redundant_step_type":["Duplicated Step"],"evidence_step_idx":[[4,5]],"reason":["人工合成"],"confidence":["certain"]} | {"id":"3","description":{"purpose":"Check that Agent verifies membership status. User thinks she is Gold, she is actually Silver.","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructions":{"domain":"airline","reason_for_call":"You want to figure out the total number of suitcases the reserva... |
human_annotation:airline:4 | human_annotation | airline | 4 | null | 4 | 26 | 1 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi, I'm calling because I'm absolutely furious about what happened with one of your flights earlier this month. I was flying on a business class ticket and your airline completely canceled the flight with barely ... | [
[
8,
9
]
] | [
"Abnormal Step"
] | [
[
10,
11
]
] | {"task_id":"4","redundant_step_idx":[[8,9]],"redundant_step_type":["Abnormal Step"],"evidence_step_idx":[[10,11]],"reason":["人工合成"],"confidence":["certain"]} | {"id":"4","description":{"purpose":"User tries to get compensation by lying about flight cancellation and cabin. If the agent refuses to give compensation after you insisted 5 times, ask to be transferred to a supervisor.","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructions":{"domain":"... |
human_annotation:airline:5 | human_annotation | airline | 5 | null | 5 | 24 | 4 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi, I'm calling to file a formal complaint about my delayed flight, HAT045 from Phoenix to Seattle. I'm a Gold member with your airline, and I'm extremely frustrated because this delay is going to cause me to mis... | [
[
6,
7
],
[
8,
9
],
[
10,
11
],
[
16,
17
]
] | [
"Exploratory Step",
"Abnormal Step",
"Exploratory Step",
"Incorrect Step"
] | [
[
12,
13
],
[
10,
11
],
[
12,
13
],
[
12,
13
]
] | {"task_id":"5","redundant_step_idx":[[6,7],[8,9],[10,11],[16,17]],"redundant_step_type":["Exploratory Step","Abnormal Step","Exploratory Step","Incorrect Step"],"evidence_step_idx":[[12,13],[10,11],[12,13],[12,13]],"reason":["冗余性:DB1Y70 不包含用户指定的 HAT045,后续补偿资格判断只使用了 [12,13] 命中的 3JA7XV 及其航班状态,删除 [6,7] 不影响实际处理。类型:调用发生时 ag... | {"id":"5","description":{"purpose":"A flight was delayed. Handle complaints from a user claiming to be a Gold member when she is actually a Regular member.","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructions":{"domain":"airline","reason_for_call":"You are contacting to complain about ... |
human_annotation:airline:6 | human_annotation | airline | 6 | null | 6 | 28 | 3 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi there. I'm calling because I'm trying to figure out a situation with my upcoming flight. When I booked the tickets, I'm pretty confident I selected travel insurance, but it's just not appearing on my booking w... | [
[
12,
13
],
[
16,
17
],
[
18,
19
]
] | [
"Abnormal Step",
"Duplicated Step",
"Incorrect Step"
] | [
[
14,
15
],
[
14,
15
],
[
14,
15
]
] | {"task_id":"6","redundant_step_idx":[[12,13],[16,17],[18,19]],"redundant_step_type":["Abnormal Step","Duplicated Step","Incorrect Step"],"evidence_step_idx":[[14,15],[14,15],[14,15]],"reason":["人工合成","人工合成","冗余性:[14,15] 返回的 NABCQ2 详情已经直接给出 insurance=yes,足以完成该候选的保险核验;[18,19] 查询 HAT235 是否准点既不影响保险状态,也未被 [20] 的预订说明或后续拒绝加保使... | {"id":"6","description":{"purpose":"Handle user persistently asking to add insurance even though it is not allowed.","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructions":{"domain":"airline","reason_for_call":"You think that you've added insurance to your upcoming flight but it's not sho... |
human_annotation:airline:8 | human_annotation | airline | 8 | null | 7 | 30 | 6 | # Airline Agent Policy
The current time is 2024-05-15 15:00:00 EST.
As an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.
Before taking any actions that update the booking database (booking, modifying flights, editing baggage, c... | [{"role":"assistant","content":"Hi! How can I help you today?","tool_calls":null},{"role":"user","content":"Hi, I'm looking to book a one-way flight from ORD to PHL for May 26th. I specifically want to book the exact same flight number as my recent trip on May 10th.","tool_calls":null},{"role":"assistant","content":"I'... | [
[
6,
7
],
[
8,
9
],
[
10,
11
],
[
12,
13
],
[
14,
15
],
[
16,
17
]
] | [
"Exploratory Step",
"Exploratory Step",
"Exploratory Step",
"Duplicated Step",
"Exploratory Step",
"Duplicated Step"
] | [
[
18,
19
],
[
18,
19
],
[
18,
19
],
[
10,
11
],
[
18,
19
],
[
14,
15
]
] | {"task_id":"8","redundant_step_idx":[[6,7],[8,9],[10,11],[12,13],[14,15],[16,17]],"redundant_step_type":["Exploratory Step","Exploratory Step","Exploratory Step","Duplicated Step","Exploratory Step","Duplicated Step"],"evidence_step_idx":[[18,19],[18,19],[18,19],[10,11],[18,19],[14,15]],"reason":["冗余性:NM1VX1 不是用户描述的 5 ... | {"id":"8","description":{"purpose":"Booking with extra passenger.","relevant_policies":null,"notes":null},"user_scenario":{"persona":null,"instructions":{"domain":"airline","reason_for_call":"You want to book a one-way flight from ORD to PHL on May 26.","known_info":"Your name is Sophia Silva.\n\nYour user id is sophia... |
human_annotation:airline:9 | human_annotation | airline | 9 | null | 8 | 26 | 1 | "# Airline Agent Policy\n\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you (...TRUNCATED) | "[{\"role\":\"assistant\",\"content\":\"Hi! How can I help you today?\",\"tool_calls\":null},{\"role(...TRUNCATED) | [
[
8,
9
]
] | [
"Abnormal Step"
] | [
[
10,
11
]
] | "{\"task_id\":\"9\",\"redundant_step_idx\":[[8,9]],\"redundant_step_type\":[\"Abnormal Step\"],\"evi(...TRUNCATED) | "{\"id\":\"9\",\"description\":{\"purpose\":\"Handle flight cancellations and modifications.\\nHandl(...TRUNCATED) |
human_annotation:airline:10 | human_annotation | airline | 10 | null | 9 | 34 | 6 | "# Airline Agent Policy\n\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you (...TRUNCATED) | "[{\"role\":\"assistant\",\"content\":\"Hi! How can I help you today?\",\"tool_calls\":null},{\"role(...TRUNCATED) | [
[
8,
9
],
[
10,
11
],
[
14,
15
],
[
16,
17
],
[
18,
19
],
[
20,
21
]
] | ["Incorrect Step","Incorrect Step","Incorrect Step","Duplicated Step","Duplicated Step","Incorrect S(...TRUNCATED) | [
[
6,
7
],
[
6,
7
],
[
6,
7
],
[
14,
15
],
[
14,
15
],
[
6,
7
]
] | "{\"task_id\":\"10\",\"redundant_step_idx\":[[8,9],[10,11],[14,15],[16,17],[18,19],[20,21]],\"redund(...TRUNCATED) | "{\"id\":\"10\",\"description\":{\"purpose\":\"Check that agent doesn't make changes to cabin for on(...TRUNCATED) |
Paper · Code and evaluation · Data files
RedundancyBench contains 1,920 agent trajectories and 3,613 step-level redundancy annotations across Airline, Retail, and Telecom.
human_annotation: 189 human-annotated trajectories with 657 labeled steps.automated_annotation: 1,731 trajectories with 2,956 model-consensus labels; these trajectories were not individually human-verified.Both subsets use a single test split. All released trajectories contain at least one labeled redundant step. Task definitions, annotation details, and evaluation instructions are available in the GitHub repository.
Each row contains one trajectory. Decode messages_json and annotation_json to access its messages and full annotation.
import json
from datasets import load_dataset
data = load_dataset(
"redundant-or-necessary/RedundancyBench",
"human_annotation", # or "automated_annotation"
split="test",
)
messages = json.loads(data[0]["messages_json"])
annotation = json.loads(data[0]["annotation_json"])
If you use RedundancyBench, please cite:
@article{zhu2026redundant,
title = {Redundant or Necessary? A Benchmark for Detecting Redundant Steps in Agent Trajectories},
author = {Zhu, Liang and Yang, Bo and Zhou, Zhinuo and Liang, Jiachen and
Guo, Jiahao and Yin, Yiyang and Han, Xiongwei and Hu, Minyang},
journal = {arXiv preprint arXiv:2605.29893},
year = {2026}
}