Searcharxiv⌕ Search

arXiv subjects

Golnaz Shahtahmassebi

Publications and source records attributed to Golnaz Shahtahmassebi.

10 recordsLinked to original sources

Training and Agentic Inference Strategies for LLM-based Manim Animation Generation

Generating programmatic animation using libraries such as Manim presents unique challenges for Large Language Models (LLMs), requiring spatial reasoning, temporal sequencing, and familiarity with domain-specific APIs that are underrepresented in general pre-training data. A systematic study of how training and inference strategies interact in this setting is lacking in current research. This study introduces ManimTrainer, a training pipeline that combines Supervised Fine-tuning (SFT) with Reinforcement Learning (RL) based Group Relative Policy Optimisation (GRPO) using a unified reward signal that fuses code and visual assessment signals, and ManimAgent, an inference pipeline featuring Renderer-in-the-loop (RITL) and API documentation-augmented RITL (RITL-DOC) strategies. Using these techniques, this study presents the first unified training and inference study for text-to-code-to-video transformation with Manim. It evaluates 17 open-source sub-30B LLMs across nine combinations of training and inference strategies using ManimBench. Results show that SFT generally improves code quality, while GRPO enhances visual outputs and increases the models' responsiveness to extrinsic signals during self-correction at inference time. The Qwen 3 Coder 30B model with GRPO and RITL-DOC achieved the highest overall performance, with a 94% Render Success Rate (RSR) and 85.7% Visual Similarity (VS) to reference videos, surpassing the baseline GPT-4.1 model by +3 percentage points in VS. Additionally, the analysis shows that the correlation between code and visual metrics strengthens with SFT and GRPO but weakens with inference-time enhancements, highlighting the complementary roles of training and agentic inference strategies in Manim animation generation.

cs.AI↗

LessonBench-V1: A Benchmark Dataset for Evaluating AI Lesson Generation Agents

Large Language Model (LLM) based AI educational content generation systems are increasingly being developed, yet no standardised benchmark exists to systematically evaluate them. This study introduces LessonBench-V1, a benchmark dataset comprising 647 human-written lessons paired with LLM-based reverse-engineered lesson plans across 240 STEM topics spanning mathematics, physics, chemistry, and computer science. The lessons are drawn from 97 trusted open sources, including LibreTexts, Brilliant.org and GeeksForGeeks. Each lesson plan is human-reviewed and produced through a pedagogically grounded methodology that synthesises Bloom's Taxonomy, Gagné's Events, Merrill's First Principles, and the 5E Instructional Model. The lesson plans capture 3,620 learning objectives with pedagogical metadata, enabling systematic, reproducible evaluation of lesson-generation AI agents and supporting further research. The study further proposes a three-dimensional evaluation pipeline for use with the dataset.

cs.CY↗

Gender shapes the relationship between productivity and journal prestige in science

Gender disparities in academia manifest and persist in various aspects of the scientific enterprise, yet their influence on the interplay between research productivity and journal prestige remains underexplored. Here we analyze the academic trajectories of over 6,000 elite Brazilian researchers by jointly tracking their annual productivity and the average prestige of the journals in which they publish. By projecting individual career years onto a standardized productivity-prestige plane and applying Bayesian hierarchical modeling, we find that male researchers are more likely to follow productivity-oriented trajectories and are markedly overrepresented in the hyperprolific region of this plane. Female peers, in contrast, more often occupy regions that prioritize journal prestige over publication quantity. Although male researchers publish more throughout their careers, their female counterparts achieve comparable or higher average journal prestige, particularly in later career stages and among outlier individuals. Male researchers also exhibit greater temporal persistence in their productivity and impact levels and are especially averse to simultaneously changing both metrics compared to their female peers. Among non-outliers, productivity and career age have a negative overall impact on the average journal prestige of researchers of both genders, with slightly stronger effects observed among female researchers; however, these patterns vary across disciplines, highlighting the complexity and heterogeneity of academic careers.

physics.soc-ph↗

Comprehensive indicators and fine granularity refine density scaling laws in rural-urban systems

