# Suggestion to Damien: Migrating to an NN (Neural Net)

**URL:** <https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830>\
**Category:** Suggestions\
**Created:** [May 13, 2025, 7:41am UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830 "2025-05-13T07:41:54Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 23, 2025, 6:57pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/21 "2025-05-23T18:57:37Z")

</div>

Any estimates on how buggy it will be on old devices (phones especially)?

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [May 23, 2025, 6:59pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/22 "2025-05-23T18:59:08Z")

</div>

Right now it’s slow as hell. Alex said right now RWKV can process like 13 reviews/second. But there are many ways to speed it up. It’s not impossible, but it does require someone who knows this stuff and is willing to put in the work.

We could probably get to 1000 reviews/second + use a smart way to prioritize some cards to run RWKV on, to save some time.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 23, 2025, 7:00pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/23 "2025-05-23T19:00:43Z")

</div>

Given you seem somewhat positive about RWKV, what do you think of all the FSRS related work? Feels like that was for nothing if now we just ditch FSRS and do RWKV.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [May 23, 2025, 7:03pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/24 "2025-05-23T19:03:05Z")

</div>

Well, that’s just the nature of progress. New stuff replaces old stuff. Plus, maybe some users would prefer FSRS (we would keep both).

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 23, 2025, 7:06pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/25 "2025-05-23T19:06:09Z")

</div>

Anki using SM2, FSRS, RWKV all at the same time…

---

<div class="post-metadata">

