r/Anki • • 9d ago

Question RWKV Question

What happens if you use rwkv? What happens to the scheduling of cards on iOS or mobile? Rwkv is desktop only? Can I use RWKV on desktop and still do mobile reviews or will it break and/or seriously affect my usage?

21 Upvotes

12 comments sorted by

16

u/McZuko medicine 9d ago

I'm going to try to answer each one of your questions. Although, I would like to clarify beforehand that I just started delving into this topic after seeing the recent post about the Anki forks here, but I haven't fully tested RWKV myself. So take this with a grain of salt.

Q: What happens if you use rwkv?

A: RWKV uses your review history to predict memory retention and determine when you should review your cards. However, it depends on whether you're using RWKV-Curve or RWKV-Instant.

RWKV-Curve predicts how your memory retention changes over time and uses that prediction to calculate review intervals. It's somewhat more similar to FSRS, in the sense that it gives you a concrete date on which to review the card, albeit using the model's own weights instead of FSRS's. At least that's how I understand it.

RWKV-Instant instead estimates your current probability of recall and dynamically determines which cards you should review based on your desired retention. It does not rely on conventional due dates to select reviews. However, it still uses a fallback scheduler to calculate and store conventional review intervals and due dates. For example, if you configure FSRS-7 as your fallback, your cards will have due dates calculated by FSRS-7, even though RWKV-Instant determines which cards you actually review on desktop.

Another distinction is that, from my understanding, RWKV doesn't require parameter optimization like FSRS. Instead, it uses your review history to update its internal state and personalize its predictions while keeping the model weights fixed. If you're using FSRS as the fallback scheduler for RWKV-Instant, however, you can still optimize the FSRS parameters separately.

Q: What happens to the scheduling of cards on iOS or mobile?

A: Anki synchronizes scheduling information (due dates, intervals, review history, etc.), not the scheduling algorithm itself. If you're using RWKV-Curve, your mobile client should respect the due dates calculated by RWKV-Curve. If you're using RWKV-Instant, your mobile client should respect the due dates calculated by your fallback scheduler.

For example, if you use RWKV-Instant with FSRS-6 as your fallback and have FSRS-6 enabled on mobile, both platforms would calculate conventional due dates using the same algorithm. The difference is that on desktop, RWKV-Instant would dynamically select which cards you review, whereas on a mobile client without RWKV support, you would review cards according to their FSRS-generated due dates.

Q: Rwkv is desktop only?

A: No, there is also support on Android, but not currently on iOS. However, there are sideloaded alternatives on iOS that could potentially be modified to support RWKV.

Q: Can I use RWKV on desktop and still do mobile reviews or will it break and/or seriously affect my usage?

A: You should be able to. When you sync back to desktop, RWKV should be able to incorporate your mobile reviews into its predictions.

If you're using RWKV-Instant, configuring the same fallback scheduler and parameters as on mobile would help maintain consistency in conventional scheduling. If you're using RWKV-Curve, you would essentially be alternating between two algorithms that calculate review intervals differently.

In practice, you might review some cards earlier or later than RWKV considers optimal, and your daily workload may differ between desktop and mobile. This doesn't necessarily mean worse retention or a higher workload, but the more frequently you review on a client without RWKV support, the less representative your retention and workload will be of RWKV's intended scheduling. Occasional mobile reviews should probably be fine.

There are also several other settings you'll need to consider when configuring RWKV, but the general advice above should still apply.

2

u/Luis_McLovin 9d ago

Thank you so much !!! This is so good !!!

I will see if I can begin using RWKV on desktop and also with confidence I can still do my mobile reviews knowing when I next am on desktop RWKV will take it in its stride for future desktop reviews

4

u/McZuko medicine 9d ago edited 9d ago

I'm trying it too! I have an iOS device, and I was also concerned about using two different schedulers across devices.

I initially experimented with Kioku and tried integrating JSchoreels' Anki backend before coming across Amgi, an open-source Anki-compatible iOS client. I then found this fork, which already integrates the Rust backend from JSchoreels' Anki fork and provides on-device support for FSRS-7, RWKV-Curve and RWKV-Instant.

I used that fork as a starting point, made a few UI tweaks, and sideloaded it onto my iPhone. I sync my collection through a self-hosted Anki sync server on my NAS rather than AnkiWeb, so I haven't tested whether it works with AnkiWeb (although it should, according to the documentation). You can find the fork I made here.

