hsuvaskakoty commited on
Commit
02f4c69
·
verified ·
1 Parent(s): 2884bb3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +252 -1
README.md CHANGED
@@ -1,3 +1,254 @@
1
  ---
2
- license: mit
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ task_categories:
3
+ - text-generation
4
+ language:
5
+ - en
6
+ tags:
7
+ - agent
8
+ - benchmarking
9
+ - policy-adherence
10
+ size_categories:
11
+ - n<1K
12
  ---
13
+
14
+
15
+
16
+ # DRIP-R: Decision-making and Reasoning In ambiguous Policy for Retail
17
+
18
+ [📄 Paper (arXiv:2605.07699)](https://arxiv.org/abs/2605.07699) · [💻 Code](https://github.com/ITU-NLP/drip-r-bench)
19
+
20
+ ## Dataset Summary
21
+
22
+ DRIP-R is a benchmark for evaluating LLM customer-service agents when the governing policy is ambiguous. It pairs 40 return tasks, each built on at least one ambiguous clause of Amazon's return policy so that no single resolution is "correct", with 10 customer personas, giving 400 scenarios.
23
+
24
+ ## Dataset at a Glance
25
+
26
+
27
+ | Attribute | Value |
28
+ |-----------------|-------------------------------------------------------------------------------------------------------------|
29
+ | Domain | Retail order returns (Amazon return policy + one related third-party-seller policy) |
30
+ | Scenarios | 400 (10 personas × 40 tasks) |
31
+ | Tasks | 40 |
32
+ | Personas | 10 |
33
+ | Task complexity | Very High: 23 · High: 16 · Medium: 1 |
34
+ | Ambiguity types | Vagueness, Coordination Ambiguity, Incompleteness, Missing Condition, Semantic Ambiguity (about 3 per task) |
35
+ | Outcome space | 7 categories; **no gold label by design** |
36
+ | Language | English |
37
+ | Origin | Synthetic (LLM-generated, human-validated) |
38
+
39
+
40
+ ## Supported Tasks and Evaluation
41
+
42
+ The intended use is to simulate a customer–agent conversation (agent has tool access) and score the agent's behavior and final resolution. The paper's judge pipeline scores five dimensions (policy adherence, dialogue quality, behavioral alignment, task-resolution adherence, interest alignment) and classifies each resolution into one of seven outcomes: Full Refund, Partial Refund, Refund with Gift Card, Deny Refund, Replacement, Escalate to Human, User Abort.
43
+
44
+ > Headline result from the paper: across four frontier models, only 4.2% of scenarios ended in the same resolution for all four models.
45
+
46
+ ## Dataset Structure
47
+
48
+ ### Repository files
49
+
50
+
51
+ | File | Config | Records | Contents |
52
+ |-------------------|-----------------------|---------|-----------------------------------------------------------------------------------------------|
53
+ | `scenarios.jsonl` | `scenarios` (default) | 400 | Full simulation inputs: policy text + persona + task + opening customer message + role briefs |
54
+ | `tasks.jsonl` | `tasks` | 40 | Ambiguity-grounded return tasks |
55
+ | `personas.jsonl` | `personas` | 10 | Synthetic customer personas |
56
+
57
+ ### Data Instances
58
+
59
+ **Task** (`tasks`, long strings truncated with `…`):
60
+
61
+ ```json
62
+ {
63
+ "task_id": "task_000",
64
+ "is_stratified": true,
65
+ "stratified_task_idx_aliases": ["task_000"],
66
+ "detail": "Customer purchased the \"OmniPro Wireless Security Camera System (2 Cameras, 1 Hub)\" and the \"SafePad Outdoor Power Extension Cable\" in a single order. The extension cable was delivered one week later than the cameras due to a carrier delay. … The customer requires a swift resolution due to scheduled travel in three days, and is conflicted whether to seek a replacement (if eligible) for only the malfunctioning camera or an exchange for a different model.",
67
+ "reason": "Customer needs clarity on return window for delayed partial shipment, eligibility and degree of refund for opened/used and sealed items, reconciliation of used item condition, and bundle rebate calculation—plus replacement versus exchange options.",
68
+ "task": "Order with mixed delivery dates and item conditions (one camera used/opened, others sealed, extension cable unopened) is subject to return request involving timing, condition, refund calculation, and product swap ambiguities.",
69
+ "related_policy_issues": "[\"No specifics on what constitutes 'certain circumstances' warranting a longer refund timeframe.\", \"Borderline scenarios (such as limited item use, light wear, or opened packaging) are not addressed, resulting in workflow friction for return eligibility determination.\", …]",
70
+ "complexity_level": "Very High Complexity",
71
+ "complexity_ordinal": 4,
72
+ "primary_ambiguity_type": "Coordination Ambiguity",
73
+ "all_ambiguity_types": "[\"Coordination Ambiguity\", \"Incompleteness\", \"Vagueness\"]",
74
+ "stratum_label": "Coordination Ambiguity__High"
75
+ }
76
+
77
+ ```
78
+
79
+ **Persona** (`personas`):
80
+
81
+ ```json
82
+ {
83
+ "Name": "Janet Rogers",
84
+ "Age-range": "45-50",
85
+ "Location": "United States",
86
+ "Gender": "Female",
87
+ "Job Sector": "Nutrition",
88
+ "Income range": "60,000-80,000 USD",
89
+ "Person description": "Janet is the nutrition director for a mid-sized county school district. She is committed to providing healthy, balanced meals to students and is an expert in school nutrition policy, compliance, and federal regulations. …",
90
+ "Language Style": "Terse",
91
+ "Personality Style": "{'Openness': 2, 'Conscientiousness': 2, 'Extraversion': 2, 'Agreeableness': 2, 'Neuroticism': 3}",
92
+ "Communication style": "Dismissive",
93
+ "Persona_id": "Janet_Nutrition_USA_01"
94
+ }
95
+
96
+ ```
97
+
98
+ **Scenario** (`scenarios`, this is `task_000` × Janet; policy text truncated):
99
+
100
+ ```json
101
+ {
102
+ "scenario_id": "Janet_t000_47a3",
103
+ "task_id": "task_000",
104
+ "source": "427",
105
+ "Policy": {
106
+ "Primary Policy": {"url": null, "text": "Amazon Return Policy\nEasy shopping, simple returns - that's our promise. …"},
107
+ "Related policies": [{"url": null, "text": "Returns to Third-Party Sellers\nWhen you order from a third-party seller that fulfills and ships its own inventory, … "}]
108
+ },
109
+ "persona": { /* all fields of the persona record above */ },
110
+ "task": { /* all fields of the task record above, except task_id / is_stratified / aliases */ },
111
+ "first_customer_message": "Hi, I need to return the cameras from my order. One of them doesn’t work with my Wi-Fi, I think I messed up the setup a bit, but the other one and the extension cord are sealed. I'm not sure about the return timing for the extension, since it came later. Can you help with that?",
112
+ "detail_agent": "Customer wants to return the cameras from their order and is asking about the return timing for the extension cord.",
113
+ "customer_task_detail": {
114
+ "basic_info": "Customer ordered the 'OmniPro Wireless Security Camera System (2 Cameras, 1 Hub)' and the 'SafePad Outdoor Power Extension Cable.' The cameras were delivered first, and the extension cable arrived a week later due to a delay.",
115
+ "private_info": "One camera was opened and set up, revealing it doesn't support the local Wi-Fi frequency. It was then repacked with minor signs of use. The second camera and hub are unopened, while the extension cable box is also unopened.",
116
+ "behavior": "Customer withholds details about the specific status of the used camera and their uncertainty about eligibility for returning opened items until an agent inquires about the setup process or details surrounding the condition of each item."
117
+ }
118
+ }
119
+
120
+ ```
121
+
122
+ ### Data Fields
123
+
124
+ #### Task
125
+
126
+ | Field | Type | Description |
127
+ |--------------------------------|----------------------------|-----------------------------------------------------------------------------|
128
+ | `task_id` | string | e.g. `task_000`; `task_E01`–`task_E06` are additional, non-stratified tasks |
129
+ | `is_stratified` | bool | Drawn from stratified selection (true) or additional task (false) |
130
+ | `stratified_task_idx_aliases` | list[string] | Original stratified indices collapsed into this task during de-duplication |
131
+ | `detail` | string | Full narrative of the customer's return situation |
132
+ | `reason` | string | Short summary of the customer's concern |
133
+ | `task` | string | One-line classification of the return type |
134
+ | `related_policy_issues` | string (JSON-encoded list) | Policy ambiguities this task depends on |
135
+ | `complexity_level` | string | Medium, High, or Very High Complexity |
136
+ | `complexity_ordinal` | int | Numerical complexity level (see note on ordinals) |
137
+ | `primary_ambiguity_type` | string | Main ambiguity type targeted |
138
+ | `all_ambiguity_types` | string (JSON-encoded list) | All ambiguity types present |
139
+ | `stratum_label` | string | Primary ambiguity type + diversity tier used for stratified sampling |
140
+
141
+
142
+ #### Persona
143
+ | Field | Description |
144
+ |-----------------------|------------------------------------------------------------|
145
+ | `Name` | Persona name |
146
+ | `Age-range` | Age range of the persona |
147
+ | `Location` | Geographic location |
148
+ | `Gender` | Gender of the persona |
149
+ | `Job Sector` | Employment sector |
150
+ | `Income range` | Income range of the persona |
151
+ | `Person description` | Narrative description of the persona |
152
+ | `Language Style` | Joos' Five Clocks language register |
153
+ | `Personality Style` | Big Five traits (1–5), stored as a Python-dict string |
154
+ | `Communication style` | Preferred communication style |
155
+ | `Persona_id` | Unique persona identifier |
156
+
157
+
158
+ #### Scenario
159
+
160
+ | Field | Description |
161
+ |--------------------------|------------------------------------------------------------------------------------------------------------------|
162
+ | `scenario_id` | Persona first-name token + task index + short hash; use `persona.Persona_id` for identification of "Dr." personas |
163
+ | `task_id` | Links to `tasks.task_id` |
164
+ | `source` | Internal provenance marker (`"427"` or `"516_extra"`) <!-- TODO: explain or drop --> |
165
+ | `Policy` | `Primary Policy` and `Related policies`: full policy text repeated in every record |
166
+ | `persona` | Embedded copy of the persona record |
167
+ | `task` | Embedded copy of the task record |
168
+ | `first_customer_message` | LLM-generated opening message that seeds the conversation |
169
+ | `detail_agent` | Brief, CRM-style framing of the request given to the agent |
170
+ | `customer_task_detail` | Customer-simulator briefing: `basic_info` (shared), `private_info` (withheld until asked), `behavior` (strategy) |
171
+
172
+
173
+ ### Data Splits
174
+
175
+ One `train` split per config. DRIP-R is an evaluation benchmark and has no train/validation/test partition.
176
+
177
+ ## Dataset Creation
178
+
179
+ ### Source Data
180
+
181
+ - **Policy:** Amazon's public return policy and its "Returns to Third-Party Sellers" page. <!-- TODO: add retrieval date; the text references the 2025 holiday window -->
182
+ - **Products:** two or three items per task sampled from an open Amazon product-description dataset on Hugging Face (no product combination reused).
183
+ - **Personas:** drawn from PersonaHub (Ge et al., 2024), then augmented with Big Five traits, communication style, language register, and demographics.
184
+
185
+
186
+ ### Annotations
187
+
188
+ Three expert annotators validated task realism and plausible outcomes (10 tasks; annotators disagreed on at least one outcome for 9 of them, which is evidence of genuine ambiguity) and labeled conversations to calibrate the LLM judge. **These annotations are not included in this release.**
189
+
190
+ ### Personal and Sensitive Information
191
+
192
+ All persona attributes are synthetic.
193
+
194
+ ## Considerations
195
+
196
+ ### Intended Use
197
+
198
+ Evaluating how LLM agents interpret, justify, and act on ambiguous policies. It is intended as an evaluation benchmark; avoid mixing it into training data.
199
+
200
+ ### Out-of-Scope Use
201
+
202
+ Not a source of "correct" return decisions and not validated for production customer-service deployment.
203
+
204
+ ### Avoid Evaluation Leakage
205
+
206
+ The evaluated agent should see only `Policy`, `detail_agent`, and the simulated customer's messages. The `task` object (especially `related_policy_issues`) and `customer_task_detail.private_info` are designer/simulator-side information and should not be shown to the agent.
207
+
208
+
209
+
210
+
211
+ ## Usage
212
+
213
+ ```python
214
+ import ast, json
215
+ from datasets import load_dataset
216
+
217
+ scenarios = load_dataset("hsuvaskakoty/DRIP-R", "scenarios", split="train")
218
+ tasks = load_dataset("hsuvaskakoty/DRIP-R", "tasks", split="train")
219
+ personas = load_dataset("hsuvaskakoty/DRIP-R", "personas", split="train")
220
+
221
+ row = scenarios[0]
222
+ print(row["first_customer_message"])
223
+ print(json.loads(row["task"]["all_ambiguity_types"]))
224
+ print(ast.literal_eval(row["persona"]["Personality Style"]))
225
+
226
+ ```
227
+
228
+ ## Additional Information
229
+
230
+
231
+ ### Citation
232
+
233
+ ```bibtex
234
+ @misc{borkakoty2026dripr,
235
+ title = {{DRIP-R}: A Benchmark for Decision-Making and Reasoning Under Real-World Policy Ambiguity in the Retail Domain},
236
+ author = {Borkakoty, Hsuvas and Pohl, Sebastian and Wang, Cheng and Chen, Bei and Hou, Yufang},
237
+ year = {2026},
238
+ eprint = {2605.07699},
239
+ archivePrefix = {arXiv}
240
+ }
241
+
242
+ ```
243
+
244
+ ### Authors and Contact
245
+
246
+ Hsuvas Borkakoty*, Sebastian Pohl* (*equal contribution), Cheng Wang, Bei Chen, Yufang Hou. IT:U Interdisciplinary Transformation University Austria; Amazon, Berlin. Contact: hsuvas.borkakoty@it-u.at
247
+
248
+ ### Acknowledgements
249
+
250
+ Funded by the RobustLLMAgents project in partnership with Amazon Science, Berlin.
251
+
252
+ ### Version
253
+
254
+ v1.0.0