Density scaling laws complement traditional population scaling laws by enabling the analysis of the full range of human settlements and revealing rural-to-urban transitions with breakpoints at consistent population densities. However, previous studies have been constrained by the granularity of rural and urban units, as well as limitations in the quantity and diversity of indicators. This study addresses these gaps by examining Middle Layer Super Output Areas (MSOAs) in England and Wales, incorporating an extensive set of 117 indicators for the year 2021, spanning age, ethnicity, educational attainment, religion, disability, economic activity, mortality, crime, property transactions, and road accidents. Results indicate that the relationship between indicator density and population density is best described by a segmented power-law model with a consistent breakpoint (33 +- 5 persons per hectare) for 92 of the 117 indicators. Additionally, increasing granularity reveals further rural-to-urban transitions not observed at coarser spatial resolutions. Our findings also highlight the influence of population characteristics on scaling exponents, where stratifying dementia and ischaemic heart disease by older age groups (aged 70 and above) significantly affects these exponents, illustrating a protective urban effect.

physics.soc-ph↗

Entropy-Based Methods to Address Sampling Bias in Archaeological Predictive Modeling

Predictive modeling in archaeology is essential for the understanding of people's behavior in the past and for guiding heritage conservation. However, spatial sampling bias caused by uneven research effort can severely limit model reliability. This research describes a novel new framework that integrates entropy-based corrections to measure and minimize such biases in archaeological modeling of foresight. Leveraging the open access data of the Grand Staircase-Escalante National Monument, we employ Shannon entropy to determine survey coverage and assign appropriate weights to pseudo-absence points. We combine these weights with predictive models such as Bayesian Spatial Logistic Regression (via R-INLA), Generalized Additive Models, Maximum Entropy and Random Forests. Our findings prove that entropy-aware models exhibit improved accuracy and robustness, especially for under-surveyed regions. This approach not only advances methodological transparency, but also improves the interpretation of archaeological prediction under conditions of data uncertainty. The proposed framework offers a scalable, theoretically grounded strategy for addressing spatial bias in archaeological datasets.

stat.AP↗

Nonlinear Rank Scaling and Hidden Structure in NHS Expenditure Transparency Data

A variety of transparency initiatives have been introduced by governments to reduce corruption and allow citizens to independently evaluate effectiveness and efficiency of spending. In 2010, the UK government mandated transparency for many expenditures exceeding £25,000. The resulting data is dispersed across a range of governmental organizations and presents an opportunity to understand expenditure at scale, interrogate organizational structures and develop transparency measures. Here, we focus on data from the top two layers of the National Health Service (NHS) within England, including NHS England (NHSE) and Integrated Care Boards (ICBs). As the one of the largest government run healthcare organizations in the world and potentially the sixth largest employer globally, the NHS provides a distinctive case for studying healthcare delivery, contractor dynamics, and organizational self-organization. We find that limiting transparency to larger transactions conceals a substantial share of spending from scrutiny, including most transactions. The rank-frequency distributions of suppliers, expense types, and spending categories exhibit multiple scaling regimes and these are similar to patterns observed in word frequency and urban scaling studies.

stat.AP↗

ArtBrain: An Explainable end-to-end Toolkit for Classification and Attribution of AI-Generated Art and Style

Recently, the quality of artworks generated using Artificial Intelligence (AI) has increased significantly, resulting in growing difficulties in detecting synthetic artworks. However, limited studies have been conducted on identifying the authenticity of synthetic artworks and their source. This paper introduces AI-ArtBench, a dataset featuring 185,015 artistic images across 10 art styles. It includes 125,015 AI-generated images and 60,000 pieces of human-created artwork. This paper also outlines a method to accurately detect AI-generated images and trace them to their source model. This work proposes a novel Convolutional Neural Network model based on the ConvNeXt model called AttentionConvNeXt. AttentionConvNeXt was implemented and trained to differentiate between the source of the artwork and its style with an F1-Score of 0.869. The accuracy of attribution to the generative model reaches 0.999. To combine the scientific contributions arising from this study, a web-based application named ArtBrain was developed to enable both technical and non-technical users to interact with the model. Finally, this study presents the results of an Artistic Turing Test conducted with 50 participants. The findings reveal that humans could identify AI-generated images with an accuracy of approximately 58%, while the model itself achieved a significantly higher accuracy of around 99%.

