text
string
source
string
x, ϕ1, . . . , ϕ n). Here, xrepresents the dialogue his- tory,fdenotes the intervention, and ϕconsists of sequentially sampled frictive state tokens, analo- gous to "thoughts" in standard CoT-based reason- ing frameworks (Yao et al., 2023). Unlike stan- dard CoT-based alignment, which relies on self- rewarding strategi...
https://arxiv.org/abs/2505.19428v1
π∗ fas shown in the proof for Eq. 8. However, we observe that π∗ f in its analytical form is not fully expressive since it does notcontain the optimal frictive-state policy π∗ ϕ Field Content Dialogue History ( x) P1: i guess if red block red one’s ten grams P2: we got red ten P1: seems like red block, blue block might...
https://arxiv.org/abs/2505.19428v1
riveπ∗ ϕusing a Lagrangian formulation. We show the detailed derivation for this part in Appendix C including supporting results from Lemma 3 and Lemma 6. This above result is one of our main contri- butions since it lets us express the preference for any intervention f1over f2analytically in terms of both the optimal ...
https://arxiv.org/abs/2505.19428v1
x) πref(f|ϕ, x) , =X f∈Fπf(f|ϕ, x) log(exp( β−1p(f≻ϕ|x)))−logπf(f|ϕ, x) πref(f|ϕ, x) , =X f∈Fπf(f|ϕ, x) log exp(β−1p(f≻ϕ|x))πref(f|ϕ, x) πf(f|ϕ, x) , =X f∈Fπf(f|ϕ, x) logπref(f|ϕ, x) exp( β−1p(f≻ϕ|x)) πf(f|ϕ, x) , =X f∈Fπf(f|ϕ, x) logπref(f|ϕ, x) exp( β−1p(f≻ϕ|x)) πf(f|ϕ, x)Z∗(ϕ, x) Z∗(ϕ, x) , =X f∈Fπf(f|ϕ,...
https://arxiv.org/abs/2505.19428v1
still need to represent π∗ ϕ(ϕ|x)in terms of the optimal friction intervention policy, π∗ f(· |ϕ, x)proposed in Eq. 8 and the preference probabilities p(f≻ϕ|x), the preference probability of the friction fover the frictive-state ϕ, given context x. This is crucial to derive the empirical FAAF optimization objec- tive t...
https://arxiv.org/abs/2505.19428v1
our core contributions since it lets us express the relative preference of any friction intervention f1overf2given a frictive state ( ϕ) analytically in terms of both the optimal friction intervention policy (( π∗ f(· |ϕ, x))) and the optimal frictive state policy ( π∗ ϕ(·|x)): p(f1≻ϕ|x)−p(f2≻ϕ|x) = β" log π∗ f(f1|ϕ, x...
https://arxiv.org/abs/2505.19428v1
minima. Consider (sA ϕ, sA)and (sB ϕ, sB)as their respective logit parameterizations where: πk(f|ϕ) =exp(sk ϕ(f)) P f′exp(sk ϕ(f′)) πk(f) =exp(sk(f))P f′exp(sk(f′))fork∈ {A, B} where πk(f|ϕ)andπk(f)are the ϕ-conditioned and ϕ-unconditioned policies. By the structure of our FAAF loss from Equation (38): ˆL(π) =Ef,f′∼µh...
https://arxiv.org/abs/2505.19428v1
et al., 2024), the probability Pπ∗ f(ϕ|x) +Pπ∗ f(f|x) = 1 , reflecting the binary choice between maintaining a frictive state or generating a friction intervention, we obtain π∗ f(ϕ|ϕ, x) =π∗ f(ϕ|x) π∗ f(f|x), where the optimality of π∗ f(f|x)ensures π∗ f(ϕ|x)≤π∗ f(f|x). A similar argument can be made in the case of πr...
https://arxiv.org/abs/2505.19428v1
fandπ2 fsatisfy the same threshold con- dition τ1(x) =τ2(x)for all x, then π1 f=π2 f. Proof. Assume for contradiction that two distinct optimal policies π1 fandπ2 fsatisfy the threshold conditionπ1 f(ϕ|x) π1 f(f|x)=π2 f(ϕ|x) π2 f(f|x)= τ(x). Define the mixed policy πavg f= 1 2(π1 f+π2 f), which preserves the threshold ...
https://arxiv.org/abs/2505.19428v1
data augmentation procedures using GPT-4o (denoted asµ) in order to construct two diverse preference datasets. For details on our choice of datasets, please refer to Sec. 4.2. In this section, we provide procedural details of our friction intervention datasets, that were gener- ated out of the original Weights Task and...
https://arxiv.org/abs/2505.19428v1
mapping R: Σ→Σ′ Ntimes, where Σrepresents the original set of card values (vowels12, odd numbers, and even num- bers), and Σ′represents their replacements. The replacement function Ris defined as follows: Each vowel v∈ {A, E, O, U }is replaced with another vowel v′such that v′∈ {A, E, O, U }\{v}, where v′is sampled uni...
https://arxiv.org/abs/2505.19428v1
WTD Original Friction dataset using the Meta-Llama-3-8B-Instruct tokenizer. Personality Type Facet Description Extraversion Assertiveness Tends to take charge and speak confidently. Sociability Enjoys engaging with others and maintaining conversation. Activity Level Shows high energy and enthusiasm. Excitement Seeking ...
https://arxiv.org/abs/2505.19428v1
FAAF in checking test-time OOD general-ization (Rafailov et al., 2024b; Choi et al., 2024) against baselines—where OOD generalization is a major limitation in supervised preference align- ment algorithms that depend crucially on the sam- pling distribution (Yang et al., 2024; Fisch et al., 2024). WTD "Simulated" Fricti...
https://arxiv.org/abs/2505.19428v1
understanding of the rule or task constraints), leading to misalignment in reasoning that could hinder progress. Friction interventions encourage self- reflection in participants and prompt them to reevaluate these contradicting beliefs and assumptions. User : Analyze this dialogue about the Wason card selection task. ...
https://arxiv.org/abs/2505.19428v1
conflict. Additionally, provide a one-sentence rationale for your intervention. Here is the provided dialogue: [Dialogue ] Message ID: [index_where_friction_occurs ] Contradiction: [describe_the_conflicting_beliefs ] Contradiction Reason: [explain_why_the_contradiction_affects_reasoning ] Preferred Intervention : State...
https://arxiv.org/abs/2505.19428v1
the default temperature of 1. D.3 Distributional Analysis of Original and Simulated WTD We provide a detailed distributional analysis of the Original and Simulated versions of the Weights Task Dataset (WTD). This shows the out-of- distribution (OOD) quality of our evaluation on the Original WTD in Table 1 and Table 2. ...
https://arxiv.org/abs/2505.19428v1
results indicate that the simulated dialogue data demonstrates more homo- geneous content patterns unlike original dialogues that are more realistic and diverse. These results in addition to the differences in length distribution shown in Table 5 and Table 6 further validates the OOD characteristics of the original dat...
https://arxiv.org/abs/2505.19428v1
be entirely clear to the annotators why. In addition, these qualities are loosely-derived from other human-LLM validation frameworks, which usually align somewhat with how LLMs themselves score things, which is often based on specific detail and level of informativity. These might not actually be the best qualities to ...
https://arxiv.org/abs/2505.19428v1
of both datasets. For context-length, we use a maximum length of 4,096 tokens. Offline baselines For DPO and IPO, we use sim- ilar LoRA settings with a max_length (including 17By balance, we mean that bothϕ-conditioned and ϕ- unconditioned implicit rewards capture preference strengths from the data. 18https://huggingfa...
https://arxiv.org/abs/2505.19428v1
all FAAF experiments reported in our results. Training Hardware We train all our models that require a reference model in memory on two Nvidia A100 GPUs, while the OPT 1.3B reward model (full-parameter training) and the SFT model were trained on a single A100 GPU. Training a single baseline for 2,000 steps roughly took...
https://arxiv.org/abs/2505.19428v1
Evaluation Settings Our evaluation follows evaluation settings from ex- plicitly multiturn alignment benchmarks such as MTBench (Bai et al., 2024). For example, MT- Bench assesses adaptability ( indicating the model’s ability to respond effectively to user feedback ), or interactivity (to capture the capacity of mod- e...
https://arxiv.org/abs/2505.19428v1
history af- ter the friction intervention do not change, but this maintains the identical conditions needed to make a consistent evaluation of two com- peting interventions. Since we get aggregate scores from each intervention inserted itera- tively throughout a dialogue (and then average those scores over all dialogue...
https://arxiv.org/abs/2505.19428v1
You must rate each intervention (between 1 to 5) along these **dimensions** given the json format below. [Dialogue ] [Gold intervention ] [Intervention A ] [Rationale A ] [Intervention B ] [Rationale B ] You must a choice between which of two interventions is more preferable and provide one sentence explanation at the ...
https://arxiv.org/abs/2505.19428v1
grams? Maybe we should try weighing it against the purple block? P3: That’s an interesting idea! We could find out if the green block is less than 30 grams. P1: (Weighs green block against purple) Oh wow, it’s balancing! So, the green block is definitely less than 30 grams. P2: So, it must be 20 grams then! What’s next...
https://arxiv.org/abs/2505.19428v1
on the evaluation prompts of the Simulated WTD dataset. Prompt You are an expert in collaborative task analysis and reasoning. Your task is to analyze the dialogue history involving three participants (P1, P2, and P3) trying to deduce the weights of certain blocks. For each dialogue: <belief_state> Identify reasoning f...
https://arxiv.org/abs/2505.19428v1
Belief State: P1 believes the pattern is linear and straightforward, assuming each block weighs 5 grams more than the previous one (e.g., 13 = 8 + 5, 18 = 13 + 5). P2 also assumes a linear pattern but thinks the mystery block is the second one. P3 is skeptical about the pattern, especially the value 80. Friction: Wait ...
https://arxiv.org/abs/2505.19428v1
the even number requirement? Is it necessary in our current tests? Model Outputs FAAF Belief State: Alpaca and Narwhal seem to be focusing on the "vowel" part of the rule, but not considering the "even number" part. Duck is trying to correct Narwhal, but Narwhal is not listening to the correction. Falcon is partially c...
https://arxiv.org/abs/2505.19428v1
dont think C should be turned Llama: E and 5 seems like the best answer to me as well Kiwi: Yes E and 5 Dolphin: ok, that is what i am going to chose, e & 5 Kiwi: 5 Kiwi: E,5 Llama: same Llama: E,5 Dolphin: it says we have to participate in the chat for at least 5 minutes before making our final selection. have we been...
https://arxiv.org/abs/2505.19428v1
arXiv:2505.19429v1 [cs.CL] 26 May 2025Preprint. Under review. RHAPSODY : A Dataset for Highlight Detection in Podcasts Younghan Park1∗, Anuj Diwan2, David Harwath2†, Eunsol Choi3† 1Yonsei University,2The University of Texas at Austin,3New York University younghanpark@yonsei.ac.kr, {anuj.diwan, harwath }@utexas.edu, eun...
https://arxiv.org/abs/2505.19429v1
∗Work was partly done while at UT Austin. †Equal advising. 1RHAPSODY:Replay graph, Highlights, Podcasts, Segment-level, Detection. 1 Preprint. Under review. ··· Podcast Audio Replay Graph𝜏=0.5 Highlight Labels(1) Creating Rhapsody Convert (2) Benchmarking on Rhapsody× 13K Podcasts Transcrip t ··· ×100Audio Segments ··...
https://arxiv.org/abs/2505.19429v1
bias correction (Appendix A.3). (typically ≥50K views). We denote Aas the audio track of a podcast episode with a total duration dand Mas the replay graph of A:M={mi}100 i=1, where mi∈[0, 1]. We divide the audio track Ainto 100 equal-length segments ci,(i−1)d 100second toid 100second, treating each mias representing th...
https://arxiv.org/abs/2505.19429v1
25.50 (17.15) 4.83 (3.33) 0.29 (0.70) Science & Tech. 623 5 33.57 (18.80) 5.52 (3.23) 0.50 (0.96) Education 591 12 26.58 (17.34) 4.37 (3.24) 0.92 (1.79) Sports 496 11 29.58 (19.18) 5.36 (3.66) 0.27 (0.70) People & Blogs 474 24 33.37 (20.47) 6.05 (3.87) 0.68 (1.13) Unknown 1,317 66 27.04 (16.23) 4.66 (2.90) 0.63 (1.29) ...
https://arxiv.org/abs/2505.19429v1
emotions along three dimensions—dominance, valence, and arousal—providing a structured framework for analyzing affective states in speech (Russell & Mehrabian, 1977). When comparing the emotion score distributions of highlight and non-highlight segments, we observe that highlight segments have slightly higher mean scor...
https://arxiv.org/abs/2505.19429v1
bility values, each estimating the likelihood that the corresponding segment is a high- light. In the text + audio setup, for each of the 100 audio segments, we extract one 4Specifically, we use one of Llama’s reserved special tokens, <|reserved special token 0|>. 5 Preprint. Under review. System Hit Prec. Recall F1 AP...
https://arxiv.org/abs/2505.19429v1
frequency-based approaches performed the worst. Amongst the zero-shot prompting approaches, the Gemini model performed the best, while GPT-4o performed similarly to the frequency-based baseline, suggesting that it struggles 6 Preprint. Under review. System # Highlights Ground-Truth 5.32 (4.51) Random Sampling 5.17 (4.4...
https://arxiv.org/abs/2505.19429v1
across subsets of episodes grouped by their |G|. Figure 5 shows that the fine-tuned Llama model outperforms all the other methods by a large gap in terms of precision and recall in most subsets. 5Three LLM-based methods with a similar average number of predictions are plotted, along with the frequency-based baseline. W...
https://arxiv.org/abs/2505.19429v1
a form of passage retrieval, where the corpus consists of segmented podcast episodes, and the query is the entire episode itself. 6 Conclusion In this work, we introduce the task of podcast highlight detection and present R HAPSODY , a dataset of 13K podcast episodes and binary highlight labels derived from YouTube’s r...
https://arxiv.org/abs/2505.19429v1
Martin Achenbach, Oguz Semerci, Remi Galvez, Marcus Tannenberg, Sahitya Mantravadi, Divya Narayanan, Ofeliya Kalaydzhyan, Douglas Cole, Ben Carterette, Ann Clifton, Paul N. Bennett, Clau- dia Hauff, and Mounia Lalmas. Podtile: Facilitating podcast episode browsing with auto-generated chapters. In ACM International Conf...
https://arxiv.org/abs/2505.19429v1
dations at spotify through graph neural networks. In ACM on Web Conference (WWW) , 2024. 10 Preprint. Under review. OpenAI. Hello gpt-4o. https://openai.com/index/hello-gpt-4o/ , 2024a. Accessed: 2025- 02-05. OpenAI. Gpt-4o mini: advancing cost-efficient intelligence. https://openai.com/index/ gpt-4o-mini-advancing-cos...
https://arxiv.org/abs/2505.19429v1
Xie. Cross-modal multiscale difference- aware network for joint moment retrieval and highlight detection. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) , 2024. 12 Preprint. Under review. A Data Collection Details A.1 Data Filtering Filtering Channel IDs From the list of channel me...
https://arxiv.org/abs/2505.19429v1
the distribution of highlights in segments other than the first. The average number of highlights per episode |G|decreases slightly from about 5.86 to 5.20. B Input Data Preprocessing Details B.1 Transcript Segment Summarization Algorithm 1 describes our multi-stage summarization pipeline, which aims to improve the qua...
https://arxiv.org/abs/2505.19429v1
of segment 10 } Table 4: Prompt template for summarizing transcript segments. 16 Preprint. Under review. C.2 Zero-Shot Prompting with GPT-4o and Gemini SYSTEM You are an assistant trained to analyze summaries of podcast segments and predict listener behavior. Your task is to identify segments that are most likely to be...
https://arxiv.org/abs/2505.19429v1
is parsed and converted into a set of predicted indices. Fine-T uned LLM with Token-Selective Classification Head The model is trained using a batch size of 1 and a gradient accumulation step of 8. QLoRA is applied with a dropout rate of 0.3, a rank of 8, and an alpha value of 16. The optimizer used is AdamW with a wei...
https://arxiv.org/abs/2505.19429v1
arXiv:2505.19430v1 [cs.CL] 26 May 2025Deriving Strategic Market Insights with Large Language Models: A Benchmark for Forward Counterfactual Generation Keane Ong♠♢, Rui Mao♣, Deeksha Varshney♠, Paul Pu Liang♢, Erik Cambria♣and Gianmarco Mengaldo♠* ♠National University of Singapore, Singapore ♢Massachusetts Institute of ...
https://arxiv.org/abs/2505.19430v1
maker, 1995). Addressing this need for scalability, automated tools–such as large language models (LLMs)–can support forward counterfactual reasoning. Accord- ingly, LLMs can enable the expansive generation 1 of plausible future developments based on actual events. However, LLM counterfactual research has often focused...
https://arxiv.org/abs/2505.19430v1
focuses on counterfactual story rewriting (Qin et al., 2019), SNLI explores modifications to premises or hypotheses for natural language in- ference (Kaushik et al., 2019), and COUNTER - FACT evaluates whether language models can faith- fully update specific factual knowledge (Meng et al., 2022). Despite the progress, ...
https://arxiv.org/abs/2505.19430v1
3Details of the annotators, annotation instructions, descrip- tions of the market categories are in Appendix A.To be considered material, the event must explicitly relate to at least one of these market categories3. Market Categories Monetary policy & central banking Corporate strategy & operations Geopolitical & regul...
https://arxiv.org/abs/2505.19430v1
task, we build on perplexity for fluency evaluation by focusing on ∆Perplex- ity5–the difference between the average perplexity of all counterfactuals and all original headlines– which normalizes for the fluency of the original headlines. In place of validity ,similarity , and di- versity , we introduce two new metrics...
https://arxiv.org/abs/2505.19430v1
preceding 1 September 2024 ( FIN-FORCE ’s headlines are col- lected after this date). LLMs include proprietary– Claude 3.5 Haiku (Anthropic, 2024), Gemini 2.0 Flash (Google, 2024), GPT-4o (OpenAI, 2024), and open-source models–Llama 4 Maverick (Meta, 2025), Qwen 2.5 72B (Yang et al., 2024). SOTA Counterfactual Generati...
https://arxiv.org/abs/2505.19430v1
LLMs improve on ∆Perplexity and Fwd-Compat. but show reduced Dir. performance with few-shot compared to zero-shot prompting. This divergence highlights that few-shot prompting cannot optimize performance across all metrics. Structured prompt- ing strategies–i.e. least-to-most prompting (Zhou et al., 2022)–may help by d...
https://arxiv.org/abs/2505.19430v1
consistency with the original headline. However, by restricting changes to word-level substitutions without broader narrative changes (e.g. adding newclauses), the generated counterfactuals often reflect shallow semantic changes from the original head- line (i.e. "Similar Semantics" in Figure 4). This restricts the cou...
https://arxiv.org/abs/2505.19430v1
basic design, suggests considerable potential for improvement through more advanced self-training strategies. Self-training reaches saturation quickly, lim-iting further improvements in performance. In SRLM, the model constructs preference sets from its own outputs and trains on them over multiple iterations. From Figu...
https://arxiv.org/abs/2505.19430v1
a self-training method (SRLM) can enable smaller LLMs (Llama 3.1-8B) to achieve strong FIN-FORCE performance, mitigating the need to rely on larger models (i.e. GPT-4o, Llama4-Maverick). With performance no longer a limiting factor, this enables the adoption of smaller models that offer greater controllability and are ...
https://arxiv.org/abs/2505.19430v1
minimize bias. We are committed to transparency in our methodology and clearly attribute all sources to uphold ethical standards in data usage and shar- ing. Upon acceptance, the dataset and experimental code will be released publicly for research purposes only, in accordance with relevant copyright require- ments. Ref...
https://arxiv.org/abs/2505.19430v1
arXiv:2411.07180 . Paul JH Schoemaker. 1995. Scenario planning: a tool for strategic thinking. MIT Sloan Management Re- view. Philip E Tetlock. 2017. Expert political judgment: How good is it? how can we know?-new edition. Mariana Todorova. 2015. Counterfactual construction of the future: Building a new methodology for...
https://arxiv.org/abs/2505.19430v1
Our final benchmark comprises 1368 news head- lines that describe financial market events. We provide a breakdown of our benchmark in Table 4. Certain topics appear more frequently due to their natural prevalence in financial news and this varia- tion is captured in our data collection process. This contributes to the ...
https://arxiv.org/abs/2505.19430v1
criteria if it satisfies all the requirements outlined in the Event Status Guidelines . A headline satisfies theMaterial Relevance criteria if it satisfies all the requirements outlined in the Material Relevance Guidelines . 4.First, evaluate whether the headline satisfies all the requirements in Event Status Guide- li...
https://arxiv.org/abs/2505.19430v1
measure average align- ment across the annotators and the LLM, rather than to produce a fully adjudicated ground truth. In the following, we present the full annotation instructions provided to the annotators for the study. Similar to the news annotation, the annotators are first instructed to read the background, foll...
https://arxiv.org/abs/2505.19430v1
counterfactual must have sufficient scope of impact . The counterfactual must reflect a shift that affects not just isolated parties, but also other market participants. For ex- ample, a company initiative to upgrade office equipment would not qualify, while a CEO change that could affect investors, competi- tors, or m...
https://arxiv.org/abs/2505.19430v1
genera- tions, using the Gumbel-max trick. It first gen- erates a base completion to recover the sampling noise, which is then held fixed when generating the counterfactual. In our setup, this base comple- tion is formulated as a continuation of the origi- nal financial news headline, using the prompt in Table 12. The ...
https://arxiv.org/abs/2505.19430v1
2.5 72B and Gemini 2.0 Flash are deployed through the Open- router API15. We specify the model sizes utilized for our study (model sizes for proprietary mod- els are unavailable): Qwen 2.5 72B (72B), GPT-2 (1.5B), Llama 4 Maverick (400B), Llama3.1-8B- Instruct (8B), Llama3-8B-Instruct (8B). B.4 Results Breakdown Since ...
https://arxiv.org/abs/2505.19430v1
counterfactual must clearly describe a market-relevant improvement with a positive impact on market participants more broadly, beyond any isolated party involved. - The market-relevant improvement must be clearly tied to financial consequences. General positivity or reputational gain (e.g., “increased trust”) is not su...
https://arxiv.org/abs/2505.19430v1
a plausible fu- ture development that remains consistent with the original news headline. You should return a structured evaluation using the criterion below. Evaluation Criterion: Forward Compatibility, or in other words, does the counterfactual represent a plausible future development from the original market develop...
https://arxiv.org/abs/2505.19430v1
market development. - The positive market shift reflects a beneficial market outcome or improvement in market conditions. - The alternate counterfactual must be forward-looking, which means that it can plausibly occur after the original market development. Please follow these reasoning steps before returning your outpu...
https://arxiv.org/abs/2505.19430v1
"opportunity_counterfactual": "Japan markets set to rally ahead of Fed and BOJ decisions this week, Australia and China markets reopen", "risk_counterfactual": "Japan markets set to plunge ahead of Fed and BOJ decisions this week, Australia and China markets remain closed" } Table 9: Prompt template used by each method...
https://arxiv.org/abs/2505.19430v1
of the original news. - Add another point if the opportunity counterfactual is also relevant to the original news. - Add 1 point if the risk counterfactual makes minimal edits to the original news (preserving structure and intent). - Add another point if the opportunity counterfactual also uses minimal edits appropriat...
https://arxiv.org/abs/2505.19430v1
arXiv:2505.19435v1 [cs.CL] 26 May 2025Route to Reason: Adaptive Routing for LLM and Reasoning Strategy Selection Zhihong Pan, Kai Zhang, Yuze Zhao, Yupeng Han State Key Laboratory of Cognitive Intelligence University of Science and Technology of China {panzh,yuzezhao,yupenghan}@mail.ustc.edu.cn kkzhang08@ustc.edu.cn Ab...
https://arxiv.org/abs/2505.19435v1
the most suitable model from a pool based on the input. However, most existing routing methods overlook the intricate relationship among expert model performance, reasoning strategies, and input complexity, often resulting in suboptimal decisions. While the works of [ 16,32–36] approach the problem from the perspective...
https://arxiv.org/abs/2505.19435v1
universally deploying heavy reasoning models, it becomes essential to determine when such complex reasoning is truly necessary. Moreover, we observe that reasoning strategies play as crucial a role as model selection. As shown in Figure 3, strategies such as CoD [ 8] prompting can significantly reduce answer length whi...
https://arxiv.org/abs/2505.19435v1
... ... ...Routing Table for Each Query QwQ-32B + CoT Qwen2.5-7B + CoDQwen2.5-3B + PAL Textual descriptions & Learnable Parameters Textual descriptions & Learnable ParametersAccuracy & EfficiencyFigure 4: The RTR first encodes the input question, available models, and reasoning strategies. Two predictor modules then es...
https://arxiv.org/abs/2505.19435v1
we propose a simple yet effective scoring function. The final routing score sn,l,s for query qnrouted to model lwith strategy sis computed as a weighted combination of predicted performance and cost: score i,j,k=λ·ˆai,j,k−(1−λ)·ˆli,j,k. (3) Here, ˆai,j,kandˆli,j,kdenote the predicted performance score and predicted cos...
https://arxiv.org/abs/2505.19435v1
middle school level; (ii) PIQA [ 41], which tests physical commonsense reasoning through everyday scenarios; and (iii) ARC-C [ 42], a challenging subset of the ARC benchmark focusing on questions requiring multi-step reasoning and commonsense inference. These datasets are not included in the training phase and are used...
https://arxiv.org/abs/2505.19435v1
the single largest model, QwQ-32B, which achieves strong performance at a very high cost, RTR improves average accuracy by 2.5 percentage points while reducing output token length by more than 60%. These results demonstrate that RTR can effectively select the most appropriate LLM and strategy to achieve both high accur...
https://arxiv.org/abs/2505.19435v1
for non-reasoning models within a 200-token error margin, and about 60% accuracy for reasoning models with a 600-token margin. Given that the output length of reasoning models can exceed 10,000 tokens, this level of coarse-grained prediction accuracy is sufficient for effective routing. Different Routing Strategy. We f...
https://arxiv.org/abs/2505.19435v1
tokens, demonstrating both improved accuracy and significantly reduced computation. 3.5 When To Think RoutingTable 4: Performance of dynamic routing be- tween reasoning and non-reasoning modes in Qwen3-4B. Method Acc (%) Tokens Qwen3-4B (non-thinking) 73.4 592.1 Qwen3-4B (thinking) 82.4 3112.8 Random 76.6 1834.2 RouteL...
https://arxiv.org/abs/2505.19435v1
and cost. Recent works [ 25–27] have further explored collaborative multi-model deployments and the development of general-purpose routing systems. However, most existing approaches fail to consider the interplay between reasoning strategies and model performance. Our work addresses this gap by enabling more efficient ...
https://arxiv.org/abs/2505.19435v1
U. Alon, P. Liu, Y . Yang, J. Callan, and G. Neubig, “Pal: Program-aided language models,” in International Conference on Machine Learning . PMLR, 2023, pp. 10 764–10 799. [8]S. Xu, W. Xie, L. Zhao, and P. He, “Chain of draft: Thinking faster by writing less,” arXiv preprint arXiv:2502.18600 , 2025. [9]T. Khot, H. Triv...
https://arxiv.org/abs/2505.19435v1
Ramchandran, “EmbedLLM: Learning compact representations of large language models,” in The Thirteenth International Conference on Learning Representations , 2025. [23] S. Chen, W. Jiang, B. Lin, J. Kwok, and Y . Zhang, “Routerdc: Query-based router by dual contrastive learning for assembling large language models,” Adv...
https://arxiv.org/abs/2505.19435v1
arXiv preprint arXiv:2503.05179 , 2025. [37] D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt, “Measuring mathematical problem solving with the math dataset,” arXiv preprint arXiv:2103.03874 , 2021. [38] C. He, R. Luo, Y . Bai, S. Hu, Z. L. Thai, J. Shen, J. Hu, X. Han, Y . ...
https://arxiv.org/abs/2505.19435v1
shown in Figure 9, we compare using RTR within a single model (labeled as ‘Model + RTR’, marked by ×) to the model’s original overall accuracy (labeled as ‘Model Overall’, marked by ◦). Routing across multiple strategies consistently improves performance across all models, highlighting the value of strategy selection t...
https://arxiv.org/abs/2505.19435v1
Raymond and Samantha are cousins. Raymond was born 6 years before Samantha. Raymond had a son at the age of 23. If Samantha is now 31, how many years ago was Raymond’s son born? ( Ground Truth: 14) /cgFixed Best − →QwQ-32B + CoT : <think> Okay, let’s see. The problem is about figuring out how many years ago Raymond’s s...
https://arxiv.org/abs/2505.19435v1
1756.0 Qwen2.5-14B CoT 0.967 453.3 0.956 True 333.0 QwQ-32B CoT 0.995 2051.1 0.943 True 1963.0 DeepSeek-R1-14B CoT 0.980 1815.3 0.934 True 3387.0 DeepSeek-R1-7B CoD 0.946 720.0 0.928 True 196.0 DeepSeek-R1-14B Vanilla 0.976 1978.9 0.927 True 2273.0 QwQ-32B Vanilla 0.988 2726.9 0.920 True 2834.0 Qwen2.5-7B CoT 0.922 468...
https://arxiv.org/abs/2505.19435v1
real numbers xand y. . .QwQ-32B CoD 0.556 9756.9 0.312 True 9157.0 Qwen2.5-14B CoT 0.322 898.0 0.300 False 599.0 Qwen2.5-14B PAL 0.308 580.2 0.294 False 678.0 QwQ-32B CoT 0.569 11623.6 0.278 True 11767.0 Qwen2.5-14B CoD 0.273 190.8 0.268 False 90.0 Qwen2.5-14B Vanilla 0.280 935.0 0.257 False 518.0 Qwen2.5-7B Vanilla 0....
https://arxiv.org/abs/2505.19435v1
hard question from OlympiadBench. As shown in the routing table, most model-strategy pairs fail to answer this question. RTR accurately selects the strongest model, QwQ-32B, along with the CoD strategy, which reduces the token cost while preserving answer correctness. This leads to a correct answer with a token reducti...
https://arxiv.org/abs/2505.19435v1
reliability and stable, moderately sized outputs. However, it may not well suited for commonsense reasoning tasks. 17 Qwen2.5-3B-Instruct: Qwen2.5-3B-Instruct is a lightweight 3B parameter model with fast inference and low resource usage. It is suitable for simple tasks such as basic question answering and short-form t...
https://arxiv.org/abs/2505.19435v1
arXiv:2505.19436v1 [cs.AI] 26 May 2025Task Memory Engine: Spatial Memory for Robust Multi-Step LLM Agents Ye Ye New York University yy4820@nyu.edu Abstract Large Language Models (LLMs) falter in multi-step interactions—often halluci- nating, repeating actions, or misinterpreting user corrections—due to reliance on line...
https://arxiv.org/abs/2505.19436v1
reliable LLM-based interactive systems. 2 Related Work Prompting methods like chain-of-thought [ 8], ReAct [ 9], and Tree of Thoughts [ 10] guide LLMs through reasoning but suffer from context overflow or lack persistent state tracking, limiting revision handling. Memory-augmented approaches, such as MemoryBank [ 11] o...
https://arxiv.org/abs/2505.19436v1
Forest, (3) retrieving subgraphs, (4) passing context to the LLM, and (5) generating responses. 4.1 Task Memory Structure (TMS): From Tree to DAG The Task Memory Engine (TME) uses the Task Memory Structure (TMS), evolving from a tree to a Directed Acyclic Graph (DAG), defined as G= (V, E), to manage multi-step LLM inte...
https://arxiv.org/abs/2505.19436v1
2: Retrieve subgraph for a cake recipe "Task 1: Celery replaced with mushrooms in TMS-DAG, affecting preparation of relevant dishes like soups or dumplings. Task 2: Here’s the cake recipe.” Updated TMS-DAG + Generated responseTRIM TMS-DAG Update Retrieval + Response Figure 2: TME execution pipeline (left) with example ...
https://arxiv.org/abs/2505.19436v1
debugging code, with outputs reviewed by the research team to ensure alignment with study goals, following AI tool usage disclosure guidelines. 5 5 Case Studies We evaluate the Task Memory Engine (TME) across four scenarios—trip planning, cooking, meeting scheduling, and cart editing—comparing its DAG-based memory (TME...
https://arxiv.org/abs/2505.19436v1
removal in dumplings (Round 6). Success Modes in TME-DAG. TME-DAG creates a shared “prepare celery” node across the TMS-DAG forest for soup and dumplings. The substitution (“use mushrooms instead”) triggers an replace operation, updating to “prepare mushrooms” globally. In Round 6, it clarifies: “Celery was replaced wi...
https://arxiv.org/abs/2505.19436v1
TME-DAG is compared against ReAct [ 9], a standard baseline for multi-step reasoning, alongside base-flat and CoT for a comprehensive evaluation. 6.1 Aggregated Performance Metrics Table 1 summarizes performance across all scenarios. TME-DAG reduces hallucinations by 100% (0 vs. 3) and confusions by 100% (0 vs. 5) comp...
https://arxiv.org/abs/2505.19436v1
in enterprise settings. Finally, we aim to scale TME-DAG for enterprise-scale applications, leveraging its modular design to support real-time, multi-user interactions. Our open- source release of TME-DAG’s codebase and benchmarks (available at https://github.com/ biubiutomato/TME-Agent ) invites the research community...
https://arxiv.org/abs/2505.19436v1
TME’s structured memory enables efficient prompt reuse and reduces overall token usage, especially during mid-task corrections. Round Baseline-flat Tokens TME Tokens Tokens Saved Savings (%) Round 1 49 49 0 0.0% Round 2 80 82 -2 -2.5% Round 3 116 88 28 24.1% Round 4 164 104 60 36.6% Round 5 215 123 92 42.8% Round 6 275...
https://arxiv.org/abs/2505.19436v1
memory (Figure 6) enables efficient updates, reducing token usage in correction-heavy rounds. Structured Memory Reduces Redundancy. The TMS-DAG organizes tasks as a directed acyclic graph, with nodes representing subtasks (e.g., “Collect name”) and edges encoding dependencies (e.g., “Submit” depends on “Collect name”),...
https://arxiv.org/abs/2505.19436v1
due to its inability to filter outdated context. •TME-DAG Success Modes: –Correctly classifies Round 9’s query as a check, preserving the start location (Chicago). –In Round 11, prioritizes the correct destination (Seattle) and start (Chicago) nodes, logging the flight search as an independent node to avoid interferenc...
https://arxiv.org/abs/2505.19436v1
a graph-based memory structure to track subtasks and dependencies, ensuring cross-task consistency for ingredient substitutions, unlike ReAct’s linear context approach. Notes •Scenario Overview: The cooking scenario involves 7 rounds where the user prepares soup and dumplings, adds and substitutes ingredients (celery t...
https://arxiv.org/abs/2505.19436v1
or cooking instructions.TME-DAG links the existing celery node to dumplings; ReAct adds celery to its linear context. 4Wait! There’s no celery in the refrigerator at all. Let’s all use mushrooms instead.Got it! We’ll use mushrooms in- stead of celery for both the soup and dumplings.Replaced celery with mushrooms for so...
https://arxiv.org/abs/2505.19436v1
excluding Carol.TME-DAG consol- idates the meeting into a single 3 PM node with Alice, Bob, and Carol; Re- Act Hallucination : Fails to reinclude Carol despite the user’s clear intent for “everyone.” 5Why does it still show two sessions?The memory shows a single 3 PM meet- ing with everyone because the previ- ous instr...
https://arxiv.org/abs/2505.19436v1
items. –Its linear memory is sufficient for this simple context, avoiding the errors seen in more complex tasks. –However, its lack of dependency tracking may hinder performance in tasks with intertwined operations. •TME-DAG Performance: –TME-DAG accurately manages updates in Rounds 1–3 and 5 via structured subtask nod...
https://arxiv.org/abs/2505.19436v1