<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>semantic embeddings &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/semantic-embeddings/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Thu, 24 Sep 2026 21:30:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>semantic embeddings &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>AI Models Unlock the Hidden Language of Psychiatric Questionnaires</title>
		<link>https://scienmag.com/ai-models-unlock-the-hidden-language-of-psychiatric-questionnaires/</link>
		
		<dc:creator><![CDATA[Glenn Wilkins]]></dc:creator>
		<pubDate>Thu, 24 Sep 2026 21:30:35 +0000</pubDate>
				<category><![CDATA[Social Science]]></category>
		<category><![CDATA[analyzing questionnaire item correlations]]></category>
		<category><![CDATA[clinical psychology]]></category>
		<category><![CDATA[computational linguistics]]></category>
		<category><![CDATA[language-based mental health assessment]]></category>
		<category><![CDATA[large language models]]></category>
		<category><![CDATA[large language models in mental health]]></category>
		<category><![CDATA[latent psychological traits]]></category>
		<category><![CDATA[latent traits]]></category>
		<category><![CDATA[measurement theory]]></category>
		<category><![CDATA[measuring hidden mind traits]]></category>
		<category><![CDATA[natural language processing in mental health]]></category>
		<category><![CDATA[Nature Mental Health]]></category>
		<category><![CDATA[NLP in psychiatry]]></category>
		<category><![CDATA[psychiatric assessment]]></category>
		<category><![CDATA[Psychiatric questionnaires]]></category>
		<category><![CDATA[psychometrics]]></category>
		<category><![CDATA[psychopathology]]></category>
		<category><![CDATA[questionnaire item analysis using AI]]></category>
		<category><![CDATA[questionnaires]]></category>
		<category><![CDATA[Random Forest]]></category>
		<category><![CDATA[reconstructing psychopathology from language]]></category>
		<category><![CDATA[semantic embeddings]]></category>
		<category><![CDATA[semantic embeddings in psychology]]></category>
		<category><![CDATA[statistical structure of psychological instruments]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=212695</guid>

					<description><![CDATA[A new commentary argues that large language models can reconstruct the statistical architecture of psychiatric questionnaires from wording alone, suggesting that psychometric structure may be partly rooted in language itself.]]></description>
										<content:encoded><![CDATA[<p>Psychiatry has long rested on a quiet assumption: that standardized questionnaires measure hidden traits of the mind. Depression scales, personality inventories, and symptom checklists are treated as windows onto latent psychological constructs that exist beneath the surface of language. A new wave of research is now challenging that picture in a striking way. Writing in Nature Mental Health, Andrea Raballo, Michele Poletti, and Antonio Preti argue that a recent study by Kambeitz and colleagues shows that large language models can reconstruct much of the empirical architecture of psychopathology from the wording of questionnaire items alone. In other words, the statistical structure that clinicians and researchers have attributed to underlying mental traits may, to a substantial degree, be baked into the very language of the instruments used to detect those traits.</p>
<p>The technical core of the underlying study is deceptively simple. Kambeitz and colleagues analyzed multiple large-scale datasets and computed the empirical associations between individual questionnaire items, essentially asking which questions tend to be answered in similar ways by the same people. They then turned to large language models, which represent words and sentences as high-dimensional numerical vectors known as embeddings, capturing semantic and sentiment information learned from vast corpora of text. Using these embeddings, the team generated predicted item-to-item associations based purely on how the items read, rather than on how anyone actually responded to them. Random forest models trained on these linguistic features predicted the empirically observed associations with moderate to high accuracy, and the researchers partially reconstructed the clustering of items into subscales and subdomains across established psychopathology questionnaires.</p>
<p>The implications ripple far beyond a methodological curiosity. If the correlation matrices and factor structures that underpin decades of psychiatric measurement can be partially recovered from semantics alone, then the low-dimensional structure traditionally attributed to latent psychopathological traits is, to a non-trivial extent, reflected in the linguistic properties of the measuring instruments themselves. Symptoms, after all, are described verbally. Questionnaires are composed of linguistic items. The covariance structures that emerge from patient responses are responses to those descriptions, not to trait-free signals. Language, in this view, is not a transparent medium through which psychopathology is expressed; it is an active participant in how that psychopathology is operationalized and measured.</p>
<p>Raballo and his colleagues push the argument further, contending that these findings invite a semantic account of measurement itself. Classical psychometrics, as codified in foundational work on conceptual issues in the field, treats items as fallible indicators of latent variables: the item is a symptom proxy, the trait is the real thing, and the correlation between items reflects their shared dependence on that trait. A semantic account inverts part of this logic. If the empirical structure of an instrument can be predicted from its language, then the meaning carried by the items is not incidental noise around a latent signal. It is part of what constitutes the measurement. The instrument does not merely read out a trait; it frames, filters, and partly generates the structure that the trait model then claims to discover.</p>
<p>Convergent evidence from other recent research supports this reframing. Independent work published in Scientific Reports and in the proceedings of the tenth Workshop on Computational Linguistics and Clinical Psychology has examined how generative language models and semantic embeddings relate to psychometric data, finding that semantic properties of items carry measurable information about their empirical behavior. Studies of semantic psychometrics have similarly suggested that questionnaire meaning and questionnaire statistics are deeply intertwined. Meanwhile, methodological critiques published in Nature Human Behaviour have scrutinized how language models should be evaluated and used in research, adding cautionary context: embeddings capture regularities of text, and those regularities may reflect cultural, historical, and clinical conventions as much as they reflect the structure of mental life.</p>
<p>That caveat matters, and it points to one of the most philosophically interesting aspects of the debate. Psychopathology is described in clinical language that has evolved over more than a century, shaped by diagnostic manuals, textbook traditions, and the vocabulary of distress available to patients and clinicians alike. When a large language model learns that items about low mood, anhedonia, and fatigue cluster together, it may be learning something about depression as a construct, but it may equally be learning something about how depression is conventionally written about. Disentangling these possibilities is now an urgent empirical task. The correspondence between semantic embeddings and empirical item associations could reflect genuine psychopathological structure, shared semantic conventions, or a feedback loop in which clinical language shaped the instruments, the instruments shaped the data, and the data shaped the constructs.</p>
<p>The epistemological stakes are considerable. Psychiatric diagnosis has spent decades wrestling with the reliability and validity of its categories, and the field&#8217;s reliance on self-report questionnaires has often been defended on the grounds that these instruments operationalize constructs with known psychometric properties. If a meaningful portion of those properties can be derived from the wording of the items without consulting any respondent data, then the boundary between construct and measurement becomes porous. Researchers designing a new scale might, in principle, use language models to anticipate its factor structure before a single participant completes it. That prospect is both powerful and unsettling. It could accelerate instrument development and flag redundancies before costly data collection. It could also entrench the conventions already embedded in clinical language, making it harder for genuinely new ways of describing suffering to gain empirical traction.</p>
<p>There are also practical opportunities that the commentary&#8217;s authors see as within reach. If semantic embeddings predict item associations, then assessment tools of the future might be designed with explicit attention to their linguistic architecture, treating item wording as a design variable with measurable consequences rather than a matter of clinical taste. Language models could help identify which items are semantically redundant, which subdomains are artifacts of phrasing, and which constructs are underrepresented in the existing lexicon of psychiatric measurement. Combined with advances in computational linguistics applied to clinical settings, this could open a path toward instruments that are more transparent about the role their language plays, and possibly toward assessment approaches that draw on natural patient speech rather than fixed questionnaires, provided the measurement properties of such approaches can be established with the same rigor.</p>
<p>Skeptics will rightly note the limits of the current evidence. The reconstruction reported by Kambeitz and colleagues is partial, not complete. Predicting item associations from embeddings does not yet amount to reproducing the full empirical structure of psychopathology, and accuracy that is moderate to high in statistical terms still leaves substantial variance unexplained. Embedding-based predictions also inherit the biases of the text corpora on which language models are trained, including imbalances across languages, cultures, and diagnostic traditions. The commentary in Nature Mental Health does not claim that latent traits are illusions; rather, it argues that the representational correspondence between language and empirical structure has broader implications than the original study articulated, particularly for how measurement is conceptualized and how future tools are built.</p>
<p>What makes this debate resonate beyond specialist circles is the reversal it performs on a familiar anxiety. Much public discussion of large language models in mental health has focused on chatbots as therapists or as sources of clinical advice, with attendant worries about safety and oversight. This line of research points somewhere quieter and perhaps more consequential: language models as instruments for interrogating the instruments of psychiatry itself. The questionnaires that quietly structure diagnosis, treatment trials, and epidemiological statistics turn out to have a semantic skeleton that machines can now see. Making that skeleton explicit, and deciding what it means, may shape how the field measures the mind for years to come. The work by Raballo, Poletti, and Preti, published in September 2026, marks a clear call for that conversation to begin in earnest.</p>
<p><strong>Subject of Research:</strong> Semantic structure and measurement in large language models applied to psychopathology and psychometrics</p>
<p><strong>Article Title:</strong> Semantic structure and measurement in large language models for psychopathology and psychometrics</p>
<p><strong>Article References:</strong> Raballo, A., Poletti, M., &amp; Preti, A. (2026). Semantic structure and measurement in large language models for psychopathology and psychometrics. <em>Nature Mental Health</em>. <a href="https://doi.org/10.1038/s44220-026-00712-7" rel="noopener noreferrer">https://doi.org/10.1038/s44220-026-00712-7</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.1038/s44220-026-00712-7" rel="noopener noreferrer">10.1038/s44220-026-00712-7</a></p>
<p><strong>Keywords:</strong> large language models, psychometrics, psychopathology, psychiatric assessment, semantic embeddings, questionnaires, latent traits, measurement theory, Nature Mental Health, computational linguistics, clinical psychology, random forest</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">212695</post-id>	</item>
		<item>
		<title>Mathematicians Turn Prompt Engineering Into an Algebra of Meaning</title>
		<link>https://scienmag.com/mathematicians-turn-prompt-engineering-into-an-algebra-of-meaning/</link>
		
		<dc:creator><![CDATA[Denise Maddox]]></dc:creator>
		<pubDate>Sun, 13 Sep 2026 00:36:47 +0000</pubDate>
				<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[algebra of meaning]]></category>
		<category><![CDATA[composability]]></category>
		<category><![CDATA[composable prompt operators]]></category>
		<category><![CDATA[entropy dynamics]]></category>
		<category><![CDATA[formal structure of prompt engineering]]></category>
		<category><![CDATA[functional analysis in AI]]></category>
		<category><![CDATA[generative AI]]></category>
		<category><![CDATA[large language models]]></category>
		<category><![CDATA[mathematical modeling of prompts]]></category>
		<category><![CDATA[mechanistic interpretability]]></category>
		<category><![CDATA[natural language prompts]]></category>
		<category><![CDATA[operator theory]]></category>
		<category><![CDATA[operator theory in NLP]]></category>
		<category><![CDATA[Phi-3-mini]]></category>
		<category><![CDATA[Prompt Algebra]]></category>
		<category><![CDATA[prompt embedding manipulation]]></category>
		<category><![CDATA[prompt engineering]]></category>
		<category><![CDATA[Prompt Transform Group]]></category>
		<category><![CDATA[prompt transformation framework]]></category>
		<category><![CDATA[semantic embeddings]]></category>
		<category><![CDATA[semantic space modeling]]></category>
		<category><![CDATA[Sentence-BERT]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=200096</guid>

					<description><![CDATA[A new mathematical framework called Prompt Algebra models prompts as composable operators in the latent semantic space of large language models, turning prompt engineering from a heuristic craft into a principled discipline.]]></description>
										<content:encoded><![CDATA[<p>Prompt engineering has long been treated as a dark art, a matter of trial and error in which practitioners coax better answers out of large language models by tweaking words until something clicks. A new study published in Neural Computing and Applications argues that this craft can be placed on rigorous mathematical footing. In a paper authored by Salah ElDin Zaher Olaymi of Taibah University in Saudi Arabia, the researcher introduces a framework called Prompt Algebra, which models natural language prompts as composable operators acting within the latent semantic space of large language models. The work, published on 11 September 2026 as volume 38, article 732 of the journal, proposes that the seemingly ad hoc process of writing instructions for artificial intelligence systems obeys structural rules that can be described with the same formal machinery used in functional analysis and operator theory.</p>
<p>The central idea of the framework is deceptively simple: a prompt is not merely text but a functional transformation. When a user appends an instruction such as &#8220;answer step by step&#8221; or &#8220;respond as an expert,&#8221; the resulting embedding of that text inside the model&#8217;s semantic space is shifted, scaled, or rotated in measurable ways. Prompt Algebra formalizes these shifts as operators, each characterized by an operator norm that quantifies how strongly the prompt distorts the semantic representation of the task. By defining entropy bounds, Jacobian-based invertibility conditions, and semantic distance metrics, the framework provides a vocabulary for asking precise questions: How much does a given prompt compress the space of possible meanings? Can its effect be reversed? Does combining two prompts produce the same result regardless of the order in which they are applied?</p>
<p>One of the most striking theoretical contributions of the paper is the introduction of the Prompt Transform Group, or PTG, an algebraic structure that captures how prompt operators compose. The study establishes that this structure is compositional, meaning that complex prompting strategies can be decomposed into simpler building blocks whose individual effects combine in principled ways. Crucially, the group is non-commutative: applying prompt A and then prompt B generally produces a different semantic transformation than applying B and then A. Anyone who has noticed that reordering instructions in a prompt changes the quality of a model&#8217;s output has observed this non-commutativity in practice. The framework turns that intuition into a theorem, explaining why the order of instructions, examples, and constraints matters so deeply in real-world prompting.</p>
<p>The framework also addresses entropy dynamics, tracking how different classes of prompts systematically compress, expand, or preserve the informational richness of semantic embeddings. According to the study, some prompts act like contraction operators, squeezing diverse meanings into a narrow region of the latent space, which may improve consistency but risk collapsing nuance. Others act as expansions, spreading representations outward and potentially enabling more creative or varied outputs. Still others behave like rotations, reorienting meaning along different semantic axes without changing its magnitude. These categories give prompt designers a diagnostic language: rather than asking vaguely whether a prompt &#8220;works,&#8221; they can ask which class of operator it instantiates and what that implies for the behavior of the model.</p>
<p>To move beyond pure theory, the author conducted empirical validation using two widely available tools: Sentence-BERT, a popular model for producing sentence embeddings, and Phi-3-mini, a compact large language model from Microsoft. The experiments measured how embeddings changed when different classes of prompts were applied, and the results were visualized using two standard dimensionality-reduction techniques, principal component analysis and t-distributed stochastic neighbor embedding. The visualizations revealed that prompts belonging to different functional classes produced distinct, systematic geometric signatures in the embedding space. Compression operators visibly clustered representations together, expansion operators spread them apart, and rotations produced coherent reorientations. The consistency of these patterns across prompt classes suggests that the algebraic picture is not merely a metaphor but reflects measurable structure in how language models process instructions.</p>
<p>The paper goes further by providing pseudocode for estimating prompt operators, offering a practical recipe for researchers who want to compute the norms, entropy changes, and invertibility properties of their own prompts. All of the code, prompts, and figures used in the experiments have been released publicly in a GitHub repository, allowing independent verification and reuse. This open approach matters because the field of prompt engineering has been dominated by folklore: collections of tips, templates, and anecdotal best practices shared across blogs and documentation, with little theoretical grounding. By supplying executable methods for measuring the geometric effect of a prompt, the framework invites the community to replace folklore with experiment.</p>
<p>Prompt Algebra is positioned explicitly against two existing research traditions. The first is categorical semantics, exemplified by the compositional distributional models of meaning developed by Coecke, Sadrzadeh, and Clark, which use category theory to describe how word meanings combine. The second is mechanistic interpretability, the effort to reverse-engineer the internal circuits of neural networks, associated with researchers such as Chris Olah. The new framework borrows the compositional spirit of the former and the operator-level precision of the latter, but applies them at the level of the prompt itself, treating instructions as first-class mathematical objects rather than as external inputs to be studied only through model internals. The study also engages with the extensive empirical literature on prompting, including chain-of-thought prompting, least-to-most prompting, graph-of-thoughts reasoning, automatic prompt generation methods such as AutoPrompt, and parameter-efficient prompt tuning techniques, framing these disparate methods as instances of underlying operator classes.</p>
<p>The practical implications could be significant for the rapidly growing industry built around large language models. If prompts can be characterized by norms, entropy bounds, and invertibility conditions, then prompt design becomes an optimization problem with well-defined objectives rather than an intuition-driven guessing game. The framework suggests possibilities for certifying prompts before deployment, predicting how chained prompts in multi-stage pipelines will interact, and detecting adversarial or jailbreak prompts by identifying operators with pathological properties such as extreme norms or unstable Jacobians. It could also inform tools that automatically compose prompts with predictable effects, extending recent programmatic approaches such as DSPy and AI chains with a formal calculus of composition. For safety researchers, the ability to reason mathematically about how a prompt transforms a model&#8217;s semantic landscape offers a new layer of analysis complementary to gradient-based detection methods.</p>
<p>The research was funded by Taibah University in Madinah, Kingdom of Saudi Arabia, under grant number 448-15-1203, and the author declares no conflict of interest. Like any ambitious theoretical proposal, Prompt Algebra will need to prove itself through wider adoption, replication across larger and more diverse models, and demonstration that its algebraic predictions translate into reliably better prompt design in production settings. The experiments reported rely on relatively compact models, and extending the operator estimates to frontier-scale systems remains an open challenge. Nevertheless, the paper marks a conceptual shift worth taking seriously: it argues that the words we write to instruct machines are not loose incantations but operators in a mathematical space, subject to norms, entropies, and group structure. If that view holds up, the era of prompt engineering as craft may give way to an era of prompt engineering as applied mathematics, with designers composing transformations deliberately the way engineers compose circuits, and with the behavior of language models becoming not just observable but predictable.</p>
<p><strong>Subject of Research:</strong> An algebraic framework modeling prompts as composable operators in the latent semantic space of large language models</p>
<p><strong>Article Title:</strong> Toward an algebraic framework for operator-based prompt engineering in large language models</p>
<p><strong>Article References:</strong> Olaymi, S. E. Z. (2026). Toward an algebraic framework for operator-based prompt engineering in large language models. <em>Neural Computing and Applications, 38</em>(17), Article 732. <a href="https://doi.org/10.1007/s00521-026-12434-z" rel="noopener noreferrer">https://doi.org/10.1007/s00521-026-12434-z</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.1007/s00521-026-12434-z" rel="noopener noreferrer">10.1007/s00521-026-12434-z</a></p>
<p><strong>Keywords:</strong> prompt engineering, large language models, Prompt Algebra, operator theory, semantic embeddings, Sentence-BERT, Phi-3-mini, entropy dynamics, Prompt Transform Group, composability, mechanistic interpretability, generative AI</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">200096</post-id>	</item>
	</channel>
</rss>