cs.AI↗

A Heteroscedastic Bayesian Generalized Logistic Regression Model with Application to Scaling Problems

Power law scaling models have been used to understand the complexity of systems as diverse as cities, neurological activity, and rainfall and lightning. In the scaling framework, power laws and standard linear regression methods are widely used to estimate model parameters with assumed normality and fixed variance. Generalized linear models (GLM) can accommodate a wider range of distributions where the chosen distribution must meet the assumptions of the data to prevent model bias. We present a widely applicable Bayesian generalized logistic regression (BGLR) framework to more flexibly model a continuous real response addressing skew and heteroscedasticity. The Generalized Logistic Distribution (GLD) was selected to flexibly model skewed continuous data. This resulted in a nonlinear posterior distribution which may not have an analytical solution which can be solved numerically with Markov Chain Monte Carlo (MCMC) methods. We compared the BGLR model to standard and Bayesian normal models having fixed and varying variance when fitting power laws to 759 days of COVID-19 data. The BGLR yielded information beyond existing methods about the evolution of skew and skedasticity while revealing parameter bias of widely used methods. The BGLR flexibly modelled the complex characteristics necessary for an improved understanding of the propagation and dynamics of this infectious disease. The model is generally applicable and can be used as a template for modeling complexity with other distributions.

stat.ME↗

Profit and loss manipulations by online trading brokers

Online trading has attracted millions of people around the world. In March 2021, it was reported there were 18 million accounts from just one broker. Historically, manipulation in financial markets is considered to be fraudulently influencing share, currency pairs or any other indices prices. This article introduces the idea that online trading platform technical issues can be considered as brokers manipulation to control traders profit and loss. More importantly it shows these technical issues are the contributing factors of the 82% risk of retail traders losing money. We identify trading platform technical issues of one of the world's leading online trading providers and calculate retail traders losses caused by these issues. To do this, we independently record each trade details using the REST API response provided by the broker. We show traders log activity files is the only way to assess any suspected profit or loss manipulation by the broker. Therefore, it is essential for any retail trader to have access to their log files. We compare our findings with broker's Trustpilot customer reviews. We illustrate how traders' profit and loss can be negatively affected by broker's platform technical issues such as not being able to close profitable trades, closing trades with delays, disappearance of trades, disappearance of profit from clients statements, profit and loss discrepancies, stop loss not being triggered, stop loss or limit order triggered too early. Although regulatory bodies try to ensure that consumers get a fair deal, these attempts are hugely insufficient in protecting retail traders. Therefore, regulatory bodies such as the FCA should take these technical issues seriously and not rely on brokers' internal investigations, because under any other circumstances, these platform manipulations would be considered as crimes and connivingly misappropriating funds.

q-fin.TR↗

Population Density and Spreading of COVID-19 in England and Wales

We investigated daily COVID-19 cases and deaths in the 337 lower tier local authority regions in England and Wales to better understand how the disease propagated over a 15-month period. Population density scaling models revealed residual variance and skewness to be sensitive indicators of the dynamics of propagation. Lockdowns and schools reopening triggered increased variance indicative of outbreaks with local impact and country scale heterogeneity. University reopening and December holidays triggered reduced variance indicative of country scale homogenisation which reached a minimum in mid-January 2021. Homogeneous propagation was associated with better correspondence with normally distributed residuals while heterogeneous propagation was more consistent with skewed models. Skewness varied from strongly negative to strongly positive revealing an unappreciated feature of community propagation. Hot spots and super-spreading events are well understood descriptors of regional disease dynamics that would be expected to be associated with positively skewed distributions. Positively skewed behaviour was observed; however, negative skewness indicative of cold-spots and super-isolation dominated for approximately 8 months during the period of study. In contrast, death metrics showed near constant behaviour in scaling, variance, and skewness metrics over the full period with rural regions preferentially affected, an observation consistent with regional age demographics in England and Wales. Regional positions relative to density scaling laws were remarkably persistent after the first 5-9 days of the available data set. The determinants of this persistent behaviour probably precede the pandemic and remain unchanged.

q-bio.PE↗