Advertisement Β· 728 Γ— 90

Posts by Nicolas Legrand

Assistant Professor in Cognitive Science, AI & the Mind

Would love to get some colleagues at the intersection of NLP and CogSci. Reach out if you have any questions! Deadline: 31-Jul-2026

4 days ago 20 19 0 2
Post image

𝐍𝐞𝐰 𝐏𝐲𝐇𝐆𝐅 𝐫𝐞π₯𝐞𝐚𝐬𝐞 (𝐯0.2.10), featuring an early draft of local-only deep predictive coding networks.

Get prospective configuration-like behaviours for a fraction of the compute cost.

Work in progress...

πŸ“¦Code: github.com/Computationa...
πŸ““Tutorial: computationalpsychiatry.github.io/pyhgf/notebo...

5 days ago 2 2 0 0
Post image

New article with @oudietted.bsky.social and the @dreamteamicm.bsky.social

Dream-like mental states can occur during wakefulness

Published now in @cp-cellreports.bsky.social

www.cell.com/cell-reports...

Congrats to Nicolas Decat!

1 week ago 30 13 1 0

πŸ₯³Happy to share that we have three papers accepted to #ICLR2026. Congrats to our authors and see you in RioπŸŒ΄πŸ‡§πŸ‡·. Check the thread for highlightsπŸ‘‡

2 months ago 7 2 1 0

With some trepidation, I'm putting this out into the world:
gershmanlab.com/textbook.html
It's a textbook called Computational Foundations of Cognitive Neuroscience, which I wrote for my class.

My hope is that this will be a living document, continuously improved as I get feedback.

3 months ago 590 238 16 10

πŸš€ Excited to announce that I'm looking for people (PhD/Postdoc) to join my Cognitive Modelling group @uniosnabrueck.bsky.social.

If you want to join a genuinely curious, welcoming and inclusive community of Coxis, apply here:
tinyurl.com/coxijobs

Please RT - deadline is Jan 4‼️

4 months ago 78 54 1 5

** Recruiting a postdoc ** We are looking for a postdoc to work on emotion, mental health, and interoception, based in London at @ucl.ac.uk in my lab (Clinical and Affective Neuroscience). Part of a large Wellcome Grant (co-led with the brilliant @camillanord.bsky.social)

4 months ago 86 87 1 1
Preview
Sensory expectations shape neural population dynamics in motor circuits Nature - Experiments with human volunteers and macaques show that expectations produced by probabilistic cueing of future sensory inputs shape motor circuit dynamics in order to increase the...

Thrilled that our paper is out today in Nature!
www.nature.com/articles/s4...

5 months ago 292 99 11 8
Post image

Pleased to share new work with @sflippl.bsky.social @eberleoliver.bsky.social @thomasmcgee.bsky.social & undergrad interns at Institute for Pure and Applied Mathematics, UCLA.

Algorithmic Primitives and Compositional Geometry of Reasoning in Language Models
www.arxiv.org/pdf/2510.15987

🧡1/n

5 months ago 74 16 1 0
Advertisement
Preview
Every Language Model Has a Forgery-Resistant Signature The ubiquity of closed-weight language models with public-facing APIs has generated interest in forensic methods, both for extracting hidden model details (e.g., parameters) and for identifying...

We discovered that language models leave a natural "signature" on their API outputs that's extremely hard to fake. Here's how it works πŸ”

πŸ“„ arxiv.org/abs/2510.14086 1/

6 months ago 85 23 4 6
Preview
A brain-inspired agentic architecture to improve planning with LLMs - Nature Communications Multi-step planning is a challenge for LLMs. Here, the authors introduce a brain-inspired Modular Agentic Planner that decomposes planning into specialized LLM modules, improving performance across tasks and highlighting the value of cognitive neuroscience for LLM design.

www.nature.com/articles/s41...

6 months ago 32 10 2 0
Preview
Cognitive modeling of real-world behavior for understanding mental health A core strength of computational psychiatry is its focus on theory-driven research, in which cognitive processes are precisely quantified using computational models that formalize specific theoretical mechanisms. However, the data used in these studies often come from traditional laboratory-based cognitive tasks, which have unclear ecological validity. In this review we propose that the same theoretical frameworks and computational models can be applied to real-world data such as experience sampling, passive data, and digital-behavior data (e.g., online activity such as on social media). In turn, modeling real-world data can benefit from a theory-driven computational approach to move from purely predictive to explanatory power. We illustrate these points using emerging studies and discuss the challenges and opportunities of using real-world data in computational psychiatry.

Online Now: Cognitive modeling of real-world behavior for understanding mental health

6 months ago 37 15 0 2

Introducing hMFC: A Bayesian hierarchical model of trial-to-trial fluctuations in decision criterion! Now out in @plos.org Comp Bio.
led by Robin Vloeberghs with @anne-urai.bsky.social Scott Linderman

Paper: desenderlab.com/wp-content/u... Thread ↓↓↓

#PsychSciSky #Neuroscience #Neuroskyence

6 months ago 51 30 3 0
Preview
Generating Computational Cognitive Models using Large Language Models Computational cognitive models, which formalize theories of cognition, enable researchers to quantify cognitive processes and arbitrate between competing theories by fitting models to behavioral data....

Happy to announce our paper got accepted to #NeurIPS!
@akjagadish.bsky.social @marvinmathony.bsky.social @ericschulz.bsky.social & Tobi Ludwig

arxiv.org/abs/2502.00879

6 months ago 23 5 1 1
SleepECG