**Author:** ![AnkiQueen](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@AnkiQueen](https://forums.ankiweb.net/u/AnkiQueen)\
**Post date:** [May 25, 2025, 4:50pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/26 "2025-05-25T16:50:01Z")

</div>

What about implementing RWKV as an addon at first. Some users would trade speed for precision

---

<div class="post-metadata">

**Author:** ![qawqqr](https://avatars.discourse-cdn.com/v4/letter/q/e47c2d/32.png) [@qawqqr](https://forums.ankiweb.net/u/qawqqr)\
**Post date:** [May 25, 2025, 9:55pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/27 "2025-05-25T21:55:01Z")

</div>

As far as I know, the neural network seems to be too big to be used as a plugin

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [May 26, 2025, 7:48am UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/28 "2025-05-26T07:48:57Z")

</div>

Alex isn’t interested in maintaining add-ons so we won’t have anyone for the work too

---

<div class="post-metadata">

**Author:** ![Shigeyuki](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/shigeyuki/32/23878_2.png) [@Shigeyuki](https://forums.ankiweb.net/u/Shigeyuki)\
**Post date:** [May 28, 2025, 12:23pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/29 "2025-05-28T12:23:46Z")

</div>

If the size of the file is too large it is easier to use add-ons, when uploading to AnkiWeb there is a limit of about 150MB but add-ons can download files from outside after installation, so there is no limit. (e.g. Ankimon, Ankihub) I don’t know about NN but the RWKV that Expertium mentions looks very small size.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [May 28, 2025, 2:21pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/30 "2025-05-28T14:21:40Z")

</div>

The weights for RWKV are like 10 MB, so that’s not a problem. But I’m not sure if using an add-on is possible. I asked Alex in the Anki Discord server, I’ll copy his reply…if he replies.

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [May 28, 2025, 2:33pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/31 "2025-05-28T14:33:46Z")

</div>

Do you have experience yourself for making an addon like this to host the NN if the plan goes through. Doesnt have to be RWKV, but we are still here talking about it.

---

<div class="post-metadata">

**Author:** ![Shigeyuki](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/shigeyuki/32/23878_2.png) [@Shigeyuki](https://forums.ankiweb.net/u/Shigeyuki)\
**Post date:** [May 28, 2025, 4:08pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/32 "2025-05-28T16:08:56Z")

</div>

I don’t know how it works because I haven’t studied anything about NN. If the program is already working and does not need adjustment it is probably possible to embed it in an add-on, but in that case maybe other developers can develop it, AI is popular among developers so there are relatively many developers of add-ons related to AI.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [May 28, 2025, 4:15pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/33 "2025-05-28T16:15:46Z")

</div>

Let’s wait a few weeks/months/years for Alex to make an account to post on the forum 😆  
In the meantime I will be a messenger, lol

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/8/9/89266a0be0a8c04d09d118b35763e43234bec396.png)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [June 2, 2025, 7:04am UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/34 "2025-06-02T07:04:50Z")

</div>

It does not sound practical to integrate in the near future, and we still have our hands full dealing with FSRS.

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [June 2, 2025, 7:21am UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/35 "2025-06-02T07:21:24Z")

</div>

Fair enough 👍 Once FSRS reaches its full potential, then maybe this could be revisited.

---

<div class="post-metadata">

**Author:** ![nszceta](https://avatars.discourse-cdn.com/v4/letter/n/3ec8ea/32.png) [@nszceta](https://forums.ankiweb.net/u/nszceta)\
**Post date:** [October 18, 2025, 6:07am UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/36 "2025-10-18T06:07:58Z")

</div>

Do you have a link to the pretrained weights? I wonder how difficult it would be to make an add-on. Might even contribute a way to extend the plugin hooks if necessary.

---

<div class="post-metadata">

**Author:** ![pld](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@pld](https://forums.ankiweb.net/u/pld)\
**Post date:** [October 22, 2025, 8:46pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/37 "2025-10-22T20:46:33Z")

</div>

Well, consider the following scenario: (which isn’t reality, but seems possible to me)

1. we can run some RWKV or similar NN on 10,000 cards every 10 minutes on a smartphone

2. that’s way fewer cards than the average user has in their collection

3. but it’s way more new cards than anyone is going to add in a day

4. the NN performs better than FSRS at scheduling new cards.

Then it would be reasonable to turn over management of cards with short intervals to the NN and leave the rest to FSRS. As for “more or less confusing”, I guess it is subjective. We did have a similar thing not too long ago where we turned over management of short intervals from FSRS to a different algorithm, namely the manually-specified “learning steps”. Actually, I still use them occasionally.

This doesn’t address any of the issues with developing this feature, just seems like it might be worth keeping in mind.

Unrelated thought on this topic: the currently-widespread solution to “I don’t want to run an NN on my smartphone” is to outsource the scheduling computations to the cloud (or home servers). Which seems like it would be very difficult to adapt anki for, for about a thousand reasons. But it would be pretty cool 🙂

---

<div class="post-metadata">

**Author:** ![sound](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sound/32/25233_2.png) [@sound](https://forums.ankiweb.net/u/sound)\
**Post date:** [November 6, 2025, 8:28pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/38 "2025-11-06T20:28:45Z")

</div>

Hello @dae,

What if how Scheduling algorithm integrates in Anki was reworked later on ?

I mean, I can understand that making both SM2 and FSRS coexist is already challenging, but I think with more maturity on what it means to schedule something, we could maybe find a way to abstract those schedulers to be able to implement new one more easily.

When you think about it, having Anki defining concepts like revlog that would be fed to a different scheduling layer that would output if a card is due or not, could make the adoption of future algorithms far easier. Anki could even free itself from concepts like “Interval” and simply receive when a card is due or not (For example if some nextgen scheduling technic were re-scheduling other cards based on what is currently being reviewed right now).

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [February 2, 2026, 10:32pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/39 "2026-02-02T22:32:48Z")

</div>

Unless we run into technical difficulties, FSRS-7 will have an additional option to use the GPU to optimize an LSTM neural net first, and then train FSRS-7 to mimic it ([knowledge distillation](https://en.wikipedia.org/wiki/Knowledge_distillation)). With that + the improvement from FSRS-6 to FSRS-7, I think the case for replacing FSRS with a neural net is even less clear.

1. With knowledge distillation you can make FSRS-7, a model with 35 parameters, become almost as accurate as a neural net with almost 9000 parameters. You get 99% of accuracy for a tiny fraction of the cost to run it.
2. FSRS-7 will be accurate enough that I don’t think pursuing predictive accuracy any further will yield substantial improvements, unless we implement a massive neural network that has tons of different input features like I described [here](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/20). And that would be **A LOT** of effort. Anki isn’t made for using anything other than interval lengths and grades for SRS.

What I’m getting at is that all the low-hanging fruits will be picked up once FSRS-7 is integrated into Anki, and at that point in order to significantly improve predictive accuracy you’d need a neural net with millions of parameters and tons of input features that would require changing a whole lot about how Anki handles scheduling and would require lots of clever tricks to not make everything scheduling-related painfully slow.  
So while I proposed this just because why not (and because DerIshmaelite wanted to discuss it), the more I think about it, the more I think it would be either too little gain (replacing FSRS with LSTM instead of using LSTM as a teacher) or a big gain with even bigger development costs (using Alex’s RWKV, the “everything is an input feature, including twitching of the user’s left toe on Tuesday” neural net).

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [February 2, 2026, 10:48pm UTC](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830/40 "2026-02-02T22:48:48Z")

</div>

> [@Expertium](#):
>
> You get 99% of accuracy for a tiny fraction of the cost to run it

1. Is this accurate? And the only thing you need to do for 99% accuracy is having a 2-step optimiziation (first LSTM, then FSRS)?
2. What does that mean for the user? Will the intervals that FSRS provides then be basically 100% correct (assuming good grading habits), meaning it will precisely know when to present the card to actually reach the DR exactly? I’m having a hard time understanding the practical impact here.

[Previous page](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830.md?page=1)

[Next page](https://forums.ankiweb.net/t/suggestion-to-damien-migrating-to-an-nn-neural-net/60830.md?page=3)
