TravelPlanner: A Benchmark for Real-World Planning with Language Agents
Paper • 2402.01622 • Published • 38
sample_id int64 1 45 | split stringclasses 1
value | org stringlengths 5 16 | dest stringlengths 4 12 | days int64 3 7 | visiting_city_number int64 1 3 | dates listlengths 3 7 | people_number int64 1 8 | local_constraint dict | budget int64 900 19.4k | query stringlengths 154 481 | level stringclasses 3
values | reference_information listlengths 9 21 | annotated_query_metadata dict | annotated_plan_days listlengths 3 7 | raw_date stringlengths 42 98 | raw_local_constraint stringlengths 80 154 | raw_annotated_plan stringlengths 1.53k 4.09k | raw_reference_information stringlengths 11.1k 48.1k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | train | St. Petersburg | Rockford | 3 | 1 | [
"2022-03-16",
"2022-03-17",
"2022-03-18"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 1,700 | Please help me plan a trip from St. Petersburg to Rockford spanning 3 days from March 16th to March 18th, 2022. The travel should be planned for a single person with a budget of $1,700. | easy | [
{
"content": " Name Latitude Longitude Address Phone Website City\n Burpee Museum of Natural History 42.277324 -89.088142 ... | {
"budget": 1700,
"date": [
"2022-03-16",
"2022-03-17",
"2022-03-18"
],
"days": 3,
"dest": "Rockford",
"level": "easy",
"local_constraint": {
"cuisine": null,
"house rule": null,
"room type": null,
"transportation": null
},
"org": "St. Petersburg",
"people_number": 1,
"... | [
{
"accommodation": "Pure luxury one bdrm + sofa bed on Central Park, Rockford",
"attraction": "-",
"breakfast": "-",
"current_city": "from St. Petersburg to Rockford",
"day": 1,
"dinner": "Coco Bambu, Rockford",
"lunch": "-",
"transportation": "Flight Number: F3573659, from St. Peter... | ['2022-03-16', '2022-03-17', '2022-03-18'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | [{'org': 'St. Petersburg', 'dest': 'Rockford', 'days': 3, 'visiting_city_number': 1, 'date': ['2022-03-16', '2022-03-17', '2022-03-18'], 'people_number': 1, 'local_constraint': {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None}, 'budget': 1700, 'query': 'Please help me plan a trip from St.... | [{'Description': 'Attractions in Rockford', 'Content': " Name Latitude Longitude Address Phone Website City\n Burpee Museum of Natural History 4... |
2 | train | Kansas City | Pensacola | 3 | 1 | [
"2022-03-27",
"2022-03-28",
"2022-03-29"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 900 | Can you provide a travel plan for 1 person departing from Kansas City to Pensacola for 3 days, from March 27th to March 29th, 2022, with a budget of $900? | easy | [
{
"content": " Name Latitude Longitude Address Phone Website City\n Historic Pensacola Village 30.408745 -87.213078 ... | {
"budget": 900,
"date": [
"2022-03-27",
"2022-03-28",
"2022-03-29"
],
"days": 3,
"dest": "Pensacola",
"level": "easy",
"local_constraint": {
"cuisine": null,
"house rule": null,
"room type": null,
"transportation": null
},
"org": "Kansas City",
"people_number": 1,
"que... | [
{
"accommodation": "Cozy 1-Bedroom Apartment 2 Blocks from the Subway, Pensacola",
"attraction": "-",
"breakfast": "-",
"current_city": "from Kansas City to Pensacola",
"day": 1,
"dinner": "Jyoti Dhaba, Pensacola",
"lunch": "-",
"transportation": "Self-driving, from Kansas City to Pe... | ['2022-03-27', '2022-03-28', '2022-03-29'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | [{'org': 'Kansas City', 'dest': 'Pensacola', 'days': 3, 'visiting_city_number': 1, 'date': ['2022-03-27', '2022-03-28', '2022-03-29'], 'people_number': 1, 'local_constraint': {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None}, 'budget': 900, 'query': 'Can you provide a travel plan for 1 pe... | [{'Description': 'Attractions in Pensacola', 'Content': " Name Latitude Longitude Address Phone Website City\n Historic Pensaco... |
3 | train | Las Vegas | Stockton | 3 | 1 | [
"2022-03-03",
"2022-03-04",
"2022-03-05"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 1,400 | Please design a travel plan departing from Las Vegas and heading to Stockton for 3 days, from March 3rd to March 5th, 2022, for one person, with a budget of $1,400. | easy | [
{
"content": " Name Latitude Longitude Address Phone Website City\n Children's Museum, Stockton 37.951976 -121.296786... | {
"budget": 1400,
"date": [
"2022-03-03",
"2022-03-04",
"2022-03-05"
],
"days": 3,
"dest": "Stockton",
"level": "easy",
"local_constraint": {
"cuisine": null,
"house rule": null,
"room type": null,
"transportation": null
},
"org": "Las Vegas",
"people_number": 1,
"query... | [
{
"accommodation": "Private Apt 2BR/1Bath/Kitchen/Parking in OUR HOME, Stockton",
"attraction": "Louis Park, Stockton;Buckley Cove Park, Stockton;",
"breakfast": "Biaggi's Ristorante Italiano, Stockton",
"current_city": "from Las Vegas to Stockton",
"day": 1,
"dinner": "Muffins, Stockton",
... | ['2022-03-03', '2022-03-04', '2022-03-05'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | [{'org': 'Las Vegas', 'dest': 'Stockton', 'days': 3, 'visiting_city_number': 1, 'date': ['2022-03-03', '2022-03-04', '2022-03-05'], 'people_number': 1, 'local_constraint': {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None}, 'budget': 1400, 'query': 'Please design a travel plan departing fr... | [{'Description': 'Attractions in Stockton', 'Content': " Name Latitude Longitude Address Phone Website City\n Children's Muse... |
4 | train | New Orleans | Louisville | 3 | 1 | [
"2022-03-12",
"2022-03-13",
"2022-03-14"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 1,900 | Craft a travel plan for me to depart from New Orleans and head to Louisville for 3 days, from March 12th to March 14th, 2022. I will be travelling alone with a budget of $1,900. | easy | [
{
"content": " Name Latitude Longitude Address Phone Website City\n Louisville Mega Cavern 38.201226 -85.703929 1841 Taylor Ave, Louisville, KY 40213, U... | {
"budget": 1900,
"date": [
"2022-03-12",
"2022-03-13",
"2022-03-14"
],
"days": 3,
"dest": "Louisville",
"level": "easy",
"local_constraint": {
"cuisine": null,
"house rule": null,
"room type": null,
"transportation": null
},
"org": "New Orleans",
"people_number": 1,
"q... | [
{
"accommodation": "Spacious Room and PRIVATE bath in Harlem Townhouse, Louisville",
"attraction": "Churchill Downs, Louisville;",
"breakfast": "-",
"current_city": "from New Orleans to Louisville",
"day": 1,
"dinner": "McDonald's, Louisville",
"lunch": "-",
"transportation": "Self-d... | ['2022-03-12', '2022-03-13', '2022-03-14'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | [{'org': 'New Orleans', 'dest': 'Louisville', 'days': 3, 'visiting_city_number': 1, 'date': ['2022-03-12', '2022-03-13', '2022-03-14'], 'people_number': 1, 'local_constraint': {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None}, 'budget': 1900, 'query': 'Craft a travel plan for me to depart... | [{'Description': 'Attractions in Louisville', 'Content': " Name Latitude Longitude Address Phone Website City\n Louisville Mega Cavern 38.201226 -85.703929 1841... |
5 | train | Las Vegas | Denver | 3 | 1 | [
"2022-03-12",
"2022-03-13",
"2022-03-14"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 1,600 | Please provide me with a travel plan that departs from Las Vegas to Denver for 3 days, from March 12th to March 14th, 2022. The budget for this solo trip is $1,600. | easy | [
{
"content": " Name Latitude Longitude Address Phone Website City\n Denver Zoo 39.749596 -104.950852 23... | {
"budget": 1600,
"date": [
"2022-03-12",
"2022-03-13",
"2022-03-14"
],
"days": 3,
"dest": "Denver",
"level": "easy",
"local_constraint": {
"cuisine": null,
"house rule": null,
"room type": null,
"transportation": null
},
"org": "Las Vegas",
"people_number": 1,
"query":... | [
{
"accommodation": "Peaceful, beautiful home away , Denver",
"attraction": "Denver Zoo, Denver;",
"breakfast": "-",
"current_city": "from Las Vegas to Denver",
"day": 1,
"dinner": "Nukkadwala, Denver",
"lunch": "The Fatty Bao - Asian Gastro Bar, Denver",
"transportation": "Flight Num... | ['2022-03-12', '2022-03-13', '2022-03-14'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | [{'org': 'Las Vegas', 'dest': 'Denver', 'days': 3, 'visiting_city_number': 1, 'date': ['2022-03-12', '2022-03-13', '2022-03-14'], 'people_number': 1, 'local_constraint': {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None}, 'budget': 1600, 'query': 'Please provide me with a travel plan that ... | [{'Description': 'Attractions in Denver', 'Content': ' Name Latitude Longitude Address Phone Website City\n Denver Zoo 3... |
6 | train | Orlando | Texas | 5 | 2 | [
"2022-03-10",
"2022-03-11",
"2022-03-12",
"2022-03-13",
"2022-03-14"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 3,100 | "Could you assist in crafting a travel itinerary for a 5-day, single-person trip departing from Orla(...TRUNCATED) | easy | [{"content":" Name Latitude Longitude (...TRUNCATED) | {"budget":3100,"date":["2022-03-10","2022-03-11","2022-03-12","2022-03-13","2022-03-14"],"days":5,"d(...TRUNCATED) | [{"accommodation":"Charming Bedroom in Gramercy, San Antonio(Texas)","attraction":"San Antonio Zoo, (...TRUNCATED) | ['2022-03-10', '2022-03-11', '2022-03-12', '2022-03-13', '2022-03-14'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | "[{'org': 'Orlando', 'dest': 'Texas', 'days': 5, 'visiting_city_number': 2, 'date': ['2022-03-10', '(...TRUNCATED) | "[{'Description': 'Attractions in San Antonio', 'Content': \" (...TRUNCATED) |
7 | train | Santa Ana | Montana | 5 | 2 | [
"2022-03-06",
"2022-03-07",
"2022-03-08",
"2022-03-09",
"2022-03-10"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 3,600 | "Could you plan a 5-day solo trip for me? I'll be setting off from Santa Ana and intend to visit 2 d(...TRUNCATED) | easy | [{"content":" Name Latitude Longitude (...TRUNCATED) | {"budget":3600,"date":["2022-03-06","2022-03-07","2022-03-08","2022-03-09","2022-03-10"],"days":5,"d(...TRUNCATED) | [{"accommodation":"Historic Rockaway Beach Bungalow-By Subway & Beach, Helena(Montana)","attraction"(...TRUNCATED) | ['2022-03-06', '2022-03-07', '2022-03-08', '2022-03-09', '2022-03-10'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | "[{'org': 'Santa Ana', 'dest': 'Montana', 'days': 5, 'visiting_city_number': 2, 'date': ['2022-03-06(...TRUNCATED) | "[{'Description': 'Attractions in Helena', 'Content': \" Name Latit(...TRUNCATED) |
8 | train | Baton Rouge | Texas | 5 | 2 | [
"2022-03-01",
"2022-03-02",
"2022-03-03",
"2022-03-04",
"2022-03-05"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 2,300 | "Could you help create a 5-day travel itinerary, starting from Baton Rouge moving to 2 cities in Tex(...TRUNCATED) | easy | [{"content":" Name Latitude Longitude (...TRUNCATED) | {"budget":2300,"date":["2022-03-01","2022-03-02","2022-03-03","2022-03-04","2022-03-05"],"days":5,"d(...TRUNCATED) | [{"accommodation":"Apartment minutes from manhattan, Abilene(Texas)","attraction":"-","breakfast":"-(...TRUNCATED) | ['2022-03-01', '2022-03-02', '2022-03-03', '2022-03-04', '2022-03-05'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | "[{'org': 'Baton Rouge', 'dest': 'Texas', 'days': 5, 'visiting_city_number': 2, 'date': ['2022-03-01(...TRUNCATED) | "[{'Description': 'Attractions in Abilene', 'Content': \" (...TRUNCATED) |
9 | train | Memphis | Pennsylvania | 5 | 2 | [
"2022-03-22",
"2022-03-23",
"2022-03-24",
"2022-03-25",
"2022-03-26"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 1,400 | "Can you devise a travel plan that departs from Memphis and includes 2 cities in Pennsylvania? The t(...TRUNCATED) | easy | [{"content":" Name Latitude Longitude (...TRUNCATED) | {"budget":1400,"date":["2022-03-22","2022-03-23","2022-03-24","2022-03-25","2022-03-26"],"days":5,"d(...TRUNCATED) | [{"accommodation":"Small and Cozy room on Upper West Side, State College(Pennsylvania)","attraction"(...TRUNCATED) | ['2022-03-22', '2022-03-23', '2022-03-24', '2022-03-25', '2022-03-26'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | "[{'org': 'Memphis', 'dest': 'Pennsylvania', 'days': 5, 'visiting_city_number': 2, 'date': ['2022-03(...TRUNCATED) | "[{'Description': 'Attractions in State College', 'Content': \" Na(...TRUNCATED) |
10 | train | Greer | Pennsylvania | 5 | 2 | [
"2022-03-05",
"2022-03-06",
"2022-03-07",
"2022-03-08",
"2022-03-09"
] | 1 | {
"cuisine": null,
"house_rule": null,
"room_type": null,
"transportation": null
} | 3,400 | "Can you create a 5-day travel plan for one person departing from Greer and visiting 2 cities in Pen(...TRUNCATED) | easy | [{"content":" Name Latitude Longitude (...TRUNCATED) | {"budget":3400,"date":["2022-03-05","2022-03-06","2022-03-07","2022-03-08","2022-03-09"],"days":5,"d(...TRUNCATED) | [{"accommodation":"Top floor of an amazing duplex, Philadelphia(Pennsylvania)","attraction":"-","bre(...TRUNCATED) | ['2022-03-05', '2022-03-06', '2022-03-07', '2022-03-08', '2022-03-09'] | {'house rule': None, 'cuisine': None, 'room type': None, 'transportation': None} | "[{'org': 'Greer', 'dest': 'Pennsylvania', 'days': 5, 'visiting_city_number': 2, 'date': ['2022-03-0(...TRUNCATED) | "[{'Description': 'Attractions in Philadelphia', 'Content': \" (...TRUNCATED) |
benchmark) Normalized, typed, parquet-first packaging of the TravelPlanner benchmark for planning-centric agent evaluation.
This dataset repo contains:
benchmark config (train/validation/test) in typed parquet.reference_entries config: flattened reference-info entries (attractions/restaurants/accommodations/flights/self-driving/taxi).metadata/:dataset_statistics.jsonparse_errors.parquetTotal: 1225
benchmark)
Columns:
sample_id (int64)split (string)org, dest (string)days (int64)visiting_city_number (int64, nullable on test)dates (list)people_number (int64, nullable on test)local_constraint (struct, nullable on test)house_rule (string)cuisine (list)room_type (string)transportation (string)budget (int64, nullable on test)query (string)level (easy|medium|hard)reference_information (list)description (string)content (string)annotated_query_metadata (struct, only train)annotated_plan_days (list, only train)raw_* columns to preserve exact original serialized strings for reproducibility.annotated_plan (normalized into annotated_plan_days).Typical model input:
queryreference_informationTypical submission format (for evaluator):
{"idx": 1, "query": "...", "plan": [{...day entries...}]}
Reference example in upstream:
postprocess/example_evaluation.jsonlEvaluator source:
evaluation/eval.pyevaluation/commonsense_constraint.pyevaluation/hard_constraint.pyMain reported metrics:
for each sample i:
plan_i = submission[i].plan
if plan_i is empty:
commonsense_i = None
hard_i = None
else:
commonsense_i = eval_commonsense(query_i, plan_i)
if commonsense_i passes preconditions:
hard_i = eval_hard(query_i, plan_i)
else:
hard_i = None
aggregate pass/fail counts across constraints
compute micro and macro rates
compute final pass (all commonsense + all hard)
Note: upstream evaluator uses split-specific fixed denominators for headline reporting.
Upstream columns such as date, local_constraint, annotated_plan, and reference_information are serialized Python literals stored as strings.
This normalized release parses them into typed nested columns while preserving raw originals via raw_* columns.
from datasets import load_dataset
ds = load_dataset("tuandunghcmut/travelplanner-benchmark-normalized", "benchmark")
print(ds)
print(ds["train"][0].keys())
from datasets import load_dataset
ref = load_dataset("tuandunghcmut/travelplanner-benchmark-normalized", "reference_entries", split="train")
print(ref[0])
query + reference_information.reference_entries.annotated_plan_days.72d34bc (captured from local clone of upstream repo).osunlp/TravelPlanner (train.csv/validation.csv/test.csv).scripts/.This normalized packaging follows upstream dataset license: CC-BY-4.0.
Please cite the original paper:
@inproceedings{xie2024travelplanner,
title={TravelPlanner: A Benchmark for Real-World Planning with Language Agents},
author={Xie, Jian and Zhang, Kai and Chen, Jiangjie and Zhu, Tinghui and Lou, Renze and Tian, Yuandong and Xiao, Yanghua and Su, Yu},
booktitle={Forty-first International Conference on Machine Learning},
year={2024}
}