Computation and Language
Are Language Models Models?
Philip Resnik
Futrell and Mahowald claim LMs "serve as model systems", but an assessment at each of Marr's three levels suggests the claim is clearly not true at the implementation level, poorly motivated at the algorithmic-representational level, and problematic at the computational theory level. LMs are good candidates as tools; calling them cognitive models overstates the case and unnecessarily feeds LLM hype.
Read the full abstract ▾
Computation and Language
TF3-RO-50M: Training Compact Romanian Language Models from Scratch on Synthetic Moral Microfiction
Mihai Dan Nadas, Laura Diosan, Andreea Tomescu et al. (+1 more)
Recent advances in synthetic data generation have shown that compact
language models can be trained effectively when the underlying corpus is structurally controlled and linguistically coherent. However, for morphologically rich and computationally under-resourced
languages such as Romanian, there is still no openly documented, end-to-end pipeline that unifies tokenizer design, preprocessing, pretraining, compression, evaluation, and large-scale synthetic data generation in a reproducible framework. Building on TF1, a three-million-story English fable
dataset, and TF2, which extends TF1 through high-quality Romanian translations, we introduce TF3-RO, a Romanian-centric
language modeling pipeline spanning tokenizer training, from-scratch model development, and Romanian-native
dataset generation. TF3-RO constructs Romanian-specific BPE and Unigram tokenizers from a linguistically informed corpus to mitigate
token inflation induced by Romanian morphology. Using long-sequence packed training, we pretrain a 51.65M-parameter LLaMA-style
Transformer entirely from scratch. The model is subsequently optimized through quantization, structured
pruning, and logit-based knowledge
distillation, yielding a compact 26.45M-parameter student model with tied
embeddings and strong deployment characteristics. Using this distilled model, TF3-RO generates three million Romanian-native synthetic fables via a controlled combinatorial prompting framework. Across all stages, the pipeline integrates a comprehensive evaluation suite combining intrinsic metrics, Romanian agreement probes, entity coherence, rule-based grammar checking, and LLM-based assessment. TF3-RO provides a reproducible and linguistically grounded framework for training compact Romanian
language models and producing large-scale synthetic narrative corpora.
Read the full abstract ▾
All authors Mihai Dan Nadas, Laura Diosan, Andreea Tomescu, Andrei Piscoran
Computation and Language
INDIC DIALECT: A Multi Task Benchmark to Evaluate and Translate in Indian Language Dialects
Tarun Sharma, Manikandan Ravikiran, Sourava Kumar Behera et al. (+3 more)
Recent NLP advances focus primarily on standardized
languages, leaving most low-resource dialects under-served especially in Indian scenarios. In India, the issue is particularly important: despite Hindi being the third most spoken
language globally (over 600 million speakers), its numerous dialects remain underrepresented. The situation is similar for Odia, which has around 45 million speakers. While some
datasets exist which contain standard Hindi and Odia
languages, their regional dialects have almost no web presence. We introduce INDIC-DIALECT, a human-curated parallel corpus of 13k sentence pairs spanning 11 dialects and 2
languages: Hindi and Odia. Using this corpus, we construct a multi-task
benchmark with three tasks: dialect classification, multiple-choice question (MCQ) answering, and machine translation (MT). Our experiments show that LLMs like GPT-4o and Gemini 2.5 perform poorly on the classification task. While fine-tuned
transformer based models pretrained on Indian
languages substantially improve performance e.g., improving F1 from 19.6% to 89.8% on dialect classification. For dialect to
language translation, we find that hybrid AI model achieves highest BLEU score of 61.32 compared to the baseline score of 23.36. Interestingly, due to complexity in generating dialect sentences, we observe that for
language to dialect translation the “rule-based followed by AI" approach achieves best BLEU score of 48.44 compared to the baseline score of 27.59. INDIC-DIALECT thus is a new
benchmark for dialect-aware Indic NLP, and we plan to release it as open source to support further work on low-resource Indian dialects.
Read the full abstract ▾
All authors Tarun Sharma, Manikandan Ravikiran, Sourava Kumar Behera, Pramit Bhattacharya, Arnab Bhattacharya, Rohit Saluja
Computation and Language
The Assistant Axis: Situating and Stabilizing the Default Persona of Language Models
Christina Lu, Jack Gallagher, Jonathan Michala et al. (+2 more)
Large
language models can represent a variety of personas but typically default to a helpful Assistant identity cultivated during post-training. We investigate the structure of the space of model personas by extracting activation directions corresponding to diverse character archetypes. Across several different models, we find that the leading component of this persona space is an "Assistant Axis," which captures the extent to which a model is operating in its default Assistant mode. Steering towards the Assistant direction reinforces helpful and harmless behavior; steering away increases the model's tendency to identify as other entities. Moreover, steering away with more extreme values often induces a mystical, theatrical speaking style. We find this axis is also present in pre-trained models, where it primarily promotes helpful human archetypes like consultants and coaches and inhibits spiritual ones. Measuring deviations along the Assistant Axis predicts "persona drift," a phenomenon where models slip into exhibiting harmful or bizarre behaviors that are uncharacteristic of their typical persona. We find that persona drift is often driven by conversations demanding meta-reflection on the model's processes or featuring emotionally vulnerable users. We show that restricting activations to a fixed region along the Assistant Axis can stabilize model behavior in these scenarios – and also in the face of
adversarial persona-based jailbreaks. Our results suggest that post-training steers models toward a particular region of persona space but only loosely tethers them to it, motivating work on training and steering strategies that more deeply anchor models to a coherent persona.
Read the full abstract ▾
All authors Christina Lu, Jack Gallagher, Jonathan Michala, Kyle Fish, Jack Lindsey
Computation and Language
Unlocking Implicit Experience: Synthesizing Tool-Use Trajectories from Text
Zhihao Xu, Rumei Li, Jiahuan Li et al. (+4 more)
Enabling Large
Language Models (LLMs) to effectively utilize tools in multi-turn interactions is essential for building capable autonomous
agents. However, acquiring diverse and realistic multi-turn tool-use data remains a significant challenge. In this work, we propose a novel text-based paradigm. We observe that textual corpora naturally contain rich, multi-step problem-solving experiences, which can serve as an untapped, scalable, and authentic data source for multi-turn tool-use tasks. Based on this insight, we introduce GEM, a data synthesis pipeline that enables the generation and extraction of multi-turn tool-use trajectories from text corpora through a four-stage process: relevance filtering, workflow & tool extraction, trajectory grounding, and complexity refinement. To reduce the computational cost, we further train a specialized Trajectory Synthesizer via supervised fine-tuning. This model distills the complex generation pipeline into an efficient, end-to-end trajectory generator. Experiments demonstrate that our GEM-32B achieve a 16.5% improvement on the BFCL V3 Multi-turn
benchmark. Our models partially surpass the performance of models trained on {\tau} - bench (Airline and Retail) in-domain data, highlighting the superior generalization capability derived from our text-based synthesis paradigm. Notably, our Trajectory Synthesizer matches the quality of the full pipeline while significantly reducing inference latency and costs.
Read the full abstract ▾
All authors Zhihao Xu, Rumei Li, Jiahuan Li, Rongxiang Weng, Jingang Wang, Xunliang Cai, Xiting Wang
Computation and Language · Cross-listed from cs.LG
SuS: Strategy-aware Surprise for Intrinsic Exploration
Mark Kashirskiy and Ilya Makarov
We propose Strategy-aware Surprise (SuS), a novel intrinsic motivation framework that uses pre-post prediction mismatch as a novelty signal for exploration in reinforcement learning. Unlike traditional curiosity-driven methods that rely solely on state prediction error, SuS introduces two complementary components: Strategy Stability (SS) and Strategy Surprise (SuS). SS measures consistency in behavioral strategy across temporal steps, while SuS captures unexpected outcomes relative to the
agent's current strategy representation. Our combined reward formulation leverages both signals through learned weighting coefficients. We evaluate SuS on mathematical
reasoning tasks using large
language models, demonstrating significant improvements in both accuracy and solution diversity. Ablation studies confirm that removing either component results in at least 10% performance degradation, validating the synergistic nature of our approach. SuS achieves 17.4% improvement in Pass@1 and 26.4% improvement in Pass@5 compared to baseline methods, while maintaining higher strategy diversity throughout training.
Read the full abstract ▾
Computation and Language
Training-Trajectory-Aware Token Selection
Zhanming Shen, Jiaqi Hu, Zeyu Qin et al. (+7 more)
Efficient
distillation is a key pathway for converting expensive
reasoning capability into deployable efficiency, yet in the frontier regime where the student already has strong
reasoning ability, naive continual
distillation often yields limited gains or even degradation. We observe a characteristic training phenomenon: even as loss decreases monotonically, all performance metrics can drop sharply at almost the same bottleneck, before gradually recovering. We further uncover a
token-level mechanism: confidence bifurcates into steadily increasing Imitation-Anchor
Tokens that quickly anchor optimization and other yet-to-learn
tokens whose confidence is suppressed until after the bottleneck. And the characteristic that these two types of
tokens cannot coexist is the root cause of the failure in continual
distillation. To this end, we propose Training-Trajectory-Aware
Token Selection (T3S) to reconstruct the training objective at the
token level, clearing the optimization path for yet-to-learn
tokens. T3S yields consistent gains in both AR and dLLM settings: with only hundreds of examples, Qwen3-8B surpasses DeepSeek-R1 on competitive
reasoning benchmarks, Qwen3-32B approaches Qwen3-235B, and T3-trained LLaDA-2.0-Mini exceeds its AR baseline, achieving state-of-the-art performance among all of 16B-scale no-think models.
Read the full abstract ▾
All authors Zhanming Shen, Jiaqi Hu, Zeyu Qin, Hao Chen, Wentao Ye, Zenan Huang, Yihong Zhuang, Guoshan Lu, Junlin Zhou, Junbo Zhao
Computation and Language
OctoBench: Benchmarking Scaffold-Aware Instruction Following in Repository-Grounded Agentic Coding
Deming Ding, Shichun Liu, Enhui Yang et al. (+12 more)
Modern coding scaffolds turn LLMs into capable software
agents, but their ability to follow scaffold-specified instructions remains under-examined, especially when constraints are heterogeneous and persist across interactions. To fill this gap, we introduce OctoBench, which
benchmarks scaffold-aware instruction following in repository-grounded agentic coding. OctoBench includes 34 environments and 217 tasks instantiated under three scaffold types, and is paired with 7,098 objective checklist items. To disentangle solving the task from following the rules, we provide an automated observation-and-scoring toolkit that captures full trajectories and performs fine-grained checks. Experiments on eight representative models reveal a systematic gap between task-solving and scaffold-aware compliance, underscoring the need for training and evaluation that explicitly targets heterogeneous instruction following. We release the
benchmark to support reproducible benchmarking and to accelerate the development of more scaffold-aware coding
agents.
Read the full abstract ▾
All authors Deming Ding, Shichun Liu, Enhui Yang, Jiahang Lin, Ziying Chen, Shihan Dou, Honglin Guo, Weiyu Cheng, Pengyu Zhao, Chengjun Xiao, Qunhong Zeng, Qi Zhang, Xuanjing Huang, Qidi Xu, Tao Gui
Computation and Language · Cross-listed from cs.CR
Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale
Yi Liu, Weizhe Wang, Ruitao Feng et al. (+5 more)
The rise of AI
agent frameworks has introduced
agent skills, modular packages containing instructions and executable code that dynamically extend
agent capabilities. While this architecture enables powerful customization, skills execute with implicit trust and minimal vetting, creating a significant yet uncharacterized attack surface. We conduct the first large-scale empirical security analysis of this emerging ecosystem, collecting 42,447 skills from two major marketplaces and systematically analyzing 31,132 using SkillScan, a multi-stage detection framework integrating static analysis with LLM-based semantic classification. Our findings reveal pervasive security risks: 26.1% of skills contain at least one vulnerability, spanning 14 distinct patterns across four categories:
prompt injection, data exfiltration, privilege escalation, and supply chain risks. Data exfiltration (13.3%) and privilege escalation (11.8%) are most prevalent, while 5.2% of skills exhibit high-severity patterns strongly suggesting malicious intent. We find that skills bundling executable scripts are 2.12x more likely to contain vulnerabilities than instruction-only skills (OR=2.12, p<0.001). Our contributions include: (1) a grounded vulnerability taxonomy derived from 8,126 vulnerable skills, (2) a validated detection methodology achieving 86.7% precision and 82.5% recall, and (3) an open
dataset and detection toolkit to support future research. These results demonstrate an urgent need for capability-based permission systems and mandatory security vetting before this attack vector is further exploited.
Read the full abstract ▾
All authors Yi Liu, Weizhe Wang, Ruitao Feng, Yao Zhang, Guangquan Xu, Gelei Deng, Yuekang Li, Leo Zhang
Computation and Language · Cross-listed from cs.CV
ROMA: Real-time Omni-Multimodal Assistant with Interactive Streaming Understanding
Xueyun Tian, Wei Li, Bingbing Xu et al. (+3 more)
Recent Omni-
multimodal Large
Language Models show promise in unified audio,
vision, and text modeling. However, streaming audio-
video understanding remains challenging, as existing approaches suffer from disjointed capabilities: they typically exhibit incomplete modality support or lack autonomous proactive monitoring. To address this, we present ROMA, a real-time omni-
multimodal assistant for unified reactive and proactive interaction. ROMA processes continuous inputs as synchronized
multimodal units, aligning dense audio with discrete
video frames to handle granularity mismatches. For online decision-making, we introduce a lightweight speak head that decouples response initiation from generation to ensure precise triggering without task conflict. We train ROMA with a curated streaming
dataset and a two-stage curriculum that progressively optimizes for streaming format adaptation and proactive responsiveness. To standardize the fragmented evaluation landscape, we reorganize diverse
benchmarks into a unified suite covering both proactive (alert, narration) and reactive (QA) settings. Extensive experiments across 12
benchmarks demonstrate ROMA achieves state-of-the-art performance on proactive tasks while competitive in reactive settings, validating its robustness in unified real-time omni-
multimodal understanding.
Read the full abstract ▾
All authors Xueyun Tian, Wei Li, Bingbing Xu, Heng Dong, Yuanzhuo Wang, Huawei Shen
Computation and Language
An Efficient Long-Context Ranking Architecture With Calibrated LLM Distillation: Application to Person-Job Fit
Warren Jouanneau, Emma Jouffroy and Marc Palyart
Finding the most relevant person for a job proposal in real time is challenging, especially when resumes are long, structured, and
multilingual. In this paper, we propose a re-ranking model based on a new generation of late cross-
attention architecture, that decomposes both resumes and project briefs to efficiently handle long-context inputs with minimal computational overhead. To mitigate historical data biases, we use a generative large
language model (LLM) as a teacher, generating fine-grained, semantically grounded supervision. This signal is distilled into our student model via an enriched
distillation loss function. The resulting model produces skill-fit scores that enable consistent and interpretable person-job matching. Experiments on relevance, ranking, and calibration metrics demonstrate that our approach outperforms state-of-the-art baselines.
Read the full abstract ▾
Computation and Language
Boundary-Aware NL2SQL: Integrating Reliability through Hybrid Reward and Data Synthesis
Songsong Tian, Kongsheng Zhuo, Zhendong Wang et al. (+3 more)
In this paper, we present BAR-SQL (Boundary-Aware Reliable NL2SQL), a unified training framework that embeds reliability and boundary awareness directly into the generation process. We introduce a Seed Mutation data synthesis paradigm that constructs a representative enterprise corpus, explicitly encompassing multi-step analytical queries alongside boundary cases including ambiguity and schema limitations. To ensure interpretability, we employ Knowledge-Grounded
Reasoning Synthesis, which produces Chain-of-Thought traces explicitly anchored in schema metadata and business rules. The model is trained through a two-stage process: Supervised Fine-Tuning (SFT) followed by Reinforcement Learning via Group Relative Policy Optimization. We design a Task-Conditioned Hybrid Reward mechanism that simultaneously optimizes SQL execution accuracy-leveraging Abstract Syntax Tree analysis and dense result matching-and semantic precision in abstention responses. To evaluate reliability alongside generation accuracy, we construct and release Ent-SQL-Bench, which jointly assesse SQL precision and boundary-aware abstention across ambiguous and unanswerable queries. Experimental results on this
benchmark demonstrate that BAR-SQL achieves 91.48% average accuracy, outperforming leading proprietary models, including Claude 4.5 Sonnet and GPT-5, in both SQL generation quality and boundary-aware abstention capability. The source code and
benchmark are available anonymously at: https://github.com/TianSongS/BAR-SQL.
Read the full abstract ▾
All authors Songsong Tian, Kongsheng Zhuo, Zhendong Wang, Rong Shen, Shengtao Zhang, Yong Wu
Computation and Language
ADVOSYNTH: A Synthetic Multi-Advocate Dataset for Speaker Identification in Courtroom Scenarios
Aniket Deroy
As large-scale
speech-to-
speech models achieve high fidelity, the distinction between synthetic voices in structured environments becomes a vital area of study. This paper introduces Advosynth-500, a specialized
dataset comprising 100 synthetic
speech files featuring 10 unique advocate identities. Using the
Speech Llama Omni model, we simulate five distinct advocate pairs engaged in courtroom arguments. We define specific vocal characteristics for each advocate and present a speaker identification challenge to evaluate the ability of modern systems to map audio files to their respective synthetic origins.
Dataset is available at this link-https: //github.com/naturenurtureelite/ADVOSYNTH-500.
Read the full abstract ▾
Computation and Language
Multilinguality as Sense Adaptation
Jan Christian Blaise Cruz, David Ifeoluwa Adelani and Alham Fikri Aji
We approach multilinguality as sense adaptation: aligning latent meaning representations across
languages rather than relying solely on shared parameters and scale. In this paper, we introduce SENse-based Symmetric Interlingual
Alignment (SENSIA), which adapts a Backpack
language model from one
language to another by explicitly aligning sense-level mixtures and contextual representations on parallel data, while jointly training a target-
language language modeling loss to preserve fluency. Across
benchmarks on four typologically diverse
languages, SENSIA generally outperforms comparable
multilingual alignment methods and achieves competitive accuracy against monolingual from-scratch baselines while using 2-4x less target-
language data. Analyses of learned sense geometry indicate that local sense
topology and global structure relative to English are largely preserved, and ablations show that the method is robust in terms of design and scale.
Read the full abstract ▾
Computation and Language
The Straight and Narrow: Do LLMs Possess an Internal Moral Path?
Luoming Hu, Jingjie Zeng, Liang Yang et al. (+1 more)
Enhancing the moral
alignment of Large
Language Models (LLMs) is a critical challenge in AI safety. Current
alignment techniques often act as superficial guardrails, leaving the intrinsic moral representations of LLMs largely untouched. In this paper, we bridge this gap by leveraging Moral Foundations Theory (MFT) to map and manipulate the fine-grained moral landscape of LLMs. Through cross-lingual linear probing, we validate the shared nature of moral representations in middle layers and uncover a shared yet different moral subspace between English and Chinese. Building upon this, we extract steerable Moral Vectors and successfully validate their efficacy at both internal and behavioral levels. Leveraging the high generalizability of morality, we propose Adaptive Moral Fusion (AMF), a dynamic inference-time intervention that synergizes probe detection with vector injection to tackle the safety-helpfulness trade-off. Empirical results confirm that our approach acts as a targeted intrinsic defense, effectively reducing incorrect refusals on benign queries while minimizing jailbreak success rates compared to standard baselines.
Read the full abstract ▾
All authors Luoming Hu, Jingjie Zeng, Liang Yang, Hongfei Lin
Computation and Language · Cross-listed from cs.AI
Evidence-Augmented Policy Optimization with Reward Co-Evolution for Long-Context Reasoning
Xin Guan, Zijian Li, Shen Huang et al. (+3 more)
While Reinforcement Learning (RL) has advanced LLM
reasoning, applying it to long-context scenarios is hindered by sparsity of outcome rewards. This limitation fails to penalize ungrounded "lucky guesses," leaving the critical process of needle-in-a-haystack evidence
retrieval largely unsupervised. To address this, we propose EAPO (Evidence-Augmented Policy Optimization). We first establish the Evidence-Augmented
Reasoning paradigm, validating via Tree-Structured Evidence Sampling that precise evidence extraction is the decisive bottleneck for long-context
reasoning. Guided by this insight, EAPO introduces a specialized RL
algorithm where a reward model computes a Group-Relative Evidence Reward, providing dense process supervision to explicitly improve evidence quality. To sustain accurate supervision throughout training, we further incorporate an Adaptive Reward-Policy Co-
Evolution mechanism. This mechanism iteratively refines the reward model using outcome-consistent rollouts, sharpening its discriminative capability to ensure precise process guidance. Comprehensive evaluations across eight
benchmarks demonstrate that EAPO significantly enhances long-context
reasoning performance compared to SOTA baselines.
Read the full abstract ▾
All authors Xin Guan, Zijian Li, Shen Huang, Pengjun Xie, Jingren Zhou, Jiuxin Cao
Computation and Language
MoST: Mixing Speech and Text with Modality-Aware Mixture of Experts
Yuxuan Lou, Kai Yang and Yang You
We present MoST (Mixture of
Speech and Text), a novel
multimodal large
language model that seamlessly integrates
speech and text processing through our proposed Modality-Aware Mixture of Experts (MAMoE) architecture. While current
multimodal models typically process diverse modality representations with identical parameters, disregarding their inherent representational differences, we introduce specialized routing pathways that direct
tokens to modality-appropriate experts based on input type. MAMoE simultaneously enhances modality-specific learning and cross-modal understanding through two complementary components: modality-specific expert groups that capture domain-specific patterns and shared experts that facilitate information transfer between modalities. Building on this architecture, we develop an efficient transformation pipeline that adapts the pretrained MoE
language model through strategic post-training on ASR and TTS
datasets, followed by fine-tuning with a carefully curated
speech-text instruction
dataset. A key feature of this pipeline is that it relies exclusively on fully accessible, open-source
datasets to achieve strong performance and data efficiency. Comprehensive evaluations across ASR, TTS, audio
language modeling, and spoken question answering
benchmarks show that MoST consistently outperforms existing models of comparable parameter counts. Our ablation studies confirm that the modality-specific routing mechanism and shared experts design significantly contribute to performance gains across all tested domains. To our knowledge, MoST represents the first fully open-source
speech-text LLM built on a Mixture of Experts architecture. \footnote{We release MoST model, training code, inference code, and training data at https://github.com/NUS-HPC-AI-Lab/MoST
Read the full abstract ▾
Computation and Language
Measuring Affinity between Attention-Head Weight Subspaces via the Projection Kernel
Hiroaki Yamagiwa, Yusuke Takase and Hidetoshi Shimodaira
Understanding relationships between
attention heads is essential for interpreting the internal structure of
Transformers, yet existing metrics do not capture this structure well. We focus on the subspaces spanned by
attention-head weight
matrices and quantify head-to-head relationships using the Projection Kernel (PK), a principal-angle-based measure of subspace similarity. Experiments on GPT2-small, BLOOM-560M, and Qwen2-0.5B-Instruct show that PK reproduces known head-to-head interactions on the IOI task more clearly than prior metrics such as the Composition Score. We further introduce a framework to quantify the informativeness of PK distributions by comparing them with a reference distribution derived from random orthogonal subspaces. As an application, we analyze a directed graph constructed from PK and show that, in GPT2-small, L4H7 acts as a hub by functioning as an Identity Head.
Read the full abstract ▾
Computation and Language
Untangling Input Language from Reasoning Language: A Diagnostic Framework for Cross-Lingual Moral Alignment in LLMs
Nan Li, Bo Kang and Tijl De Bie
When LLMs judge moral dilemmas, do they reach different conclusions in different
languages, and if so, why? Two factors could drive such differences: the
language of the dilemma itself, or the
language in which the model reasons. Standard evaluation conflates these by testing only matched conditions (e.g., English dilemma with English
reasoning). We introduce a methodology that separately manipulates each factor, covering also mismatched conditions (e.g., English dilemma with Chinese
reasoning), enabling decomposition of their contributions. To study what changes, we propose an approach to interpret the moral judgments in terms of Moral Foundations Theory. As a side result, we identify evidence for splitting the Authority dimension into a family-related and an institutional dimension. Applying this methodology to English-Chinese moral judgment with 13 LLMs, we demonstrate its diagnostic power: (1) the framework isolates
reasoning-
language effects as contributing twice the variance of input-
language effects; (2) it detects context-dependency in nearly half of models that standard evaluation misses; and (3) a diagnostic taxonomy translates these patterns into deployment guidance. We release our code and
datasets at https://anonymous.4open.science/r/CrossCulturalMoralJudgement.
Read the full abstract ▾
Computation and Language
coTherapist: A Behavior-Aligned Small Language Model to Support Mental Healthcare Experts
Prottay Kumar Adhikary, Reena Rawat and Tanmoy Chakraborty
Access to mental healthcare is increasingly strained by workforce shortages and rising demand, motivating the development of intelligent systems that can support mental healthcare experts. We introduce coTherapist, a unified framework utilizing a small
language model to emulate core therapeutic competencies through domain-specific fine-tuning,
retrieval augmentation, and agentic
reasoning. Evaluation on clinical queries demonstrates that coTherapist generates more relevant and clinically grounded responses than contemporary baselines. Using our novel T-BARS rubric and psychometric profiling, we confirm coTherapist exhibits high empathy and therapist-consistent personality traits. Furthermore, human evaluation by domain experts validates that coTherapist delivers accurate, trustworthy, and safe responses. coTherapist was deployed and tested by clinical experts. Collectively, these findings demonstrate that small models can be engineered to exhibit expert-like behavior, offering a scalable pathway for digital mental health tools.
Read the full abstract ▾
Computation and Language · Cross-listed from cs.AI
TRIM: Hybrid Inference via Targeted Stepwise Routing in Multi-Step Reasoning Tasks
Vansh Kapoor, Aman Gupta, Hao Chen et al. (+3 more)
Multi-step
reasoning tasks like mathematical problem solving are vulnerable to cascading failures, where a single incorrect step leads to complete solution breakdown. Current LLM routing methods assign entire queries to one model, treating all
reasoning steps as equal. We propose TRIM (Targeted routing in multi-step
reasoning tasks), which routes only critical steps$\unicode{x2013}$those likely to derail the solution$\unicode{x2013}$to larger models while letting smaller models handle routine continuations. Our key insight is that targeted step-level interventions can fundamentally transform inference efficiency by confining expensive calls to precisely those steps where stronger models prevent cascading errors. TRIM operates at the step-level: it uses process reward models to identify erroneous steps and makes routing decisions based on step-level uncertainty and budget constraints. We develop several routing strategies within TRIM, ranging from a simple threshold-based policy to more expressive policies that reason about long-horizon accuracy-cost trade-offs and uncertainty in step-level correctness estimates. On MATH-500, even the simplest thresholding strategy surpasses prior routing methods with 5x higher cost efficiency, while more advanced policies match the strong, expensive model's performance using 80% fewer expensive model
tokens. On harder
benchmarks such as AIME, TRIM achieves up to 6x higher cost efficiency. All methods generalize effectively across math
reasoning tasks, demonstrating that step-level difficulty represents fundamental characteristics of
reasoning.
Read the full abstract ▾
All authors Vansh Kapoor, Aman Gupta, Hao Chen, Anurag Beniwal, Jing Huang, Aviral Kumar
Computation and Language
Loop as a Bridge: Can Looped Transformers Truly Link Representation Space and Natural Language Outputs?
Guanxu Chen, Dongrui Liu and Jing Shao
Large
Language Models (LLMs) often exhibit a gap between their internal knowledge and their explicit linguistic outputs. In this report, we empirically investigate whether Looped
Transformers (LTs)–architectures that increase computational depth by iterating shared layers–can bridge this gap by utilizing their iterative nature as a form of introspection. Our experiments reveal that while increasing loop iterations narrows the gap, it is partly driven by a degradation of their internal knowledge carried by representations. Moreover, another empirical analysis suggests that current LTs' ability to perceive representations does not improve across loops; it is only present in the final loop. These results suggest that while LTs offer a promising direction for scaling computational depth, they have yet to achieve the introspection required to truly link representation space and natural
language.
Read the full abstract ▾
Computation and Language
GeoSteer: Faithful Chain-of-Thought Steering via Latent Manifold Gradients
Kentaro Kazama, Daiki Shirafuji and Tatsuhiko Saito
Recent advances in Large
Language Models (LLMs) have demonstrated remarkable progress in their
reasoning capabilities, such as Chain-of-Thought (CoT). Most approaches rely on CoT rationales. Previous studies have shown that LLMs often generate logically inconsistent
reasoning steps even when their final answers are correct. These inconsistencies reduce the reliability of the
reasoning process. We propose GeoSteer, a
manifold-based framework that improves the quality of intermediate
reasoning. The method consists of: (1) constructing a CoT
dataset with step-level scores, (2) training a Variational Autoencoder (VAE) model and a quality estimation model to learn a low-dimensional
manifold of high-quality CoT trajectories, and (3) steering hidden states of target LLMs toward higher-quality regions in the latent space. This last step enables steering of the hidden states by following gradients along the learned
manifold. It facilitates geometrically coherent steering. Evaluation experiments were conducted on the GSM8k
dataset using the Qwen3 series. We evaluated performance using two metrics: answer accuracy and overall
reasoning quality. GeoSteer improved the accuracy by 0.9 points and enhanced the
reasoning quality by 4.5 points on average, compared with those of original LLMs. These results indicate that GeoSteer improves an effective and controllable mechanism for improving the quality of intermediate
reasoning in LLMs.
Read the full abstract ▾
Computation and Language
One Instruction Does Not Fit All: How Well Do Embeddings Align Personas and Instructions in Low-Resource Indian Languages?
Arya Shah, Himanshu beniwal and Mayank Singh
Aligning
multilingual assistants with culturally grounded user preferences is essential for serving India's linguistically diverse population of over one billion speakers across multiple scripts. However, existing
benchmarks either focus on a single
language or conflate
retrieval with generation, leaving open the question of whether current
embedding models can encode persona-instruction compatibility without relying on response synthesis. We present a unified
benchmark spanning 12 Indian
languages and four evaluation tasks: monolingual and cross-lingual persona-to-instruction
retrieval, reverse
retrieval from instruction to persona, and binary compatibility classification. Eight
multilingual embedding models are evaluated in a frozen-encoder setting with a thin logistic regression head for classification. E5-Large-Instruct achieves the highest Recall@1 of 27.4% on monolingual
retrieval and 20.7% on cross-lingual transfer, while BGE-M3 leads reverse
retrieval at 32.1% Recall@1. For classification, LaBSE attains 75.3% AUROC with strong calibration. These findings offer practical guidance for model selection in Indic
multilingual retrieval and establish reproducible baselines for future work\footnote{Code,
datasets, and models are publicly available at https://github.com/aryashah2k/PI-Indic-Align.
Read the full abstract ▾
Computation and Language · Cross-listed from cs.LG
Future-KL Regularized GRPO: Process-Level Credit Assignment from $f$-Divergence Regularization
Jiarui Yao, Ruida Wang, Hao Bai et al. (+1 more)
Group Relative Policy Optimization (GRPO) is widely used for critic-free Large
Language Model (LLM) post-training, but its KL regularization is usually implemented as a local loss-side
token penalty. We show that this misses the policy-gradient signal induced by autoregressive KL regularization. Unlike standard KL-regularized Reinforcement Learning (RL) objectives, GRPO's group normalization induces a non-linear
prompt-level utility; for binary verifier rewards, this utility is $2\arcsin\sqrt p$. As a result, reward and KL cannot be fused before normalization without changing the implicit objective. We derive the on-policy gradient of GRPO-style objectives with
token-wise $f$-divergence regularization. The reward term recovers the standardized GRPO advantage, while the regularizer term includes a causal future-regularization return-to-go omitted by local KL losses. For reverse KL, this yields a simple future KL correction: add a reverse cumulative sum of per-
token log ratios after advantage construction. The resulting method, Future-KL Regularized Policy Optimization (FRPO), requires no critic or extra model passes. On mathematical
reasoning tasks, FRPO improves pass@16 in our main large-model setting while maintaining higher
entropy and lower policy drift than conventional loss-side KL baselines.
Read the full abstract ▾
All authors Jiarui Yao, Ruida Wang, Hao Bai, Tong Zhang
Computation and Language
HumanLLM: Benchmarking and Improving LLM Anthropomorphism via Human Cognitive Patterns
Xintao Wang, Jian Yang, Weiyuan Li et al. (+8 more)
Large
Language Models (LLMs) have demonstrated remarkable capabilities in
reasoning and generation, serving as the foundation for advanced persona simulation and Role-Playing
Language Agents (RPLAs). However, achieving authentic
alignment with human cognitive and behavioral patterns remains a critical challenge for these
agents. We present HumanLLM, a framework treating psychological patterns as interacting causal forces. We construct 244 patterns from $\sim$12,000 academic papers and synthesize 11,359 scenarios where 2-5 patterns reinforce, conflict, or modulate each other, with multi-turn conversations expressing inner thoughts, actions, and dialogue. Our dual-level checklists evaluate both individual pattern fidelity and emergent multi-pattern dynamics, achieving strong human
alignment ($r=0.90$) while revealing that holistic metrics conflate simulation accuracy with social desirability. HumanLLM-8B outperforms Qwen3-32B on multi-pattern dynamics despite 4$\times$ fewer parameters, demonstrating that authentic anthropomorphism requires cognitive modeling – simulating not just what humans do, but the psychological processes generating those behaviors. Our
dataset, code, and model are available at:https://github.com/YJGoodbye2024/HumanLLM
Read the full abstract ▾
All authors Xintao Wang, Jian Yang, Weiyuan Li, Rui Xie, Jen-tse Huang, Jun Gao, Shuai Huang, Yueping Kang, Yuanli Gou, Hongwei Feng, Yanghua Xiao
Computation and Language
HOMURA: Taming the Sand-Glass for Time-Constrained LLM Translation via Reinforcement Learning
Ziang Cui, Mengran Yu, Chenyu Shi et al. (+2 more)
Large
Language Models (LLMs) have achieved remarkable strides in
multilingual translation but are hindered by a systemic cross-lingual verbosity bias, rendering them unsuitable for strict time-constrained tasks like subtitling and dubbing. Current
prompt-engineering approaches struggle to resolve this conflict between semantic fidelity and rigid temporal feasibility. To bridge this gap, we first introduce Sand-Glass, a
benchmark specifically designed to evaluate translation under syllable-level duration constraints. Furthermore, we propose Homura, a reinforcement learning framework that explicitly optimizes the trade-off between semantic preservation and temporal compliance. By employing a constrained reinforcement learning objective featuring a novel dynamic syllable-ratio reward, Homura effectively "tames" the output length. Experimental results demonstrate that Homura significantly outperforms strong baselines, achieving precise length control that respects linguistic density hierarchies without compromising semantic adequacy.
Read the full abstract ▾
All authors Ziang Cui, Mengran Yu, Chenyu Shi, Yingxuan Shi, Tianjiao Li
Computation and Language · Cross-listed from cs.CR
ReasAlign: Reasoning Enhanced Safety Alignment against Prompt Injection Attack
Hao Li, Yankai Yang, G. Edward Suh et al. (+2 more)
Large
Language Models (LLMs) have enabled the development of powerful agentic systems capable of automating complex workflows across various fields. However, these systems are highly vulnerable to indirect
prompt injection attacks, where malicious instructions embedded in external data can hijack
agent behavior. In this work, we present ReasAlign, a model-level solution to improve safety
alignment against indirect
prompt injection attacks. The core idea of ReasAlign is to incorporate structured
reasoning steps to analyze user queries, detect conflicting instructions, and preserve the continuity of the user's intended tasks to defend against indirect injection attacks. To further ensure
reasoning logic and accuracy, we introduce a test-time scaling mechanism with a preference-optimized judge model that scores
reasoning steps and selects the best trajectory. Comprehensive evaluations across various
benchmarks show that ReasAlign maintains utility comparable to an undefended model while consistently outperforming Meta SecAlign, the strongest prior guardrail. On the representative open-ended CyberSecEval2
benchmark, which includes multiple
prompt-injected tasks, ReasAlign achieves 94.6% utility and only 3.6% ASR, far surpassing the state-of-the-art defensive model of Meta SecAlign (56.4% utility and 74.4% ASR). These results demonstrate that ReasAlign achieves the best trade-off between security and utility, establishing a robust and practical defense against
prompt injection attacks in real-world agentic systems. Our code and experimental results could be found at https://github.com/leolee99/ReasAlign.
Read the full abstract ▾
All authors Hao Li, Yankai Yang, G. Edward Suh, Ning Zhang, Chaowei Xiao
Computation and Language
Credit C-GPT: A Domain-Specialized Large Language Model for Conversational Understanding in Vietnamese Debt Collection
Nhung Nguyen Thi Hong, Cuong Nguyen Dang and Tri Le Ngoc
Debt collection is a critical function within the banking, financial services, and insurance (BFSI) sector, relying heavily on large-scale human-to-human conversational interactions conducted primarily in Vietnamese contact centers. These conversations involve informal spoken
language, emotional variability, and complex domain-specific
reasoning, which pose significant challenges for traditional natural
language processing systems. This paper introduces Credit C-GPT, a domain-specialized large
language model with seven billion parameters, fine-tuned for conversational understanding in Vietnamese debt collection scenarios. The proposed model integrates multiple conversational intelligence tasks, including dialogue understanding, sentiment recognition, intent detection, call stage classification, and structured slot-value extraction, within a single
reasoning-based framework. We describe the data construction process, annotation strategy, and training methodology, and evaluate the model on proprietary human-annotated
datasets. Experimental results show consistent improvements over traditional pipeline-based approaches, indicating that domain-specialized conversational
language models provide a scalable and
privacy-aware solution for real-time assistance and post-call analytics in enterprise contact centers.
Read the full abstract ▾
Computation and Language
AWED-PIPER: Agents, Web Applications & Expert Detectors for Personally Identifiable Information Protection & Fine-grained Named Entity Recognition across 36 languages for 6.6 Billion Speakers
Prachuryya Kaushik and Ashish Anand
Named Entity Recognition (NER) and Personally Identifiable Information (PII) anonymization are critical tasks in Natural
Language Processing (NLP) for information extraction and
privacy preservation. We introduce AWED-PIPER, an open-source framework comprising agentic tools, interactive web applications, and 54 state-of-the-art expert detector models that provide unified Fine-grained Named Entity Recognition (FgNER) and reversible synthetic PII pseudonymization across 36
languages spoken by over 6.6 billion people. The system couples fine-grained
multilingual sequence labeling with script-aware regex detectors to identify contextual entities (Person, Location, Organization, Medical) as well as structured technical PII (Emails, native-script Phone Numbers, IP Addresses, Credit Cards). AWED-PIPER offers a dual capability: full FgNER entity extraction and
privacy-preserving reversible anonymization with persistent placeholders and de-anonymization dictionary mappings. The suite spans global
languages to extremely low-resource vulnerable
languages like Bodo, Manipuri, Bishnupriya, and Mizo. The resources can be accessed here: PII Protector Agentic Tool: (https://github.com/PrachuryyaKaushik/AWED-PIPER), FgNER Agentic Tool: (https://github.com/PrachuryyaKaushik/AWED-FiNER), PII Web Application: (https://hf.co/spaces/prachuryyaIITG/AWED_PII_Protector), FgNER Web Application: (https://hf.co/spaces/prachuryyaIITG/AWED-FiNER), and Edge-deployable Expert Detector Models: (https://hf.co/collections/prachuryyaIITG/awed-piper).
Read the full abstract ▾