Detailed knowledge of a user’s persona is valuable for personalizing generative AI models and agents, yet such details are difficult to obtain and change over time. We address the task of inferring persona attributes from a single day of mobile activity logs. No suitable publicly available benchmark exists for this task, so we introduce a synthetic benchmark of 1,600 persona-log pairs. We target on-device inference so that raw logs never leave the phone, which makes memory rather than speed the limiting constraint: a day of activity yields roughly 30K tokens, whose key-value cache alone exceeds the INT4 weights of a 4B-parameter model. We therefore propose a log filtering method that retains only behaviorally distinct entries. Filtering reduces the memory footprint by up to 39% across nine models from four families and more than halves prefill time, while maintaining or improving prediction quality. For Qwen3-4B it removes 2.5GB, bringing the model from well beyond a realistic per-process budget to a manageable one. Within our benchmark, these results indicate that preserving diverse behavioral events matters more for persona prediction than retaining every semantically similar log entry.
@article{alajrami2026logtopersona,title={{LogToPersona}: New Benchmark and Efficient Persona Prediction through Semantic Log Filtering},author={Alajrami, Ahmed and Bohdal, Ondrej and Song, Seokwoo and Um, Taegeon and Hosseini, Peyman and Ozkan, Savas and Ozay, Mete and Ceritli, Taha},journal={arXiv preprint arXiv:2611.33510},year={2026},month=nov,}
@article{hosseini2026duomem,title={{DuoMem}: Towards Capable On-Device Memory Agents via Dual-Space Distillation},author={Hosseini, Peyman and Bohdal, Ondrej and Alajrami, Ahmed and Maracani, Andrea and Castro, Ignacio and Purver, Matthew and Ozay, Mete and Ozkan, Savas and Ceritli, Taha},journal={arXiv preprint arXiv:2606.29961},year={2026},month=jun,}
In Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics, Dec 2025
Instruction-tuning plays a vital role in enhancing the task-solving abilities of large language models (LLMs), improving their usability in generating helpful responses on various tasks. However, previous work has demonstrated that they are sensitive to minor variations in instruction phrasing. In this paper, we explore whether introducing perturbations in instruction-tuning data can enhance LLMs’ resistance against noisy instructions. We focus on how instruction-tuning with perturbations, such as removing stop words or shuffling words, affects LLMs’ performance on the original and perturbed versions of widely-used benchmarks (MMLU, BBH, GSM8K). We further assess learning dynamics and potential shifts in model behavior. Surprisingly, our results suggest that instruction-tuning on perturbed instructions can, in some cases, improve downstream performance. These findings highlight the importance of including perturbed instructions in instruction-tuning, which can make LLMs more resilient to noisy user inputs.
@inproceedings{alajrami-etal-2025-fine,title={Fine-Tuning on Noisy Instructions: Effects on Generalization and Performance},author={Alajrami, Ahmed and Tan, Xingwei and Aletras, Nikolaos},booktitle={Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics},month=dec,year={2025},address={Mumbai, India},publisher={The Asian Federation of Natural Language Processing and The Association for Computational Linguistics},url={https://aclanthology.org/2025.ijcnlp-long.41/},doi={10.18653/v1/2025.ijcnlp-long.41},pages={728--742},}
Understanding how and what pre-trained language models (PLMs) learn about language is an open challenge in natural language processing. Previous work has focused on identifying whether they capture semantic and syntactic information, and how the data or the pre-training objective affects their performance. However, to the best of our knowledge, no previous work has specifically examined how information loss in input token characters affects the performance of PLMs. In this study, we address this gap by pre-training language models using small subsets of characters from individual tokens. Surprisingly, we find that pre-training even under extreme settings, i.e. using only one character of each token, the performance retention in standard NLU benchmarks and probing tasks compared to full-token models is high. For instance, a model pre-trained only on single first characters from tokens achieves performance retention of approximately 90% and 77% of the full-token model in SuperGLUE and GLUE tasks, respectively.
@inproceedings{alajrami-etal-2023-understanding,title={Understanding the Role of Input Token Characters in Language Models: How Does Information Loss Affect Performance?},author={Alajrami, Ahmed and Margatina, Katerina and Aletras, Nikolaos},booktitle={Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},month=dec,year={2023},address={Singapore},publisher={Association for Computational Linguistics},url={https://aclanthology.org/2023.emnlp-main.563/},doi={10.18653/v1/2023.emnlp-main.563},pages={9085--9108},}
Several pre-training objectives, such as masked language modeling (MLM), have been proposed to pre-train language models (e.g. BERT) with the aim of learning better language representations. However, to the best of our knowledge, no previous work so far has investigated how different pre-training objectives affect what BERT learns about linguistics properties. We hypothesize that linguistically motivated objectives such as MLM should help BERT to acquire better linguistic knowledge compared to other non-linguistically motivated objectives that are not intuitive or hard for humans to guess the association between the input and the label to be predicted. To this end, we pre-train BERT with two linguistically motivated objectives and three non-linguistically motivated ones. We then probe for linguistic characteristics encoded in the representation of the resulting models. We find strong evidence that there are only small differences in probing performance between the representations learned by the two different types of objectives. These surprising results question the dominant narrative of linguistically informed pre-training.
@inproceedings{alajrami-aletras-2022-pre,title={How does the pre-training objective affect what large language models learn about linguistic properties?},author={Alajrami, Ahmed and Aletras, Nikolaos},booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},month=may,year={2022},address={Dublin, Ireland},publisher={Association for Computational Linguistics},url={https://aclanthology.org/2022.acl-short.16/},doi={10.18653/v1/2022.acl-short.16},pages={131--147},}