If you are concerned with performance, I also recommend checking out SleepECG (Systole uses their version of the Pan-Tompkins algorithm under the hood) : sleepecg.readthedocs.io/en/stable/

7 months ago 1 0 0 0
Preview
GitHub - LegrandNico/systole: Systole: A python package for cardiac signal synchrony and analysis Systole: A python package for cardiac signal synchrony and analysis - LegrandNico/systole

If you want to report bugs or ask questions, you can reach out here: github.com/LegrandNico/...

7 months ago 2 0 1 0

Hi @koeniglab.bsky.social ! Thanks for the shout-out. I created Systole while I was a postdoc in the ECG lab, but since I left a few years ago, I am no longer actively maintaining it at the moment.

7 months ago 1 0 1 0

does someone good at coding & analysis want to work remotely w/ us in the coming few months (before end of 2025), as a paid consultant? project will be on neurofeedback (fMRI, ECoG, calcium imaging). we'll work towards developing the experiments & analysis pipelines together. if so pls DM me ur CVπŸ§ πŸ“ˆ

7 months ago 42 37 4 0
A Gaussian process showing that the allowed time series are forced to be compatible with data

A Gaussian process showing that the allowed time series are forced to be compatible with data

I’m especially proud of this article I wrote about Gaussian Processes for the Recast blog! πŸ₯³

GPs are super interesting, but it’s not easy to wrap your head around them at first πŸ€”

This is a medium level (more intuition than math) introduction to GPs for time series.

getrecast.com/gaussian-pro...

7 months ago 80 23 2 1
Advertisement
An illustration of a man falling out of a piece of paper, with text that says: How an academic betrayal led me to change my authorship practices.

An illustration of a man falling out of a piece of paper, with text that says: How an academic betrayal led me to change my authorship practices.

"The day the paper was published should have been a moment of pride. Instead, it felt like a quiet erasure." #ScienceWorkingLife https://scim.ag/4p3eH5g

7 months ago 60 21 2 3

I made this Computational Psychiatry Starter Pack a while ago and was wondering if I may be missing anyone who has joined bluesky since?

I will add anyone who uses computational models to adress questions in psychiatry research. :)
go.bsky.app/5PTy9Zj

8 months ago 17 12 11 1

My first, first author paper, comparing the properties of memory-augmented large language models and human episodic memory, out in @cp-trendscognsci.bsky.social!

authors.elsevier.com/a/1lV174sIRv...

Here’s a quick 🧡(1/n)

8 months ago 68 19 3 3
OSF

After five years of confused staring at Greek letters, it is my absolute pleasure to finally share our (with @smfleming.bsky.social) computational model of mental imagery and reality monitoring: Perceptual Reality Monitoring as Higher-Order inference on Sensory Precision ✨
osf.io/preprints/ps...

8 months ago 129 35 4 4
Preview
Evolving general cooperation with a Bayesian theory of mind | PNAS Theories of the evolution of cooperation through reciprocity explain how unrelated self-interested individuals can accomplish more together than th...

Our new paper is out in PNAS: "Evolving general cooperation with a Bayesian theory of mind"!

Humans are the ultimate cooperators. We coordinate on a scale and scope no other species (nor AI) can match. What makes this possible? 🧡

www.pnas.org/doi/10.1073/...

8 months ago 92 37 2 2
Preview
memo-lang A language for mental models

memo is a new probabilistic programming language for modeling social inferences quickly. Looks like a real advance over previous approaches: fast, python-based, easily integrated into data analysis. Super cool!

pypi.org/project/memo...
and
osf.io/preprints/ps...

9 months ago 35 3 0 1
Preview
Discovering cognitive strategies with tiny recurrent neural networks - Nature Modelling biological decision-making with tiny recurrent neural networks enables more accurate predictions of animal choices than classical cognitive models and offers insights into the underlying cog...

Thrilled to see our TinyRNN paper in @nature! We show how tiny RNNs predict choices of individual subjects accurately while staying fully interpretable. This approach can transform how we model cognitive processes in both healthy and disordered decisions. doi.org/10.1038/s415...

9 months ago 329 141 9 4
Advertisement

Interoception vs. Exteroception: Cardiac interoception competes with tactile perception, yet also facilitates self-relevance encoding www.biorxiv.org/content/10.1101/2025.06....

9 months ago 15 11 0 0
Preview
Pseudosocial cognition and paranoia It has been argued that social processes are relevant to belief formation and maintenance and thence to persecutory delusions – the fixed false beliefs that others intend harm. We call this the social...

Also in @cp-trendscognsci.bsky.social this month, a perspective by @philcorlett.bsky.social and a new computational model of paranoia and persecutory delusions @philcorlett.bsky.social www.cell.com/trends/cogni...

9 months ago 7 5 1 0
Preview
The interoceptive origin of reinforcement learning Rewards play a crucial role in sculpting all motivated behavior. Traditionally, research on reinforcement learning has centered on how rewards guide learning and decision-making. Here, we examine the ...

Impressive and much-needed review on reinforcement learning models of interoception by @lilweb.bsky.social this month out in @cp-trendscognsci.bsky.social Will definitely have a look at this one 😊 www.cell.com/trends/cogni...

9 months ago 31 7 0 0
Post image

We need your help!!! 🧠πŸ§ͺπŸ’€

If you are human, you fall asleep at least once a day! What happens in your mind then?

Scientists know actually very little about this private moment.

We propose a 20-min survey to get as much data as possible!

Here is the link:
redcap.link/DriftingMinds

10 months ago 49 43 3 6