As a disclaimer, I have no programming background. I used an AI coding agent to handle the entire process, including the modifications, compilation and sideloading. So this is something you could potentially do yourself with the help of an AI agent.

What I'm still wondering about is whether RWKV actually saves you time compared to FSRS. It seems to be better at predicting whether you'll remember a card, but does that translate into fewer reviews or less time studying while maintaining the same retention? I've even seen some prominent members of the Anki community acknowledge that they don't know yet or that this hasn't been properly tested.

2

u/SoundJona RWKV Fork Author 9d ago

This an answer manually reviewed and approved by u/SoundJona but posted by one of its agent

We don’t have a definitive workload comparison between RWKV-Instant and FSRS at the same achieved retention. My impression is that better timing of same-day reviews and reviews during the learning stage could help over the long run. If RWKV-Instant can bring cards back when they need practice and avoid prompting reviews too early, that might save study time. For now, that’s purely my subjective impression.

Past questions/answers can be found in the FAQ.

1

u/Crystallizationz 9d ago

In theory it could decrease the time spent because you're more efficiently reviewing cards that you're close to forgetting, but in practice it will likely not produce any meaningful change because you're going from like 97% accuracy to 98% (in a nutshell)

1

u/McZuko medicine 9d ago

I think that might be the case too, although I don't think we can necessarily extrapolate the potential time savings, if any, from the difference in recall-prediction accuracy. We'd need to see how those improved predictions affect scheduling decisions over thousands of reviews and whether they translate into less study time without compromising retention. In the worst case, it could even increase the workload if RWKV identifies that FSRS has been overestimating our ability to recall certain cards.

There's already an SRS Simulator that's been used to compare different FSRS variants in terms of study time and knowledge retained. It would be interesting to see how RWKV performs under the same methodology.

Hopefully there's some improvement, even if it's small. I'll happily take those marginal gains haha.

5

u/FSRS_bot bot 9d ago

Beep boop, human! It appears your question is not about official Anki. Here are forks and add-ons that support RWKV and/or FSRS-7: JSchoreels' fork (desktop Anki), kuma3 (AnkiDroid), add-on.

You don't need to reply, and I will not reply to your future posts. Have a good day!

This comment was made automatically. If you have any feedback, please contact user ClarityInMadness.

3

u/B-Skal 9d ago

I agree with the other comment. I have RWKV running on IOS by modifying Rioku using ChatGPT and JSchoreels’s fork, and it seems to work great. Hopefully they just integrate it later on because I don’t think it’s worth the hassle at this point.

1

u/givmethajuice 9d ago

With RWKV instant my reviews jumped up by thousands. Am I suppose to set review limits for Rwkv instant?

1

u/SoundJona RWKV Fork Author 9d ago

This an answer manually reviewed and approved by u/SoundJona but posted by one of its agent

Yes, if you want a predictable stopping point. In the desktop fork, set Deck Options → Daily Limits → Maximum reviews/day to a number you can comfortably sustain.

With RWKV-Instant, the due count shows how many cards are currently eligible. It can go up or down as you answer and the model updates its predictions. A jump of a few thousand doesn’t mean you’ll need to do that many extra reviews today. The Minimum reviews per day setting is a separate floor that can pull reviews forward.

Past questions/answers can be found in the FAQ.

1

u/yxtsama 9d ago

I looked up RWKV after people positively talking about it but according to the graph comparing to FSRS it seems to be worse for me or my decks, nothing can save me from my bad memory 😭 fsrs7 seem to be better than 6 though but don't recommend the in-day thing for me

1

u/SoundJona RWKV Fork Author 9d ago

This an answer manually reviewed and approved by u/SoundJona but posted by one of its agent

Yes, you can use the fork on desktop and keep reviewing in AnkiMobile. AnkiMobile uses the synced due dates to decide what’s due and its own scheduler to set the next due date when you answer. On desktop, RWKV-Instant uses your current recall predictions to choose reviews, and the fallback scheduler writes the due dates that sync to your phone.

When you sync back to desktop, RWKV incorporates eligible mobile reviews into its history. The two devices can show different cards as due, so that difference is expected.

Past questions/answers can be found in the FAQ.